ChangeLog 382 KB
Newer Older
Dave Love's avatar
Dave Love committed
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
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.

27 28 29 30
2000-10-15  Eli Zaretskii  <eliz@is.elta.co.il>

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

31 32
2000-10-15  Stefan Monnier  <monnier@cs.yale.edu>

Stefan Monnier's avatar
Stefan Monnier committed
33 34 35 36 37 38
	* 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.

39 40 41 42 43 44 45
	* 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.

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
	* 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.

97 98 99 100 101
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
102 103 104 105 106
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
107 108 109 110
2000-10-13  Dave Love  <fx@gnu.org>

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

111 112
2000-10-13  Gerd Moellmann  <gerd@gnu.org>

113 114 115
	* emacs-lisp/lisp.el (down-list, backward-up-list, up-list): Doc
	fix.

116 117 118
	* toolbar/*.xpm: Reduce to max. 8 colors (mogrify -colorspace 
	transparent -colors 8).

119 120 121 122 123 124 125 126
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
127 128
2000-10-13  John Wiegley  <johnw@gnu.org>

129 130 131
	* align.el, pcomplete.el, calendar/timeclock.el,
	eshell/esh-module.el, eshell/eshell.el: Removed URL reference.

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

135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154
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.

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
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
213
2000-09-13  John Wiegley  <johnw@gnu.org>
214 215 216 217 218 219 220 221 222 223 224 225 226 227 228

	* 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
229
2000-09-13  John Wiegley  <johnw@gnu.org>
230 231 232 233

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

234 235 236 237 238
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
239 240 241 242 243
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
244 245 246 247 248 249 250 251
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.

252 253 254 255 256
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
257 258
2000-10-12  Dave Love  <fx@gnu.org>

Dave Love's avatar
Dave Love committed
259 260
	* recentf.el: Maintainer's checkdoc fixes.

261 262 263 264 265
	* 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
266 267 268 269
	* 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
270 271 272 273
2000-10-12  Kenichi Handa  <handa@etl.go.jp>

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

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

276 277 278 279 280
	* 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.

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

Gerd Moellmann's avatar
Gerd Moellmann committed
283 284 285
	* progmodes/scheme.el (scheme-mode-map): Use lisp-mode-shared-map
	instead of shared-lisp-mode-map.

286 287
2000-10-12  Miles Bader  <miles@lsi.nec.co.jp>

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

290 291 292 293 294 295 296 297
	* 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
298 299 300 301 302
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
303 304
2000-10-11  Dave Love  <fx@gnu.org>

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

Dave Love's avatar
Dave Love committed
308 309 310 311 312 313 314 315 316 317 318 319 320
	* 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
321 322 323 324 325 326 327
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.

328 329 330 331 332
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
333 334 335 336 337 338 339 340
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
341 342

	* faces.el (frame-set-background-mode): Pay attention to saved
Miles Bader's avatar
Miles Bader committed
343 344
	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
345
	(region): Make dark-background `region' face less in-your-face.
Miles Bader's avatar
Miles Bader committed
346

347 348 349 350 351 352
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
353 354 355 356 357 358 359 360 361
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
362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379
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.

380 381 382 383 384
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'.

385 386
2000-10-09  Thien-Thi Nguyen  <ttn@gnu.org>

387 388
	* play/zone.el (zone-timer, zone-wc-tbl): Rework
	these vars as symbol properties.
Dave Love's avatar
Dave Love committed
389 390
	(zone, zone-when-idle, zone-leave-me-alone)
	(zone-pgm-whack-chars): Use new symbol properties.
391

392 393
	* battery.el (display-battery): Doc spelling fix.

394 395 396
	* vc.el (with-vc-file, edit-vc-file): Specify `indent-function'
	property.

397 398 399 400
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.
401
	(tool-bar-add-item-from-menu): Add autoload cookie.
402

403 404
2000-10-09  Eli Zaretskii  <eliz@is.elta.co.il>

405 406 407 408 409 410 411
	* 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.

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

414 415
2000-10-09  Miles Bader  <miles@gnu.org>

416 417 418 419
	* toolbar/up_arrow.xpm: Flip to put highlight in correct place.
	Correct image size.
	* toolbar/left_arrow.xpm: Correct image size.

420 421 422 423 424 425 426 427 428 429
	* 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
430 431
	* mouse.el (popup-menu): Balance parens.

Stefan Monnier's avatar
Stefan Monnier committed
432 433 434 435 436 437 438 439 440 441 442 443 444
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.

445
	* pcvs.el (cvs-append-to-ignore, cvs-vc-command-advice)
Stefan Monnier's avatar
Stefan Monnier committed
446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472
	(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
473 474
2000-10-08  Dave Love  <fx@gnu.org>

Dave Love's avatar
Dave Love committed
475 476 477 478 479 480 481 482 483 484 485 486 487 488 489 490 491 492 493 494 495 496 497
	* 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
498 499 500 501 502 503 504 505 506 507 508 509 510
	* 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
511 512 513 514 515 516 517 518 519 520 521 522 523 524 525 526 527 528 529 530 531
	* 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.

532 533 534 535 536
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>.

537 538
2000-10-08  Eli Zaretskii  <eliz@is.elta.co.il>

539 540 541
	* international/titdic-cnv.el (quail-cxterm-package-ext-info): Fix
	typos in doc strings.

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

545 546 547
	* 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
548 549 550 551
2000-10-08  Eli Zaretskii  <eliz@is.elta.co.il>

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

552 553
2000-10-08  Miles Bader  <miles@gnu.org>

554 555
	* faces.el (secondary-selection): Make foreground visible on tty.

556 557 558 559 560 561
	* 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
562 563 564 565 566 567
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.

568 569 570 571 572 573 574
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
575 576 577 578
2000-10-07  Stefan Monnier  <monnier@cs.yale.edu>

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

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

583 584
2000-10-06  Stefan Monnier  <monnier@cs.yale.edu>

585 586 587 588
	* 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.

589 590
2000-10-06  Dave Love  <fx@gnu.org>

Miles Bader's avatar
Miles Bader committed
591
	* textmodes/fill.el (sentence-end-double-space)
Dave Love's avatar
Dave Love committed
592 593 594 595 596 597 598
	(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.

599
	* international/mule-conf.el (file-coding-system-alist): Use \', not $.
Dave Love's avatar
Dave Love committed
600 601 602 603 604 605 606 607 608

	* 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.

609 610
	* image-file.el (image-file-name-regexp): image-file-regexps ->
	image-file-name-regexps.
Dave Love's avatar
Dave Love committed
611
	(image-file-name-extensions): Add pbm.
612

613 614 615 616 617 618
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
619
	(tex-font-lock-keywords, tex-font-lock-keywords-2)
620 621 622
	(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.
623 624
	(font-lock-default-fontify-region):
	Expand beg..end correctly when just following a multiline region.
625 626 627
	(font-lock-fontify-anchored-keywords):
	Include the anchor text as part of the multiline.

Gerd Moellmann's avatar
Gerd Moellmann committed
628 629 630 631 632 633 634 635 636 637 638
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
639
	confusing because the header-line doesn't move.
Gerd Moellmann's avatar
Gerd Moellmann committed
640 641 642
	(mouse-drag-mode-line-1): Use event-* and posn-* functions instead
	of treating the event as a list.  Some cleanup.

643
2000-10-06  Miles Bader  <miles@gnu.org>
644

645 646
	* simple.el (display-message-or-buffer): New function.
	(shell-command-on-region): Use `display-message-or-buffer'.
647

648 649 650
	* emacs-lisp/easy-mmode.el (define-derived-mode): Tweak generated
	docstring parts.

Miles Bader's avatar
Miles Bader committed
651
	* net/net-utils.el (nslookup-prompt-regexp, ftp-prompt-regexp)
652 653 654 655 656 657 658 659 660 661 662 663 664 665 666 667
	(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
668 669 670 671 672 673 674 675 676 677 678 679 680 681 682 683 684 685 686 687 688 689 690 691 692 693 694 695 696 697 698 699 700 701 702 703 704 705 706 707 708
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.

709 710 711 712 713
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
714 715
2000-10-05  Miles Bader  <miles@lsi.nec.co.jp>

Miles Bader's avatar
Miles Bader committed
716 717
	* image.el (image): New group.

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

721 722 723
2000-10-04  Peter Breton  <pbreton@ne.mediaone.net>

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

727 728 729 730 731
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
732 733 734 735 736
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
737 738 739 740 741 742 743 744 745 746 747 748 749 750 751 752 753 754 755 756 757 758 759 760 761
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
762 763 764 765 766 767 768 769
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
770 771 772 773 774 775 776 777
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
778 779
2000-10-04  Andre Spiegel  <spiegel@gnu.org>

Miles Bader's avatar
Miles Bader committed
780
	* vc-hooks.el (vc-before-save, vc-default-make-version-backups,
André Spiegel's avatar
#  
André Spiegel committed
781 782 783
	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
784 785

	* vc-cvs.el (vc-cvs-make-version-backups): Return t if
André Spiegel's avatar
#  
André Spiegel committed
786 787 788 789 790 791 792 793 794 795 796 797
	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
798 799 800 801 802
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
803 804
2000-10-04  Peter Breton  <pbreton@ne.mediaone.net>

Gerd Moellmann's avatar
Gerd Moellmann committed
805
	* net/net-utils.el (nslookup-font-lock-keywords)
Miles Bader's avatar
Miles Bader committed
806
	(ftp-font-lock-keywords, smbclient-font-lock-keywords):
Peter Breton's avatar
Peter Breton committed
807 808 809 810
	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
811 812
	* generic.el:
	Incorporates extensive cleanup and docfixes by
Peter Breton's avatar
Peter Breton committed
813 814
	Stefan Monnier (monnier+gnu/emacs@flint.cs.yale.edu).
	Uses cl compile-time macros.
Gerd Moellmann's avatar
Gerd Moellmann committed
815 816 817
	(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
818 819 820 821 822 823
	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
824
	(generic-mode-internal): Bind mode-specific definitions
Peter Breton's avatar
Peter Breton committed
825 826 827
	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
828
	(generic-make-keywords-list): Omit extra pair of parens
Peter Breton's avatar
Peter Breton committed
829

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

Miles Bader's avatar
Miles Bader committed
833
	* generic-x.el (apache-conf-generic-mode):
Peter Breton's avatar
Peter Breton committed
834 835 836 837 838 839 840 841
	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
842
	which caused a max-specpdl-size exceeded error.
Peter Breton's avatar
Peter Breton committed
843

Miles Bader's avatar
Miles Bader committed
844 845 846 847 848 849 850 851 852 853
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
854 855 856 857 858 859 860 861
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
862 863
2000-10-03  Andre Spiegel  <spiegel@gnu.org>

Miles Bader's avatar
Miles Bader committed
864
	* vc.el (vc-transfer-file, vc-default-receive-file): Rewritten to
André Spiegel's avatar
#  
André Spiegel committed
865 866 867
	factorize backend-specific code cleanly (this was essentially
	conceived by Stefan Monnier).
	(vc-unregister): Function removed.
Miles Bader's avatar
Miles Bader committed
868
	(vc-revert-file): New function.
André Spiegel's avatar
#  
André Spiegel committed
869 870
	(vc-revert-buffer): Delegate some of the work to it.

André Spiegel's avatar
#  
André Spiegel committed
871 872 873 874 875 876
	* 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
877 878
	(vc-rcs-receive-file): Rewritten to contain only backend-specific
	code (as suggested by Stefan Monnier).
André Spiegel's avatar
#  
André Spiegel committed
879

880 881
2000-10-02  Gerd Moellmann  <gerd@gnu.org>

882 883 884 885 886
	* 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.

887 888 889 890 891 892 893
	* 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'.

894 895 896 897 898 899
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
900 901 902 903 904
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
905 906 907 908 909
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
910
	* vc.el (vc-responsible-backend): Undo the previous change in the
André Spiegel's avatar
#  
André Spiegel committed
911 912 913 914 915
	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
916 917 918 919 920
2000-10-02  Gerd Moellmann  <gerd@gnu.org>

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

921 922 923 924
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'.
925
	(diff-test-hunk): Fix doc string.
926 927
	(diff-apply-hunk): Only advance if `diff-advance-after-apply-hunk'.
	(diff-advance-after-apply-hunk): New variable.
928
	(diff-apply-hunk): Don't return a value.
929

930 931 932 933 934 935 936 937 938 939 940 941 942 943 944 945 946 947 948 949 950 951 952 953 954 955
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
956 957
2000-10-01  Andre Spiegel  <spiegel@gnu.org>

Miles Bader's avatar
Miles Bader committed
958
	* vc.el (vc-next-action-on-file): Update mode line only if file
André Spiegel's avatar
#  
André Spiegel committed
959 960 961
	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
962 963
	(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
964 965 966 967 968 969 970 971 972 973 974 975 976
	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
977
	entry buffer.  Document the trick to force branch creation with no
André Spiegel's avatar
#  
André Spiegel committed
978 979
	changes.

Miles Bader's avatar
Miles Bader committed
980 981 982 983 984
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
985 986 987 988 989 990
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
991
	* progmodes/c-mode.el (c-mode):
Stefan Monnier's avatar
Stefan Monnier committed
992 993 994 995 996
	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
997
	(tex-font-lock-keywords-1, tex-font-lock-keywords-2)
Stefan Monnier's avatar
Stefan Monnier committed
998 999 1000 1001 1002 1003 1004 1005 1006 1007 1008 1009 1010 1011 1012 1013 1014 1015 1016 1017
	(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
1018
	(texinfo-section-types-regexp, texinfo-section-level-regexp)
Stefan Monnier's avatar
Stefan Monnier committed
1019 1020 1021 1022 1023 1024 1025 1026 1027 1028 1029 1030
	(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.

1031 1032
2000-09-30  Gerd Moellmann  <gerd@gnu.org>

Gerd Moellmann's avatar
Gerd Moellmann committed
1033 1034 1035 1036 1037
	* 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
1038 1039
	* files.el (auto-mode-alist): Add pattern for `#*mail*...'.

1040 1041 1042 1043
	* 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
1044 1045 1046 1047 1048 1049 1050 1051
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
1052 1053 1054 1055 1056 1057 1058 1059 1060
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
1061 1062 1063 1064 1065 1066 1067 1068 1069 1070
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.

1071 1072 1073 1074 1075 1076 1077 1078 1079 1080 1081 1082 1083 1084 1085 1086
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
1087 1088 1089 1090 1091 1092 1093
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.

1094 1095 1096 1097 1098
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
1099
	* progmodes/perl-mode.el (perl-mode):
1100 1101 1102 1103 1104 1105 1106 1107 1108 1109 1110 1111 1112 1113 1114 1115 1116 1117 1118 1119 1120 1121 1122 1123 1124 1125 1126 1127 1128 1129 1130 1131 1132 1133 1134 1135 1136 1137 1138 1139 1140 1141 1142
	* 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
1143
	(PC-include-file-all-completions, PC-include-file-all-completions)
1144 1145 1146 1147 1148 1149 1150 1151 1152 1153 1154 1155 1156 1157 1158 1159 1160 1161 1162 1163 1164 1165 1166 1167 1168 1169 1170 1171 1172 1173 1174 1175 1176 1177 1178 1179 1180 1181 1182
	(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
1183 1184 1185 1186
2000-09-28  Dave Love  <fx@gnu.org>

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

Gerd Moellmann's avatar
Gerd Moellmann committed
1187 1188 1189 1190 1191
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
1192 1193 1194 1195 1196 1197 1198 1199 1200 1201 1202
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
1203
2000-09-27  Gerd Moellmann  <gerd@gnu.org>
Gerd Moellmann's avatar
Gerd Moellmann committed
1204 1205 1206 1207 1208 1209

	* 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
Miles Bader committed
1210 1211 1212 1213
2000-09-27  Miles Bader  <miles@gnu.org>

	* image-file.el: New file.

Gerd Moellmann's avatar
Gerd Moellmann committed
1214 1215
2000-09-27  Gerd Moellmann  <gerd@gnu.org>

Gerd Moellmann's avatar
Gerd Moellmann committed
1216 1217
	* frame.el (frame-notice-user-settings): Don't call
	frame-update-faces, which is a no-op now.
Miles Bader's avatar
Miles Bader committed
1218

Gerd Moellmann's avatar
Gerd Moellmann committed
1219 1220 1221
	* ediff-wind.el (ediff-control-frame-parameters): Add zero
	tool-bar-lines.

Dave Love's avatar
Dave Love committed
1222 1223 1224 1225
2000-09-27  Dave Love  <fx@gnu.org>

	* mouse.el: Fix last change.

1226 1227 1228 1229
2000-09-27  Miles Bader  <miles@lsi.nec.co.jp>

	* toolbar/tool-bar.el (tool-bar-help): Use `mouse-pixel-position'.

Kenichi Handa's avatar
Kenichi Handa committed
1230 1231 1232 1233 1234
2000-09-22  Kenichi Handa  <handa@etl.go.jp>

	* international/quail.el (quail-help): The output message is
	improved.

Dave Love's avatar
Dave Love committed
1235 1236 1237 1238 1239
2000-09-26  Dave Love  <fx@gnu.org>

	* mouse.el (popup-menu): If POSITION is nil, set it using
	mouse-position.

1240 1241 1242 1243
2000-09-25  Sam Steingold  <sds@gnu.org>

	* net/browse-url.el (browse-url-file-url): Check for null maps.

1244 1245
2000-09-26  Gerd Moellmann  <gerd@gnu.org>

Gerd Moellmann's avatar
Gerd Moellmann committed
1246
	* frame.el (frame-notice-user-settings): Don't add a
Stefan Monnier's avatar
Stefan Monnier committed
1247
	tool-bar-lines frame parameter to default-frame-alist in batch mode.
Miles Bader's avatar
Miles Bader committed
1248

Stefan Monnier's avatar
Stefan Monnier committed
1249 1250
	* frame.el (frame-notice-user-settings):
	Make tool-bar-mode and default-frame-alist consistent.
Gerd Moellmann's avatar
Gerd Moellmann committed
1251

1252 1253
	* toolbar/tool-bar.el (tool-bar-help): New function.

Gerd Moellmann's avatar
Gerd Moellmann committed
1254 1255
2000-09-25  Gerd Moellmann  <gerd@gnu.org>

Gerd Moellmann's avatar
Gerd Moellmann committed
1256 1257 1258
	* bytecomp.el (byte-compile-defvar-or-defconst): Only cons onto
	current-load-list in top-level forms.  Else this leaks a cons cell
	every time a defun is called.
1259

Gerd Moellmann's avatar
Gerd Moellmann committed
1260
	* mail/mail-utils.el (rmail-dont-reply-to): Fix last change.
1261

Dave Love's avatar
Dave Love committed
1262 1263
2000-09-25  Dave Love  <fx@gnu.org>

Dave Love's avatar
Dave Love committed
1264 1265
	* startup.el (fancy-splash-head): Check XPM is available.

Dave Love's avatar
Dave Love committed
1266 1267 1268 1269 1270
	* autoinsert.el (auto-insert): Doc fix.
	(auto-insert-alist): Following GNU notices, don't say `copyright
	_by_'.  Use line-beginning-position.
	(auto-insert): Check buffer-file-name is non-nil before use.

Gerd Moellmann's avatar
Gerd Moellmann committed
1271 1272 1273 1274 1275 1276
2000-09-25  Gerd Moellmann  <gerd@gnu.org>

	* textmodes/texinfo.el (texinfo-mode): Prevent filling lines
	starting with `@def' or `@multitable', in addition to ones
	specified by the user in auto-fill-inhibit-regexp.

1277 1278 1279 1280
2000-09-25  Markus Rost  <rost@math.ohio-state.edu>

	* mail/mail-utils.el (rmail-dont-reply-to): Avoid infinite loop if
	rmail-dont-reply-to-names matches the empty string.
1281

Gerd Moellmann's avatar
Gerd Moellmann committed
1282 1283
2000-09-25  Gerd Moellmann  <gerd@gnu.org>

1284
	* startup.el (command-line-1, fancy-splash-text): Change the
Gerd Moellmann's avatar
Gerd Moellmann committed
1285 1286
	text to sound more friendly.

1287 1288 1289 1290 1291 1292 1293 1294 1295 1296
2000-09-23  Thien-Thi Nguyen  <ttn@gnu.org>

	* progmodes/hideshow.el: Update author email address.
	Generally, sync w/ maintainer version 5.22.
	(hs-hide-all-non-comment-function): New var.
	(hs-hide-hook, hs-show-hook, hs-minor-mode): Update docstrings.
	(hs-hide-all): Use `hs-hide-all-non-comment-function'.
	(hs-show-region): Delete this command.
	(hs-minor-mode-map): Change bindings to leave "C-c LETTER" alone.

Dave Love's avatar
Dave Love committed
1297 1298 1299 1300 1301 1302 1303 1304 1305 1306
2000-09-22  Dave Love  <fx@gnu.org>

	* hl-line.el (hl-line-overlay): Don't make it buffer-local.
	(hl-line-highlight): Specify buffer when moving overlay.

	* progmodes/fortran.el (fortran-mode): Locally set
	normal-auto-fill-function.
	(fortran-auto-fill-mode): Just alias to auto-fill-mode.
	(fortran-mode-map): Adjust auto-fill menu entry.

1307 1308
2000-09-22  Gerd Moellmann  <gerd@gnu.org>

Gerd Moellmann's avatar
Gerd Moellmann committed
1309 1310
	* vc-rcs.el (toplevel): Require `vc' when compiling.

Stefan Monnier's avatar
Stefan Monnier committed
1311
	* startup.el (fancy-splash-head): Use splash.pbm instead of splash.xbm.
1312

André Spiegel's avatar
#  
André Spiegel committed
1313 1314
2000-09-22  Andre Spiegel  <spiegel@gnu.org>

1315
	* vc.el (vc-switch-backend): Signal an error if the file is not
André Spiegel's avatar
#  
André Spiegel committed
1316 1317
	registered under the new backend.

1318
	* vc-rcs.el (vc-rcs-checkin): Fix bug that prevented check-in
André Spiegel's avatar
#  
André Spiegel committed
1319 1320
	without explicit revision number.

1321 1322 1323 1324 1325 1326 1327 1328 1329 1330 1331 1332 1333
2000-09-21  Stefan Monnier  <monnier@cs.yale.edu>

	* diff-mode.el (diff-file-header-face): Reset to its previous value.
	(diff-hunk-text): Correctly use offsets rather than buffer-positions.
	(diff-xor): New function.
	(diff-find-source-location): Use it.  Fix a stupid name clash.
	(diff-hunk-status-msg): New function.
	(diff-apply-hunk): Drop args OTHER-FILE, DRY-RUN, POPUP and NOERROR.
	(diff-test-hunk): Use diff-find-source-location.
	(diff-goto-source): Favor the `reverse'.
	(diff-hunk-text): Properly handle one-sided context diffs.
	(diff-apply-hunk): When done, advance to the next hunk.

Gerd Moellmann's avatar
Gerd Moellmann committed
1334 1335
2000-09-21  Gerd Moellmann  <gerd@gnu.org>

Gerd Moellmann's avatar
Gerd Moellmann committed
1336 1337
	* startup.el (command-line): If frame was created with a non-zero
	tool-bar-lines parameter, switch tool-bar-mode on.
1338

Gerd Moellmann's avatar
Gerd Moellmann committed
1339 1340 1341
	* add-log.el (change-log-date-face, change-log-name-face)
	(change-log-email-face, change-log-file-face)
	(change-log-list-face, change-log-conditionals-face)
Stefan Monnier's avatar
Stefan Monnier committed
1342 1343
	(change-log-function-face, change-log-acknowledgement-face):
	New faces, inheriting from font-lock faces.
Gerd Moellmann's avatar
Gerd Moellmann committed
1344
	(change-log-font-lock-keywords): Use them.
1345

Dave Love's avatar
Dave Love committed
1346 1347
2000-09-21  Dave Love  <fx@gnu.org>

Dave Love's avatar
Dave Love committed
1348 1349 1350 1351 1352 1353 1354 1355 1356 1357 1358 1359
	* progmodes/cperl-mode.el (top-level): Clean up
	`eval-when-compile's and assorted defvars.
	(cperl-invalid-face): Don't double-quote value.  Change custom
	type.
	(cperl-mode): Set normal-auto-fill-function and don't zap
	auto-fill-function.
	(cperl-imenu--function-name-regexp-perl): Renamed from
	imenu-example--function-name-regexp-perl.
	(cperl-imenu--create-perl-index): Renamed from
	imenu-example--create-perl-index.
	(cperl-xsub-scan): Don't require cl.

Dave Love's avatar
Dave Love committed
1360 1361 1362
	* msb.el (msb-mode-map): Use substitute-key-definition.
	(msb-mode): Use msb-mode-map.

André Spiegel's avatar
#  
André Spiegel committed
1363 1364 1365 1366
2000-09-21  Andre Spiegel  <spiegel@gnu.org>

	* vc.el (vc-index-of, vc-transfer-file, vc-default-receive-file):
	New functions.
Stefan Monnier's avatar
Stefan Monnier committed
1367
	(vc-next-action-on-file): Call vc-transfer-file at appropriate places.
André Spiegel's avatar
#  
André Spiegel committed
1368 1369 1370 1371 1372 1373 1374 1375 1376 1377 1378 1379 1380 1381
	(vc-switch-backend): New function.
	(vc-prefix-map): Bind `vc-switch-backend' to `b'.
	(vc-register): Fix prompt.
	(vc-unregister, vc-default-unregister): New functions.
	(vc-version-diff): Handle empty buffer in sentinel.

	* vc-rcs.el (vc-rcs-workfile-is-newer): New function.
	(vc-rcs-state-heuristic): Use it to guess the state of files with
	non-strict locking.
	(vc-rcs-find-most-recent-rev): Handle the case when a branch has
	been set with -b, but not created yet.
	(vc-rcs-fetch-master-state): With non-strict locking, compare file
	contents in order to find the state.
	(vc-rcs-checkin): Allow creation of branches with no changes.
Stefan Monnier's avatar
Stefan Monnier committed
1382 1383
	(vc-rcs-unregister, vc-rcs-receive-file)
	(vc-rcs-set-non-strict-locking): New functions.
André Spiegel's avatar
#  
André Spiegel committed
1384

1385
	* vc-hooks.el (vc-name): Force correct computation of the value
André Spiegel's avatar
#  
André Spiegel committed
1386
	in case it is missing.
1387

1388 1389 1390 1391 1392
2000-09-21  Gerd Moellmann  <gerd@gnu.org>

	* startup.el (fancy-splash-tail): Use a different foreground
	color on a dark frame background.

Miles Bader's avatar
Miles Bader committed
1393 1394 1395 1396 1397
2000-09-21  Miles Bader  <miles@lsi.nec.co.jp>

	* info.el: Use the correct capitalization when making Info-mode
	and Info-edit-mode `special' modes.

1398 1399 1400 1401 1402 1403 1404 1405 1406 1407 1408 1409 1410 1411 1412 1413 1414 1415 1416 1417 1418 1419 1420 1421
2000-09-20  Stefan Monnier  <monnier@cs.yale.edu>

	* diff-mode.el (diff-add-log-file-name, diff-current-defun): New funs.
	(diff-mode): Add support for add-log.el.
	(diff-hunk-text): Use char offsets rather than line offsets.
	(diff-find-source-location): Replace LINE with line-offset (nil
	if not found) and always set POS to a meaningful position.
	Adapt to the new char-offsets.
	(diff-apply-hunk): Drop support for the unused `select' POPUP.
	Adapt to the new diff-find-source-location.
	(diff-goto-source): Adapt to the new diff-find-source-location.

	* add-log.el (add-log-file-name): New function (split out of
	add-change-log-entry).
	(add-change-log-entry): Use it.
	Call add-log-file-name-function with the changelog file name if
	the current buffer is not associated with any file.
	Avoid find-file if the selected window is dedicated.

	* diff-mode.el (diff-find-source-location):
	Move code from diff-apply-hunk.  Return buffer rather than file.
	(diff-apply-hunk): Use the new result from  diff-find-source-location.
	(diff-goto-source): Use the new diff-find-source-location.

Dave Love's avatar
Dave Love committed
1422 1423 1424 1425 1426 1427 1428 1429 1430 1431 1432 1433 1434 1435
2000-09-20  Dave Love  <fx@gnu.org>

	* iswitchb.el: Some doc fixes.
	(iswitchb-mode-map): Define completely initially.  Inherit
	minibuffer-local-map.
	(iswitchb-completion-help) <!iswitchb-xemacs>: Use
	fundamental-mode.
	(iswitchb-global-map): New variable.
	(iswitchb-summaries-to-end): Amalgamate regexps.
	(iswitchb-mode): New.
	(iswitchb-mode-hook): New variable.
	(iswitchb) <defgroup>: Add URL link.  Use group `completion', not
	`extensions'.

1436 1437
2000-09-20  Gerd Moellmann  <gerd@gnu.org>

1438 1439 1440 1441
	* ehelp.el (electric-help): New defgroup.
	(electric-help-shrink-window): New user-option.
	(with-electric-help): Use it.

1442 1443 1444 1445
	* window.el (shrink-window-if-larger-than-buffer): If face
	`mode-line' has a :box, and we're on a graphical frame, add 1
	to the needed window height.

Gerd Moellmann's avatar
Gerd Moellmann committed
1446 1447 1448 1449 1450
	* frame.el (frame-notice-user-settings): Add a last parameter nil
	to a call to `append', because the last list passed to `append' is
	not copied, and so subsequent calls to assq-delete-all will modify
	default-frame-alist.

Gerd Moellmann's avatar
Gerd Moellmann committed
1451 1452 1453 1454
	* startup.el (fancy-splash-image): Change :type.
	(fancy-splash-head): Use an XBM image if appropriate.
	(command-line-1): Show splash screens in more cases.

1455 1456
	* startup.el (fancy-splash-text): Don't quote faces.

Gerd Moellmann's avatar
Gerd Moellmann committed
1457 1458 1459
	* dired.el (dired-font-lock-keywords): Undo last change.
	(dired-readin): Bind indent-tabs-mode to nil.

1460 1461 1462 1463 1464
	* startup.el (fancy-splash-head): If frame's background mode
	is `dark', change the black background of the image to gray.
	(fancy-splash-screens): Display startup echo area message.
	(display-startup-echo-area-message): New function.

Miles Bader's avatar
Miles Bader committed
1465 1466
2000-09-20  Miles Bader  <miles@lsi.nec.co.jp>

1467 1468 1469 1470
	* faces.el (mode-line, tool-bar): Merge entries for `x' and `w32'.

	* info.el (info-header-node): Tweak for color ttys.

1471 1472 1473 1474
	* faces.el (face-valid-attribute-values): Make sure directories we
	search for stipples both exist and are readable before trying to
	search them.

1475 1476 1477
	* diff-mode.el (diff-apply-hunk): Jump to the correct line offset
	in the dry-run case.

1478 1479
	* jka-compr.el (with-auto-compression-mode): New macro.