From: Masatake YAMATO <yamato@redhat.com>
To: dirk@gouders.net
Cc: mmarek@suse.cz, linux-kbuild@vger.kernel.org, nasa4836@gmail.com
Subject: Re: [PATCH 1/3] scripts/tags.sh: Don't specify kind-spec for emacs' ctags/etags
Date: Mon, 18 Aug 2014 11:50:16 +0900 (JST) [thread overview]
Message-ID: <20140818.115016.704988435865155160.yamato@redhat.com> (raw)
In-Reply-To: <1408168618-6269-2-git-send-email-dirk@gouders.net>
Warnings are gone.
Tested-by: Masatake YAMATO <yamato@redhat.com>
On Sat, 16 Aug 2014 07:56:56 +0200, Dirk Gouders <dirk@gouders.net> wrote:
> Emacs' ctags/etags don't know about kind-spec in --regex and
> produce warnings:
>
> etags: invalid regexp modifier `v', ignoring
> etags: invalid regexp modifier `/', ignoring
>
> Fix it by removing kind-spec for the emacs case.
>
> Signed-off-by: Dirk Gouders <dirk@gouders.net>
> Inspired-by: Masatake YAMATO <yamato@redhat.com>
> ---
> scripts/tags.sh | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/scripts/tags.sh b/scripts/tags.sh
> index cbfd269..7279897 100755
> --- a/scripts/tags.sh
> +++ b/scripts/tags.sh
> @@ -263,7 +263,7 @@ emacs()
> --regex='/_PE(\([^,)]*\).*/PEVENT_ERRNO__\1/' \
> --regex='/PCI_OP_READ(\([a-z]*[a-z]\).*[1-4])/pci_bus_read_config_\1/' \
> --regex='/PCI_OP_WRITE(\([a-z]*[a-z]\).*[1-4])/pci_bus_write_config_\1/'\
> - --regex='/DEFINE_HASHTABLE\((\w*)/\1/v/'
> + --regex='/DEFINE_HASHTABLE\((\w*)/\1/'
>
> all_kconfigs | xargs $1 -a \
> --regex='/^[ \t]*\(\(menu\)*config\)[ \t]+\([a-zA-Z0-9_]+\)/\3/'
> --
> 2.0.2
>
next prev parent reply other threads:[~2014-08-18 2:50 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
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 [this message]
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=20140818.115016.704988435865155160.yamato@redhat.com \
--to=yamato@redhat.com \
--cc=dirk@gouders.net \
--cc=linux-kbuild@vger.kernel.org \
--cc=mmarek@suse.cz \
--cc=nasa4836@gmail.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;
as well as URLs for NNTP newsgroup(s).