From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: =?UTF-8?Q?=E7=A9=8D=E4=B8=B9=E5=B0=BC?= Dan Jacobson Newsgroups: gmane.emacs.bugs Subject: bug#52864: sgml-tag inserts newlines Date: Wed, 29 Dec 2021 10:06:17 +0800 Message-ID: <875yr8412e.5.fsf@jidanni.org> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="12351"; mail-complaints-to="usenet@ciao.gmane.io" To: 52864@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Wed Dec 29 04:19:11 2021 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 1n2PUc-00031m-Dd for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 29 Dec 2021 04:19:10 +0100 Original-Received: from localhost ([::1]:48932 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1n2PUb-0004h8-1h for geb-bug-gnu-emacs@m.gmane-mx.org; Tue, 28 Dec 2021 22:19:09 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:35648) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1n2PUV-0004gy-1R for bug-gnu-emacs@gnu.org; Tue, 28 Dec 2021 22:19:03 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]:36324) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1n2PUU-0002fN-OC for bug-gnu-emacs@gnu.org; Tue, 28 Dec 2021 22:19:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1n2PUU-0001fq-H3 for bug-gnu-emacs@gnu.org; Tue, 28 Dec 2021 22:19:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: =?UTF-8?Q?=E7=A9=8D=E4=B8=B9=E5=B0=BC?= Dan Jacobson Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 29 Dec 2021 03:19:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 52864 X-GNU-PR-Package: emacs X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Original-Received: via spool by submit@debbugs.gnu.org id=B.16407479336418 (code B ref -1); Wed, 29 Dec 2021 03:19:02 +0000 Original-Received: (at submit) by debbugs.gnu.org; 29 Dec 2021 03:18:53 +0000 Original-Received: from localhost ([127.0.0.1]:47870 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1n2PUL-0001fS-H2 for submit@debbugs.gnu.org; Tue, 28 Dec 2021 22:18:53 -0500 Original-Received: from lists.gnu.org ([209.51.188.17]:50590) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1n2PUK-0001fJ-0X for submit@debbugs.gnu.org; Tue, 28 Dec 2021 22:18:52 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:35640) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1n2PUJ-0004gq-Np for bug-gnu-emacs@gnu.org; Tue, 28 Dec 2021 22:18:51 -0500 Original-Received: from anteater.aspen.relay.mailchannels.net ([23.83.221.3]:25548) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1n2PUH-0002dz-M5 for bug-gnu-emacs@gnu.org; Tue, 28 Dec 2021 22:18:51 -0500 Original-Received: from relay.mailchannels.net (localhost [127.0.0.1]) by relay.mailchannels.net (Postfix) with ESMTP id 7DBB18620F4 for ; Wed, 29 Dec 2021 03:18:43 +0000 (UTC) Original-Received: from pdx1-sub0-mail-a250.dreamhost.com (unknown [127.0.0.6]) (Authenticated sender: dreamhost) by relay.mailchannels.net (Postfix) with ESMTPA id 3AE9F861EDB for ; Wed, 29 Dec 2021 03:18:28 +0000 (UTC) Original-Received: from pdx1-sub0-mail-a250.dreamhost.com (pop.dreamhost.com [64.90.62.162]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384) by 100.105.57.97 (trex/6.4.3); Wed, 29 Dec 2021 03:18:43 +0000 Original-Received: from jidanni.org (114-41-12-3.dynamic-ip.hinet.net [114.41.12.3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-256) server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) (Authenticated sender: jidanni@jidanni.org) by pdx1-sub0-mail-a250.dreamhost.com (Postfix) with ESMTPSA id 4JNxSH6rk7z1p for ; Tue, 28 Dec 2021 19:18:23 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d=jidanni.org; s=jidanni.org; t=1640747904; bh=4stTzx6WW8Epv0cy4W7bKCujd18=; h=From:To:Subject:Date:Content-Type; b=OulVDYDPWv7H87H3mpPCMuIB86drMeDmso3JEpl0LxBYmd4PLrYQEHLPUzvjhHNVq LsS+Ckyhh4CzfkW6VYOMwefyaDVdXyuLsjemYE9BMdIGefBUoueeG2EtgFCVa8qDV4 3PYuwlV41NDyB7MNzBEOeTom90noTL7RaZpXk0M8= Received-SPF: pass client-ip=23.83.221.3; envelope-from=jidanni@jidanni.org; helo=anteater.aspen.relay.mailchannels.net X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action 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:223305 Archived-At: C-c C-t runs the command sgml-tag (found in mhtml-mode-map) Problem is that it inserts newlines. abc with marked region b becomes ab c instead of abc emacs -Q, version "27.1"