all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Markus Rost <rost@mathematik.uni-bielefeld.de>
Cc: emacs-devel@gnu.org
Subject: Re: Emacs 21.3.50 grep.el/executable.el problems
Date: Mon, 16 Feb 2004 17:23:48 +0100	[thread overview]
Message-ID: <E1AslXA-0007sq-00@yui26.Mathematik.Uni-Bielefeld.DE> (raw)
In-Reply-To: <m3oerzm1fr.fsf@kfs-l.imdomain.dk> (storm@cua.dk)

   > I suggest following simple fix, at least as a temporary solution.
   > I'll install it, if one of the maintainers agrees.

   Please go ahead and install it together with Ehud's additional
   patch for symlinks.

I did not install anything, because I did not experience any problems
with symlinks, but perhaps found another bug:

I have the following value of data-directory:

data-directory  => "/var/tmp/cvs/emacs/etc/"

I renamed directory etc to etc1 and symlinked it back:

  /var/tmp/cvs/emacs:
Y lrwxrwxrwx    1 rost     users          23 Feb 16 17:05 etc -> /var/tmp/cvs/emacs/etc1

Now I get the following confusing returns:

(file-symlink-p "/var/tmp/cvs/emacs/etc/") => nil 
(file-symlink-p "/var/tmp/cvs/emacs/etc") => "/var/tmp/cvs/emacs/etc1"

Note the missing slash in the second call.  If I use relative
symlinks, I get:

  /var/tmp/cvs/emacs:
S lrwxrwxrwx    1 rost     users           4 Feb 16 17:17 etc -> etc1

(file-symlink-p "/var/tmp/cvs/emacs/etc/") => nil 
(file-symlink-p "/var/tmp/cvs/emacs/etc") => "etc1"

Note that the latter would not be useful for
executable-command-find-posix-p anyway, because one would need an absolute
file name.

PS:  I don't have any time at all to go further into any of these
problems.  Sorry.

  reply	other threads:[~2004-02-16 16:23 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-02-16 14:35 Emacs 21.3.50 grep.el/executable.el problems Markus Rost
2004-02-16 15:17 ` Ehud Karni
2004-02-16 16:14 ` Stefan Monnier
2004-02-16 19:57   ` Eli Zaretskii
2004-02-16 20:16     ` Stefan Monnier
2004-02-16 20:31       ` Jason Rumney
2004-02-16 21:10     ` Markus Rost
2004-02-17  6:34       ` Eli Zaretskii
2004-02-18  8:39       ` Richard Stallman
2004-02-18 20:55         ` Markus Rost
2004-02-17 17:27   ` Richard Stallman
2004-02-16 16:30 ` Kim F. Storm
2004-02-16 16:23   ` Markus Rost [this message]
  -- strict thread matches above, loose matches on Subject: below --
2004-02-13  6:32 Emacs 21.3.50 on cygwin bootstrap failed. (Jason Rumney) Steven Wu
2004-02-14 15:04 ` Emacs 21.3.50 grep.el/executable.el problems Ehud Karni
2004-02-15 11:43   ` Ehud Karni
2004-02-15 12:59     ` Piet van Oostrum
2004-02-15 13:20   ` Thien-Thi Nguyen

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=E1AslXA-0007sq-00@yui26.Mathematik.Uni-Bielefeld.DE \
    --to=rost@mathematik.uni-bielefeld.de \
    --cc=emacs-devel@gnu.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.