From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: =?iso-8859-1?Q?Vincent_Bela=EFche?= Newsgroups: gmane.emacs.devel Subject: Initialisation of dired-x for install-info guessing Date: Tue, 05 May 2009 21:01:26 +0200 Message-ID: <87hbzzs7ax.fsf@gmail.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1241549966 4241 80.91.229.12 (5 May 2009 18:59:26 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 5 May 2009 18:59:26 +0000 (UTC) Cc: =?iso-8859-1?Q?Vincent_Bela=EFche?= , Karl Berry To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue May 05 20:59:17 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 1M1PrJ-00053D-3a for ged-emacs-devel@m.gmane.org; Tue, 05 May 2009 20:59:17 +0200 Original-Received: from localhost ([127.0.0.1]:36777 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1M1PrI-0008WI-Ki for ged-emacs-devel@m.gmane.org; Tue, 05 May 2009 14:59:16 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1M1PrC-0008Tn-J3 for emacs-devel@gnu.org; Tue, 05 May 2009 14:59:10 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1M1Pr8-0008O7-5Y for emacs-devel@gnu.org; Tue, 05 May 2009 14:59:10 -0400 Original-Received: from [199.232.76.173] (port=49358 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1M1Pr7-0008O0-Ps for emacs-devel@gnu.org; Tue, 05 May 2009 14:59:05 -0400 Original-Received: from smtp2a.orange.fr ([80.12.242.140]:3815) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1M1Pr6-0000zh-AG for emacs-devel@gnu.org; Tue, 05 May 2009 14:59:04 -0400 Original-Received: from me-wanadoo.net (localhost [127.0.0.1]) by mwinf2a27.orange.fr (SMTP Server) with ESMTP id 9B23880000A1; Tue, 5 May 2009 20:59:02 +0200 (CEST) Original-Received: from COCOTTE (ARennes-256-1-120-29.w90-32.abo.wanadoo.fr [90.32.119.29]) by mwinf2a27.orange.fr (SMTP Server) with ESMTP id 031848000604; Tue, 5 May 2009 20:59:01 +0200 (CEST) X-ME-UUID: 20090505185902128.031848000604@mwinf2a27.orange.fr X-detected-operating-system: by monty-python.gnu.org: Genre and OS details not recognized. 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:110688 Archived-At: Hello, I am suggesting the following lines addition to initialisation of dired-guess-shell-alist-default: --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<--- I had proposed to Karl Berry to document this trick in the TeXinfo manual, but he suggested that having this within Emacs would be a better alternative. I have tested the MSWindows command: it works fine for me. However, I am unsure about the bash one. Best regards, Vincent.