zsh-users
 help / color / mirror / code / Atom feed
* compctl whitespace changes
@ 2001-08-07 23:57 Phil Pennock
  2001-08-08  8:22 ` Sven Wischnowsky
  0 siblings, 1 reply; 11+ messages in thread
From: Phil Pennock @ 2001-08-07 23:57 UTC (permalink / raw)
  To: Zsh Users

I just moved my private box from zsh-3.0.8 to zsh-4.0.2.

I have a function which takes the name of a mailbox as a parameter and
starts mutt appropriately, and starts mutt in turn if more than one
parameter is passed.

This:
 compctl -g '~/Mail/Lists/*(D.:t)' lmutt
is what I've been using.

Because I used to use 3.1.x I remembered -W, so this:
 compctl -f -W ~/Mail/Lists lmutt
works just fine.

However, I was pushed into making the change because whereas before a
space would be appended to successful solutions, with zsh 4 this is no
longer the case.  The cursor is left immediately at the end of the
completed word.

Is this deliberate?  How do I override it if there are other instances
where it bites me and there's not a quick fix like this?

Or should I just be moving to the compsys stuff?

Thanks,
-- 
Occam's Razor-Slashed Wrists: The simplest possible solution to your problem
might just make you wish you were dead, so eliminate the possibility of
solutions which would be worse than none at all.   -- Benjy Feen


^ permalink raw reply	[flat|nested] 11+ messages in thread
* Re: compctl whitespace changes
@ 2001-08-09 10:07 Will Yardley
  2001-08-10  8:59 ` Phil Pennock
  0 siblings, 1 reply; 11+ messages in thread
From: Will Yardley @ 2001-08-09 10:07 UTC (permalink / raw)
  To: zsh-users

Bart Schaefer wrote:
> On Aug 9,  8:14am, Phil Pennock wrote:
 
> } With Maildir, you have your main Maildir, eg ~/Maildir/, and you can }
> have folders inside that, each of which has a name starting with a }
> period.  The normal one is .Trash, but others can be created.
 
> Are you sure about this?  There's nothing in the maildir "spec" about the
> format of the directory names, only their contents, and nothing in the mutt
> documentation either that would indicate why every folder name would be
> hidden with a leading dot.  I'd expect ".Trash" to be a special
> (deliberately invisible) folder where deleted messages are moved before
> purging.

Oops - accidentally replied to Bart instead of the list... apologies.

I think it's created by a POP or IMAP client usually.  I don't use IMAP or
POP anymore since it's more convenient to my mutt setup to put maildirs
inside mail/, but courier IMAP puts everything in folders starting with dot
(or at least that's how it works on our system, so 'Trash' over IMAP would be
Maildir/.Trash.  

I do know that mutt lets you choose if you want to set the 'Trashed' flag
which is an option only available if you're using Maildir, so that may also
use the .Trash option??  I put all my mail in 'mail/Trash/' but there is
still a .Trash directory in my maildir; I'm not sure when or how it got
there. It's totally empty though.

zugzug# tree
.
|-- cur
|-- maildirfolder
|-- new
`-- tmp

3 directories, 1 file
zugzug# pwd
/home/william/Maildir/.Trash

When I used dot subfolders from courier IMAP i had to change my mutt file
mask around to display them properly.  I haven't used the zsh functions
mentioned; just thought I'd throw in my $0.02 regarding the Maildir
question...

w

----- End forwarded message -----


^ permalink raw reply	[flat|nested] 11+ messages in thread

end of thread, other threads:[~2001-08-10 18:52 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-08-07 23:57 compctl whitespace changes Phil Pennock
2001-08-08  8:22 ` Sven Wischnowsky
2001-08-08 16:03   ` Bart Schaefer
2001-08-09  6:14     ` Phil Pennock
2001-08-09  9:27       ` Bart Schaefer
2001-08-09  9:43         ` Phil Pennock
2001-08-09 10:07 Will Yardley
2001-08-10  8:59 ` Phil Pennock
2001-08-10 15:56   ` Bart Schaefer
2001-08-10 16:36     ` Phil Pennock
2001-08-10 18:51       ` Bart Schaefer

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