From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.bugs Subject: bug#19217: 25.0.50; `C-M-x' (`eval-defun') on a `defface' that is not top-level Date: Mon, 01 Dec 2014 08:49:20 -0500 Message-ID: References: <183f89bc-527c-48ad-80ae-fd73c52874fe@default> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1417441832 15836 80.91.229.3 (1 Dec 2014 13:50:32 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 1 Dec 2014 13:50:32 +0000 (UTC) Cc: 19217@debbugs.gnu.org To: Drew Adams Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Mon Dec 01 14:50:22 2014 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1XvRMr-00078k-F3 for geb-bug-gnu-emacs@m.gmane.org; Mon, 01 Dec 2014 14:50:21 +0100 Original-Received: from localhost ([::1]:60195 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XvRMr-0003Oe-5V for geb-bug-gnu-emacs@m.gmane.org; Mon, 01 Dec 2014 08:50:21 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:42208) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XvRMh-0003Mc-99 for bug-gnu-emacs@gnu.org; Mon, 01 Dec 2014 08:50:18 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XvRMZ-0000RG-Jp for bug-gnu-emacs@gnu.org; Mon, 01 Dec 2014 08:50:11 -0500 Original-Received: from debbugs.gnu.org ([140.186.70.43]:53296) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XvRMZ-0000Qd-HV for bug-gnu-emacs@gnu.org; Mon, 01 Dec 2014 08:50:03 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1XvRMY-0005wM-Vf for bug-gnu-emacs@gnu.org; Mon, 01 Dec 2014 08:50:03 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Stefan Monnier Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 01 Dec 2014 13:50:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 19217 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 19217-submit@debbugs.gnu.org id=B19217.141744176522781 (code B ref 19217); Mon, 01 Dec 2014 13:50:02 +0000 Original-Received: (at 19217) by debbugs.gnu.org; 1 Dec 2014 13:49:25 +0000 Original-Received: from localhost ([127.0.0.1]:50509 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1XvRLx-0005vN-0W for submit@debbugs.gnu.org; Mon, 01 Dec 2014 08:49:25 -0500 Original-Received: from pruche.dit.umontreal.ca ([132.204.246.22]:59659) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1XvRLu-0005vC-2l for 19217@debbugs.gnu.org; Mon, 01 Dec 2014 08:49:22 -0500 Original-Received: from pastel.home (lechon.iro.umontreal.ca [132.204.27.242]) by pruche.dit.umontreal.ca (8.14.1/8.14.1) with ESMTP id sB1DnKHM023878; Mon, 1 Dec 2014 08:49:20 -0500 Original-Received: by pastel.home (Postfix, from userid 20848) id 5A1228675; Mon, 1 Dec 2014 08:49:20 -0500 (EST) In-Reply-To: <183f89bc-527c-48ad-80ae-fd73c52874fe@default> (Drew Adams's message of "Sun, 30 Nov 2014 20:29:18 -0800 (PST)") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.0.50 (gnu/linux) X-NAI-Spam-Flag: NO X-NAI-Spam-Threshold: 5 X-NAI-Spam-Score: 0 X-NAI-Spam-Rules: 1 Rules triggered RV5142=0 X-NAI-Spam-Version: 2.3.0.9393 : core <5142> : inlines <1571> : streams <1350042> : uri <1836869> X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-Received-From: 140.186.70.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:96776 Archived-At: > I just did - when the defface (e.g. the given face itself) makes > sense only for certain Emacs versions. That just paraphrases in ambiguous English the perfectly precise Elisp code you quoted. So it's not what I'm after. > It doesn't matter how common it is It matters to me, obviously. > - it is common enough. There is no reason users should not have > a simple way to redefine a defface, defvar, or defcustom, at top level > or not. Irrelevant. Frequency of occurrence and typical contexts can give very useful hints at what the best solution is. The answer you quote already makes it clear I agree it should be solved, so stop arguing this point, you're just wasting people's time. I stopped reading your rant here. Stefan