GNU bug report logs - #19217
25.0.50; `C-M-x' (`eval-defun') on a `defface' that is not top-level

Previous Next

Package: emacs;

Reported by: Drew Adams <drew.adams <at> oracle.com>

Date: Sat, 29 Nov 2014 18:15:02 UTC

Severity: wishlist

Tags: fixed

Found in version 25.0.50

Fixed in version 28.1

Done: Lars Ingebrigtsen <larsi <at> gnus.org>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Lars Ingebrigtsen <larsi <at> gnus.org>
To: Alan Mackenzie <acm <at> muc.de>
Cc: Stefan Monnier <monnier <at> IRO.UMontreal.CA>, Drew Adams <drew.adams <at> oracle.com>, 19217 <at> debbugs.gnu.org
Subject: bug#19217: 25.0.50;	`C-M-x' (`eval-defun') on a `defface' that is not top-level
Date: Thu, 15 Oct 2020 16:28:50 +0200
Lars Ingebrigtsen <larsi <at> gnus.org> writes:

> To recap, this allows `C-x C-e' on defvar/defface to work the same as
> `C-M-x' on those (when they are top-level).
>
> That these two work differently is a source of frustration, so I think
> it makes conceptual sense, but I'm not sure what the repercussions would
> be otherwise...

There were no protests, so I've now gone ahead and done this.  This may
perhaps be controversial, but I've never understood why `C-x C-e'
shouldn't do "the obvious thing" on defvar (etc) forms, so I've done it
anyway.

However, if this somehow gets in the way of people's way of working, it
could be reversed, I guess.  

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no




This bug report was last modified 4 years and 280 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.