From: Michael Albinus <michael.albinus@gmx.de>
To: Stefan Monnier <monnier@iro.umontreal.ca>
Cc: emacs-devel@gnu.org
Subject: Re: [Emacs-diffs] master acfb5cd: Improve XEmacs compatibility of Tramp
Date: Sun, 04 Oct 2015 20:12:46 +0200 [thread overview]
Message-ID: <87si5qsdsx.fsf@gmx.de> (raw)
In-Reply-To: <jwvlhbih68t.fsf-monnier+emacsdiffs@gnu.org> (Stefan Monnier's message of "Sun, 04 Oct 2015 13:55:27 -0400")
Stefan Monnier <monnier@iro.umontreal.ca> writes:
>> + ;; `directory-listing-before-filename-regexp' does not exist in
>> + ;; XEmacs. Since we use it only in tramp-adb.el, it doesn't harm to
>> + ;; declare it here.
>> + (unless (boundp 'directory-listing-before-filename-regexp)
>> + (defvar directory-listing-before-filename-regexp nil))
>
> Why not do
>
> (defvar directory-listing-before-filename-regexp)
>
> at top-level, which AFAIK works in all emacsen and is less harmful?
I've tried this first. XEmacs denies to cooperate.
>> +(autoload 'locate-dominating-file "files")
>> +(autoload 'tramp-compat-replace-regexp-in-string "tramp-compat")
>
> IIUC it's one of the best ways to silence the XEmacs byte-compiler, but
> it's a bit dangerous. So I suggest the patch below instead,
I'm just collecting my baggage for being offline for about a week. I'll
check when I'm back.
> Stefan
Best regards, Michael.
next prev parent reply other threads:[~2015-10-04 18:12 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <20151004110041.8886.52525@vcs.savannah.gnu.org>
[not found] ` <E1Zih21-0002Jx-Pv@vcs.savannah.gnu.org>
2015-10-04 17:55 ` [Emacs-diffs] master acfb5cd: Improve XEmacs compatibility of Tramp Stefan Monnier
2015-10-04 18:12 ` Michael Albinus [this message]
2015-10-05 1:06 ` Stefan Monnier
2015-10-18 8:13 ` 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
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87si5qsdsx.fsf@gmx.de \
--to=michael.albinus@gmx.de \
--cc=emacs-devel@gnu.org \
--cc=monnier@iro.umontreal.ca \
/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.