GNU bug report logs - #10113
24.0.91; Isearch & `M-e'

Previous Next

Package: emacs;

Reported by: Dani Moncayo <dmoncayo <at> gmail.com>

Date: Tue, 22 Nov 2011 22:47:01 UTC

Severity: normal

Found in version 24.0.91

Done: Lars Ingebrigtsen <larsi <at> gnus.org>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Juri Linkov <juri <at> jurta.org>
To: Lars Ingebrigtsen <larsi <at> gnus.org>
Cc: 10113 <at> debbugs.gnu.org, Dani Moncayo <dmoncayo <at> gmail.com>
Subject: bug#10113: 24.0.91; Isearch & `M-e'
Date: Tue, 22 Mar 2022 10:47:44 +0200
>> Yes, this patch makes automatic toggling in both directions:
>> from case-insensitive to case-sensitive and back from case-sensitive
>> to case-insensitive.
>
> This was ten years ago, and isearch behaves the same, as far as I can
> tell.

This request is exactly as bug#14729 - to change the traditional behavior
of isearch for no gain, only for consistency with some abstract ideas.

>> Without this patch the current behavior is automatic toggling in one
>> direction: from case-insensitive to case-sensitive (on the first
>> encountered upper case letter).  Toggling back from case-sensitive
>> to case-insensitive is manual with `M-c', and this choice is remembered
>> with the value `yes' of `isearch-case-fold-search'.
>
> I think your patch makes sense -- make `M-c' toggle the case
> sensitivity in both directions, if I understand correctly?

The patch implemented automatic case-fold toggling in both directions,
where typing a letter re-evaluates case-sensitivity of the search string.
This might break some users' habits.  So another idea was to re-evaluate
case-sensitivity only in `isearch-edit-string' and `isearch-del-char'.
Still such change might be unexpected for some users.




This bug report was last modified 3 years and 58 days ago.

Previous Next


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