From: Ted Zlatanov <tzz@lifelogs.com>
Cc: ding@gnus.org
Subject: Re: spam-get-ifile-database-parameter returns inappropriate value
Date: Thu, 09 Jan 2003 15:13:16 -0500 [thread overview]
Message-ID: <4nfzs2kroj.fsf@lockgroove.bwh.harvard.edu> (raw)
In-Reply-To: <y683co2p12j.fsf@multics.mit.edu> (David Z Maze's message of "Thu, 09 Jan 2003 14:36:52 -0500")
On Thu, 09 Jan 2003, dmaze@MIT.EDU wrote:
> `spam-get-ifile-database-parameter' looks at
> spam-ifile-database-path, and if it's non-nil, returns a string
> command-line parameter for ifile that corresponds to this. This is
> fine, except that if returns "" if the variable isn't set, and Emacs
> dutifully passes that on as a parameter to ifile. So you get 'ifile
> -q -c ""', ifile tries to read "" as a file, and exits immediately
> rather than reading the message from stdin. It doesn't look like
> ifile has a magic filename for "read the message from stdin", and I
> don't know if call-process-* will drop nil arguments (I'd guess it
> won't, though). This means the call to call-process-region there
> needs to be a bit trickier to support a variable number of
> arguments...
I just did an if statement there instead. I didn't expect ifile to
try to read an empty filename - serves me right for only testing the
new parameter, not retroactively testing the old stuff.
Thanks for the catch.
Ted
next prev parent reply other threads:[~2003-01-09 20:13 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-01-09 19:36 David Z Maze
2003-01-09 20:13 ` Ted Zlatanov [this message]
2003-01-09 20:33 ` David Z Maze
2003-01-09 21:02 ` Ted Zlatanov
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=4nfzs2kroj.fsf@lockgroove.bwh.harvard.edu \
--to=tzz@lifelogs.com \
--cc=ding@gnus.org \
/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.
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).