unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Stefan Monnier <monnier@iro.umontreal.ca>
To: Lennart Borgman <lennart.borgman@gmail.com>
Cc: Andreas Schwab <schwab@linux-m68k.org>,
	Emacs-Devel devel <emacs-devel@gnu.org>
Subject: Re: How do I use tags to go to begv_byte instead of BEGV_BYTE?
Date: Mon, 24 May 2010 13:31:40 -0400	[thread overview]
Message-ID: <jwvtypxcins.fsf-monnier+emacs@gnu.org> (raw)
In-Reply-To: <AANLkTik0UneRJXlSU5F7giuohO9-WSbj2xODfEepbRSO@mail.gmail.com> (Lennart Borgman's message of "Mon, 24 May 2010 18:06:22 +0200")

> However it is a quite surprising organizing of case fold search
> handling. It looks like it does not care about major mode or buffer
> file extension, both of them which could be used to make a better
> guess for case fold search.

Yes, it's not perfect.  To a large extent it is explained by the fact
that it's been that way for ages and back then Emacs did not try to be
nearly as clever.
Nowadays, I think etags.el would deserve to be improved so as to taken
the major mode into account, and also so as to give precedence to
case-exact matches, and also to automatically try the second-choice if
the first makes you jump to where you started.

IOW patches welcome,


        Stefan



  reply	other threads:[~2010-05-24 17:31 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-05-24 13:24 How do I use tags to go to begv_byte instead of BEGV_BYTE? Lennart Borgman
2010-05-24 15:22 ` Andreas Schwab
2010-05-24 15:37   ` Lennart Borgman
2010-05-24 15:52     ` Andreas Schwab
2010-05-24 16:06       ` Lennart Borgman
2010-05-24 17:31         ` Stefan Monnier [this message]
2010-05-24 18:29           ` Lennart Borgman
2010-08-29  1:04           ` Wojciech Meyer
2010-08-30 21:39             ` Wojciech Meyer
2010-09-01 12:38               ` Francesco Potortì
2010-09-01 20:00                 ` Wojciech Meyer
2010-09-01 20:39                   ` Wojciech Meyer
2010-09-01 20:59                     ` Francesco Potortì
2010-09-01 20:57                   ` Francesco Potortì
2010-09-01 21:36                     ` Wojciech Meyer

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=jwvtypxcins.fsf-monnier+emacs@gnu.org \
    --to=monnier@iro.umontreal.ca \
    --cc=emacs-devel@gnu.org \
    --cc=lennart.borgman@gmail.com \
    --cc=schwab@linux-m68k.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 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).