emacs-devel
[Top][All Lists]
Advanced

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

Re: beginning-of-defun (again)


From: Alan Mackenzie
Subject: Re: beginning-of-defun (again)
Date: Fri, 30 Oct 2015 23:29:47 +0000
User-agent: Mutt/1.5.23 (2014-03-12)

Hello, Richard.

On Fri, Oct 30, 2015 at 07:13:56PM -0400, 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. ]]]

>   > > Is there a specific practical reason why it is important for the defuns 
> in
>   > > init.el not to start in column 0?

>   > They are within macros controlling whether they are evaluated or compiled 
> or
>   > not, based on available packages on the system.

> I don't follow how that affects what column the openparen can be in.
> Could you show what this looks like?

I think what John's saying is that in circumstances such as:

(eval-and-compile
  (defmacro foo ......
  ....
  ))

, the beginning of the defun (here a defmacro) for foo isn't at column
0, because Emacs Lisp Mode's indentation puts it to column 2.  So a
C-M-a will not find "(defmacro foo ...", which is sometimes irritating,
particularly when there are several de\(fun\|macro\)s within one
eval-and-compile.

> -- 
> Dr Richard Stallman
> President, Free Software Foundation (gnu.org, fsf.org)
> Internet Hall-of-Famer (internethalloffame.org)
> Skype: No way! See stallman.org/skype.html.

-- 
Alan Mackenzie (Nuremberg, Germany).



reply via email to

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