From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Daniel Colascione Newsgroups: gmane.emacs.devel Subject: Re: Why is `C-M-x' only for top-level defuns? Date: Wed, 11 Jan 2012 18:40:53 -0800 Message-ID: <4F0E4835.1030106@dancol.org> References: <87zkdtdbk1.fsf@mail.jurta.org> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="------------enig4EF61D1C1558B5B2C2674450" X-Trace: dough.gmane.org 1326336081 27641 80.91.229.12 (12 Jan 2012 02:41:21 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Thu, 12 Jan 2012 02:41:21 +0000 (UTC) Cc: 'Juri Linkov' , Drew Adams , emacs-devel@gnu.org To: Stefan Monnier Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu Jan 12 03:41:16 2012 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([140.186.70.17]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1RlAbM-0000yx-5A for ged-emacs-devel@m.gmane.org; Thu, 12 Jan 2012 03:41:16 +0100 Original-Received: from localhost ([::1]:60373 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RlAbL-0006UG-Ig for ged-emacs-devel@m.gmane.org; Wed, 11 Jan 2012 21:41:15 -0500 Original-Received: from eggs.gnu.org ([140.186.70.92]:48923) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RlAbJ-0006Su-0h for emacs-devel@gnu.org; Wed, 11 Jan 2012 21:41:13 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RlAbH-0007dc-PL for emacs-devel@gnu.org; Wed, 11 Jan 2012 21:41:12 -0500 Original-Received: from dancol.org ([96.126.100.184]:39529) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RlAbH-0007d0-Jb for emacs-devel@gnu.org; Wed, 11 Jan 2012 21:41:11 -0500 Original-Received: from c-24-18-179-193.hsd1.wa.comcast.net ([24.18.179.193] helo=edith.local) by dancol.org with esmtpsa (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.72) (envelope-from ) id 1RlAb7-0004GR-L9; Wed, 11 Jan 2012 18:41:01 -0800 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.6; rv:8.0) Gecko/20111105 Thunderbird/8.0 In-Reply-To: X-Enigmail-Version: 1.3.4 X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 96.126.100.184 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:147601 Archived-At: This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enig4EF61D1C1558B5B2C2674450 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable 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. >=20 > 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))) --------------enig4EF61D1C1558B5B2C2674450 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.11 (Darwin) Comment: GPGTools - http://gpgtools.org iEYEARECAAYFAk8OSDgACgkQ17c2LVA10VttZgCg7DgKmI9mKN6D4ExS/Ed0Kqvt fwQAniAatA2+3RHK5jXZXm9xpKzgL+JG =YwgL -----END PGP SIGNATURE----- --------------enig4EF61D1C1558B5B2C2674450--