From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.devel Subject: Re: Initialisation of dired-x for install-info guessing Date: Tue, 05 May 2009 23:03:30 +0300 Message-ID: <8363gfe2r1.fsf@gnu.org> References: <87hbzzs7ax.fsf@gmail.com> Reply-To: Eli Zaretskii NNTP-Posting-Host: lo.gmane.org X-Trace: ger.gmane.org 1241553847 17697 80.91.229.12 (5 May 2009 20:04:07 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 5 May 2009 20:04:07 +0000 (UTC) Cc: karl@freefriends.org, emacs-devel@gnu.org To: =?iso-8859-1?Q?Vincent_Bela=EFche?= Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue May 05 22:03:57 2009 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1M1Qrp-0003cl-5Q for ged-emacs-devel@m.gmane.org; Tue, 05 May 2009 22:03:54 +0200 Original-Received: from localhost ([127.0.0.1]:40790 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1M1Qrn-0007Lj-FM for ged-emacs-devel@m.gmane.org; Tue, 05 May 2009 16:03:51 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1M1Qrg-0007Ku-I9 for emacs-devel@gnu.org; Tue, 05 May 2009 16:03:44 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1M1Qrf-0007KM-1C for emacs-devel@gnu.org; Tue, 05 May 2009 16:03:43 -0400 Original-Received: from [199.232.76.173] (port=38892 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1M1Qre-0007KJ-Vb for emacs-devel@gnu.org; Tue, 05 May 2009 16:03:42 -0400 Original-Received: from mtaout7.012.net.il ([84.95.2.19]:49794) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1M1Qre-0004jj-BC for emacs-devel@gnu.org; Tue, 05 May 2009 16:03:42 -0400 Original-Received: from conversion-daemon.i-mtaout7.012.net.il by i-mtaout7.012.net.il (HyperSendmail v2007.08) id <0KJ600500SW42400@i-mtaout7.012.net.il> for emacs-devel@gnu.org; Tue, 05 May 2009 23:03:14 +0300 (IDT) Original-Received: from HOME-C4E4A596F7 ([77.127.230.216]) by i-mtaout7.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0KJ600L0PT1D8770@i-mtaout7.012.net.il>; Tue, 05 May 2009 23:03:14 +0300 (IDT) In-reply-to: <87hbzzs7ax.fsf@gmail.com> X-012-Sender: halo1@inter.net.il X-detected-operating-system: by monty-python.gnu.org: Solaris 10 (1203?) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:110689 Archived-At: > From: =?iso-8859-1?Q?Vincent_Bela=EFche?= > Date: Tue, 05 May 2009 21:01:26 +0200 > Cc: =?iso-8859-1?Q?Vincent_Bela=EFche?= , > Karl Berry > > --8<-----8<-----8<-----8<-----8<-----8<-----8<-----8<-----8<-----8<-----8<--- > ;; info files > (list "\.info$" > (cond > ((eq system-type 'windows-nt) > "for %i in ( * ) do install-info \"%i\" \"%~pi\\dir\"") > (t ; bash > "for i in * ; do p=`dirname \"$i\"`;install-info $i $p/dir\"; done")) > ) > --8<-----8<-----8<-----8<-----8<-----8<-----8<-----8<-----8<-----8<-----8<--- Thanks. However, the command you suggest for windows-nt will only work with cmd.exe as the shell and only with latest versions of it. Emacs still supports older Windows versions where the shell is command.com which does not know about "%~pi". So an alternative for older shells will be needed before this can go in. Also, I'm not sure I understand what is this command trying to do. It seems to try to install Info files in the subdirectory named literally `dir' of the directory where those Info files live?