ChangeLog 797 KB
Newer Older
1 2
2003-06-04  Richard M. Stallman  <rms@gnu.org>

3 4 5
	* emacs-lisp/lisp-mnt.el (lm-keywords-finder-p):
	Use with-no-warnings.

6 7
	* gud.el (gud-minor-mode-type): Move defvar up.

8 9 10
	* progmodes/compile.el (compilation-next-error): When moving fwd,
	compare position of point with the errors.

11 12 13 14 15 16 17 18 19 20
	* dired.el (dired-get-filename): Err for . and .. in usual case.
	(dired-get-file-for-visit): Specify no-error to dired-get-filename,
	and check for real errors here.
	(dired-unmark-all-files): Specify no-error to dired-get-filename.

	* buff-menu.el (list-buffers-noselect): Use window-inside-edges
	to compute the number of offset spaces.
	(list-buffers-noselect): Use Buffer-menu-buffer+size to
	indent the dashes properly.  Put some in fixed-pitch.

21 22 23 24 25
2003-06-04  Lars Hansen  <larsh@math.ku.dk>

	* desktop.el (desktop-create-buffer): Undo last change.
	(desktop-kill, desktop-save, desktop-remove): Use expand-directory
	rather than concat to construct desktop filename.
Stefan Monnier's avatar
Stefan Monnier committed
26 27
	(desktop-kill, desktop-read, desktop-change-dir):
	Ensure desktop-dirname is a directory name.
28 29 30 31 32 33
	(desktop-change-dir): Fix bug when DIR was relative.

2003-06-04  Alex Coventry  <alex_c@mit.edu>  (tiny change)

	* files.el (after-find-file): Fix arguments of call to `sit-for'.

Stefan Monnier's avatar
Stefan Monnier committed
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
2003-06-03  Stefan Monnier  <monnier@cs.yale.edu>

	* info.el (Info-extract-menu-node-name): Remove unused arg `errmessage'.
	(Info-follow-reference): Update corresponding call.
	(Info-node-spec-re): New const.
	(Info-complete-menu-item): Use it to only allow : when necessary.
	(Info-fontify-node): Use it as well.  Fixup typo.

	* info.el (info-fontify-node): Use better help-echo text.
	Use :align-to display prop.
	Use `invisible' rather than `display' prop to hide text.

	* info.el (Info-mode-hook): Obey obsolete `Info-fontify'.
	(Info-find-in-tag-table-1): Remove unused vars.
	(Info-display-images-node): Remove unused var paragraph-markers.
	(Info-header-line): Remove.
	(Info-select-node): Don't set it.
	(Info-search): Remove unused var `current'.
	(Info-follow-reference): Remove unused var `beg'.
	(Info-extract-menu-node-name): Remove unused var `i'.
	(Info-complete-menu-item): Use `with-current-buffer'.
	(Info-index): Remove unused var `rnode'.
	(Info-mode): Set header-line-format to check text-properties directly.
	(Info-find-emacs-command-nodes): Remove unused var `found' and `exact'.
	(Info-fontify-node): Use `push'.
	(Info-speedbar-hierarchy-buttons): Use `dolist'.
	(Info-speedbar-goto-node, Info-speedbar-fetch-file-nodes):
	Check the return value of `string-match'.
	(Info-speedbar-fetch-file-nodes): Factor out common code.

64 65
2003-06-03  Lute Kamstra  <Lute.Kamstra@cwi.nl>

Stefan Monnier's avatar
Stefan Monnier committed
66
	* cus-edit.el (custom-get-fresh-buffer): Test for nonexistence buffer.
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
2003-06-03  Richard M. Stallman  <rms@gnu.org>

	* emacs-lisp/lisp-mode.el (eval-last-sexp-1):
	Add save-excursion.

	* windmove.el (windmove-reference-loc, windmove-frame-edges):
	Use window-inside-edges.
	(windmove-do-window-select): Fix error messages.

	* files.el (after-find-file): Simplify msg if nonexistent directory.
	(make-directory): Doc fix.

	* dabbrev.el (dabbrev--goto-start-of-abbrev):
	Use minibuffer-prompt-end.

	* comint.el (comint-move-point-for-output): Renamed from
	comint-scroll-to-bottom-on-output.  Old name is alias.
	All uses changed.  Doc fix.
	(comint-scroll-show-maximum-output): Doc fix.

	* comint.el (comint-exec-1): Don't use directory-sep-char.
	(comint-dynamic-complete-as-filename): Likewise.

	* bindings.el (global-map): Delete C-M-delete and C-M-backspace.

93 94 95 96 97
2003-06-03  Markus Rost  <rost@math.ohio-state.edu>

	* progmodes/ps-mode.el (ps-mode): Use autoload cookie in the
	standard way.

Stefan Monnier's avatar
Stefan Monnier committed
98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223
2003-06-02  Stefan Monnier  <monnier@cs.yale.edu>

	* textmodes/bibtex.el (bibtex-member-of-regexp)
	(bibtex-assoc-of-regexp, bibtex-format-entry, bibtex-find-entry)
	(bibtex-autokey-demangle-name, bibtex-string-files-init, bibtex-mode):
	Fix up regexp usage and use match-string.

2003-06-02  Roland Winkler  <roland.winkler@physik.uni-erlangen.de>

	* textmodes/bibtex.el: Long overdue merge.
	Don't require `compile' since it seems unnecessary.
	For all internal variables and functions the docstring comments have
	been converted into proper docstrings
	(bibtex-maintainer-address, bibtex-maintainer-salutation)
	(bibtex-version): Remove support for bug reporting.
	(bibtex-field-delimiters, bibtex-entry-delimiters)
	(bibtex-sort-ignore-string-entries, bibtex-maintain-sorted-entries)
	Replace make-variable-buffer-local by make-local-variable for
	(bibtex-entry-format): New tag `required-fields'.
	(bibtex-maintain-sorted-entries): New var.
	(bibtex-sort-entry-class, bibtex-sort-entry-class-alist): New vars.
	(bibtex-predefined-month-strings, bibtex-predefined-strings):
	Make into alists with pairs (abbreviation expansion).
	(bibtex-autokey-titleword-change-strings)
	(bibtex-autokey-transcriptions): Make into alists.
	Add new replacement pairs.
	(bibtex-autokey-use-crossref): New var.
	Replace bibtex-autokey-year-use-crossref-entry because updated code
	for autokey generation handles crossrefs independently of
	particular fields.
	(bibtex-reference-key, bibtex-mode-syntax-table):
	Remove = because it can't be part of a string's key.
	(bibtex-complete-key-cleanup): New var.
	(bibtex-complete): Merge bibtex-complete-string and bibtex-complete-key
	into it (and bind to M-tab).
	(bibtex-valid-entry-re, bibtex-any-valid-entry-re)
	(bibtex-valid-entry-whitespace-re, bibtex-empty-field-re)
	(bibtex-quoted-string-re): New vars.
	(bibtex-field-name-for-parsing): Don't make-variable-buffer-local.
	(zmacs-regions): Declare to quieten the byte-compiler.
	(bibtex-comment-start): Don't include the space.
	(bibtex-font-lock-syntactic-keywords): New var.
	(bibtex-font-lock-keywords): Remove the entry for @Comment.
	(bibtex-parse-field-string): Merge the functionality of
	bibtex-parse-field-string-braced, bibtex-parse-quoted-string and
	bibtex-parse-field-string-quoted.
	(bibtex-search-forward-field-string): Remove.
	(bibtex-parse-association): Use when.
	(bibtex-parse-field-name): Use when.
	(bibtex-parse-field-text): Use when and cond.
	(bibtex-parse-field): Use let.
	(bibtex-search-forward-field, bibtex-search-backward-field):
	Make bound optional, use let, setq, and cddr.
	(bibtex-start-of-field, bibtex-start-of-name-in-field)
	(bibtex-end-of-name-in-field): Use nth.
	(bibtex-name-in-field, bibtex-text-in-field-bounds)
	(bibtex-text-in-field, bibtex-type-in-head, bibtex-key-in-head)
	(bibtex-text-in-string): New functions.
	(bibtex-reference-key-in-string): New fun.  Merge of
	bibtex-start-of-reference-key-in-string and
	bibtex-end-of-reference-key-in-string.
	(bibtex-parse-string-prefix): Use let and when.
	(bibtex-parse-string-postfix): Use when.
	(bibtex-search-forward-string, bibtex-search-backward-string):
	Use save-excursion and setq.
	(bibtex-member-of-regexp): Use let.
	(bibtex-assoc-of-regexp): Use caar und let.
	(bibtex-skip-to-valid-entry): Return buffer position.
	(bibtex-map-entries): Use save-excursion.
	(bibtex-progress-message): Simplify.
	(bibtex-search-entry): Use skip-chars-forward, when, save-match-data.
	(bibtex-move-outside-of-entry): Handle the case that point is before
	first entry.
	(bibtex-enclosing-field): Use save-excursion, when.
	(bibtex-format-field-delimiters): Merge into bibtex-format-entry.
	(bibtex-enclosing-entry-maybe-empty-head): Simplify.
	(bibtex-format-entry): Simplify.  Handle new tag required-fields of
	bibtex-entry-format.
	(bibtex-autokey-abbrev): Accept negative values of len.
	(bibtex-autokey-get-field, bibtex-autokey-demangle-title): New funs.
	(bibtex-autokey-get-namefield, bibtex-autokey-get-namelist)
	(bibtex-autokey-get-yearfield-digits, bibtex-autokey-get-yearfield)
	(bibtex-autokey-get-titlestring): Remove.
	(bibtex-autokey-get-names): Simplify.
	(bibtex-autokey-get-titles): Rename to bibtex-autokey-get-title.
	(bibtex-autokey-demangle-name): Simplify, avoid error messages.
	(bibtex-generate-autokey): Simplify.
	(bibtex-parse-keys): Simplify, use push.
	(bibtex-parse-strings): New fun similar to bibtex-parse-keys.
	(bibtex-string-files-init): New fun.
	(bibtex-parse-buffers-stealthily): Use bibtex-parse-keys,
	bibtex-string-files-init and bibtex-parse-strings.
	(bibtex-complete): Rename to bibtex-complete-internal, use push,
	bibtex-reference-key-in-string, no sorting.
	(bibtex-complete-string-cleanup): New fun, displays expansion of
	completed strings.
	(bibtex-choose-completion-string): New fun.  Required for
	choose-completion-string-functions.
	(bibtex-do-auto-fill): Remove.  Set fill-prefix in bibtex-mode.
	(bibtex-pop): Simplify.
	(bibtex-mode): Move setting of bibtex-string to bibtex-parse-strings.
	Set choose-completion-string-functions.
	(bibtex-print-help-message,bibtex-make-field, bibtex-end-of-entry)
	(bibtex-count-entries): Simplify.
	(bibtex-entry-index, bibtex-lessp): New funs for generalized sorting
	scheme of indices, see bibtex-maintain-sorted-entries.
	(bibtex-sort-buffer): Use bibtex-lessp for sorting.
	(bibtex-find-crossref, bibtex-find-entry): New funs.
	(bibtex-find-entry-location): Rename to bibtex-prepare-new-entry, use
	bibtex-lessp, Simplify.
	(bibtex-validate): Simplify.  Fixe bug of internal variable
	questionable-month.
	(bibtex-remove-OPT-or-ALT): Use when.
	(bibtex-remove-delimiters, bibtex-kill-field, bibtex-kill-entry)
	(bibtex-clean-entry, bibtex-fill-entry, bibtex-reformat): Simplify.
	(bibtex-convert-alien): Use deactivate-mark rather than the
	non-existent bibtex-mark-active variable.
	(bibtex-complete-string, bibtex-complete-key): Merge into new
	`smart' defun bibtex-complete.
	(bibtex-String): Update for new sorting scheme, distinguish empty and
	non-empty key strings.

2003-06-02  Stefan Monnier  <monnier@cs.yale.edu>

	* sort.el (sort-subr): Add `predicate' arg.  Remove `sortcar' code.

224 225 226
2003-06-02  Lute Kamstra  <Lute.Kamstra@cwi.nl>

	* emacs-lisp/lisp-mnt.el (lm-synopsis): Use relative filenames
Stefan Monnier's avatar
Stefan Monnier committed
227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243
	correctly.  Show the synopsis to the user when appropriate.
	Do not kill buffers that were created outside `lm-synopsis'.

2003-06-01  Stefan Monnier  <monnier@cs.yale.edu>

	* cus-edit.el (custom-get-fresh-buffer): Be extra paranoid,
	just in case some used a file of the wrong name.

	* progmodes/sh-script.el (sh-is-quoted-p): New fun.
	(sh-font-lock-paren): Use it to allow \C in case patterns.
	(sh-get-indent-info): Check the \n before the line for string-status.
	(sh-feature): Remove unused var `function'.
	(sh-get-indent-info): Remove unused variables.
	(sh-prev-thing): Remove unused vars `going', `n', and `found'.
	(sh-set-indent): Remove unused var `new-val' and `val0'.
	(sh-learn-buffer-indent): Remove unused vars `last-pos' and `lines'.
	(sh-guess-basic-offset): Remove unused var `return' and `j'.
244

Juanma Barranquero's avatar
Juanma Barranquero committed
245 246 247 248 249 250 251 252 253
2003-05-27  David Ponce  <david@dponce.com>

	* ruler-mode.el

	Version 1.6

	Take into account changes made to the display margins, fringes and
	scroll-bar handling.

Stefan Monnier's avatar
Stefan Monnier committed
254
	(ruler-mode-margins-char): Remove.  Not used anymore.
Juanma Barranquero's avatar
Juanma Barranquero committed
255
	(ruler-mode-pad-face, ruler-mode-fringes-face): New faces.
Stefan Monnier's avatar
Stefan Monnier committed
256
	(ruler-mode-margins-face): New definition.  Move.
Juanma Barranquero's avatar
Juanma Barranquero committed
257 258 259
	(ruler-mode-left-fringe-cols)
	(ruler-mode-right-fringe-cols)
	(ruler-mode-left-scroll-bar-cols)
Stefan Monnier's avatar
Stefan Monnier committed
260
	(ruler-mode-right-scroll-bar-cols): Reimplement.  Move.
Juanma Barranquero's avatar
Juanma Barranquero committed
261 262 263 264 265
	(ruler-mode-full-window-width)
	(ruler-mode-window-col): New functions.
	(ruler-mode-mouse-set-left-margin)
	(ruler-mode-mouse-set-right-margin)
	(ruler-mode-mouse-add-tab-stop)
Stefan Monnier's avatar
Stefan Monnier committed
266 267
	(ruler-mode-mouse-del-tab-stop): Reimplement.
	(ruler-mode-mouse-current-grab-object): Rename to...
Juanma Barranquero's avatar
Juanma Barranquero committed
268
	(ruler-mode-dragged-symbol): New.
Stefan Monnier's avatar
Stefan Monnier committed
269
	(ruler-mode-mouse-grab-any-column): Use it.  Clean up.
Juanma Barranquero's avatar
Juanma Barranquero committed
270
	(ruler-mode-mouse-drag-any-column): Likewise.
Stefan Monnier's avatar
Stefan Monnier committed
271
	(ruler-mode-mouse-drag-any-column-iteration): Simplify.
Juanma Barranquero's avatar
Juanma Barranquero committed
272 273 274 275
	(ruler-mode): Restore previous `header-line-format' if
	`ruler-mode-header-line-format-old' has a local binding in current
	buffer.
	(ruler-mode-left-margin-help-echo)
Stefan Monnier's avatar
Stefan Monnier committed
276
	(ruler-mode-right-margin-help-echo): Remove.
Juanma Barranquero's avatar
Juanma Barranquero committed
277 278
	(ruler-mode-margin-help-echo)
	(ruler-mode-fringe-help-echo): New constants.
Stefan Monnier's avatar
Stefan Monnier committed
279
	(ruler-mode-ruler): Use them.  Reimplement.
Juanma Barranquero's avatar
Juanma Barranquero committed
280

281 282 283 284 285 286 287
2003-06-01  Jason Rumney  <jasonr@gnu.org>

	* mwheel.el (mouse-wheel-down-event, mouse-wheel-up-event):
	Default to new wheel-up and wheel-down events on Windows.

	* term/w32-win.el: No need to bind wheel events specially.

288
2003-06-01  Michael Kifer  <kifer@cs.stonybrook.edu>
Juanma Barranquero's avatar
Juanma Barranquero committed
289

290 291 292
	* desktop.el (desktop-create-buffer): Added (desktop-first-buffer) to
	the let-statement to avoid the startup error that desktop-first-buffer
	is undefined.
Juanma Barranquero's avatar
Juanma Barranquero committed
293

294 295 296 297 298
2003-06-01  Andreas Schwab  <schwab@suse.de>

	* man.el (Man-name-regexp): Also match Latin-1 soft hyphen.
	(Man-build-references-alist): Handle Latin-1 soft hyphen.

299 300 301 302 303
2003-05-31  Stephen Eglen  <stephen@gnu.org>

	* iswitchb.el (iswitchb-buffer-ignore): Update custom type to
	allow functions.

304 305
2003-05-31  Stefan Monnier  <monnier@cs.yale.edu>

Stefan Monnier's avatar
Stefan Monnier committed
306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327
	* view.el (view-file, view-file-other-window, view-file-other-frame):
	Signal an error when trying to visit an inexistent file.

	* vc-hooks.el (vc-call-backend): Give better error message
	when a backend function is missing.
	(vc-find-file-hook): USe unless.  Merge if and cond.

	* vc.el (vc-directory-exclusion-list): Add MCVS and .svn.
	(vc-checkin-hook): Adjust option to new name.

	* log-edit.el (log-edit-maximum-comment-ring-size)
	(log-edit-comment-ring, log-edit-comment-ring-index)
	(log-edit-last-comment-match): Rename vars from
	vc-maximum-comment-ring-size, vc-comment-ring, vc-comment-ring-index,
	and vc-last-comment-match.
	(log-edit-new-comment-index, log-edit-previous-comment)
	(log-edit-next-comment, log-edit-comment-search-backward)
	(log-edit-comment-search-forward, log-edit-comment-to-change-log):
	Rename funs from vc-new-comment-index, vc-previous-comment,
	vc-next-comment, vc-comment-search-reverse, vc-comment-search-forward,
	and vc-comment-to-change-log.

328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343
	* wid-edit.el (widget-specify-insert): Simplify.
	(widget-editable-list-entry-create): Don't assume that %d and %i are
	in the format string.
	(widget-map-buttons): Remove unused var `parent'.
	(widget-move): Remove unused shadowed var `new'.
	(widget-color-action): Remove unused var `pos'.

	* cus-edit.el (custom-get-fresh-buffer): New fun.
	(custom-buffer-create, custom-buffer-create-other-window)
	(customize-browse): Use it instead of killing buffers.
	(custom-bury-buffer): Obey the argument.
	(custom-variable-reset-saved, custom-variable-reset-standard):
	Remove unused var `comment-widget'.
	(custom-face-edit-deactivate): Remove unused var `to'.
	(custom-save-variables): Remove unused var `sep'.

344 345 346 347 348 349
2003-05-31  John Paul Wallington  <jpw@gnu.org>

	* files.el (large-file-warning-threshold): Add type, groups.

	* progmodes/delphi.el (delphi-ignore-changes): Defvar; non-constant.

Kenichi Handa's avatar
Kenichi Handa committed
350 351 352 353 354
2003-05-31  Kenichi Handa  <handa@m17n.org>

	* files.el (recover-file): Bind coding-system-for-read to
	auto-save-coding.

Juanma Barranquero's avatar
Juanma Barranquero committed
355 356 357
2003-05-31  Juanma Barranquero  <lektu@terra.es>

	* misc.el (mark-beginning-of-buffer, mark-end-of-buffer)
358
	(upcase-char, forward-to-word, backward-to-word): Moved from unused.el.
Juanma Barranquero's avatar
Juanma Barranquero committed
359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379

	* unused.el: Deleted (contents moved to misc.el).

	* options.el:
	* emacs-lisp/float.el:
	* textmodes/scribe.el: Moved to obsolete.

	* byte-run.el:
	* derived.el:
	* float-sup.el:
	* map-ynp.el:
	* regi.el:
	* timer.el:
	* warnings.el: Moved to emacs-lisp.

	* enriched.el: Moved to textmodes.

	* textmodes/outline.el: Moved to lisp.

	* which-func.el: Moved to progmodes.

Juanma Barranquero's avatar
Juanma Barranquero committed
380 381 382
	* loadup.el: Load byte-run.el, map-ynp.el, timer.el and float-sup.el
	from emacs-lisp.

Juanma Barranquero's avatar
Juanma Barranquero committed
383 384 385 386 387
2003-05-31  Tom Wurgler  <twurgler@goodyear.com>  (tiny change)

	* subr.el (looking-back): New function to check for regular
	expression before point.

Stefan Monnier's avatar
Stefan Monnier committed
388 389
2003-05-30  Stefan Monnier  <monnier@cs.yale.edu>

390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412
	* newcomment.el (comment-empty-lines): New var.
	(comment-region-internal): Use it.

	* textmodes/tex-mode.el (latex-block-args-alist)
	(latex-block-body-alist): New vars.
	(latex-insert-block): Use them.
	(tex-string-prefix-p): New fun.
	(tex-guess-main-file): Use it to detect when the main file
	is in a parent directory.
	(tex-main-file): Try to find a main-file in parent directories.
	(tex-compile-default): Don't use `gv' on pdf files just because
	`gv' was used recently on a ps file.  Remove unused arg `dir'.
	Reuse a previous command as-is if it applied to the same file.
	(tex-compile): Use the right file name when file is not in dir.

	* textmodes/refill.el (refill-adjust-ignorable-overlay):
	Don't hardcode pint-min == 1.
	(refill-fill-paragraph-at): Use a more robust method to detect
	when the paragraph is after point.  Remove unused var `fill-pfx'.

	* xml.el (xml-parse-tag): Return (foo nil) rather than (foo nil "")
	for <foo/>, to make it behave like <foo></foo>.

Stefan Monnier's avatar
Stefan Monnier committed
413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460
	* emacs-lisp/edebug.el (edebug-storing-offsets): Move indent
	and debug to inside the macro.
	(edebug-read-storing-offsets): Simplify.
	(edebug-read-quote, edebug-read-function): Place the
	start-position correctly.
	(edebug-read-backquote-new): Remove.
	(edebug-read-backquote-level): New var to replace it.
	(edebug-read-backquote): Increment it.
	Don't store offsets one extra time.
	(edebug-read-comma): Decrement it.  Read the comma as a plain
	symbol if outside of any new-style backquote.
	(edebug-read-list): Use edebug-read-backquote-level.
	Don't call edebug-read-backquote directly.  This way the extra
	offsets store is done exactly when it's needed.
	(edebug-read-vector): Use push.
	(defmacro): Add support for the `declare' thingy.

2003-05-29  Stefan Monnier  <monnier@cs.yale.edu>

	* forms.el (forms-mode-hook): Rename from forms-mode-hooks.
	(forms-mode): Use add-hook rather than make-local-variable+setq.
	Use with-current-buffer.  Run the new and the old hooks.
	(forms--update): Use with-current-buffer and line-end-position.
	(forms--goto-record): New fun.
	(forms-jump-record, forms-insert-record, forms-delete-record): Use it.
	(forms--process-format-list): Remove unused var `this-item'.
	(forms--intuit-from-file): Remove unused var `the-result'.
	(forms--trans): Remove unused var `x'.
	(forms--exit, forms-exit, forms-exit-no-save): Remove unused arg.

	* emacs-lisp/edebug.el (edebug-window-list): Use push.
	(edebug-macrop): Use functionp.
	(edebug-functionp): Remove.
	(edebug-get-displayed-buffer-points): Use push.
	(edebug-set-buffer-points): Use save-current-buffer and buffer-live-p.
	(edebug-list-form): Remove dead code.
	(backquote-form): Correctly handle `(a . ,b).
	(edebug-mode-map, global-edebug-map): Move init to inside the defvar.
	(define-derived-mode, define-minor-mode): Remove outdated spec.
	(save-match-data, with-output-to-string, with-current-buffer)
	(combine-after-change-calls, with-temp-buffer, dolist, dotimes)
	(unless, when): Remove specs that are now in the corresponding macro.

	* emacs-lisp/easy-mmode.el (define-minor-mode): Add edebug spec.
	Accept a :keymap argument, as you'd expect.

	* derived.el (define-derived-mode): Add a proper edebug declaration.

Luc Teirlinck's avatar
Luc Teirlinck committed
461 462 463 464 465
2003-05-29  Luc Teirlinck  <teirllm@mail.auburn.edu>

	* simple.el (kill-whole-line): Make it interact correctly with
	the kill ring.

Kenichi Handa's avatar
Kenichi Handa committed
466 467 468 469 470 471 472 473 474 475
2003-05-29  Kenichi Handa  <handa@m17n.org>

	* international/mule.el (ctext-non-standard-encodings-alist):
	Renamed from non-standard-icccm-encodings-alist.
	(ctext-non-standard-encodings-regexp): New variable
	(ctext-post-read-conversion): Full rewrite.
	(ctext-non-standard-designations-alist): Renamed from
	non-standard-designations-alist.
	(ctext-pre-write-conversion): Full rewrite.

Stefan Monnier's avatar
Stefan Monnier committed
476 477 478 479 480 481 482
2003-05-28  Stefan Monnier  <monnier@cs.yale.edu>

	* info.el (Info-fontify-node): Hide \n------- rather than -------\n.

	* skeleton.el (skeleton-edebug-spec): First cut of an edebug spec.
	(define-skeleton): Use it.

483 484 485 486 487
2003-05-28  Andreas Schwab  <schwab@suse.de>

	* descr-text.el (describe-char): Use `char' instead of
	`(char-after)'.  Fix display of unicode.

Nick Roberts's avatar
Nick Roberts committed
488 489
2003-05-28  Nick Roberts  <nick@nick.uklinux.net>

Stefan Monnier's avatar
Stefan Monnier committed
490 491 492
	* gud.el (gud-gdb-goto-stackframe, gud-gdb-get-stackframe):
	Add server prefix to the gdb commands used by the speedbar.

493 494 495 496 497
2003-05-28  Kai Gro,A_(Bjohann  <kai.grossjohann@gmx.net>

	* simple.el (kill-region): If nothing was killed, and the
	previous command was not a kill, break kill sequence.

498 499 500 501 502 503 504 505 506 507 508 509 510 511 512 513 514 515 516 517 518 519 520 521 522 523 524 525 526 527 528 529 530 531 532
2003-05-28  Richard M. Stallman  <rms@gnu.org>

	* textmodes/refill.el (refill-fill-paragraph-at):
	Avoid refilling the following paragraph.
	(refill-doit): Doc fix.

	* emulation/vip.el (ctl-x-map): Don't bind C-x C-i or C-x 3.
	(global-map): Don't bind C-z.
	(vip-setup): New function to rebind C-x 7 and C-z.

	* emacs-lisp/lisp-mode.el (last-sexp-toggle-display):
	Undo previous change (don't check for eob).  Widen at the beginning.

	* map-ynp.el (map-y-or-n-p): No special handling for exit-prefix.
	In help string, mention C-g but not ESC.

	* jka-compr.el (jka-compr-insert-file-contents):
	When REPLACE, delete the proper range of text.

	* info.el (Info-index): Add autoload cookie.

	* forms.el (forms-mode): Use write-file-functions instead
	of local-write-file-hooks.  Use make-local-variable to make it local.

	* descr-text.el (describe-char-unicode-data): New dummy definition.
	(unicode-data): Commented out since we can't use UnicodeData.txt as is.
	(describe-char-unicodedata-file): Variable renamed and commented out.

	* faces.el (set-face-attribute): Set face-modified prop to t
	when we change the new-frame defaults.
	(face-spec-set): Set face-modified prop to nil
	when we change the new-frame defaults.

	* cus-edit.el (custom-face-state-set): non-nil `face-modified'
	means face was set outside of Custom.
Stefan Monnier's avatar
Stefan Monnier committed
533

534 535 536 537 538 539 540 541 542 543 544 545 546 547
2003-05-28  Richard M. Stallman  <rms@gnu.org>

	* byte-run.el (with-no-warnings): New function.

	* emacs-lisp/bytecomp.el (byte-compile-no-warnings): New function.
	(with-no-warnings): Set up compile handler.

	* startup.el (command-line-1): Use with-no-warnings.

	* type-break.el (type-break-cancel-function-timers):
	Use with-no-warnings.

2003-05-28  Luc Teirlinck  <teirllm@mail.auburn.edu>

Stefan Monnier's avatar
Stefan Monnier committed
548
	* env.el (substitute-env-vars): Fix typo.
549 550 551 552 553 554

2003-05-28  Walter C. Pelissero  <walter@pelissero.de>  (tiny change)

	* net/browse-url.el (browse-url-mozilla): Correct the conditionals
	for using ,new-window.

555 556
2003-05-27  Glenn Morris  <gmorris@ast.cam.ac.uk>

Stefan Monnier's avatar
Stefan Monnier committed
557 558
	* progmodes/sh-script.el (sh-here-document-word):
	Document new treatment of leading "-".
559 560 561 562 563 564
	(sh-maybe-here-document): Strip a leading "-" from closing
	heredoc delimiter, if present.

	* align.el (align-rules-list): Doc fix.

	* calendar/timeclock.el: Update copyright.
Stefan Monnier's avatar
Stefan Monnier committed
565
	(timeclock-ask-before-exiting): Put `timeclock-query-out' on
566 567 568 569 570 571 572 573 574 575 576
	`kill-emacs-query-functions' rather than `kill-emacs-hook'.
	(timeclock-mode-string): Doc fix.
	(timeclock-modeline-display): Doc fix.  Use `global-mode-string'
	rather than `mode-line-format'.
	(timeclock-query-out): Doc fix.
	(timeclock-update-modeline): No need for `let*', so use `let'.
	Add some help-echo text to `timeclock-mode-string'.
	(timeclock-mode-string): Give it the risky-local-variable
	property, so that help-echo text will display.
	(timeclock-find-discrep): Set `accum' to 0 if
	`timeclock-discrepancy' is nil.
Stefan Monnier's avatar
Stefan Monnier committed
577

Stefan Monnier's avatar
Stefan Monnier committed
578 579 580 581 582 583 584 585 586
2003-05-27  Stefan Monnier  <monnier@cs.yale.edu>

	* emacs-lisp/lisp-mode.el (lisp-font-lock-syntactic-face-function):
	Don't infinite loop at bob.
	(emacs-lisp-mode): Mark its main custom group to be `lisp'.
	(prin1-char): New fun.
	(eval-last-sexp-1): Use it.  Use with-syntax-table as well.
	(eval-defun-1): Don't replace `defvar' with `defconst'.

587 588
2003-05-27  Kai Gro,A_(Bjohann  <kai.grossjohann@gmx.net>

Stefan Monnier's avatar
Stefan Monnier committed
589 590 591 592 593 594 595 596 597 598 599
	* bindings.el (global-map): Bind M-S-<backspace to kill-whole-line.

2003-05-26  Stefan Monnier  <monnier@cs.yale.edu>

	* gud.el (gud-find-class): Remove unused var `pos'.
	(gdb-script-mode-syntax-table, gdb-script-font-lock-keywords)
	(gdb-script-font-lock-syntactic-keywords)
	(gdb-script-font-lock-syntactic-face, gdb-script-basic-indent)
	(gdb-script-skip-to-head, gdb-script-calculate-indentation)
	(gdb-script-indent-line, gdb-script-mode): New mode to edit
	.gdbinit-like scripts.
600

601 602 603 604 605
2003-05-26  John Paul Wallington  <jpw@gnu.org>

	* faces.el (display-supports-face-attributes-p): Doc fix.
	(x-create-frame-with-faces): Call `face-set-after-frame-default'.

606 607 608 609 610
2003-05-26  Kai Gro,A_(Bjohann  <kai.grossjohann@gmx.net>

	* bindings.el (global-map): Don't bind S-<backspace>.  Too many
	people hit it by mistake.

André Spiegel's avatar
#  
André Spiegel committed
611 612 613 614 615 616
2003-05-26  Andre Spiegel  <spiegel@gnu.org>

	* vc.el (vc-delete-file): Fix free variable reference.
	(vc-annotate-display): Remove obsolesence declaration; it isn't
	obsolete.

617 618 619 620 621 622 623 624
2003-05-25  Kevin Ryde  <user42@zip.com.au>

	* info-look.el (autoconf-mode setups): Recognise AH_ and AU_ entries
	in "(autoconf)Autoconf Macro Index".  Add "(autoconf)M4 Macro Index"
	and "(autoconf)Autotest Macro Index".  Remove duplicate copy of
	"(automake)Macro and Variable Index".  Keep automake after all
	autoconf possibilities, so as to prefer those.

Stefan Monnier's avatar
Stefan Monnier committed
625 626 627 628 629 630 631
2003-05-25  Stefan Monnier  <monnier@cs.yale.edu>

	* skeleton.el (skeleton-internal-1): Don't loop if interactor of
	subskeleton is nil.
	(skeleton-pair-default-alist): New var.
	(skeleton-pair-insert-maybe): Use it.  Don't munge multibyte chars.

Nick Roberts's avatar
Nick Roberts committed
632 633 634 635 636 637 638
2003-05-25  Nick Roberts  <nick@nick.uklinux.net>

	* gdb-ui.el (gdb-info-breakpoints-custom, gdb-assembler-custom):
	Put string associated with breakpoint at start of line so that it
	is always visible.
	(gdb-display-source-buffer): Display assembler during execution,
	when requested.
Stefan Monnier's avatar
Stefan Monnier committed
639
	(gud-menu-map): Add a toggle button to menubar for gdb-many-windows.
Nick Roberts's avatar
Nick Roberts committed
640 641 642 643 644 645
	(gdb-many-windows): Define explicitly as a function and a variable
	(formerly as a minor mode). These need to be global so layout can
	be reset from any buffer.
	(gdb-assembler-mode): Keep fringe outside margin as the overlay
	arrow is not used for assembler.

Juanma Barranquero's avatar
Juanma Barranquero committed
646 647 648 649 650 651 652 653 654 655 656 657 658 659 660 661 662 663
2003-05-25   Tim Van Holder  <tim.vanholder@anubex.com>

	* which-func.el (which-func-update-timer): New variable.
	(which-function-mode): Use it.

2003-05-25  Richard M. Stallman  <rms@gnu.org>

	* simple.el (idle-update-delay): New variable.

2003-05-25  Luc Teirlinck  <teirllm@mail.auburn.edu>

	* simple.el (forward-visible-line): Fix negative arguments.

2003-05-25  Juanma Barranquero  <lektu@terra.es>

	* skeleton.el (skeleton-pair-insert-maybe): Remove leftover
	reference to skeleton-abbrev-cleanup.

Andreas Schwab's avatar
Andreas Schwab committed
664 665 666 667
2003-05-24  Andreas Schwab  <schwab@suse.de>

	* files.el (insert-directory): Preserve CR in a file name.

Stefan Monnier's avatar
Stefan Monnier committed
668 669 670 671 672 673 674 675 676 677 678 679 680
2003-05-24  Stefan Monnier  <monnier@cs.yale.edu>

	* skeleton.el (skeleton-abbrev-cleanup, skeleton-proxy):
	Remove obsolete code.

	* term/w32-win.el (iconify-or-deiconify-frame):
	* term/mac-win.el (iconify-or-deiconify-frame): Move to frame.el.

	* term/x-win.el (iconify-or-deiconify-frame): Move to frame.el.
	Turn on mouse-wheel support by default.

	* frame.el (iconify-or-deiconify-frame): Move from term/x-win.el.

681 682 683 684 685 686 687 688 689 690 691 692 693
2003-05-24  Kai Gro,A_(Bjohann  <kai.grossjohann@gmx.net>

	* net/tramp.el: Version 2.0.34 released.
	(tramp-handle-file-symlink-p): If target of symlink is absolute,
	return a Tramp filename.  (Ie, return "/user@host:/target" instead
	of "/target".)
	(tramp-handle-file-truename): Deal with new return value from
	`file-symlink-p'.
	(tramp-handle-expand-file-name): Make default method explicit in
	file name.
	(tramp-unified-filenames): Move to an earlier spot in the file.
	(top-level): If tramp-unified-filenames is set and we're running
	on XEmacs, load tramp-efs.
Stefan Monnier's avatar
Stefan Monnier committed
694 695
	(tramp-wait-for-shell-prompt, tramp-barf-if-no-shell-prompt):
	New functions, used by tramp-send-command-internal.
696 697 698 699 700 701 702 703 704
	(tramp-open-connection-setup-interactive-shell): Simplify using
	`tramp-send-command-internal'.
	(tramp-send-command-internal): New function.
	(tramp-methods): New entries "remsh" and "remcp" are like "rsh"
	and "rcp" but invoke "remsh" instead of "rsh".  This is useful on
	Cray systems, for instance.  Unify tramp-rsh-program,
	tramp-telnet-program, tramp-su-program into tramp-login-program.
	Likewise with tramp-login-args, tramp-copy-program,
	tramp-copy-args, tramp-copy-keep-date-arg.  Users changed.  New
Stefan Monnier's avatar
Stefan Monnier committed
705
	method plink1; like plink but pass "-1" to force protocol version 1.
706 707 708 709 710 711 712 713 714 715 716 717 718
	(tramp-default-method): Use plink as the default on machines where
	the plink program is present.
	(tramp-completion-file-name-handler): Add safe-magic property.
	(tramp-shell-prompt-pattern): Allow ANSI escapes at
	end of prompt.  (ANSI escapes elsewhere in the prompt are
	recognized properly already.)

	* net/tramp-efs.el: New file.

2003-05-24 Michael Albinus  <Michael.Albinus@alcatel.de>

	* net/tramp.el (tramp-handle-file-truename): `sym' shouldn't be
	quoted.
Stefan Monnier's avatar
Stefan Monnier committed
719 720
	(tramp-methods, tramp-multi-connection-function-alist):
	Use argument "-p Password:" for "sudo" method, because password prompt
721 722 723 724
	might be changed by either passprompt option in /etc/sudoers, or
	SUDO_PROMPT environment variable.  Suggested by Peter Oliver
	<peter.oliver@aquila-networks.co.uk>.

Stefan Monnier's avatar
Stefan Monnier committed
725 726 727 728 729 730 731 732 733 734 735 736 737 738 739 740
2003-05-23  Stefan Monnier  <monnier@cs.yale.edu>

	* mail/supercite.el: Use `push' and replace `regi-pos' by equivalents.
	(sc-emacs-features): Remove.  Use better tests instead.
	(sc-minor-mode): Use define-minor-mode.
	(sc-mode-string, sc-set-mode-string): Remove.
	Use a better modeline expression instead.
	(sc-completing-read, sc-read-string, sc-submatch, sc-member)
	(sc-string-text): Remove those compatibility functions.

	* pcvs.el (cvs-temp-buffer): Kill running process in displayed buffers.
	(cvs-make-cvs-buffer): Fix up format of the header.

	* progmodes/perl-mode.el (perl-font-lock-syntactic-keywords):
	Match more cases of /.../ patterns.

Nick Roberts's avatar
Nick Roberts committed
741 742 743 744 745 746 747 748
2003-05-23  Nick Roberts  <nick@nick.uklinux.net>

	* gdb-ui.el (gdba): Accommodate Fortran programs.
	(gud-gdba-command-name): Use -noasync in all cases (as Fortran
	seems to require it also).
	(gdb-source-info): Parse correctly when compilation directory
	specifies host also (IRIX).

André Spiegel's avatar
#  
André Spiegel committed
749 750 751 752
2003-05-23  Andre Spiegel  <spiegel@gnu.org>

	* vc-cvs.el (vc-cvs-checkout): Don't leave the branch when
	REV is t.  From Don Provan <dprovan@bivio.net>
Stefan Monnier's avatar
Stefan Monnier committed
753

754 755 756 757 758 759 760 761 762 763 764 765 766 767 768 769 770 771 772
2003-05-23  Richard M. Stallman  <rms@gnu.org>

	* forms.el (forms--mode-commands1): Bind \t, not `tab'.
	(forms--mode-commands): Don't bind \t in the maps where
	we call forms--mode-commands1.

2003-05-23  Taro Kawagishi <tarok@acm.org>

	* arc-mode.el (archive-lzh-summarize): Calculate correct total
	header size for LZH level 1 header.

2003-05-23  Richard M. Stallman  <rms@gnu.org>

	* textmodes/paragraphs.el (repunctuate-sentences): Add doc string.

2003-05-23  Daniel Ortmann  <dortmann@lsil.com>  (tiny change)

	* textmodes/paragraphs.el (repunctuate-sentences): New function.

773 774 775 776 777 778 779 780 781 782
2003-05-23  Lute Kamstra  <Lute.Kamstra@cwi.nl>

	* emacs-lisp/lisp-mnt.el: Make the description of the library more
	accurate.
	(lm-any-header): New user option.
	(lm-section-start): New function; rewrite of `lm-section-mark'.
	(lm-section-mark): Make alias of `lm-section-start'.
	(lm-section-end): New function.
	(lm-code-start): New function; rewrite of `lm-code-mark'.
	(lm-code-mark): Make alias of `lm-code-start'.
Stefan Monnier's avatar
Stefan Monnier committed
783
	(lm-commentary-start): New function; rewrite of `lm-commentary-mark'.
784 785 786 787 788 789 790
	(lm-commentary-mark): Make alias of `lm-commentary-start'.
	(lm-commentary-end): New function.
	(lm-history-start): New function; rewrite of `lm-history-mark'.
	(lm-history-mark): Make alias of `lm-history-start'.
	(lm-commentary): Use `lm-commentary-end' to find the end of the
	commentary section.

Stefan Monnier's avatar
Stefan Monnier committed
791 792 793 794 795 796 797 798 799 800
	* emacs-lisp/checkdoc.el (checkdoc-file-comments-engine):
	Use `lm-commentary-end' to find the end of the commentary section.

2003-05-22  Stefan Monnier  <monnier@cs.yale.edu>

	* skeleton.el (define-skeleton): Use the `no-self-insert' property.
	(skeleton-proxy-new): Fix docstring.  Remove broken interactive spec.
	Rely on use `no-self-insert' rather than `skeleton-abbrev-cleanup'.
	(skeleton-internal-1): Add a `recursive' argument.
	(skeleton-internal-list): Use it to propagate `recursive'.
801

Stefan Monnier's avatar
Stefan Monnier committed
802
2003-05-22  Ken Stevens  <kstevens@ichips.intel.com>
Stefan Monnier's avatar
Stefan Monnier committed
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 862 863 864 865 866 867 868 869 870 871 872 873 874 875 876 877 878 879 880

	* ispell.el: Sync to version 3.6.
	Summary: MIME support added for e-mail processing that
	skips encoded regions.  Allow user to skip saving Fcc messages with
	large attachments.  Fixed region skipping bug with multi-line
	comments - e.g.  tex $ regions spanning multiple lines.
	Added support for postscript and uuencoded regions.
	Redundant dictionary file names purged.
	Dictionary definition field name changed from "Character Set"
	to "Coding System".  Fixed bug in reloading dictionaries.
	Modified headers to reflect new version.  XEmacs menu now adds
	customize item.
	(ispell-check-version): No longer an aliased function.
	Returns library path if not called interactively.
	Variable `temporary-file-directory' protected if not loaded.
	(check-ispell-version): Now the alias for `ispell-check-version'.
	(ispell-message-fcc-skip): New variable that determines if and when
	to query about saving Fcc copy of message if an attachment is large.
	(ispell-skip-html): Declared buffer-local.
	(ispell-local-dictionary-alist): Docstring expanded.
	Tag name changed from "Character Set" to "Coding System".
	(ispell-dictionary-alist-1): Removed redundant command-line option to
	load brasileiro, british, and castellano dictionary files.
	(ispell-dictionary-alist-2): Removed redundant command-line option to
	load czech dictionary file.
	(ispell-dictionary-alist-3): Moved francais-tex here.
	(ispell-dictionary-alist-4): Removed german and german8 dictionaries.
	The deutsch ones are the correct definitions.  `nederlands'
	and `nederlands8' dictionaries moved here.
	(ispell-dictionary-alist-5): `polish' and `portugues' dictionaries
	moved here.  Removed redundant command-line option to `norsk'
	and `portugues'.
	(ispell-dictionary-alist-6): Removed redundant command-line option to
	load `russian' and `slovak' dictionary files.
	(ispell-dictionary-alist): Tag name changed from "Character Set" to
	"Coding System".
	(ispell-version): Updated to 3.6.
	(ispell-library-directory): Calls non-deprecated function.
	(ispell-valid-dictionary-list): New function returning all valid
	dictionaries on machine.
	(ispell-checking-message): Documentation string improved.
	(ispell-skip-region-alist): Added uuencoded and postscript region
	skipping.  Improved http/e-mail/file regexp to not match `/.\w'.
	(ispell-html-skip-alists): New variable for html region support.
	(ispell-send-string): Removed redundant xemacs check.
	(ispell-word): Fix spelling error in documentation string, added
	extent information to support highlighting in ispell-minor-mode.
	(ispell-command-loop): Disable horizontal scrollbar in XEmacs
	choices buffer.
	(ispell-show-choices): Directly select `choices-window'.
	(ispell-help): Use default buffer size for electric help.
	(ispell-adjusted-window-height): Correct for xemacs detection.
	(ispell-start-process): Don't double specify dictionary file name.
	(ispell-init-process): Set `ispell-library-path' each call.
	(ispell-change-dictionary): Now only completes valid dictionaries.
	(ispell-region): Add support for MIME region skipping and Fcc
	message query for large attachments.
	(ispell-begin-skip-region-regexp): Add documentation string.
	Added message support and cleaned up code for generic and html regions.
	(ispell-begin-skip-region): Function is now requires alist argument.
	(ispell-begin-tex-skip-regexp): Added comments and support
	improved html and message regions.
	(ispell-skip-region-list): New function for MIME and region skipping.
	(ispell-tex-arg-end): Add documentation string.
	(ispell-ignore-fcc): New function to query saving Fcc message.
	(ispell-skip-region): Calculate alist for key match dynamically,
	html skipping pushed to alists.
	(ispell-get-line): Add support for multi-line comment regions.
	(ispell): Check that variables to continue spelling are bound.
	(ispell-message-text-end): Postscript and uuencoded regions now
	supported as MIME regions, rather than as end-of-message region.
	(ispell-mime-multipartp): New function supporting MIME.
	(ispell-mime-skip-part): New function supporting MIME.
	(ispell-message): Add MIME support.
	(ispell-buffer-local-parsing): Variable `ispell-skip-html' now local.
	(ispell-buffer-local-dict): Fixed bug for detecting and reloading
	new dictionary.

Juanma Barranquero's avatar
Juanma Barranquero committed
881 882 883 884 885 886
2003-05-22  Stephen J. Turnbull  <stephen@xemacs.org>

	* subr.el (split-string): Implement specification that splitting on
	explicit separators retains null fields.  Add new argument
	OMIT-NULLS.  Special-case (split-string "a string").

887 888
2003-05-22  Stefan Monnier  <monnier@cs.yale.edu>

Stefan Monnier's avatar
Stefan Monnier committed
889 890 891 892 893 894
	* international/mule-cmds.el (select-safe-coding-system):
	Try default-buffer-file-coding-system too for automatic selection.

2003-05-21  Stefan Monnier  <monnier@cs.yale.edu>

	* simple.el (ctl-x-map): Remove the C-x U binding added recently.
895

Dave Love's avatar
Dave Love committed
896 897 898 899
2003-05-21  Dave Love  <fx@gnu.org>

	* descr-text.el (unicodedata-file): New.
	(unicode-data): New (adapted from unicode branch).
Stefan Monnier's avatar
Stefan Monnier committed
900 901
	(describe-char): Use it.  Print char's unicode differently.
	Avoid elements with null cadr when formatting list.  Clarify error
Dave Love's avatar
Dave Love committed
902 903 904 905
	message when used in Help buffer.
	(button): Require when compiling.
	(describe-char-after): Alias for obsolete command.

Nick Roberts's avatar
Nick Roberts committed
906 907 908 909 910 911 912
2003-05-21  Nick Roberts  <nick@nick.uklinux.net>

	* gdb-ui.el (gud-gdba-command-name): Use -noasync option for Gdb
	with MS windows.
	(gdb-display-end): Only make buffer writeable temporarily.
	Move "View" submenu up one level.

Nick Roberts's avatar
Nick Roberts committed
913 914 915 916 917 918 919 920 921 922 923 924
2003-05-21  Nick Roberts  <nick@nick.uklinux.net>

	* gdb-ui.el (gdb-view-source, gdb-selected-view): New variables.
	(gdba): Inhibit DOS window in MS Windows.
	(gdb-inferior-io-mode): Use hexl instead of cat.
	(gdb-info-breakpoints-custom, gdb-assembler-custom, gdb-reset):
	Use text in margin for MS Windows as there is no image support.
	(gdb-restore-windows, gdb-setup-windows): Restore/start with
	assembler view if appropriate.
	(gdb-assembler-custom): Assembler code should display at point.
	Parse address correctly.
	(gdb-frame-handler): Accommodate selection of display of source
Juanma Barranquero's avatar
Juanma Barranquero committed
925
	or assembler.
Nick Roberts's avatar
Nick Roberts committed
926 927
	Add radio buttons to select display of source or assembler.

Juanma Barranquero's avatar
Juanma Barranquero committed
928 929 930 931 932 933 934 935 936 937
2003-05-20  Lars Hansen  <larsh@math.ku.dk>

	* desktop.el (desktop-save): Ensure parameter is expanded and ends
	with a slash before assigning it to desktop-dirname and
	default-directory.
	(desktop-read): Put buffers existing prior to evaluating the
	desktop (and not reused) at the end of the buffer list.
	(desktop-create-buffer): Don't update desktop-first-buffer for old
	desktop files.

938 939 940 941
2003-05-19  John Paul Wallington  <jpw@gnu.org>

	* xml.el (xml-name-regexp): Wrap in `eval-and-compile'.

Dave Love's avatar
Dave Love committed
942 943 944 945 946 947 948 949 950 951 952 953
2003-05-19  Dave Love  <fx@gnu.org>

	* xml.el: Doc fixes.
	(xml-parse-file, xml-parse-region): Autoload.
	(xml-syntax-table, xml-name-regexp): New.
	(xml-parse-region): Narrow to region, set syntax-table and
	case-fold-search.  Reject fewer valid documents.
	(xml-parse-tag): Remove arg END.  Callers changed.
	(xml-parse-tag): Use skip-syntax-forward.  Use PARSE-DTD arg
	properly.  Don't use buffer-substring-no-properties.  Don't bind
	case-fold-search.  Fix syntax for empty elements.  Hoist consing
	of end-of-tag regexp out of loop.
Stefan Monnier's avatar
Stefan Monnier committed
954 955
	(xml-parse-attlist): Remove arg.  Callers changed.
	Use skip-syntax-forward, replace-regexp-in-string, forward-sexp.
Dave Love's avatar
Dave Love committed
956
	Allow non-ASCII names.
Stefan Monnier's avatar
Stefan Monnier committed
957 958 959
	(xml-skip-dtd): Remove arg.  Callers changed.  Change matching code.
	(xml-parse-dtd): Grok external DTDs.  Allow non-ASCII.
	Don't use match-string-no-properties.
Stefan Monnier's avatar
Stefan Monnier committed
960
	(xml-ucs-to-string): Delete.
Dave Love's avatar
Dave Love committed
961 962 963 964 965
	(xml-substitute-entity): New.
	(xml-substitute-special): Use it.
	(xml-debug-print-internal): Simplify insertions.
	(xml-parse-file): Avoid finding file in xml-mode.

966 967 968 969 970
2003-05-19  Kai Gro,A_(Bjohann  <kai.grossjohann@gmx.net>

	* simple.el (kill-whole-line): New function.
	* bindings.el (global-map): Bind it.

971 972 973 974 975 976
2003-05-19  Richard M. Stallman  <rms@gnu.org>

	* net/goto-addr.el (goto-address-fontify-maximum-size):
	Value t means no limit.
	(goto-address-fontify): Implement that feature.

Stefan Monnier's avatar
Stefan Monnier committed
977
	* emacs-lisp/find-func.el (find-function-on-key):
978 979 980 981 982 983 984 985 986 987
	Move the call to find-function-other-window outside
	the save-excursion.

	* find-file.el (ff-special-constructs): Delete the Ada entry.

	* faces.el (x-create-frame-with-faces):
	Don't call face-set-after-frame-default.
	(face-set-after-frame-default): Copy attrs of global `default'
	face to FRAME's `default' face.

Juanma Barranquero's avatar
Juanma Barranquero committed
988 989 990 991 992 993
2003-05-19  Joe Kelsey  <joek@flyingcroc.net>

	* skeleton.el (skeleton-internal-1): Allow - as alternate
	interesting point marker and revert @ to just setting
	skeleton-positions.

Stefan Monnier's avatar
Stefan Monnier committed
994 995 996 997 998 999 1000 1001 1002 1003 1004 1005 1006 1007 1008 1009 1010 1011 1012 1013 1014
2003-05-18  Stefan Monnier  <monnier@cs.yale.edu>

	* emacs-lisp/lisp.el (beginning-of-defun-raw): Use shy-group.

	* progmodes/executable.el (executable-set-magic): Remove unused
	vars `point' and `buffer-modified-p'.

	* mail/sendmail.el (mail-mode): Don't bother setting paragraph-start.

	* mail/mail-extr.el: Use explicit coding tag.

	* international/mule.el (sgml-xml-auto-coding-function)
	(sgml-html-meta-auto-coding-function): Don't assume point-min == 1.

	* language/china-util.el (hz-set-msb-table): Build when compiling.
	(big5-to-cns): Pre-build the alist when compiling.

	* language/ind-util.el (indian-regexp-of-hashtbl-keys): Don't bother
	sorting the argument to regexp-opt.
	(indian--puthash-char): Use dolist rather than mapc.

Nick Roberts's avatar
Nick Roberts committed
1015 1016 1017 1018 1019 1020 1021 1022 1023 1024
2003-05-18  Nick Roberts  <nick@nick.uklinux.net>

	* gdb-ui.el (put-arrow): Rename gdb-put-arrow and simplify.
	(put-string): Rename gdb-put-string and simplify.
	(remove-strings): Rename gdb-remove-strings.
	(remove-arrow): Rename gdb-remove-arrow.
	(gdb-assembler-custom): Try to get line marker (arrow) to display
	in window (revisited).
	Use with-current-buffer where possible.

John Paul Wallington's avatar
John Paul Wallington committed
1025 1026 1027 1028 1029
2003-05-18  John Paul Wallington  <jpw@gnu.org>

	* ibuffer.el (ibuffer-display-summary): New customizable variable.
	(ibuffer-update-title-and-summary): Respect it.

1030
2003-05-18  Michael Kifer  <kifer@cs.stonybrook.edu>
Juanma Barranquero's avatar
Juanma Barranquero committed
1031 1032 1033 1034

	* ediff-mult.el (ediff-default-filtering-regexp): New variable.

	* ediff-util.el (ediff-maybe-save-and-delete-merge): Change in a
1035
	message.
Juanma Barranquero's avatar
Juanma Barranquero committed
1036 1037 1038 1039 1040

	* ediff.el (ediff-directories,ediff-directory-revisions)
	(ediff-directories3,ediff-merge-directories)
	(ediff-merge-directories-with-ancestor,ediff-merge-directory-revisions)
	(ediff-merge-directory-revisions-with-ancestor): Make use of the new
1041
	ediff-default-filtering-regexp variable.
Juanma Barranquero's avatar
Juanma Barranquero committed
1042

1043 1044 1045 1046 1047 1048 1049
2003-05-18  Richard M. Stallman  <rms@gnu.org>

	* which-func.el (which-func-current, which-func-format):
	Preload the risky-local-variable properties for them.

	* subr.el (prepare-change-group): Reinstate BUFFER arg; make it work.

Nick Roberts's avatar
Nick Roberts committed
1050 1051 1052 1053 1054
2003-05-18  Nick Roberts  <nick@nick.uklinux.net>

	* gud.el (gdb): Define gud-nexti.
	(gud-menu-map): Add gud-nexti to map.
	(gud-tool-bar-map): Add gud-nexti and gud-stepi to toolbar.
Stefan Monnier's avatar
Stefan Monnier committed
1055 1056

	* toolbar/gud-stepi.xpm, toolbar/gud-stepi.pbm,
Nick Roberts's avatar
Nick Roberts committed
1057
	toolbar/gud-nexti.xpm, toolbar/gud-nexti.pbm: New icons for debugger.
Stefan Monnier's avatar
Stefan Monnier committed
1058

1059 1060 1061 1062 1063 1064 1065 1066
2003-05-17  John Paul Wallington  <jpw@gnu.org>

	* international/ja-dic-cnv.el (skkdic-okuri-nasi-entries)
	(skkdic-okuri-nasi-entries-count): Use defvar for non-constants.

	* register.el (number-to-register): Use `string-to-number' instead
	of `string-to-int'.

1067 1068
2003-05-17  Stefan Monnier  <monnier@cs.yale.edu>

Stefan Monnier's avatar
Stefan Monnier committed
1069 1070 1071 1072 1073 1074 1075 1076 1077 1078 1079 1080 1081 1082 1083 1084 1085 1086 1087 1088 1089 1090 1091 1092 1093 1094 1095 1096 1097 1098
	* log-edit.el: Don't require vc.el anymore.
	(log-edit-mode-map): Fold vc-log-mode-map into it.
	(vc-log-mode-map): Redefine as an alias.
	(vc-previous-comment): Don't widen.
	(vc-comment-to-change-log): Don't redundantly set paragraph-separate.
	Don't require `add-log' since it's already required at toplevel.

	* vc.el (vc-log-mode-map, vc-maximum-comment-ring-size)
	(vc-comment-ring, vc-comment-ring-index, vc-last-comment-match):
	Move vars to log-edit.el.
	(vc-new-comment-index, vc-previous-comment, vc-next-comment)
	(vc-comment-search-reverse, vc-comment-search-forward)
	(vc-comment-to-change-log): Move funs to log-edit.el.
	(vc-clear-context): Don't empty the comment-ring.
	(vc-finish-logentry): Don't add the comment onto the comment-ring.

	* log-edit.el (vc-log-mode-map, vc-maximum-comment-ring-size)
	(vc-comment-ring, vc-comment-ring-index, vc-last-comment-match):
	Move vars from vc.el.
	(vc-new-comment-index, vc-previous-comment, vc-next-comment)
	(vc-comment-search-reverse, vc-comment-search-forward)
	(vc-comment-to-change-log): Move funs from vc.el.
	(log-edit-show-files): Remove unused var `editbuf'.

	* progmodes/tcl.el (tcl-indent-exp): Remove dead code.
	(tcl-tab-always-indent): Default to tab-always-indent.

	* progmodes/perl-mode.el (perl-end-of-function): Remove unused var.
	(perl-tab-always-indent): Default to tab-always-indent.

1099 1100 1101 1102 1103 1104 1105 1106 1107 1108 1109 1110 1111 1112 1113
	* which-func.el (which-func-format): Make it risky-local-variable.
	(which-func-table): New var.
	(which-func-current): Make it into a constant modeline spec.
	(which-func-previous): Remove.
	(which-func-update): Only update the selected window.
	(which-func-update-1): Use the new var to allow the current
	function to be different for a buffer shown in two windows.

	* subr.el (with-selected-window): New macro.
	(dolist, dotimes, with-current-buffer): Use backquotes.
	(when, unless, save-match-data, combine-after-change-calls)
	(with-output-to-string, with-temp-buffer): Add `declare' info.
	(listify-key-sequence): Don't allocate unnecessarily.
	(read-quoted-char): Allow up to base 36.
	(prepare-change-group): Remove unimplemented argument.
Stefan Monnier's avatar
Stefan Monnier committed
1114
	(macro-declaration-function): Avoid `dolist' and `cadr'.
1115 1116 1117 1118 1119 1120

	* wid-edit.el (pp-to-string, Info-goto-node): Don't autoload.
	(widget-choose, widget-map-buttons): Use with-current-buffer.
	(widget-field-add-space): Change to nil (and to defconst).
	(widget-info-link-action): Use `info'.

Nick Roberts's avatar
Nick Roberts committed
1121 1122 1123 1124 1125
2003-05-17  Nick Roberts  <nick@nick.uklinux.net>

	* gdb-ui.el (gdb-info-frames-custom): Reverse contrast of face for
	selected frame.
	(gdb-annotation-rules): Stop using frames-invalid and
1126
	breakpoints-invalid annotations.  Update after post-prompt instead.
Nick Roberts's avatar
Nick Roberts committed
1127 1128 1129 1130 1131 1132
	(gdb-post-prompt): Update frames and breakpoints here.
	(gdb-invalidate-frame-and-assembler)
	(gdb-invalidate-breakpoints-and-assembler): Remove.
	(gdb-current-address): Remove.
	(gdb-previous-address): New variable.
	(gud-until): Extend to work in Assembler buffer
1133
	(gdb-append-to-inferior-io): Select IO buffer when there is output.
Nick Roberts's avatar
Nick Roberts committed
1134
	(gdb-assembler-custom): Try to get line marker (arrow) to display
1135
	in window.  Correct parsing for OS dependent output syntax of Gdb
Nick Roberts's avatar
Nick Roberts committed
1136 1137 1138 1139 1140 1141
	command, where.
	(gdb-frame-handler): Correct parsing for OS dependent output
	syntax of Gdb command, frame.
	(gdb-invalidate-assembler): Update assembler buffer correctly when
	frame changes (revisited).

1142 1143 1144 1145 1146 1147 1148 1149 1150
2003-05-16  Stefan Monnier  <monnier@cs.yale.edu>

	* imenu.el (imenu--split-menu): Remove unused var `count'.
	Don't copy the sequence since we're already modifying it elsewhere.
	(imenu--create-keymap): Rename from imenu--create-keymap-1.
	Add optional `cmd' argument.  Remove unused var `counter'.
	(imenu-update-menubar): Use the new arg to keep the old behavior.
	(imenu--mouse-menu): Don't use the arg, to recover the lost behavior.

1151 1152
2003-05-16  Lute Kamstra  <Lute.Kamstra@cwi.nl>

1153 1154
	* hl-line.el (hl-line-highlight, global-hl-line-highlight):
	Use `line-beginning-position' to determine the beginning of the next
1155 1156
	line.

1157 1158 1159 1160 1161 1162
2003-05-16  Kenichi Handa  <handa@m17n.org>

	* international/mule-cmds.el (mule-menu-keymap): Enable the menu
	set-various-coding-system when
	default-enable-multibyte-characters is non-nil.

Stefan Monnier's avatar
Stefan Monnier committed
1163 1164 1165 1166 1167
2003-05-15  Stefan Monnier  <monnier@cs.yale.edu>

	* emacs-lisp/autoload.el (make-autoload): Add arglist for
	define-derived-mode.

1168 1169
2003-05-15  Lute Kamstra  <Lute.Kamstra@cwi.nl>

Stefan Monnier's avatar
Stefan Monnier committed
1170 1171 1172
	* hl-line.el: Rewrite the local minor mode so that it can be
	sticky as well and made sticky the default.  Reimplement the
	global minor mode.  Update the commentary section to document
1173 1174
	these changes.
	(hl-line-sticky-flag): New user option.
Stefan Monnier's avatar
Stefan Monnier committed
1175
	(hl-line-overlay): Make it buffer-local and give it a docstring.
1176
	(global-hl-line-overlay): New variable.
Stefan Monnier's avatar
Stefan Monnier committed
1177 1178 1179 1180
	(hl-line-mode): Rewrite to use `hl-line-sticky-flag'.
	(hl-line-highlight): Rewrite to use `hl-line-sticky-flag'.
	(hl-line-unhighlight): Update docstring.
	(global-hl-line-mode): Implement directly so that is does not
1181
	depend on `hl-line-mode' any more.
Stefan Monnier's avatar
Stefan Monnier committed
1182
	(global-hl-line-highlight, global-hl-line-unhighlight): New functions.
1183

1184 1185 1186 1187
2003-05-15  Kenichi Handa  <handa@m17n.org>

	* international/code-pages.el (cyrillic-koi8-t): Alias of koi8-t.

1188 1189 1190 1191 1192 1193 1194 1195 1196
2003-05-15  Vinicius Jose Latorre  <viniciusjl@ig.com.br>

	* ps-print.el: Avoid unnecessary calls to funs in header and footer
	variables.  Reported by Greg Hill <ghill@synergymicro.com>.
	(ps-print-version): New version number (6.6.1).
	(ps-begin-page): Code fix.
	(ps-generate-string-list, ps-header-footer-string): New funs.
	(ps-lh-cache, ps-rh-cache, ps-lf-cache, ps-rf-cache): New vars.

Stefan Monnier's avatar
Stefan Monnier committed
1197 1198 1199
	* ps-mule.el (ps-mule-header-string-charsets):
	Call ps-header-footer-string to avoid unnecessary calls to functions
	in header and footer variables.
1200

1201 1202 1203 1204
2003-05-15  John Paul Wallington  <jpw@gnu.org>

	* mail/rmail.el (rmail-ignored-headers): Ignore Face: header.

Stefan Monnier's avatar
Stefan Monnier committed
1205 1206 1207 1208 1209 1210 1211 1212 1213 1214 1215 1216 1217 1218 1219 1220 1221 1222 1223 1224
2003-05-14  Stefan Monnier  <monnier@cs.yale.edu>

	* textmodes/tex-mode.el (tex-compile-history, tex-input-files-re)
	(tex-use-reftex, tex-compile-commands): New vars.
	(tex-summarize-command, tex-uptodate-p, tex-executable-exists-p)
	(tex-command-executable, tex-command-active-p, tex-compile-default)
	New functions.
	(tex-compile): New command.
	(tex-mode-map): Bind it to C-c C-c.

	* vc-svn.el (completion-ignored-extensions): Add .svn.
	(vc-svn-delete-file): New function.

	* pcvs.el (cvs-append-to-ignore): New arg `old-dir'.
	(cvs-mode-ignore): Use it.

	* pcvs-parse.el (cvs-parse-table): Remove unused var `type'.
	Look up `.cvsignore' to see what to do with `new-dir' messages.
	(cvs-parse-merge): Remove unused var `handled'.

Juanma Barranquero's avatar
Juanma Barranquero committed
1225 1226 1227 1228 1229
2003-05-14  Christoph Wedler  <christoph.wedler@sap.com>

	* format.el (format-annotate-function): Copy coding system into the
	new temp buffer.

1230 1231
2003-05-14  John Paul Wallington  <jpw@gnu.org>

1232
	* ls-lisp.el (insert-directory): Discard --dired switch when
1233 1234
	`ls-lisp-use-insert-directory-program' is nil.

Stefan Monnier's avatar
Stefan Monnier committed
1235 1236
2003-05-13  Stefan Monnier  <monnier@cs.yale.edu>

Stefan Monnier's avatar
Stefan Monnier committed
1237 1238 1239 1240 1241 1242 1243 1244 1245 1246 1247 1248 1249 1250 1251 1252 1253 1254 1255 1256 1257 1258 1259 1260 1261 1262 1263 1264 1265 1266 1267 1268 1269 1270 1271 1272 1273 1274 1275 1276 1277 1278 1279 1280 1281
	* textmodes/ispell.el (xemacsp): Remove.  Use (featurep 'xemacs).
	(ispell-graphic-p): Inline and then remove.
	(toplevel): Get rid of unnecessary loop.
	(ispell-parse-output, ispell-complete-word): Replace (substring s 0 1)
	with a call to aref.
	(ispell-get-line): Remove unused arg `reg-end'.
	(ispell-region): Update corresponding call.

	* progmodes/cpp.el (cpp-make-overlay-hidden): Don't make intangible.

	* progmodes/compile.el (compile-internal): Use with-current-buffer.
	(compilation-set-window-height): Use save-selected-window.

	* progmodes/ada-xref.el (ada-xref-update-project-menu): Use easymenu.
	(ada-goto-declaration-other-frame): Remove unused arg other-frame.
	(ada-gdb-application): Remove unused vars comint-exec, in-post-mode,
	and gud-gdb-massage-args.

	* progmodes/cc-langs.el (c-lang-defvar-init-form-tail):
	This is actually not a constant.

	* progmodes/autoconf.el (autoconf-current-defun-function):
	Copy the syntax table before modifying it.

	* progmodes/ada-mode.el (ada-in-comment-p, ada-in-string-p)
	(ada-in-string-or-comment-p): Use line-beginning-position.

	* textmodes/reftex.el (reftex-select-with-char): Don't assume
	that point-min == 1.

	* textmodes/reftex-toc.el (reftex-toc-visit-location):
	Don't switch the current window if the new buffer is in another.
	(reftex-toc): Don't assume that point-min == 1.

	* textmodes/reftex-parse.el (reftex-what-macro): Don't assume
	that point-min == 1.

	* textmodes/reftex-cite.el (reftex-extract-bib-entries)
	(reftex-extract-bib-entries-from-thebibliography): New arg re-list.
	(reftex-extract-bib-entries): Use ^ rather than \(\`\|[\n\r]\).
	Use member-ignore-case.  Don't add unnecessary trailing \n.
	(reftex-offer-bib-menu): Consolidate duplicated code from
	reftex-extract-bib-entries and
	reftex-extract-bib-entries-from-thebibliography.

Stefan Monnier's avatar
Stefan Monnier committed
1282 1283 1284 1285 1286 1287 1288 1289 1290 1291 1292 1293 1294 1295 1296 1297 1298 1299 1300 1301 1302 1303 1304 1305 1306 1307 1308 1309 1310 1311 1312 1313 1314 1315
	* simple.el (back-to-indentation): Simplify.
	(undo-equiv-table, undo-in-region, undo-no-redo): New vars.
	(undo): Use them to implement the no-redo form of undo.
	(undo-only): New fun.
	(shell-command): Don't require `shell' since shell-mode is autoloaded.
	(insert-buffer): Simplify.
	(completion-setup-function): Use minibufferp.
	(event-apply-alt-modifier, event-apply-super-modifier)
	(event-apply-hyper-modifier, event-apply-shift-modifier)
	(event-apply-control-modifier, event-apply-meta-modifier):
	Fix docstring to show the proper key sequence.

	* uniquify.el (uniquify-after-kill-buffer-p): Set default to t.
	(uniquify-ignore-buffers-re): Revert to nil now that uniquify
	is more careful about preserving buffer names.

	* menu-bar.el (menu-bar-options-menu) <cua-mode>:
	Use menu-bar-make-mm-toggle.

	* files.el (file-relative-name): Remove dead code.
	Make sure \n in a filename does not confuse us.

	* help-fns.el (describe-variable): Mention permanent local status.

	* comint.el (comint-carriage-motion, comint-output-filter):
	Bind inhibit-read-only rather than buffer-read-only.
	(comint-truncate-buffer): Bind inhibit-read-only.

	* pcvs.el (cvs-make-cvs-buffer): Add the tag info.
	(cvs-mode): Prevent pilot-error.

	* vc-mcvs.el (vc-mcvs-registered, vc-mcvs-root): Check the output
	of file-name-directory for nil.

1316 1317 1318 1319 1320
2003-05-13  Simon Josefsson  <jas@extundo.com>

	* mail/smtpmail.el (smtpmail-open-stream): Don't hard code
	starttls-program.

1321 1322 1323
2003-05-13  Rajesh Vaidheeswarran  <rv@gnu.org>

	* whitespace.el (whitespace-global-mode): Add :link entry
Stefan Monnier's avatar
Stefan Monnier committed
1324
	to the commentary section in whitespace.el
1325

Nick Roberts's avatar
Nick Roberts committed
1326 1327 1328 1329
2003-05-13  Nick Roberts  <nick@nick.uklinux.net>

	* gdb-ui.el (gdb-invalidate-assembler): Update assembler buffer
	correctly when frame changes.
Stefan Monnier's avatar
Stefan Monnier committed
1330 1331 1332
	(gdb-info-threads-custom, gdb-threads-buffer-name)
	(gdb-display-threads-buffer, gdb-frame-threads-buffer)
	(gdb-threads-mode-map, gdb-threads-mode, gdb-get-thread-number)
Nick Roberts's avatar
Nick Roberts committed
1333 1334 1335
	(gdb-threads-select, gdb-threads-mouse-select): New functions and
	variable for a buffer that provides a selectable threads list.

Stefan Monnier's avatar
Stefan Monnier committed
1336 1337 1338 1339 1340 1341 1342 1343 1344 1345 1346 1347 1348 1349 1350 1351 1352
2003-05-12  Stefan Monnier  <monnier@cs.yale.edu>

	* pcvs-parse.el (cvs-parse-table): `New directory' messages include
	the full path.

	* pcvs.el (cvs-minor-current-files): Move before first use.
	(defun-cvs-mode): Remove unused var `restdoc'.
	(cvs-edit-log-revision, ediff-after-quit-hook-internal): Declare.
	(cvs-mode-diff-backup): Remove unused var `filter'.
	(cvs-mode-run): Remove unused var `cvs-buf'.
	(cvs-mode-do): Remove unused arg `parse'.
	(cvs-retrieve-revision): Make sure HEAD gets the head of the branch.

	* textmodes/sgml-mode.el (sgml-namespace-re): New const.
	(sgml-namespace-face): New face.
	(sgml-font-lock-keywords-1): Use them.

1353 1354 1355 1356 1357
2003-05-11  Kevin Ryde  <user42@zip.com.au>

	* info-look.el (info-lookup-make-completions): Allow colons in index
	entries by looking for ": " to terminate, as per latest info.el.

Stefan Monnier's avatar
Stefan Monnier committed
1358 1359 1360 1361 1362 1363 1364 1365 1366
2003-05-11  Stefan Monnier  <monnier@cs.yale.edu>

	* vc-mcvs.el (vc-mcvs-command): Filter output of `status'.
	(vc-mcvs-state, vc-mcvs-dir-state, vc-mcvs-print-log, vc-mcvs-diff):
	Change dir so that the filtered output of `mcvs makes sense.
	(vc-mcvs-mode-line-string): Handle the case where CVS is desync'd.
	(vc-mcvs-diff-tree): Don't bother with the local-diff code.
	(vc-mcvs-create-snapshot): Use `branch' and `switch'.

1367 1368
2003-05-10  Stefan Monnier  <monnier@cs.yale.edu>

Stefan Monnier's avatar
Stefan Monnier committed
1369 1370 1371 1372 1373 1374 1375 1376 1377 1378 1379 1380 1381
	* newcomment.el (comment-indent): Try to align to adjacent comments.
	(comment-with-narrowing): Actually use the arguments.
	(comment-valid-prefix-p): Rename from comment-valid-prefix
	and fix to actually use its argument.

	* tex-mode (tex-mode-syntax-table): ~ is not whitespace.
	(tex-guess-mode): Add `renewcommand'.
	(tex-mode): Move the autoload to get the correct docstring and usage.

	* uniquify.el (uniquify-rationalize-file-buffer-names):
	Refresh the dirname in the case that rename-buffer was skipped.
	(uniquify-buffer-file-name): Return a dirname with no trailing slash.

1382 1383 1384 1385 1386 1387 1388
	* mail/smtpmail.el (smtpmail-send-queued-mail): Use point-at-bol
	instead of forward-line.

2003-05-10  Oliver Scholz  <alkibiades@gmx.de>

	* startup.el (fancy-splash-default-action): Fix docstring.

1389 1390 1391 1392
2003-05-09  Sam Steingold  <sds@gnu.org>

	* pcvs.el (cvs-mode-find-file): Fixed the last patch's logic.

1393 1394
2003-05-09  Stefan Monnier  <monnier@cs.yale.edu>

Stefan Monnier's avatar
Stefan Monnier committed
1395 1396 1397 1398 1399 1400 1401 1402 1403 1404 1405 1406 1407 1408 1409 1410 1411 1412 1413 1414 1415 1416 1417 1418 1419 1420 1421 1422 1423 1424 1425 1426 1427 1428 1429 1430 1431
	* newcomment.el (comment-indent): Be more careful when inserting
	the space, and insert it before setting `begpos'.

	* vc.el: New backend functions `delete-file' and `repository-hostname'.
	(vc-stay-local): New var.  Mostly taken from vc-cvs-stay-local.
	(vc-stay-local-p): New fun.  Adapted from vc-cvs-stay-local-p.
	(vc-diff-switches-list): Revert to the Emacs-21.[123] semantics.
	Mark as obsolete.
	(vc-delete-file): New command.
	(vc-default-rename-file): New function.
	(vc-rename-file): Use it.
	Be careful to disallow renaming if the file is locked or out-of-date.
	(vc-ensure-vc-buffer, vc-next-action-on-file, vc-insert-headers)
	(vc-cancel-version, vc-annotate): Use buffer-file-name variable.

	* vc-mcvs.el (vc-mcvs-stay-local): Remove unused var.
	(vc-mcvs-state, vc-mcvs-dir-state, vc-mcvs-print-log, vc-mcvs-diff)
	(vc-mcvs-diff-tree, vc-mcvs-annotate-command)
	(vc-mcvs-make-version-backups-p): Use vc-stay-local-p.
	(vc-mcvs-checkin): Disallow commits to a numbered rev.
	(vc-mcvs-repository-hostname): New function.
	(vc-mcvs-stay-local-p): Remove.

	* vc-cvs.el (vc-cvs-mode-line-string): Use vc-default-mode-line-string.
	(vc-cvs-delete-file, vc-cvs-rename-file): New functions.

	* vc-svn.el (vc-svn-rename-file): New fun.
	(vc-svn-diff): Correctly check svn's return status.
	(vc-svn-state, vc-svn-dir-state, vc-svn-print-log, vc-svn-diff)
	(vc-svn-diff-tree): Use vc-stay-local-p.
	(vc-svn-register-switches, vc-svn-diff-switches, vc-svn-header)
	(vc-svn-use-edit): Fix the :version property.
	(vc-svn-stay-local): Remove unused var.
	(vc-svn-mode-line-string): Remove, use the default instead.
	(vc-svn-repository-hostname): New fun taken from vc-svn-stay-local-p.
	(vc-svn-stay-local-p): Remove.

1432 1433 1434 1435 1436 1437 1438 1439 1440 1441
	* uniquify.el: Use the original buffer-name as `base' in place of the
	nondirectory part of the file name.
	(uniquify-rationalize-file-buffer-names):
	Split the `newbuffile' arg into `base' and `dirname'.
	Reuse old uniquify-items to avoid recomputing their base&dirname.
	(uniquify-buffer-file-name): Only return the directory part.
	(uniquify-rerationalize-w/o-cb): Don't bother reseting proposed names.
	(rename-buffer): Use the `newname' arg as base.
	(create-file-buffer): Split the file name into base and dirname.

1442 1443 1444 1445
2003-05-09  Jesper Harder  <harder@ifa.au.dk>  (tiny change)

	* mail/smtpmail.el (smtpmail-send-queued-mail): Don't use kill-line.

Stefan Monnier's avatar
Stefan Monnier committed
1446 1447 1448 1449 1450 1451 1452 1453 1454 1455 1456 1457 1458 1459 1460 1461 1462 1463 1464 1465 1466 1467 1468 1469 1470 1471 1472 1473 1474 1475 1476 1477 1478 1479 1480 1481 1482 1483 1484 1485 1486 1487 1488 1489 1490 1491 1492 1493 1494 1495 1496 1497 1498 1499 1500 1501 1502 1503 1504 1505
2003-05-08  Stefan Monnier  <monnier@cs.yale.edu>

	* uniquify.el (uniquify-after-kill-buffer-p): Fix misleading docstring.
	(uniquify-make-item): Make `proposed' optional.
	(uniquify-rationalize-file-buffer-names): Don't compute the
	initial proposed name.
	(uniquify-buffer-file-name): Remove dead code.
	(uniquify-strip-common-suffix): New var.
	(uniquify-rationalize): Always recompute initial proposed name.
	Strip common suffix if requested.

	* vc-rcs.el (vc-rcs-register, vc-rcs-checkin, vc-rcs-checkout)
	(vc-rcs-find-version, vc-rcs-diff): Use vc-switches.

	* vc-sccs.el (vc-sccs-register, vc-sccs-find-version)
	(vc-sccs-checkin, vc-sccs-checkout, vc-sccs-diff): Use vc-switches.
	(vc-sccs-register): Remove unused var `|'.

	* vc-mcvs.el (vc-mcvs-read): Don't require `file' to exist.
	(vc-mcvs-diff): Don't return 0 for newly added empty files.
	(vc-mcvs-register, vc-mcvs-checkin, vc-mcvs-find-version)
	(vc-mcvs-checkout, vc-mcvs-diff, vc-mcvs-diff-tree): Use vc-switches.

	* vc-cvs.el (vc-cvs-dired-state-info): Use `added' for added files and
	don't use `concat' unnecessarily.  Remove impossible cases.
	(vc-cvs-diff): Don't return 0 for newly added empty files.
	(vc-cvs-stay-local-p): Simplify.
	(vc-cvs-register, vc-cvs-checkin, vc-cvs-find-version, vc-cvs-diff)
	(vc-cvs-diff-tree, vc-cvs-checkout): Use vc-switches.

	* vc-svn.el (vc-svn-dired-state-info): Use `added' for added files and
	don't use `concat' unnecessarily.  Remove impossible cases.
	(vc-svn-register, vc-svn-find-version, vc-svn-diff-tree):
	Use vc-switches.
	(vc-svn-checkin): Use vc-switches.  Fix up regexp.
	(vc-svn-diff): Use vc-switches.
	Don't return 0 for newly added empty files.
	Don't use svn's return status.
	(vc-svn-parse-status): Recognize copied files as well.
	Use the last-modified revision for workfile-version.

	* vc-hooks.el (vc-default-workfile-unchanged-p): Pass nil
	rather than (vc-workfile-version file) to diff.

	* vc.el (with-vc-properties, with-vc-file, edit-vc-file):
	Add `declare's for debugging and indentation.
	(vc-do-command): Use `remq'.
	(vc-buffer-context): Remove unused var `curbuf'.
	(vc-next-action-dired): Remove unused var `dired-dir'.
	(vc-switches): New fun.
	(vc-diff-switches-list): Use it.
	(vc-dired-hook): Remove unused var `cvs-dir'.
	(vc-dired-purge): Remove unused var `subdir'.
	(vc-cancel-version): Remove unused var `config'.
	(vc-rename-master): Use dolist iso mapcar.
	(vc-rename-file): Remove redundant tests.
	Clear the properties of the old file name.
	(vc-annotate): Pass the complete filename to `annotate-command'.
	(vc-annotate-lines): Remove unused var `overlay'.

1506 1507 1508 1509 1510
2003-05-08  Glenn Morris  <gmorris@ast.cam.ac.uk>

	* calendar/diary-lib.el (diary-pull-attrs): Make `ret-attr',
	`attr' local.
	(list-diary-entries): Make `temp' local.
Stefan Monnier's avatar
Stefan Monnier committed
1511
	(fancy-diary-display): Make `marks', `temp-face', `faceinfo' local.
1512
	(diary-mail-entries): There is no fancy-diary-buffer if there are
Glenn Morris's avatar
Glenn Morris committed
1513
	no diary entries.  Use call-interactively.
1514 1515 1516 1517 1518
	(mark-diary-entries): Make `temp' local.
	(mark-sexp-diary-entries): Make `marks' local, remove `temp'.
	(list-sexp-diary-entries): Make `temp' local.
	(add-to-diary-list): Make `prefix' local.

Dave Love's avatar
Dave Love committed
1519 1520 1521 1522
2003-05-08  Dave Love  <fx@gnu.org>

	* international/utf-7.el: New file.

Juanma Barranquero's avatar
Juanma Barranquero committed
1523 1524 1525 1526 1527
2003-05-07  Francis J. Wright  <F.J.Wright@qmul.ac.uk>

	* files.el (insert-file-contents-literally): Allow it to be called
	within a magic file name handler.

Stefan Monnier's avatar
Stefan Monnier committed
1528 1529
2003-05-07  Stefan Monnier  <monnier@cs.yale.edu>

Stefan Monnier's avatar
Stefan Monnier committed
1530 1531 1532 1533 1534 1535 1536 1537 1538
	* uniquify.el (uniquify-rationalize-file-buffer-names):
	Don't uniquify if there is no filename.

	* vc-hooks.el: Use buffer-file-name variable rather than function.
	(vc-handled-backends): Add SVN and MCVS.
	(vc-mode-line): Call vc-backend only once.
	(find-file-hook, find-file-not-found-hook): Use the new
	names rather than ...-hooks.

Stefan Monnier's avatar
Stefan Monnier committed
1539 1540
	* uniquify.el (uniquify-item, uniquify-get-proposed-name)
	(uniquify-rationalize-conflicting-sublist): Rename filename -> dirname.
Stefan Monnier's avatar
Stefan Monnier committed
1541
	(uniquify-rationalize): New fun.  Set uniquify-managed to the fix-list.
Stefan Monnier's avatar
Stefan Monnier committed
1542 1543 1544 1545 1546 1547 1548 1549 1550
	(uniquify-rationalize-file-buffer-names): Use it and make the args
	non-optional (i.e. don't support "re-rationalize all" any more).
	(uniquify-rerationalize-w/o-cb): New fun.
	(uniquify-maybe-rerationalize-w/o-cb): Use it to rerationalize
	immediately and only the relevant buffers.
	Merged from uniquify-delay-rationalize-file-buffer-names and
	uniquify-delayed-rationalize-file-buffer-names.
	(kill-buffer-hook, rename-buffer): Use it.

Juanma Barranquero's avatar
Juanma Barranquero committed
1551 1552 1553 1554 1555 1556 1557 1558 1559 1560 1561 1562 1563 1564 1565 1566 1567 1568 1569 1570 1571 1572 1573 1574 1575 1576 1577 1578 1579 1580 1581 1582 1583 1584 1585 1586 1587 1588 1589 1590 1591 1592 1593 1594 1595 1596 1597 1598 1599 1600 1601 1602 1603 1604 1605
2003-05-06  Jesper Harder  <harder@ifa.au.dk>

	* progmodes/compile.el (compile-internal): Don't quote nil and t in
	docstrings.

	* emacs-lisp/eldoc.el (eldoc-echo-area-use-multiline-p): Likewise.

	* emacs-lisp/cl-macs.el (case, typecase): Likewise.

	* allout.el (allout-auto-activation)
	(allout-use-mode-specific-leader, allout-reindent-bodies)
	(allout-unprotected): Likewise.

	* progmodes/tcl.el (tcl-explain-indentation): Likewise.

	* progmodes/idlwave.el (idlwave-complete-special): Likewise.

	* progmodes/cpp.el (cpp-edit-list): Likewise.

	* progmodes/cperl-mode.el (cperl-lineup): Likewise.

	* progmodes/cc-align.el (c-lineup-argcont, c-lineup-gcc-asm-reg):
	Likewise.

	* play/mpuz.el (mpuz-silent): Likewise.

	* play/decipher.el (decipher-ignore-spaces): Likewise.

	* net/rlogin.el (rlogin-process-connection-type): Likewise.

	* mail/rmail.el (rmail-primary-inbox-list): Likewise.

	* mail/mailalias.el (mail-directory-function)
	(mail-directory-requery, mail-directory): Likewise.

	* emacs-lisp/lucid.el (buffer-syntactic-context): Likewise.

	* emacs-lisp/lmenu.el (popup-dialog-box): Likewise.

	* type-break.el (type-break-good-rest-interval)
	(type-break-query-mode, type-break-query-function)
	(type-break-mode-line-message-mode): Likewise.

	* skeleton.el (skeleton-autowrap, skeleton-untabify)
	(skeleton-newline-indent-rigidly, skeleton-insert)
	(skeleton-read): Likewise.

	* simple.el (newline): Likewise.

	* ps-print.el (ps-zebra-stripe-follow): Likewise.

	* mwheel.el (mouse-wheel-scroll-amount): Likewise.

	* env.el (setenv): Likewise.

Stefan Monnier's avatar
Stefan Monnier committed
1606 1607 1608 1609 1610 1611 1612 1613 1614 1615 1616 1617 1618 1619 1620 1621 1622 1623
2003-05-06  Stefan Monnier  <monnier@cs.yale.edu>

	* imenu.el (imenu--generic-function): Use font-lock-defaults
	case setting if imenu-case-fold-search is not locally set.

	* uniquify.el (uniquify-managed): New var.
	(uniquify-rationalize-file-buffer-names, rename-buffer): Use it and set
	it to prevent accidental renaming of unrelated buffers.
	(uniquify-delay-rationalize-file-buffer-names): Use it to avoid
	the cost of uniquify when killing unrelated buffers.

	* newcomment.el (comment-set-column, comment-kill)
	(comment-or-uncomment-region): Call comment-normalize-vars
	since these functions are autoloaded.

	* help-fns.el (help-add-fundoc-usage): Use t for "no arglist".
	* emacs-lisp/advice.el (ad-make-advised-docstring): Adjust usage.

1624
2003-05-06  Lute Kamstra  <Lute.Kamstra@cwi.nl>
Lute Kamstra's avatar
Lute Kamstra committed
1625 1626 1627 1628 1629 1630

	* hl-line.el: Removed an erroneous comment.
	(hl-line-mode): Use buffer local hooks.
	(global-hl-line-mode): Turn local modes on unconditionally.
	(hl-line-highlight): Comment fix.

1631 1632 1633 1634
2003-05-06  Richard M. Stallman  <rms@gnu.org>

	* newcomment.el (comment-search-forward): Delete autoload cookie.

Juanma Barranquero's avatar
Juanma Barranquero committed
1635
2003-05-06  Kenichi Handa  <handa@m17n.org>
1636

Stefan Monnier's avatar
Stefan Monnier committed
1637 1638
	* arc-mode.el (archive-set-buffer-as-visiting-file):
	Use after-insert-file-set-coding, not
1639 1640
	after-insert-file-set-buffer-file-coding-system.

Stefan Monnier's avatar
Stefan Monnier committed
1641 1642
2003-05-05  Stefan Monnier  <monnier@cs.yale.edu>

Stefan Monnier's avatar
Stefan Monnier committed
1643 1644 1645 1646 1647 1648 1649 1650 1651 1652 1653
	* uniquify.el (uniquify-buffer-name-style)
	(uniquify-after-kill-buffer-p, uniquify-ask-about-buffer-names-p)
	(uniquify-ignore-buffers-re, uniquify-min-dir-content)
	(uniquify-separator, uniquify-trailing-separator-p): Remove redundant
	group specification.
	(uniquify-file-name-nondirectory): Delete.
	(uniquify-rationalize-file-buffer-names): Simplify.
	Use directory names as `filename' component of uniquify-item.
	(uniquify-get-proposed-name): Adjust now that `filename' does not
	include `base'.

Stefan Monnier's avatar
Stefan Monnier committed
1654 1655
	* vc-svn.el: New file.

1656 1657
2003-05-05  John Paul Wallington  <jpw@gnu.org>

Stefan Monnier's avatar
Stefan Monnier committed
1658 1659 1660
	* emacs-lisp/autoload.el (batch-update-autoloads):
	Call `update-directory-autoloads'.

1661 1662
2003-05-04  Dan Nicolaescu  <dann@ics.uci.edu>

Stefan Monnier's avatar
Stefan Monnier committed
1663 1664
	* dired.el (dired-find-file): Bind find-file-run-dired around
	the call to find-file.
1665

Stefan Monnier's avatar
Stefan Monnier committed
1666 1667 1668 1669 1670 1671 1672 1673 1674 1675 1676 1677 1678 1679 1680 1681 1682 1683
2003-05-04  Stefan Monnier  <monnier@cs.yale.edu>

	* uniquify.el: Move provide to end of file.
	(uniquify-ref-base, uniquify-ref-filename, uniquify-ref-buffer)
	(uniquify-ref-proposed, uniquify-set-proposed): Remove.
	(uniquify-item): New struct.  Update users of uniquify-ref-*.
	(uniquify-get-proposed-name, uniquify-rationalize-a-list):
	Make `depth' optional.
	(uniquify-non-file-buffer-names): Remove.
	(uniquify-rationalize-file-buffer-names): Don't set it up.
	Use uniquify-make-item and don't pass the now-optional depth.
	(uniquify-rationalize-conflicting-sublist): Check the new buffer
	name directly instead of relying on uniquify-non-file-buffer-names.
	(uniquify-rename-buffer): Use with-current-buffer and pass
	the `unique' arg to rename-buffer.

	* vc-mcvs.el (vc-mcvs-mode-line-string): Fix thinko.
	(vc-mcvs-rename-file): New function.
1684

Juanma Barranquero's avatar
Juanma Barranquero committed
1685 1686 1687 1688 1689 1690 1691 1692 1693 1694
2003-05-04  Emmanuel Briot  <briot@gnat.com>

	* progmodes/ada-mode.el
	* progmodes/ada-prj.el
	* progmodes/ada-stmt.el
	* progmodes/ada-xref.el (ada-xemacs): Variable removed, since it's
	better to use (featurep 'xemacs).
	Removed warnings generated with Emacs 21.3.x (mostly by adding
	needed `require' statements).

Nick Roberts's avatar
Nick Roberts committed
1695 1696 1697 1698 1699 1700 1701 1702
2003-05-04  Nick Roberts  <nick@nick.uklinux.net>

	* toolbar/gud-break.pbm, toolbar/gud-cont.pbm, toolbar/gud-display.pbm,
	toolbar/gud-down.pbm, toolbar/gud-finish.pbm, toolbar/gud-until.pbm,
	toolbar/gud-next.pbm, toolbar/gud-print.pbm, toolbar/gud-remove.pbm,
	toolbar/gud-run.pbm, toolbar/gud-step.pbm, toolbar/gud-up.pbm:
	Correct size for cleaner bitmaps.

Stefan Monnier's avatar
Stefan Monnier committed
1703