From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Filipp Gunbin Newsgroups: gmane.emacs.bugs Subject: bug#54613: 29.0.50; uncomment-region in sh-mode deletes extra char Date: Mon, 28 Mar 2022 20:19:38 +0300 Message-ID: Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="33376"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (darwin) To: 54613@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Mon Mar 28 19:20:18 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 1nYt2O-0008QW-9I for geb-bug-gnu-emacs@m.gmane-mx.org; Mon, 28 Mar 2022 19:20:17 +0200 Original-Received: from localhost ([::1]:35014 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nYt2M-0005wc-QL for geb-bug-gnu-emacs@m.gmane-mx.org; Mon, 28 Mar 2022 13:20:14 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:56714) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nYt2B-0005w7-8X for bug-gnu-emacs@gnu.org; Mon, 28 Mar 2022 13:20:03 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:36974) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nYt2A-0002N6-VU for bug-gnu-emacs@gnu.org; Mon, 28 Mar 2022 13:20:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1nYt2A-0007mt-D3 for bug-gnu-emacs@gnu.org; Mon, 28 Mar 2022 13:20:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Filipp Gunbin Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 28 Mar 2022 17:20:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 54613 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.164848798729909 (code B ref -1); Mon, 28 Mar 2022 17:20:02 +0000 Original-Received: (at submit) by debbugs.gnu.org; 28 Mar 2022 17:19:47 +0000 Original-Received: from localhost ([127.0.0.1]:59104 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nYt1u-0007mK-PO for submit@debbugs.gnu.org; Mon, 28 Mar 2022 13:19:47 -0400 Original-Received: from lists.gnu.org ([209.51.188.17]:32860) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nYt1t-0007mC-6z for submit@debbugs.gnu.org; Mon, 28 Mar 2022 13:19:45 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:56678) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nYt1t-0005tM-25 for bug-gnu-emacs@gnu.org; Mon, 28 Mar 2022 13:19:45 -0400 Original-Received: from out4-smtp.messagingengine.com ([66.111.4.28]:42967) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nYt1q-0002L7-Tg for bug-gnu-emacs@gnu.org; Mon, 28 Mar 2022 13:19:44 -0400 Original-Received: from compute3.internal (compute3.nyi.internal [10.202.2.43]) by mailout.nyi.internal (Postfix) with ESMTP id 1B2035C01D7 for ; Mon, 28 Mar 2022 13:19:42 -0400 (EDT) Original-Received: from mailfrontend2 ([10.202.2.163]) by compute3.internal (MEProxy); Mon, 28 Mar 2022 13:19:42 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=fastmail.fm; h= cc:content-type:date:date:from:from:in-reply-to:message-id :mime-version:reply-to:sender:subject:subject:to:to; s=fm3; bh=i +f+PnupQjskYwyOgACMtDFLBi7iW5nfbAPxFS4wg7c=; b=WPg21RvbmGRyKgR+D w7tNhMFpHh8bhaZj8+3WvipSFKD0/cSi3Y0Pah9S1LnN6kCMK5wkiHilN9QBv7kP Dw/GSNyyzd5gH5blNY/7DebiqicX0VbeYHVFOdpg4TE41EsBMdVgG4d8WJ2Y+Nm+ NU1VDNDyEpy/vtgPWdqmsu3V2tw+XKOJRGIufzR82vXc8S0y9R+5MuUNJRme/8RX 88Z1tbalJNHnT27LcS8PFfku2IhaOJGyHJ4P9AdcYpcZezMhW2r8AmKGYLxblyPl BR7WzjUb7G1Nssj44XiedBDS8urxcQ6n4m8QGC0Bh/MkSKh3QWw1097YGchsmgQw +9xZQ== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-type:date:date:from:from :in-reply-to:message-id:mime-version:reply-to:sender:subject :subject:to:to:x-me-proxy:x-me-proxy:x-me-sender:x-me-sender :x-sasl-enc; s=fm3; bh=i+f+PnupQjskYwyOgACMtDFLBi7iW5nfbAPxFS4wg 7c=; b=UdKQ3NrdKHnZdbFLsrTg80XcQD5pJvfBPPsI4ZuPV/6jIxlnr4/yBtNhM hBSvmZuVQ7wDCFL8/Tr0yMtbEwMTm0oL4epU3+l7BG6TdBeSMNF/tmbOdG7hbcuA emJJsK8HLNEoTh/ZV06zddcJl6oJ2ONlnILT1LFXGBQy1EWuPbFzwY+JHV5c8es+ 08gh/CYxda9F9ofWZwvLr+rFQ6VLxZeSbdihrVx0a5cOXIaGCjpLI4CQaTzC8zp3 53uAx6bLlYrll1iH86x1lb+lUgtEmYWUBcWGp3T2G6Y89FniQYQ7IafGgQwGGMAe n5BL4I0Z60jihVEjkPdCeRnWU4aUA== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvvddrudehjedgudduvdcutefuodetggdotefrod ftvfcurfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfgh necuuegrihhlohhuthemuceftddtnecunecujfgurhephffvufgffffkgggtsehttdertd dtredtnecuhfhrohhmpefhihhlihhpphcuifhunhgsihhnuceofhhguhhnsghinhesfhgr shhtmhgrihhlrdhfmheqnecuggftrfgrthhtvghrnhepueejfeevudejleefiedvjeeggf eufeduiedvgfeiieeuledugffhleeuffehgfdunecuffhomhgrihhnpegvgigrmhhplhgv rdhorhhgnecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehmrghilhhfrhhomh epfhhguhhnsghinhesfhgrshhtmhgrihhlrdhfmh X-ME-Proxy: Original-Received: by mail.messagingengine.com (Postfix) with ESMTPA for ; Mon, 28 Mar 2022 13:19:41 -0400 (EDT) Mail-Followup-To: bug-gnu-emacs@gnu.org Received-SPF: pass client-ip=66.111.4.28; envelope-from=fgunbin@fastmail.fm; helo=out4-smtp.messagingengine.com X-Spam_score_int: -27 X-Spam_score: -2.8 X-Spam_bar: -- X-Spam_report: (-2.8 / 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, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H3=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 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:229030 Archived-At: - emacs -Q - Visit this file: --8<---------------cut here---------------start------------->8--- #!/bin/bash curl -s -d @- http://example.org <8--- - Put point at bol on the second line (where "curl" is) - M-x comment-region - M-x uncomment-region - Notice that `-' after "cat" disappeared Thanks. In GNU Emacs 29.0.50 (build 11, x86_64-apple-darwin20.6.0, NS appkit-2022.60 Version 11.6.1 (Build 20G224)) of 2022-03-28 built on fgunbin.local Repository revision: 3f19a23c1f60757c54a0ec7d84c625d83766ee08 Repository branch: HEAD System Description: macOS 11.6.1 Configured using: 'configure --enable-check-lisp-object-type --with-file-notification=no' Configured features: ACL GLIB GNUTLS LCMS2 LIBXML2 MODULES NS PDUMPER PNG RSVG SQLITE3 THREADS TOOLKIT_SCROLL_BARS WEBP XIM ZLIB Important settings: value of $LC_CTYPE: UTF-8 value of $LANG: ru_RU.UTF-8 locale-coding-system: utf-8-unix Major mode: Shell-script Minor modes in effect: csv-field-index-mode: t sh-electric-here-document-mode: t shell-dirtrack-mode: t minibuffer-depth-indicate-mode: t midnight-mode: t epa-global-mail-mode: t display-time-mode: t display-battery-mode: t desktop-save-mode: t tooltip-mode: t electric-indent-mode: t mouse-wheel-mode: t tool-bar-mode: t file-name-shadow-mode: t jit-lock-debug-mode: t line-number-mode: t indent-tabs-mode: t auto-composition-mode: t auto-encryption-mode: t auto-compression-mode: t Load-path shadows: None found. Features: (shadow mail-extr emacsbug gnus-async gnus-ml disp-table cursor-sensor qp imap rfc2104 nndraft nnmh utf-7 epa-file gnutls network-stream nsm nnml nnfolder nnnil gnus-agent gnus-srvr gnus-score score-mode nnvirtual gnus-msg gnus-art mm-uu mml2015 mm-view mml-smime smime dig nntp gnus-cache gnus-sum shr pixel-fill kinsoku url-file url-dired svg dom gnus-group gnus-undo gnus-start gnus-dbus gnus-cloud nnimap nnmail mail-source utf7 netrc nnoo gnus-spec gnus-int gnus-range gnus-win gnus nnheader range term/xterm xterm cus-start csv-mode sort dired-aux sql-indent vc-git diff-mode vc-dispatcher noutline outline easy-mmode sh-script smie executable w3m-load w3m doc-view jka-compr image-mode exif timezone w3m-hist w3m-fb bookmark-w3m w3m-ems w3m-favicon w3m-image w3m-proc w3m-util vlf-setup advice tramp-hdfs tramp-sh docker-tramp tramp-cache tramp tramp-loaddefs ...) Memory information: ((conses 16 250501 21292) (symbols 48 23802 6) (strings 32 84371 3359) (string-bytes 1 3043075) (vectors 16 46528) (vector-slots 8 1146153 195358) (floats 8 289 657) (intervals 56 864 89) (buffers 992 29))