all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Josiah Schwab <jschwab@gmail.com>
To: 158@debbugs.gnu.org
Cc: Radey Shouman <shouman@comcast.net>
Subject: bug#158: Etags completion problem for local tags table
Date: Tue, 22 Nov 2016 10:23:35 -0800	[thread overview]
Message-ID: <8737ij5q6w.fsf@gmail.com> (raw)
In-Reply-To: <mailman.7663.1203474863.18990.bug-gnu-emacs@gnu.org>

Hello,

> It doesn't sound hard to test for someone who does have emacs 25
> built.

I have been able to reproduce this bug under emacs 25.1 and git master
(at c542fab).  Here are the steps to reproduce.

For simplicity, I am using two very minimal tags files (fruits/TAGS and
vegetables/TAGS) available from

  https://github.com/jschwab/emacs-tags-issues

but any tags files ought to do.

Open emacs with emacs -Q

Do
,----
| C-x C-f file1
| M-: (visit-tags-table "fruits/TAGS")
| M-. [TAB]
`----

The possible completions offered will be fruits, as expected.

Continue by doing
,----
| C-x C-f file2
| M-: (visit-tags-table "vegetables/TAGS" t)
`----

The user is prompted, "Keep current list of tags tables also? (y or
n)".  Reply n.

Now do
,----
| M-. [TAB]
`----

The possible completions offered will be fruits and not vegetables as
expected.

After this, the *Messages* buffer looks like
,----
| (New file)
| Starting a new list of tags tables
| "/home/jschwab/Software/emacs-tags-issues/fruits/TAGS"
| Making tags completion table for /home/jschwab/Software/emacs-tags-issues/fruits/TAGS...done
| Making completion list...
| Quit
| (New file)
| Keep current list of tags tables also? (y or n) n
| Starting a new list of tags tables
| "/home/jschwab/Software/emacs-tags-issues/vegetables/TAGS"
| Making tags completion table for /home/jschwab/Software/emacs-tags-issues/vegetables/TAGS...
| Making tags completion table for /home/jschwab/Software/emacs-tags-issues/fruits/TAGS...
| Making tags completion table for /home/jschwab/Software/emacs-tags-issues/vegetables/TAGS...done
| Making completion list...
| Quit
`----

It seems like this issue could be related to

  https://debbugs.gnu.org/cgi/bugreport.cgi?bug=19741

Josiah





  parent reply	other threads:[~2016-11-22 18:23 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <mailman.7663.1203474863.18990.bug-gnu-emacs@gnu.org>
2008-04-04  0:55 ` Etags completion problem for local tags table Stefan Monnier
2008-04-24 19:03 ` Radey Shouman
     [not found] ` <mailman.10789.1209074215.18990.bug-gnu-emacs@gnu.org>
2008-04-29 20:08   ` Radey Shouman
2016-02-29  5:00 ` bug#158: " Lars Ingebrigtsen
2016-02-29 14:58   ` Radey Shouman
2016-11-22 18:23 ` Josiah Schwab [this message]
2008-05-29 21:36 Stefan Monnier
2008-05-30  7:34 ` Francesco Potorti`
2008-05-30 13:39   ` Stefan Monnier
2008-05-30 13:42   ` Stefan Monnier

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=8737ij5q6w.fsf@gmail.com \
    --to=jschwab@gmail.com \
    --cc=158@debbugs.gnu.org \
    --cc=shouman@comcast.net \
    /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.