Gentoo Archives: gentoo-commits

From: "Christian Faulhammer (fauli)" <fauli@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] emacs r1205 - emacs-daemon
Date: Wed, 31 Dec 2008 11:07:20
Message-Id: E1LHyut-0003P3-Hw@stork.gentoo.org
1 Author: fauli
2 Date: 2008-12-31 11:07:09 +0000 (Wed, 31 Dec 2008)
3 New Revision: 1205
4
5 Added:
6 emacs-daemon/README
7 Modified:
8 emacs-daemon/ChangeLog
9 emacs-daemon/Makefile
10 Log:
11 * README: Add little user guide how to use the emacs-daemon script
12
13 * Makefile (DISTFILES): Put it into the tarball
14
15
16
17 Modified: emacs-daemon/ChangeLog
18 ===================================================================
19 --- emacs-daemon/ChangeLog 2008-12-30 17:05:24 UTC (rev 1204)
20 +++ emacs-daemon/ChangeLog 2008-12-31 11:07:09 UTC (rev 1205)
21 @@ -1,3 +1,9 @@
22 +2008-12-31 Christian Faulhammer <fauli@g.o>
23 +
24 + * README: Add little user guide how to use the emacs-daemon script
25 +
26 + * Makefile (DISTFILES): Put it into the tarball
27 +
28 2008-12-27 Ulrich Mueller <ulm@g.o>
29
30 * Version 0.10 released.
31
32 Modified: emacs-daemon/Makefile
33 ===================================================================
34 --- emacs-daemon/Makefile 2008-12-30 17:05:24 UTC (rev 1204)
35 +++ emacs-daemon/Makefile 2008-12-31 11:07:09 UTC (rev 1205)
36 @@ -7,7 +7,7 @@
37 P = $(PN)-$(PV)
38
39 DISTFILES = ChangeLog emacs.rc emacs.conf emacs-wrapper.sh \
40 - 10emacs-daemon-gentoo.el
41 + 10emacs-daemon-gentoo.el README
42
43
44 .PHONY: all dist clean
45
46 Added: emacs-daemon/README
47 ===================================================================
48 --- emacs-daemon/README (rev 0)
49 +++ emacs-daemon/README 2008-12-31 11:07:09 UTC (rev 1205)
50 @@ -0,0 +1,32 @@
51 +User Guide for Emacs Daemon init script
52 +=======================================
53 +
54 +GNU Emacs 23 supports running as a daemon in the background, to which
55 +a user can connect through the emacsclient program. No matter if from
56 +a terminal session (emacsclient -t) or from a X window (emacsclient
57 +-c), so this gives maximum flexibility in connection with the
58 +multi-tty extension also added to Emacs 23.
59 +
60 +Every user who wants to connect to an Emacs server must have an own
61 +instance of the daemonized GNU Emacs. The init script automatically
62 +determines the user by its name, so you create a symbolic link (do
63 +not copy the script!) in your /etc/init.d directory:
64 +
65 + ln -s emacs emacs.<username>
66 +
67 +Which should then be added to the boot sequence (and will run under
68 +the user's privileges)
69 +
70 + rc-update add emacs.<username>
71 +
72 +File associations in your desktop system should call $(emacsclient
73 +-c), to get the greatest benefits of the daemon setup. When closing a
74 +session or frame, no contents is lost, just reconnect to your server.
75 +
76 +Further customizations can be done through the /etc/conf.d/emacs file,
77 +which is extensively commented. Global or per user configuration is
78 +possible, by naming the configuration file.
79 +
80 +Please contact the Gentoo GNU Emacs team directly through
81 +http://bugs.gentoo.org/ (preferred) or by email (emacs@g.o) if
82 +you have problems, feature requests or found bugs.