GNU bug report logs - #22483
25.1.50; Doc string of `isearch-lax-whitespace' does not show toggle key

Previous Next

Package: emacs;

Reported by: Drew Adams <drew.adams <at> oracle.com>

Date: Thu, 28 Jan 2016 15:57:02 UTC

Severity: minor

Tags: fixed

Found in version 25.1.50

Fixed in version 28.1

Done: Stefan Kangas <stefan <at> marxist.se>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Drew Adams <drew.adams <at> oracle.com>
To: Eli Zaretskii <eliz <at> gnu.org>, Drew Adams <drew.adams <at> oracle.com>
Cc: 22483 <at> debbugs.gnu.org
Subject: bug#22483: 25.1.50;	Doc string of `isearch-lax-whitespace' does not show toggle key
Date: Thu, 28 Jan 2016 09:00:24 -0800 (PST)
> > The doc string says you can toggle using command
> > `isearch-togggle-lax-whitespace'.  That's pretty useless, as it makes
> > sense only during Isearch.
> 
> Not true, it makes sense outside of Isearch as well (toggles the
> default).

Interesting.  I thought this was a user option, but I see now that
it is not.  (I know that vanilla Emacs refuses to let users toggle
an option during Isearch, even though that lets them perform
subsequent searches also using the new value.)

So why does the toggle command initiate search as well?  And if
that is by design and not a bug, perhaps it should be documented
as part of the command behavior (it does not just toggle the
variable value).

`M-x isearch-lax-whitespace' starts searching backward, with this
message:

  Pending literal I-search backward:

Oh, and that happens each time I "toggle" the value.  The value
changes (correctly), but the search initiated always shows that
backward-literal-search message.




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

Previous Next


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