emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [ELPA] Package proposal: gnus-mock


From: Eli Zaretskii
Subject: Re: [ELPA] Package proposal: gnus-mock
Date: Wed, 10 Oct 2018 22:01:13 +0300

> From: Eric Abrahamsen <address@hidden>
> Date: Wed, 10 Oct 2018 11:49:56 -0700
> 
> 1. I find the data directory like so:
> 
> (defconst gnus-mock-data-dir
> (file-name-as-directory (expand-file-name
> "data"
> (file-name-directory load-file-name)))
>    "Source directory for Gnus mock data.")

Why not use data-directory?

> 2. There's a small Python script in there that acts as a dummy sendmail
>    command: when you send an email from a Gnus mock installation, it
>    hands it off to the Python script, which boomerangs it back to a
>    folder in the local installation, so you can send yourself messages
>    and see what they look like. The script is called with
>    "#!/usr/bin/env python", which I assume will be fine for Unix-y
>    platforms, but maybe not work for Windows. I'd like it to work for
>    Windows -- does anyone have suggestions for a more portable way of
>    doing this?

Issue a shell command "python SCRIPT"?



reply via email to

[Prev in Thread] Current Thread [Next in Thread]