From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Lars Ingebrigtsen Newsgroups: gmane.emacs.bugs Subject: bug#54613: 29.0.50; uncomment-region in sh-mode deletes extra char Date: Tue, 29 Mar 2022 14:59:16 +0200 Message-ID: <871qykc3tn.fsf@gnus.org> References: Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="5947"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux) Cc: Stefan Monnier To: 54613@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Tue Mar 29 15:00:54 2022 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 1nZBSu-0001Gb-U7 for geb-bug-gnu-emacs@m.gmane-mx.org; Tue, 29 Mar 2022 15:00:53 +0200 Original-Received: from localhost ([::1]:43200 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nZBSs-0006WM-1I for geb-bug-gnu-emacs@m.gmane-mx.org; Tue, 29 Mar 2022 09:00:51 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:47462) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nZBS7-0006Vz-6I for bug-gnu-emacs@gnu.org; Tue, 29 Mar 2022 09:00:03 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:38019) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nZBS6-0007WC-Nf for bug-gnu-emacs@gnu.org; Tue, 29 Mar 2022 09:00:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1nZBS6-0004w6-J8 for bug-gnu-emacs@gnu.org; Tue, 29 Mar 2022 09: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: Tue, 29 Mar 2022 13:00:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 54613 X-GNU-PR-Package: emacs Original-Received: via spool by 54613-submit@debbugs.gnu.org id=B54613.164855877318904 (code B ref 54613); Tue, 29 Mar 2022 13:00:02 +0000 Original-Received: (at 54613) by debbugs.gnu.org; 29 Mar 2022 12:59:33 +0000 Original-Received: from localhost ([127.0.0.1]:60149 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nZBRc-0004uq-Ve for submit@debbugs.gnu.org; Tue, 29 Mar 2022 08:59:33 -0400 Original-Received: from quimby.gnus.org ([95.216.78.240]:60198) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nZBRW-0004uY-Ua for 54613@debbugs.gnu.org; Tue, 29 Mar 2022 08:59:31 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org; s=20200322; h=Content-Type:MIME-Version:Message-ID:In-Reply-To:Date: References:Subject:Cc:To:From:Sender:Reply-To:Content-Transfer-Encoding: Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=v1U9AzwyUk/JKi33clXXDdNTno77b6BQgl2RSmTSzy4=; b=dZjiMgTGOwXUI0TVcNmz1lhMu9 azNgSMk0H7RWG+TD8q73qFWEfJY0cHHeQYXQPpkzjFcZD2rPoeWYESgg9Rl41hGe0kFJ0UNF+C/5N 5jGDGFHU+uzsieMqppOLUFPsig7X4oxwNzJZ6fcTP3B04Zppwit2Je4RThEgYn9HA+z0=; Original-Received: from [84.212.220.105] (helo=xo) by quimby.gnus.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1nZBRN-00031Y-AE; Tue, 29 Mar 2022 14:59:19 +0200 In-Reply-To: (Filipp Gunbin's message of "Mon, 28 Mar 2022 20:19:38 +0300") 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:229053 Archived-At: Filipp Gunbin writes: > - Notice that `-' after "cat" disappeared I can reproduce this issue, too. What happens is that we have the following: curl -s -d @- http://example.org <\\| \\)" And... \s> matches the " -\\'"? Hm. I'm not sure what's the real problem here is. Should comment-end-skip have that value in shell scripts? On the other hand, commenting out bits of a heredoc-introduced command with a continuation line is pretty hairy in itself. I've added Stefan to the CCs; perhaps he'll have some comments. -- (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no