From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Juri Linkov Newsgroups: gmane.emacs.bugs Subject: bug#36526: Previous work on this subject Date: Mon, 16 Nov 2020 23:12:24 +0200 Message-ID: <87blfx0zwn.fsf@mail.linkov.net> References: <596a40818c2b43fa9f645315e308ee5a@lanl.gov> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="3844"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (x86_64-pc-linux-gnu) Cc: "36526@debbugs.gnu.org" <36526@debbugs.gnu.org> To: "Herring, Davis" Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Mon Nov 16 22:16:11 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 1kelr9-0000re-Eu for geb-bug-gnu-emacs@m.gmane-mx.org; Mon, 16 Nov 2020 22:16:11 +0100 Original-Received: from localhost ([::1]:33838 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kelr8-00074t-AP for geb-bug-gnu-emacs@m.gmane-mx.org; Mon, 16 Nov 2020 16:16:10 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:53190) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kelr1-00074d-2j for bug-gnu-emacs@gnu.org; Mon, 16 Nov 2020 16:16:03 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]:45980) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1kelr0-00067y-Hz for bug-gnu-emacs@gnu.org; Mon, 16 Nov 2020 16:16:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1kelr0-00043Z-Bl for bug-gnu-emacs@gnu.org; Mon, 16 Nov 2020 16:16:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Juri Linkov Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 16 Nov 2020 21:16:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 36526 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: moreinfo Original-Received: via spool by 36526-submit@debbugs.gnu.org id=B36526.160556136015584 (code B ref 36526); Mon, 16 Nov 2020 21:16:02 +0000 Original-Received: (at 36526) by debbugs.gnu.org; 16 Nov 2020 21:16:00 +0000 Original-Received: from localhost ([127.0.0.1]:57526 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kelqy-00043H-JR for submit@debbugs.gnu.org; Mon, 16 Nov 2020 16:16:00 -0500 Original-Received: from relay8-d.mail.gandi.net ([217.70.183.201]:37211) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kelqv-000431-HD for 36526@debbugs.gnu.org; Mon, 16 Nov 2020 16:16:00 -0500 X-Originating-IP: 91.129.97.46 Original-Received: from mail.gandi.net (m91-129-97-46.cust.tele2.ee [91.129.97.46]) (Authenticated sender: juri@linkov.net) by relay8-d.mail.gandi.net (Postfix) with ESMTPSA id 91FDA1BF203; Mon, 16 Nov 2020 21:15:49 +0000 (UTC) In-Reply-To: <596a40818c2b43fa9f645315e308ee5a@lanl.gov> (Davis Herring's message of "Sat, 17 Oct 2020 06:00:53 +0000") 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:193478 Archived-At: > [Please CC me; I'm subscribed to devel, not bugs. > Also, hopefully DMARC doesn't mess anyone up here.] > > I wrote a version of this feature before; at the time, the list wasn't > convinced of the motivation, but there seems to be some more interest > since. The patch still applies and works; I'd be glad to update it > further for inclusion. > > https://lists.gnu.org/archive/html/emacs-devel/2016-02/msg01066.html Thanks, this is the most advanced implementation among several others. I tried it, and it does everything needed, and the code is quite compact. So I recommend to install this useful feature from the patches above. PS: I noticed some minor issues that could be improved afterwards.