Gnus development mailing list
 help / color / mirror / Atom feed
* default mail spool directory
@ 2000-10-12 13:24 Kai Großjohann
  2000-10-12 14:23 ` Kai Großjohann
  2000-10-12 21:11 ` Jochen Küpper
  0 siblings, 2 replies; 5+ messages in thread
From: Kai Großjohann @ 2000-10-12 13:24 UTC (permalink / raw)
  Cc: Steven E. Harris

When using the `file' mail-sources specifier, /usr/spool/mail is used
as a default directory.  This is not the right directory on all
systems.  I think the same logic as for rmail-spool-directory should
be used.

* In Emacs, the above variable is defined in paths.el, so that we can
  just use it.  What about XEmacs?  What about Emacs 20?

* If we can't use the variable directly, should we (require 'rmail),
  or should we copy the logic?

kai
-- 
I like BOTH kinds of music.



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

* Re: default mail spool directory
  2000-10-12 13:24 default mail spool directory Kai Großjohann
@ 2000-10-12 14:23 ` Kai Großjohann
  2000-10-13 15:40   ` Steven E. Harris
  2000-10-12 21:11 ` Jochen Küpper
  1 sibling, 1 reply; 5+ messages in thread
From: Kai Großjohann @ 2000-10-12 14:23 UTC (permalink / raw)
  Cc: Steven E. Harris

I forgot: thanks to Steven for bringing this up.  Please cc him, in
case he's not a subscriber.
kai
-- 
I like BOTH kinds of music.



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

* Re: default mail spool directory
  2000-10-12 13:24 default mail spool directory Kai Großjohann
  2000-10-12 14:23 ` Kai Großjohann
@ 2000-10-12 21:11 ` Jochen Küpper
  2000-10-13 10:37   ` Kai Großjohann
  1 sibling, 1 reply; 5+ messages in thread
From: Jochen Küpper @ 2000-10-12 21:11 UTC (permalink / raw)
  Cc: Steven E. Harris

>>>>> "Kai" == Kai Großjohann <Kai.Grossjohann@CS.Uni-Dortmund.DE> writes:

 Kai> rmail-spool-directory should be used.

 Kai> * In Emacs, the above variable is defined in paths.el, so that
 Kai> we can just use it.  What about XEmacs?  What about Emacs 20?

Here, XEmacs-21.1.12 it is defined in paths.el as well.

Jochen
-- 
Einigkeit und Recht und Freiheit                http://www.Jochen-Kuepper.de
    Liberté, Égalité, Fraternité                GnuPG key: 44BCCD8E
        Sex, drugs and rock-n-roll



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

* Re: default mail spool directory
  2000-10-12 21:11 ` Jochen Küpper
@ 2000-10-13 10:37   ` Kai Großjohann
  0 siblings, 0 replies; 5+ messages in thread
From: Kai Großjohann @ 2000-10-13 10:37 UTC (permalink / raw)
  Cc: ding, Steven E. Harris

On 12 Oct 2000, Jochen Küpper wrote:
>>>>>> "Kai" == Kai Großjohann <Kai.Grossjohann@CS.Uni-Dortmund.DE>
>>>>>> writes:
> 
>  Kai> rmail-spool-directory should be used.
> 
>  Kai> * In Emacs, the above variable is defined in paths.el, so that
>  Kai> we can just use it.  What about XEmacs?  What about Emacs 20?
> 
> Here, XEmacs-21.1.12 it is defined in paths.el as well.

Good.  I propose the following, then:

(defvar mail-source-spool-directory
  (if (boundp 'rmail-spool-directory) rmail-spool-directory
    "/usr/spool/mail/"))

And then, the default file name for a `file' mail-sources entry is
(expand-file-name user-login-name mail-source-spool-directory).

If nobody objects, I'll do this.

kai
-- 
I like BOTH kinds of music.



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

* Re: default mail spool directory
  2000-10-12 14:23 ` Kai Großjohann
@ 2000-10-13 15:40   ` Steven E. Harris
  0 siblings, 0 replies; 5+ messages in thread
From: Steven E. Harris @ 2000-10-13 15:40 UTC (permalink / raw)


Yes, I'm subscribed here. I brought it up on gnu.emacs.gnus because I
thought the ding list was only for unreleased Gnus issues.

In any case, rmail-spool-directory is set appropriately on my Debian
system. It finds "/var/mail/" first, but looks like it would select
"/var/spool/mail" (because system-type is "linux") if the first
directory wasn't found.

-- 
Steven E. Harris        :: seh@speakeasy.org
GnuPG                   :: 0x70248E67



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

end of thread, other threads:[~2000-10-13 15:40 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2000-10-12 13:24 default mail spool directory Kai Großjohann
2000-10-12 14:23 ` Kai Großjohann
2000-10-13 15:40   ` Steven E. Harris
2000-10-12 21:11 ` Jochen Küpper
2000-10-13 10:37   ` Kai Großjohann

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