emacs-devel
[Top][All Lists]
Advanced

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

Re: Why is `C-M-x' only for top-level defuns?


From: Daniel Colascione
Subject: Re: Why is `C-M-x' only for top-level defuns?
Date: Wed, 11 Jan 2012 18:40:53 -0800
User-agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.6; rv:8.0) Gecko/20111105 Thunderbird/8.0

On 1/11/12 5:27 PM, Stefan Monnier wrote:
>> My question is whether we really want `C-M-x' to do what it does
>> instead of just pick up the innermost def* containing point.
> 
> One problem is to define what is "the innermost def* containing point".
> I suspect it's difficult to formally define it in a way that always
> corresponds to the intuitive meaning.

Right. Consider:

(unless (featurep 'deffoo)
  (defmacro deffoo (bar)
    `(defun ,bar () POINT)))



Attachment: signature.asc
Description: OpenPGP digital signature


reply via email to

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