all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Michael Albinus <michael.albinus@gmx.de>
To: Chong Yidong <cyd@stupidchicken.com>
Cc: emacs-devel@gnu.org, Stefan Monnier <monnier@iro.umontreal.ca>,
	rms@gnu.org
Subject: Re: [david.reitter@gmail.com: file-remote-p malfunctions at site-start (file-name-handler-alist init)]
Date: Mon, 26 Mar 2007 16:44:16 +0200	[thread overview]
Message-ID: <nqmz20qd33.fsf@alcatel.de> (raw)
In-Reply-To: <87wt14ay4k.fsf@stupidchicken.com> (Chong Yidong's message of "Mon, 26 Mar 2007 10:16:27 -0400")

Chong Yidong <cyd@stupidchicken.com> writes:

>> It was there initially. Then it was changed, because people didn't
>> want to get Tramp enabled mandatory for file name completion. Now the
>> registration is done only in case `partial-completion-mode' is
>> active, which must be checked.
>
> In that case, I suggest documenting this in PROBLEMS: if you want to
> use Tramp in your site-start file, run tramp-register-file-name-handlers
> first (and remove it from after-init-hook).

I haven't a better idea. Maybe one should argue that it isn't a good
idea to access remote files in site-init files.

Note that removing tramp-register-file-name-handlers from
after-init-hook is not necessary, the registration is re-entrant.

OTOH, the OP gave as practical example recentf-mode problems with
remote files (handled in site-init). It would require changes in
recentf at least.

Best regards, Michael.

  reply	other threads:[~2007-03-26 14:44 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-03-26  3:52 [david.reitter@gmail.com: file-remote-p malfunctions at site-start (file-name-handler-alist init)] Richard Stallman
2007-03-26  4:40 ` Chong Yidong
2007-03-26 13:14   ` Stefan Monnier
2007-03-26 13:37     ` Michael Albinus
2007-03-26 14:16       ` Chong Yidong
2007-03-26 14:44         ` Michael Albinus [this message]
2007-03-26 15:21           ` Stefan Monnier
2007-03-27 20:59           ` Chong Yidong
2007-03-31 18:47             ` Michael Albinus
2007-03-31 19:41               ` David Kastrup
2007-03-31 20:02                 ` Pretest Chong Yidong

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

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=nqmz20qd33.fsf@alcatel.de \
    --to=michael.albinus@gmx.de \
    --cc=cyd@stupidchicken.com \
    --cc=emacs-devel@gnu.org \
    --cc=monnier@iro.umontreal.ca \
    --cc=rms@gnu.org \
    /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 external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.