emacs-diffs
[Top][All Lists]
Advanced

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

[Emacs-diffs] Re: /srv/bzr/emacs/trunk r100100: Avoid using trash for ce


From: Leo
Subject: [Emacs-diffs] Re: /srv/bzr/emacs/trunk r100100: Avoid using trash for certain temp files (Bug#6070).
Date: Sat, 01 May 2010 19:15:10 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.60 (gnu/linux)

Hello Stefan and Yidong,

On 2010-05-01 18:56 +0100, Chong Yidong wrote:
> Stefan Monnier <address@hidden> writes:
>
>>>   * diff.el (diff-sentinel): Bind delete-by-moving-to-trash to nil
>>>   before deleting (Bug#6070).
>>
>> Better would be to split delete-file into two functions, since the above
>> is rather silly (kind of like asking for a cheeseburger-without-cheese
>> rather than just asking for a hamburger).
>
> How bout adding an optional arg to delete-file, say, REALLY-DELETE.

I think either way is better than what we currently have. If called
interactively, it should move file to trash. If called from elisp it
shouldn't by default to allow existing code to continue working in the
way it used to. The author of the elisp program can then decide with
discretion how to delete file.

Leo




reply via email to

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