[Top][All Lists]

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

Re: [PATCH] [debbugs] Add mu4e support.

From: Stefan Monnier
Subject: Re: [PATCH] [debbugs] Add mu4e support.
Date: Fri, 28 Apr 2017 10:44:25 -0400
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/26.0.50 (gnu/linux)

>> +(defun debbugs-read-emacs-bug-with-mu4e (id status merged)
>> +  "Read email exchange for debbugs bug ID.
>> +STATUS is the bug's status list.
>> +MERGED is the list of bugs merged with this one."
>> +  (let* ((bug-str (number-to-string id))
>> +         (tmpdir  "/tmp")

> Pls use temporary-file-directory.

>> +         (mbox    (concat tmpdir "/bug-" bug-str ".mbox"))

Actually, don't use temporary-file-directory but instead use
make-temp-file (which will use temporary-file-directory internally), to
avoid security hazards.


reply via email to

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