public inbox for linux-kbuild@vger.kernel.org
 help / color / mirror / Atom feed
From: Dirk Gouders <dirk@gouders.net>
To: Masatake YAMATO <yamato@redhat.com>
Cc: linux-kbuild@vger.kernel.org
Subject: Re: v flags/modifiers in scripts/tags.sh
Date: Sat, 16 Aug 2014 07:30:51 +0200	[thread overview]
Message-ID: <gh61htovas.fsf@quad.gouders.net> (raw)
In-Reply-To: <20140815.134310.1330792325830869384.yamato@redhat.com> (Masatake YAMATO's message of "Fri, 15 Aug 2014 13:43:10 +0900 (JST)")

Masatake YAMATO <yamato@redhat.com> writes:

> Hi,
>
> I have a question about v flags/modifiers in scripts/tags.sh.
>
> quoted from scripts/tags.sh:
>
>     exuberant()
>     {
> 	    ...
> 	    --regex-c='/DEFINE_(MUTEX|SEMAPHORE|SPINLOCK)\((\w*)/\2/v/'	\
> 	    ...
>     }
>
>     emacs()
>     {
> 	    ...
> 	    --regex='/DEFINE_HASHTABLE\((\w*)/\1/v/'
> 	    ...
>     }
>
>
> v is specified at the end of the regular expressions.
>
> As far as I read the man pages of ctags and etags.  there is no such
> flags/modifiers. What is v?
>
> (I am a co-maintainer of fishman-ctags, a fork of exuberant-ctags.
>  So I'm interested in implementing v flags in ctags if it is useful.)

'v' is called a 'kind-spec' in exuberant ctags/etags; the emacs
incarnations don't know about it and actually produce warnings.

As you are co-maintaining a fork of exuberant-ctags, I wonder if your
fork probably already knows about kind-specs.

Anyway, because of your question, I noticed some more problems with the
emacs part of tags.sh; patches coming shortly.

Dirk

>
> Masatake YAMATO
> --
> To unsubscribe from this list: send the line "unsubscribe linux-kbuild" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html

  reply	other threads:[~2014-08-16  5:31 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-08-15  4:43 v flags/modifiers in scripts/tags.sh Masatake YAMATO
2014-08-16  5:30 ` Dirk Gouders [this message]
2014-08-16  5:56   ` [PATCH 0/3] scripts/tags.sh: some emacs fixes Dirk Gouders
2014-08-16  5:56     ` [PATCH 1/3] scripts/tags.sh: Don't specify kind-spec for emacs' ctags/etags Dirk Gouders
2014-08-18  2:50       ` Masatake YAMATO
2014-08-16  5:56     ` [PATCH 2/3] scripts/tags.sh: remove *PCGFLAGS regular expressions Dirk Gouders
2014-08-19 15:56       ` Johannes Weiner
2014-08-16  5:56     ` [PATCH 3/3] scripts/tags.sh: fix DEFINE_HASHTABLE in emacs case Dirk Gouders
2014-08-17 15:05   ` v flags/modifiers in scripts/tags.sh Masatake YAMATO

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=gh61htovas.fsf@quad.gouders.net \
    --to=dirk@gouders.net \
    --cc=linux-kbuild@vger.kernel.org \
    --cc=yamato@redhat.com \
    /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