emacs-wiki-discuss
[Top][All Lists]
Advanced

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

[emacs-wiki-discuss] Re: Strange planner problem


From: Michael Olson
Subject: [emacs-wiki-discuss] Re: Strange planner problem
Date: Fri, 30 Dec 2005 19:48:06 -0500
User-agent: Gnus/5.110004 (No Gnus v0.4) Emacs/22.0.50 (gnu/linux)

Jim Ottaway <address@hidden> writes:

> I noticed this behaviour a few days ago and since.  I have tracked
> it down to links like this:
> '[[/su::/etc/ssh/sshd_config][sshd_config]]'.  It happens with a
> minimal muse installation [i.e., nothing link muse-wiki loaded] and
> a minimal test muse page containing nothing but that explicit link.
>
> It seems to me that this happens during the font-locking of explicit
> links.  In particular the use of file-exists-p in muse-link-face
> provokes Emacs into using tramp for the link
> '/su::/etc/ssh/sshd_config'. It only happens once, of course, since
> the password is cached by tramp [by default].  The problem goes away
> if one removes the test for file existence from muse-link-face.
>
> I don't know what the solution is, except perhaps for not checking
> for the existence of files that look like tramp files [using
> tramp-file-name-regexp, I suppose].
>
> I don't know about ange-ftp, but I would imagine the problem is the
> same there as for tramp.

What do ange-ftp file paths look like?  Perhaps I could have
muse-link-face do a string-match against something like
muse-remote-file-regexp before getting to the file-exists test.

-- 
Michael Olson -- FSF Associate Member #652 -- http://www.mwolson.org/
Interests: manga, Debian, XHTML, wiki, Emacs Lisp
  /` |\ | | | IRC: mwolson on freenode.net: #hcoop, #muse, #PurdueLUG
 |_] | \| |_| Jabber: mwolson_at_hcoop.net

Attachment: pgpvLsKkNWpLV.pgp
Description: PGP signature


reply via email to

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