From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#9311: 23.3.50; Can't load some byte-compiled files on Windows Date: Tue, 30 Aug 2011 20:54:18 +0300 Message-ID: <8339gig4z9.fsf@gnu.org> References: <20110817002457.0B68A1E0043@msa101.auone-net.jp> <83zkj8s9hh.fsf@gnu.org> <87zkirnhbv.fsf@gmx.de> <87r542or81.fsf@gmx.de> Reply-To: Eli Zaretskii NNTP-Posting-Host: lo.gmane.org X-Trace: dough.gmane.org 1314726964 610 80.91.229.12 (30 Aug 2011 17:56:04 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Tue, 30 Aug 2011 17:56:04 +0000 (UTC) Cc: kzhr@d1.dion.ne.jp, 9311@debbugs.gnu.org To: Michael Albinus Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Tue Aug 30 19:56:00 2011 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([140.186.70.17]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1QySXX-0006SG-G1 for geb-bug-gnu-emacs@m.gmane.org; Tue, 30 Aug 2011 19:55:59 +0200 Original-Received: from localhost ([::1]:50564 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QySXX-0001Z1-2J for geb-bug-gnu-emacs@m.gmane.org; Tue, 30 Aug 2011 13:55:59 -0400 Original-Received: from eggs.gnu.org ([140.186.70.92]:50444) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QySXT-0001Yf-9K for bug-gnu-emacs@gnu.org; Tue, 30 Aug 2011 13:55:56 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1QySXS-0005Pd-0R for bug-gnu-emacs@gnu.org; Tue, 30 Aug 2011 13:55:55 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:58457) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QySXR-0005PY-Ut for bug-gnu-emacs@gnu.org; Tue, 30 Aug 2011 13:55:53 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.69) (envelope-from ) id 1QySaT-0007xe-T0; Tue, 30 Aug 2011 13:59:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-To: owner@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 30 Aug 2011 17:59:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 9311 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 9311-submit@debbugs.gnu.org id=B9311.131472710230555 (code B ref 9311); Tue, 30 Aug 2011 17:59:01 +0000 Original-Received: (at 9311) by debbugs.gnu.org; 30 Aug 2011 17:58:22 +0000 Original-Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1QySZp-0007wl-In for submit@debbugs.gnu.org; Tue, 30 Aug 2011 13:58:21 -0400 Original-Received: from mtaout20.012.net.il ([80.179.55.166]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1QySZl-0007wa-9N for 9311@debbugs.gnu.org; Tue, 30 Aug 2011 13:58:19 -0400 Original-Received: from conversion-daemon.a-mtaout20.012.net.il by a-mtaout20.012.net.il (HyperSendmail v2007.08) id <0LQR006005O2D900@a-mtaout20.012.net.il> for 9311@debbugs.gnu.org; Tue, 30 Aug 2011 20:54:19 +0300 (IDT) Original-Received: from HOME-C4E4A596F7 ([84.229.83.44]) by a-mtaout20.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0LQR005G55QHNED0@a-mtaout20.012.net.il>; Tue, 30 Aug 2011 20:54:19 +0300 (IDT) In-reply-to: <87r542or81.fsf@gmx.de> X-012-Sender: halo1@inter.net.il X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list Resent-Date: Tue, 30 Aug 2011 13:59:01 -0400 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 1) X-Received-From: 140.186.70.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:50446 Archived-At: > From: Michael Albinus > Cc: Eli Zaretskii , Kazuhiro Ito , 9311@debbugs.gnu.org > Date: Tue, 30 Aug 2011 17:26:38 +0200 > > The following patch does it, in its final version there could be some > additional minor polishing. > > --8<---------------cut here---------------start------------->8--- > *** /home/albinus/src/tramp/lisp/tramp.el.~2.843~ 2011-08-30 17:10:16.058151065 +0200 > --- /home/albinus/src/tramp/lisp/tramp.el 2011-08-30 17:07:38.841961797 +0200 > *************** > *** 861,873 **** > Also see `tramp-file-name-structure'.") > > ;;;###autoload > ! (defconst tramp-root-regexp > ! (if (memq system-type '(cygwin windows-nt)) > ! "\\`\\([a-zA-Z]:\\)?/" > ! "\\`/") > ! "Beginning of an incomplete Tramp file name. > ! Usually, it is just \"\\\\`/\". On W32 systems, there might be a > ! volume letter, which will be removed by `tramp-drop-volume-letter'.") > > ;;;###autoload > (defconst tramp-completion-file-name-regexp-unified > --- 861,868 ---- > Also see `tramp-file-name-structure'.") > > ;;;###autoload > ! (defconst tramp-root-regexp "\\`/" > ! "Beginning of an incomplete Tramp file name.") > > ;;;###autoload > (defconst tramp-completion-file-name-regexp-unified > *************** > *** 1503,1509 **** > but the remote system is Unix, this introduces a superfluous drive > letter into the file name. This function removes it." > (save-match-data > ! (if (string-match tramp-root-regexp name) > (replace-match "/" nil t name) > name))) > > --- 1498,1504 ---- > but the remote system is Unix, this introduces a superfluous drive > letter into the file name. This function removes it." > (save-match-data > ! (if (string-match "\\`[a-zA-Z]:/" name) > (replace-match "/" nil t name) > name))) > > --8<---------------cut here---------------end--------------->8--- Thanks, this looks good to me.