bugvile, a vi-compatible text editor - Bugs: bug #51774, tags for file names not working

 
 

bug #51774: tags for file names not working

Submitted by:  None
Submitted on:  Thu 17 Aug 2017 05:35:57 PM UTC  
 
Category: NoneSeverity: 3 - Normal
Item Group: NoneStatus: None
Privacy: PublicAssigned to: None
Open/Closed: Open

Add a New Comment(Rich Markup)
   

You are not logged in

Please log in, so followups can be emailed to you.

 

Mon 21 Aug 2017 12:43:01 AM UTC, comment #3:

The problem was that tags were parsed assuming a "qident" class,
which doesn't include ".". That dated back to 2001. I've changed
it to accept any "graphic" character.

Thomas Dickey <dickey>
Project Administrator
Sun 20 Aug 2017 09:44:33 PM UTC, comment #2:

The report didn't mention the command-line for ctags.
That appears to be something like
<pre>ctags --format=2 --extra=+fq *</pre>

(I'll see why the command-line doesn't work for this case).

Thomas Dickey <dickey>
Project Administrator
Thu 17 Aug 2017 05:39:02 PM UTC, comment #1:

I posted this bug and noticed 1 other thing.

:ta icron.c works
vile -t icron.c #fails

Anonymous
Thu 17 Aug 2017 05:35:57 PM UTC, original submission:

Exuberant-ctags has a feature where file basenames can be used to create tags.

These file name tags don't work, while other tags work fine.

I just noticed this on vile 9.8o.

$ vile -V
vile version 9.8o for linux-gnu, installed Thu Oct 2 08:01:02 2014

The offending line in that tags file is:

$ od -c tags1

              1. i c r o n . c \t g u s b h w

0000020 / i c r o n . c \t 1 ; " \t F \n
0000037

Tags1 is simple the tags file cut down using vile to the one line in
question.

$ ctags --help
Exuberant Ctags 5.9~svn20110310, Copyright (C) 1996-2009 Darren Hiebert
Compiled: Sep 27 2014, 18:23:25
Addresses: <dhiebert@users.sourceforge.net>, http://ctags.sourceforge.net
Optional compiled features: +wildcards, +regex

$ uname -a
Linux XXXXXX 3.16.0-4-amd64 #1 SMP Debian 3.16.39-1+deb8u2 (2017-03-07) x86_64 GNU/Linux

As you can see, the OS is reasonably up to date on patches. This is
Debian/jessie.

I've looked at bugs back to the install date, and don't see anything
like this.

Thank you for a wonderful/stable editor and fixing prior bugs I've
submitted and adding features I've requested.

Anonymous

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach File(s):
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -unavailable- added by dickey (Posted a comment)
  •  

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    No Changes Have Been Made to This Item

    Back to the top


    Powered by Savane 3.1-cleanup1