GNU bug report logs - #22238
25.0.50; isearch symbol search can't find ,@symbol

Previous Next

Package: emacs;

Reported by: Michael Heerdegen <michael_heerdegen <at> web.de>

Date: Fri, 25 Dec 2015 21:30:02 UTC

Severity: minor

Merged with 44418

Found in versions 25.0.50, 28.0.50

Done: Michael Heerdegen <michael_heerdegen <at> web.de>

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: Michael Heerdegen <michael_heerdegen <at> web.de>
Cc: tracker <at> debbugs.gnu.org
Subject: bug#22238: closed (25.0.50; isearch symbol search can't find
 ,@symbol)
Date: Fri, 28 Jul 2023 01:20:02 +0000
[Message part 1 (text/plain, inline)]
Your message dated Fri, 28 Jul 2023 03:19:21 +0200
with message-id <87fs58bzom.fsf <at> web.de>
and subject line Re: bug#22238: 25.0.50; isearch symbol search can't find ,@symbol
has caused the debbugs.gnu.org bug report #22238,
regarding 25.0.50; isearch symbol search can't find ,@symbol
to be marked as done.

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


-- 
22238: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=22238
GNU Bug Tracking System
Contact help-debbugs <at> gnu.org with problems
[Message part 2 (message/rfc822, inline)]
From: Michael Heerdegen <michael_heerdegen <at> web.de>
To: bug-gnu-emacs <at> gnu.org
Subject: 25.0.50; isearch symbol search can't find ,@symbol
Date: Fri, 25 Dec 2015 22:29:15 +0100
Hello,

isearch's symbol search (M-s _) doesn't find symbols as in

  ,@symbol

when searching for "symbol".  This was already the case in Emacs 24.5.

Regexp searching for "\_<" stops at the "@" char (not at the "s").  At
least, `isearch-forward-symbol' seems to behave as documented, dunno
about the "\_<" regexp.

Anyway, the behavior is not good.  People use to replace symbols with
isearch's symbol search when they have renamed a function or variable.
Missing occurrences can introduce bugs.


Thanks for your help,

Michael. 




In GNU Emacs 25.0.50.8 (x86_64-pc-linux-gnu, GTK+ Version 3.18.5)
 of 2015-12-23
Repository revision: 09053075225fec8a6cf7a72017a6dfc1ec6b6f0c
Windowing system distributor 'The X.Org Foundation', version 11.0.11703000
System Description:	Debian GNU/Linux testing (stretch)

Configured features:
XPM JPEG TIFF GIF PNG RSVG IMAGEMAGICK SOUND DBUS GSETTINGS NOTIFY
LIBXML2 FREETYPE XFT ZLIB TOOLKIT_SCROLL_BARS GTK3 X11

Important settings:
  value of $LC_ALL: de_DE.utf8
  value of $LC_COLLATE: C
  value of $LC_TIME: C
  value of $LANG: de_DE.utf8
  locale-coding-system: utf-8-unix



[Message part 3 (message/rfc822, inline)]
From: Michael Heerdegen <michael_heerdegen <at> web.de>
To: 22238-done <at> debbugs.gnu.org
Subject: Re: bug#22238: 25.0.50; isearch symbol search can't find ,@symbol
Date: Fri, 28 Jul 2023 03:19:21 +0200
Michael Heerdegen <michael_heerdegen <at> web.de> writes:

> isearch's symbol search (M-s _) doesn't find symbols as in
>
>   ,@symbol
>
> when searching for "symbol".  This was already the case in Emacs 24.5.

Checking this again and: this seems to be fixed.  Closing.

Not sure about the obscure case involving a symbol @foo as mentioned by
Andreas, but searching for such a symbol works using symbol isearch, and
,@foo is read as (,@ foo) by the Lisp reader, not as (, @foo), and
isearch doesn't need to match a symbol @foo here, so I guess everything
works at least relatively well.

Michael.


This bug report was last modified 1 year and 357 days ago.

Previous Next


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