emacs-devel
[Top][All Lists]
Advanced

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

Re: Slow access to files using UNC path


From: Romain Francoise
Subject: Re: Slow access to files using UNC path
Date: Sat, 18 Sep 2004 22:09:12 +0200
User-agent: Gnus/5.110003 (No Gnus v0.3) Emacs/21.3.50 (gnu/linux)

Adrian Aichner <address@hidden> writes:

> Where is the use of "" as a value of buffer-file-name documented?

See the commit message for erc-log.el rev. 1.7:

| (erc-log-setup-logging): set buffer-file-name to "", as (basic-save-buffer)
|     will prompt for a buffer name before invoking hooks. the buffer-file-name
|     will be overridden by (erc-save-buffer-in-logs) anyway - the main danger
|     of doing this is write-file-contents hooks. Let's see if anyone complains.
| (erc-save-buffer-in-logs): return t, so that further write hooks are not run

The real problem is probably that buffer-file-name cannot be set in
advance to the correct value since the filename will often be based on
the date/time of saving.

CC'ing Damien for comments.

-- 
Romain Francoise <address@hidden> | And you never lay down and
it's a miracle -- http://orebokech.com/ | you never stay home...




reply via email to

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