unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: "Vincent Belaïche" <vincent.b.1@hotmail.fr>
To: <monnier@iro.umontreal.ca>, emacs-devel <emacs-devel@gnu.org>
Cc: Karl Berry <karl@freefriends.org>
Subject: RE: Initialisation of dired-x for install-info guessing
Date: Sat, 9 May 2009 20:58:08 +0200	[thread overview]
Message-ID: <BLU104-W5D4D3FCEAD123F6945AD884650@phx.gbl> (raw)
In-Reply-To: <jwveiuzf6iz.fsf-monnier+emacs@gnu.org>

[-- 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 --]

  reply	other threads:[~2009-05-09 18:58 UTC|newest]

Thread overview: 19+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-05-05 19:01 Initialisation of dired-x for install-info guessing 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 [this message]
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

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=BLU104-W5D4D3FCEAD123F6945AD884650@phx.gbl \
    --to=vincent.b.1@hotmail.fr \
    --cc=emacs-devel@gnu.org \
    --cc=karl@freefriends.org \
    --cc=monnier@iro.umontreal.ca \
    /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 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).