From: Marcin Borkowski <mbork@mbork.pl>
To: Emanuel Berg <embe8573@student.uu.se>
Cc: help-gnu-emacs@gnu.org
Subject: Re: on specifying the C source code directory
Date: Tue, 02 Feb 2016 08:23:54 +0100 [thread overview]
Message-ID: <8737tbh8xh.fsf@mbork.pl> (raw)
In-Reply-To: <87zivk7yps.fsf@debian.uxu>
On 2016-02-02, at 01:17, Emanuel Berg <embe8573@student.uu.se> wrote:
> Daniel Bastos <dbastos@toledo.com> writes:
>
>> (setq find-function-C-source-directory
>> (file-name-as-directory "path/to/my/emacs/src"))
>
> `file-name-as-directory' just adds a trail slash so
> that can be added manually.
As the docstring says, in Unix this is so. I don't know about other
systems.
> Also, it doesn't seem to be necessary! I never thought
> about it, but I see now that I have it like this - no
> slash - and it has always worked just the same:
>
> (defvar find-function-C-source-directory)
> (setq find-function-C-source-directory "~/.emacs.d/emacs-24.1/src")
Out of curiosity: why defvar?
Best,
--
Marcin Borkowski
http://octd.wmi.amu.edu.pl/en/Marcin_Borkowski
Faculty of Mathematics and Computer Science
Adam Mickiewicz University
next prev parent reply other threads:[~2016-02-02 7:23 UTC|newest]
Thread overview: 40+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-01-26 18:08 on ``An Introduction to Programming in Emacs Lisp'' Daniel Bastos
2016-01-28 23:58 ` Emanuel Berg
2016-01-29 2:11 ` Robert Thorpe
2016-01-29 12:38 ` Filipp Gunbin
2016-01-29 13:20 ` Paul Smith
2016-01-29 20:46 ` Emanuel Berg
2016-01-29 22:20 ` Marcin Borkowski
2016-01-30 9:05 ` Emanuel Berg
2016-01-30 9:57 ` Marcin Borkowski
2016-01-30 0:23 ` Robert Thorpe
2016-01-30 9:22 ` Emanuel Berg
2016-01-30 14:19 ` Robert Thorpe
2016-01-31 20:45 ` Emanuel Berg
2016-02-01 11:07 ` Marcin Borkowski
2016-02-02 0:28 ` Emanuel Berg
2016-02-02 7:22 ` Marcin Borkowski
2016-02-02 22:59 ` Emanuel Berg
2016-02-03 9:25 ` Marcin Borkowski
2016-02-03 20:00 ` Emanuel Berg
2016-02-04 16:37 ` Nick Dokos
[not found] ` <mailman.3524.1454529667.843.help-gnu-emacs@gnu.org>
2016-02-03 20:12 ` Pascal J. Bourguignon
2016-02-04 1:15 ` Emanuel Berg
[not found] ` <mailman.3489.1454491565.843.help-gnu-emacs@gnu.org>
2016-02-03 11:43 ` Daniel Bastos
2016-02-03 20:08 ` Emanuel Berg
[not found] ` <mailman.3404.1454397765.843.help-gnu-emacs@gnu.org>
2016-02-02 11:43 ` Rusi
[not found] ` <mailman.3321.1454324852.843.help-gnu-emacs@gnu.org>
2016-02-01 12:07 ` on specifying the C source code directory (Was: Re: on ``An Introduction to Programming in Emacs Lisp'') Daniel Bastos
2016-02-01 12:38 ` Marcin Borkowski
2016-02-01 12:32 ` tomas
2016-02-01 13:54 ` Kaushal Modi
2016-02-01 16:42 ` on specifying the C source code directory Daniel Bastos
2016-02-02 0:17 ` Emanuel Berg
2016-02-02 7:23 ` Marcin Borkowski [this message]
2016-02-02 23:04 ` defvar and "assignment to free variable" (was: Re: on specifying the C source code directory) Emanuel Berg
[not found] ` <mailman.3326.1454332068.843.help-gnu-emacs@gnu.org>
2016-02-02 11:57 ` on specifying the C source code directory Daniel Bastos
2016-02-02 11:52 ` tomas
[not found] ` <mailman.3168.1454113433.843.help-gnu-emacs@gnu.org>
2016-01-30 3:20 ` on ``An Introduction to Programming in Emacs Lisp'' Rusi
[not found] ` <mailman.3104.1454025553.843.help-gnu-emacs@gnu.org>
2016-01-29 20:29 ` Javier
2016-01-30 3:26 ` Pascal J. Bourguignon
2016-01-30 9:02 ` Emanuel Berg
2016-01-30 15:29 ` 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=8737tbh8xh.fsf@mbork.pl \
--to=mbork@mbork.pl \
--cc=embe8573@student.uu.se \
--cc=help-gnu-emacs@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.