Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
81 commits
Select commit Hold shift + click to select a range
3ea6e97
Comment non space sorrunding operators to R.
walmes Jan 14, 2016
567f74a
Create eletric ! based on ?.
walmes Jan 14, 2016
b965e90
Move lines to group similar rules.
walmes Jan 15, 2016
263a01c
Indent and fill doc string.
walmes Jan 15, 2016
3cd09eb
Align and put bullets in doc string.
walmes Jan 15, 2016
b1264d7
Break lines to doesn't go over 72 columns.
walmes Jan 15, 2016
bda7d64
Indent and fill doc string.
walmes Jan 15, 2016
856469d
Remove a `^L` character.
walmes Jan 15, 2016
2c78c3a
Put a division rule and edit title.
walmes Jan 15, 2016
f579ea0
Align, remove empty line and fill list.
walmes Jan 15, 2016
b0ee35d
Break line to get symmetry with others conditions.
walmes Jan 15, 2016
6677804
Puts `[ cases ]` in comments.
walmes Jan 15, 2016
b3e1f7d
Fill comment, break lines similar, symmetry.
walmes Jan 15, 2016
89eab43
Also test if major-mode is ess-mode.
walmes Jan 15, 2016
e59029a
Put `[ cases ]` in comments.
walmes Jan 15, 2016
306468a
All a condition for ess-mode.
walmes Jan 15, 2016
b589cb3
Fill doc string.
walmes Jan 15, 2016
c6ba229
Use derived-mode-p to test current mode.
walmes Jan 15, 2016
2ff3a29
Behaviour of insert dash (-) at ess-mode.
walmes Jan 15, 2016
198409c
Use insert instead of eletric-spacing-insert.
walmes Jan 15, 2016
4047696
Fix errors when using minus sign in ess-mode.
walmes Jan 15, 2016
d693c8b
Set correct behaviour oh tilde (~) in ess-mode.
walmes Jan 15, 2016
78ddd10
Fix tilde behaviour before white space.
walmes Jan 22, 2016
5578f8b
Fix minus behaviour after \s-, ([{ and ~.
walmes Jan 22, 2016
f80de16
Updates copyright year.
walmes Jan 22, 2016
3f2c1c1
Add entry on package description.
walmes Jan 22, 2016
af3436e
Comment out comma because it is used in ess-mode.
walmes Jan 22, 2016
876d8d4
Remove blank lines.
walmes Jan 22, 2016
14f6162
No space for minus after slash and carret.
walmes Jan 22, 2016
8b41323
Add electric-spacing for ESS.
walmes Jan 24, 2016
fb5f35e
Edit : for ESS only.
walmes Jan 24, 2016
98b1bf7
Edit . for ESS.
walmes Jan 24, 2016
53c2c5f
Move ? and ! to top.
walmes Jan 24, 2016
e9cbbad
Edit ? and ! for ESS.
walmes Jan 24, 2016
6724966
Move % for top.
walmes Jan 24, 2016
c7b48ff
Edit % for ESS.
walmes Jan 24, 2016
c8ad7f5
Add more conditions for ! in ESS.
walmes Jan 25, 2016
de9c162
Move > to top.
walmes Jan 25, 2016
1ee884e
Edit > for ESS.
walmes Jan 25, 2016
1bdf743
Edit < for ESS.
walmes Jan 25, 2016
6740e0f
Edit < and > for ESS.
walmes Jan 25, 2016
0591b3b
Edit & for ESS.
walmes Jan 25, 2016
142104b
Edit * for ESS.
walmes Jan 25, 2016
d5bb88c
Edit + and - for ESS.
walmes Jan 25, 2016
5a857e0
Edit ~ for ESS.
walmes Jan 25, 2016
efa9d16
Edit / for ESS.
walmes Jan 25, 2016
41c3b55
Remove python-:.
walmes Jan 25, 2016
b98f8bb
Move / to below of *.
walmes Jan 25, 2016
6554445
Removes electric-spacings-&, non needed.
walmes Jan 25, 2016
e8dc81d
Add self-insert-command to &.
walmes Jan 25, 2016
fb1cf42
Remove cc-mode package and a function.
walmes Jan 25, 2016
e247d02
Reorder list elements.
walmes Jan 25, 2016
43c881d
Remove thingatpt, non needed package.
walmes Jan 25, 2016
1ca584b
Remove electric-spacing-enclosing-paren.
walmes Jan 25, 2016
adeca5b
Remove electric-spacing-/.
walmes Jan 25, 2016
f63ec2d
Remove shell command at end.
walmes Jan 25, 2016
782fa69
Fix . and ! behavior in ESS mode.
walmes Mar 25, 2016
9eb9d1e
Fix behavior of . in formula.
walmes Aug 15, 2016
8747957
Fix behavior of . followed by ~ and vice-versa.
walmes Sep 6, 2016
64380c3
Add more cases for `.`, `+` and `*`.
walmes Oct 24, 2016
d5ebbc5
Updates the license and mention my contribution.
walmes Aug 3, 2017
3df54e2
Rename to electric-spacing-r.
walmes Aug 3, 2017
278a418
Update the README with code to enable R.
walmes Aug 3, 2017
2ff48c6
Change the % operator.
walmes May 7, 2018
1a172e5
Only move code inside the file.
walmes May 7, 2018
df9089d
Improve `%`, add `{` and `(`, remove `?`, `,` and `:`.
walmes May 7, 2018
72b284f
Improves the "!" operator.
walmes Jul 1, 2018
20070c2
Improves %op%.
walmes Jul 1, 2018
82e9796
Add a comment to the %op% operator.
walmes Jul 1, 2018
77ace16
Enable some rules to Python.
walmes Jul 3, 2018
ca20842
Fiz bug in the "!" symbol.
walmes Jul 6, 2018
be1d030
Improves the regex rules for the %op%.
walmes Jul 7, 2018
f7e8a9a
Improves the transformation of ** into ^.
walmes Jul 7, 2018
82cadd7
Provides the LIMIT argument to looking-back function.
walmes Jul 7, 2018
2a0b0bd
Improves regex for structures for/while/if, etc.
walmes Jul 9, 2018
cea4d8e
Adds / operator.
walmes Jul 9, 2018
9beb100
Does improvements for operators: %%, %*%, %/%, %>% and <<-.
walmes Jul 9, 2018
c06b2d1
Changes LIMIT to 1 in the call of looking-back.
walmes Jul 9, 2018
5ea38da
Improves the / operator.
walmes Jul 10, 2018
f05f8de
Solves BUG related to the insertion of %.
walmes Apr 29, 2019
544552b
Fixes warning message.
walmes Oct 6, 2023
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,5 +27,9 @@ following to your config[1]:
Note that `electric-spacing-mode` is not a global minor mode, and so must
be enabled separately for each major mode.

To enable electric-spacing-mode for R, include in your init file the following:

(require 'electric-spacing-r)
(add-hook 'ess-mode-hook #'electric-spacing-mode)

[1] For emacs versions < 24 you may need to [define a wrapper function](http://emacs.stackexchange.com/questions/5358/proper-way-to-enable-minor-mode) to enable the mode unconditionally.
Loading