From: Francesco Potorti` <pot@gnu.org>
To: Andreas Schwab <schwab@suse.de>
Cc: rms@gnu.org, Emacs developers <emacs-devel@gnu.org>
Subject: Re: etags.el tags-search use global syntax table
Date: Wed, 18 Jul 2007 16:21:42 +0200 [thread overview]
Message-ID: <E1IBAPO-00032x-6q@tucano.isti.cnr.it> (raw)
In-Reply-To: <jeabttbznd.fsf@sykes.suse.de>
>> A reasonable compromise would be using for searching the same syntax
>> table of the buffer that is current when the tags-search command is
>> issued. This would not work in various situations, but would work in
>> most cases, and probably would work in many more cases than the current
>> situation.
>
>You can initiate a tags search from any buffer, independent of the list
>of files indexed by the tags file, thus you may get different results
>depending on where you started it.
Yes. Until now we have two different ways to go:
1. Leave everything as it is. This means that invoking tags-search on
Latex files will not recover the "\bx\b" pattern even if some of the
files contain the "$x = y*z" string, no matter form where you start
the search
2. Apply the change I propose. This means that the search will recover
the desiderd pattern in the usual case of starting the search from a
Latex buffer, but will not recover it if you start the search from a
text buffer
Does anyone have any opinion on the above alternatives, or any
additional alternative to suggest?
next prev parent reply other threads:[~2007-07-18 14:21 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <E1IAlXn-000690-C1@tucano.isti.cnr.it>
[not found] ` <E1IB1MF-0008Id-Cg@fencepost.gnu.org>
2007-07-18 12:54 ` etags.el tags-search use global syntax table Francesco Potorti`
2007-07-18 13:38 ` Andreas Schwab
2007-07-18 14:21 ` Francesco Potorti` [this message]
2007-07-19 4:25 ` Richard Stallman
2007-07-19 16:49 ` Francesco Potorti`
2007-07-20 13:42 ` Richard Stallman
2007-07-21 16:58 ` Francesco Potorti`
2007-07-22 10:05 ` Richard Stallman
2007-07-17 11:49 Francesco Potorti`
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=E1IBAPO-00032x-6q@tucano.isti.cnr.it \
--to=pot@gnu.org \
--cc=emacs-devel@gnu.org \
--cc=rms@gnu.org \
--cc=schwab@suse.de \
/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 public inbox
https://git.savannah.gnu.org/cgit/emacs.git
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).