all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: "Lennart Borgman (gmail)" <lennart.borgman@gmail.com>
To: Eli Zaretskii <eliz@gnu.org>
Cc: monnier@iro.umontreal.ca, emacs-devel@gnu.org
Subject: Re: (fboundp 'make-symbolic-link) on w32
Date: Sun, 20 Jul 2008 18:05:48 +0200	[thread overview]
Message-ID: <4883625C.7020809@gmail.com> (raw)
In-Reply-To: <E1KKb13-0007Zv-RP@fencepost.gnu.org>

Eli Zaretskii wrote:
>> Date: Fri, 18 Jul 2008 10:12:36 +0200
>> From: "Lennart Borgman (gmail)" <lennart.borgman@gmail.com>
>> Cc: Emacs Devel <emacs-devel@gnu.org>
>>
>> Note that symbolic link does not exist on all platform even though this 
>> function still exist for use via Tramp.
> 
> That's something for the manual, not for a doc string.

Why not in the doc string? The problem here is that the function exists 
on all platform which leads those who just read the doc string into 
coding things like

   (when (fboundp 'make-symbolic-link)
      (make-symbolic-link ...))

which makes the call to make-symbolic-link on all platforms. In the code 
where I saw this there were no error checking around this.

> Besides, Windows Vista introduced support for symlinks, so if someone
> volunteers to code that in Emacs, w32 will have it as well.

Is there any Emacs user that runs Vista ;-)

(Ah, yes I know.)




      reply	other threads:[~2008-07-20 16:05 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-07-17 23:21 (fboundp 'make-symbolic-link) on w32 Lennart Borgman (gmail)
2008-07-18  2:17 ` Stefan Monnier
2008-07-18  8:12   ` Lennart Borgman (gmail)
2008-07-18 19:37     ` Michael Albinus
2008-07-20 15:40     ` Eli Zaretskii
2008-07-20 16:05       ` Lennart Borgman (gmail) [this message]

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=4883625C.7020809@gmail.com \
    --to=lennart.borgman@gmail.com \
    --cc=eliz@gnu.org \
    --cc=emacs-devel@gnu.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 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.