1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235
|
* The following miscellaneous changes have been made.
Patch: misc-unseparated.diff
* Some documentation references to /usr/local/ have been changed to /usr.
* Emacs runs debian-startup.
Emacs runs debian-startup during the startup process unless
site-run-file is false.
* The default for message-sendmail-f-is-evil has been changed to t.
This is correct for Debian systems where we know the MTA should be
trusted.
* mail-from-style changed from 'angles to 'system-default by default.
* debian-emacs-flavor is a global variable bound to 'emacs21.
Author: Rob Browning <rlb@defaultvalue.org>
* Info-default-directory-list includes /usr/share/info/emacs-MAJOR
Author: Rob Browning <rlb@defaultvalue.org>
Info-default-directory-list was modified to reflect the install
location of the info files. This location allows multiple emacsen
to coexist on the same Debian system.
* The build process was modified to accommodate Debian packaging.
Author: Rob Browning <rlb@defaultvalue.org>
Emacs has to be able to install into a directory that will not be
the eventual run directory without embedding the install directory
in any of the resulting files.
diff -urNad /home/rlb/deb/emacs21/trunk/Makefile.in trunk/Makefile.in
--- /home/rlb/deb/emacs21/trunk/Makefile.in 2003-09-11 01:16:07.000000000 -0500
+++ trunk/Makefile.in 2003-09-11 01:16:53.000000000 -0500
@@ -474,11 +474,16 @@
$(srcdir)/mkinstalldirs ${datadir}; \
chmod a+r ${datadir};\
fi
+ test "${debepkgdir}"
$(srcdir)/mkinstalldirs ${COPYDESTS} ${infodir} ${man1dir} \
${bindir} ${docdir} ${libexecdir} \
${datadir}/emacs/site-lisp \
${datadir}/emacs/${version}/site-lisp \
- `echo ${locallisppath} | sed 's/:/ /g'`
+ `echo ${debepkgdir}${locallisppath} | sed 's|:| ${debepkgdir}|g'`
+
+# debepkgdir (above) is set in debian/rules
+
+# `echo debian/tmp-emacs${locallisppath} | sed 's/:/ debian\/tmp-emacs/g'`
### Delete all the installed files that the `install' target would
### create (but not the noninstalled files such as `make all' would
diff -urNad /home/rlb/deb/emacs21/trunk/etc/NEWS trunk/etc/NEWS
--- /home/rlb/deb/emacs21/trunk/etc/NEWS 2003-09-11 01:16:07.000000000 -0500
+++ trunk/etc/NEWS 2003-09-11 01:16:53.000000000 -0500
@@ -6,6 +6,11 @@
For older news, see the file ONEWS
+* Debian specific changes to Emacs
+
+Please see /usr/share/doc/emacs21-common/README.Debian.gz.
+
+
* Installation changes in Emacs 21.3
** Support for GNU/Linux on little-endian MIPS and on IBM S390 has
diff -urNad /home/rlb/deb/emacs21/trunk/etc/emacs.1 trunk/etc/emacs.1
--- /home/rlb/deb/emacs21/trunk/etc/emacs.1 2003-09-11 01:16:07.000000000 -0500
+++ trunk/etc/emacs.1 2003-09-11 01:16:53.000000000 -0500
@@ -169,7 +169,7 @@
window in reverse video.
.TP
.B \-i
-Use the "kitchen sink" bitmap icon when iconifying the
+Use the Emacs icon when iconifying the
.I Emacs
window.
.TP
@@ -221,7 +221,7 @@
.IR X (1)
for more information.
The width and height are specified in characters; the default is 80 by
-24.
+40.
.PP
.TP 8
.BI \-fg " color"
@@ -411,29 +411,29 @@
manual is also included in the Emacs source distribution.
.PP
.SH FILES
-/usr/local/info - files for the Info documentation browser
+/usr/info - files for the Info documentation browser
(a subsystem of Emacs) to refer to. Currently not much of Unix
is documented here, but the complete text of the Emacs reference
manual is included in a convenient tree structured form.
-/usr/local/share/emacs/$VERSION/src - C source files and object files
+/usr/share/emacs/$VERSION/src - C source files and object files
-/usr/local/share/emacs/$VERSION/lisp - Lisp source files and compiled files
+/usr/share/emacs/$VERSION/lisp - Lisp source files and compiled files
that define most editing commands. Some are preloaded;
others are autoloaded from this directory when used.
-/usr/local/share/emacs/$VERSION/etc - various programs that are used with
+/usr/share/emacs/$VERSION/etc - various programs that are used with
GNU Emacs, and some files of information.
-/usr/local/share/emacs/$VERSION/etc/DOC.* - contains the documentation
+/usr/share/emacs/$VERSION/etc/DOC.* - contains the documentation
strings for the Lisp primitives and preloaded Lisp functions
of GNU Emacs. They are stored here to reduce the size of
Emacs proper.
-/usr/local/share/emacs/$VERSION/etc/OTHER.EMACSES discusses GNU Emacs
+/usr/share/emacs/$VERSION/etc/OTHER.EMACSES discusses GNU Emacs
vs. other versions of Emacs.
.br
-/usr/local/share/emacs/$VERSION/etc/SERVICE lists people offering
+/usr/share/emacs/$VERSION/etc/SERVICE lists people offering
various services to assist users of GNU Emacs, including education,
troubleshooting, porting and customization.
.br
@@ -441,7 +441,7 @@
programs in the Emacs Lisp extension language, which has not yet been fully
documented.
-/usr/local/com/emacs/lock - holds lock files that are made for all
+/usr/com/emacs/lock - holds lock files that are made for all
files being modified in Emacs, to prevent simultaneous modification
of one file by two users.
@@ -468,7 +468,7 @@
Send requests to be added to mailing lists to the special list
info-gnu-emacs-request@prep.ai.mit.edu (or the corresponding UUCP
address). For more information about Emacs mailing lists, see the
-file /usr/local/emacs/etc/MAILINGLISTS. Bugs tend actually to be
+file /usr/emacs/etc/MAILINGLISTS. Bugs tend actually to be
fixed if they can be isolated, so it is in your interest to report
them in such a way that they can be easily reproduced.
.PP
diff -urNad /home/rlb/deb/emacs21/trunk/lisp/gnus/message.el trunk/lisp/gnus/message.el
--- /home/rlb/deb/emacs21/trunk/lisp/gnus/message.el 2003-09-11 01:16:07.000000000 -0500
+++ trunk/lisp/gnus/message.el 2003-09-11 01:16:53.000000000 -0500
@@ -402,9 +402,14 @@
(const use)
(const ask)))
-(defcustom message-sendmail-f-is-evil nil
- "*Non-nil means don't add \"-f username\" to the sendmail command line.
-Doing so would be even more evil than leaving it out."
+;; message-sendmail-f-is-evil is nil here in the upstream source, but
+;; sendmail works right under Debian Linux, so we want t. [was
+;; orignally reported for emacs 19 as debian#7051]
+(defcustom message-sendmail-f-is-evil t
+ "*Non-nil means don't add \"-f username\" to the sendmail command
+line, because adding it would be more evil than leaving it out. Under
+Debian/GNU/Linux, sendmail works right, so it should be safe for this
+to be set to true."
:group 'message-sending
:type 'boolean)
diff -urNad /home/rlb/deb/emacs21/trunk/lisp/mail/sendmail.el trunk/lisp/mail/sendmail.el
--- /home/rlb/deb/emacs21/trunk/lisp/mail/sendmail.el 2003-09-11 01:16:07.000000000 -0500
+++ trunk/lisp/mail/sendmail.el 2003-09-11 01:16:53.000000000 -0500
@@ -43,7 +43,7 @@
:group 'mail)
;;;###autoload
-(defcustom mail-from-style 'angles "\
+(defcustom mail-from-style 'system-default "\
*Specifies how \"From:\" fields look.
If `nil', they contain just the return address like:
diff -urNad /home/rlb/deb/emacs21/trunk/lisp/site-init.el trunk/lisp/site-init.el
--- /home/rlb/deb/emacs21/trunk/lisp/site-init.el 1969-12-31 18:00:00.000000000 -0600
+++ trunk/lisp/site-init.el 2003-09-11 01:16:53.000000000 -0500
@@ -0,0 +1,3 @@
+(setq Info-default-directory-list
+ ;; the command line info doesn't seem to need this, but emacs does.
+ (append Info-default-directory-list '("/usr/share/info/emacs-21/")))
diff -urNad /home/rlb/deb/emacs21/trunk/lisp/startup.el trunk/lisp/startup.el
--- /home/rlb/deb/emacs21/trunk/lisp/startup.el 2003-09-11 01:16:07.000000000 -0500
+++ trunk/lisp/startup.el 2003-09-11 01:16:53.000000000 -0500
@@ -339,6 +339,10 @@
(defvar normal-top-level-add-subdirs-inode-list nil)
+(defconst debian-emacs-flavor 'emacs21
+ "A symbol representing the particular debian flavor of emacs running.
+Something like 'emacs20, 'xemacs20, etc.")
+
(defun normal-top-level-add-subdirs-to-load-path ()
"Add all subdirectories of current directory to `load-path'.
More precisely, this uses only the subdirectories whose names
@@ -848,8 +852,18 @@
;; Run the site-start library if it exists. The point of this file is
;; that it is run before .emacs. There is no point in doing this after
;; .emacs; that is useless.
- (if site-run-file
- (load site-run-file t t))
+ ;; (if site-run-file
+ ;; (load site-run-file t t))
+
+ ;; Debian version of site-start.
+ (if site-run-file
+ (progn
+ ;; Load all the debian package snippets.
+ ;; It's in here because we want -q to kill it too.
+ (if (load "debian-startup" t t nil)
+ (debian-startup debian-emacs-flavor))
+ ;; Now the normal site file...
+ (load site-run-file t t nil)))
;; Sites should not disable this. Only individuals should disable
;; the startup message.
diff -urNad /home/rlb/deb/emacs21/trunk/lisp/vc-hooks.el trunk/lisp/vc-hooks.el
--- /home/rlb/deb/emacs21/trunk/lisp/vc-hooks.el 2003-09-11 01:16:07.000000000 -0500
+++ trunk/lisp/vc-hooks.el 2003-09-11 01:16:53.000000000 -0500
@@ -54,8 +54,8 @@
:group 'vc)
(defcustom vc-path
- (if (file-directory-p "/usr/sccs")
- '("/usr/sccs")
+ (if (file-directory-p "/usr/lib/cssc")
+ '("/usr/lib/cssc")
nil)
"*List of extra directories to search for version control commands."
:type '(repeat directory)
|