[Top][All Lists]

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

Re: Slow access to files using UNC path

From: Stefan
Subject: Re: Slow access to files using UNC path
Date: Sun, 19 Sep 2004 03:01:19 -0400
User-agent: Gnus/5.1006 (Gnus v5.10.6) Emacs/21.3.50 (darwin)

> When a buffer has no file name, basic-save-buffer will prompt the user
> interactively for one.  Since before-save-hook isn't run until after
> the interactive request for a file name, this prevents a hook from
> setting a file name based on external factors (such as the time),
> without first requiring the user to input some junk data.  The use of
> "" was a hack to avoid prompting, since for ERC logging, the value of
> buffer-file-name is ignored and computed by a routine instead.

Why use "" rather than something else (since you say it's ignored anyway)?
I suspect "" will create other problems than just with this new VC code.
E.g. I wouldn't be surprised to see it bump into uniquify for example.


reply via email to

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