unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
* Re: Initialisation of dired-x for install-info guessing
@ 2009-05-06 21:26 grischka
  2009-05-07  3:11 ` Eli Zaretskii
  0 siblings, 1 reply; 19+ messages in thread
From: grischka @ 2009-05-06 21:26 UTC (permalink / raw)
  To: eliz; +Cc: emacs-devel

> Emacs still supports older Windows versions where the shell is
> command.com [...]

Actually no, for more than one reason.  One being that GNU
make expands it's full path with forward slashes into $(MAKE)
which would do just nothing at all under command.com.





^ permalink raw reply	[flat|nested] 19+ messages in thread
* Initialisation of dired-x for install-info guessing
@ 2009-05-05 19:01 Vincent Belaïche
  2009-05-05 20:03 ` Eli Zaretskii
  0 siblings, 1 reply; 19+ messages in thread
From: Vincent Belaïche @ 2009-05-05 19:01 UTC (permalink / raw)
  To: emacs-devel; +Cc: Vincent Belaïche, Karl Berry

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.





^ permalink raw reply	[flat|nested] 19+ messages in thread

end of thread, other threads:[~2009-05-09 22:23 UTC | newest]

Thread overview: 19+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-05-06 21:26 Initialisation of dired-x for install-info guessing 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
  -- strict thread matches above, loose matches on Subject: below --
2009-05-05 19:01 Vincent Belaïche
2009-05-05 20:03 ` 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

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).