unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Stefan Monnier <monnier@iro.umontreal.ca>
Cc: Eli Zaretskii <eliz@gnu.org>, storm@cua.dk, emacs-devel@gnu.org
Subject: Re: Bootstrap failed during compile of process.c
Date: Thu, 05 Jan 2006 11:02:45 -0500	[thread overview]
Message-ID: <m1k6de1x8t.fsf-monnier+emacs@gnu.org> (raw)
In-Reply-To: <43BC1745.2020500@student.lu.se> (Lennart Borgman's message of "Wed, 04 Jan 2006 19:43:17 +0100")

>     (defvar server-socket-dir
>      (format "/tmp/emacs%d" (user-uid)))

> Should not this use `temporary-file-directory'?

emacsclient.c needs to use the exact same name without having to
read&parse your .emacs.  So yes it would be good, but no I don't think it
can be done realistically.

> Why does this happen? It would be very good if new code where cross
> platform. (On the elisp level I guess that care must be taken for all
> operations handling files. Is there anything else? Maybe networking?)

The reason why I wrote it this way is because I don't know better.
Hopefully file-modes returns the same kind of values on Unix and w32 so the
above code may look Unixy but will work under w32 nonetheless.


        Stefan

      reply	other threads:[~2006-01-05 16:02 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-01-04  6:58 Bootstrap failed during compile of process.c Lennart Borgman
2006-01-04  9:05 ` Kim F. Storm
2006-01-04 14:31   ` Lennart Borgman
2006-01-04 15:49     ` Kim F. Storm
2006-01-04 17:51       ` Lennart Borgman
2006-01-04 17:59       ` Eli Zaretskii
2006-01-04 17:56     ` Eli Zaretskii
2006-01-04 18:22       ` Lennart Borgman
2006-01-04 18:27         ` Eli Zaretskii
2006-01-04 18:50           ` Lennart Borgman
2006-01-04 19:59             ` Lennart Borgman
2006-01-04 18:43       ` Lennart Borgman
2006-01-05 16:02         ` Stefan Monnier [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

  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=m1k6de1x8t.fsf-monnier+emacs@gnu.org \
    --to=monnier@iro.umontreal.ca \
    --cc=eliz@gnu.org \
    --cc=emacs-devel@gnu.org \
    --cc=storm@cua.dk \
    /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).