From: Masatake YAMATO <yamato@redhat.com>
To: eliz@gnu.org
Cc: 29097@debbugs.gnu.org, checker@d6.com
Subject: bug#29097: 25.1; to support '_' as a word constituent, subword-mode regexes need updating
Date: Wed, 01 Nov 2017 14:54:27 +0900 (JST) [thread overview]
Message-ID: <20171101.145427.1001035086321644310.yamato@redhat.com> (raw)
In-Reply-To: <83bmkmskvs.fsf@gnu.org>
Hi,
I read the original bug report.
I wonder why you want do
(modify-syntax-entry ?_ "w")
.
This change suppresses the difference of \M-f and \M-C-f.
Do you really want this suppression?
Masatake YAMATO
>> From: Chris Hecker <checker@d6.com>
>> Date: Tue, 31 Oct 2017 20:51:23 -0700
>> Cc: yamato@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?
next prev parent reply other threads:[~2017-11-01 5:54 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-11-01 3:51 bug#29097: 25.1; to support '_' as a word constituent, subword-mode regexes need updating Chris Hecker
2017-11-01 4:06 ` Eli Zaretskii
2017-11-01 5:08 ` Chris Hecker
2017-11-01 19:33 ` Eli Zaretskii
2017-11-01 22:40 ` Chris Hecker
[not found] ` <87shdm3mby.fsf@users.sourceforge.net>
2019-10-01 15:59 ` Lars Ingebrigtsen
2017-11-01 5:54 ` Masatake YAMATO [this message]
2017-11-01 6:20 ` Chris Hecker
2017-11-01 9:28 ` Masatake YAMATO
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20171101.145427.1001035086321644310.yamato@redhat.com \
--to=yamato@redhat.com \
--cc=29097@debbugs.gnu.org \
--cc=checker@d6.com \
--cc=eliz@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.