From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Lars Ingebrigtsen Newsgroups: gmane.emacs.bugs Subject: bug#16508: 24.3; Slash matching in HTML mode Date: Sun, 15 Apr 2018 23:57:18 +0200 Message-ID: <87muy46sld.fsf@mouse.gnus.org> References: <2558858.KWMsAWXdTA@descartes> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Trace: blaine.gmane.org 1523829546 19860 195.159.176.226 (15 Apr 2018 21:59:06 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Sun, 15 Apr 2018 21:59:06 +0000 (UTC) User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux) Cc: ralphmerridew@gmail.com, 16508@debbugs.gnu.org To: =?UTF-8?Q?R=C3=BCdiger?= Sonderfeld Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sun Apr 15 23:59:02 2018 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1f7pfn-000505-Ks for geb-bug-gnu-emacs@m.gmane.org; Sun, 15 Apr 2018 23:58:59 +0200 Original-Received: from localhost ([::1]:46405 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1f7phu-0003AO-EU for geb-bug-gnu-emacs@m.gmane.org; Sun, 15 Apr 2018 18:01:10 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:49428) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1f7pgt-0002YP-SE for bug-gnu-emacs@gnu.org; Sun, 15 Apr 2018 18:00:08 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1f7pgo-0005So-V5 for bug-gnu-emacs@gnu.org; Sun, 15 Apr 2018 18:00:07 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:46741) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1f7pgo-0005SO-Rx for bug-gnu-emacs@gnu.org; Sun, 15 Apr 2018 18:00:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1f7pgo-00017b-Jc for bug-gnu-emacs@gnu.org; Sun, 15 Apr 2018 18:00:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Lars Ingebrigtsen Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 15 Apr 2018 22:00:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 16508 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: patch Original-Received: via spool by 16508-submit@debbugs.gnu.org id=B16508.15238295754252 (code B ref 16508); Sun, 15 Apr 2018 22:00:02 +0000 Original-Received: (at 16508) by debbugs.gnu.org; 15 Apr 2018 21:59:35 +0000 Original-Received: from localhost ([127.0.0.1]:54638 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1f7pgM-00016W-QS for submit@debbugs.gnu.org; Sun, 15 Apr 2018 17:59:34 -0400 Original-Received: from hermes.netfonds.no ([80.91.224.195]:39665) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1f7pgL-00016H-0f for 16508@debbugs.gnu.org; Sun, 15 Apr 2018 17:59:33 -0400 Original-Received: from 46.67.12.60.tmi.telenormobil.no ([46.67.12.60] helo=corrigan) by hermes.netfonds.no with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1f7peG-0006HR-CZ; Sun, 15 Apr 2018 23:59:32 +0200 Original-Received: from larsi by corrigan with local (Exim 4.89) (envelope-from ) id 1f7peA-0005ok-Ij; Sun, 15 Apr 2018 23:57:18 +0200 In-Reply-To: <2558858.KWMsAWXdTA@descartes> ("=?UTF-8?Q?R=C3=BCdiger?= Sonderfeld"'s message of "Tue, 21 Jan 2014 22:37:10 +0100") 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: 208.118.235.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:145415 Archived-At: R=C3=BCdiger Sonderfeld writes: > =E2=94=82 diff --git a/lisp/textmodes/sgml-mode.el b/lisp/textmodes/sgml-= mode.el > =E2=94=82 index 09459d1..78fdb50 100644 > =E2=94=82 --- a/lisp/textmodes/sgml-mode.el > =E2=94=82 +++ b/lisp/textmodes/sgml-mode.el > =E2=94=82 @@ -539,7 +539,7 @@ (defun sgml-slash (arg) > =E2=94=82 (delete-char -1) > =E2=94=82 (sgml-close-tag)) > =E2=94=82 (t > =E2=94=82 - (sgml-slash-matching arg)))) > =E2=94=82 + (insert-char ?/ arg)))) > =E2=94=82=20 > =E2=94=82 (defun sgml-slash-matching (arg) > =E2=94=82 "Insert `/' and display any previous matching `/'. Seems to do the right thing in the test case, so I've applied it to Emacs 27.1. If this turns out to be the wrong thing to do, it should be easy enough to revert. --=20 (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no