GNU bug report logs - #29097
25.1; to support '_' as a word constituent, subword-mode regexes need updating

Previous Next

Package: emacs;

Reported by: Chris Hecker <checker <at> d6.com>

Date: Wed, 1 Nov 2017 03:52:02 UTC

Severity: minor

Tags: moreinfo

Found in version 25.1

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

Bug is archived. No further changes may be made.

Full log


Message #8 received at 29097 <at> debbugs.gnu.org (full text, mbox):

From: Eli Zaretskii <eliz <at> gnu.org>
To: Chris Hecker <checker <at> d6.com>
Cc: 29097 <at> debbugs.gnu.org, yamato <at> redhat.com
Subject: Re: bug#29097: 25.1;
 to support '_' as a word constituent, subword-mode regexes need
 updating
Date: Wed, 01 Nov 2017 06:06:31 +0200
> From: Chris Hecker <checker <at> d6.com>
> Date: Tue, 31 Oct 2017 20:51:23 -0700
> Cc: yamato <at> redhat.com
> 
> If you like using identifiers with underscores (_) in them, like
> C macros or even just regular identifiers, you can add _ as a word
> constituent in the syntax tables, but if you're using subword-mode
> then the forward and backwards regexes need updating to work
> correctly.  Here is the relevant section of my .emacs c-mode hook:

Perhaps we should make subword-forward-regexp and
subword-backward-regexp defcustoms?




This bug report was last modified 5 years and 238 days ago.

Previous Next


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