From: Tomi Ollila <tomi.ollila@iki.fi>
To: David Bremner <david@tethera.net>, Jani Nikula <jani@nikula.org>,
notmuch@notmuchmail.org
Subject: Re: [PATCH 2/2] completion: complete notmuch insert --folder to maildir folders only
Date: Thu, 01 Jan 2015 14:12:30 +0200 [thread overview]
Message-ID: <m2a922hf81.fsf@guru.guru-group.fi> (raw)
In-Reply-To: <871tnfh7yt.fsf@maritornes.cs.unb.ca>
On Wed, Dec 31 2014, David Bremner <david@tethera.net> wrote:
> Jani Nikula <jani@nikula.org> writes:
>> + local path=`notmuch config get database.path`
>> + compopt -o nospace
>> + COMPREPLY=( $(compgen -d "$path/${cur##folder:}" | \
>> + sed "s|^$path/||" | grep -v "\(^\|/\)\(cur\|new\|tmp\)$"
>
> I'm a bit confused here. Why is 'folder:' being stripped? Too much
> copy-pasta?
compgen -d wants a directory ?
there seems to be similar strippings done in completion of
notmuch_search_terms.
>
> d
Tomi
PS: if it weren't inconsistent change, just on '#' would suffice ;)
next prev parent reply other threads:[~2015-01-01 12:13 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-11-10 19:35 [PATCH 1/2] completion: complete notmuch insert --keep and --no-hooks options Jani Nikula
2014-11-10 19:35 ` [PATCH 2/2] completion: complete notmuch insert --folder to maildir folders only Jani Nikula
2014-12-31 20:36 ` David Bremner
2015-01-01 12:12 ` Tomi Ollila [this message]
2015-01-01 14:33 ` Jani Nikula
2015-01-01 14:34 ` [PATCH v2] " Jani Nikula
2015-01-02 16:22 ` [PATCH 1/2] completion: complete notmuch insert --keep and --no-hooks options David Bremner
2015-01-02 17:58 ` Jani Nikula
2015-01-02 18:03 ` [PATCH] completion: remove the broken notmuch-completion.tcsh Jani Nikula
2015-01-02 19:57 ` Tomi Ollila
2015-01-03 8:46 ` David Bremner
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://notmuchmail.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=m2a922hf81.fsf@guru.guru-group.fi \
--to=tomi.ollila@iki.fi \
--cc=david@tethera.net \
--cc=jani@nikula.org \
--cc=notmuch@notmuchmail.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://yhetil.org/notmuch.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).