all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Stefan Monnier <monnier@IRO.UMontreal.CA>
To: Michael Albinus <michael.albinus@gmx.de>
Cc: emacs-devel@gnu.org
Subject: Re: [Emacs-diffs] master ea196eb: Fix load-path issue when it contains remote directories
Date: Fri, 16 Jun 2017 15:12:00 -0400	[thread overview]
Message-ID: <jwvy3srda2l.fsf-monnier+emacsdiffs@gnu.org> (raw)
In-Reply-To: <87shj09eaw.fsf@detlef> (Michael Albinus's message of "Fri, 16 Jun 2017 16:51:03 +0200")

>>> +	     (directory-files dir nil "^tramp.+\\.elc?$"))
>> ^
>> \\'

> It doesn't matter:

Both work fine in practice, yes.  But $ can misbehave in theory (in the
presence of newlines in file names).  I'm encouraging the use of \' over
$ even when it doesn't matter, as a way to get used to using \' in those
cases where it can matter (both for you, and for those who read your
code).


        Stefan



      reply	other threads:[~2017-06-16 19:12 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <20170616124634.8186.2726@vcs0.savannah.gnu.org>
     [not found] ` <20170616124634.B223B20827@vcs0.savannah.gnu.org>
2017-06-16 12:54   ` [Emacs-diffs] master ea196eb: Fix load-path issue when it contains remote directories Stefan Monnier
2017-06-16 14:51     ` Michael Albinus
2017-06-16 19:12       ` Stefan Monnier [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=jwvy3srda2l.fsf-monnier+emacsdiffs@gnu.org \
    --to=monnier@iro.umontreal.ca \
    --cc=emacs-devel@gnu.org \
    --cc=michael.albinus@gmx.de \
    /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.