dired-handler-fn (was: Re: XEemacs-19.11 and ef..)
Joerg-Martin Schwarz (UPH508@unidozr.hrz.uni-dortmund.de)
Sun, 17 Jul 94 15:57:22 SET
On Thu, 14 Jul 1994 19:49:03 +0200 you said:
>
>>>>>> On Thu, 14 Jul 1994 10:36:00 -0400 ,
> "jeff (j.d.) sparkes" <jsparkes@bnr.ca> said:
>
> > Is there a way to stop dired from adding that file-name-handler for
> > all files? Perhaps to toggle back to the old behaviour...
> > What do I lose if I turn it off?
>
>You lose all automatic updating of dired buffers. You'll have to
>revert the buffer a lot.
>
>--sandy
>
1. You could avoid some calls to dired-handler-fn
if this were installed to the file-name-handler-alist
not when dired is loaded, but when the first dired
buffer is created, and if it were uninstalled when the
dired-buffers list is empty. (only the 2nd point matters when
dired is autoloaded)
2. The handlers call dired-check-file-name-handler-alist
extensively. There should be some provisions to
make sure that _every_ package installs itself into
the alist in the correct order, which would then make
this call unnecessary.
It is e.g. wrong to install efs before JKA's compression package.
3. Instead of handling the regexp ".*" (why not ".", btw?)
one could install an entry for all directories that are actually
edited in a dired buffer. But I am really
not sure which possibility would be faster.
With best regards,
Joerg-Martin Schwarz
/------------------------------+---------------------------------------------\
|Address: | e-mail: |
| Abteilung Physik (T III) | uph508@unidozr.hrz.uni-dortmund.de |
| Universitaet Dortmund | schwarz@{hal1,het}.physik.uni-dortmund.de |
| Otto Hahn-Strasse 4 |---------------------------------------------|
| D44221 Dortmund | |
| F R GERMANY | |
|Telephone:+49/231/755-3581 | ___ |
|Fax: -3569 | (o o) |
\------------------------------+--ooO-(_)-Ooo--------------------------------/