ChangeLog 754 KB
Newer Older
1 2 3 4
2001-10-30  Richard M. Stallman  <rms@gnu.org>

	* enriched.el (enriched-face-ans): FIx previous change.

Gerd Moellmann's avatar
Gerd Moellmann committed
5 6 7 8 9
2001-10-30  Gerd Moellmann  <gerd@gnu.org>

	* international/iso-acc.el (iso-accents-compose): Remove a
	superfluous setq.

10 11 12 13 14 15
2001-10-30  Eli Zaretskii  <eliz@is.elta.co.il>

	* buff-menu.el (list-buffers-noselect): If the buffer's name
	starts with a blank, but it visits a file, do show it (for files
	whose names start with a blank).

Stefan Monnier's avatar
Stefan Monnier committed
16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71
2001-10-30  Stefan Monnier  <monnier@cs.yale.edu>

	* textmodes/fill.el (sentence-end-double-space)
	(sentence-end-without-period): Move to paragraphs.el.
	(fill-indent-according-to-mode): Change default to t.
	(fill-context-prefix): Simplify control-flow and use a more
	sophisticated merge that unifies both previous checks.
	(fill-single-word-nobreak-p, fill-french-nobreak-p): New funs.
	(fill-nobreak-predicate): Make it into a defcustom'd hook.
	(fill-nobreak-p): New fun.
	(fill-region-as-paragraph): Use it.
	Handle `fill-indent-according-to-mode' slightly differently.
	(fill-individual-paragraphs-prefix): Simplify the control-flow.
	(fill-individual-paragraphs-citation): Fix.

	* textmodes/paragraphs.el (use-hard-newlines): Use define-minor-mode.
	(paragraph-start): Change default to the `text-mode' value.
	(sentence-end-double-space, sentence-end-without-period):
	Move from fill.el.
	(forward-paragraph): Use `parstart' and `parsep' for temp variables
	rather than rebinding `paragraph-start' and `paragraph-separate'.

	* indent.el (indent-line-function): Change default to indent-relative.
	(tab-always-indent): Add an `always' setting.
	(indent-according-to-mode): Handle `indent-relative' and
	`indent-relative-maybe' specially.
	(indent-for-tab-command): Rename `prefix-arg' to `arg'.
	Handle the `always; case for `tab-always-indent'.
	Don't call indent-according-to-mode for indent-relative' and
	`indent-relative-maybe'.
	(insert-tab): Rename `prefix-arg' to `arg'.
	(indent-region): Indent the first line as well.
	(indent-relative): Don't mark the buffer modified if the indentation
	is unchanged.

	* textmodes/text-mode.el (paragraph-indent-minor-mode):
	Don't set paragraph-separate.  Set paragraph-start more carefully.
	Set indent-line-function.
	(paragraph-indent-text-mode): Use it and define-derived-mode.
	(text-mode-map): Remove the \t binding.
	(text-mode): Simplify now that the default is more favorable.

2001-10-29  Stefan Monnier  <monnier@cs.yale.edu>

	* emacs-lisp/find-func.el (find-function-search-for-symbol):
	If the regexp doesn't match, use a looser one.
	(find-variable-noselect): Add `file' argument.

	* pcvs.el (cvs-mode-commit-hook): New hook.
	(cvs-mode-commit): Run it.

	* log-edit.el (log-edit): Run hook after `log-edit-files'.

	* emacs-lisp/edebug.el (delay-mode-hooks): Add edebug-spec.
	(edebug-instrument-function): Use `find-function-noselect'.

72 73
2001-10-29  Richard M. Stallman  <rms@gnu.org>

74 75 76 77 78
	* term.el (term-if-emacs19): Macro deleted.
	Callers changed to use progn instead.

	* frame.el (blink-cursor-mode): Doc fix.

79 80
	* files.el (find-backup-file-name): Use make-backup-file-name.

81 82 83 84 85 86 87 88 89 90 91 92 93
	* emacs-lisp/edebug.el (edebug-window-live-p): Always alias to
	window-live-p.
	(edebug-set-conditional-breakpoint): Unconditionally use
	the former Emacs >=19 definition.
	(edebug-mark): Define unconditionally.
	(edebug-eval-expression): Always call read-from-minibuffer
	and specify history list.
	(edebug-lemacs-specific): Override emacs-mark, edebug-window-live-p,
	edebug-set-conditional-breakpoint.
	(edebug-emacs-version-specific): Function deleted;
	do the job at top level.
	(edebug-emacs-19-specific): Function deleted, this is the default.

94 95 96 97 98
2001-10-29  Sam Steingold  <sds@gnu.org>

	* w32-fns.el (convert-standard-filename): Handle cygwin-specific
	"/cygdrive/LETTER/" pathnames.

Eli Zaretskii's avatar
Eli Zaretskii committed
99 100 101
2001-10-29  Eli Zaretskii  <eliz@is.elta.co.il>

	* faces.el (invert-face): Check for 'unspecified, not for nil,
Stefan Monnier's avatar
Stefan Monnier committed
102 103
	when testing whether face colors are not specified.
	From David.Kastrup@t-online.de (David Kastrup).
Eli Zaretskii's avatar
Eli Zaretskii committed
104
	(read-face-name): Doc fix.
105
	(make-face-bold, make-face-unbold, make-face-italic)
Stefan Monnier's avatar
Stefan Monnier committed
106 107
	(make-face-unitalic, make-face-bold-italic, invert-face):
	Remove trailing blank from the prompt passed to read-face-name.
Eli Zaretskii's avatar
Eli Zaretskii committed
108

109 110
2001-10-29  Sam Steingold  <sds@gnu.org>

Stefan Monnier's avatar
Stefan Monnier committed
111 112
	* emacs-lisp/bytecomp.el (byte-recompile-directory):
	Report numbers of files skipped and failed too.
113 114
	(byte-compile-file): Return 'no-byte-compile for skipped files.

115 116 117 118 119
2001-10-29  Kai Gro,A_(Bjohann  <Kai.Grossjohann@CS.Uni-Dortmund.DE>

	* log-view.el (log-view-mode-map): Bind `M-n' and `M-p', not `M n'
	and `M p'.

120 121 122 123 124
2001-10-29  Gerd Moellmann  <gerd@gnu.org>

	* international/iso-acc.el (iso-accents-compose): Push SECOND-CHAR
	as is on unread-command-events instead of `(SECOND-CHAR)'.

André Spiegel's avatar
#  
André Spiegel committed
125 126 127 128 129
2001-10-29  Andre Spiegel  <spiegel@gnu.org>

	* vc.el: Mention vc-*-switches in backend API documentation.
	(vc-annotate): Adapt doc string to recent change.

Gerd Moellmann's avatar
Gerd Moellmann committed
130 131
2001-10-29  Gerd Moellmann  <gerd@gnu.org>

Gerd Moellmann's avatar
Gerd Moellmann committed
132 133 134
	* enriched.el (enriched-face-ans): Handle face attributes
	of the form `(FACE1 FACE2 ...)'.

Stefan Monnier's avatar
Stefan Monnier committed
135
	* dired-x.el (dired-omit-startup): Show ``Omit'' only in Dired buffers.
Gerd Moellmann's avatar
Gerd Moellmann committed
136

Gerd Moellmann's avatar
Gerd Moellmann committed
137 138 139 140 141 142 143 144
2001-10-29  Alex Schroeder  <kensanata@yahoo.com>

	* progmodes/sql.el (sql-mysql): Doc change by RMS.

	* progmodes/sql.el (sql-db2): Doc change.
	(sql-help): Doc change by Christian Egli <christian.egli@stest.ch>.
	(sql-mysql): Doc change by Christian Egli <christian.egli@stest.ch>.

Gerd Moellmann's avatar
Gerd Moellmann committed
145 146 147 148 149
2001-10-29  Gerd Moellmann  <gerd@gnu.org>

	* env.el (substitute-env-vars): Don't quote argument to `rx';
	it's a macro.

Gerd Moellmann's avatar
Gerd Moellmann committed
150 151 152 153
2001-10-28  Per Abrahamsen  <abraham@dina.kvl.dk>

	* cus-start.el (recursive-load-depth-limit): Added.

154 155
2001-10-28  Richard M. Stallman  <rms@gnu.org>

156 157 158 159 160 161
	* textmodes/ispell.el (version18p, version20p): Vars deleted.
	All uses removed--assume Emacs version is >= 20.

	* mail/supercite.el (sc-emacs-features): Test for "Emacs 19"
	by really checking that it is not version 18.

162 163
	* emacs-lisp/lisp-mode.el (eval-defun): Doc fix.

Miles Bader's avatar
Miles Bader committed
164 165 166 167 168 169 170 171 172
2001-10-28  Miles Bader  <miles@gnu.org>

	* faces.el (face-attribute): Add INHERIT argument, consider face
	inheritance if it's non-nil.
	(face-attribute-merged-with): New function.
	(face-attribute-specified-or): New macro.
	(face-foreground, face-background, face-stipple): Add INHERIT
	argument.  Use `face-attribute-specified-or'.

Stefan Monnier's avatar
Stefan Monnier committed
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
2001-10-28  Stefan Monnier  <monnier@cs.yale.edu>

	* font-lock.el: Require `syntax'.
	(font-lock-defaults-alist): Don't define keywords for lisp languages.
	Use `c-font-lock-syntactic-face-function' for c languages.
	(font-lock-mode): Don't unset vars when turning the mode off.
	(font-lock-default-fontify-buffer): Don't unset vars at the end.
	(font-lock-extra-managed-props): New var.
	(font-lock-default-unfontify-region): Use it.
	(font-lock-apply-syntactic-highlight): Flush the syntax cache.
	Don't eval the value when there's no match.
	(font-lock-ppss-stats): New var.
	(font-lock-ppss): New fun.
	(font-lock-fontify-syntactically-region): Use it and syntax.ppss.
	(font-lock-apply-highlight): Allow `highlight' to set several props.
	(font-lock-set-defaults): Use dolist.
	(font-lock-unset-defaults): Remove.
	(font-lock-match-c-style-declaration-item-and-skip-to-next):
	Try to recognize prototypes using `foo P_ ((args))'.
	({c,c++,java,objc}-font-lock-keywords-{1,2,3}): Don't setq a defconst.
	(c-font-lock-keywords-2): Fix last change to still use Anders' trick.
	(c-font-lock-syntactic-face-function): New function.
	(font-lock-match-c++-style-declaration-item-and-skip-to-next)
	(c++-keywords): Use a more sophisticated regexp to handle
	shallowly nested templates.

Stefan Monnier's avatar
Stefan Monnier committed
199 200
2001-10-27  Stefan Monnier  <monnier@cs.yale.edu>

Stefan Monnier's avatar
Stefan Monnier committed
201 202 203 204 205 206 207 208 209
	* textmodes/sgml-mode.el (sgml-empty-tags): New var.
	(sgml-tag): Use it.  Cleanup with `cond'.
	(sgml-tags-invisible): Make sgml-tags-invisible buffer-local.
	Mark the overlays and only delete those that are marked.
	(sgml-skip-close-p): Remove.
	(sgml-value): Replace sgml-skip-close-p with its definition.
	(html-tag-alist): Use sgml-xml a bit more.
	(html-mode): Set sgml-empty-tags.

Stefan Monnier's avatar
Stefan Monnier committed
210 211 212 213 214 215 216 217 218 219 220 221 222 223
	* textmodes/texnfo-upd.el: Use `when', `dolist', `push', ...
	(texinfo-update-node, texinfo-sequential-node-update):
	Don't bind the obsolete `auto-fill-hook'.
	(texinfo-multi-file-included-list,texinfo-multi-file-master-menu-list):
	Use `set-buffer' rather than `switch-to-buffer'.
	(texinfo-multi-file-update): Use "Top" rather than `up-node-name'.
	Use `set-buffer' rather than `switch-to-buffer'.

	* mail/sendmail.el (mail-mode-syntax-table): Let it inherit from
	text-mode-syntax-table.
	(mail-mode): Use define-derived-mode.
	Fix ordering of alternatives in adaptive-fill-regexp.
	(mail-mode-map): Don't rely on keymap's internal representation.

224 225 226 227 228 229 230 231 232 233 234 235
2001-10-27  Sam Steingold  <sds@gnu.org>

	* textmodes/sgml-mode.el (sgml-xml): Renamed from `html-xhtml'.
	(sgml-xml-guess): Extracted from `html-mode' and generalized.
	(sgml-mode-common): Call it.
	(sgml-mode, html-mode): Set `mode-name' based on `sgml-xml'.
	(sgml-tag, sgml-skip-close-p, html-tag-alist, html-line)
	(html-horizontal-rule, html-image, html-ordered-list):
	(html-unordered-list, html-list-item, html-paragraph):
	(html-checkboxes, html-radio-buttons): Use `sgml-xml' instead of
	`html-xhtml'.

Eli Zaretskii's avatar
Eli Zaretskii committed
236 237 238 239 240
2001-10-26  Masayuki Ataka  <ataka@milk.freemail.ne.jp>

	* textmodes/texinfmt.el (texinfo-format-ifnotinfo): New function.
	(ifnothtml): New alias.

Stefan Monnier's avatar
Stefan Monnier committed
241 242 243 244 245
2001-10-27  Stefan Monnier  <monnier@cs.yale.edu>

	* textmodes/text-mode.el (text-mode): Use define-derived-mode.
	(toggle-text-mode-auto-fill): Use derived-mode-p.

246 247 248 249 250
2001-10-27  Gerd Moellmann  <gerd.moellmann@t-online.de>

	* net/ange-ftp.el (ange-ftp-send-cmd): Call fix-name-func for
	`mdtm'.  From "Forrest Cahoon" <forrest.cahoon@merrillcorp.com>.

Eli Zaretskii's avatar
Eli Zaretskii committed
251 252
2001-10-26  Eli Zaretskii  <eliz@is.elta.co.il>

Stefan Monnier's avatar
Stefan Monnier committed
253 254
	* term/pc-win.el (x-frob-font-slant, x-frob-font-weight):
	Add make-obsolete cookies, to follow faces.el.
Eli Zaretskii's avatar
Eli Zaretskii committed
255

Eli Zaretskii's avatar
Eli Zaretskii committed
256
	These changes avoid warnings from the byte compiler in faces.el:
Stefan Monnier's avatar
Stefan Monnier committed
257

Eli Zaretskii's avatar
Eli Zaretskii committed
258 259
	* faces.el (internal-get-face): Use facep instead of the obsolete
	internal-find-face.
Stefan Monnier's avatar
Stefan Monnier committed
260 261 262 263
	(internal-frob-font-weight, internal-frob-font-slant):
	New defaliases for obsolete functions.
	(x-make-font-bold, x-make-font-demibold, x-make-font-unbold)
	(x-make-font-italic, x-make-font-oblique, x-make-font-unitalic)
Eli Zaretskii's avatar
Eli Zaretskii committed
264 265 266 267
	(x-make-font-bold-italic): Use internal-frob-font-weight and
	internal-frob-font-slant aliases instead of the obsolete
	x-frob-... functions.

268 269 270
2001-10-26  Sam Steingold  <sds@gnu.org>

	* textmodes/sgml-mode.el (html-mode): Set `html-xhtml' from the
271
	DOCTYPE; set `mode-name' based on it.
272 273 274
	(html-tag-alist): Use `html-xhtml' for "li", "dt" and "dd".
	(sgml-tag): Close empty tags in XHTML.

Jason Rumney's avatar
Jason Rumney committed
275 276 277 278 279
2001-10-26  Jason Rumney  <jasonr@gnu.org>

	* w32-fns.el: (w32-charset-info-alist): Use ANSI for iso10646-1
	when UNICODE is not defined.

280 281 282 283 284
2001-10-26  Sam Steingold  <sds@gnu.org>

	* font-lock.el (c-font-lock-keywords-2): Do not require labels to
	be alone on the line.

Eli Zaretskii's avatar
Eli Zaretskii committed
285 286
2001-10-26  Eli Zaretskii  <eliz@is.elta.co.il>

Stefan Monnier's avatar
Stefan Monnier committed
287
	* button.el (button): Special face definition for MS-DOS terminals.
Eli Zaretskii's avatar
Eli Zaretskii committed
288

289 290 291 292
2001-10-26  Sam Steingold  <sds@gnu.org>

	* progmodes/sh-script.el (sh-font-lock-syntactic-keywords):
	Protect the /= test by checking that the args are non-nil.
Stefan Monnier's avatar
Stefan Monnier committed
293
	(sh-font-lock-close-heredoc): Check eof for being non-nil.
294

Gerd Moellmann's avatar
Gerd Moellmann committed
295 296 297 298 299 300 301 302 303
2001-10-26  Tomas Abrahamsson  <tab@lysator.liu.se>

	* textmodes/artist.el (artist-version): 1.2.4.
	(artist-butlast-fn): New variable.
	(artist-butlast): New function.
	(artist-ellipse-mirror-quadrant): Use it.
	(artist-mouse-draw-poly): Use nil for `point-list'.
	(artist-mouse-draw-poly): Check for point-list being nil.

304 305 306 307 308 309 310 311 312 313 314 315 316 317
2001-10-26  Peter Kleiweg  <kleiweg@let.rug.nl>

	* progmodes/ps-mode.el (ps-mode-print-function): Remove quote for
	lambda expression.
	(ps-mode-menu-main): Submenu with options on/off was replaced with
	a toggle button.
	(ps-mode, ps-run-mode): Define with `define-derived-mode'
	(ps-mode): Autoload cookie added on same line as comment
	(ps-mode-tabkey, ps-mode-backward-delete-char):
	(ps-mode-r-balance): Replace `delete-horizontal-space' and
	`indent-to' with `indent-line-to'
	(ps-mode-print-buffer, ps-mode-print-region): Use `funcall'
	instead of `eval'.
	(ps-mode-print-region): Use `with-temp-buffer'.
Stefan Monnier's avatar
Stefan Monnier committed
318
	(ps-run-start): Use of `mapconcat'.  Use `apply' instead of `eval'.
319 320
	(numerous places): Add back-tick and tick around names in
	docstrings, fix punctuation in docstrings, remove trailing spaces.
321

Stefan Monnier's avatar
Stefan Monnier committed
322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337
2001-10-25  Stefan Monnier  <monnier@cs.yale.edu>

	* textmodes/sgml-mode.el (sgml-font-lock-keywords-1): Ignore comments.
	(sgml-font-lock-keywords-2): Use `eval'.  Moved from sgml-mode-common.
	(sgml-font-lock-syntactic-keywords): New var.
	(sgml-mode-common): Drop the two args.
	Don't make buffer-local variables that aren't used.
	Don't set sgml-font-lock-keywords-2 now that it uses `eval instead.
	Don't set `before-string' props from sgml-display-text.
	(sgml-mode): Use define-derived-mode.
	(sgml-tags-invisible): Use sgml-display-text.
	(sgml-quote): New command.
	(html-tag-alist): Add args for `span'.
	(html-mode): Use define-derived-mode.
	Set sgml-display-text and sgml-tag-face-alist.

338 339 340 341 342
2001-10-25  Sam Steingold  <sds@gnu.org>

	* add-log.el (add-log-always-start-new-record): New user option.
	(add-change-log-entry): Use it.

343 344 345 346 347
2001-10-25  Richard M. Stallman  <rms@gnu.org>

	* progmodes/etags.el (tags-query-replace): Make tags-loop-scan
	bind case-fold-search if FROM is not all lower case.

Gerd Moellmann's avatar
Gerd Moellmann committed
348 349
2001-10-25  Gerd Moellmann  <gerd@gnu.org>

Gerd Moellmann's avatar
Gerd Moellmann committed
350 351 352
	* startup.el (normal-top-level): Check for frame-initial-frame
	only if it's really used.

Gerd Moellmann's avatar
Gerd Moellmann committed
353 354
	* mail/mh-utils.el (mh-recenter): Call recenter with arg `(4)'.

Gerd Moellmann's avatar
Gerd Moellmann committed
355 356 357 358
	* progmodes/compile.el (compilation-parse-errors-filename-function):
	New variable.
	(compilation-parse-errors): Use it.

Stefan Monnier's avatar
Stefan Monnier committed
359 360 361 362 363 364 365 366 367 368 369
2001-10-25  Stefan Monnier  <monnier@cs.yale.edu>

	* emacs-lisp/checkdoc.el (checkdoc-eval-defun): Call eval-defun
	interactively so that C-u M-C-x still does edebug.
	(checkdoc-sentencespace-region-engine): Don't force a double-space
	after `.' if it doesn't look like an end-of-sentence.
	(debug-ignored-errors): Add `disambiguate ...'.

2001-10-24  Stefan Monnier  <monnier@cs.yale.edu>

	* textmodes/texinfo.el (texinfo-environments)
Stefan Monnier's avatar
Stefan Monnier committed
370
	(texinfo-environment-regexp): Hoist.
Stefan Monnier's avatar
Stefan Monnier committed
371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386
	(texinfo-font-lock-keywords): Use `italic' and `bold' faces.
	Only highlight the menu name in menu items.
	Setup `@foo ... @end foo' as text clones.
	(texinfo-clone-environment): New function.
	(texinfo-mode): Simplify auto-fill-inhibit-regexp.
	(texinfo-insert-block): Simplify.
	(texinfo-insert-quote): Insert a plain " if preceded by \ or if
	the command is repeated.
	(texinfo-last-unended-begin, texinfo-next-unmatched-end): New funs.
	(texinfo-insert-@end): Simplify.

	* textmodes/texnfo-upd.el (texinfo-section-types-regexp)
	(texinfo-section-level-regexp, texinfo-subsection-level-regexp)
	(texinfo-subsubsection-level-regexp)
	(texinfo-update-menu-same-level-regexps)
	(texinfo-update-menu-higher-regexps)
Stefan Monnier's avatar
Stefan Monnier committed
387
	(texinfo-update-menu-lower-regexps): Hoist to eliminate warnings.
Stefan Monnier's avatar
Stefan Monnier committed
388 389 390 391 392 393 394 395

	* derived.el (define-derived-mode): Use {delay,run}-mode-hooks.
	(derived-mode-p): Autoload.

	* subr.el (delay-mode-hooks, delayed-mode-hooks, run-mode-hooks):
	New vars and functions.
	(text-clone-maintain, text-clone-create): New functions.

Miles Bader's avatar
Miles Bader committed
396 397 398 399
2001-10-25  Miles Bader  <miles@gnu.org>

	* facemenu.el (facemenu-add-new-face): Fix variable names.

400 401
2001-10-24  Richard M. Stallman  <rms@gnu.org>

402 403 404 405 406 407 408 409 410 411 412 413 414
	* facemenu.el (facemenu-unlisted-faces): Improve doc strings
	of t and nil values.
	(facemenu-set-face): Handle START and END interactively.
	(facemenu-set-foreground): Don't use a face; specify color directly.
	(facemenu-set-background): Likewise.
	(facemenu-set-face-from-menu): Doc fix.
	(facemenu-active-faces): Use face-attribute-vector
	to handle bare attributes not in faces.
	(facemenu-get-face): Don't handle face names fg:... and bg:...
	specially.
	(facemenu-add-new-face): New argument MENU.
	New way to handle adding colors to the color menus.

415 416
	* env.el (substitute-env-vars): Quote the arg to rx.

417 418 419
2001-10-24  Sam Steingold  <sds@gnu.org>

	* mouse.el (mouse-buffer-menu-mode-groups): Added "Version
420
	Control" and "SGML" groups.
421

Stefan Monnier's avatar
Stefan Monnier committed
422 423 424 425 426 427
2001-10-24  Martin Stjernholm  <bug-cc-mode@gnu.org>

	* progmodes/cc-engine.el (c-beginning-of-member-init-list):
	Better handling of C++ template args to avoid confusion with `<'
	and `>' used as operators in member init expressions.

Gerd Moellmann's avatar
Gerd Moellmann committed
428 429
2001-10-24  Gerd Moellmann  <gerd@gnu.org>

Gerd Moellmann's avatar
Gerd Moellmann committed
430 431 432 433 434 435
	* replace.el (perform-replace): Move START and END parameters
	to the end of the argument list and make them optional.

	* progmodes/ebrowse.el, progmodes/etags.el: Adapt to change in
	perform-replace.

Stefan Monnier's avatar
Stefan Monnier committed
436
	* international/fontset.el (x-must-resolve-font-name): New function.
Gerd Moellmann's avatar
Gerd Moellmann committed
437 438
	(x-complement-fontset-spec): Use it.

439 440
2001-10-23  Stefan Monnier  <monnier@cs.yale.edu>

441 442
	* uniquify.el (uniquify-get-proposed-name): Fix (.. "usr" "/usr" 0).

443 444 445
	* progmodes/compile.el (compile-mouse-goto-error, compile-goto-error):
	Turn caadr into caar of cdr.

Gerd Moellmann's avatar
Gerd Moellmann committed
446 447
2001-10-23  Gerd Moellmann  <gerd@gnu.org>

448
	* info.el (Info-fontify-node): Bind down-mouse-{1,2} instead
449 450
	of mouse-{1,2} since dragging is on the down event.

Gerd Moellmann's avatar
Gerd Moellmann committed
451 452
	* play/doctor.el (make-doctor-variables): Remove a '($ please)'.

453 454 455
	* mail/mh-utils.el (mh-recenter): Call `recenter' with arg t
	if ARG is nil.

Gerd Moellmann's avatar
Gerd Moellmann committed
456 457 458 459
	* desktop.el (desktop-last-buffer): New variable.
	(desktop-create-buffer): Set it.
	(desktop-read): Bind it and switch to that buffer.

460 461
2001-10-22  Gerd Moellmann  <gerd@gnu.org>

462 463
	* progmodes/compile.el (compilation-set-window-height):
	Select old window only if it's still live.
464

465 466 467 468 469
2001-10-22  Pavel Jan,Bm(Bk  <Pavel@Janik.cz>

	* help-mode.el (help-buffer): Remove debugging code.
	From Stefan Monnier <monnier@cs.yale.edu>.

Eli Zaretskii's avatar
Eli Zaretskii committed
470 471
2001-10-22  Eli Zaretskii  <eliz@is.elta.co.il>

472 473
	* files.el (file-name-sans-extension, file-name-extension):
	Don't count the leading dots in file names as signaling an extension.
Eli Zaretskii's avatar
Eli Zaretskii committed
474

André Spiegel's avatar
#  
André Spiegel committed
475 476 477 478
2001-10-22  Andre Spiegel  <spiegel@gnu.org>

	* vc.el (vc-diff-switches): Doc rewritten.

479 480
2001-10-22  Eli Zaretskii  <eliz@is.elta.co.il>

Eli Zaretskii's avatar
Eli Zaretskii committed
481 482
	* tooltip.el (tooltip-set-param): Doc fix.

483 484 485 486 487 488 489 490
	* textmodes/sgml-mode.el (sgml-mode-map): Bind 8-bit codes above
	127 to sgml-maybe-name-self.
	(sgml-name-8bit-mode): Doc fix.
	(sgml-char-names-table): New variable.
	(sgml-name-char): Support non-ASCII and mule-unicode-*
	characters.  Doc fix.
	(sgml-maybe-name-self): Convert unibyte characters to multibyte.

491 492 493
	* tooltip.el (tooltip-x-offset, tooltip-y-offset): Mention in the
	doc string the effect of `left' and `top' parameters in
	tooltip-frame-parameters, the default values, and the units.
494
	(tooltip-frame-parameters): Mention `top' and `left' in the doc string.
495 496 497
	(tooltip-show): Mention in the doc string the `top' and `left'
	parameters in tooltip-frame-parameters, and x-max-tooltip-size.

André Spiegel's avatar
#  
André Spiegel committed
498 499 500 501
2001-10-22  Andre Spiegel  <spiegel@gnu.org>

	Add autoscaling support for vc-annotate.
	From J.D. Smith <jdsmith@astro.cornell.edu>.
502

André Spiegel's avatar
#  
André Spiegel committed
503 504 505 506 507
	* vc.el (vc-annotate-display-default): Accept colormap scaling
	ratio (now deprecated).
	(vc-annotate-display-autoscale): Added.
	(vc-annotate-add-menu): New autoscaling menu options "Span to
	Oldest" and "Span Oldest->Newest".  Easymenu support added for
508
	toggle menus driven by customize variable `vc-annotate-display-mode'.
André Spiegel's avatar
#  
André Spiegel committed
509 510 511 512 513 514 515 516 517 518 519 520
	(vc-annotate-display-select): Added.
	(vc-annotate): Changed temp-buffer-show-function to
	`vc-annotate-display-select'.
	(vc-annotate-display): Removed arguments BUFFER and BACKEND.
	Added argument OFFSET.  Instead of backend function, calls now
	generic `vc-annotate-difference'.
	(vc-annotate-difference): Added as generic function instead of
	backend-specific function.  No longer takes argument POINT, but
	instead accepts a time OFFSET.
	(vc-default-annotate-current-time): Added.

	* vc-cvs.el (vc-cvs-annotate-difference): Removed to generic
521
	version in vc.el, with
André Spiegel's avatar
#  
André Spiegel committed
522 523 524 525
	(vc-cvs-annotate-current-time): Added, as override of default.
	(vc-cvs-annotate-time) Added. Taken mostly from the (now removed)
	`vc-cvs-annotate-difference'.

526 527
2001-10-22  Gerd Moellmann  <gerd@gnu.org>

Gerd Moellmann's avatar
Gerd Moellmann committed
528 529
	* saveplace.el (save-place): Require `saveplace'.

530
	* progmodes/cwarn.el (cwarn-font-lock-feature-keywords-alist):
531 532
	Use `sexp' for :value-type instead of `face'.

Eli Zaretskii's avatar
Eli Zaretskii committed
533 534 535 536 537
2001-10-21  Eli Zaretskii  <eliz@is.elta.co.il>

	* mail/rmailsum.el (rmail-summary-font-lock-keywords): Fix the
	regexps due to 5-digit message IDs.

Jason Rumney's avatar
Jason Rumney committed
538 539
2001-10-21  Jason Rumney  <jasonr@gnu.org>

Eli Zaretskii's avatar
Eli Zaretskii committed
540
	* term/w32-win.el (redisplay-dont-pause): Don't set.
Jason Rumney's avatar
Jason Rumney committed
541

Eli Zaretskii's avatar
Eli Zaretskii committed
542
2001-10-21  Miles Bader  <miles@gnu.org>
Miles Bader's avatar
Miles Bader committed
543 544 545

	* help-funs.el (help-manyarg-func-alist): Variable removed.

Miles Bader's avatar
Miles Bader committed
546 547 548
2001-10-21  Miles Bader  <miles@gnu.org>

	* help-funs.el (help-manyarg-func-alist): Remove entries for
Miles Bader's avatar
Miles Bader committed
549 550 551 552 553 554
	`insert', `insert-and-inherit', `insert-before-markers',
	`insert-before-markers-and-inherit', `message', `message-box',
	`message-or-box', `propertize', `format', `encode-time', `append',
	`concat', `vconcat', `nconc', `widget-apply', `make-hash-table',
	`insert-string', `ml-if', `ml-provide-prefix-argument', and
	`ml-prefix-argument-loop'.
Miles Bader's avatar
Miles Bader committed
555

André Spiegel's avatar
#  
André Spiegel committed
556 557
2001-10-21  Andre Spiegel  <spiegel@gnu.org>

558 559
	* vc.el (vc-diff-internal, vc-coding-system-for-diff)
	(vc-default-diff-tree): New functions.
André Spiegel's avatar
#  
André Spiegel committed
560 561 562 563 564
	(vc-version-diff): Use them.  As a result, coding systems are now
	set up properly for all sorts of diffs, and tree diffs can now
	also be done locally.
	(vc-diff): With a prefix argument, don't require that it's called
	from a buffer under version control.
André Spiegel's avatar
#  
André Spiegel committed
565
	(diff-switches): Remove duplicate definition.
566

André Spiegel's avatar
#  
André Spiegel committed
567 568
	* vc-cvs.el (vc-cvs-diff-tree): New function.

569 570
2001-10-21  Miles Bader  <miles@gnu.org>

Miles Bader's avatar
Miles Bader committed
571 572 573 574 575
	* help-funs.el (help-manyarg-func-alist): Remove entries for
	`list', `vector', `make-byte-code', `call-process',
	`call-process-region', `string', `+', `-', `*', `/', `max', `min',
	`logand', `logior', and `logxor'.

576 577 578 579
	* wid-edit.el (checkbox): Swap bg/fg colors in image, and invert
	image bits to compensate.  Use `make-string' instead of
	`make-bool-vector' (XBM apparently wants byte-aligned rows).

580 581 582 583 584
2001-10-20  Kim F. Storm  <storm@cua.dk>

	* simple.el (kill-ring-save): Don't show extent of copied region
	if using transient-mark-mode and region is fully visible.

Kim F. Storm's avatar
Kim F. Storm committed
585 586 587 588
2001-10-20  Gerd Moellmann  <gerd@gnu.org>

	* (Version 21.1 released.)

589 590 591
2001-10-19  Eli Zaretskii  <eliz@is.elta.co.il>

	* files.el (auto-mode-alist): Associate .indent.pro with
592
	Fundamental mode.  Suggested by Samuel Padgett <spadgett1@nc.rr.com>.
593

594 595 596 597 598
2001-10-18  Sam Steingold  <sds@gnu.org>

	Put the *Compile-Log* buffer in `compilation-mode'.
	* emacs-lisp/bytecomp.el (byte-goto-log-buffer): New function.
	(byte-compile-log-1, byte-compile-log-file)
599
	(displaying-byte-compile-warnings): Use it
600

601 602
2001-10-18  Stefan Monnier  <monnier@cs.yale.edu>

603 604
	* mail/smtpmail.el (smtpmail-via-smtp): Use mail-envelope-from if set.

605 606
	* xml.el (xml-parse-tag): Use eq on char-after's return value.

607 608
2001-10-18  Gerd Moellmann  <gerd@gnu.org>

609 610
	* isearch.el (isearch-mode-map): Bind `mouse-movement' to nil.

611 612
	* obsolete/hilit19.el (hilit-lookup-face-create):
	Call set-face-font only if display-graphic-p.
613 614
	(toplevel): Remove references to window-system.

615 616 617 618
2001-10-18  Miles Bader  <miles@gnu.org>

	* simple.el (what-line): Avoid problems with field properties.

619 620 621 622 623
2001-10-17  Eli Zaretskii  <eliz@is.elta.co.il>

	* wid-edit.el (widget-field-face, widget-single-line-field-face):
	Define special colors for a tty.

624 625 626 627 628
2001-10-17  Francesco Potorti`  <pot@gnu.org>

	* comint.el (comint-password-prompt-regexp): Make it less
	restrictive, letting comint recognise OpenSSH2 passphrase prompts.

629
2001-10-17  John Wiegley  <johnw@gnu.org>
John Wiegley's avatar
John Wiegley committed
630 631 632 633 634 635 636 637 638 639

	* eshell/em-unix.el (eshell/cat): Do a quick test if something is
	a regular file, before checking if it is a directory or symlink.
	This avoids a call to eshell-file-attributes, which can be
	expensive in some situations.

	* eshell/em-ls.el (eshell-ls-dired-initial-args): Added an extra
	customization variable, to differentiate ls-in-dired from regular
	uses of ls.

640 641 642 643
2001-10-17  Miles Bader  <miles@gnu.org>

	* custom.el (defface): Mention `:inherit' in doc-string.

644 645 646 647
2001-10-16  Eli Zaretskii  <eliz@is.elta.co.il>

	* paren.el: Update the Commentary with installation instructions.

Gerd Moellmann's avatar
Gerd Moellmann committed
648 649 650 651 652
2001-10-15  Dave Love  <fx@gnu.org>

	* international/mule.el (set-auto-coding): Fix regexps for local
	variables section not to eat newlines.

653 654 655 656 657
2001-10-15  Miles Bader  <miles@gnu.org>

	* simple.el (display-message-or-buffer): Pass the correct buffer
	to `display-buffer'.

Stefan Monnier's avatar
Stefan Monnier committed
658 659 660 661 662 663 664 665
2001-10-14  Stefan Monnier  <monnier@cs.yale.edu>

	* progmodes/executable.el (executable-binary-suffixes): Make varalias.
	(executable-find): Use exec-suffixes.
	(executable-set-magic): Don't use make-local-hook.

	* bindings.el (exec-suffixes): Initialize to a system-dependent value.

Eli Zaretskii's avatar
Eli Zaretskii committed
666 667
2001-10-14  Eli Zaretskii  <eliz@is.elta.co.il>

668 669 670 671
	* bindings.el (completion-ignored-extensions) [ms-dos, windows-nt]:
	Add .ico, .pif, .lnk, .dll, .drv, .vxd, and .386.
	Add .so to the Unix and GNU branch.

Stefan Monnier's avatar
Stefan Monnier committed
672 673 674 675 676 677
	* international/latin-1.el:
	* international/latin-2.el:
	* international/latin-3.el:
	* international/latin-4.el:
	* international/latin-5.el:
	* international/latin-8.el:
Eli Zaretskii's avatar
Eli Zaretskii committed
678 679 680
	* international/latin-9.el: Add no-byte-compile: t, since
	Makefile.in instructs make-docfile to look at .el files.

Miles Bader's avatar
Miles Bader committed
681 682 683 684 685 686 687 688 689
2001-10-14  Miles Bader  <miles@gnu.org>

	* button.el (define-button-type): Allow supertype property to be
	specified with a keyword `:supertype' too.
	(button-put, make-text-button): Allow button type property to be
	specified using the keyword `:type' too.
	(button-type): New function.
	(button): Add `button-category-symbol' property.

Stefan Monnier's avatar
Stefan Monnier committed
690 691
2001-10-13  Stefan Monnier  <monnier@cs.yale.edu>

Stefan Monnier's avatar
Stefan Monnier committed
692 693 694
	* bindings.el (esc-map): Revert `j' and `C-j' bindings to
	indent-new-comment-line from comment-indent-new-line.

Stefan Monnier's avatar
Stefan Monnier committed
695 696 697 698 699 700 701 702 703 704 705 706 707 708 709 710 711 712 713 714 715 716 717 718 719 720 721 722 723 724 725 726 727 728 729 730 731
	* textmodes/refill.el (refill-mode):
	Bind DEL to backward-delete-char-untabify.
	Set backward-delete-char-untabify-method to `hungry'.

	* textmodes/bib-mode.el (bib-mode):
	* play/gomoku.el (gomoku-mode):
	* textmodes/page-ext.el (pages-directory-mode):
	* textmodes/scribe.el (scribe-mode): Use define-derived-mode.

	* textmodes/two-column.el (2C-mode): Don't use make-local-hook.

	* emacs-lisp/syntax.el (syntax-ppss): Autoload.

	* progmodes/sh-script.el (sh-font-lock-syntactic-keywords):
	Handle here-docs differently.
	(sh-font-lock-heredoc): Remove.
	(sh-here-doc-open-re, sh-here-doc-markers, sh-here-doc-re): New vars.
	(sh-font-lock-here-doc, sh-font-lock-close-heredoc)
	(sh-font-lock-open-heredoc): New functions.
	(sh-mode): Don't copy sh-font-lock-syntactic-keywords any more.
	(sh-font-lock-keywords-1): Use regexp-opt.
	(sh-in-comment-or-string): Use syntax-ppss.
	(sh-case, sh-for, sh-indexed-loop, sh-function, sh-if, sh-repeat)
	(sh-select, sh-tmp-file): Add explicit terminating \n.

	* net/ange-ftp.el (ange-ftp-raw-send-cmd, ange-ftp-wait-not-busy):
	Use with-current-buffer.
	(ange-ftp-cd): New arg `noerror' to prevent signalling an error.
	(ange-ftp-send-cmd): If a `cd' is used (because of a space in the
	filename), catch any error that occurs in `ange-ftp-cd'.
	If an error happened, don't bother sending `cmd' at all.
	Fix a parenthesis typo.
	(ange-ftp-write-region): Don't blindly use binary if the remote host
	is unix-like.

	* play/pong.el (pong-init): Don't use make-local-hook.

732
2001-10-13  Michael Kifer  <kifer@cs.sunysb.edu>
Stefan Monnier's avatar
Stefan Monnier committed
733 734 735 736

	* viper-ex.el (ex-edit): Make checks for modified buffer/file.
	(viper-get-ex-address-subr): More precise addr for the $ marker

Eli Zaretskii's avatar
Eli Zaretskii committed
737 738 739 740
2001-10-13  Eli Zaretskii  <eliz@is.elta.co.il>

	* version.el (emacs-version): Bump to 21.1.50.

741 742 743 744 745 746 747 748 749 750 751 752
2001-10-13  Pavel Jan,Bm(Bk  <Pavel@Janik.cz>

	* mail/mailalias.el (mail-directory-stream): Do not double
	variables in the lambda-list.

	* play/gomoku.el (gomoku-init-display): Ditto.

	* play/landmark.el (lm-init-display): Ditto.

	* delim-col.el (delimit-columns-rectangle-max): Ditto.
	(delimit-columns-rectangle-line): Ditto.

Stefan Monnier's avatar
Stefan Monnier committed
753 754
2001-10-12  Stefan Monnier  <monnier@cs.yale.edu>

Stefan Monnier's avatar
Stefan Monnier committed
755 756 757 758 759
	* newcomment.el (comment-region-internal): Don't rebind
	invisibility_spec now that the C routines handle it correctly.

	* help-funs.el (locate-library): Use load-suffixes and abbrev filename.

Stefan Monnier's avatar
Stefan Monnier committed
760 761 762
	* frame.el (special-display-popup-frame): Obey new specs `same-window'
	and `same-frame'.

763 764 765 766 767 768 769
	* menu-bar.el (minibuffer-local-*map): Take inheritance into account.

	* simple.el (minibuffer-local*-map): Remove redundant bindings.

	* bindings.el (minibuffer-local-map): Also bind next, C-n, C-s, prior,
	C-p and C-r.  Remove redundant bindings from inheriting maps.

Stefan Monnier's avatar
Stefan Monnier committed
770 771 772 773 774 775 776 777 778 779 780 781 782 783 784 785 786 787 788 789 790 791 792 793 794 795 796 797 798 799 800 801 802 803 804 805 806 807 808 809 810 811 812 813 814 815 816 817 818 819 820 821 822 823 824 825 826 827 828 829 830 831 832 833 834 835 836 837 838 839 840 841 842 843 844 845 846 847 848 849 850 851 852 853 854 855 856 857 858 859 860 861
	* progmodes/cperl-mode.el: Merged in changes from v4.32.
	 After 4.23 and: After 4.24:
	(cperl-contract-levels): Restore position.
	(cperl-beautify-level): Likewise.
	(cperl-beautify-regexp): Likewise.
	(cperl-commentify): Rudimental support for length=1 runs
	(cperl-find-pods-heres): Process 1-char long REx comments too /a#/x
	 After 4.25:
	(cperl-commentify): Was recognizing length=2 "strings" as length=1.
	(imenu-example--create-perl-index): Was not enforcing
	syntaxification-to-the-end.
	(cperl-invert-if-unless): Allow `for', `foreach'.
	(cperl-find-pods-heres): Quote `cperl-nonoverridable-face'.
	Mark qw(), m()x as indentable.
	(cperl-init-faces): Highlight `sysopen' too.
	Highlight $var in `for my $var' too.
	(cperl-invert-if-unless): Was leaving whitespace at end.
	(cperl-linefeed): Was splitting $var{$foo} if point after `{'.
	(cperl-calculate-indent): Remove old commented out code.
	Support (primitive) indentation of qw(), m()x.
	 After 4.26:
	(cperl-problems): Mention `fill-paragraph' on comment. \"" and
	q [] with intervening newlines.
	(cperl-autoindent-on-semi): New customization variable.
	(cperl-electric-semi): Use `cperl-autoindent-on-semi'.
	(cperl-tips): Mention how to make CPerl the default mode.
	(cperl-mode): Support `outline-minor-mode'.  From Mark A. Hershberger.
	(cperl-outline-level): New function.
	(cperl-highlight-variables-indiscriminately): New customization var.
	(cperl-init-faces): Use `cperl-highlight-variables-indiscriminately'.
	From Sean Kamath <kamath@pogo.wv.tek.com>.
	(cperl-after-block-p): Support CHECK and INIT.
	(cperl-init-faces, cperl-short-docs): Likewise and "our".
	From Doug MacEachern <dougm@covalent.net>.
	 After 4.27:
	(cperl-find-pods-heres): Recognize \"" as a string.
	Mark whitespace between q and [] as `syntax-type' => `prestring'.
	Allow whitespace between << and "FOO".
	(cperl-problems): Remove \"" and q [] with intervening newlines.
	Mention multiple <<EOF as unsupported.
	(cperl-highlight-variables-indiscriminately): Doc misprint fixed.
	(cperl-indent-parens-as-block): New configuration variable.
	(cperl-calculate-indent): Merge cases of indenting non-BLOCK groups.
	Use `cperl-indent-parens-as-block'.
	(cperl-find-pods-heres): Test for =cut without empty line instead of
	complaining about no =cut.
	(cperl-electric-pod): Change the REx for POD from "\n\n=" to "^\n=".
	(cperl-find-pods-heres): Likewise.
	(cperl-electric-pod): Change `forward-sexp' to `forward-word':
	POD could've been marked as comment already.
	(cperl-unwind-to-safe): Unwind before start of POD too.
	 After 4.28:
	(cperl-forward-re): Throw an error at proper moment REx unfinished.
	 After 4.29:
	(x-color-defined-p): Make an extra case to peacify the warning.
	Toplevel: `defvar' to peacify the warnings.
	(cperl-find-pods-heres): Could access `font-lock-comment-face' in -nw.
	No -nw-compile time warnings now.
	(cperl-find-tags): TAGS file had too short substring-to-search.
	Be less verbose in non-interactive mode
	(imenu-example--create-perl-index): Set index-marker after name
	(cperl-outline-regexp): New variable.
	(cperl-outline-level): Made compatible with `cperl-outline-regexp'.
	(cperl-mode): Made use `cperl-outline-regexp'.
	 After 4.30:
	(cperl-find-pods-heres): =cut the last thing, no blank line, was error.
	(cperl-outline-level): Make start-of-file same level as `package'.
	 After 4.31:
	(cperl-electric-pod): `head1' and `over' electric only if empty.
	(cperl-unreadable-ok): New variable.
	(cperl-find-tags): Use `cperl-unreadable-ok', do not fail
	on an unreadable file.
	(cperl-write-tags): Use `cperl-unreadable-ok', do not fail
	on an unreadable directory.

	* progmodes/compile.el (compile-mouse-goto-error, compile-goto-error):
	Consider the text between two errors as belonging to the first error.
	(compilation-goto-locus): Use pop-to-buffer rather than
	switch-to-buffer-other-frame.

	* progmodes/awk-mode.el (awk-mode-syntax-table): / has string syntax.
	(awk-font-lock-syntactic-keywords): New var.
	(awk-mode): Use it.

	* expand.el (expand-c-for-skeleton): Add explicit terminating \n.

	* faces.el (describe-face): Call help-setup-xref earlier.

	* jka-compr.el (jka-compr-load-suffixes): New var.
	(jka-compr-install): Add its content to load-suffixes.
	(jka-compr-uninstall): Remove its content from load-suffixes.

862 863
2001-10-12  Sam Steingold  <sds@gnu.org>

864 865 866
	* bindings.el (completion-ignored-extensions): CL-related
	extensions are platform-independent.

867 868 869
	* net/ange-ftp.el (ange-ftp-copy-files-async): New function for
	asynchronous multiple file copying.

870 871
2001-10-12  Gerd Moellmann  <gerd@gnu.org>

Stefan Monnier's avatar
Stefan Monnier committed
872
	* emacs-lisp/bytecomp.el (byte-compile-check-lambda-list):
873
	Turn error for repeated variables into warning.
Stefan Monnier's avatar
Stefan Monnier committed
874 875 876

	* emacs-lisp/bytecomp.el (byte-compile-check-lambda-list):
	New function checking that lambda-list consists of non-constant
877
	symbols, that &rest and &optional are followed by variable names,
Stefan Monnier's avatar
Stefan Monnier committed
878
	that &rest VAR is the last element, and that variables aren't doubled.
879 880
	(byte-compile-lambda): Use it.

Gerd Moellmann's avatar
Gerd Moellmann committed
881 882 883 884 885
2001-10-12  Eli Barzilay <eli@barzilay.org>

	* calculator.el (calculator-eng-display): Don't call concat
	with an integer argument.

886 887 888
2001-10-12  Miles Bader  <miles@gnu.org>

	* help-mode.el (help-customize-face): New button-type.
Sam Steingold's avatar
typo  
Sam Steingold committed
889

890 891 892 893 894 895
	* faces.el (list-faces-display): Fix args to `help-xref-button'.
	(describe-face): Fix args to `help-xref-button'.
	Don't switch to help-buffer around call to `help-setup-xref'.
	Use `help-buffer' instead of hard-wired "*Help*".
	Require `help-mode'.

Stefan Monnier's avatar
Stefan Monnier committed
896 897 898 899 900 901 902 903 904 905 906 907 908 909 910 911 912 913 914 915 916 917 918 919 920 921 922 923
2001-10-11  Stefan Monnier  <monnier@cs.yale.edu>

	* net/goto-addr.el (goto-address-mail-regexp): Allow + in username.

	* help-mode.el (help-buffer): New function.
	Returns the buffer-name to use for help output.
	Change all the code to use it instead of hard-coding *Help*.
	(help-mode-map): Put back the mouse-2 binding.
	(help-xref-stack): Change the format and make buffer-local.
	(help-xref-stack-item): Make buffer-local.
	(help-setup-xref): Do the `push' here rather than in help-do-xref.
	(help-xref-interned): Display the face doc as well.
	(help-follow-mouse): Re-introduce.
	(help-xref-go-back): Adapt to the new use of help-xref-stack.
	(help-do-xref): Don't `push' any more.
	(help-follow): Also follow face names.

	* help-funs.el (describe-function-1): Remove unused `parens' arg.
	Don't call help-setup-xref anymore and remove its `interactive-p' arg.
	Autoload and cleanup.
	(describe-function): Call help-setup-xref.
	(describe-variable): Call help-setup-xref earlier.

	* help.el (describe-bindings-internal): New fun moved from keymap.c.
	(view-lossage): Call help-setup-xref correctly and earlier.
	(describe-bindings): Call help-setup-xref earlier.
	(describe-key): Call help-setup-xref.  Fix call to describe-function-1.
	(describe-mode): Don't autoload.  Call help-setup-xref earlier.
Sam Steingold's avatar
typo  
Sam Steingold committed
924

Gerd Moellmann's avatar
Gerd Moellmann committed
925 926
2001-10-11  Gerd Moellmann  <gerd@gnu.org>

927 928
	* master.el (master-mode): Use define-minor-mode instead of
	easy-mmode-define-minor-mode.  Add autload cookie.
Sam Steingold's avatar
typo  
Sam Steingold committed
929
	(Commentary): Remove the line showing how to autoload master-mode,
930 931
	since it's always autoloaded.

Gerd Moellmann's avatar
Gerd Moellmann committed
932 933
	* master.el: New file.

Gerd Moellmann's avatar
Gerd Moellmann committed
934 935 936 937 938
2001-10-11  Dave Love  <fx@gnu.org>

	* emacs-lisp/byte-opt.el (byte-optimize-lapcode)
	<byte-constref-ops>: Consider byte-constant2 and clarify the code.
	<const-C varset-X const-C>: Fix car/cdr typo.
Gerd Moellmann's avatar
Gerd Moellmann committed
939

Gerd Moellmann's avatar
Gerd Moellmann committed
940
2001-10-11  Gerd Moellmann  <gerd@gnu.org>
Gerd Moellmann's avatar
Gerd Moellmann committed
941

Stefan Monnier's avatar
Stefan Monnier committed
942 943 944
	* emacs-lisp/bytecomp.el (byte-compile-display-log-head-p):
	New function extracted from byte-compile-log-1.
	(byte-compile-log-1): Change output to be more in line with
Gerd Moellmann's avatar
Gerd Moellmann committed
945 946
	the output of other GNU tools.
	(byte-compile-warn): Emit `warning' instead of `**' for warnings.
Stefan Monnier's avatar
Stefan Monnier committed
947 948
	(byte-compile-report-error): Downcase error message.
	Use `error' instead of `!!' for error messages.
Gerd Moellmann's avatar
Gerd Moellmann committed
949 950 951 952 953
	(byte-compile-print-syms): Treat non-interactive case specially.
	(displaying-byte-compile-warnings): Use backquote.
	(byte-compile-from-buffer): Bind byte-compile-last-line.
	(batch-byte-compile): Remove `Done' message.

Eli Zaretskii's avatar
Eli Zaretskii committed
954
2001-10-11  Stefan Monnier  <monnier@cs.yale.edu>
Stefan Monnier's avatar
Stefan Monnier committed
955 956 957

	* emacs-lisp/copyright.el (copyright): Add final \n.

Miles Bader's avatar
Miles Bader committed
958 959 960 961
2001-10-11  Miles Bader  <miles@gnu.org>

	* diff.el (diff): Display default values in prompts as
	`(default ...)', not `(...)'.
Sam Steingold's avatar
typo  
Sam Steingold committed
962

Miles Bader's avatar
Miles Bader committed
963 964
	* info.el (Info-follow-reference): Likewise.

965 966
2001-10-10  Stefan Monnier  <monnier@cs.yale.edu>

Stefan Monnier's avatar
Stefan Monnier committed
967 968
	* emacs-lisp/autoload.el (doc-string-elt): Remove.

969 970 971 972 973 974 975 976 977 978
	* newcomment.el (comment-indent): Be a little more robust in case
	comment-indent-function does funny things.
	(comment-normalize-vars): Autoload.
	(comment-region-internal): Fiddle with the visibility spec.
	(comment-valid-prefix): New function.
	(comment-indent-new-line): Use it.  Ignore adaptive-fill-prefixes
	that would turn comment-text into non-comment-text.

	* emacs-lisp/syntax.el: New file.

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 1010 1011 1012 1013 1014 1015 1016 1017 1018 1019 1020 1021
	* progmodes/tcl.el: Change maintainer to FSF and remove loads of
	compatibility cruft.
	(tcl-using-emacs-19, tcl-using-emacs-19-23, tcl-using-xemacs-19)
	(tcl-version, tcl-maintainer, tcl-use-hairy-comment-detector): Remove.
	(tcl-mode-map): Remove bindings for tcl-beginning-of-defun,
	tcl-end-of-defun, tcl-mark-defun, tcl-indent-for-comment,
	tcl-submit-bug-report.
	(tcl-mode-syntax-table): Leave \f alone.
	(inferior-tcl-mode-map): Remove bindings for tcl-beginning-of-defun,
	tcl-end-of-defun, tcl-submit-bug-report.
	(tcl-xemacs-menu): Fix up and pass it directly to easymenu.
	(tcl-add-emacs-menu): Remove.
	(tcl-fill-mode-map, tcl-fill-inferior-map): Moved into the defvar.
	(tcl-keyword-list): Add `chain'.
	(tcl-font-lock-syntactic-keywords): New variable.
	(tcl-pps-has-arg-6): Remove.
	(tcl-internal-beginning-of-defun, tcl-internal-end-of-defun)
	(tcl-internal-mark-defun): Remove.
	(tcl-set-proc-regexp, tcl-set-font-lock-keywords): Use regexp-opt.
	(tcl-mode): Use define-derived-mode.  Simplify.
	Set comment-indent-function.
	(tcl-indent-command): Use line-beginning-position and comment-indent.
	(tcl-calculate-indent): Renamed from calculate-tcl-indent.
	(tcl-indent-line): Use tcl-calculate-indent.
	(tcl-indent-exp): Renamed from indent-tcl-exp.  Use new names.
	(tcl-add-log-defun): Renamed from add-log-tcl-defun.  Use match-string.
	(tcl-filter): Use with-current-buffer, simplify.
	(inferior-tcl-mode): Use define-derived-mode.
	(tcl-hairy-in-comment): Renamed tcl-in-comment.
	(tcl-simple-in-comment, tcl-in-comment): Removed.
	(tcl-files-alist): New function.
	(tcl-help-snarf-commands): Use it and return the result directly
	rather than through a global variable.
	(tcl-reread-help-files): Fix up the call to tcl-help-snarf-commands.
	(tcl-help-on-word): Provide the default value to completing-read.
	(tcl-hilit): Remove.
	(tcl-hashify-buffer, tcl-popup-menu): Simplify.
	(tcl-comment-indent): New function.
	(tcl-submit-bug-report): Remove.
	(tcl-uncomment-region, tcl-indent-for-comment, add-log-tcl-defun)
	(indent-tcl-exp, calculate-tcl-indent, tcl-beginning-of-defun)
	(tcl-end-of-defun, tcl-mark-defun, tcl-mark): Redefine as aliases.

1022 1023 1024 1025 1026
2001-10-10  Miles Bader  <miles@gnu.org>

	* info.el (Info-insert-dir): Don't call `Info-fontify-menu-headers'.
	(Info-fontify-node): Don't fontify the node if it's already been done.

1027 1028
2001-10-10  Gerd Moellmann  <gerd@gnu.org>

Gerd Moellmann's avatar
Gerd Moellmann committed
1029 1030 1031 1032
	* international/iso-transl.el (iso-transl-e-caret)
	(iso-transl-i-caret, iso-transl-o-caret, iso-transl-u-caret):
	Fix duplicates.  From Dave Love <d.love@dl.ac.uk>.

Gerd Moellmann's avatar
Gerd Moellmann committed
1033 1034 1035
	* simple.el (end-of-buffer): Fix code scrolling specially
	for the buffer end.

1036 1037
	* startup.el (command-line-1): Bind tab-width to 8.

Pavel Janík's avatar
Pavel Janík committed
1038 1039
2001-10-10  Pavel Jan,Bm(Bk  <Pavel@Janik.cz>

Gerd Moellmann's avatar
Gerd Moellmann committed
1040
	* emulation/tpu-edt.el: Use defalias instead of fset for
Pavel Janík's avatar
Pavel Janík committed
1041 1042 1043
	user-visible commands.  From Rob Riepel
	<riepel@Networking.Stanford.EDU>.

Gerd Moellmann's avatar
Gerd Moellmann committed
1044 1045 1046 1047
2001-10-09  Gerd Moellmann  <gerd@gnu.org>

	* ruler-mode.el: New file.

1048 1049
2001-10-09  Miles Bader  <miles@gnu.org>

Miles Bader's avatar
Miles Bader committed
1050 1051
	* apropos.el (button): New require.

Miles Bader's avatar
Miles Bader committed
1052
	* help-funs.el: New file, contents mostly from `help.el'.
1053 1054
	(describe-variable): Use `condition-case' instead of `ignore-errors'.

Miles Bader's avatar
Miles Bader committed
1055
	* help-mode.el: New file, contents mostly from `help.el'.
1056

Miles Bader's avatar
Miles Bader committed
1057 1058 1059 1060 1061 1062 1063 1064 1065 1066 1067 1068 1069 1070 1071 1072 1073 1074 1075 1076
	* help.el: Don't require `view' when compiling.
	(help-with-tutorial, describe-function, describe-function-1)
	(variable-at-point, describe-variable, locate-library):
	Functions moved into `help-funs.el'.
	(help-manyarg-func-alist): Variable moved into `help-funs.el'.
	(help-mode, help-mode-setup, help-mode-finish, help-button-action)
	(help-setup-xref, help-xref-following, help-make-xrefs)
	(help-xref-button, help-insert-xref-button, help-xref-interned)
	(help-xref-go-back, help-go-back, help-do-xref, help-follow)
	(help-xref-on-pp): Functions moved into `help-mode.el'
	(help-mode-map, help-xref-stack, help-xref-stack-item)
	(help-highlight-p, help-highlight-face, help-back-label)
	(help-xref-symbol-regexp, help-xref-mule-regexp)
	(help-xref-info-regexp): Variables moved into `help-mode.el'.
	(help-symbol, help-back, help-info, help-customize-variable)
	(help-function-def, help-variable-def):
	Button-types moved into `help-mode.el'.
	(load-symbol-file-load-history, symbol-file):
	Functions moved into `subr.el'.
	(symbol-file-load-history-loaded): Variable moved into `subr.el'.
1077 1078 1079 1080 1081
	(view-lossage): Call `help-setup-xref' instead of doing it manually.

	* subr.el (symbol-file-load-history-loaded)
	(load-symbol-file-load-history, symbol-file): Moved from `help.el'.

Miles Bader's avatar
Miles Bader committed
1082 1083
	* loadup.el ("button"): Load removed.

1084 1085 1086
	* button.el (define-button-type): Respect any `supertype' property.
	(button-type-subtype-p, button-has-type-p): New functions.

1087 1088 1089 1090 1091
	* rfn-eshadow.el (rfn-eshadow-regexp): Deal correctly with escaped
	dollar-signs.

	* comint.el (comint-insert-previous-argument): New function.
	(comint-mode-map): Bind `C-c .' to `comint-input-previous-argument'.
1092
	(comint-insert-previous-argument-last-start-pos)
1093 1094
	(comint-insert-previous-argument-last-index): New variables.

1095 1096 1097
	* apropos.el (apropos-next-label-button): Use the presence of a
	`apropos-label' property to detect label buttons.

1098 1099 1100 1101 1102 1103
2001-10-08  Miles Bader  <miles@gnu.org>

	* button.el (next-button, previous-button): Remove N and WRAP
	parameters.  Don't pay attention to `skip' properties.
	(forward-button): Implement wrapping, iterating, and skipping here
	instead.
1104
	(button-activate): USE-MOUSE-ACTION is optional.
Miles Bader's avatar
Miles Bader committed
1105 1106
	(button-nop): Function removed.
	(default-button): Use `ignore' as default button action.
1107

1108 1109
	* apropos.el (apropos-next-label-button): Update arguments to
	`next-button'.
1110
	(apropos-symbol): Add `skip' property.
1111 1112
	(apropos-function, apropos-macro, apropos-command)
	(apropos-variable, apropos-face, apropos-group, apropos-widget)
1113 1114 1115 1116 1117 1118
	(apropos-plist): New button types.
	(apropos-label-properties): Variable removed.
	(apropos-print): Pass button-type to apropos-print-doc, rather
	than help function and label text.
	(apropos-print-doc): Remove ACTION and STR args, add TYPE arg.
	Get button label from TYPE.
1119

1120 1121
2001-10-07  Stefan Monnier  <monnier@cs.yale.edu>

1122 1123 1124 1125 1126 1127 1128 1129 1130
	* help.el (help-mode): Use define-derived-mode.
	(describe-mode): Add optional `buffer' arg.
	Use it instead of going through help-xref-mode.
	Avoid doubling the word `minor' when prettifying.
	(describe-function-1): List the corresponding key bindings.
	(describe-variable): Say if the var is automatically buffer-local.
	If the source is `loaddefs.el', look for the real source.
	(help-xref-mode): Remove.

1131 1132 1133
	* emacs-lisp/bytecomp.el (byte-compile-file): Return success when
	the file says no-byte-compile.

1134 1135 1136 1137
2001-10-08  Miles Bader  <miles@gnu.org>

	* button.el (next-button, previous-button): Respect `skip' property.

Miles Bader's avatar
Miles Bader committed
1138 1139
2001-10-07  Miles Bader  <miles@gnu.org>

1140 1141 1142 1143 1144 1145 1146 1147 1148
	* woman.el (woman-mode-map): Copy button-buffer-map instead of
	making a new keymap.  Don't bind mouse-2.  Bind M-mouse-2 to
	`woman-follow-word' instead of `woman-mouse-2'.
	(woman-follow-word): Renamed from `woman-mouse-2'.
	Follow current unconditionally, since this function is now only
	bound to M-mouse-2.  Use accessor functions.
	(WoMan-highlight-references): Use `make-text-button'.
	(woman-xref): New button type.

Miles Bader's avatar
Miles Bader committed
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
	* loadup.el ("faces"): Move load before loading "loaddefs.el".
	("button"): New load, just before "help" (which uses it).

	* help.el (help-mode-map): Make button-buffer-map our parent.
	Don't bind mouse events or tab/backtab.
	(help-function, help-variable, help-face, help-coding-system)
	(help-input-method, help-character-set, help-back, help-info)
	(help-customize-variable,  help-function-def, help-variable-def):
	New button types.
	(help-button-action): New function.
	(describe-function-1): Pass help button-types to
	`help-xref-button' rather than help function and help-echo string.
	Don't put multiple help-function args in a list to pass them to
	help-xref-button, just pass them as multiple arguments.
	Use `help-insert-xref-button' to make [back]-button, rather than
	`help-xref-button'.
	(help-xref-button): Take a button-type TYPE as a parameter rather
	than a function.  Remove HELP-ECHO parameter.  Remove DATA parameter
	and add a &rest parameter ARGS to serve the same purpose.
	Use `make-text-button' to add the button.
	(help-insert-xref-button): Use `insert-text-button' to add the button.
	(help-follow-mouse, help-next-ref, help-previous-ref):
	Functions removed.
	(help-do-xref): New function.
	(help-follow): Use `push-button' and `help-do-xref' to do most of
	the work.

	* apropos.el (apropos-symbol, apropos-label): New button types.
1177
	(apropos-symbol-button-display-help)
Miles Bader's avatar
Miles Bader committed
1178 1179 1180 1181 1182 1183 1184 1185 1186
	(apropos-label-button-display-help, apropos-next-label-button):
	New functions.
	(apropos-mode-map): Make button-buffer-map our parent.
	Don't bind mouse events.
	(apropos-print, apropos-print-doc): Create buttons instead of text
	properties.
	(apropos-mouse-follow): Function removed.
	(apropos-follow): Use buttons.

Miles Bader's avatar
Miles Bader committed
1187 1188
	* button.el: New file.

Gerd Moellmann's avatar
Gerd Moellmann committed
1189 1190
2001-10-07  Gerd Moellmann  <gerd@gnu.org>

1191
	* emacs-lisp/cl.el (most-positive-fixnum, most-negative-fixnum):
Gerd Moellmann's avatar
Gerd Moellmann committed
1192 1193
	Remove.

1194 1195 1196 1197 1198 1199 1200 1201 1202
2001-10-05  Richard M. Stallman  <rms@gnu.org>

	* add-log.el (add-change-log-entry): Skip copyright notice
	and copying permission notice at start of file, if any.
	Make use of terms "entry" and "item" accord with Emacs manual.
	Simplify the logic for moving point while entering or creating
	an entry and then an item.
	(add-change-log-entry-other-window): Doc fix.

Miles Bader's avatar
Miles Bader committed
1203 1204 1205 1206 1207
2001-10-06  Miles Bader  <miles@gnu.org>

	* rfn-eshadow.el (read-file-name-electric-shadow): Autoload cookie
	removed; they apparently don't work with faces.

1208 1209 1210 1211 1212 1213 1214 1215 1216
2001-10-05  Sam Steingold  <sds@gnu.org>

	* textmodes/sgml-mode.el (html-xhtml): New user option.
	(html-tag-alist, html-horizontal-rule, html-image, html-line)
	(html-ordered-list, html-unordered-list, html-list-item)
	(html-paragraph, html-checkboxes, html-radio-buttons): Use it.
	(sgml-skip-close-p): New function.
	(sgml-value): Use it.

1217 1218 1219 1220 1221
2001-10-05  Sam Steingold  <sds@gnu.org>

	* calendar/diary-lib.el (diary-entry-compare): When times are
	identical, compare the entries lexicographically.

1222 1223
2001-10-06  Miles Bader  <miles@gnu.org>

1224 1225
	* rfn-eshadow.el (rfn-eshadow-update-overlay):
	Use `minibuffer-prompt-end'.
1226 1227 1228 1229

	* simple.el (previous-matching-history-element): Fix misplaced
	parentheses.

Miles Bader's avatar
Miles Bader committed
1230 1231 1232 1233
2001-10-05  Miles Bader  <miles@gnu.org>

	* rfn-eshadow.el: New file.

1234 1235 1236 1237 1238 1239 1240
2001-10-05  Miles Bader  <miles@gnu.org>

	* cus-face.el (custom-face-attributes): Make sure each attribute
	has a valid default value.  Remove hacks that mapped `nil' to
	`off' and used nil to mean `unspecified'.  Remove `unspecified'
	choices from all attributes (unspecified is handled by the parent
	checklist).
1241
	* cus-edit.el (custom-face-edit-convert-widget)
1242 1243 1244 1245
	(custom-face-edit-deactivate, custom-face-edit-activate)
	(custom-face-edit-delete, custom-face-edit-attribute-tag):
	New functions.
	(custom-face-edit): Specify a custom :convert-widget.
1246
	(custom-pre-filter-face-spec, custom-post-filter-face-spec):
1247 1248 1249
	Don't pass in default filters that map between `nil' and `off' and
	`unspecified' and `nil'.

Gerd Moellmann's avatar
Gerd Moellmann committed
1250 1251 1252 1253 1254 1255
2001-10-05  Gerd Moellmann  <gerd@gnu.org>

	* progmodes/compile.el (compilation-buffer-name): New function.
	(compile-internal): Use it to determine the name of the
	compilation buffer.

Miles Bader's avatar
Miles Bader committed
1256 1257 1258 1259 1260 1261 1262 1263 1264 1265 1266 1267 1268 1269 1270 1271
2001-10-05  Miles Bader  <miles@gnu.org>

	* progmodes/compile.el (grep-use-null-device): New variable.
	(grep-command): Mention `grep-use-null-device'.
	(grep-compute-defaults): Compute `grep-use-null-device' if necessary.
	Make computation of `grep-command' respect `grep-use-null-device'.
	(grep): Respect `grep-use-null-device'.
	Call `grep-compute-defaults' even if grep-command is set, if
	grep-use-null-device is still tentative.

	* subr.el (call-process-shell-command): New function.

2001-10-05  Miles Bader  <miles@gnu.org>

	* simple.el (previous-matching-history-element)
	(next-history-element, next-complete-history-element): Use
1272
	`minibuffer-' functions instead of calling `field-' functions directly.
Miles Bader's avatar
Miles Bader committed
1273 1274 1275 1276
	(minibuffer-prompt-end, minibuffer-contents):
	(minibuffer-contents-no-properties, delete-minibuffer-contents):
	Functions removed (now subrs).
	(minibuffer-prompt-width): Use `minibuffer-prompt-end'.
1277

Miles Bader's avatar
Miles Bader committed
1278 1279 1280 1281 1282
	* minibuf-eldef.el (minibuf-eldef-setup-minibuffer)
	(minibuf-eldef-update-minibuffer): Use `minibuffer-' functions
	instead of calling `field-' functions directly.
	(minibuf-eldef-setup-minibuffer): Remove unused variable `prompt'.

Gerd Moellmann's avatar
Gerd Moellmann committed
1283 1284
2001-10-05  Gerd Moellmann  <gerd@gnu.org>

Gerd Moellmann's avatar
Gerd Moellmann committed
1285 1286 1287 1288
	* files.el (find-file-noselect): If file's read-only status has
	changed on disk, ask if buffer's read-only status should be
	changed, unless NOWARN is set.

Gerd Moellmann's avatar
Gerd Moellmann committed
1289 1290 1291
	* emacs-lisp/cl-macs.el (define-setf-expander): Make it an
	alias for define-setf-method.

Gerd Moellmann's avatar
Gerd Moellmann committed
1292 1293 1294
	* bindings.el: Remove no-byte-compile from file local variables
	to enable bootstrapping.

Andrew Innes's avatar
Andrew Innes committed
1295 1296
2001-10-04  Andrew Innes  <andrewi@gnu.org>

1297 1298
	* faces.el (face-font-registry-alternatives) [windows-nt]:
	Make gb2312 an alias for gb2312.1980.
Andrew Innes's avatar
Andrew Innes committed
1299

Gerd Moellmann's avatar
Gerd Moellmann committed
1300 1301 1302 1303 1304 1305 1306 1307 1308 1309 1310 1311 1312 1313 1314 1315 1316 1317 1318 1319 1320 1321 1322 1323 1324 1325 1326 1327 1328 1329 1330 1331 1332 1333 1334 1335 1336 1337 1338 1339 1340 1341 1342 1343 1344 1345 1346 1347 1348 1349 1350 1351 1352 1353 1354 1355 1356 1357 1358 1359 1360 1361 1362 1363 1364 1365 1366 1367 1368 1369 1370 1371 1372 1373 1374 1375 1376 1377 1378 1379 1380 1381 1382 1383 1384 1385 1386 1387 1388 1389 1390
2001-10-04  Stefan Monnier  <monnier@cs.yale.edu>

	* uniquify.el (uniquify-get-proposed-name): Don't assume dirsep is /.
	(uniquify-reverse-components): Remove.

	* emacs-lisp/bytecomp.el (byte-recompile-directory):
	Make sure the file is readable.
	(byte-compile-file): Don't compile if `no-byte-compile' is set.
	(byte-compile-defvar): Update to reflect the change in Fdefvar.
	(batch-byte-recompile-directory): Pass arg=0.

	* progmodes/perl-mode.el (perl-indent-continued-arguments): New var.
	(perl-calculate-indent): Use it.
	(perl-backward-to-noncomment): Use forward-comment.

	* derived.el (define-derived-mode, derived-mode-make-docstring):
	Allow `parent' to be nil.

	* textmodes/nroff-mode.el (nroff-mode-abbrev-table, nroff-mode):
	Use define-derived-mode.
	(nroff-mode-map, nroff-mode-syntax-table): Massage.

	* mail/mailabbrev.el (mail-abbrev-in-expansion-header-p): Simplify.

	* emacs-lisp/lselect.el: Use facep iso find-face.

	* emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression):
	Use regexp-opt.
	(doc-string-elt): Set symbols' prop.  Copied from autoload.el.
	(lisp-font-lock-syntactic-face-function): New function.
	(lisp-mode-variables): Use it.  Make arg optional.
	(emacs-lisp-mode): Don't pass an arg to lisp-mode-variables.
	(lisp-mode): Don't pass an arg to lisp-mode-variables.
	Set comment-start-skip.

	* emacs-lisp/lisp-mnt.el (lm-history-header): Accept `ChangeLog'.

	* emacs-lisp/cl-macs.el (frame-parameter): Add a setf method.
	(ignore-errors): Don't bother using a `err' symbol.

	* emacs-lisp/autoload.el (autoload-ensure-default-file)
	(autoload-insert-section-header, autoload-before-p)
	(autoload-remove-section): New functions.
	(generate-file-autoloads): Use them.
	(update-file-autoloads): Use them.  Return FILE if there's no cookie.
	Make sure the autoload file is properly formatted when creating it.
	(update-autoloads-from-directories): Use them as well.
	Only update autoloads for files whose timestamp has changed.
	Add a dummy entry to remember the files which had no autoload cookies.

	* timer.el (timer-relative-time): Fix computation for negative `micro'.

	* subr.el (define-key-after): Allow `key' to be longer than 1.
	(make-local-hook): Make obsolete.
	(add-hook, remove-hook): Don't use make-local-hook any more.
	(make-syntax-table): Inherit all chars from s-s-t.

2001-10-04  Gerd Moellmann  <gerd@gnu.org>

	This is a fix for a report saying that resuming a search with C-s
	C-s doesn't use the case-fold-search setting of the previous
	search (C-s ... M-c ... then C-s C-s).

	* isearch.el (isearch-last-case-fold-search): New variable.
	(isearch-mode): Remember value of isearch-case-fold-search
	in isearch-last-case-fold-search.
	(isearch-done): Quote value of isearch-case-fold-search.
	(isearch-repeat): When resuming a search, restore
	isearch-case-fold-search from isearch-last-case-fold-search.

	Added to NEWS.

	* startup.el (inhibit-startup-buffer-menu): New user-option.
	(command-line-1): If inhibit-startup-buffer-menu is set, don't
	display the buffer menu.  From Simon Josefsson <jas@extundo.com>.

	This allows upto 99999 messages in the summary without screwing up
	the summary sorting.  Previously 9999 was the maximum.  Added to NEWS.

	* mail/rmailsum.el (rmail-make-summary-line)
	(rmail-make-summary-line-1, rmail-summary-next-same-subject)
	(rmail-summary-goto-msg, rmail-summary-goto-msg):
	Allow 5-digit message ids instead of 4.

	This adds expansion of environment variables in the value
	specified with M-x setenv.  Added to NEWS.

	* env.el (substitute-env-vars): New function.
	(setenv): Add parameter SUBSTITUTE-ENV-VARS.  If set, substitute
	environment variables in VALUE.  Return VALUE.

Gerd Moellmann's avatar
Gerd Moellmann committed
1391 1392 1393
2001-10-04  Gerd Moellmann  <gerd@gnu.org>

	* Branch for 21.1.
1394

1395 1396 1397 1398
2001-10-03  Stefan Monnier  <monnier@cs.yale.edu>

	* pcvs-util.el (cvs-prefix-define): Typo cons->concat.

1399
2001-10-03  Pavel Jan,Bm(Bk  <Pavel@Janik.cz>
1400 1401

	* emulation/tpu-edt.el: Make messages match original TPU/edt
1402
	editor.  From riepel@Stanford.EDU (Rob Riepel).
1403

1404 1405 1406 1407
2001-10-03  Eli Zaretskii  <eliz@is.elta.co.il>

	* rect.el: Update maintainer's email address.

1408 1409 1410 1411 1412
2001-10-02  Andreas Schwab  <schwab@suse.de>

	* net/ange-ftp.el (ange-ftp-skip-msgs): Add 227 and 228 for Long
	and Extended Passive Mode, resp.

1413 1414 1415 1416 1417 1418 1419 1420 1421 1422 1423 1424 1425 1426 1427 1428
2001-10-01  Eli Zaretskii  <eliz@is.elta.co.il>

	These changes add support for Calendar-related items in the
	menu bar on tty's as well:

	* calendar/calendar.el (calendar-mode-map): Require cal-menu
	unconditionally.
	(calendar-mode): Set up activate-menubar-hook unconditionally.

	* calendar/cal-menu.el (cal-menu-x-popup-menu): New function,
	calls x-popup-menu only if popup menus are supported.
	(calendar-mouse-insert-hebrew-diary-entry)
	(calendar-mouse-insert-islamic-diary-entry)
	(calendar-mouse-holidays, calendar-mouse-view-diary-entries)
	(calendar-mouse-view-other-diary-entries)
	(calendar-mouse-print-dates, calendar-mouse-2-date-menu)
1429 1430
	(calendar-mouse-cal-tex-menu, cal-tex-mouse-filofax):
	Call cal-menu-x-popup-menu instead of x-popup-menu.
1431

Gerd Moellmann's avatar
Gerd Moellmann committed
1432 1433
2001-10-01  Gerd Moellmann  <gerd@gnu.org>

1434 1435
	* gs.el (gs-set-ghostview-window-prop): Fix args of `elt'.

Gerd Moellmann's avatar
Gerd Moellmann committed
1436 1437 1438 1439
	* emacs-lisp/edebug.el (rx): Add def-edebug-spec.

	* emacs-lisp/rx.el: New file.