From unknown Wed Jun 18 23:11:13 2025 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Mailer: MIME-tools 5.509 (Entity 5.509) Content-Type: text/plain; charset=utf-8 From: bug#63616 <63616@debbugs.gnu.org> To: bug#63616 <63616@debbugs.gnu.org> Subject: Status: [PATCH] Preserve mark in comint-history-isearch Reply-To: bug#63616 <63616@debbugs.gnu.org> Date: Thu, 19 Jun 2025 06:11:13 +0000 retitle 63616 [PATCH] Preserve mark in comint-history-isearch reassign 63616 emacs submitter 63616 Jens Schmidt severity 63616 normal tag 63616 patch thanks From debbugs-submit-bounces@debbugs.gnu.org Sat May 20 17:16:31 2023 Received: (at submit) by debbugs.gnu.org; 20 May 2023 21:16:31 +0000 Received: from localhost ([127.0.0.1]:59445 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1q0TwF-0005km-0G for submit@debbugs.gnu.org; Sat, 20 May 2023 17:16:31 -0400 Received: from lists.gnu.org ([209.51.188.17]:50570) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1q0TwA-0005kc-Lu for submit@debbugs.gnu.org; Sat, 20 May 2023 17:16:30 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1q0TwA-0003Jx-E4 for bug-gnu-emacs@gnu.org; Sat, 20 May 2023 17:16:26 -0400 Received: from mr5.vodafonemail.de ([145.253.228.165]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1q0Tw8-00088h-4S for bug-gnu-emacs@gnu.org; Sat, 20 May 2023 17:16:26 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=vodafonemail.de; s=vfde-mb-mr2-21dec; t=1684617370; bh=Kc1Q3hrLH9Gdq1xsrYh6ElcJvWZGJvyKgcaRlQSRNKg=; h=Content-Type:Message-ID:Date:User-Agent:Content-Language:From:To: Subject:From; b=D+sUTLo3P60jJsyO9FMtV7lWalPCPOm7KZell2R1giKJgO1G9sfcNvN5sY+dHsO3u 6/l+lWu/E4uK1M3+6IkuH60xN89tMpCRC9/jSrtLo0JngKFWF09d7OanrvcNpVKrze qYZOkRL4ok5BEcTu1yekgARP1XrdL8J6vxmXCbGA= Received: from smtp.vodafone.de (unknown [10.0.0.2]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by mr5.vodafonemail.de (Postfix) with ESMTPS id 4QNxMt3fXJz1xyq for ; Sat, 20 May 2023 21:16:10 +0000 (UTC) Received: from [192.168.178.42] (port-92-194-226-226.dynamic.as20676.net [92.194.226.226]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by smtp.vodafone.de (Postfix) with ESMTPSA id 4QNxMp0mjPz9s9Z for ; Sat, 20 May 2023 21:16:03 +0000 (UTC) Content-Type: multipart/mixed; boundary="------------LNUFh3IIQOhHhVP1ZBpgyhFg" Message-ID: <31be36a3-9172-12bd-acee-82d09bace288@vodafonemail.de> Date: Sat, 20 May 2023 23:16:02 +0200 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.10.0 Content-Language: de-DE-frami, en-US From: Jens Schmidt To: bug-gnu-emacs@gnu.org Subject: [PATCH] Preserve mark in comint-history-isearch X-purgate-type: clean X-purgate: clean X-purgate-size: 2600 X-purgate-ID: 155817::1684617366-357F1404-12DE31BD/0/0 Received-SPF: pass client-ip=145.253.228.165; envelope-from=jschmidt4gnu@vodafonemail.de; helo=mr5.vodafonemail.de 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, RCVD_IN_DNSWL_LOW=-0.7, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: -1.4 (-) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -2.4 (--) This is a multi-part message in MIME format. --------------LNUFh3IIQOhHhVP1ZBpgyhFg Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Tags: patch Version: 30.0.50 A smaller nuisance that I keep fixing from Emacs to Emacs ... the isearch started by `comint-history-isearch-backward-regexp' IMHO unnecessarily changes mark. To reproduce: emacs -Q M-x shell RET ;; list some lengthy directory ls -alL /bin RET ;; set mark at bob C-x h C-x C-x ;; start comint history isearch for "lL" and abort it M-r lL C-g ;; try to jump to previous mark - no success C-x C-x Alternatively: ;; list some lengthy directory ls -alL /bin RET ;; set mark at bob C-x h C-x C-x ;; start comint history isearch for "lL" and accept hit M-r lL RET ;; mark is set at eol, which seems not very useful C-x C-x --------------LNUFh3IIQOhHhVP1ZBpgyhFg Content-Type: text/x-patch; charset=UTF-8; name="0001-Preserve-mark-in-comint-history-isearch.patch" Content-Disposition: attachment; filename="0001-Preserve-mark-in-comint-history-isearch.patch" Content-Transfer-Encoding: base64 RnJvbSAxY2MzMDY3ZWVmZGI5YmI5MmViNjdmZGJmZjJjOTAzYzVkZjQxZjZjIE1vbiBTZXAg MTcgMDA6MDA6MDAgMjAwMQpGcm9tOiBKZW5zIFNjaG1pZHQgPGpzY2htaWR0NGdudUB2b2Rh Zm9u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AnaXNlYXJjaC1tb2RlLWVuZC1ob29rICdjb21pbnQtaGlzdG9yeS1pc2VhcmNo LWVuZCB0KQogICAodW5sZXNzIGlzZWFyY2gtc3VzcGVuZGVkCi0tIAoyLjMwLjIKCg== --------------LNUFh3IIQOhHhVP1ZBpgyhFg-- From debbugs-submit-bounces@debbugs.gnu.org Sun May 21 02:21:25 2023 Received: (at 63616-done) by debbugs.gnu.org; 21 May 2023 06:21:25 +0000 Received: from localhost ([127.0.0.1]:59910 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1q0cRZ-0007IT-Ah for submit@debbugs.gnu.org; Sun, 21 May 2023 02:21:25 -0400 Received: from eggs.gnu.org ([209.51.188.92]:34094) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1q0cRW-0007IF-Rq for 63616-done@debbugs.gnu.org; Sun, 21 May 2023 02:21:23 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1q0cRQ-0000LY-Jp; Sun, 21 May 2023 02:21:16 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date: mime-version; bh=x25Fa5mkZcGUYLZvZYM6WG8T+GuT/3d0Hm2Y6KVlNgY=; b=k0M3vuhJ8v5a xT1f/C38d6Y8jFr8+5Whane0rhgDsmkBQAovGx7KBiCvPpP8RGLc+ukOyjY3+YaZsuQj+bD7IZJ1K Yk6pCxEhH/Lg+ek9c0+uCgWXS9mADNx2Egsz+jHwOKpoHhK/wHwdUlNuPOzp9D6fhFp9f5B2j4lQX yOjWJBtO4YdSCa2HX56F9d0/2Rp9YxOKoxfmB5UNAfHiCp67t13creHrlOPgWio/+Xhyzhta9kzO5 89Ilt/qh3D298JxL+IMGxlCsVBaBme1lgOxNX2k3m1X3OavQtE8d48VVap2IlYNK97yK5iU2SF/90 LTXQNddn0Z2NMmm3+dqGEA==; Received: from [87.69.77.57] (helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1q0cRQ-0002MT-3e; Sun, 21 May 2023 02:21:16 -0400 Date: Sun, 21 May 2023 09:21:36 +0300 Message-Id: <83wn12qk5r.fsf@gnu.org> From: Eli Zaretskii To: Jens Schmidt In-Reply-To: <31be36a3-9172-12bd-acee-82d09bace288@vodafonemail.de> (bug-gnu-emacs@gnu.org) Subject: Re: bug#63616: [PATCH] Preserve mark in comint-history-isearch References: <31be36a3-9172-12bd-acee-82d09bace288@vodafonemail.de> X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 63616-done Cc: 63616-done@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) > Date: Sat, 20 May 2023 23:16:02 +0200 > From: Jens Schmidt via "Bug reports for GNU Emacs, > the Swiss army knife of text editors" > > A smaller nuisance that I keep fixing from Emacs to Emacs ... the > isearch started by `comint-history-isearch-backward-regexp' IMHO > unnecessarily changes mark. Thanks, installed on the emacs-29 branch, and closing the bug. From unknown Wed Jun 18 23:11:13 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Sun, 18 Jun 2023 11:24:06 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator