From: Benjamin Riefenstahl <b.riefenstahl@turtle-trading.net>
Cc: Juanma Barranquero <lekktu@gmail.com>, emacs-devel@gnu.org
Subject: Re: -DVERSION for emacsclient
Date: Fri, 24 Nov 2006 18:10:00 +0100 [thread overview]
Message-ID: <m33b88epp3.fsf@seneca.benny.turtle-trading.net> (raw)
In-Reply-To: <u4psqn5xb.fsf@gnu.org> (Eli Zaretskii's message of "Thu, 23 Nov 2006 06:27:44 +0200")
Hi Eli,
Eli Zaretskii writes:
> You mean more portable than this:
>
> sed -n -e '/(defconst emacs-version/ s/^[^"]*\("[^"]*"\).*/\1/p' version.el
Wouldn't it be possible to make emacsclient depend on the Emacs binary
(if it isn't already) and use an Elisp script and "emacs -batch" to
put the value of emacs-version into emacsclient.c?
As an alternative, if you don't want to make that a strong dependency,
test if the Emacs binary is present and only call the Elisp script in
the common case that it has been made.
Just a thought,
benny
next prev parent reply other threads:[~2006-11-24 17:10 UTC|newest]
Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-11-23 2:02 -DVERSION for emacsclient Juanma Barranquero
2006-11-23 4:27 ` Eli Zaretskii
2006-11-23 4:46 ` Lennart Borgman
2006-11-24 18:20 ` Eli Zaretskii
2006-11-23 9:17 ` Juanma Barranquero
2006-11-24 17:10 ` Benjamin Riefenstahl [this message]
2006-11-24 18:21 ` Eli Zaretskii
2006-11-24 19:28 ` Juanma Barranquero
2006-11-24 21:13 ` Eli Zaretskii
2006-11-24 23:55 ` Juanma Barranquero
2006-11-25 10:32 ` Eli Zaretskii
2006-11-25 13:01 ` Juanma Barranquero
2006-11-25 13:14 ` Eli Zaretskii
2006-11-25 13:25 ` Juanma Barranquero
2006-11-25 14:01 ` 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
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=m33b88epp3.fsf@seneca.benny.turtle-trading.net \
--to=b.riefenstahl@turtle-trading.net \
--cc=emacs-devel@gnu.org \
--cc=lekktu@gmail.com \
/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.