all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: "Vincent Belaïche" <vincent.b.1@hotmail.fr>
To: emacs-devel@gnu.org
Cc: "Vincent Belaïche" <vincent.b.1@hotmail.fr>,
	"Karl Berry" <karl@freefriends.org>
Subject: Initialisation of dired-x for install-info guessing
Date: Tue, 05 May 2009 21:01:26 +0200	[thread overview]
Message-ID: <87hbzzs7ax.fsf@gmail.com> (raw)

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.





             reply	other threads:[~2009-05-05 19:01 UTC|newest]

Thread overview: 19+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-05-05 19:01 Vincent Belaïche [this message]
2009-05-05 20:03 ` Initialisation of dired-x for install-info guessing Eli Zaretskii
2009-05-06 14:11   ` Gilaras Drakeson
2009-05-06 18:05     ` Eli Zaretskii
2009-05-07  6:04   ` Vincent Belaïche
2009-05-07 17:22     ` Stefan Monnier
2009-05-08 20:36       ` Vincent Belaïche
2009-05-08 20:47         ` Drew Adams
2009-05-08 21:12           ` Vincent Belaïche
2009-05-09  0:48         ` Stefan Monnier
2009-05-09 18:58           ` Vincent Belaïche
2009-05-09 22:23             ` Stefan Monnier
2009-05-07 18:45     ` Eli Zaretskii
  -- strict thread matches above, loose matches on Subject: below --
2009-05-06 21:26 grischka
2009-05-07  3:11 ` Eli Zaretskii
2009-05-07  8:27   ` grischka
2009-05-07 18:14     ` Eli Zaretskii
2009-05-09 15:10       ` grischka
2009-05-09 15:36         ` Eli Zaretskii

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=87hbzzs7ax.fsf@gmail.com \
    --to=vincent.b.1@hotmail.fr \
    --cc=emacs-devel@gnu.org \
    --cc=karl@freefriends.org \
    /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.