From: Stefan Monnier <monnier@iro.umontreal.ca>
To: help-gnu-emacs@gnu.org
Subject: Re: symbols verses words
Date: Fri, 04 Mar 2011 23:36:53 -0500 [thread overview]
Message-ID: <jwvaahauquk.fsf-monnier+gnu.emacs.help@gnu.org> (raw)
In-Reply-To: mailman.10.1299111607.15358.help-gnu-emacs@gnu.org
> So, I started looking at isearch-yank-word-or-char and I was going to
> concoct isearch-yank-symbol-or-char and got stuck-- at least briefly.
> Because not only is _ marked as symbol, -, +, /, *, etc are marked as symbol
> characters too. So now, I'm confused...
Which syntax is assigned to which char depends on the major mode.
What you describe, for example, is not true of C-mode buffers.
> If I have: this this_that this-that
> and search for \_<this\_> I hit the first and third this -- which is exactly
> what I want.
I suspect this test was not performed in the same buffer as the one
in which you checked the syntax of those chars.
Stefan
next parent reply other threads:[~2011-03-05 4:36 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <mailman.10.1299111607.15358.help-gnu-emacs@gnu.org>
2011-03-05 4:36 ` Stefan Monnier [this message]
2011-03-03 0:20 symbols verses words Perry Smith
2011-03-03 7:52 ` Andreas Röhler
2011-03-03 10:19 ` Tassilo Horn
2011-03-03 14:14 ` Perry Smith
2011-03-03 14:48 ` Tassilo Horn
2011-03-03 19:25 ` Perry Smith
[not found] ` <mailman.9.1299163745.10269.help-gnu-emacs@gnu.org>
2011-03-03 15:34 ` rusi
2011-03-04 9:06 ` Andreas Röhler
2011-03-03 14:26 ` MBR
2011-03-03 14:33 ` Perry Smith
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
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=jwvaahauquk.fsf-monnier+gnu.emacs.help@gnu.org \
--to=monnier@iro.umontreal.ca \
--cc=help-gnu-emacs@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.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).