[Top][All Lists]
[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)))
signature.asc
Description: OpenPGP digital signature
- Why is `C-M-x' only for top-level defuns?, Drew Adams, 2012/01/11
- Re: Why is `C-M-x' only for top-level defuns?, Thien-Thi Nguyen, 2012/01/11
- Re: Why is `C-M-x' only for top-level defuns?, Juri Linkov, 2012/01/11
- RE: Why is `C-M-x' only for top-level defuns?, Drew Adams, 2012/01/11
- Re: Why is `C-M-x' only for top-level defuns?, Stefan Monnier, 2012/01/11
- Re: Why is `C-M-x' only for top-level defuns?,
Daniel Colascione <=
- RE: Why is `C-M-x' only for top-level defuns?, Drew Adams, 2012/01/11
- Re: Why is `C-M-x' only for top-level defuns?, Stefan Monnier, 2012/01/11
- Re: Why is `C-M-x' only for top-level defuns?, Daniel Colascione, 2012/01/11
- Re: Why is `C-M-x' only for top-level defuns?, Thierry Volpiatto, 2012/01/12
- RE: Why is `C-M-x' only for top-level defuns?, Drew Adams, 2012/01/12
- Re: Why is `C-M-x' only for top-level defuns?, Juri Linkov, 2012/01/12
- RE: Why is `C-M-x' only for top-level defuns?, Drew Adams, 2012/01/12
- RE: Why is `C-M-x' only for top-level defuns?, Drew Adams, 2012/01/12
- RE: Why is `C-M-x' only for top-level defuns?, Drew Adams, 2012/01/12
- Re: Why is `C-M-x' only for top-level defuns?, Dave Abrahams, 2012/01/12