GNU bug report logs - #63616
[PATCH] Preserve mark in comint-history-isearch

Previous Next

Package: emacs;

Reported by: Jens Schmidt <jschmidt4gnu <at> vodafonemail.de>

Date: Sat, 20 May 2023 21:17:01 UTC

Severity: normal

Tags: patch

Found in version 30.0.50

Done: Eli Zaretskii <eliz <at> gnu.org>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: help-debbugs <at> gnu.org (GNU bug Tracking System)
To: Eli Zaretskii <eliz <at> gnu.org>
Cc: tracker <at> debbugs.gnu.org
Subject: bug#63616: closed ([PATCH] Preserve mark in comint-history-isearch)
Date: Sun, 21 May 2023 06:22:02 +0000
[Message part 1 (text/plain, inline)]
Your message dated Sun, 21 May 2023 09:21:36 +0300
with message-id <83wn12qk5r.fsf <at> gnu.org>
and subject line Re: bug#63616: [PATCH] Preserve mark in comint-history-isearch
has caused the debbugs.gnu.org bug report #63616,
regarding [PATCH] Preserve mark in comint-history-isearch
to be marked as done.

(If you believe you have received this mail in error, please contact
help-debbugs <at> gnu.org.)


-- 
63616: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=63616
GNU Bug Tracking System
Contact help-debbugs <at> gnu.org with problems
[Message part 2 (message/rfc822, inline)]
From: Jens Schmidt <jschmidt4gnu <at> vodafonemail.de>
To: bug-gnu-emacs <at> gnu.org
Subject: [PATCH] Preserve mark in comint-history-isearch
Date: Sat, 20 May 2023 23:16:02 +0200
[Message part 3 (text/plain, inline)]
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
[0001-Preserve-mark-in-comint-history-isearch.patch (text/x-patch, attachment)]
[Message part 5 (message/rfc822, inline)]
From: Eli Zaretskii <eliz <at> gnu.org>
To: Jens Schmidt <jschmidt4gnu <at> vodafonemail.de>
Cc: 63616-done <at> debbugs.gnu.org
Subject: Re: bug#63616: [PATCH] Preserve mark in comint-history-isearch
Date: Sun, 21 May 2023 09:21:36 +0300
> 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" <bug-gnu-emacs <at> gnu.org>
> 
> 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.


This bug report was last modified 2 years and 1 day ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.