--- Begin Message ---
Subject: |
[PATCH] Preserve mark in comint-history-isearch |
Date: |
Sat, 20 May 2023 23:16:02 +0200 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.10.0 |
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
Description: Text Data
--- End Message ---
--- Begin Message ---
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@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.
--- End Message ---