Commit graph

52 commits

Author SHA1 Message Date
Lucius Hu
a427fa10df ess: refactor
- Moved backend determination to `config.el`
2021-04-04 12:48:21 +02:00
syl20bnr
97cd83e169 Apply GPLv3 terms explicitly to all elisp files 2021-03-25 22:59:32 -04:00
syl20bnr
d55a9e2e67 Update header for year 2021 2021-03-25 22:59:32 -04:00
Maximilian Wolff
e5620ddfbf Reverted ESS: Fixes syl20bnr#13282
Having sourced a file for every R repl session
is not working reliably due to the different
value of DISPLAY on every environment.

Users are expected to use R specific ways
to set their env variables for now.
2021-02-20 07:40:13 +00:00
Maximilian Wolff
e4452f9a85
[ess] Set DISPLAY in R buffer only if not set already
See #13282
2021-02-16 23:04:02 +01:00
Lucius Hu
3652346b3a ESS: Fixes #13282
Signed-off-by: Lucius Hu <lebensterben@users.noreply.github.com>
2021-02-03 22:30:16 +01:00
Robert O'Connor
82ba73a1c0
update copyright to 2020 2020-09-23 21:25:01 +02:00
beyondpie
3388972c26
[ESS] Fix: remove obsolete variables in ESS (#13826)
* [ESS] Fix: remove obsolete variables in ESS

- use ess-offset-continued to replace the obsolete variables (from ESS 15.04):
  ess-first-continued-statement-offset
	ess-continued-statement-offset

- remove ess-expression-offset
  no such variable now

* [ESS] fix: keep ess-default-style instead of ess-style

- keep the original ess-default-style instead of ess-style
  since ess-default-style will be obsolete till ESS 19.04
	while current ESS version is 18.10
2020-08-08 07:35:25 +02:00
Ivan Yonchovski
c3f13d0391 Removed company-lsp in favour of company-capf
- Also removed some cquery artifacts which accidentally ended up in this PR
instead of in https://github.com/syl20bnr/spacemacs/pull/13446
2020-04-04 08:24:44 +02:00
Maximilian Wolff
539e954227
Fix R lsp company setup
Before ess layer was always using non lsp completions, this I have
corrected by conditionally set company-lsp or the standard ess backends.
2020-02-08 09:00:43 +00:00
Seong Yong-ju
ee5a5e8b73
Add LSP backend support for R
Change some leader keys for Julia, R, Inferior. Remove noweb bindings for Julia
and R since it no longer works. Add LSP backend support for R.
2020-02-08 08:02:46 +00:00
ft@berkeley
1abcfb5452 [ess] evilified states for ess help buffer 2020-01-08 17:58:26 +01:00
gdkrmr
23f3d3c313 adapt layer to recent changes in ess 2019-01-20 17:41:06 +02:00
duianto
ee811f7b13 Unify packages list parentheses style
problem:
some layer packages lists have the open and closing parentheses on the same line
as the first and last listed package, but most seem to have them on a separate
lines.

solution:
put the open and close parentheses on separate lines, except for lists with only
a single package, they are written on the same line as the variable name and
parentheses.

fix the lists indentation
2018-11-21 21:35:38 +00:00
Leonard Lausen
4dbe241aca Update ess-disable-underscore-assign for ESS 18.10 2018-11-21 10:20:21 +00:00
Adam Beckmeyer
36161b4d47 Remove julia from ess layer 2018-08-11 09:16:15 +01:00
gdkrmr
875d4a6afc remove explicit prog-mode-hooks for ess 2018-08-09 23:02:16 +01:00
gdkrmr
8b858abc6a fix for ess issue emacs-ess/ESS#589 2018-08-09 23:02:16 +01:00
gdkrmr
bf23cb17dd keybindings for the repl 2018-08-09 23:02:16 +01:00
gdkrmr
3186da89bb add xref integration for ess 2018-08-09 23:02:16 +01:00
syl20bnr
ebe4c60264 Revert "Defer packages by default using use-package-always-defer"
This reverts commit 29c78ce841 and all other fixes
that have been made afterwards.

The motivation is that use-package is seen by many as a replacement for
`require`. Is use-package always defer the loading of packages then is breaks
this use case, this does not respect POLA so even if it was making Spacemacs
loading faster (up to 3s faster on some startup on my machine) we just cannot
use it, it would be irresponsible. Spacemacs should be easy to use, loading
performance will come with time but it is not a priority.
2018-03-03 23:40:10 -05:00
syl20bnr
29c78ce841 Defer packages by default using use-package-always-defer
Warning now `:defer t` is implied, to force a package to load `:demand t` is
now necessary.
2018-02-27 23:32:52 -05:00
Jack Kamm
048c92eaf4 ess: add updated keybindings to readme 2018-01-22 23:17:57 -05:00
Jack Kamm
446ff90fac ess: revert REPL bindings to follow CONVENTIONS.org 2018-01-21 09:28:53 -05:00
syl20bnr
326965d4ce Happy New Year 2018! 2018-01-04 02:00:25 -05:00
bmag
88a952fb33 ess: declare prefixes in loop 2017-12-23 17:46:02 +02:00
Guido Kraemer
99d575b9c8 fix julia keybindings and nice prefixes 2017-12-23 17:36:31 +02:00
gdkrmr
6b056e50a0 improved keybindings for ess layer 2017-11-19 08:42:17 +02:00
ISELECT1\naylyn.gaffney
36f04308ab Remove ess-R-object-popup from ess layer.
As described in issue #9464, this package was removed from melpa for
not having a GPL compatible license and is causing an error every time
spacemacs starts.

Continuation of commit 8c3cf7c3ae
2017-10-17 09:47:54 +03:00
ISELECT1\naylyn.gaffney
8c3cf7c3ae Remove ess-R-object-popup from ess layer.
As described in issue #9464, this package was removed from melpa for
not having a GPL compatible license and is causing an error every time
spacemacs starts.
2017-10-15 11:08:01 -04:00
syl20bnr
e2e532bb49 core: change <function>p to <function>-p suffixes for consistency
Also defined aliases for backward compatibility with `usedp` functions.
2017-07-02 10:09:39 -04:00
Eivind Fonn
9424430267 ess: minor changes
- if -> when
- make ess-enable-smart-equals a toggle
- fill paragraphs in readme
2017-06-16 09:51:24 +02:00
Jack Kamm
32103b2ddc added ess layer variable ess-disable-underscore-assign 2017-06-16 09:48:56 +02:00
syl20bnr
fe564eade5 ess: move functions to new funcs.el file 2017-04-28 23:02:18 -04:00
Jack Kamm
c33a587a8e ess: help.start() causes read-only problem with comint-prompt-read-only
Fixes #5395
based on https://github.com/emacs-ess/ESS/issues/300#issuecomment-231314374
2017-04-28 22:55:48 -04:00
YiLiu6240
b8a483721e Fix keybindings for ess layer
Change keybindings for sending function to REPL to be in line with
[Spacemacs convention](https://github.com/syl20bnr/spacemacs/blob/develop/doc/CONVENTIONS.org#send-code)
2017-04-17 22:35:41 -04:00
syl20bnr
fb27ede558 Bump year in copyright headers
Happy New Year 2017!
2017-01-05 23:08:17 -05:00
Christoph Paulik
e93e7ba279 ESS: Add R to org babel languages. 2016-07-05 00:23:16 -04:00
syl20bnr
cb6754f231 Remove packages without any init functions 2016-06-10 20:53:24 -04:00
syl20bnr
89d5aad0a5 Various tweaks to golden-ratio configuration
- Prefer add-to-list function to alter golden-ratio variables so the lists
are less likely to grows as users reload their spacemacs config.
- Move some config to layers when appropriate
- Sort alphabetically the values
- Remove some duplicates in exclude-modes
2016-06-08 10:17:08 -04:00
Eivind Fonn
bcea630826 Make matlab quasi-derived from prog-mode
Also make this a named function.
2016-04-12 22:48:34 -04:00
Fabien Dubosson
b9cd9c1cd8 Remove rainbow-delimiters-mode from mode-specific hooks
`spacemacs` now handles `rainbow-delimiters-mode` by adding it to the
`prog-mode-hook`, if wanted by the user. Some layers are adding it on
their own mode-hook, having for effect that `rainbow-delimiters-mode` is
called twice, which disable it.

This commit remove these layer-specific definitions of
`rainbow-delimiters` as it is now handled by the `spacemacs`
distribution. It also takes care of running `prog-mode-hook` in modes
that are not derived from it.

Fixes #3902
2016-03-09 20:23:29 -05:00
syl20bnr
cc42fc31f9 Register ESS REPLs separately 2016-01-31 23:41:40 -05:00
Eivind Fonn
e29ac21345 Register all REPLs and make SPC m ' bindings 2016-01-31 23:39:25 -05:00
syl20bnr
046d86800c Clean copyrights and update for year 2016 2016-01-11 21:42:17 -05:00
Michel Kuhlmann
4ff861dbef ess: fix company-mode 2015-12-12 23:01:43 -05:00
justbur
9befd20a1a layers: Transition to new key bindings functions
Removes dependence on evil-leader centralizing control over the method
of key binding in core-keybindings.el
2015-11-21 18:22:51 +01:00
Ista Zahn
ec7a318fc6 Utility function for starting ESS REPLs 2015-10-25 10:54:05 +01:00
Ista Zahn
6434044f61 Let ESS set up completions 2015-10-14 00:26:29 -04:00
Ista Zahn
a761c0def4 Simplify ESS layer autoloads and add keybindings for starting REPLs 2015-10-12 09:37:06 -04:00