zsh-workers
 help / color / mirror / code / Atom feed
From: Sven Wischnowsky <wischnow@informatik.hu-berlin.de>
To: zsh-workers@sunsite.auc.dk
Subject: Re: PATCH: _mutt, _mailboxes
Date: Thu, 16 Sep 1999 15:11:08 +0200 (MET DST)	[thread overview]
Message-ID: <199909161311.PAA01349@beta.informatik.hu-berlin.de> (raw)
In-Reply-To: Clint Adams's message of Wed, 15 Sep 1999 17:30:39 -0400


Clint Adams wrote:

> This is my stab at completion for mutt.  I imagine that the
> _mailboxes function would be useful for completing the -f arguments
> of elm and pine, after some tweaking.
> 
> ...
>
> +  '-h+:help' \

I thought I mentioned that in the docs, but it seems like I forgot it: 
the `:' after the message is needed even if the action is empty.

And while I'm at it... I'm the only one who writes option
descriptions, it seems, which I can understand considering how tedious 
that is. So my question is: if an option gets only one argument,
should we turn it's description automatically into the
option-description? Probably prefixed by something like `specify: '?

Bye
 Sven

diff -u od/Zsh/compsys.yo Doc/Zsh/compsys.yo
--- od/Zsh/compsys.yo	Thu Sep 16 14:16:06 1999
+++ Doc/Zsh/compsys.yo	Thu Sep 16 15:06:49 1999
@@ -839,7 +839,10 @@
 
 In places where no sensible matches can be generated, the action
 should consist of only a space. This will make the var(message) be
-displayed but no possible completions listed.
+displayed but no possible completions listed. Note that even in this
+case the colon at the end of the var(message) is needed. The only case 
+where it can be left is when neither a var(message), nor a var(action) 
+is given.
 
 To include a colon in the var(message) or the var(action), it has to
 be preceded by a backslash.
--- oldcompletion/User/_mutt	Thu Sep 16 15:00:18 1999
+++ Completion/User/_mutt	Thu Sep 16 15:07:05 1999
@@ -10,7 +10,7 @@
  '-e:post-init configuration:' \
  '-f+:mailbox:_mailboxes' \
  '-F+:init file:_files' \
- '-h+:help' \
+ '-h+:help:' \
  '-H+:draft file:_files' \
  '-i:include file:_files' \
  '-m+:default mailbox type:(mbox MMDF MH Maildir)' \

--
Sven Wischnowsky                         wischnow@informatik.hu-berlin.de


             reply	other threads:[~1999-09-16 13:11 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1999-09-16 13:11 Sven Wischnowsky [this message]
1999-09-16 15:38 ` Adam Spiers
  -- strict thread matches above, loose matches on Subject: below --
1999-09-17 11:22 Sven Wischnowsky
1999-09-17  9:04 Sven Wischnowsky
1999-09-15 21:30 Clint Adams
1999-09-18 23:27 ` Bart Schaefer
1999-09-20  4:48   ` Clint Adams

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=199909161311.PAA01349@beta.informatik.hu-berlin.de \
    --to=wischnow@informatik.hu-berlin.de \
    --cc=zsh-workers@sunsite.auc.dk \
    /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://git.vuxu.org/mirror/zsh/

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).