help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Defining functions on the fly


From: Andreas Röhler
Subject: Re: Defining functions on the fly
Date: Wed, 17 Jun 2015 18:40:10 +0200
User-agent: Mozilla/5.0 (X11; Linux i686; rv:31.0) Gecko/20100101 Thunderbird/31.4.0


Am 17.06.2015 um 16:30 schrieb Stefan Monnier:
Because these functions depend on grammar of the goal-language.
Indeed, that's why forward-sexp is supplemented by
forward-sexp-function, making it possible for the major mode to provide
an implementation that does a more sophisticated sort of parsing than
that supported by plain old syntax-tables.


         Stefan

BTW you may remember a discussion around beginning-of-defun resp. beginning-of-defun-raw. The point was: once a beginning-of-defun-function is set by a language, let it go with it, don't interfere.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]