emacs-devel
[Top][All Lists]
Advanced

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

Re: beginning-of-defun (again)


From: Andreas Röhler
Subject: Re: beginning-of-defun (again)
Date: Fri, 30 Oct 2015 07:47:05 +0100
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.9) Gecko/20100915 Thunderbird/3.1.4

 On 30.10.2015 02:34, Richard Stallman wrote:
[[[ To any NSA and FBI agents reading my email: please consider    ]]]
[[[ whether defending the US Constitution against all enemies,     ]]]
[[[ foreign or domestic, requires you to follow Snowden's example. ]]]

   >  A function resp. top-level-form starts if the beginning of a list is
   >  followed by a respective keyword.

That is not so.  Top level forms can call lots of functions.
A parenthesis in column zero is the best criterion to use.
It is simple and flexible; users can easily control it.


With emacs -Q, C-M-a from behind example below, stops at "(bar)", missing the beginning of function.

(defun foo ()
  (insert "
(bar)"))

Would call that buggy-by-design.
Whilst there is no need for this bug...

BTW how do you easily control it?




reply via email to

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