From: Nikolai Weibull <mailing-lists.zsh-users@rawuncut.elitemail.org>
To: zsh-users@sunsite.dk
Subject: Re: mailpath issues
Date: Tue, 29 Mar 2005 02:29:24 +0200 [thread overview]
Message-ID: <20050329002924.GF5897@puritan.pcp.ath.cx> (raw)
In-Reply-To: <1050328234343.ZM27239@candle.brasslantern.com>
* Bart Schaefer (Mar 29, 2005 01:50):
> On Mar 29, 1:00am, Nikolai Weibull wrote:
> } Subject: mailpath issues
> }
> } If ~/.maildir is a maildir, won't all subdirectories to it also be
> } checked if i set my mailpath to include that directory?
> It depends on whether zsh was compiled with MAILDIR_SUPPORT defined.
Yes, that I figured.
> } I'm looking at the checkmailpath function and it seems it should, but
> } it's not...Am I missing something?
> Look at the mailstat() function, also in utils.c. Note that if it finds
> that the directory being examined is a maildir, then it falsifies the
> stat structure to behave as if the directory is actually a plain file.
> In this case it won't recur into subdirectories.
> There is no support for hierarchical objects that are simultaneously mail
> folders and containers of other mail folders.
mailpath=(~/.maildir)
for p in $mailpath; do
for subp in $p/.*(/); do
mailpath+=$subp
done
done
But that's not great,
nikolai
--
::: name: Nikolai Weibull :: aliases: pcp / lone-star / aka :::
::: born: Chicago, IL USA :: loc atm: Gothenburg, Sweden :::
::: page: minimalistic.org :: fun atm: gf,lps,ruby,lisp,war3 :::
main(){printf(&linux["\021%six\012\0"],(linux)["have"]+"fun"-97);}
next prev parent reply other threads:[~2005-03-29 1:29 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-03-28 23:00 Nikolai Weibull
2005-03-28 23:43 ` Bart Schaefer
2005-03-29 0:29 ` Nikolai Weibull [this message]
2005-03-29 1:24 ` Bart Schaefer
2005-03-29 8:54 ` Nikolai Weibull
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=20050329002924.GF5897@puritan.pcp.ath.cx \
--to=mailing-lists.zsh-users@rawuncut.elitemail.org \
--cc=zsh-users@sunsite.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).