* Re: trunk r114927: * lisp/emacs-lisp/smie.el (smie-rule-parent): Always call [not found] <E1Vd6aU-0000ai-3r@vcs.savannah.gnu.org> @ 2013-11-04 18:46 ` Johan Bockgård 2013-11-04 20:43 ` Stefan Monnier 0 siblings, 1 reply; 2+ messages in thread From: Johan Bockgård @ 2013-11-04 18:46 UTC (permalink / raw) To: Stefan Monnier; +Cc: emacs-devel Stefan Monnier <monnier@iro.umontreal.ca> writes: > +(defun smie--next-indent-change () > + "Go to the next line that needs to be reindented (and reindent it)." > + (interactive) > + (while > + (let ((tick (buffer-modified-tick))) > + (indent-according-to-mode) > + (eq tick (buffer-modified-tick))) > + (forward-line 1))) Shouldn't this rather use buffer-chars-modified-tick? ^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: trunk r114927: * lisp/emacs-lisp/smie.el (smie-rule-parent): Always call 2013-11-04 18:46 ` trunk r114927: * lisp/emacs-lisp/smie.el (smie-rule-parent): Always call Johan Bockgård @ 2013-11-04 20:43 ` Stefan Monnier 0 siblings, 0 replies; 2+ messages in thread From: Stefan Monnier @ 2013-11-04 20:43 UTC (permalink / raw) To: Johan Bockgård; +Cc: emacs-devel >> +(defun smie--next-indent-change () >> + "Go to the next line that needs to be reindented (and reindent it)." >> + (interactive) >> + (while >> + (let ((tick (buffer-modified-tick))) >> + (indent-according-to-mode) >> + (eq tick (buffer-modified-tick))) >> + (forward-line 1))) > Shouldn't this rather use buffer-chars-modified-tick? Indeed, Stefan ^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2013-11-04 20:43 UTC | newest] Thread overview: 2+ messages (download: mbox.gz follow: Atom feed -- links below jump to the message on this page -- [not found] <E1Vd6aU-0000ai-3r@vcs.savannah.gnu.org> 2013-11-04 18:46 ` trunk r114927: * lisp/emacs-lisp/smie.el (smie-rule-parent): Always call Johan Bockgård 2013-11-04 20:43 ` Stefan Monnier
Code repositories for project(s) associated with this external index https://git.savannah.gnu.org/cgit/emacs.git https://git.savannah.gnu.org/cgit/emacs/org-mode.git This is an external index of several public inboxes, see mirroring instructions on how to clone and mirror all data and code used by this external index.