* 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
* Re: Initialisation of dired-x for install-info guessing
2009-05-05 19:01 Vincent Belaïche
@ 2009-05-05 20:03 ` Eli Zaretskii
2009-05-06 14:11 ` Gilaras Drakeson
2009-05-07 6:04 ` Vincent Belaïche
0 siblings, 2 replies; 19+ messages in thread
From: Eli Zaretskii @ 2009-05-05 20:03 UTC (permalink / raw)
To: Vincent Belaïche; +Cc: karl, emacs-devel
> From: =?iso-8859-1?Q?Vincent_Bela=EFche?= <vincent.b.1@hotmail.fr>
> Date: Tue, 05 May 2009 21:01:26 +0200
> Cc: =?iso-8859-1?Q?Vincent_Bela=EFche?= <vincent.b.1@hotmail.fr>,
> Karl Berry <karl@freefriends.org>
>
> --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?
^ permalink raw reply [flat|nested] 19+ messages in thread
* Re: Initialisation of dired-x for install-info guessing
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
1 sibling, 1 reply; 19+ messages in thread
From: Gilaras Drakeson @ 2009-05-06 14:11 UTC (permalink / raw)
To: emacs-devel
>> --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<---
> 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?
"dir" is a plain text file into which install-info adds entries.
Gilaras
^ permalink raw reply [flat|nested] 19+ messages in thread
* Re: Initialisation of dired-x for install-info guessing
2009-05-06 14:11 ` Gilaras Drakeson
@ 2009-05-06 18:05 ` Eli Zaretskii
0 siblings, 0 replies; 19+ messages in thread
From: Eli Zaretskii @ 2009-05-06 18:05 UTC (permalink / raw)
To: Gilaras Drakeson; +Cc: emacs-devel
> From: Gilaras Drakeson <gilaras@gmail.com>
> Date: Wed, 06 May 2009 10:11:24 -0400
>
>
> >> --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<---
>
> > 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?
>
> "dir" is a plain text file into which install-info adds entries.
But why in the same directory as the original files? That's not how
install-info is normally used.
^ permalink raw reply [flat|nested] 19+ messages in thread
* 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
* Re: Initialisation of dired-x for install-info guessing
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
0 siblings, 1 reply; 19+ messages in thread
From: Eli Zaretskii @ 2009-05-07 3:11 UTC (permalink / raw)
To: grischka; +Cc: emacs-devel
> Date: Wed, 06 May 2009 23:26:54 +0200
> From: grischka <grishka@gmx.de>
> CC: emacs-devel@gnu.org
>
> > 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.
I didn't say we support _building_ Emacs on those platforms. But we
do support _running_ Emacs there. If you know of any problems that
would preclude that, please report them.
(Btw, for the specific problem of Make, its Windows port will never
use command.com as a shell. Either you have a Unixy shell on your
Path or you need to have cmd.exe. So for building on such a system,
the only way it can possibly work is if one has a sh.exe somewhere.)
^ permalink raw reply [flat|nested] 19+ messages in thread
* RE: Initialisation of dired-x for install-info guessing
2009-05-05 20:03 ` Eli Zaretskii
2009-05-06 14:11 ` Gilaras Drakeson
@ 2009-05-07 6:04 ` Vincent Belaïche
2009-05-07 17:22 ` Stefan Monnier
2009-05-07 18:45 ` Eli Zaretskii
1 sibling, 2 replies; 19+ messages in thread
From: Vincent Belaïche @ 2009-05-07 6:04 UTC (permalink / raw)
To: emacs-devel; +Cc: karl
[-- Attachment #1: Type: text/plain, Size: 3334 bytes --]
Just to follow up the discussion:
1) on the issue on what does the command do, I think that this issue was closed by the dicussion: "dir" is a file that is at the same level as the info file to add. This is the normal way to make info files appear in Emacs info menu.
2) On the issue of supporting older versions of Window: I am afraid that this is not possible if you want a DOS command. I don't think that there is any simple way to extract the dirname with a one-liner command in older DOS versions.
So probably the best thing to do for older DOS version would be to write it as:
"for %i in ( * ) do install-info \"%i\" dir")
In that case it will work only if the info file is at the root of the current Dired buffer.
I am not sure how to disntiguish Windows version from within Emacs.
Another possibility would be may be to make a one line sh.exe command with explicitely invoking sh.exe in the command line. However I am not sure that sh.exe can be used this way. Also you would need to know whether sh.exe is on this machine or not.
Another solution would be that the command would be an Eshell command. Maybe if the command was a list ('eshell ...) instead of a string, then dired-x could interprete check is a an Eshell command, rathen than as a native shell (DOS, bash, ...) command. This would be the vest alternative to get rid of all these portability problems, but then Emacs users would have to be a bit more familiar with Eshell (which I am not)
Given that installation of info files is not that current, I think that the first alternative is simpler (ie omit the directory name for older version of DOS, and let the user care about it).
Vincent.
> Date: Tue, 5 May 2009 23:03:30 +0300
> From: eliz@gnu.org
> To: vincent.b.1@hotmail.fr
> CC: karl@freefriends.org; emacs-devel@gnu.org
> Subject: Re: Initialisation of dired-x for install-info guessing
>
> > From: =?iso-8859-1?Q?Vincent_Bela=EFche?= <vincent.b.1@hotmail.fr>
> > Date: Tue, 05 May 2009 21:01:26 +0200
> > Cc: =?iso-8859-1?Q?Vincent_Bela=EFche?= <vincent.b.1@hotmail.fr>,
> > Karl Berry <karl@freefriends.org>
> >
> > --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?
>
>
_________________________________________________________________
Découvrez toutes les possibilités de communication avec vos proches
http://www.microsoft.com/windows/windowslive/default.aspx
[-- Attachment #2: Type: text/html, Size: 3853 bytes --]
^ permalink raw reply [flat|nested] 19+ messages in thread
* Re: Initialisation of dired-x for install-info guessing
2009-05-07 3:11 ` Eli Zaretskii
@ 2009-05-07 8:27 ` grischka
2009-05-07 18:14 ` Eli Zaretskii
0 siblings, 1 reply; 19+ messages in thread
From: grischka @ 2009-05-07 8:27 UTC (permalink / raw)
To: Eli Zaretskii; +Cc: emacs-devel
Eli Zaretskii wrote:
>> Date: Wed, 06 May 2009 23:26:54 +0200
>> From: grischka <grishka@gmx.de>
>> CC: emacs-devel@gnu.org
>>
>>> 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.
>
> I didn't say we support _building_ Emacs on those platforms. But we
> do support _running_ Emacs there. If you know of any problems that
> would preclude that, please report them.
Since it didn't build I really can't tell whether it runs.
> (Btw, for the specific problem of Make, its Windows port will never
> use command.com as a shell.
Sure it does. Hence the problem with slashes, as above.
> Either you have a Unixy shell on your
> Path or you need to have cmd.exe. So for building on such a system,
> the only way it can possibly work is if one has a sh.exe somewhere.)
^ permalink raw reply [flat|nested] 19+ messages in thread
* Re: Initialisation of dired-x for install-info guessing
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-07 18:45 ` Eli Zaretskii
1 sibling, 1 reply; 19+ messages in thread
From: Stefan Monnier @ 2009-05-07 17:22 UTC (permalink / raw)
To: Vincent Belaïche; +Cc: karl, emacs-devel
> "for %i in ( * ) do install-info \"%i\" dir")
[...]
> "for i in * ; do p=`dirname \"$i\"`;install-info $i $p/dir\"; done"
Regarding these rules, I have a different question: how likely/common is
it for people to find *.info file and to use install-info on them?
Then the next question is: what is the shape of the most common way to
use install-info on such files?
Stefan
^ permalink raw reply [flat|nested] 19+ messages in thread
* Re: Initialisation of dired-x for install-info guessing
2009-05-07 8:27 ` grischka
@ 2009-05-07 18:14 ` Eli Zaretskii
2009-05-09 15:10 ` grischka
0 siblings, 1 reply; 19+ messages in thread
From: Eli Zaretskii @ 2009-05-07 18:14 UTC (permalink / raw)
To: grischka; +Cc: emacs-devel
> Date: Thu, 07 May 2009 10:27:08 +0200
> From: grischka <grishka@gmx.de>
> CC: emacs-devel@gnu.org
>
> > I didn't say we support _building_ Emacs on those platforms. But we
> > do support _running_ Emacs there. If you know of any problems that
> > would preclude that, please report them.
>
> Since it didn't build I really can't tell whether it runs.
You could install the precompiled binaries from alpha.gnu.org,
prepared by Jason.
^ permalink raw reply [flat|nested] 19+ messages in thread
* Re: Initialisation of dired-x for install-info guessing
2009-05-07 6:04 ` Vincent Belaïche
2009-05-07 17:22 ` Stefan Monnier
@ 2009-05-07 18:45 ` Eli Zaretskii
1 sibling, 0 replies; 19+ messages in thread
From: Eli Zaretskii @ 2009-05-07 18:45 UTC (permalink / raw)
To: Vincent Belaïche; +Cc: karl, emacs-devel
> From: =?iso-8859-1?Q?Vincent_Bela=EFche?= <vincent.b.1@hotmail.fr>
> Date: Thu, 7 May 2009 08:04:38 +0200
> Cc: karl@freefriends.org
>
> 2) On the issue of supporting older versions of Window: I am afraid that this is not possible if you want a DOS command. I don't think that there is any simple way to extract the dirname with a one-liner command in older DOS versions.
Perhaps you could simply chdir to that directory when running the
command. Then there would be no need to name the directory
explicitly. But I didn't try that, so I may be missing something.
> I am not sure how to disntiguish Windows version from within Emacs.
You can look at the value of `system-configuration'.
^ permalink raw reply [flat|nested] 19+ messages in thread
* RE: Initialisation of dired-x for install-info guessing
2009-05-07 17:22 ` Stefan Monnier
@ 2009-05-08 20:36 ` Vincent Belaïche
2009-05-08 20:47 ` Drew Adams
2009-05-09 0:48 ` Stefan Monnier
0 siblings, 2 replies; 19+ messages in thread
From: Vincent Belaïche @ 2009-05-08 20:36 UTC (permalink / raw)
To: monnier; +Cc: emacs-devel, Karl Berry
[-- Attachment #1: Type: text/plain, Size: 1818 bytes --]
Answers below...
> From: monnier@IRO.UMontreal.CA
> To: vincent.b.1@hotmail.fr
> Date: Thu, 7 May 2009 13:22:19 -0400
> CC: karl@freefriends.org; emacs-devel@gnu.org
> Subject: Re: Initialisation of dired-x for install-info guessing
>
> > "for %i in ( * ) do install-info \"%i\" dir")
> [...]
> > "for i in * ; do p=`dirname \"$i\"`;install-info $i $p/dir\"; done"
>
> Regarding these rules, I have a different question: how likely/common is
> it for people to find *.info file and to use install-info on them?
Well just to give some examples, I have downloaded the info file of Bash and that of Texinfo on my machine and I have installed them with install-info by hand. I also installed all the manuals that were coming with the MinGW tool-chain with install-info. I am also writing myself 3 manuals for emacs extension packages (one is for emacs-template which is still under discussion with Christoph Wedler, and the two other are for extension packages I am developping myself), and I had also to install them with install-info.
I recognize that it is not that often, but it happens...
> Then the next question is: what is the shape of the most common way to
> use install-info on such files?
>
>
There are a number of options to call install-info, like for any other commands. But this is also true for any of the commands that are invoked by means of the dired-x default shell guess. I think that the shape
install-info file.info dir
is the most common... but you should cross check this with Karl Berry...
Vincent.
> Stefan
>
>
_________________________________________________________________
Téléphonez gratuitement à tous vos proches avec Windows Live Messenger ! Téléchargez-le maintenant !
http://www.windowslive.fr/messenger/1.asp
[-- Attachment #2: Type: text/html, Size: 2105 bytes --]
^ permalink raw reply [flat|nested] 19+ messages in thread
* RE: Initialisation of dired-x for install-info guessing
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
1 sibling, 1 reply; 19+ messages in thread
From: Drew Adams @ 2009-05-08 20:47 UTC (permalink / raw)
To: 'Vincent Belaïche', monnier
Cc: 'Karl Berry', 'emacs-devel'
> > I have a different question: how likely/common is
> > it for people to find *.info file and to use install-info on them?
>
> Well just to give some examples, I have downloaded the info
> file of Bash and that of Texinfo on my machine and I have
> installed them with install-info by hand. I also installed
> all the manuals that were coming with the MinGW tool-chain
> with install-info. I am also writing myself 3 manuals for
> emacs extension packages (one is for emacs-template which
> is still under discussion with Christoph Wedler, and the
> two other are for extension packages I am developping
> myself), and I had also to install them with install-info.
>
> I recognize that it is not that often, but it happens...
If you recognize that, how about simply customizing
`dired-guess-shell-alist-user'?
^ permalink raw reply [flat|nested] 19+ messages in thread
* RE: Initialisation of dired-x for install-info guessing
2009-05-08 20:47 ` Drew Adams
@ 2009-05-08 21:12 ` Vincent Belaïche
0 siblings, 0 replies; 19+ messages in thread
From: Vincent Belaïche @ 2009-05-08 21:12 UTC (permalink / raw)
To: drew.adams; +Cc: emacs-devel, Karl Berry
[-- Attachment #1: Type: text/plain, Size: 632 bytes --]
> > I recognize that it is not that often, but it happens...
>
> If you recognize that, how about simply customizing
> `dired-guess-shell-alist-user'?
>
>
I have already done that for myself a long time ago.
I just wanted to share this information, so that Emacs is improved. If you don't think that it is an improvement, then please do not loose any longer time in this discussion, I wouldn't mind...
Vincent.
_________________________________________________________________
Découvrez toutes les possibilités de communication avec vos proches
http://www.microsoft.com/windows/windowslive/default.aspx
[-- Attachment #2: Type: text/html, Size: 845 bytes --]
^ permalink raw reply [flat|nested] 19+ messages in thread
* Re: Initialisation of dired-x for install-info guessing
2009-05-08 20:36 ` Vincent Belaïche
2009-05-08 20:47 ` Drew Adams
@ 2009-05-09 0:48 ` Stefan Monnier
2009-05-09 18:58 ` Vincent Belaïche
1 sibling, 1 reply; 19+ messages in thread
From: Stefan Monnier @ 2009-05-09 0:48 UTC (permalink / raw)
To: Vincent Belaïche; +Cc: emacs-devel, Karl Berry
> Well just to give some examples, I have downloaded the info file of
> Bash and that of Texinfo on my machine and I have installed them with
> install-info by hand. I also installed all the manuals that were
> coming with the MinGW tool-chain with install-info. I am also writing
> myself 3 manuals for emacs extension packages (one is for
> emacs-template which is still under discussion with Christoph Wedler,
> and the two other are for extension packages I am developping myself),
> and I had also to install them with install-info.
I must admit that I don't compile packages by hand very often nowadays,
but back when I did that, I very rarely used install-info since usually
the info files were installed by `make' instead.
> I recognize that it is not that often, but it happens...
Fair enough. To tell you truth, since this rule is only for files that
end in ".info" it doesn't have to be frequent, it only has to be more
frequent than other commands that one might apply to .info files.
So `install-info' is probably a good candidate, indeed.
> There are a number of options to call install-info, like for any other
> commands. But this is also true for any of the commands that are
> invoked by means of the dired-x default shell guess. I think that the
> shape
> install-info file.info dir
> is the most common... but you should cross check this with Karl Berry...
That was my impression as well. So why is the suggested command using
the weird `for' loop (which will make it apply to all kinds of other
unrelated files).
Stefan
^ permalink raw reply [flat|nested] 19+ messages in thread
* Re: Initialisation of dired-x for install-info guessing
2009-05-07 18:14 ` Eli Zaretskii
@ 2009-05-09 15:10 ` grischka
2009-05-09 15:36 ` Eli Zaretskii
0 siblings, 1 reply; 19+ messages in thread
From: grischka @ 2009-05-09 15:10 UTC (permalink / raw)
To: Eli Zaretskii; +Cc: emacs-devel
Eli Zaretskii wrote:
>> Date: Thu, 07 May 2009 10:27:08 +0200
>> From: grischka <grishka@gmx.de>
>> CC: emacs-devel@gnu.org
>>
>>> I didn't say we support _building_ Emacs on those platforms. But we
>>> do support _running_ Emacs there. If you know of any problems that
>>> would preclude that, please report them.
>> Since it didn't build I really can't tell whether it runs.
>
> You could install the precompiled binaries from alpha.gnu.org,
> prepared by Jason.
>
Testing a recent from git on windows 98 under qemu shows only a
small unresponsive window (say 80x30 px). So far to "But we
do support _running_ Emacs there".
^ permalink raw reply [flat|nested] 19+ messages in thread
* Re: Initialisation of dired-x for install-info guessing
2009-05-09 15:10 ` grischka
@ 2009-05-09 15:36 ` Eli Zaretskii
0 siblings, 0 replies; 19+ messages in thread
From: Eli Zaretskii @ 2009-05-09 15:36 UTC (permalink / raw)
To: grischka; +Cc: emacs-devel
> Date: Sat, 09 May 2009 17:10:47 +0200
> From: grischka <grishka@gmx.de>
> CC: emacs-devel@gnu.org
>
> Testing a recent from git on windows 98 under qemu shows only a
> small unresponsive window (say 80x30 px).
What is qemu?
> So far to "But we do support _running_ Emacs there".
Well, if you could try debugging where it is stuck, we could try
fixing what became broken.
^ permalink raw reply [flat|nested] 19+ messages in thread
* RE: Initialisation of dired-x for install-info guessing
2009-05-09 0:48 ` Stefan Monnier
@ 2009-05-09 18:58 ` Vincent Belaïche
2009-05-09 22:23 ` Stefan Monnier
0 siblings, 1 reply; 19+ messages in thread
From: Vincent Belaïche @ 2009-05-09 18:58 UTC (permalink / raw)
To: monnier, emacs-devel; +Cc: Karl Berry
[-- Attachment #1: Type: text/plain, Size: 1261 bytes --]
> That was my impression as well. So why is the suggested command using
> the weird `for' loop
The for is there mainly to extract the directory path, so that if you launch the guessed command on some foo.info file, foo.info is installed in the dir file that is in the same directory where foo.info is.
The for will also make it work in case of marking several files, but in my opinion this is not useful. The point is that in MSDOS I don't think that it is possible to get the directory name otherwise than with a for.
This `for' would be useless if there was some other mean to get the directory name (like Emacs setting some environment variable with the directory name before launching the command...)
> (which will make it apply to all kinds of other
> unrelated files).
>
Well the user is supposed to mark only the info files to be installed. But as I wrote, the intention of for was not iterating, and probably I should not have proposed a for in the bash case.
Vincent.
>
> Stefan
_________________________________________________________________
Téléphonez gratuitement à tous vos proches avec Windows Live Messenger ! Téléchargez-le maintenant !
http://www.windowslive.fr/messenger/1.asp
[-- Attachment #2: Type: text/html, Size: 1482 bytes --]
^ permalink raw reply [flat|nested] 19+ messages in thread
* Re: Initialisation of dired-x for install-info guessing
2009-05-09 18:58 ` Vincent Belaïche
@ 2009-05-09 22:23 ` Stefan Monnier
0 siblings, 0 replies; 19+ messages in thread
From: Stefan Monnier @ 2009-05-09 22:23 UTC (permalink / raw)
To: Vincent Belaïche; +Cc: Karl Berry, emacs-devel
> The for is there mainly to extract the directory path, so that if you
> launch the guessed command on some foo.info file, foo.info is
> installed in the dir file that is in the same directory where
> foo.info is.
At least on the POSIX side, the `for' does not help you get the
directory path.
Stefan
^ 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).