[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: emacs client/server mode hardcodes /tmp path

From: Juanma Barranquero
Subject: Re: emacs client/server mode hardcodes /tmp path
Date: Wed, 29 Oct 2008 15:55:55 +0100

On Wed, Oct 29, 2008 at 15:41, Stefan Monnier <address@hidden> wrote:

> Please just leave it as 100.  The rest of the code uses 100 everywhere.

Not in emacsclient.c. In src/, I see 100 mostly used as

  char tmp_buf[100];

and similar; but as a size for alloca (), xmalloc () etc. it appears
only a few times, alone or as part of an expression.

> Otherwise, define a macro (which you can set to 42 if you really insist)
> and use it everywhere.

I've already checked the patch with 32, which seems a fine default: a
power of two and small (and it is used a few times already on
emacsclient.c). 42 was obviously only a joke.

But if you insist I can change all these 32 to 100. Or use a macro for
all these EXTRA_SPACE, if you suggest a good name for it.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]