From: Daniel Colascione <dancol@dancol.org>
To: Stefan Monnier <monnier@IRO.UMontreal.CA>
Cc: 'Juri Linkov' <juri@jurta.org>,
Drew Adams <drew.adams@oracle.com>,
emacs-devel@gnu.org
Subject: Re: Why is `C-M-x' only for top-level defuns?
Date: Wed, 11 Jan 2012 18:40:53 -0800 [thread overview]
Message-ID: <4F0E4835.1030106@dancol.org> (raw)
In-Reply-To: <jwv62ghaezf.fsf-monnier+emacs@gnu.org>
[-- Attachment #1: Type: text/plain, Size: 480 bytes --]
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 #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 235 bytes --]
next prev parent reply other threads:[~2012-01-12 2:40 UTC|newest]
Thread overview: 21+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-01-11 17:06 Why is `C-M-x' only for top-level defuns? Drew Adams
2012-01-11 21:34 ` Thien-Thi Nguyen
2012-01-11 22:22 ` Drew Adams
2012-01-12 0:11 ` Juri Linkov
2012-01-12 0:36 ` Drew Adams
2012-01-12 1:27 ` Stefan Monnier
2012-01-12 2:40 ` Daniel Colascione [this message]
2012-01-12 3:42 ` Drew Adams
2012-01-12 4:05 ` Stefan Monnier
2012-01-12 4:15 ` Daniel Colascione
2012-01-12 6:34 ` Thierry Volpiatto
2012-01-12 15:29 ` Drew Adams
2012-01-12 10:30 ` Juri Linkov
2012-01-12 15:29 ` Drew Adams
2012-01-12 15:21 ` Drew Adams
2012-01-12 16:25 ` Drew Adams
2012-01-12 16:52 ` Dave Abrahams
2012-01-12 5:23 ` Stephen J. Turnbull
2012-01-12 15:29 ` Drew Adams
2012-01-12 16:47 ` Stephen J. Turnbull
2012-01-12 16:56 ` Dave Abrahams
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=4F0E4835.1030106@dancol.org \
--to=dancol@dancol.org \
--cc=drew.adams@oracle.com \
--cc=emacs-devel@gnu.org \
--cc=juri@jurta.org \
--cc=monnier@IRO.UMontreal.CA \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.