[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Tramp and auto-compression-mode and load order
From: |
Kai Großjohann |
Subject: |
Re: Tramp and auto-compression-mode and load order |
Date: |
Thu, 22 Nov 2001 10:13:58 +0100 |
User-agent: |
Gnus/5.090004 (Oort Gnus v0.04) Emacs/21.1.50 (i686-pc-linux-gnu) |
Richard Stallman <address@hidden> writes:
> It works to load Tramp first, then turn on auto-compression-mode
> later. But it does not work to turn on auto-compression-mode first,
> then load Tramp.
>
> This appears to be because of the order of entries in
> file-name-handler-alist.
>
> How about making Tramp check whether the entry for
> auto-compression-mode is already present, and reorder them if so?
That would work, but then Tramp would have to include similar checks
for any other filename handlers that happen to clash with Tramp.
I like Stefan's patch which prefers filename handlers matching the
end of the file name.
kai
--
Simplification good! Oversimplification bad! (Larry Wall)