From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.devel Subject: Re: [Emacs-diffs] master ea196eb: Fix load-path issue when it contains remote directories Date: Fri, 16 Jun 2017 15:12:00 -0400 Message-ID: References: <20170616124634.8186.2726@vcs0.savannah.gnu.org> <20170616124634.B223B20827@vcs0.savannah.gnu.org> <87shj09eaw.fsf@detlef> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: blaine.gmane.org 1497640342 14107 195.159.176.226 (16 Jun 2017 19:12:22 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Fri, 16 Jun 2017 19:12:22 +0000 (UTC) User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.0.50 (gnu/linux) Cc: emacs-devel@gnu.org To: Michael Albinus Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri Jun 16 21:12:17 2017 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dLwfJ-0003NM-CX for ged-emacs-devel@m.gmane.org; Fri, 16 Jun 2017 21:12:17 +0200 Original-Received: from localhost ([::1]:60447 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dLwfO-0006yY-Iw for ged-emacs-devel@m.gmane.org; Fri, 16 Jun 2017 15:12:22 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:49504) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dLwfE-0006xk-2Q for emacs-devel@gnu.org; Fri, 16 Jun 2017 15:12:12 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dLwf9-0007GB-3N for emacs-devel@gnu.org; Fri, 16 Jun 2017 15:12:12 -0400 Original-Received: from pruche.dit.umontreal.ca ([132.204.246.22]:49491) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dLwf8-0007FG-Tq for emacs-devel@gnu.org; Fri, 16 Jun 2017 15:12:07 -0400 Original-Received: from pastel.home (lechon.iro.umontreal.ca [132.204.27.242]) by pruche.dit.umontreal.ca (8.14.7/8.14.1) with ESMTP id v5GJC0gW027275; Fri, 16 Jun 2017 15:12:00 -0400 Original-Received: by pastel.home (Postfix, from userid 20848) id 621CE605A2; Fri, 16 Jun 2017 15:12:00 -0400 (EDT) In-Reply-To: <87shj09eaw.fsf@detlef> (Michael Albinus's message of "Fri, 16 Jun 2017 16:51:03 +0200") X-NAI-Spam-Flag: NO X-NAI-Spam-Threshold: 5 X-NAI-Spam-Score: 0 X-NAI-Spam-Rules: 2 Rules triggered EDT_SA_DN_PASS=0, RV6049=0 X-NAI-Spam-Version: 2.3.0.9418 : core <6049> : inlines <5933> : streams <1750207> : uri <2444936> X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 132.204.246.22 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.org gmane.emacs.devel:215683 Archived-At: >>> + (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