From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Drew Adams Newsgroups: gmane.emacs.bugs Subject: bug#19217: 25.0.50; `C-M-x' (`eval-defun') on a `defface' that is not top-level Date: Thu, 15 Oct 2020 08:29:46 -0700 (PDT) Message-ID: <8439256f-09d7-4939-aef0-8d9d14d8e73c@default> References: <20141129191023.34112.qmail@mail.muc.de> <3e0d66d6-99b6-4e0d-a1eb-b7f2e3731ea7@default> <20141130195811.GB12974@acm.acm> <6718ace6-b672-40fc-a5bc-ea29eb155239@default> <20141206191057.GB3233@acm.acm> <87tuvvgqao.fsf@gnus.org> <87r1pzwokd.fsf@gnus.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="16484"; mail-complaints-to="usenet@ciao.gmane.io" Cc: Stefan Monnier , 19217@debbugs.gnu.org To: Lars Ingebrigtsen , Alan Mackenzie Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Thu Oct 15 17:35:47 2020 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1kT5IB-0004AY-GJ for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 15 Oct 2020 17:35:47 +0200 Original-Received: from localhost ([::1]:40920 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kT5IA-0004ej-IT for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 15 Oct 2020 11:35:46 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:52020) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kT5Cd-0008Ie-BR for bug-gnu-emacs@gnu.org; Thu, 15 Oct 2020 11:30:03 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:44702) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1kT5Cc-0006zm-UF for bug-gnu-emacs@gnu.org; Thu, 15 Oct 2020 11:30:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1kT5Cc-0007Cg-Q3 for bug-gnu-emacs@gnu.org; Thu, 15 Oct 2020 11:30:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Drew Adams Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 15 Oct 2020 15:30: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: fixed Original-Received: via spool by 19217-submit@debbugs.gnu.org id=B19217.160277579927655 (code B ref 19217); Thu, 15 Oct 2020 15:30:02 +0000 Original-Received: (at 19217) by debbugs.gnu.org; 15 Oct 2020 15:29:59 +0000 Original-Received: from localhost ([127.0.0.1]:56248 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kT5CZ-0007By-D4 for submit@debbugs.gnu.org; Thu, 15 Oct 2020 11:29:59 -0400 Original-Received: from userp2120.oracle.com ([156.151.31.85]:51624) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kT5CY-0007Bm-6z for 19217@debbugs.gnu.org; Thu, 15 Oct 2020 11:29:58 -0400 Original-Received: from pps.filterd (userp2120.oracle.com [127.0.0.1]) by userp2120.oracle.com (8.16.0.42/8.16.0.42) with SMTP id 09FFQ0Uf134499; Thu, 15 Oct 2020 15:29:52 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oracle.com; h=mime-version : message-id : date : from : sender : to : cc : subject : references : in-reply-to : content-type : content-transfer-encoding; s=corp-2020-01-29; bh=927gt8Nk4Ngh5483lnuLf/6oVfvg3Ox3FnjmJr0XUn4=; b=MXkJLSgZl6hMJ8WD6+w1E3a5FyrSTVtSwbM6McvYH5+tNDRnP9YIA8Fng8FLhgIbhbpE 26ED2nB9BlmT0zmi9nGoMsf6/qZToPriF08RbSTCSymDLa8fJFXIrEH6rkF8KUfrpXVQ WQ2cH+3tBBzVqOKo+qp61Ldjnt+XpiuGKS6i3Wyp0IeL7mpsLTuxNyq66Ba7ww83xXvL RvSOoNk5y/ot0O0G2KtnkkMEIckbXlz4I3dW1xuySjVxmSLhhw4q0fa9gy01LTnueBQn VYhn5uupWoBXdYAhIJKs/Ro565hDU6VTXZ3cQ6B3NGaH6GWL8s+UepYoHOpf4C5j6kXe QQ== Original-Received: from aserp3030.oracle.com (aserp3030.oracle.com [141.146.126.71]) by userp2120.oracle.com with ESMTP id 343vaeknq8-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=FAIL); Thu, 15 Oct 2020 15:29:52 +0000 Original-Received: from pps.filterd (aserp3030.oracle.com [127.0.0.1]) by aserp3030.oracle.com (8.16.0.42/8.16.0.42) with SMTP id 09FFPnT6108042; Thu, 15 Oct 2020 15:29:51 GMT Original-Received: from userv0122.oracle.com (userv0122.oracle.com [156.151.31.75]) by aserp3030.oracle.com with ESMTP id 343phr7sa3-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Thu, 15 Oct 2020 15:29:51 +0000 Original-Received: from abhmp0005.oracle.com (abhmp0005.oracle.com [141.146.116.11]) by userv0122.oracle.com (8.14.4/8.14.4) with ESMTP id 09FFTlwv009548; Thu, 15 Oct 2020 15:29:48 GMT In-Reply-To: <87r1pzwokd.fsf@gnus.org> X-Priority: 3 X-Mailer: Oracle Beehive Extensions for Outlook 2.0.1.9.1 (1003210) [OL 16.0.5056.0 (x86)] X-Proofpoint-Virus-Version: vendor=nai engine=6000 definitions=9775 signatures=668682 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 phishscore=0 spamscore=0 adultscore=0 bulkscore=0 mlxlogscore=999 malwarescore=0 mlxscore=0 suspectscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2009150000 definitions=main-2010150104 X-Proofpoint-Virus-Version: vendor=nai engine=6000 definitions=9775 signatures=668682 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 mlxlogscore=999 clxscore=1015 impostorscore=0 phishscore=0 malwarescore=0 bulkscore=0 priorityscore=1501 mlxscore=0 suspectscore=0 spamscore=0 adultscore=0 lowpriorityscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2009150000 definitions=main-2010150104 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list 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-mx.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.io gmane.emacs.bugs:190602 Archived-At: > > 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 woul= d > > be otherwise... >=20 > 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. >=20 > However, if this somehow gets in the way of people's way of working, it > could be reversed, I guess. Thanks for doing this. But did you also fix `pp-eval-last-sexp'? You said this: > Saturday, September 19, 2020 7:11 AM > > What about `pp-eval-last-sexp'? > > Could we get that updated similarly? >=20 > Sure, if we decide to alter `eval-last-sexp' in this way.