From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#38406: 27.0.50; post-self-insert-hook does not hold its contract in cc-mode derived modes Date: Mon, 02 Dec 2019 22:17:01 +0200 Message-ID: <837e3elbya.fsf@gnu.org> References: <20191130143638.GA6716@ACM> <20191201150738.GB5085@ACM> <83imn0lyed.fsf@gnu.org> <20191201192709.GE5085@ACM> <83blsrn58a.fsf@gnu.org> <20191202183156.GA4175@ACM> Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="210692"; mail-complaints-to="usenet@blaine.gmane.org" Cc: yyoncho@gmail.com, 38406@debbugs.gnu.org To: Alan Mackenzie Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Mon Dec 02 21:18:25 2019 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([209.51.188.17]) by blaine.gmane.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.89) (envelope-from ) id 1ibs9I-000sfJ-7x for geb-bug-gnu-emacs@m.gmane.org; Mon, 02 Dec 2019 21:18:24 +0100 Original-Received: from localhost ([::1]:44064 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ibs9G-0002T0-RJ for geb-bug-gnu-emacs@m.gmane.org; Mon, 02 Dec 2019 15:18:22 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:44542) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ibs92-0002RO-9r for bug-gnu-emacs@gnu.org; Mon, 02 Dec 2019 15:18:11 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ibs8x-0008VE-Ha for bug-gnu-emacs@gnu.org; Mon, 02 Dec 2019 15:18:08 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]:33018) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1ibs8w-0008V6-Kf for bug-gnu-emacs@gnu.org; Mon, 02 Dec 2019 15:18:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1ibs8w-0007Lu-GW for bug-gnu-emacs@gnu.org; Mon, 02 Dec 2019 15:18:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 02 Dec 2019 20:18:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 38406 X-GNU-PR-Package: emacs Original-Received: via spool by 38406-submit@debbugs.gnu.org id=B38406.157531784328178 (code B ref 38406); Mon, 02 Dec 2019 20:18:02 +0000 Original-Received: (at 38406) by debbugs.gnu.org; 2 Dec 2019 20:17:23 +0000 Original-Received: from localhost ([127.0.0.1]:38991 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ibs8I-0007KP-VW for submit@debbugs.gnu.org; Mon, 02 Dec 2019 15:17:23 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:35405) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ibs8G-0007KB-8B for 38406@debbugs.gnu.org; Mon, 02 Dec 2019 15:17:21 -0500 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:44353) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ibs8A-0008O1-2U; Mon, 02 Dec 2019 15:17:14 -0500 Original-Received: from [176.228.60.248] (port=2998 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1ibs89-0002tf-Hu; Mon, 02 Dec 2019 15:17:13 -0500 In-reply-to: <20191202183156.GA4175@ACM> (message from Alan Mackenzie on Mon, 2 Dec 2019 18:31:56 +0000) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 209.51.188.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" Xref: news.gmane.org gmane.emacs.bugs:172784 Archived-At: > Date: Mon, 2 Dec 2019 18:31:56 +0000 > Cc: yyoncho@gmail.com, 38406@debbugs.gnu.org > From: Alan Mackenzie > > > You'd be surprised to know what some of those hooks do. Everything > > you say they don't, and then some. > > Any chance you could name one (or even two), thus letting me see for > myself? I'd have to dig for them. I'll try. > > It doesn't seem too hackish to me, and as a nice bonus we will have > > post-self-insert-hook act as per its contract again. > > > So could you please do that? TIA. > > OK, I'll do that. It's not a nice thing to do, but we're kind of > lacking nice things in this situation. Give me a few days, please - I'm > a touch busy in RL at the moment. Thanks, there's no special rush. > Additionally, how about reversing the encouragement in the Elisp manual > to put buffer changing functions onto post-self-insert-hook? If you could suggest the text to explain why this should be discouraged, I promise to consider it.