From: Michael Albinus <michael.albinus@gmx.de>
To: Andreas Schwab <schwab@suse.de>
Cc: trentbuck@gmail.com, bug-gnu-emacs@gnu.org
Subject: Re: With /sudo::/etc instead of /etc, files are not conf mode by default
Date: Sun, 05 Aug 2007 14:30:46 +0200 [thread overview]
Message-ID: <87vebu17ux.fsf@gmx.de> (raw)
In-Reply-To: <jeodhm1gd7.fsf@sykes.suse.de> (Andreas Schwab's message of "Sun, 05 Aug 2007 11:27:00 +0200")
Andreas Schwab <schwab@suse.de> writes:
> Michael Albinus <michael.albinus@gmx.de> writes:
>
>> - (let ((name buffer-file-name))
>> + (let ((name buffer-file-name)
>> + (remote-id (file-remote-p buffer-file-name)))
>> + ;; Remove remote file name identification.
>> + (when (and (stringp remote-id)
>> + (string-match remote-id name))
>
> The remote-id is not a regex.
Right. It shall be (regexp-quote (file-remote-p buffer-file-name))
> And tramp does not even return a string, so it won't help here anyway.
Grr, that's a change in Tramp 2.1, which has been put in the Emacs
trunk.
Because it doesn't harm, I'll change the return value format of
tramp-handle-file-remote-p in EMACS_22_BASE as well.
> Andreas.
Best regards, Michael (who should be more careful on a sunny Sunday afternoon).
prev parent reply other threads:[~2007-08-05 12:30 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-08-05 4:12 With /sudo::/etc instead of /etc, files are not conf mode by default trentbuck
2007-08-05 9:09 ` Michael Albinus
2007-08-05 9:27 ` Andreas Schwab
2007-08-05 12:30 ` Michael Albinus [this message]
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=87vebu17ux.fsf@gmx.de \
--to=michael.albinus@gmx.de \
--cc=bug-gnu-emacs@gnu.org \
--cc=schwab@suse.de \
--cc=trentbuck@gmail.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 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.