* smie.el (smie*ward-sexp-command): Don't pretend the arg is optional
Fixes: debbugs:20205 * lisp/emacs-lisp/smie.el (smie-backward-sexp-command) (smie-forward-sexp-command): Don't pretend the arg is optional.
This commit is contained in:
parent
13cf575c1d
commit
5e0314f6fa
2 changed files with 33 additions and 27 deletions
|
@ -1,3 +1,9 @@
|
||||||
|
2015-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
|
||||||
|
|
||||||
|
* emacs-lisp/smie.el (smie-backward-sexp-command)
|
||||||
|
(smie-forward-sexp-command): Don't pretend the arg is optional
|
||||||
|
(bug#20205).
|
||||||
|
|
||||||
2015-03-23 Glenn Morris <rgm@gnu.org>
|
2015-03-23 Glenn Morris <rgm@gnu.org>
|
||||||
|
|
||||||
* emacs-lisp/authors.el (authors-aliases)
|
* emacs-lisp/authors.el (authors-aliases)
|
||||||
|
@ -20,19 +26,19 @@
|
||||||
|
|
||||||
2015-03-20 Dmitry Gutov <dgutov@yandex.ru>
|
2015-03-20 Dmitry Gutov <dgutov@yandex.ru>
|
||||||
|
|
||||||
* progmodes/ruby-mode.el (ruby-syntax-before-regexp-re): Detect
|
* progmodes/ruby-mode.el (ruby-syntax-before-regexp-re):
|
||||||
regexps after `!'. (Bug#19285)
|
Detect regexps after `!'. (Bug#19285)
|
||||||
|
|
||||||
2015-03-20 Dmitry Gutov <dgutov@yandex.ru>
|
2015-03-20 Dmitry Gutov <dgutov@yandex.ru>
|
||||||
|
|
||||||
* progmodes/ruby-mode.el (ruby-font-lock-keywords): Use
|
* progmodes/ruby-mode.el (ruby-font-lock-keywords):
|
||||||
`font-lock-constant-face' for nil, true and false. Highlight
|
Use `font-lock-constant-face' for nil, true and false.
|
||||||
`self' as a keyword. (Bug#17733)
|
Highlight `self' as a keyword. (Bug#17733)
|
||||||
|
|
||||||
2015-03-20 Nobuyoshi Nakada <nobu@ruby-lang.org>
|
2015-03-20 Nobuyoshi Nakada <nobu@ruby-lang.org>
|
||||||
|
|
||||||
* progmodes/ruby-mode.el (ruby-syntax-before-regexp-re): Expect
|
* progmodes/ruby-mode.el (ruby-syntax-before-regexp-re):
|
||||||
beginning of regexp also after open brace or vertical bar.
|
Expect beginning of regexp also after open brace or vertical bar.
|
||||||
(Bug#20026)
|
(Bug#20026)
|
||||||
|
|
||||||
2015-03-07 Michael Albinus <michael.albinus@gmx.de>
|
2015-03-07 Michael Albinus <michael.albinus@gmx.de>
|
||||||
|
@ -105,8 +111,8 @@
|
||||||
2015-02-12 Agustín Martín Domingo <agustin6martin@gmail.com>
|
2015-02-12 Agustín Martín Domingo <agustin6martin@gmail.com>
|
||||||
|
|
||||||
Improve string search in `flyspell-word-search-*`. (Bug#16800)
|
Improve string search in `flyspell-word-search-*`. (Bug#16800)
|
||||||
* textmodes/flyspell.el (flyspell-duplicate-distance): Limit
|
* textmodes/flyspell.el (flyspell-duplicate-distance):
|
||||||
default search distance for duplicated words to 40000.
|
Limit default search distance for duplicated words to 40000.
|
||||||
(flyspell-word-search-backward, flyspell-word-search-forward):
|
(flyspell-word-search-backward, flyspell-word-search-forward):
|
||||||
Search as full word with defined casechars, not as substring.
|
Search as full word with defined casechars, not as substring.
|
||||||
|
|
||||||
|
@ -122,8 +128,8 @@
|
||||||
2015-02-08 Eli Zaretskii <eliz@gnu.org>
|
2015-02-08 Eli Zaretskii <eliz@gnu.org>
|
||||||
|
|
||||||
* frame.el (frame-notice-user-settings): Refresh the value of
|
* frame.el (frame-notice-user-settings): Refresh the value of
|
||||||
frame parameters after calling tty-handle-reverse-video. Call
|
frame parameters after calling tty-handle-reverse-video.
|
||||||
face-set-after-frame-default with the actual parameters, to avoid
|
Call face-set-after-frame-default with the actual parameters, to avoid
|
||||||
resetting colors back to unspecified.
|
resetting colors back to unspecified.
|
||||||
(set-background-color, set-foreground-color): Pass the foreground
|
(set-background-color, set-foreground-color): Pass the foreground
|
||||||
and background colors to face-set-after-frame-default. (Bug#19802)
|
and background colors to face-set-after-frame-default. (Bug#19802)
|
||||||
|
@ -156,8 +162,8 @@
|
||||||
|
|
||||||
2015-02-04 Eli Zaretskii <eliz@gnu.org>
|
2015-02-04 Eli Zaretskii <eliz@gnu.org>
|
||||||
|
|
||||||
* textmodes/artist.el (artist-ellipse-compute-fill-info): Use
|
* textmodes/artist.el (artist-ellipse-compute-fill-info):
|
||||||
mapcar, not mapc, to create the other half of fill-info.
|
Use mapcar, not mapc, to create the other half of fill-info.
|
||||||
(Bug#19763)
|
(Bug#19763)
|
||||||
|
|
||||||
2015-02-04 Nicolas Petton <nicolas@petton.fr>
|
2015-02-04 Nicolas Petton <nicolas@petton.fr>
|
||||||
|
@ -182,18 +188,18 @@
|
||||||
|
|
||||||
2015-02-01 Alan Mackenzie <acm@muc.de>
|
2015-02-01 Alan Mackenzie <acm@muc.de>
|
||||||
|
|
||||||
CC Mode: Stop Font Lock forcing fontification from BOL. Fixes
|
CC Mode: Stop Font Lock forcing fontification from BOL.
|
||||||
debbugs#19669.
|
Fixes debbugs#19669.
|
||||||
|
|
||||||
* progmodes/cc-mode.el (c-font-lock-init): Setq
|
* progmodes/cc-mode.el (c-font-lock-init):
|
||||||
font-lock-extend-region-functions to nil.
|
Setq font-lock-extend-region-functions to nil.
|
||||||
|
|
||||||
2015-01-31 Alan Mackenzie <acm@muc.de>
|
2015-01-31 Alan Mackenzie <acm@muc.de>
|
||||||
|
|
||||||
Handle "#" operator properly inside macro. Fix coding bug.
|
Handle "#" operator properly inside macro. Fix coding bug.
|
||||||
|
|
||||||
* progmodes/cc-mode.el (c-neutralize-syntax-in-and-mark-CPP): On
|
* progmodes/cc-mode.el (c-neutralize-syntax-in-and-mark-CPP):
|
||||||
finding a "#" which looks like the start of a macro, check it
|
On finding a "#" which looks like the start of a macro, check it
|
||||||
isn't already inside a macro.
|
isn't already inside a macro.
|
||||||
|
|
||||||
* progmodes/cc-engine.el (c-state-safe-place): Don't record a new
|
* progmodes/cc-engine.el (c-state-safe-place): Don't record a new
|
||||||
|
@ -236,8 +242,8 @@
|
||||||
python.el: New non-global state dependent indentation engine.
|
python.el: New non-global state dependent indentation engine.
|
||||||
(Bug#18319, Bug#19595)
|
(Bug#18319, Bug#19595)
|
||||||
|
|
||||||
* progmodes/python.el (python-syntax-comment-or-string-p): Accept
|
* progmodes/python.el (python-syntax-comment-or-string-p):
|
||||||
PPSS as argument.
|
Accept PPSS as argument.
|
||||||
(python-syntax-closing-paren-p): New function.
|
(python-syntax-closing-paren-p): New function.
|
||||||
(python-indent-current-level)
|
(python-indent-current-level)
|
||||||
(python-indent-levels): Mark obsolete.
|
(python-indent-levels): Mark obsolete.
|
||||||
|
@ -262,8 +268,8 @@
|
||||||
|
|
||||||
* subr.el (posnp): Correct docstring of `posnp'.
|
* subr.el (posnp): Correct docstring of `posnp'.
|
||||||
(posn-col-row): Make it work with all mouse position objects.
|
(posn-col-row): Make it work with all mouse position objects.
|
||||||
* textmodes/artist.el (artist-mouse-draw-continously): Cancel
|
* textmodes/artist.el (artist-mouse-draw-continously):
|
||||||
timers if an error occurs during continuous drawing. (Bug#6130)
|
Cancel timers if an error occurs during continuous drawing. (Bug#6130)
|
||||||
|
|
||||||
2015-01-20 Eli Zaretskii <eliz@gnu.org>
|
2015-01-20 Eli Zaretskii <eliz@gnu.org>
|
||||||
|
|
||||||
|
@ -368,8 +374,8 @@
|
||||||
|
|
||||||
2014-12-27 Fabián Ezequiel Gallina <fgallina@gnu.org>
|
2014-12-27 Fabián Ezequiel Gallina <fgallina@gnu.org>
|
||||||
|
|
||||||
* progmodes/python.el (python-shell-buffer-substring): Handle
|
* progmodes/python.el (python-shell-buffer-substring):
|
||||||
cornercase when region sent starts at point-min.
|
Handle cornercase when region sent starts at point-min.
|
||||||
|
|
||||||
2014-12-27 Eli Zaretskii <eliz@gnu.org>
|
2014-12-27 Eli Zaretskii <eliz@gnu.org>
|
||||||
|
|
||||||
|
|
|
@ -834,12 +834,12 @@ Possible return values:
|
||||||
|
|
||||||
;;; Miscellaneous commands using the precedence parser.
|
;;; Miscellaneous commands using the precedence parser.
|
||||||
|
|
||||||
(defun smie-backward-sexp-command (&optional n)
|
(defun smie-backward-sexp-command (n)
|
||||||
"Move backward through N logical elements."
|
"Move backward through N logical elements."
|
||||||
(interactive "^p")
|
(interactive "^p")
|
||||||
(smie-forward-sexp-command (- n)))
|
(smie-forward-sexp-command (- n)))
|
||||||
|
|
||||||
(defun smie-forward-sexp-command (&optional n)
|
(defun smie-forward-sexp-command (n)
|
||||||
"Move forward through N logical elements."
|
"Move forward through N logical elements."
|
||||||
(interactive "^p")
|
(interactive "^p")
|
||||||
(let ((forw (> n 0))
|
(let ((forw (> n 0))
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue