GNU bug report logs - #54804
29.0.50; zap-to-char: case sensitive for upper-case letter

Previous Next

Package: emacs;

Reported by: Tino Calancha <tino.calancha <at> gmail.com>

Date: Fri, 8 Apr 2022 22:05:01 UTC

Severity: wishlist

Tags: patch

Found in version 29.0.50

Done: Tino Calancha <tino.calancha <at> gmail.com>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Eli Zaretskii <eliz <at> gnu.org>
To: Tino Calancha <tino.calancha <at> gmail.com>
Cc: 54804 <at> debbugs.gnu.org, tino.calancha <at> gmail.com, juri <at> linkov.net, monnier <at> iro.umontreal.ca, uyennhi.qm <at> gmail.com, spwhitton <at> spwhitton.name
Subject: bug#54804: 29.0.50; zap-to-char: case sensitive for upper-case letter
Date: Tue, 17 May 2022 16:38:43 +0300
> From: Tino Calancha <tino.calancha <at> gmail.com>
> Date: Tue, 17 May 2022 14:53:41 +0200 (CEST)
> cc: Eli Zaretskii <eliz <at> gnu.org>, Tino Calancha <tino.calancha <at> gmail.com>, 
>     54804 <at> debbugs.gnu.org, spwhitton <at> spwhitton.name, uyennhi.qm <at> gmail.com, 
>     juri <at> linkov.net
> 
> 
> 
> On Tue, 17 May 2022, Stefan Monnier wrote:
> 
> >>> I want the analog behavior for zap-to... commands: automatic
> >>> case sensitivity when the char is uppercase.
> >>> I want this behavior on interactive calls only, for instance when users
> >>> do `M-z'.
> >>
> >> As I said I disagree: these are DWIMish features that are best
> >> reserved for interactive invocation.  In calls from Lisp, it is
> >> confusing to have the behavior change so drastically depending on the
> >> letter-case of an argument.
> >
> > Am I misunderstanding something or are you two violently agreeing?
> 
> We both agree with a sword in a hand.
> 
> I don't want to change the behavior on Lisp call!
> Just let me know the nice way to detect that the call is interactive and 
> then I will inject the feature :-)

If you only make the search case-sensitive in the 'interactive' form,
that happens automagically.




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.