* Merging a local info file with the system's
@ 2009-02-10 9:49 Iain Dalton
0 siblings, 0 replies; 3+ messages in thread
From: Iain Dalton @ 2009-02-10 9:49 UTC (permalink / raw)
To: help-gnu-emacs
Texinfo manual Sec. 21.2.3 says you can add extra info directories to
Info-directory-list and it will merge all the `dir' files it finds. I
created ~/.emacs.d/info/, added info files, and made this `dir' file:
Programming
* ANSI Common Lisp: (ansicl). Draft ANSI Common Lisp standard
Instead of merging the dir files, "C-h i" only shows this minimal one.
What am I doing wrong?
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Merging a local info file with the system's
[not found] <mailman.323.1234280876.31690.help-gnu-emacs@gnu.org>
@ 2009-02-10 16:12 ` Teemu Likonen
2009-02-10 17:19 ` Peter Dyballa
0 siblings, 1 reply; 3+ messages in thread
From: Teemu Likonen @ 2009-02-10 16:12 UTC (permalink / raw)
To: Iain Dalton; +Cc: help-gnu-emacs
On 2009-02-10 02:49 (-0700), Iain Dalton wrote:
> Texinfo manual Sec. 21.2.3 says you can add extra info directories to
> Info-directory-list and it will merge all the `dir' files it finds. I
> created ~/.emacs.d/info/, added info files, and made this `dir' file:
>
> Programming
> * ANSI Common Lisp: (ansicl). Draft ANSI Common Lisp standard
>
> Instead of merging the dir files, "C-h i" only shows this minimal one.
> What am I doing wrong?
I have forgot the theory about how things work but I'll show you what
works in my system. I have this line in my ~/.emacs file:
(add-to-list 'Info-default-directory-list "~/.emacs.d/info/")
And I have a Makefile (see below) for converting .texi files to .info
files and creating "dir" file. If you want to use it put it in your
~/.emacs.d/info/ directory and run "make". First it converts .texi files
(if any) to .info files and then creates a "dir" file from all .info
that are available. Just run "make" if you want to update. Command "make
clean" will delete the "dir" file and all .info files which have the
corresponding .texi file available.
# Makefile
INFO := $(patsubst %.texi,%.info,$(wildcard *.texi))
dir: $(INFO) $(wildcard *.info)
for file in $?; do \
ginstall-info $$file $@; done
%.info: %.texi
makeinfo --output=$@ -- $<
clean:
rm -f -- dir $(INFO)
.PHONY: clean
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Merging a local info file with the system's
2009-02-10 16:12 ` Merging a local info file with the system's Teemu Likonen
@ 2009-02-10 17:19 ` Peter Dyballa
0 siblings, 0 replies; 3+ messages in thread
From: Peter Dyballa @ 2009-02-10 17:19 UTC (permalink / raw)
To: Teemu Likonen; +Cc: help-gnu-emacs
Am 10.02.2009 um 17:12 schrieb Teemu Likonen:
>> Programming
>> * ANSI Common Lisp: (ansicl). Draft ANSI Common Lisp standard
>>
>> Instead of merging the dir files, "C-h i" only shows this minimal
>> one.
>> What am I doing wrong?
The optional section name, the title entry, and its description are
installed via '(sudo) install-info.'
--
Greetings
Pete
Competition is the great erode of profits.
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2009-02-10 17:19 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
[not found] <mailman.323.1234280876.31690.help-gnu-emacs@gnu.org>
2009-02-10 16:12 ` Merging a local info file with the system's Teemu Likonen
2009-02-10 17:19 ` Peter Dyballa
2009-02-10 9:49 Iain Dalton
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).