From: Eli Zaretskii <eliz@gnu.org>
Cc: romain@orebokech.com, monnier@iro.umontreal.ca, emacs-devel@gnu.org
Subject: Re: Emacs unconditionally loads tramp.el
Date: Sat, 29 Apr 2006 17:31:10 +0300 [thread overview]
Message-ID: <ubqukfo7l.fsf@gnu.org> (raw)
In-Reply-To: <87slnxtqum.fsf@gmx.de> (message from Michael Albinus on Fri, 28 Apr 2006 21:58:09 +0200)
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain, Size: 1803 bytes --]
> From: Michael Albinus <michael.albinus@gmx.de>
> Cc: monnier@iro.umontreal.ca, romain@orebokech.com, emacs-devel@gnu.org, eliz@gnu.org
> Date: Fri, 28 Apr 2006 21:58:09 +0200
>
> ;; Handlers for partial tramp file names. For GNU Emacs just
> ;; `file-name-all-completions' is needed. The other ones are necessary
> ;; for XEmacs.
>
> But this problem has reached XEmacs mailing lists as well. I fear a
> general solution is needed.
If a general solution is possible, it's preferable. But of not, it's
better not to punish both platforms, even if that means the default
behavior is slightly different.
> (defconst tramp-completion-file-name-regexp-unified "^/[^/:][^/]*$")
>
> A user would need to type at least one additional character after the
> leading "/" in order to get Tramp loaded. But this still will happen
> without typing <TAB> or so, just due to `expand-file-name´.
I don't think this solves the problem, at least not mine: I rarely
type TAB right after the first slash.
> Meanwhile, I doubt whether it is worth the trouble. We could revert
> the patch, and would fall back to the following scenario:
>
> - After starting Emacs, there is no hostname completion for remote file
> names.
> - After using the first remote file name, Tramp is loaded, and
> hostname completion is active.
> - If a user wants to use hostname completion immediately after
> starting Emacs, a simple (require 'tramp) in .emacs is sufficient.
If we go this way, I think it's better to have an explicit option
rather that ask users to load Tramp. That's because, no matter how
well we document this, it's a counter-intuitive kludge. It is also
not nice to have behavior changed when a package is loaded that has no
clear relation to the behavior we are discussing (i.e. host name
completion).
next prev parent reply other threads:[~2006-04-29 14:31 UTC|newest]
Thread overview: 67+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-04-24 9:16 Emacs unconditionally loads tramp.el Romain Francoise
2006-04-24 11:33 ` Michael Albinus
2006-04-24 12:12 ` Romain Francoise
2006-04-24 13:18 ` Michael Albinus
2006-04-24 13:33 ` Stefan Monnier
2006-04-24 13:49 ` Romain Francoise
2006-04-24 19:43 ` Michael Albinus
2006-04-25 16:48 ` Richard Stallman
2006-04-25 18:10 ` Michael Albinus
2006-04-25 18:44 ` Stefan Monnier
2006-04-28 4:11 ` Michael Albinus
2006-04-26 3:56 ` Richard Stallman
2006-04-28 4:26 ` Michael Albinus
2006-04-28 6:15 ` Eli Zaretskii
2006-04-28 20:01 ` Michael Albinus
2006-04-29 14:26 ` Eli Zaretskii
2006-04-29 16:09 ` Michael Albinus
2006-04-29 16:55 ` Eli Zaretskii
2006-04-29 18:30 ` Michael Albinus
2006-04-29 18:57 ` Michael Price
2006-04-29 19:10 ` Michael Albinus
2006-04-29 20:47 ` Miles Bader
2006-04-29 21:37 ` Michael Albinus
2006-04-29 22:50 ` Miles Bader
2006-04-30 8:23 ` Michael Albinus
2006-04-29 21:40 ` David Kastrup
2006-04-29 22:12 ` Drew Adams
2006-04-29 22:49 ` Jason Rumney
2006-04-29 22:58 ` Lennart Borgman
2006-04-30 11:18 ` Oscar Fuentes
2006-04-30 12:13 ` Jason Rumney
2006-04-30 13:03 ` Oscar Fuentes
2006-04-30 17:46 ` Eli Zaretskii
2006-04-29 23:33 ` Drew Adams
2006-04-30 3:45 ` Eli Zaretskii
2006-04-30 14:18 ` Drew Adams
2006-04-30 14:47 ` Michael Price
2006-04-30 16:31 ` Eli Zaretskii
2006-04-30 16:51 ` Drew Adams
2006-04-30 17:36 ` Eli Zaretskii
2006-04-30 17:41 ` Drew Adams
2006-04-30 18:06 ` Michael Albinus
2006-04-30 18:08 ` Drew Adams
2006-04-30 5:26 ` Stefan Monnier
2006-04-30 14:11 ` Drew Adams
2006-04-30 6:50 ` Tramp & Cygwin (was: Emacs unconditionally loads tramp.el) Michael Albinus
2006-04-30 12:12 ` Tramp & Cygwin Jason Rumney
2006-04-30 12:28 ` Michael Albinus
2006-04-30 14:10 ` Drew Adams
2006-04-30 14:19 ` Tramp & Cygwin (was: Emacs unconditionally loads tramp.el) Drew Adams
2006-04-30 16:11 ` Eli Zaretskii
2006-04-30 16:45 ` Tramp & Cygwin Michael Albinus
2006-04-30 17:19 ` Eli Zaretskii
2006-04-30 13:04 ` Tramp performance (was: Emacs unconditionally loads tramp.el) Michael Albinus
2006-04-30 3:47 ` Emacs unconditionally loads tramp.el Eli Zaretskii
2006-04-30 7:00 ` Michael Albinus
2006-04-30 16:16 ` Eli Zaretskii
2006-04-28 15:45 ` Richard Stallman
2006-04-28 19:58 ` Michael Albinus
2006-04-29 14:31 ` Eli Zaretskii [this message]
2006-05-01 13:45 ` Michael Albinus
2006-04-29 19:09 ` Richard Stallman
2006-04-29 19:55 ` Michael Albinus
2006-04-30 3:04 ` Richard Stallman
2006-05-01 13:28 ` Michael Albinus
2006-04-24 17:52 ` Richard Stallman
2006-04-24 19:48 ` Michael Albinus
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=ubqukfo7l.fsf@gnu.org \
--to=eliz@gnu.org \
--cc=emacs-devel@gnu.org \
--cc=monnier@iro.umontreal.ca \
--cc=romain@orebokech.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).