ChangeLog 394 KB
Newer Older
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24
2000-10-21  Stefan Monnier  <monnier@cs.yale.edu>

	* progmodes/sh-script.el (sh-mode-map): Remove bindings for
	sh-electric-rparen, sh-electric-less and sh-electric-hash.
	(sh-st-punc, sh-here-doc-syntax): Use string-to-syntax.
	(sh-font-lock-heredoc, sh-font-lock-paren): New funs.
	(sh-font-lock-syntactic-keywords): Use them.
	(sh-heredoc-face, sh-st-face, sh-special-syntax): Remove.
	(sh-mkword-regexp, sh-electric-rparen-needed-here): Remove.
	(sh-mode): Don't override font-lock-unfontify-region-function.
	Use a copy of sh-font-lock-syntactic-keywords.
	(sh-set-shell): Don't set sh-electric-rparen-needed-here.
	Don't call sh-scan-buffer since font-lock does it on the fly.
	(sh-get-indent-info): Use `face' rather than `syntax-table'
	text-property to detect here-documents.
	Replace sh-special-syntax with sh-st-punc.
	(sh-prev-line): Use `face' rather than `syntax-table'
	text-property to skip over here-documents.
	(sh-font-lock-unfontify-region-function, sh-check-paren-in-case)
	(sh-set-char-syntax, sh-electric-rparen, sh-electric-hash)
	(sh-electric-less, sh-set-here-doc-region)
	(sh-remove-our-text-properties, sh-search-word, sh-scan-case) 
	(sh-scan-buffer, sh-rescan-buffer): Remove.

Andrew Innes's avatar
Andrew Innes committed
25 26 27 28 29
2000-10-21  Andrew Innes  <andrewi@gnu.org>

	* w32-fns.el (make-auto-save-file-name): Don't apply conversion to
	remote (ange-ftp) file names.

30 31
2000-10-21  Miles Bader  <miles@gnu.org>

32 33 34
	* window.el (fit-window-to-buffer): New function.
	(shrink-window-if-larger-than-buffer): Use it.
	* help.el (resize-temp-buffer-window): Use `fit-window-to-buffer'.
Miles Bader's avatar
Miles Bader committed
35 36
	* international/quail.el (quail-update-guidance): Use
	`fit-window-to-buffer' instead of `set-window-text-height'.
37

38 39 40 41 42
	* international/quail.el (quail-show-guidance-buf): Make sure
	guidance window really has enough room.
	(quail-update-guidance): If quail-guidance-win is already shown,
	make sure its height is OK.

43 44 45 46 47 48 49 50
	* window.el (window-text-height, set-window-text-height):
	New functions.
	(shrink-window-if-larger-than-buffer): Use `window-text-height'
	instead of `window-height' & `mode-line-window-height-fudge'.
	(mode-line-window-height-fudge): Add FACE parameter.
	* help.el (resize-temp-buffer-window): Use `set-window-text-height'
	instead of `enlarge-window' & `mode-line-window-height-fudge'.

51 52 53 54 55 56 57 58 59 60 61 62
2000-10-20  Miles Bader  <miles@gnu.org>

	* window.el (height-affecting-face-attributes): Use `defconst'.

	* textmodes/ispell.el (ispell-mode-line-window-height-fudge):
	New function, conditionally aliased to `mode-line-window-height-fudge'.
	(ispell-help): Use it.
	(ispell-choices-win-default-height): Don't include mode-line fudge.
	(ispell-choices-win-default-height): New function.
	(ispell-show-choices, ispell-command-loop): Use function
	`ispell-choices-win-default-height' instead of variable.

Miles Bader's avatar
Miles Bader committed
63 64
2000-10-20  Miles Bader  <miles@lsi.nec.co.jp>

65 66 67 68 69 70
	* window.el (mode-line-window-height-fudge): New variable.
	(height-affecting-face-attributes): New variable.
	(mode-line-window-height-fudge): New function.
	(shrink-window-if-larger-than-buffer): Use it.
	* help.el (resize-temp-buffer-window): Likewise.

Miles Bader's avatar
Miles Bader committed
71 72 73 74 75 76
	* info.el (Info-fontify-node): Add support for @subsubsection
	titles, which use `Info-title-4-face'.
	(Info-title-4-face): New face.
	(Info-title-3-face): Inherit from Info-title-4-face instead of
	variable-pitch.

Jason Rumney's avatar
Jason Rumney committed
77 78 79 80 81
2000-10-19  Jason Rumney  <jasonr@gnu.org>

	* dired.el (dired-insert-directory): Do not let errors signalled by
	attempt to run dired-free-space-program prevent dired from working.

Stefan Monnier's avatar
Stefan Monnier committed
82 83 84 85
2000-10-19  Stefan Monnier  <monnier@cs.yale.edu>

	* diff-mode.el (diff-find-file-name): Fix regex subgroup number.

86 87
2000-10-19  Gerd Moellmann  <gerd@gnu.org>

88 89
	* dirtrack.el (dirtrack): Fix call to run-hooks.

90 91 92 93 94 95
	* cmuscheme.el (cmuscheme-program-name): Renamed from
	scheme-program-name because xscheme.el contains a defcustom with
	the same name.  As a consequence, customizing group `cmuscheme'
	loaded `xscheme' which redefined run-scheme.
	(run-scheme): Use cmuscheme-program-name.

96 97 98
	* ps-print.el (ps-print-emacs-type): Move into the
	eval-and-compile.

99
	* play/doctor.el (doctor-death): Update the Samaritans'
Stefan Monnier's avatar
Stefan Monnier committed
100
	anonymous address, and add a website for Befrienders International.
101
	
102 103
2000-10-19  Vinicius Jose Latorre  <vinicius@cpqd.com.br>

Stefan Monnier's avatar
Stefan Monnier committed
104 105
	* ps-print.el: Even/odd pages fix.  Fix little bug on XEmacs.
	Avoid compilation gripes.  Doc fix.
106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126
	(ps-print-version): New version number (6.2).
	(ps-x-color-instance-p, ps-x-color-instance-rgb-components)
	(ps-x-color-name, ps-x-color-specifier-p, ps-x-copy-coding-system)
	(ps-x-device-class, ps-x-extent-end-position, ps-x-extent-face)
	(ps-x-extent-priority, ps-x-extent-start-position)
	(ps-x-face-font-instance, ps-x-find-coding-system)
	(ps-x-font-instance-properties, ps-x-make-color-instance)
	(ps-x-map-extents): Alias for functions without the prefix `ps-x-', to
	avoid compilation gripes without defining functions.
	(ps-e-find-composition): Alias for function find-composition, to have a
	suitable function depending on Emacs version.
	(ps-color-device, ps-color-values, ps-face-foreground-name)
	(ps-face-background-name, ps-face-bold-p, ps-face-italic-p, ps-mapper)
	(ps-extent-sorter, ps-xemacs-face-kind-p, ps-xemacs-color-name)
	(ps-print-ensure-fontified): Function definitions surrounded by
	`eval-and-compile' to avoid compilation gripes.
	(ps-font-lock-face-attributes): `font-lock-face-attributes' evaluated
	by symbol-value to avoid compilation gripes.
	(ps-end-file, ps-header-sheet, ps-plot-region): Even/odd pages fix.
	(ps-generate-postscript-with-faces): Fix little bug on XEmacs.

127 128
2000-10-19  Miles Bader  <miles@lsi.nec.co.jp>

Miles Bader's avatar
Miles Bader committed
129 130 131 132
	* startup.el (normal-top-level): Call `frame-set-background-mode'
	after `frame-notice-user-settings' because the latter doesn't call
	the former on a tty.

133 134 135
	* faces.el (frame-set-background-mode): `unspecified' &c are
	symbols, not strings.

Eli Zaretskii's avatar
Eli Zaretskii committed
136 137
2000-10-19  Eli Zaretskii  <eliz@is.elta.co.il>

Stefan Monnier's avatar
Stefan Monnier committed
138 139
	* term/tty-colors.el (color-name-rgb-alist): Add a comment explaining
	why some "light*" colors are deliberately absent from the alist.
Eli Zaretskii's avatar
Eli Zaretskii committed
140

Stefan Monnier's avatar
Stefan Monnier committed
141 142
	* info.el (Info-title-1-face, Info-title-2-face, Info-title-3-face):
	Change colors for tty's, as suggested by Miles Bader.
Eli Zaretskii's avatar
Eli Zaretskii committed
143

Kenichi Handa's avatar
Kenichi Handa committed
144 145
2000-10-19  Kenichi Handa  <handa@etl.go.jp>

Stefan Monnier's avatar
Stefan Monnier committed
146
	* international/fontset.el: Use registry "MuleTibetan-2" for Tibetan.
Kenichi Handa's avatar
Kenichi Handa committed
147 148 149 150
	(ccl-encode-mule-unicode-0100-24ff): New CCL program.  Register it
	for ISO10646-1 fonts.
	(x-font-name-charset-alist): Add an entry for "iso10646-1".

151 152 153 154 155 156
2000-10-19  Eli Zaretskii  <eliz@is.elta.co.il>

	* faces.el (frame-set-background-mode): If a tty frame defines a
	background color, use that to compute the background mode, instead
	of always defaulting to "dark".

157 158
2000-10-19  Miles Bader  <miles@lsi.nec.co.jp>

Miles Bader's avatar
Miles Bader committed
159 160
	* comint.el (comint-write-output): New function.
	(comint-mode-map): Add it to the menu.
Miles Bader's avatar
Miles Bader committed
161
	Bind `C-c C-s' to comint-write-output.
162

163 164 165 166 167
2000-10-18  Gerd Moellmann  <gerd@gnu.org>

	* startup.el (fancy-splash-screens): Set buffer-undo-list to t.
	Use fancy-splash-delay.

168 169 170 171 172 173
2000-10-18  Alex Schroeder  <alex@gnu.org>

	* progmodes/sql.el (sql-sybase-options): New option.
	(sql-sybase): Use it.  Add sql-database to the list of parameters
	provided for login.  The options -w 2048 -n are not used any more.

Gerd Moellmann's avatar
Gerd Moellmann committed
174 175 176
	* comint.el (comint-read-input-ring): Bugfix such that the first
	and the last entry of the input ring file are not lost.

177 178 179 180 181 182 183 184 185 186 187 188 189
2000-10-18  Vinicius Jose Latorre  <vinicius@cpqd.com.br>

	* ps-print.el: Internal variable changes to defcustom,
	make-local-hook changes to defvar.  Doc fix.
	(ps-print-version): New version number (6.1).
	(ps-setup, ps-do-despool): Code fix.
	(ps-printer-name): Customization fix.
	(ps-printer-name-option): Now is a defcustom instead of an
	internal variable.
	(ps-print-hook, ps-print-begin-sheet-hook, ps-print-begin-page-hook)
	(ps-print-begin-column-hook): Now are defvar instead of
	make-local-hook.
	
190 191 192 193 194 195 196
2000-10-18  Miles Bader  <miles@gnu.org>

	* comint.el (comint-delete-output): Renamed from `comint-kill-output'.
	(comint-kill-output): Changed into an alias for `comint-delete-output',
	and made obsolete.
	(comint-mode-map): Rename references to comint-kill-output.

197 198 199 200 201 202 203
2000-10-18  Eli Zaretskii  <eliz@is.elta.co.il>

	* diff-mode.el (diff-header-face, diff-file-header-face)
	(diff-changed-face): Add bold and italic attributes to tty faces.
	(diff-function-face): New face.
	(diff-font-lock-keywords): Use it.

Miles Bader's avatar
Miles Bader committed
204 205 206 207 208 209 210
2000-10-18  Miles Bader  <miles@lsi.nec.co.jp>

	* comint.el (comint-output-filter): Fixup comint-last-input-end too.
	Remove commented-out call to force-mode-line-update.
	(comint-kill-output): Use `forward-line 0' instead of
	beginning-of-line to make sure we get past the prompt.

211 212 213 214 215 216 217
2000-10-17  Stefan Monnier  <monnier@cs.yale.edu>

	* diff-mode.el (diff-header-face, diff-file-header-face):
	Add specific setting for dark background.
	(diff-context-face): Renamed from diff-comment-face.
	Set explicitly rather than inheriting from font-lock-comment-face.

218 219 220 221 222
2000-10-17  Eli Zaretskii  <eliz@is.elta.co.il>

	* startup.el (command-line): Move the code which sets the default
	TTY colors to before before-init-hook.

223 224 225 226
2000-10-17  Gerd Moellmann  <gerd@gnu.org>

	* jit-lock.el (jit-lock-stealth-time): Doc fix.

Eli Zaretskii's avatar
Eli Zaretskii committed
227 228
2000-10-17  Eli Zaretskii  <eliz@is.elta.co.il>

229 230 231
	* files.el (auto-mode-alist): Add .dif and .pat as diff-mode
	extensions, for MS-DOS.

Eli Zaretskii's avatar
Eli Zaretskii committed
232 233 234
	* diff-mode.el (diff-header-face, diff-file-header-face)
	(diff-changed-face): Define tty-specific colors.

Gerd Moellmann's avatar
Gerd Moellmann committed
235 236 237 238
2000-10-17  Gerd Moellmann  <gerd@gnu.org>

	* startup.el (fancy-splash-text): Realign the text.

Eli Zaretskii's avatar
Eli Zaretskii committed
239 240 241 242 243
2000-10-17  Eli Zaretskii  <eliz@is.elta.co.il>

	* font-lock.el (font-lock-comment-face): Define a separate default
	for dark-background tty's.

244 245 246 247 248
2000-10-17  Miles Bader  <miles@gnu.org>

	* help.el (resize-temp-buffer-window): Add hack to avoid last line
	being obscured by whizzy mode-lines on graphics displays.

249 250 251 252
2000-10-17  Eli Zaretskii  <eliz@is.elta.co.il>

	* info.el (Info-title-1-face, Info-title-2-face)
	(Info-title-3-face): Define colors for tty's.
253
	(info-header-node): Remove unneeded tty-specific definition.
254

Eli Zaretskii's avatar
Eli Zaretskii committed
255 256 257 258 259 260
2000-10-16  Eli Zaretskii  <eliz@is.elta.co.il>

	* term/pc-win.el (msdos-handle-reverse-video): Don't remove
	reverse from the frame parameters, and don't invert foreground and
	background colors.

Miles Bader's avatar
Miles Bader committed
261 262 263 264 265 266
2000-10-16  Miles Bader  <miles@gnu.org>

	* info.el (Info-set-mode-line): Use `%b' instead of hardwired
	string "*Info*".  Call propertized-buffer-identification to spruce
	up the result.

Gerd Moellmann's avatar
Gerd Moellmann committed
267 268
2000-10-16  Gerd Moellmann  <gerd@gnu.org>

Gerd Moellmann's avatar
Gerd Moellmann committed
269 270 271
	* help.el: Provide `help' for the sake of define-minor-mode
	which generates defcustoms with requires.

Gerd Moellmann's avatar
Gerd Moellmann committed
272 273 274 275
	* jit-lock.el (jit-lock-after-change): If we're in text that
	matches a multi-line font-lock pattern, make sure the whole text
	will be redisplayed.

Gerd Moellmann's avatar
Gerd Moellmann committed
276 277 278
	* emacs-lisp/authors.el (authors-add): Don't add an entry if
	author's name is unknown.

Gerd Moellmann's avatar
Gerd Moellmann committed
279 280 281 282 283 284 285 286 287 288 289
	* eshell/esh-var.el, eshell/esh-util.el, eshell/esh-test.el,
	* eshell/esh-proc.el, eshell/esh-opt.el, eshell/esh-mode.el,
	* eshell/esh-maint.el, eshell/esh-io.el, eshell/esh-ext.el,
	* eshell/esh-cmd.el, eshell/esh-arg.el, eshell/em-xtra.el,
	* eshell/em-unix.el, eshell/em-term.el, eshell/em-smart.el,
	* eshell/em-script.el, eshell/em-rebind.el, eshell/em-prompt.el,
	* eshell/em-pred.el, eshell/em-ls.el, eshell/em-hist.el,
	* eshell/em-glob.el, shell/em-dirs.el, eshell/em-cmpl.el,
	* eshell/em-basic.el, eshell/em-banner.el, eshell/em-alias.el:
	Add author information.

290 291 292 293 294 295
2000-10-16  Miles Bader  <miles@lsi.nec.co.jp>

	* toolbar/up_arrow.xpm, toolbar/right_arrow.xpm:
	* toolbar/left_arrow.xpm, toolbar/home.xpm: Re-convert from
	full-color version (using the Gimp) to eliminate dithering artifacts.

Stefan Monnier's avatar
Stefan Monnier committed
296 297 298 299 300 301
2000-10-15  Stefan Monnier  <monnier@cs.yale.edu>

	* font-lock.el (font-lock-syntactic-keywords): Fix docstring.

	* simple.el (syntax-flag-table, string-to-syntax): Remove.

Dave Love's avatar
Dave Love committed
302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327
2000-10-15  Dave Love  <fx@gnu.org>

	* progmodes/sh-script.el: Require skeleton and comint when
	compiling.

	* pcomplete.el (pcomplete) <defgroup>: Add :version.

	* whitespace.el: Doc fixes.
	(top-level): Don't add hooks here.
	(whitespace-running-emacs): Deleted.
	(timer): Don't require.
	(whitespace): Add back :version conditional on xemacs test.
	(whitespace-spacetab-regexp, whitespace-indent-regexp)
	(whitespace-ateol-regexp, whitespace-modes): Fix custom type.
	(whitespace-force-mode-line-update, whitespace-refresh-rescan-list)
	(whitespace-tickle-timer, whitespace-rescan-files-in-buffers):
	Avoid specific xemacs test.
	(whitespace-global-mode): New option.
	(whitespace-global-mode): New command.
	(whitespace-unload-hook): New function.

	* info.el (Info-mouse-follow-nearest-node): Use mouse-set-point.
	(Info-fontify-node, Info-goto-node, Info-mode-menu) 
	(Info-fontify-node): `Goto' goes to `Go to'.
	(Info-fontify-node): Add help-echo to xref links.

328 329 330 331
2000-10-15  Eli Zaretskii  <eliz@is.elta.co.il>

	* eshell/em-unix.el (eshell-du-prefer-over-ange): Doc fix.

332 333
2000-10-15  Stefan Monnier  <monnier@cs.yale.edu>

Stefan Monnier's avatar
Stefan Monnier committed
334 335 336 337 338 339
	* emacs-lisp/easy-mmode.el (easy-mmode-define-syntax):
	Use plist-get and allow :inherit.

	* emacs-lisp/cl-macs.el (cl-do-arglist):
	Use plist-get and plist-member instead of memq.

340 341 342 343 344 345 346
	* emacs-lisp/ewoc.el (ewoc-location): New function.
	(ewoc-enter-after, ewoc-enter-before): Document return value.
	* pcvs.el (cvs-make-cvs-buffer, cvs-run-process):
	Don't need make-local-hook any more.
	(cvs-addto-collection): Return the new tin.
	(cvs-mode-insert): Jump to the new line.

347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397
	* jit-lock.el (jit-lock-fontify-buffer): Remove.

	* arc-mode.el (archive-zoo-summarize): Fix from gnu.emacs.bug.

	* font-lock.el (font-lock-syntactically-fontified): New var.
	(font-lock-fontify-syntactic-keywords-region): Use it.
	(font-lock-mode): Fix docstring.  Don't need make-local-hook anymore.

	* diff-mode.el (diff-find-file-name): Fix regexp.

	* emacs-lisp/cl-extra.el (cl-builtin-gethash, cl-builtin-remhash)
	(cl-builtin-clrhash, cl-builtin-maphash): Add for byte-compatibility.

	* progmodes/sh-script.el (sh-imenu-generic-expression): Fix.
	(sh-mode-syntax-table): Add punctuation syntax for < and >.
	(sh-mode): Don't make all vars local here.
	(sh-kw): Reformat.
	(sh-set-shell): Use dolist.  Don't set indent-region-function.
	(sh-mode-syntax-table): Use pop.
	(sh-remember-variable): Use push.
	(sh-help-string-for-variable): Use memq.
	(sh-safe-backward-sexp): Remove.
	(sh-safe-forward-sexp): Add ARG.
	(sh-get-indent-info, sh-prev-stmt): Use it.
	(sh-prev-line): Simplify by using forward-comment.
	(sh-this-is-a-continuation): Simplify.
	(sh-learn-buffer-indent): Use dolist.
	(sh-do-nothing): Remove.
	(sh-set-char-syntax, sh-set-here-doc-region):
	Use inhibit-modification-hooks.
	(sh-name-style): Use mapcar and push.
	(sh-load-style): Use dolist.
	(sh-save-styles-to-buffer): Use with-current-buffer and pp.
	(sh-case, sh-while-getopts): Use propertize directly rather
	than sh-electric-rparen.

2000-10-14  Stefan Monnier  <monnier@cs.yale.edu>

	* textmodes/tex-mode.el: Require CL when compiling.
	(tex-mode-syntax-table): Init immediately.
	(tex-mode-map): Bind M-RET to latex-insert-item.
	(latex-mode): Set indent-line-function to latex-indent.
	(tex-common-initialization): Don't setup the syntax-table any more.
	(latex-insert-item): New skeleton.
	(tex-next-unmatched-end): Fix copy/paste braino.
	(latex-syntax-after, latex-skip-close-parens, latex-down-list) 
	(latex-indent, latex-find-indent): New functions.
	(tex-indent-allhanging, tex-indent-arg, tex-latex-indent-syntax-table) 
	(tex-indent-item, tex-indent-item-re, tex-indent-basic): New vars.
	(tex-compilation-parse-errors): Use with-syntax-table.

398 399 400 401 402
2000-10-15  Miles Bader  <miles@gnu.org>

	* font-lock.el (font-lock-comment-face): Change dark-background,
	color, non-tty, default to `chocolate1'.

John Wiegley's avatar
John Wiegley committed
403 404 405 406 407
2000-10-13  John Wiegley  <johnw@gnu.org>

	* eshell/esh-util.el (require): Added a missing `require' form,
	needed when compiling (for an ange-ftp macro definition).

Dave Love's avatar
Dave Love committed
408 409 410 411
2000-10-13  Dave Love  <fx@gnu.org>

	* toolbar/paste.pbm, toolbar/saveas.pbm: Retouch.

412 413
2000-10-13  Gerd Moellmann  <gerd@gnu.org>

414 415 416
	* emacs-lisp/lisp.el (down-list, backward-up-list, up-list): Doc
	fix.

417 418 419
	* toolbar/*.xpm: Reduce to max. 8 colors (mogrify -colorspace 
	transparent -colors 8).

420 421 422 423 424 425 426 427
2000-10-13  Stephen Gildea  <gildea@alum.mit.edu>

	* time-stamp.el (time-stamp): Fixed bug in new multi-line code
	that breaks with old list format timestamps.
	(time-stamp-warn-inactive, time-stamp-old-format-warn)
	(time-stamp-count, time-stamp-conversion-warn): Improved doc
	strings.

John Wiegley's avatar
John Wiegley committed
428 429
2000-10-13  John Wiegley  <johnw@gnu.org>

430 431 432
	* align.el, pcomplete.el, calendar/timeclock.el,
	eshell/esh-module.el, eshell/eshell.el: Removed URL reference.

John Wiegley's avatar
John Wiegley committed
433 434 435
	* calendar/timeclock.el (timeclock-find-discrep): A fix to same
	faulty math, where holiday hours were being computing as seconds.

436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455
2000-10-13  John Wiegley  <johnw@gnu.org>

	* desktop.el (desktop-buffer-modes-to-save): Added a global for
	specifying what "other" kinds of buffers should be saved.  This
	used to be hard-coded.
	(desktop-buffer-misc-functions): A global for specifying how
	auxiliary data should be determined for special buffer types.
	(desktop-save-buffer-p): Use `desktop-buffer-modes-to-save',
	instead of hard-coding the special buffer types.
	(desktop-save): Run `desktop-buffer-misc-functions' to gather
	auxiliary data, instead of hard-coding for Info buffers and dired.
	(desktop-buffer-info-misc-data): Aux function for determining Info
	buffer auxiliary info.
	(desktop-buffer-dired-misc-data): Likewise, but for dired buffers.
	(desktop-buffer-info): Changed this function to use the info
	gathered above.
	(desktop-create-buffer): Be a little more careful about what
	`minor-mode' means before calling it.  This is important for some
	buffer types.

456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 487 488 489 490 491 492 493 494 495 496 497 498 499 500 501 502 503 504 505 506 507 508 509 510 511 512 513
2000-10-13  John Wiegley  <johnw@gnu.org>

	* eshell/esh-util.el: Added a global form which declares an
	autoload for `parse-time-string', if that function is not already
	defined, and if parse-time.el is available on the user's system.

	* eshell/em-ls.el (eshell-ls-applicable): Extended this function
	to be aware of ange-ftp user info.
	(eshell-do-ls): Bind `ange-cache'.  Also, use
	`eshell-file-attributes'.
	(eshell-ls-annotate): Use `eshell-file-attributes'.
	(eshell-ls-file): Made the user-id printing code a bit smarter.

	* eshell/esh-util.el (eshell-ange-ls-uids): Added variable, to
	allow identification of alias user ids in remote directories.
	It's manual, but there's no other way to know when the current
	user on the local machine, is also the owning user on the remote
	machine.
	(fboundp): Bind `ange-cache'.
	(eshell-directory-files-and-attributes): Re-organized the logic a
	bit to use `eshell-file-attributes' instead of `file-attributes'.
	The former is more sensitive to directories that are read via FTP,
	and knows how to use ange-ftp to determine full attribute
	information, instead of just the name and last modtime.
	(eshell-current-ange-uids): Return the current user id when in a
	remote directory.
	(eshell-parse-ange-ls): Parse a full directory listing that has
	been returned by ange-ftp.
	(eshell-file-attributes): This beefed up version of
	`file-attributes' is only special if the user is currently in a
	remote directory, in which case it does a lot of work to find out
	what the real attributes of a file are, as they appear on the
	remote machine.  This makes usage of remote directories (i.e.,
	ange-ftp pathnames) much more useful.  You can now use Eshell as a
	full-fledged FTP client, with much more manipulation ability than
	most other clients.

	* eshell/em-unix.el (eshell-du-prefer-over-ange): Added a new
	variable, which means that Eshell's du should always be preferred
	in remote directories.
	(eshell-shuffle-files): Use `eshell-file-attributes', rather than
	just `file-attributes'.
	(eshell-mvcp-template): Bind `ange-cache', to improve performance
	when reading remote directories.  This is an Eshell-specific
	variable (not part of ange-ftp).
	(eshell/ln): Bind `ange-cache'.
	(eshell/du): Added some extra logic for determining when to use
	Eshell's du (which is slow), and when to use the external version
	(which may or may not exist).

	* eshell/em-rebind.el (eshell-delchar-or-maybe-eof): Call
	`eshell-interactive-process', rather than using
	`get-buffer-process', since backgrounded processes don't count in
	the context of this function's logic.

	* eshell/esh-arg.el (eshell-parse-double-quote): Moved a call to
	`forward-char', so that null strings are parsed correctly.

Eli Zaretskii's avatar
Eli Zaretskii committed
514
2000-09-13  John Wiegley  <johnw@gnu.org>
515 516 517 518 519 520 521 522 523 524 525 526 527 528 529

	* eshell/em-pred.el (eshell-pred-file-type,
	eshell-pred-file-links, eshell-pred-file-size): Use
	`eshell-file-attributes'.  This is more correct over ange-ftp.

	* eshell/em-glob.el (eshell-extended-glob): Bind `ange-cache', so
	that remote file globbing is more efficient.

	* eshell/em-ls.el (eshell-ls-dir): Use `expand-file-name' when
	gathering the files and attributes within a directory.

	* eshell/em-unix.el (eshell/cat): If any of the files passed on
	the command line is a special file (not a regular file, directory
	or symlink), always attempt to call the external version of cat.

Eli Zaretskii's avatar
Eli Zaretskii committed
530
2000-09-13  John Wiegley  <johnw@gnu.org>
531 532 533 534

	* eshell/esh-mode.el (eshell-find-tag): Corrections to the
	Eshell-friendly version of find-tag.

535 536 537 538 539
2000-10-13  Miles Bader  <miles@lsi.nec.co.jp>

	* image-file.el (image-file-name-extensions) 
	(image-file-name-regexps): Add autoload cookies.

Kenichi Handa's avatar
Kenichi Handa committed
540 541 542 543 544
2000-10-13  Kenichi Handa  <handa@etl.go.jp>

	* international/mule-cmds.el (select-safe-coding-system): If FROM
	is string, show it in *Warning* buffer.

Eli Zaretskii's avatar
Eli Zaretskii committed
545 546 547 548 549 550 551 552
2000-10-13  Eli Zaretskii  <eliz@is.elta.co.il>

	* startup.el (normal-top-level): Use display-popup-menus-p instead
	of window-system.
	(command-line): Use display-graphic-p instead of window-system.
	(command-line-1): Use display-popup-menus-p and display-mouse-p
	instead of window-system.

553 554 555 556 557
2000-10-12  Sam Steingold  <sds@gnu.org>

	* tooltip.el (tooltip-use-echo-area): New user variable.
	(tooltip-show): Use it to choose between `x-show-tip' and `message'.

Dave Love's avatar
Dave Love committed
558 559
2000-10-12  Dave Love  <fx@gnu.org>

Dave Love's avatar
Dave Love committed
560 561
	* recentf.el: Maintainer's checkdoc fixes.

562 563 564 565 566
	* startup.el (normal-top-level-add-subdirs-to-load-path): Use
	character class, not ASCII when matching file names.
	(fancy-splash-head): Add trailing slash to URL.
	(command-line): Don't require XPM support for toolbar.

Dave Love's avatar
Dave Love committed
567 568 569 570
	* progmodes/cperl-mode.el (cperl-tips-faces): Doc fix.
	(cperl-invalid-face): Revert last change.
	(cperl-init-faces): Quote cperl-invalid-face.

Kenichi Handa's avatar
Kenichi Handa committed
571 572 573 574
2000-10-12  Kenichi Handa  <handa@etl.go.jp>

	* startup.el (fancy-splash-text): Remove superfluous quote.

Gerd Moellmann's avatar
Gerd Moellmann committed
575 576
2000-10-12  Gerd Moellmann  <gerd@gnu.org>

577 578 579 580 581
	* startup.el (fancy-splash-screens): Don't add a pre-command hook.
	(fancy-splash-pre-command, fancy-splash-pending-command): Removed.
	(command-line-1): Don't use fancy-splash-pending-command.
	(fancy-splash-screens-1): Goto point-min after inserting text.

582 583
	* calendar/diary-lib.el (diary-cyclic): Doc fix from Ed Reingold.

Gerd Moellmann's avatar
Gerd Moellmann committed
584 585 586
	* progmodes/scheme.el (scheme-mode-map): Use lisp-mode-shared-map
	instead of shared-lisp-mode-map.

587 588
2000-10-12  Miles Bader  <miles@lsi.nec.co.jp>

589 590
	* faces.el (header-line): Change tty-variant to use underlining.

591 592 593 594 595 596 597 598
	* isearch.el (isearch-set-lazy-highlight-faces-at): New function.
	(isearch-highlight): Restore lazy-isearch face properties at old
	position, and suppress them at new position.
	(isearch-dehighlight): Restore lazy-isearch face properties.
	(isearch-lazy-highlight-update): Add lazy-isearch overlays even
	over the real isearch overlay, but in that case, don't give it a
	face property.  Use `push'.

Kenichi Handa's avatar
Kenichi Handa committed
599 600 601 602 603
2000-10-12  Kenichi Handa  <handa@etl.go.jp>

	* man.el (Man-getpage-in-background): Fix previous change.
	Decode the process output only when we are in multibyte mode.

Dave Love's avatar
Dave Love committed
604 605
2000-10-11  Dave Love  <fx@gnu.org>

Dave Love's avatar
Dave Love committed
606 607 608
	* info.el (Info-mode-menu): Fix some help.
	(info-tool-bar-map): Add entry for Info-last.

Dave Love's avatar
Dave Love committed
609 610 611 612 613 614 615 616 617 618 619 620 621
	* toolbar/cancel.xpm, toolbar/jump_to.xpm, toolbar/right_arrow.xpm:
	* toolbar/close.xpm, toolbar/left_arrow.xpm, toolbar/save.xpm:
	* toolbar/copy.xpm, toolbar/mail.xpm, toolbar/saveas.xpm:
	* toolbar/cut.xpm, toolbar/mail_compose.xpm:
	* toolbar/search-replace.xpm, toolbar/exit.xpm:
	* toolbar/mail_send.xpm, toolbar/search.xpm, toolbar/fld_open.xpm:
	* toolbar/new.xpm, toolbar/spell.xpm, toolbar/help.xpm:
	* toolbar/open.xpm, toolbar/undo.xpm, toolbar/home.xpm:
	* toolbar/paste.xpm, toolbar/up_arrow.xpm, toolbar/index.xpm:
	* toolbar/preferences.xpm, toolbar/info.xpm, toolbar/print.xpm:
	Reduce colour requirements to 25 overall.  (Probably wants
	revisiting from the originals to reduce further.)

Eli Zaretskii's avatar
Eli Zaretskii committed
622 623 624 625 626 627 628
2000-10-11  Eli Zaretskii  <eliz@is.elta.co.il>

	* hexl.el (hexlify-buffer): Bind coding-system-for-write to
	buffer-file-coding-system, instead of raw-text.
	(dehexlify-buffer): Bind coding-system-for-read to
	buffer-file-coding-system, instead of raw-text.

629 630 631 632 633
2000-10-11  Sam Steingold  <sds@gnu.org>

	* progmodes/cperl-mode.el (cperl-invalid-face): double-quote
	`underline' - fixes the bug introduced on 2000-09-21.

Dave Love's avatar
Dave Love committed
634 635 636 637 638 639 640 641
2000-10-11  Dave Love  <fx@gnu.org>

	* progmodes/scheme.el (scheme-mode-variables, dsssl-mode): Avoid
	compiler warnings.
	(scheme-mode): Doc fix.
	(scheme-font-lock-keywords-1): Match `define-syntax'.

2000-10-11  Miles Bader  <miles@lsi.nec.co.jp>
Miles Bader's avatar
Miles Bader committed
642 643

	* faces.el (frame-set-background-mode): Pay attention to saved
Miles Bader's avatar
Miles Bader committed
644 645
	face specs as well as default ones.  Only do anything if the
	bg-mode or display-type has actually changed.  Use `dolist'.
Miles Bader's avatar
Miles Bader committed
646
	(region): Make dark-background `region' face less in-your-face.
Miles Bader's avatar
Miles Bader committed
647

648 649 650 651 652 653
2000-10-10  Sam Steingold  <sds@gnu.org>

	* chistory.el, ielm.el, ledit.el:
	* progmodes/inf-lisp.el, progmodes/scheme.el:
	Use `lisp-mode-shared-map' instead of `shared-lisp-mode-map'.

Stefan Monnier's avatar
Stefan Monnier committed
654 655 656 657 658 659 660 661 662
2000-10-10  Stefan Monnier  <monnier@cs.yale.edu>

	* textmodes/texinfo.el: Update copyright and fix typo.

	* desktop.el (desktop-modes-not-to-save): New var.
	(desktop-save-buffer-p): Use it.
	Also, obey desktop-buffers-not-to-save even for non-file buffers.
	(desktop-buffer-file): Use pop-to-buffer if switch-to-buffer fails.

Dave Love's avatar
Dave Love committed
663 664 665 666 667 668 669 670 671 672 673 674 675 676 677 678 679 680
2000-10-10  Dave Love  <fx@gnu.org>

	* toolbar/tool-bar.el (tool-bar-add-item)
	(tool-bar-add-item-from-menu): Don't favour XPM icons on mono
	display.

	* toolbar/attach.pbm, toolbar/cancel.pbm, toolbar/close.pbm:
	* toolbar/copy.pbm, toolbar/cut.pbm, toolbar/exit.pbm:
	* toolbar/fld_open.pbm, toolbar/help.pbm, toolbar/home.pbm:
	* toolbar/index.pbm, toolbar/info.pbm, toolbar/jump_to.pbm:
	* toolbar/left_arrow.pbm, toolbar/mail.pbm, toolbar/mail_compose.pbm:
	* toolbar/mail_send.pbm, toolbar/new.pbm, toolbar/open.pbm:
	* toolbar/paste.pbm, toolbar/preferences.pbm, toolbar/print.pbm:
	* toolbar/right_arrow.pbm, toolbar/save.pbm, toolbar/saveas.pbm:
	* toolbar/search-replace.pbm, toolbar/search.pbm, toolbar/spell.pbm:
	* toolbar/undo.pbm, toolbar/up_arrow.pbm: New files straight from
	the .xpms; probably need retouching.

681 682 683 684 685
2000-10-10  Miles Bader  <miles@lsi.nec.co.jp>

	* subr.el (add-to-list): Add optional argument APPEND.
	* battery.el (display-battery): Use `add-to-list'.

686 687
2000-10-09  Thien-Thi Nguyen  <ttn@gnu.org>

688 689
	* play/zone.el (zone-timer, zone-wc-tbl): Rework
	these vars as symbol properties.
Dave Love's avatar
Dave Love committed
690 691
	(zone, zone-when-idle, zone-leave-me-alone)
	(zone-pgm-whack-chars): Use new symbol properties.
692

693 694
	* battery.el (display-battery): Doc spelling fix.

695 696 697
	* vc.el (with-vc-file, edit-vc-file): Specify `indent-function'
	property.

698 699 700 701
2000-10-09  Dave Love  <fx@gnu.org>

	* toolbar/tool-bar.el (tool-bar-mode): Check whether tool-bar-map
	has been initialized before calling tool-bar-setup.
702
	(tool-bar-add-item-from-menu): Add autoload cookie.
703

704 705
2000-10-09  Eli Zaretskii  <eliz@is.elta.co.il>

706 707 708 709 710 711 712
	* menu-bar.el (send-mail-item-name): New function.
	(menu-bar-tools-menu) <compose-mail>: Use it to display the value
	of mail-user-agent in the menu.  Don't display the "Send Mail"
	item if mail-user-agent is nil or its value is ignore.
	(menu-bar-tools-menu) <rmail>: Don't display the "Read Mail" item
	if read-mail-command is nil or its value is ignore.

713 714
	* mouse.el ([header-line mouse-1]): Bind to mouse-select-window.

715 716
2000-10-09  Miles Bader  <miles@gnu.org>

717 718 719 720
	* toolbar/up_arrow.xpm: Flip to put highlight in correct place.
	Correct image size.
	* toolbar/left_arrow.xpm: Correct image size.

721 722 723 724 725 726 727 728 729 730
	* jka-compr.el: Don't call `jka-compr-install' when loading (it
	will be done by the definition of `auto-compression-mode' if
	necessary.  Move code to uninstall existing file-name handler
	before definition of `auto-compression-mode'.

	* image-file.el (auto-image-file-mode): Move to the end of the
	file, because `define-minor-mode' actually calls the mode-function
	if the associated variable is non-nil, which requires that all
	needed functions be already defined.

Miles Bader's avatar
Miles Bader committed
731 732
	* mouse.el (popup-menu): Balance parens.

Stefan Monnier's avatar
Stefan Monnier committed
733 734 735 736 737 738 739 740 741 742 743 744 745
2000-10-08  Stefan Monnier  <monnier@cs.yale.edu>

	* mouse.el (popup-menu): Move the command call outside the loop
	so that popup-menu returns whatever the command returns.

	* progmodes/etags.el: Docstring fixes.  Maintainer line updated.
	(initialize-new-tags-table): Use run-hook-with-args-until-success.
	(find-tag): Use pop-to-buffer if switch-to-buffer failed.
	(tags-table-format-functions): Renamed from tags-table-format-hooks.

	* vc.el (vc-version-diff): diff-switches can be a list.
	Use relative filenames for prettier output.

746
	* pcvs.el (cvs-append-to-ignore, cvs-vc-command-advice)
Stefan Monnier's avatar
Stefan Monnier committed
747 748 749 750 751 752 753 754 755 756 757 758 759 760 761 762 763 764 765 766 767 768 769 770 771 772 773
	(vc-post-command-functions): Remove old-VC compatibility code.

	* newcomment.el (comment-indent-default): Autoload.

	* font-lock.el (font-lock-defaults): Make buffer-local.
	(font-lock-turn-on-thing-lock): Use jit-lock-refontify.
	(font-lock-choose-keywords):
	Ignore LEVEL unless KEYWORDS is a list of syms.
	(c-keywords, c++-keywords, objc-keywords, java-keywords):
	Don't wrap regexp-opt things in \(...\) unnecessarily.

	* jit-lock.el: Don't require font-lock any more.
	(jit-lock-functions): Make buffer-local.
	(jit-lock-saved-fontify-buffer-function): Remove.
	(jit-lock-mode): Remove autoload cookie.
	Remove font-lock specific code.
	(jit-lock-unregister): Don't bother handling complex hooks any more.
	(jit-lock-refontify): New function.
	(jit-lock-fontify-buffer): Use it.
	(jit-lock-function-1): Replaced by jit-lock-fontify-now.
	(jit-lock-fontify-now): Renamed from jit-lock-function-1.
	Add optional args START and END.
	Never call font-lock-fontify-region directly.
	(jit-lock-function, jit-lock-stealth-fontify): Use it.

	* emacs-lisp/regexp-opt.el (regexp-opt): Add \<...\> if PAREN=`words'.

Dave Love's avatar
Dave Love committed
774 775
2000-10-08  Dave Love  <fx@gnu.org>

Dave Love's avatar
Dave Love committed
776 777 778 779 780 781 782 783 784 785 786 787 788 789 790 791 792 793 794 795 796 797 798
	* progmodes/ada-mode.el (ada-mode-menu): Add name to menu map.

	* progmodes/icon.el (icon-mode-map): Add name to menu-bar keymap.

	* play/studly.el (studlify-region, studlify-word): Add autoload
	cookie.

	* play/morse.el (morse-region, unmorse-region): Add autoload
	cookie.

	* play/spook.el (spook-phrases-file): Use expand-file-name, not
	concat.

	* emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression): Don't
	insist on symbols starting with word syntax.
	(lisp-mode-shared-map): Renamed from shared-lisp-mode-map.
	(eval-defun-1): Doc fix.
	(indent-sexp): Use nconc to build up indent-stack.

	* mail/sendmail.el: Byte-compile-dynamic since it gets loaded by
	Gnus with little use.
	(mail-setup-hook): Add mail-abbrevs-setup to options.

Dave Love's avatar
Dave Love committed
799 800 801 802 803 804 805 806 807 808 809 810 811
	* recentf.el: Doc fixes.

	* vcursor.el (vcursor-cs-binding): Remove compatibility code.
	Clean up remainder.

	* timezone.el (timezone-parse-date): Doc fix.  Fix regexps for (5)
	without timezone and (8) with timezone to enforce some whitespace.
	Simplify code somewhat.

	* options.el (list-options): Doc that you should use customize.

	* iswitchb.el (iswitchb-mode): Add :require.

Dave Love's avatar
Dave Love committed
812 813 814 815 816 817 818 819 820 821 822 823 824 825 826 827 828 829 830 831 832
	* info.el (Info-goto-node, Info-menu): Doc fix.
	(Info-mode-menu): Bind beginning-of-buffer, Info-edit
	(info-tool-bar-map): New variable.
	(Info-mode): Use it.
	(Info-edit-map): Define all in defvar.
	(speedbar-attached-frame): Avoid compiler warning.

	* toolbar/tool-bar.el (tool-bar-map): Define it empty.
	(global-map): Bind [tool-bar] to a filtered map.
	(tool-bar-add-item): Remove MAP arg.  Allow PBM icons.
	(tool-bar-add-item-from-menu): Use tool-bar-map, not tb-map.
	Allow PBM icons.
	(tool-bar-setup): Adjust calls of tool-bar-add-item.

	* toolbar/index.xpm, toolbar/jump_to.xpm, toolbar/attach.xpm:
	* toolbar/up_arrow.xpm, toolbar/left_arrow.xpm, toolbar/home.xpm:
	* toolbar/right_arrow.xpm: New files.  Renamed from tigert's
	icons, except up_arrow, which is left-arrow rotated.

	* imenu.el (imenu-add-to-menubar): Fix last change.

833 834 835 836 837
2000-10-08  Peter Breton  <pbreton@ne.mediaone.net>

	* generic-x.el (rul-generic-mode): Remove eval-when-compile
	statements. Suggested by Stefan Monnier  <monnier@cs.yale.edu>.

838 839
2000-10-08  Eli Zaretskii  <eliz@is.elta.co.il>

840 841 842
	* international/titdic-cnv.el (quail-cxterm-package-ext-info): Fix
	typos in doc strings.

Eli Zaretskii's avatar
Eli Zaretskii committed
843 844 845
	* font-lock.el (font-lock-mode, global-font-lock-mode): Mention in
	the doc strings how to customize Font Lock faces.

846 847 848
	* mouse.el (mouse-drag-mode-line-1): Fix an off-by-one error in
	computing growth when dragging the header line.

Eli Zaretskii's avatar
Eli Zaretskii committed
849 850 851 852
2000-10-08  Eli Zaretskii  <eliz@is.elta.co.il>

	* simple.el (kill-line): Doc fix.

853 854
2000-10-08  Miles Bader  <miles@gnu.org>

855 856
	* faces.el (secondary-selection): Make foreground visible on tty.

857 858 859 860 861 862
	* jka-compr.el (auto-compression-mode): Move to the end of the
	file, because `define-minor-mode' actually calls the mode-function
	if the associated variable is non-nil, which requires that all
	needed functions be already defined.
	(with-auto-compression-mode): Add autoload cookie.

Eli Zaretskii's avatar
Eli Zaretskii committed
863 864 865 866 867 868
2000-10-07  Eli Zaretskii  <eliz@is.elta.co.il>

	* files.el (find-backup-file-name) [ms-dos]: If support for long
	file names is not available, behave as if version-control were set
	to never.

869 870 871 872 873 874 875
2000-10-07  Dave Love  <fx@gnu.org>

	* net/browse-url.el (browse-url-gnome-moz-arguments): New option.
	(browse-url-gnome-moz): New function.
	(browse-url-browser-function): Use it.
	Suggested by Colin Walters <walters@cis.ohio-state.edu>.

Stefan Monnier's avatar
Stefan Monnier committed
876 877 878 879
2000-10-07  Stefan Monnier  <monnier@cs.yale.edu>

	* indent.el (tab-always-indent): New var.
	(indent-for-tab-command): Use it.
880

881
	* files.el (set-auto-mode): Ignore unknown -*- mode -*- rather than
Eli Zaretskii's avatar
Eli Zaretskii committed
882
	raise an error.  This way it can still default to a sane value.
883

884 885
2000-10-06  Stefan Monnier  <monnier@cs.yale.edu>

886 887 888 889
	* startup.el (fancy-splash-screens): Use local rather than global map.
	Don't use `update-menu-bindings' any more.
	Get rid of assumptions about keymap representation.

890 891
2000-10-06  Dave Love  <fx@gnu.org>

Miles Bader's avatar
Miles Bader committed
892
	* textmodes/fill.el (sentence-end-double-space)
Dave Love's avatar
Dave Love committed
893 894 895 896 897 898 899
	(sentence-end-without-period):  Doc fix.
	(adaptive-fill-regexp): Purecopy.
	(unjustify-current-line): Use line-end-position.
	(fill-individual-paragraphs-prefix): Use line-beginning-position.

	* net/eudc-vars.el (eudc): Add :version, :link.

900
	* international/mule-conf.el (file-coding-system-alist): Use \', not $.
Dave Love's avatar
Dave Love committed
901 902 903 904 905 906 907 908 909

	* emacs-lisp/find-func.el (find-function-regexp): Remove spurion.
	Fix for define-minor-mode.
	(function-at-point): Alias to function-called-at-point.

	* custom.el (custom-declare-variable, custom-set-variables): Use mapc.

	* simple.el (backward-word): Doc fix.

910 911
	* image-file.el (image-file-name-regexp): image-file-regexps ->
	image-file-name-regexps.
Dave Love's avatar
Dave Love committed
912
	(image-file-name-extensions): Add pbm.
913

914 915 916 917 918 919
2000-10-06  Stefan Monnier  <monnier@cs.yale.edu>

	* smerge-mode.el (smerge-diff): Setup the buffer's default-directory
	and add filename to the names so that diff-mode can jump to source.

	* font-lock.el (font-lock-defaults-alist): Remove the TeX entries.
Miles Bader's avatar
Miles Bader committed
920
	(tex-font-lock-keywords, tex-font-lock-keywords-2)
921 922 923
	(tex-font-lock-keywords-1): Remove.
	(font-lock-turn-on-thing-lock): Use jit-lock-register.
	(font-lock-turn-off-thing-lock): Use jit-lock-unregister.
924 925
	(font-lock-default-fontify-region):
	Expand beg..end correctly when just following a multiline region.
926 927 928
	(font-lock-fontify-anchored-keywords):
	Include the anchor text as part of the multiline.

Gerd Moellmann's avatar
Gerd Moellmann committed
929 930 931 932 933 934 935 936 937 938 939
2000-10-06  Gerd Moellmann  <gerd@gnu.org>

	* loadup.el (toplevel): Load `loaddefs' before `help' because the
	latter needs the autoloaded define-minor-mode macro during the
	bootstrap.

	* startup.el (command-line): For now, activate tool-bar-mode only
	if XPM images are supported.

	* mouse.el (mouse-drag-header-line): Don't allow resizing a
	window by dragging a header-line at the top of the frame; that's
Stefan Monnier's avatar
Stefan Monnier committed
940
	confusing because the header-line doesn't move.
Gerd Moellmann's avatar
Gerd Moellmann committed
941 942 943
	(mouse-drag-mode-line-1): Use event-* and posn-* functions instead
	of treating the event as a list.  Some cleanup.

944
2000-10-06  Miles Bader  <miles@gnu.org>
945

946 947
	* simple.el (display-message-or-buffer): New function.
	(shell-command-on-region): Use `display-message-or-buffer'.
948

949 950 951
	* emacs-lisp/easy-mmode.el (define-derived-mode): Tweak generated
	docstring parts.

Miles Bader's avatar
Miles Bader committed
952
	* net/net-utils.el (nslookup-prompt-regexp, ftp-prompt-regexp)
953 954 955 956 957 958 959 960 961 962 963 964 965 966 967 968
	(smbclient-prompt-regexp): Add usage note to doc string.
	(ftp-font-lock-keywords, smbclient-font-lock-keywords): Removed.
	(ftp-mode, smbclient-mode): Don't set `font-lock-defaults'.
	Use add-hook for adding the comint filter function, and only do so
	if it's not already in the global hook list.
	(ftp-mode, smbclient-mode, nslookup-mode): Remove redundant calls
	to `make-local-variable'.
	(nslookup-font-lock-keywords): Remove prompt entry.
	(nslookup): Don't set the process-filter.
	(finger): Exit the loop correctly when the regexps list runs out.
	(ftp, smbclient, smbclient-list-shares):
	Set the real major mode immediately, not after execing.
	Use `pop-to-buffer' instead of `switch-to-buffer-other-window'.

	* comint.el (comint-watch-for-password-prompt): Use STRING as a prompt.

Stefan Monnier's avatar
Stefan Monnier committed
969 970 971 972 973 974 975 976 977 978 979 980 981 982 983 984 985 986 987 988 989 990 991 992 993 994 995 996 997 998 999 1000 1001 1002 1003 1004 1005 1006 1007 1008 1009
2000-10-05  Stefan Monnier  <monnier@cs.yale.edu>

	* progmodes/compile.el (compile-collect-regexps): Use dolist and push.

	* which-func.el (which-func-format): Remove spurious space.
	(which-func-mode): Don't make it permanent-local.
	(which-func-ff-hook): Allow which-func-maxout to be nil.
	(which-func-update): Simplify a bit.  Only run if which-func-mode is t.
	(which-func-mode): Simplify.
	Use post-command-idle-hook rather than post-command-hook.
	Go through all buffers and update their state.
	(which-function): Also try add-log-current-defun-function.

	* vc.el (with-vc-properties): Use conses rather than length-2 lists.
	(vc-checkout, vc-finish-steal, vc-checkin, vc-revert-file):
	Update call to with-vc-properties accordingly.
	(vc-comment-search-reverse, vc-comment-search-forward): Docstring fix.
	(vc-revert-buffer): More careful about window selection and deletion.
	(vc-switch-backend): Slight reorg to avoid calling `registered' twice.

	* pcvs.el (cvs-ediff-exit-hook): Expect delete-window to fail.
	(cvs-retrieve-revision): Reuse a pre-existing buffer.
	(cvs-dired-action): Change the default to quickdir.

	* newcomment.el (comment-indent): Delegate to indent-according-to-mode
	if comment-indent-function returns nil.
	(comment-indent-default): New function.
	(comment-indent-function): Use it and document the new semantics.

	* image-file.el: Docstring fixes.

	* help.el (help-xref-on-pp): Use match-string.
	(describe-variable): New arg BUFFER.
	Store the current buffer in the help-xref-stack.
	(temp-buffer-resize-mode): Use define-minor-mode.

	* jit-lock.el (jit-lock-mode): Use jit-lock-defer-contextually
	consistently with its docstring.
	Set jit-lock-first-unfontify-pos in an idempotent way.
	(jit-lock-register): Autoload and add arg CONTEXTUAL.

1010 1011 1012 1013 1014
2000-10-05  Alex Schroeder  <alex@gnu.org>

	* sql.el (sql-mysql-options): New variable.
	(sql-mysql): Use it.

Miles Bader's avatar
Miles Bader committed
1015 1016
2000-10-05  Miles Bader  <miles@lsi.nec.co.jp>

Miles Bader's avatar
Miles Bader committed
1017 1018
	* image.el (image): New group.

Miles Bader's avatar
Miles Bader committed
1019
	* smerge-mode.el (smerge-mine-face, smerge-other-face)
Miles Bader's avatar
Miles Bader committed
1020 1021
	(smerge-base-face, smerge-markers-face): Add dark-background variants.

1022 1023 1024
2000-10-04  Peter Breton  <pbreton@ne.mediaone.net>

	* net/net-utils.el (nslookup-font-lock-keywords)
Miles Bader's avatar
Miles Bader committed
1025
	(ftp-font-lock-keywords, smbclient-font-lock-keywords):
1026 1027
	Ignore the value of wqindow-system; always define keywords

1028 1029 1030 1031 1032
2000-10-05  Kenichi Handa  <handa@etl.go.jp>

	* startup.el (fancy-splash-screens): Remove the code for
	debugging; `(trace-to-stderr "EXITTT\n")'.

Miles Bader's avatar
Miles Bader committed
1033 1034 1035 1036 1037
2000-10-05  Miles Bader  <miles@gnu.org>

	* diff-mode.el (diff-goto-source): Update call to
	`diff-hunk-status-msg' to reflect new REV variable.

Stefan Monnier's avatar
Stefan Monnier committed
1038 1039 1040 1041 1042 1043 1044 1045 1046 1047 1048 1049 1050 1051 1052 1053 1054 1055 1056 1057 1058 1059 1060 1061 1062
2000-10-04  Stefan Monnier  <monnier@cs.yale.edu>

	* progmodes/icon.el (icon-mode):
	Don't gratuitously override the default for comment-column.

	* vc-hooks.el (vc-mode-line): Fix interactive spec.

	* jit-lock.el (with-buffer-unmodified): Use unwind-protect.
	(jit-lock-mode): Make sure font-lock-keywords-only is bound before use.
	(jit-lock-functions): New var.
	(jit-lock-function-1): Use it if non-nil.
	Don't switch the syntax-table.  Don't set parse-sexp-lookup-properties.
	Set the `fontified' property before doing the fontification to avoid
	repeatedly going through the same error.
	Don't turn errors into messages.
	(jit-lock-register, jit-lock-unregister): New functions.

	* dired.el (dired-mark-pop-up): Turn comment into docstring.
	Use with-current-buffer.

	* dired-aux.el (dired-do-create-files, dired-kill-tree):
	Turn comment into docstring.

	* apropos.el (apropos-mode): Use define-derived-mode.

Gerd Moellmann's avatar
Gerd Moellmann committed
1063 1064 1065 1066 1067 1068 1069 1070
2000-10-04  Gerd Moellmann  <gerd@gnu.org>

	* startup.el (fancy-splash-pending-command): New variable.
	(fancy-splash-pre-command): New function.
	(fancy-splash-screens): Rewritten.
	(command-line-1): If fancy-splash-pending-command is set, call it
	interactively.

Dave Love's avatar
Dave Love committed
1071 1072 1073 1074 1075 1076 1077 1078
2000-10-04  Dave Love  <fx@gnu.org>

	* toolbar/tool-bar.el (tool-bar-setup): New function.
	(tool-bar-mode): Use it.

	* subr.el (substitute-key-definition): Doc fix.
	(play-sound-file): New command.

André Spiegel's avatar
#  
André Spiegel committed
1079 1080
2000-10-04  Andre Spiegel  <spiegel@gnu.org>

Miles Bader's avatar
Miles Bader committed
1081
	* vc-hooks.el (vc-before-save, vc-default-make-version-backups,
André Spiegel's avatar
#  
André Spiegel committed
1082 1083 1084
	vc-version-backup-file-name): New functions.

	* files.el (basic-save-buffer): Call vc-before-save before saving.
Miles Bader's avatar
Miles Bader committed
1085 1086

	* vc-cvs.el (vc-cvs-make-version-backups): Return t if
André Spiegel's avatar
#  
André Spiegel committed
1087 1088 1089 1090 1091 1092 1093 1094 1095 1096 1097 1098
	vc-cvs-stay-local-p.

	* vc.el (vc-revert-buffer): Handle empty diff properly.
	(vc-version-backup-file): New function.
	(vc-checkout): Create a version backup if necessary.
	(vc-checkin): If a version backup file exists, delete it.
	(vc-version-diff): Diff locally using version backups, if available.
	(vc-revert-file): If there's a version backup, revert locally.
	(vc-transfer-file): Use version backup for base version, if
	available.  If not, ask for confirmation whether to get it from the
	server.  Update mode line before check-in.

Dave Love's avatar
Dave Love committed
1099 1100 1101 1102 1103
2000-10-04  Dave Love  <fx@gnu.org>

	* toolbar/tool-bar.el (tool-bar-setup): New function.
	(tool-bar-mode): Use it.

Peter Breton's avatar
Peter Breton committed
1104 1105
2000-10-04  Peter Breton  <pbreton@ne.mediaone.net>

Gerd Moellmann's avatar
Gerd Moellmann committed
1106
	* net/net-utils.el (nslookup-font-lock-keywords)
Miles Bader's avatar
Miles Bader committed
1107
	(ftp-font-lock-keywords, smbclient-font-lock-keywords):
Peter Breton's avatar
Peter Breton committed
1108 1109 1110 1111
	Only set if window-system is non-nil
	(net-utils-run-program): Returns buffer.
	(network-connection-reconnect): Added this function.

Miles Bader's avatar
Miles Bader committed
1112 1113
	* generic.el:
	Incorporates extensive cleanup and docfixes by
Peter Breton's avatar
Peter Breton committed
1114 1115
	Stefan Monnier (monnier+gnu/emacs@flint.cs.yale.edu).
	Uses cl compile-time macros.
Gerd Moellmann's avatar
Gerd Moellmann committed
1116 1117 1118
	(generic-mode-name, generic-comment-list)
	(generic-keywords-list, generic-font-lock-expressions)
	(generic-mode-function-list, generic-mode-syntax-table):
Peter Breton's avatar
Peter Breton committed
1119 1120 1121 1122 1123 1124
	Removed variables.
	(generic-mode-alist): Renamed to generic-mode-list.
	(generic-find-file-regexp): Default changed to "^#".
	(generic-read-type): Uses completing read on generic-mode-list.
	(generic-mode-sanity-check): removed this function.
	(generic-add-to-auto-mode): Removed this function
Gerd Moellmann's avatar
Gerd Moellmann committed
1125
	(generic-mode-internal): Bind mode-specific definitions
Peter Breton's avatar
Peter Breton committed
1126 1127 1128
	into function instead of putting them in alist.
	(generic-mode-set-comments): Reworked extensively.
	(generic-mode-find-file-hook): Simplified regexp searching
Miles Bader's avatar
Miles Bader committed
1129
	(generic-make-keywords-list): Omit extra pair of parens
Peter Breton's avatar
Peter Breton committed
1130

Miles Bader's avatar
Miles Bader committed
1131
	* find-lisp.el (find-lisp-find-files-internal):
Peter Breton's avatar
Peter Breton committed
1132 1133
	Make sure directory name ends with "/".

Miles Bader's avatar
Miles Bader committed
1134
	* generic-x.el (apache-conf-generic-mode):
Peter Breton's avatar
Peter Breton committed
1135 1136 1137 1138 1139 1140 1141 1142
	Regexp now allows leading whitespace.
	(rc-generic-mode): Added eval-when-compile
	around generic-make-keywords-list.
	Deleted duplicate regexp
	(rul-generic-mode): Added eval-when-compile
	around generic-make-keywords-list.
	(etc-fstab-generic-mode): New generic mode.
	(rul-generic-mode): Removed one eval-when-compile
Miles Bader's avatar
Miles Bader committed
1143
	which caused a max-specpdl-size exceeded error.
Peter Breton's avatar
Peter Breton committed
1144

Miles Bader's avatar
Miles Bader committed
1145 1146 1147 1148 1149 1150 1151 1152 1153 1154
2000-10-04  Miles Bader  <miles@gnu.org>

	* simple.el (minibuffer-temporary-goal-position): New variable.
	(next-history-element): Try to keep the position of point in the
	input string constant.

	* dired-aux.el (dired-mark-read-file-name): Add optional arg DEFAULT.
	(dired-do-create-files): If there's only one file, pass it in as
	the DEFAULT arg to dired-mark-read-file-name.

Stefan Monnier's avatar
Stefan Monnier committed
1155 1156 1157 1158 1159 1160 1161 1162
2000-10-03  Stefan Monnier  <monnier@cs.yale.edu>

	* diff-mode.el (diff-font-lock-keywords): Minor regex fix.
	(diff-goto-source): Be smarter when choosing REVERSE or not.

	* textmodes/texinfo.el (texinfo-heading-face): Forgot the var def.
	(texinfo-mode-menu): Add an explicit shortcut for update all.

André Spiegel's avatar
#  
André Spiegel committed
1163 1164
2000-10-03  Andre Spiegel  <spiegel@gnu.org>

Miles Bader's avatar
Miles Bader committed
1165
	* vc.el (vc-transfer-file, vc-default-receive-file): Rewritten to
André Spiegel's avatar
#  
André Spiegel committed
1166 1167 1168
	factorize backend-specific code cleanly (this was essentially
	conceived by Stefan Monnier).
	(vc-unregister): Function removed.
Miles Bader's avatar
Miles Bader committed
1169
	(vc-revert-file): New function.
André Spiegel's avatar
#  
André Spiegel committed
1170 1171
	(vc-revert-buffer): Delegate some of the work to it.

André Spiegel's avatar
#  
André Spiegel committed
1172 1173 1174 1175 1176 1177
	* vc-rcs.el (vc-rcs-fetch-master-state): Parse and remember
	default branch unconditionally.
	(vc-rcs-set-default-branch): New function.
	(vc-rcs-cancel-version, vc-rcs-checkin, vc-rcs-checkout): Use it.
	(vc-rcs-checkin): If an appropriate default branch has been set,
	force creation of that branch.
André Spiegel's avatar
#  
André Spiegel committed
1178 1179
	(vc-rcs-receive-file): Rewritten to contain only backend-specific
	code (as suggested by Stefan Monnier).
André Spiegel's avatar
#  
André Spiegel committed
1180

1181 1182
2000-10-02  Gerd Moellmann  <gerd@gnu.org>

1183 1184 1185 1186 1187
	* isearch.el (isearch-lazy-highlight-update): Don't put a lazy
	highlighting overlay with a different face over the overlay
	isearch uses to highlight the current match because that can lead
	to bad face combinations.

1188 1189 1190 1191 1192 1193 1194
	* loadup.el (toplevel): Load faces before isearch.

	* isearch.el (isearch-faces): New custom group.
	(isearch): New defface; was already tested for in the code.
	(isearch-lazy-highlight-face): Changed to defface from defcustom.
	(isearch-highlight): Always use face `isearch'.

1195 1196 1197 1198 1199 1200
2000-10-02  Dave Love  <fx@gnu.org>

	* emacs-lisp/byte-opt.el (byte-optimize-lapcode): Don't bind
	unused vars.  Treat byte-constant2 like byte-constant.  Fix bogus
	comparison of opcode with operand.

Miles Bader's avatar
Miles Bader committed
1201 1202 1203 1204 1205
2000-10-03  Miles Bader  <miles@gnu.org>

	* play/yow.el (yow): Don't display multi-line quotations in a *Help*
	buffer, since the echo area will now grow to accommodate them.

André Spiegel's avatar
#  
André Spiegel committed
1206 1207 1208 1209 1210
2000-10-02  Andre Spiegel  <spiegel@gnu.org>

	* vc-hooks.el (vc-registered): If FILE used to be registered under
	a certain backend, try that one first.

Miles Bader's avatar
Miles Bader committed
1211
	* vc.el (vc-responsible-backend): Undo the previous change in the
André Spiegel's avatar
#  
André Spiegel committed
1212 1213 1214 1215 1216
	argument list.  Handle multiple backends correctly.
	(vc-find-new-backend): Function removed.
	(vc-register): Use vc-responsible-backend, as before.
	(vc-next-action-on-file): Do use vc-registered, not vc-backend.

Gerd Moellmann's avatar
Gerd Moellmann committed
1217 1218 1219 1220 1221
2000-10-02  Gerd Moellmann  <gerd@gnu.org>

	* startup.el (fancy-splash-head): Change message below the
	logo.

1222 1223 1224 1225
2000-10-02  Miles Bader  <miles@lsi.nec.co.jp>

	* diff-mode.el (diff-goto-source): Emit a status message.
	(diff-test-hunk, diff-apply-hunk): Remove unneeded `let'.
1226
	(diff-test-hunk): Fix doc string.
1227 1228
	(diff-apply-hunk): Only advance if `diff-advance-after-apply-hunk'.
	(diff-advance-after-apply-hunk): New variable.
1229
	(diff-apply-hunk): Don't return a value.
1230

1231 1232 1233 1234 1235 1236 1237 1238 1239 1240 1241 1242 1243 1244 1245 1246 1247 1248 1249 1250 1251 1252 1253 1254 1255 1256
2000-10-01  Stefan Monnier  <monnier@cs.yale.edu>

	* vc.el (vc-editable-p): Minor optimization.
	(edit-vc-file, vc-next-action-on-file): Don't use find-file.
	(vc-find-new-backend): New function split from vc-responsible-backend.
	(vc-register): Use it.
	(vc-responsible-backend): Remove REGISTER arg and add BACKENDS arg.
	(vc-unregister): Drop BACKEND arg (it doesn't work anyway).
	(vc-default-unregister, vc-revert-buffer): Docstring fix.
	(vc-clear-headers): Don't use find-file.
	(vc-revert-buffer): Use `and' again (must have been a braino).
	(vc-switch-backend): Only prompt if requested.
	Short circuit if nothing is to be done.
	Don't use vc-resynch-buffer which could lose unsaved editing.
	(vc-default-receive-file): Update call to vc-unregister.
	(with-vc-file, vc-next-action-on-file):
	Use vc-backend rather than vc-registered.
	(vc-next-action-on-file): Use intern-soft.
	Deal with read-only *vc-diff* buffer.
	(vc-transfer-file): Docstring fix.

	* vc-rcs.el (vc-rcs-unregister): Keep a backup of the master file.
	(vc-rcs-receive-file): Avoid with-vc-properties.
	Update call to vc-unregister.
	Use constant `RCS' rather than (dynamically bound) var `backend'.

André Spiegel's avatar
#  
André Spiegel committed
1257 1258
2000-10-01  Andre Spiegel  <spiegel@gnu.org>

Miles Bader's avatar
Miles Bader committed
1259
	* vc.el (vc-next-action-on-file): Update mode line only if file
André Spiegel's avatar
#  
André Spiegel committed
1260 1261 1262
	is visited.
	(vc-start-entry): New argument initial-contents.  Don't visit the file
	if it isn't already visited.  Brought documentation up-to-date.
Miles Bader's avatar
Miles Bader committed
1263 1264
	(vc-next-action, vc-register): Updated calls to vc-start-entry.
	(vc-checkin): New optional arg initial-contents, which is passed to
André Spiegel's avatar
#  
André Spiegel committed
1265 1266 1267 1268 1269 1270 1271 1272 1273 1274 1275 1276 1277
	vc-start-entry.
	(vc-finish-logentry): Make sure to bury log buffer only if there
	really is one.  Call `vc-resynch-buffer' on log-file, not
	buffer-file-name.
	(vc-default-comment-history, vc-default-wash-log): New functions.
	(vc-index-of): Removed.
	(vc-transfer-file): Make do without the above.
	(vc-default-receive-file): Call comment-history unconditionally.  Pass
	the resulting string to vc-checkin, instead of inserting it into the
	comment ring.

	* vc-rcs.el (vc-rcs-receive-file): Call comment-history
	unconditionally.  Use the comments as initial contents of the log
Miles Bader's avatar
Miles Bader committed
1278
	entry buffer.  Document the trick to force branch creation with no
André Spiegel's avatar
#  
André Spiegel committed
1279 1280
	changes.

Miles Bader's avatar
Miles Bader committed
1281 1282 1283 1284 1285
2000-10-01  Miles Bader  <miles@gnu.org>

	* emacs-lisp/easy-mmode.el (easy-mmode-define-navigation): Call
	`recenter' with an arg to prevent redrawing the display.

Stefan Monnier's avatar
Stefan Monnier committed
1286 1287 1288 1289 1290 1291
2000-09-30  Stefan Monnier  <monnier@cs.yale.edu>

	* emacs-lisp/easy-mmode.el (easy-mmode-pretty-mode-name): Prettier.

	* emacs-lisp/lisp.el (lisp-complete-symbol): Only jump 2 not 3 levels.

Miles Bader's avatar
Miles Bader committed
1292
	* progmodes/c-mode.el (c-mode):
Stefan Monnier's avatar
Stefan Monnier committed
1293 1294 1295 1296 1297
	Don't gratuitously override the default for comment-column.

	* textmodes/tex-mode.el (latex-metasection-list): New var.
	(latex-imenu-create-index): Use it.
	Move the regexp construction outside loops (and use push).
Miles Bader's avatar
Miles Bader committed
1298
	(tex-font-lock-keywords-1, tex-font-lock-keywords-2)
Stefan Monnier's avatar
Stefan Monnier committed
1299 1300 1301 1302 1303 1304 1305 1306 1307 1308 1309 1310 1311 1312 1313 1314 1315 1316 1317 1318
	(tex-font-lock-keywords): Moved from font-lock.el.
	(tex-comment-indent): Remove.
	(tex-common-initialization): Don't set comment-indent-function.
	(latex-block-default): New var.
	(tex-latex-block): Use it to provide a default choice.
	Add any unknown choice to latex-block-names.
	Insert [...] after {...}.
	(tex-last-unended-begin): Simplify regexp.
	(tex-goto-last-unclosed-latex-block, latex-backward-sexp-1)
	(latex-forward-sexp-1, latex-forward-sexp): New functions.
	(latex-mode): Set forward-sexp-function.

	* textmodes/texinfo.el (texinfo-font-lock-syntactic-keywords):
	Add regexp for @ignore ... @end ignore.
	(texinfo-heading-face): New face.
	(texinfo-font-lock-keywords): Use it.
	(texinfo-mode-menu): New menu.
	(texinfo-inside-macro-p, texinfo-inside-env-p, texinfo-insert-quote):
	New functions.
	(texinfo-mode-map): Bind " to insert-quote and M-RET to insert-@item.
Miles Bader's avatar
Miles Bader committed
1319
	(texinfo-section-types-regexp, texinfo-section-level-regexp)
Stefan Monnier's avatar
Stefan Monnier committed
1320 1321 1322 1323 1324 1325 1326 1327 1328 1329 1330 1331
	(texinfo-subsection-level-regexp, texinfo-subsubsection-level-regexp):
	Remove declaration.
	(texinfo-show-structure): Use outline-regexp and texinfo-section-list.

	* delsel.el (delete-selection-mode): Use define-minor-mode.

	* emacs-lisp/regexp-opt.el (regexp-opt-group): Put more parenthesis.

2000-09-29  Stefan Monnier  <monnier@cs.yale.edu>

	* dired.el (dired-map-over-marks): Use modern backquotes and docstring.

1332 1333
2000-09-30  Gerd Moellmann  <gerd@gnu.org>

Gerd Moellmann's avatar
Gerd Moellmann committed
1334 1335 1336 1337 1338
	* replace.el (keep-lines-read-args): New function.
	(keep-lines, flush-lines, how-many): Use keep-lines-read-args to
	read arguments interactively.  Add parameters RSTART and REND.
	Operate on the active region in Transient Mark mode.

Gerd Moellmann's avatar
Gerd Moellmann committed
1339 1340
	* files.el (auto-mode-alist): Add pattern for `#*mail*...'.

1341 1342 1343 1344
	* emacs-lisp/authors.el (authors-obsolete-file-p): New function.
	(authors-obsolete-files-regexps): New variable.
	(authors-add): Don't record changes in obsolete files.

Stefan Monnier's avatar
Stefan Monnier committed
1345 1346 1347 1348 1349 1350 1351 1352
2000-09-29  Stefan Monnier  <monnier@cs.yale.edu>

	* autoinsert.el (auto-insert-mode): Use define-minor-mode.

	* newcomment.el (comment-indent-function): Use 0 for ;;; and %%%.
	(comment-indent): Make sure there's a space between code and comment.
	Shift comments left to avoid going past fill-column.

Gerd Moellmann's avatar
Gerd Moellmann committed
1353 1354 1355 1356 1357 1358 1359 1360 1361
2000-09-29  Gerd Moellmann  <gerd@gnu.org>

	* startup.el (startup-echo-area-message): New function.
	(display-startup-echo-area-message): Use it.
	(fancy-splash-screens): Rewritten to use keymaps and a timer.
	(fancy-splash-default-action): New function.
	(fancy-splash-screens-1): New function.
	(fancy-splash-head): Put a help-echo and a keymap under the image.

Stefan Monnier's avatar
Stefan Monnier committed
1362 1363 1364 1365 1366 1367 1368 1369 1370 1371
2000-09-29  Stefan Monnier  <monnier@cs.yale.edu>

	* diff-mode.el (diff-add-log-file-name): Remove.
	(diff-mode): Use add-log-buffer-file-name-function.

	* add-log.el (find-change-log): New arg BUFFER-FILE.
	(add-log-file-name): Obey add-log-file-name-function.
	(add-log-buffer-file-name-function): New var.
	(add-change-log-entry): Use it.

1372 1373 1374 1375 1376 1377 1378 1379 1380 1381 1382 1383 1384 1385 1386 1387
2000-09-29  Miles Bader  <miles@gnu.org>

	* image-file.el (image-file-name-extensions): New variable.
	(image-file-name-regexps): Renamed from `image-file-regexps'.
	New default value is nil.  Call `auto-image-file-mode'.
	(image-file-name-regexp): New function.
	(auto-image-file-mode): New minor mode.
	(insert-image-file): Don't make conditional on the image-file
	handler being enabled.
	(image-file-handler): Make the call here conditional instead.
	(set-image-file-handler-enabled, enable-image-file-handler)
	(disable-image-file-handler): Functions removed.

	* emacs-lisp/authors.el (authors-print): Rephrase many-files
	string.

Gerd Moellmann's avatar
Gerd Moellmann committed
1388 1389 1390 1391 1392 1393 1394
2000-09-29  Gerd Moellmann  <gerd@gnu.org>

	* textmodes/tex-mode.el (latex-outline-regexp): Don't use `list*';
	it's a function from CL.
	(latex-imenu-create-index): Replace eval-when-compile with progn
	because latex-section-alist is not bound while compiling.

1395 1396 1397 1398 1399
2000-09-28  Stefan Monnier  <monnier@cs.yale.edu>

	* textmodes/outline.el (outline-minor-mode): Use define-minor-mode.
	(outline-mode): Use define-derived-mode.

Miles Bader's avatar
Miles Bader committed
1400
	* progmodes/perl-mode.el (perl-mode):
1401 1402 1403 1404 1405 1406 1407 1408 1409 1410 1411 1412 1413 1414 1415 1416 1417 1418 1419 1420 1421 1422 1423 1424 1425 1426 1427 1428 1429 1430 1431 1432 1433 1434 1435 1436 1437 1438 1439 1440 1441 1442 1443
	* progmodes/awk-mode.el (awk-mode):
	* progmodes/asm-mode.el (asm-mode):
	Don't gratuitously override the default for comment-column.

	* emacs-lisp/lisp.el (lisp-complete-symbol):
	Distinguish the let-binding case from the funcall case.
	(forward-sexp-function): New variable.
	(forward-sexp): Use it.

	* emacs-lisp/easy-mmode.el (easy-mmode-define-keymap): Autoload.
	(easy-mmode-defmap): Remove the now useless autoload.

	* time.el (display-time-mode): Use define-minor-mode.

	* subr.el (add-minor-mode): Don't eval NAME.
	Don't depend on the presence of TOGGLE-FUN for any special behavior.
	Use if rather than cond.

	* simple.el (read-expression-map): Define more properly.
	(comment-indent-hook): Remove.
	(string-to-syntax): Bug fix.

	* pcvs.el (cvs-ediff-exit-hook): Kill buffer before window.
	(cvs-ediff-diff): Fix typo.
	(cvs-revert-if-needed): Don't bother preserving read-only.

	* paren.el (show-paren-mode): Use define-minor-mode.

	* jka-compr.el (auto-compression-mode): Use define-minor-mode.
	(toggle-auto-compression): Remove.
	(jka-compr-build-file-regexp): Remove useless grouping.

	* diff-mode.el (diff-mode-map, diff-minor-mode-prefix):
	Avoid user-reserved bindings.
	(diff-mode, diff-minor-mode): Drop make-local-hook (done by add-hook).
	(diff-header-face): Revert to grey85.

	* cvs-status.el (cvs-status-entry-leader-re): Minor fix.

	* complete.el (partial-completion-mode) <defcustom>: Remove.
	(partial-completion-mode): Use define-minor-mode.
	(PC-do-completion): Understand `completion-auto-help = delay'
	to mean to popup the completion buffer only the second time.
Miles Bader's avatar
Miles Bader committed
1444
	(PC-include-file-all-completions, PC-include-file-all-completions)
1445 1446 1447 1448 1449 1450 1451 1452 1453 1454 1455 1456 1457 1458 1459 1460 1461 1462 1463 1464 1465 1466 1467 1468 1469 1470 1471 1472 1473 1474 1475 1476 1477 1478 1479 1480 1481 1482 1483
	(PC-include-file-all-completions): Don't quote lambda.

	* comint.el (comint-mode-hook): Docstring fix.
	(comint-mode): Use define-derived-mode.
	(comint-mode-map): Remove obsolete comment.
	(make-comint): Minor stylistic change.
	(comint-insert-clicked-input): Be more careful to find the overlay.
	Use this-command-keys rather than hardcoding mouse-2.

	* font-lock.el: Replace confusing (,@ with ,
	(tex-font-lock-keywords-1, tex-font-lock-keywords-2):
	Don't use regexp-opt-depth.  Spice up the regexp for args.
	Don't distinguish between cmds that can take an opt arg or not.
	Use `append' and `prepend' rather than `keep'.

	* textmodes/tex-mode.el (latex-imenu-indent-string): Add a space.
	(latex-outline-regexp): New var.
	(latex-outline-level): New fun.
	(latex-section-alist): New var.
	(latex-imenu-create-index): Use it.  Use `push' as well.
	(tex-shell-map): Initialize it properly.
	(tex-mode): Minor stylistic change.
	(plain-tex-mode): Use define-derived-mode.
	(latex-mode): Use define-derived-mode.
	Construct the paragraph regexps in a more readable way.
	Set the buffer-local outline-{level,regexp} vars.
	(slitex-mode): Derive from latex-mode.
	(tex-common-initialization): Don't kill-all-vars anymore.
	Add setting for comment-add and font-lock-defaults.
	(tex-start-shell): Use with-current-buffer and don't re-init keymap.
	(tex-main-file): New fun.  Obey TeX-master as well and remove `.tex'.
	(tex-start-tex): New arg DIR (and send a chdir command for it).
	Also display the shell buffer and save it in tex-last-buffer-texed.
	(tex-region): Use expand-file-name rather than concat.
	Remove code made useless by changes in tex-start-tex.
	(tex-file): Use tex-main-file and adapt to new tex-start-tex.

	* map-ynp.el (map-y-or-n-p): Fix missing backquotes.

Dave Love's avatar
Dave Love committed
1484 1485 1486 1487
2000-09-28  Dave Love  <fx@gnu.org>

	* eshell/eshell.el (eshell) <defgroup>: Add :version.

Gerd Moellmann's avatar
Gerd Moellmann committed
1488 1489 1490 1491 1492
2000-09-28  Gerd Moellmann  <gerd@gnu.org>

	* emacs-lisp/authors.el (authors-add): Use `nconc' instead of
	`append'.

Stefan Monnier's avatar
Stefan Monnier committed
1493 1494 1495 1496 1497 1498 1499 1500 1501 1502 1503
2000-09-28  Stefan Monnier  <monnier@cs.yale.edu>

	* info.el (Info-extract-pointer): Undo last change.
	Instead, fix the position of the `bound' arg to re-search-backward.

2000-09-27  Stefan Monnier  <monnier@cs.yale.edu>

	* info.el (Info-extract-pointer):
	Widen more carefully, to avoid finding pointers in other nodes.
	(Info-index): Use push.

Gerd Moellmann's avatar
Gerd Moellmann committed
1504
2000-09-27  Gerd Moellmann  <gerd@gnu.org>
Gerd Moellmann's avatar
Gerd Moellmann committed
1505 1506 1507 1508 1509 1510

	* frame.el (set-frame-font): Remove call to obsolete function
	frame-update-faces.
	(set-foreground-color, set-background-color): Likewise for
	frame-update-face-colors.

Miles Bader's avatar