ChangeLog 722 KB
Newer Older
Luc Teirlinck's avatar
Luc Teirlinck committed
1 2 3 4 5 6
2006-01-19  Luc Teirlinck  <teirllm@auburn.edu>

	* dired.el (dired-no-confirm): Add quote.
	(dired-subdir-alist-pre-R): Add quote in
	`make-variable-buffer-local' form and remove unbalanced parenthesis.

7 8 9 10
2006-01-19  Stefan Monnier  <monnier@iro.umontreal.ca>

	* textmodes/table.el (table-mode-indicator): Typo in last change.

11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31
2006-01-19  Richard M. Stallman  <rms@gnu.org>

	* outline.el (hide-leaves): Don't call outline-end-of-heading.
	Fixes bug reported in Nov 2005.

	* isearch.el (isearch-forward): Doc fix.

	* dired.el (dired-move-to-filename-regexp): Define as alias.
	(dired-no-confirm): Use defcustom.
	(dired-subdir-alist-pre-R): Put defvar at top level.

	* battery.el (battery-linux-proc-acpi): Handle "last full capacity".

	* textmodes/bibtex.el (bibtex-strings, bibtex-reference-keys):
	Mark as risky.

	* simple.el (set-mark-command): Doc fix.
	(clone-indirect-buffer-other-window):
	Read arg like clone-indirect-buffer.
	(move-beginning-of-line): Skip invisible newlines.

32 33
2006-01-19  Masatake YAMATO  <jet@gyve.org>

34
	* progmodes/cpp.el (cpp-edit-load): Make the order of
35 36
	listed conditions in a base C code buffer and its associate
	CPP Edit buffer the same.
37

Kenichi Handa's avatar
Kenichi Handa committed
38 39
2006-01-19  Kenichi Handa  <handa@m17n.org>

40 41 42 43 44
	* mail/rmail.el (rmail-enable-mime): Docstring fixed.
	(rmail-mime-feature): Likewise.
	(rmail-require-mime-maybe): Use display-warning to show a warning
	message.

45
	* international/mule.el (auto-coding-regexp-alist-lookup): New fun.
Kenichi Handa's avatar
Kenichi Handa committed
46 47
	(find-auto-coding): Use auto-coding-regexp-alist-lookup.

48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86
2006-01-18  Stefan Monnier  <monnier@iro.umontreal.ca>

	* array.el: Move defvars out of eval-when-compile.
	(array-make-template): Replace undeclared global var with a local one.
	(array-mode): Inline initialization functions.
	(array-init-local-variables, array-init-max-row)
	(array-init-max-column, array-init-columns-per-line)
	(array-init-field-width, array-init-rows-numbered)
	(array-init-line-length, array-init-lines-per-row): Remove.

	* play/doctor.el: Move defvars out of eval-when-compile.  Use dolist.
	(doc-mode-map): Define explicitly.
	(doctor-txtype): Use mapc.

	* textmodes/table.el: Move defvars out of eval-when-compile.
	Remove harmful code meant to avoid byte-compiler warnings.
	(table-fixed-mode-indicator): Remove.  Use a more complex mode-line
	specification that checks table-fixed-width-mode directly.
	(table-recognize-region, table-recognize-cell):
	Use restore-buffer-modified-p.
	(table-fixed-width-mode): Remove code that refreshes
	table-fixed-mode-indicator.
	(*table--cell-describe-bindings, *table--cell-describe-mode):
	Avoid obsolete name print-help-return-message.
	(table--test-cell-list): Don't use replace-regexp from elisp.
	(table--point-entered-cell-function, table--point-left-cell-function):
	Don't set table-fixed-mode-indicator, use force-mode-line-update.

	* textmodes/org.el: Move defvars out of eval-when-compile.  Move code
	that was after the end of file.  Use buffer-file-name variable.
	(org-timestamp-change): Use with-current-buffer.
	(org-todo-list): Don't unnecessarily define a new buffer-local var.
	(org-agenda-file-to-end, org-agenda-file-to-front): Remove unused arg
	`file'.

	* progmodes/fortran.el: Move defvars out of eval-when-compile.
	(fortran-break-line): Remove unused var `opoint'.
	(fortran-abbrev-start): Obey help-event-list.

87 88 89 90
2006-01-18  Jesper Harder  <harder@phys.au.dk>

	* mail/smtpmail.el (smtpmail-send-it): Use insert-buffer-substring.

Masatake YAMATO's avatar
Masatake YAMATO committed
91 92 93
2006-01-18  Masatake YAMATO  <jet@gyve.org>

	* progmodes/make-mode.el (makefile-imake-mode): New mode
Luc Teirlinck's avatar
Luc Teirlinck committed
94
	derived from makefile-mode.
Masatake YAMATO's avatar
Masatake YAMATO committed
95 96
	(makefile-imake-mode-syntax-table): New syntax table
	derived from makefile-mode-syntax-table.
97
	(makefile-mode): Write about makefile-imake-mode in doc string.
Masatake YAMATO's avatar
Masatake YAMATO committed
98 99 100
	(makefile-mode-map): Bind "\C-c\C-m\C-i" to makefile-imake-mode.
	(makefile-imake-font-lock-keywords): New font lock keywords.

101
	* files.el (auto-mode-alist): Add Imakefile.
Masatake YAMATO's avatar
Masatake YAMATO committed
102

Stefan Monnier's avatar
Stefan Monnier committed
103
2006-01-17  Agustin Martin  <agustin.martin@hispalinux.es>
104 105 106 107

	* textmodes/flyspell.el (ispell-kill-ispell-hook): Add to the hook when
	loading the file rather than when turning on flyspell-mode.

Luc Teirlinck's avatar
Luc Teirlinck committed
108 109 110 111
2006-01-16  Luc Teirlinck  <teirllm@auburn.edu>

	* cus-edit.el (customize-rogue): Minor doc fix.

112 113
2006-01-17  Juri Linkov  <juri@jurta.org>

114 115 116 117 118
	* dired-aux.el (dired-diff): Use dired-dwim-target-directory
	instead of the file at the mark as default if the file at the mark
	is the same as the file at point or if dired-dwim-target-directory
	is not the same as the current directory and the mark is not active.

Juri Linkov's avatar
Juri Linkov committed
119 120 121
	* log-view.el (log-view-minor-wrap): Use the same logic to get
	revisions as `log-view-diff'.

122 123 124
	* info.el (Info-revert-find-node): Check for Info-current-file
	before preserving new-history.

Juri Linkov's avatar
Juri Linkov committed
125 126 127 128 129 130 131
	* man.el (Man-heading-regexp): Add `/'.

	* textmodes/sgml-mode.el: Add `coding: iso-2022-7bit' cookie.
	(html-mode): Set `sentence-end-base' instead of `sentence-end'.

2006-01-16  Juri Linkov  <juri@jurta.org>

132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147
	* faces.el (mode-line-faces): New defgroup.
	(mode-line-highlight): Move definition after new defgroup.
	(mode-line, mode-line-inactive, mode-line-highlight):
	Replace :group `modeline' with `mode-line-faces'.
	(mode-line-buffer-id): New face.
	(modeline-buffer-id): New face alias.
	(vertical-border): Remove :group `modeline'.

	* bindings.el (propertized-buffer-identification): Use face
	`mode-line-buffer-id' instead of `Buffer-menu-buffer'.
	(mode-line-next-buffer, mode-line-previous-buffer): New functions.
	(mode-line-buffer-identification-keymap): For mouse-1 replace
	`mode-line-unbury-buffer' with `mode-line-previous-buffer'.
	Replace `mode-line-bury-buffer' with `mode-line-next-buffer' for
	mouse-3.

148 149 150
	* buff-menu.el (buffer-menu-buffer) <defface>: Renamed from
	Buffer-menu-buffer.  Doc fix.
	(Buffer-menu-buffer): Face alias to buffer-menu-buffer.
151 152
	(list-buffers-noselect): Use `buffer-menu-buffer' face instead of
	`Buffer-menu-buffer'.
153

154 155 156 157 158 159 160 161
	* info.el (Info-mode-line-node-keymap): New defvar.
	(Info-set-mode-line): Use `stringp' to check Info-current-file.
	Propertize Info-current-node with `mode-line-buffer-id' and
	`mode-line-highlight' faces and `Info-mode-line-node-keymap'.

	* time.el (display-time-mail-face): Replace :group `faces' with
	`mode-line-faces'.

162 163
2006-01-16  Kenichi Handa  <handa@m17n.org>

164
	* international/code-pages.el: Add autoload cookies for cp125[0345678].
165 166 167 168 169 170

	* language/european.el (cp1252): New alias for windows-1252.

	* international/mule.el (autoload-coding-system): Prepare for EOL
	variants.

171 172 173 174 175 176 177 178 179 180 181 182 183
2006-01-15  Dan Nicolaescu  <dann@ics.uci.edu>

	* term.el (term-raw-map): Add mapping for insert.
	(term-send-insert): New.
	(term-mode): Make variables local here instead of doing it in
	`term-emulate-terminal'.
	(term-emulate-terminal): Delete incorrect optimization for cr+lf.
	Scroll reverse needs to take into account the scroll
	region.  Saving and restoring the cursor should save the color
	attributes too.
	(term-reset-terminal): Reset the scroll region.
	(term-handle-ansi-escape): Cursor up and down should take into
	account the scroll region.
184 185
	(term-set-scroll-region): Rename from `term-scroll-region'.
	Move to 0,0 after setting the region.
186 187 188 189 190
	(term-handle-scroll): Handle scroll up.
	(term-down): Fix off by one error.
	(term-delete-lines): Do not delete outside the scroll region.
	(term-insert-lines): Take into account the scroll region.

191 192
2006-01-15  Stefan Monnier  <monnier@iro.umontreal.ca>

193 194 195 196
	* textmodes/ispell.el (ispell-internal-change-dictionary)
	(ispell-change-dictionary): Undo most of last change of 2006-01-13.
	(start, end): Move declaration outside of eval-when-compile.

197 198 199
	* textmodes/flyspell.el (flyspell-kill-ispell-hook): New fun.
	(flyspell-mode-on): Use it.

200 201 202
	* textmodes/ispell.el (ispell-kill-ispell): Run new hook
	ispell-kill-ispell-hook.

Luc Teirlinck's avatar
Luc Teirlinck committed
203 204 205 206 207 208
2006-01-14  Luc Teirlinck  <teirllm@auburn.edu>

	* cus-edit.el (Custom-set, Custom-save, Custom-reset-current)
	(Custom-reset-saved): Do not ask for confirmation in single option
	buffers.

209 210 211 212
2006-01-13  Richard M. Stallman  <rms@gnu.org>

	* font-lock.el (lisp-font-lock-keywords-1): Minor rearrangement.

213 214 215 216 217
2006-01-13  Romain Francoise  <romain@orebokech.com>

	* add-log.el (add-change-log-entry, change-log-merge):
	Conditionally use `hard-newline'.

218 219
2006-01-13  Martin Rudalics  <rudalics@gmx.at>  (tiny change)

220 221 222
	* wid-edit.el (widget-field-end): If the overlay is no longer
	associated with a buffer, behave as if the overlay didn't exist.

223 224
	* cus-edit.el (custom-add-see-also, custom-add-parent-links):
	Make sure the links use the `custom-link' face.
225

226 227 228 229 230 231
2006-01-13  Stefan Monnier  <monnier@iro.umontreal.ca>

	* progmodes/ld-script.el (auto-mode-alist): Use \' rather than $.
	(ld-script-mode): Don't set indent-line-function since we don't
	have one.

Carsten Dominik's avatar
Carsten Dominik committed
232 233
2006-01-13  Carsten Dominik  <dominik@science.uva.nl>

Luc Teirlinck's avatar
Luc Teirlinck committed
234
	* textmodes/org.el (org-open-file): Use mailcap for selecting an
Carsten Dominik's avatar
Carsten Dominik committed
235 236 237 238
	application.
	(org-file-apps-defaults-gnu): Use mailcap as the default for
	selecting an application on a UNIX system.
	(org-agenda-show-tags): New command.
239
	(org-table-insert-hline): Keep cursor in current table line.
Carsten Dominik's avatar
Carsten Dominik committed
240 241 242 243 244
	(org-table-convert): Offset effect of modifying
	`org-table-insert-hline'.
	(org-format-agenda-item): New optional argument TAG.
	(org-compile-prefix-format): Handle %T format for the tag.
	(org-expand-wide-chars): New function.
245 246 247 248
	(org-table-insert-row, org-table-insert-hline):
	Use `org-expand-wide-chars'.
	(org-open-file): Fix bug in program launch.
	(org-get-time-of-day): Fix bug with times before 1am.
Carsten Dominik's avatar
Carsten Dominik committed
249 250
	(org-agenda-menu): Addes tags commands.

251 252 253 254 255 256 257 258 259
2006-01-13  Agustin Martin  <agustin.martin@hispalinux.es>

	* textmodes/ispell.el (ispell-init-process): Include the used
	dictionary in ispell process start message.
	(ispell-internal-change-dictionary): When flyspell-mode is active
	and dictionary is changed, make sure ispell process is restarted
	and flyspell word cache cleared out for the current buffer.
	(ispell-change-dictionary): Make sure flyspell word cache is
	cleared out in all buffers with active flyspell mode when
260 261
	dictionary is globally changed.
	Call ispell-internal-change-dictionary after dictionary change.
262

263 264
2006-01-13  Eli Zaretskii  <eliz@gnu.org>

265 266
	* emacs-lisp/bytecomp.el (batch-byte-recompile-directory): Doc fix.

267 268 269 270 271 272
	* makefile.w32-in (MH_E_SRC): Synchronize with Makefile.in.
	(pre-mh-loaddefs.el-SH, pre-mh-loaddefs.el-CMD): Update Copyright
	years.  Fix small differences wrt Makefile.in.
	(recompile): Use --eval '(batch-byte-recompile-directory 0)', like
	Makefile.in does.

273 274 275 276 277
2006-01-12  Bill Wohler  <wohler@newt.com>

	* Makefile.in (MH_E_SRC): Replace mh-index.el and mh-pick.el with
	mh-search.el.

Eli Zaretskii's avatar
Eli Zaretskii committed
278
2006-01-12  Masatake YAMATO  <jet@gyve.org>
Masatake YAMATO's avatar
Masatake YAMATO committed
279 280 281

	* progmodes/ld-script.el: Update copyright year.

282 283 284 285 286
2006-01-12  Chong Yidong  <cyd@stupidchicken.com>

	* cus-theme.el (custom-theme-add-variable, custom-theme-add-face):
	Don't add widget if setting undefined.

287 288 289 290 291
2006-01-12  John Paul Wallington  <jpw@pobox.com>

	* help-fns.el (describe-variable): Remove newlines from void
	variable output.

Nick Roberts's avatar
Nick Roberts committed
292 293 294 295 296 297 298
2006-01-13  Nick Roberts  <nickrob@snap.net.nz>

	* wdired.el (wdired-mode-map): Add help echo for
	wdired-abort-changes.

	* man.el (Man-file-name-regexp): Adjust for a list of files.

299 300 301 302 303
2006-01-12  Masatake YAMATO  <jet@gyve.org>

	* progmodes/ld-script.el (auto-mode-alist): Support
	suffix conventions used in netbsd and eCos.

Luc Teirlinck's avatar
Luc Teirlinck committed
304 305 306 307 308 309 310 311 312 313 314 315
2006-01-11  Luc Teirlinck  <teirllm@auburn.edu>

	* cus-edit.el (custom-reset-menu, custom-buffer-create-internal)
	(custom-variable-menu, custom-face-menu, custom-group-menu)
	(Custom-mode-menu): Change names of menu items.  (As discussed on
	emacs-devel.)
	(custom-face-menu): Add "Undo Edits" item.

	* startup.el (init-file-user): defcustom -> defvar.

	* tooltip.el (tooltip-mode): Doc fix.

316 317 318 319 320 321
2006-01-11  Stefan Monnier  <monnier@iro.umontreal.ca>

	* reveal.el (reveal-post-command): window-buffer signals an error on
	dead windows rather than returning nil.
	(reveal-open-new-overlays): An overlay might die while we open others.

322 323
2006-01-11  Bill Wohler  <wohler@newt.com>

324 325 326
	* cus-dep.el (generated-custom-dependencies-file): Fix typo and
	phrasing in docstring.

327
	* Makefile.in (MH_E_SRC): Rename from MH-E-SRC since the dashes
328
	can give some systems gas.  Add new file mh-buffers.el.
329

330 331 332 333 334
2006-01-06  Masatake YAMATO  <jet@gyve.org>

	* font-lock.el (cpp-font-lock-keywords): Font lock keywords for
	C preprocessor forward ported from GNU Emacs 21.2.

335 336
	* progmodes/asm-mode.el (asm-font-lock-keywords):
	Use `cpp-font-lock-keywords'.
337 338 339 340

	* progmodes/ld-script.el (ld-script-font-lock-keywords): Ditto.

	* progmodes/ld-script.el (auto-mode-alist): Use \\> instead
341
	of $ for "\\.ld[s]?".
342

343 344
2006-01-10  Stefan Monnier  <monnier@iro.umontreal.ca>

345 346 347
	* progmodes/tcl.el (tcl-indent-command): Use indent-for-tab-command.
	(tcl-indent-line): Return `noindent' if inside a string.

348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364
	* progmodes/flymake.el (flymake-split-string): Remove more than one
	empty string at beg/end of the result.
	(flymake-find-buildfile, flymake-find-possible-master-files):
	Use expand-file-name.
	(flymake-fix-file-name): Don't replace \ with / and don't remove ./
	since expand-file-name does it for us.  Use directory-file-name.
	(flymake-ler-get-full-file, flymake-ler-get-file, flymake-ler-get-line)
	(flymake-ler-get-type, flymake-ler-get-text)
	(flymake-ler-make-ler): Remove.  Replace by defstruct.  Update callers.
	(flymake-current-line-no): Remove spurious interactive spec.
	(flymake-delete-temp-directory): Remove unused var `slash-pos'.
	(flymake-check-include): Remove arg inc-path merged into inc-name.
	(flymake-check-patch-master-file-buffer): Fit in 80 columns.
	Arg regexp-list replaced by a simple regexp.
	(flymake-master-make-header-init, flymake-master-tex-init):
	Correspondingly replace regexp-list with a regexp.  Fix regexp.

365 366 367 368 369
2006-01-10  Simon Josefsson  <jas@extundo.com>

	* mail/smtpmail.el (smtpmail-try-auth-methods): Add comment
	describing AUTH PLAIN fix.

370 371 372 373 374 375 376
2006-01-10  Thien-Thi Nguyen  <ttn@gnu.org>

	* mail/emacsbug.el (report-emacs-bug-text-prompt): Delete var.
	(report-emacs-bug): Don't record initial prompt text.
	Instead, add text properties to prompting text.
	(report-emacs-bug-hook): Delete prompting text.

377 378 379 380 381
2006-01-09  Stefan Monnier  <monnier@iro.umontreal.ca>

	* progmodes/flymake.el (flymake-find-buildfile): Remove invariant arg
	`dirs'.  Adjust callers.

382 383 384 385
2006-01-09  John Paul Wallington  <jpw@gnu.org>

	* cus-edit.el (custom-comment) <defface>: Add TTY definitions.

386 387
2006-01-09  Stefan Monnier  <monnier@iro.umontreal.ca>

388 389 390 391 392 393
	* reveal.el (reveal-open-new-overlays): New extracted fun.
	(reveal-close-old-overlays): Idem.  Check overlays's liveness before
	using them.  Simplify the code.
	(reveal-post-command): Use them.  Fix up obsolete windows in
	reveal-open-spots.

394 395 396 397 398 399 400
	* progmodes/flymake.el: Use `require' rather than autoload for
	XEmacs's overlays.
	(flymake-get-common-file-prefix, flymake-build-relative-filename):
	Delete.  Use file-relative-name instead.
	(flymake-get-syntax-check-program-args, flymake-perl-init):
	Simplify the resulting code.

401 402 403
	* log-view.el (log-view-file-re, log-view-message-re): Add support
	for DaRCS output.

404 405 406 407 408 409
2006-01-09  Alex Schroeder  <alex@gnu.org>

	* mail/rmail.el (rmail-reply-regexp): Also ignore mailing list
	identifiers sometimes added in square brackets at the beginning of
	subject lines.

410 411 412 413 414 415 416
2006-01-07  Richard M. Stallman  <rms@gnu.org>

	* cus-edit.el (Custom-set, Custom-save): Doc fix.
	(Custom-reset-current, Custom-reset-saved): Change question text.
	(Custom-reset-standard): Likewise.
	(custom-variable-reset-saved): Doc fix.

Eli Zaretskii's avatar
Eli Zaretskii committed
417 418 419 420
2006-01-07  Eli Zaretskii  <eliz@gnu.org>

	* startup.el (init-file-user): Doc fix.

421 422
2006-01-07  Alex Schroeder  <alex@gnu.org>

423 424 425 426
	* mail/rmail.el (rmail-current-subject): New function.
	(rmail-current-subject-regexp): New function.
	(rmail-next-same-subject): Use it.

427 428
	* mail/rmailsum.el (rmail-summary-by-topic):
	Use rmail-current-subject and rmail-current-subject-regexp.
429 430
	(rmail-summary-next-same-subject): Ditto.

431 432 433 434
	* net/rcirc.el (rcirc-send-input): No longer check whether the
	process is open, since not all commands need an open process.
	(rcirc-send-string): Check whether the process is open before
	sending anything.
435 436 437 438 439 440 441 442
	(rcirc-ignore-list): New option.
	(rcirc-ignore-list-automatic): New variable.
	(rcirc-print): Take rcirc-ignore-list into account.
	(rcirc-cmd-ignore): New command.
	(rcirc-ignore-update-automatic): New function.
	(rcirc-handler-PART, rcirc-handler-QUIT): Use it to maintain the
	list if ignored nicks.
	(rcirc-handler-NICK): Ditto, and also ignore the new nick.
443

444 445 446 447 448
2006-01-06  David Reitter  <david.reitter@gmail.com>

	* mail/emacsbug.el (report-emacs-bug): Let explanations correctly
	reflect the address to which the report will be sent.

Eli Zaretskii's avatar
Eli Zaretskii committed
449 450 451 452 453
2006-01-06  Eli Zaretskii  <eliz@gnu.org>

	* progmodes/ld-script.el (auto-mode-alist): Recognize linker
	scripts whose file-name extensions are "\.x[bdsru]?[cn]?$".

454 455 456 457 458 459 460 461 462 463 464
2006-01-01  Michael Ernst  <mernst@alum.mit.edu>  (tiny changes)

	* textmodes/tildify.el: Fix typos (misspellings) in the commentary.

	* emacs-lisp/find-func.el (find-definition-noselect): Fix typo in
	the doc string: "functoin" => "function".
	ldefs-boot.el: Likewise.

	* textmodes/bibtex.el (bibtex-validate-globally): Fix typo in a
	message text: "Duplicat" => "Duplicate".

465 466 467 468 469
2006-01-06  Sven Joachim  <svenjoac@gmx.de>  (tiny change)

	* files.el (basic-save-buffer-2): If backing-up failed, reset
	buffer-backed-up to nil.

Nick Roberts's avatar
Nick Roberts committed
470 471 472 473 474 475
2006-01-06  Nick Roberts  <nickrob@snap.net.nz>

	* progmodes/gud.el (gdb-script-skip-to-head)
	(gdb-script-calculate-indentation): Indent for breakpoint command
	lists also.

476 477 478 479 480
2006-01-05  Bill Wohler  <wohler@newt.com>

	* Makefile.in (compile-always): Add mh-autoloads dependency.
	(bootstrap): Remove mh-autoloads dependency, as compile dependency
	provides it.
481 482
	(updates): Remove mh-autoloads dependency, since it probably has
	already run recently (via recompile).
483

484 485
2006-01-05  Stefan Monnier  <monnier@iro.umontreal.ca>

486 487 488 489
	* textmodes/flyspell.el (flyspell-accept-buffer-local-defs): Add an
	argument `force' to disable the flyspell-last-buffer optimization.
	(flyspell-mode-on): Use it.

490 491 492 493 494 495 496 497 498 499 500 501 502
	* progmodes/flymake.el (flymake-get-cleanup-function): Default to
	flymake-simple-cleanup.
	(flymake-allowed-file-name-masks): Use this new default.
	All the functions are now called in the right buffer rather than
	passing the buffer as argument.
	(flymake-process-sentinel): Switch to buffer before calling cleanup.
	(flymake-parse-err-lines): Remove redundant buffer arg.
	(flymake-get-program-dir): Comment out unused function.
	(flymake-start-syntax-check, flymake-start-syntax-check-process):
	Remove redundant buffer argument.
	(flymake-get-real-file-name, flymake-simple-java-cleanup)
	(flymake-simple-cleanup, flymake-master-cleanup): Remove buffer arg.

Richard M. Stallman's avatar
Richard M. Stallman committed
503 504
2006-01-05  Richard M. Stallman  <rms@gnu.org>

505 506 507
	* info.el (Info-find-node): Don't record previous node if have none.
	(info): Go to directory only if history is empty.

Richard M. Stallman's avatar
Richard M. Stallman committed
508 509
	* simple.el (mark): Doc fix.

YAMAMOTO Mitsuharu's avatar
YAMAMOTO Mitsuharu committed
510 511 512 513 514 515 516 517
2006-01-05  YAMAMOTO Mitsuharu  <mituharu@math.s.chiba-u.ac.jp>

	* term/mac-win.el (mac-ae-parameter): Don't coerce data if it is
	already of desired type.
	(mac-ae-list): Coerce parameter to "list" type.
	(mac-dispatch-apple-event): Replace cadr part of event with a
	dummy position so that event-start returns it.

Carsten Dominik's avatar
Carsten Dominik committed
518 519
2006-01-05  Carsten Dominik  <dominik@science.uva.nl>

Luc Teirlinck's avatar
Luc Teirlinck committed
520
	* textmodes/org.el (org-end-of-subtree): New function.
521 522
	(org-cycle, org-subtree-end-visible-p, org-scan-tags):
	Use `org-end-of-subtree'.
Carsten Dominik's avatar
Carsten Dominik committed
523 524 525 526 527 528 529 530
	(org-agenda, org-agenda-convert-date): Protect calls to
	`fit-window-to-buffer'.
	(org-tags-view): Force matching of sublevels when doing a
	todo-only search.  Define the correct redo command, including the
	arguments.
	(org-agenda-redo): Display message.
	(org-check-for-org-mode): New function.
	(org-agenda-type): New variable.
531 532
	(org-timeline, org-agenda-list, org-todo-list, org-tags-view):
	Set `org-agenda-type'.
Carsten Dominik's avatar
Carsten Dominik committed
533 534 535 536 537 538 539 540
	(org-agenda-check-type): New function.
	(org-agenda-goto-today, org-agenda-later, org-agenda-earlier)
	(org-agenda-week-view, org-agenda-day-view)
	(org-agenda-next-date-line, org-agenda-previous-date-line)
	(org-agenda-log-mode, org-agenda-toggle-diary)
	(org-agenda-toggle-time-grid, org-agenda-date-later)
	(org-agenda-date-prompt, org-agenda-diary-entry)
	(org-agenda-execute-calendar-command, org-agenda-goto-calendar)
541 542
	(org-agenda-convert-date, org-agenda-menu):
	Use `org-agenda-check-type'.
Carsten Dominik's avatar
Carsten Dominik committed
543
	(org-make-overlay, org-delete-overlay)
544 545
	(org-detatch-overlay, org-move-overlay, org-overlay-put):
	New compatibility functions.
Carsten Dominik's avatar
Carsten Dominik committed
546 547
	(org-calendar-select-mouse): New command.

548 549
2006-01-04  Chong Yidong  <cyd@stupidchicken.com>

550
	* cus-edit.el (Custom-reset-current, Custom-reset-saved)
551 552
	(Custom-reset-standard): Fix y-or-n-p messages.
	(custom-link): New face for links.
553
	(custom-buffer-create-internal, custom-manual): Use it.
554
	(custom-face-save): Push to theme-face before setting face spec.
555 556 557 558 559 560

	* wid-edit.el (widget-default-mouse-face-get): New function.
	(widget-specify-button): Handle mouse-face like button-face.

	* custom.el (load-theme): Clear old theme settings if reloading.

Luc Teirlinck's avatar
Luc Teirlinck committed
561 562
2006-01-03  Luc Teirlinck  <teirllm@auburn.edu>

Luc Teirlinck's avatar
Luc Teirlinck committed
563
	* cus-edit.el (custom-buffer-create-internal): Move whole buffer
Luc Teirlinck's avatar
Luc Teirlinck committed
564 565 566
	"Erase Customization" button back to same position it occupies in
	the individual State menus.

Kim F. Storm's avatar
Kim F. Storm committed
567 568 569 570 571 572 573 574 575 576
2006-01-04  Kim F. Storm  <storm@cua.dk>

	* wid-edit.el (key-sequence): Rework widget to read key binding
	using `kbd' syntax.  Use C-q to insert literal key, event, or code.
	(widget-key-sequence-default-value): Default value for empty sequence.
	(widget-key-sequence-map): New map for reading key binding.  Bind C-q.
	(widget-key-sequence-read-event): New command for C-q.
	(widget-key-sequence-validate, widget-key-sequence-value-to-internal)
	(widget-key-sequence-value-to-external): New functions.

577 578
2006-01-03  Stefan Monnier  <monnier@iro.umontreal.ca>

579 580 581 582 583 584 585 586 587 588 589 590 591 592 593 594 595 596
	* progmodes/flymake.el (flymake-create-temp-with-folder-structure):
	Use expand-file-name.
	(flymake-delete-temp-directory): Use expand-file-name,
	file-name-directory, and directory-file-name.
	(flymake-strrchr): Delete.
	(flymake-start-syntax-check): Don't pass the redundant buffer argument
	to the init-f function.
	(flymake-save-buffer-in-file, flymake-init-create-temp-buffer-copy)
	(flymake-init-find-buildfile-dir)
	(flymake-init-create-temp-source-and-master-buffer-copy)
	(flymake-simple-make-init-impl, flymake-simple-make-init)
	(flymake-master-make-init, flymake-master-make-header-init)
	(flymake-simple-make-java-init, flymake-simple-ant-java-init)
	(flymake-perl-init, flymake-simple-tex-init, flymake-master-tex-init)
	(flymake-xml-init): Remove corresponding redundant buffer argument.
	(flymake-allowed-file-name-masks): Remove last elems that are equal to
	the default anyway.  Clean up regexps.

597 598 599 600 601 602 603
	* progmodes/flymake.el (flymake-temp-source-file-name)
	(flymake-master-file-name, flymake-temp-master-file-name)
	(flymake-base-dir): New buffer-local vars.
	(flymake-buffer-data, flymake-get-buffer-value)
	(flymake-set-buffer-value): Replace those hash-tables by the new
	buffer-local vars.  Update callers.

604 605 606 607 608 609 610 611 612 613 614 615 616 617 618 619
	* progmodes/flymake.el (flymake-check-start-time)
	(flymake-check-was-interrupted, flymake-err-info, flymake-is-running)
	(flymake-last-change-time, flymake-new-err-info, flymake-timer):
	Move definition, so we can remove redundant earlier declaration.
	(flymake-replace-regexp-in-string, flymake-split-string)
	(flymake-get-temp-dir): Use defalias.
	(flymake-popup-menu): Remove `pos' argument.  Use posn-at-point.
	(flymake-xemacs-window-edges): Remove unused function.
	(flymake-get-point-pixel-pos): Move.
	(flymake-pid-to-names, flymake-reg-names)
	(flymake-get-source-buffer-name, flymake-unreg-names): Remove.
	Replace by a simple list flymake-processes and by process-buffer.
	Update callers.  Other than simplify the code, it uses buffers rather
	than buffer-names so it doesn't get confused by uniquify.
	(flymake-buffer-data): The global value should just be nil.

620 621 622
	* emacs-lisp/bytecomp.el (byte-compile-file-form-defalias):
	Optimize the body of a defalias like any other code.

623 624 625 626 627 628
	* font-lock.el (font-lock-fontify-buffer, font-lock-fontify-region):
	Make sure we've setup font-lock's vars.  It may influence which
	function we then call.
	(font-lock-default-fontify-buffer): Don't bother calling set-defaults
	here since it's too late anyway.

629 630 631 632 633
2006-01-03  Romain Francoise  <romain@orebokech.com>

	* startup.el (fancy-splash-tail, normal-splash-screen):
	Update copyright year.

J.D. Smith's avatar
J.D. Smith committed
634 635
2006-01-02  J.D. Smith  <jdsmith@as.arizona.edu>

636
	* mouse.el (mouse-drag-track): Rename, from
J.D. Smith's avatar
J.D. Smith committed
637
	`mouse-drag-region-1'.  Includes optional argument required to
638 639
	enable post-drag event processing (e.g. delete region keys).
	Can be used without this argument to track a mouse region and operate
J.D. Smith's avatar
J.D. Smith committed
640 641 642
	on it as soon as the drag completes.
	(mouse-drag-region): Use `mouse-drag-track'.

643 644
2006-01-02  Chong Yidong  <cyd@stupidchicken.com>

645 646 647
	* cus-edit.el (custom-guess-name-alist, custom-guess-doc-alist):
	Move to `custom-buffer' group.

648 649 650 651 652 653 654 655 656 657
	* cus-theme.el: Rewrite the Custom New Theme Mode interface.
	(custom-new-theme-mode-map, custom-theme-insert-variable-marker)
	(custom-theme-insert-face-marker, custom-theme-variable-menu)
	(custom-theme-face-menu): New variables.
	(custom-theme-add-variable, custom-theme-variable-action)
	(custom-variable-reset-theme, custom-theme-delete-variable)
	(custom-face-reset-theme, custom-theme-face-action)
	(custom-theme-delete-face, custom-theme-merge-theme)
	(custom-theme-add-face, custom-theme-visit-theme): New functions.

658 659 660 661 662 663 664 665 666 667 668 669 670 671 672 673 674 675 676 677 678 679 680 681
2006-01-01  Chong Yidong  <cyd@stupidchicken.com>

	* custom.el: Move Custom Themes commentary to start of theme code.
	(custom-known-themes): Rename `standard' theme to `changed'.
	(custom-push-theme): Caller no longer specifies what theme to use
	when doing `reset'---the setting is simply removed from the theme.
	Delete MODE from `theme-value' and `theme-settings' properties.
	(custom-declare-theme): Ignore &rest args since we don't use them.

	(custom-loaded-themes): Delete variable.
	(custom-theme-load-themes, custom-theme-loaded-p)
	(custom-theme-value): Delete functions.

	(custom-declare-theme): Signal error on invalid theme names.
	(provide-theme): custom-loaded-themes was deleted.
	(load-theme): Load the file unconditionally.
	(enable-theme): Call `load-theme' if theme is undefined.
	(custom-enabled-themes): Only update value for successful loads.
	(disable-theme): Complete from enabled themes when interactive.
	(custom-variable-theme-value): Calculate theme value directly.

	(custom-theme-reset-variables, custom-reset-variables): Mark as
	XEmacs compatibility functions.  We don't actually use these.

682 683
	* cus-edit.el (custom-variable-state-set):
	Use custom-variable-theme-value instead of custom-theme-value.
684 685 686 687 688 689 690 691 692 693
	(custom-face-state-set): Rename `standard' theme to `changed'.
	(custom-save-variables, custom-save-faces): Delete unneeded
	references to custom-reset-variables.
	(custom-save-resets): Delete function.
	(custom-save-variables, custom-save-faces): MODE argument deleted.
	(custom-save-variables, custom-save-faces): Ignore theme values.

	* cus-face.el (custom-theme-reset-faces): Mark as XEmacs
	compatibility function.

694 695
2006-01-01  Richard M. Stallman  <rms@gnu.org>

696 697
	* cus-edit.el (Custom-set, Custom-save): Ask for confirmation.
	(Custom-reset-current, Custom-reset-saved): Likewise.
Richard M. Stallman's avatar
Richard M. Stallman committed
698
	(Custom-reset-standard): Show message if aborted.
699 700
	(custom-mode): Doc fix, describing those commands.

701 702 703
	* mouse.el (mouse-drag-region-1): When following link via mouse-2,
	put on event-kind property.

704 705
2005-12-31  Chong Yidong  <cyd@stupidchicken.com>

706 707 708 709 710 711
	* custom.el (provide-theme): Ban `user' theme name.
	(custom-enabling-themes): New variable.
	(enable-theme): Don't enable user if custom-enabling-themes is t.
	(custom-enabled-themes): Make it a defcustom.
	(custom-theme-recalc-face): No-op if face is undefined.

712 713 714 715 716 717
	* cus-edit.el (custom-button-mouse): New variable.
	(custom-button-mouse): New face.
	(custom-raised-buttons, custom-mode): Use it.

	* cus-theme.el (custom-new-theme-mode): Use custom-button-mouse.

Eli Zaretskii's avatar
Eli Zaretskii committed
718 719 720 721 722
2005-12-31  Eli Zaretskii  <eliz@gnu.org>

	* progmodes/gud.el (gud-display-line): Support hl-line in the
	source buffer.

723 724 725 726 727
2005-12-31  Lennart Borgman  <lennart.borgman.073@student.lu.se>  (tiny change)

	* mouse.el (mouse-drag-window-above): Verify that the found window
	overlaps with the given window in the horizontal dimension.

Eli Zaretskii's avatar
Eli Zaretskii committed
728 729 730 731 732 733
2005-12-31  Eli Zaretskii  <eliz@gnu.org>

	* Makefile.in (cvs-update): New target.

	* makefile.w32-in (cvs-update): Ditto.

734 735 736
2005-12-30  Chong Yidong  <cyd@stupidchicken.com>

	* cus-theme.el (custom-new-theme-mode): Use cus-edit faces.
737
	(custom-new-theme-mode-map): New variable.
738

739 740
2005-12-30  Richard M. Stallman  <rms@gnu.org>

741 742
	* custom.el (custom-load-themes): Function deleted.

743
	* cus-edit.el (custom-save-loaded-themes): Function deleted.
744 745
	(custom-save-variables): Don't delete or add custom-load-themes call.

746 747
2005-12-30  Stefan Monnier  <monnier@iro.umontreal.ca>

Stefan Monnier's avatar
Stefan Monnier committed
748 749
	* cus-start.el: Add `visible-cursor'.

750 751 752 753 754 755 756 757 758 759 760 761 762 763 764 765
	* progmodes/flymake.el (flymake-copy-buffer-to-temp-buffer): Simplify.
	(flymake-parse-output-and-residual): Remove `source-buffer' argument.
	(flymake-process-filter): Switch to buffer before calling it instead.
	(flymake-post-syntax-check, flymake-highlight-err-lines)
	(flymake-delete-own-overlays, flymake-parse-err-lines)
	(flymake-start-syntax-check, flymake-start-syntax-check-process)
	(flymake-count-lines, flymake-parse-residual):
	Remove constant buffer argument.
	(flymake-start-syntax-check-for-current-buffer): Remove.
	Update callers to use flymake-start-syntax-check instead.
	(flymake-display-err-menu-for-current-line):
	Remove unused var `mouse-pos'.
	(flymake-restore-formatting): Comment out unused function.
	(flymake-report-status, flymake-report-fatal-status): Remove buffer
	argument, use current-buffer instead.  Update callers.

766 767 768 769 770 771 772 773 774 775 776
2005-12-30  Roland Winkler  <Roland.Winkler@physik.uni-erlangen.de>

	* textmodes/bibtex.el (bibtex-mode): Make completion-ignore-case
	buffer-local because choose-completion-delete-max-match requires
	that we set completion-ignore-case (i.e., binding via let is not
	sufficient).
	(bibtex-complete): Always set completion-ignore-case and
	choose-completion-string-functions. The latter is needed because
	choose-completion-string-functions keeps its value if we quit the
	*Completions* buffer without requesting a completion.

Andreas Schwab's avatar
Andreas Schwab committed
777 778
2005-12-30  Andreas Schwab  <schwab@suse.de>

779
	* progmodes/cc-defs.el: Ignore errors from font-lock-compile-keywords.
Andreas Schwab's avatar
Andreas Schwab committed
780

Eli Zaretskii's avatar
Eli Zaretskii committed
781 782 783 784
2005-12-30  Eli Zaretskii  <eliz@gnu.org>

	* jit-lock.el (jit-lock-chunk-size): Doc fix.

Juri Linkov's avatar
Juri Linkov committed
785 786 787 788 789 790 791 792 793 794 795 796 797 798 799 800 801 802
2005-12-30  Juri Linkov  <juri@jurta.org>

	* locate.el (locate-fcodes-file, locate-header-face)
	* progmodes/delphi.el (delphi-other-face)
	* progmodes/glasses.el (glasses-face): Add tag "None" to const nil.

	* paren.el (show-paren-match, show-paren-mismatch): Use existing
	group `paren-showing-faces'.

	* net/goto-addr.el (goto-address-highlight-keymap): Fix docstring.
	(goto-address): Fix docstring.

	* net/webjump.el (webjump-sample-sites): Update URLs.

	* textmodes/fill.el (fill-single-word-nobreak-p): Use `sentence-end'.

	* subr.el (cancel-change-group): Add listp around pending-undo-list.

803 804 805 806 807
2005-12-29  Stefan Monnier  <monnier@iro.umontreal.ca>

	* font-lock.el (font-lock-compile-keywords): Signal an error when
	font-lock-set-defaults hasn't been called.

Luc Teirlinck's avatar
Luc Teirlinck committed
808 809 810 811
2005-12-29  Luc Teirlinck  <teirllm@auburn.edu>

	* subr.el (noreturn, 1value): Doc fixes.

812 813 814 815 816
2005-12-29  Roland Winkler  <Roland.Winkler@physik.uni-erlangen.de>

	* textmodes/bibtex.el (bibtex-text-in-field-bounds): Handle case
	that assoc-string returns nil.

817 818 819 820 821
2005-12-29  Roland Winkler  <Roland.Winkler@physik.uni-erlangen.de>

	* textmodes/bibtex.el (bibtex-entry-type-whitespace)
	(bibtex-entry-type-str, bibtex-empty-field-re)
	(bibtex-search-backward-string, bibtex-preamble-prefix)
822
	(bibtex-search-entry, bibtex-enclosing-entry-maybe-empty-head): Remove.
823 824
	(bibtex-any-valid-entry-type): New variable.
	(bibtex-parse-field-name): Simplify.
825
	(bibtex-parse-string, bibtex-search-forward-string): New arg empty-key.
826
	(bibtex-preamble-prefix): Include left delimiter.
827 828
	(bibtex-search-forward-field, bibtex-search-backward-field):
	Allow unbounded search past entry boundaries (required by bibtex-pop).
829 830 831 832 833 834 835 836 837 838 839 840 841 842
	(bibtex-text-in-field-bounds): Use push.
	(bibtex-text-in-field): Do not use bibtex-narrow-to-entry.
	(bibtex-parse-preamble, bibtex-valid-entry)
	(bibtex-beginning-first-field): New functions.
	(bibtex-skip-to-valid-entry): Use bibtex-valid-entry.  Fix regexp.
	(bibtex-map-entries): Fix docstring.
	(bibtex-flash-head): New arg prompt. Simplify.
	(bibtex-enclosing-field): Include code of bibtex-inside-field.
	(bibtex-insert-kill): Simplify.  Always insert text past the
	current field or entry.
	(bibtex-format-entry): Use bibtex-parse-field.
	(bibtex-pop): Use bibtex-beginning-of-entry and
	bibtex-end-of-entry to initiate the search.  Insert empty field if
	we found ourselves.
843 844
	(bibtex-print-help-message): New args field and comma.
	Handle entry keys.
845 846 847 848 849 850 851 852 853 854 855 856 857 858
	(bibtex-make-field): Use bibtex-beginning-of-entry.
	(bibtex-end-of-entry): Use bibtex-valid-entry.  Recognize any
	invalid entry.
	(bibtex-validate): Use bibtex-valid-entry and bibtex-parse-string.
	Handle preambles.  Simplify code for thorough test.
	(bibtex-next-field, bibtex-find-text, bibtex-find-text-internal):
	New arg comma.  Handle entry heads.
	(bibtex-remove-OPT-or-ALT, bibtex-remove-delimiters)
	(bibtex-kill-field, bibtex-copy-field-as-kil, bibtex-empty-field):
	New arg comma.
	(bibtex-kill-entry): Use bibtex-any-entry-maybe-empty-head.
	(bibtex-fill-field): Simplify.
	(bibtex-fill-entry): Use bibtex-beginning-first-field and
	bibtex-parse-field.
859
	(bibtex-convert-alien): Do not wait before calling bibtex-validate.
860 861
	(bibtex-complete): Use bibtex-parse-preamble.

Nick Roberts's avatar
Nick Roberts committed
862 863 864 865 866 867 868 869 870 871 872
2005-12-29  Nick Roberts  <nickrob@snap.net.nz>

	* progmodes/gdb-ui.el (gdb-tooltip-print, gdb-tooltip-print-1):
	Display name of expression instead of convenience variable.
	(gdb-post-prompt): Only call gdb-get-changed-registers if needed.

	* progmodes/gud.el (gud-tooltip-dereference): Rename from
	toggle-gud-tooltip-dereference.
	(gud-tooltip-print-command): Move concatenation of "*" to expr to...
	(gud-tooltip-tips): ...here when dereferencing..

873 874
2005-12-28  Bill Wohler  <wohler@newt.com>

875
	* simple.el (mh-e-user-agent): Move to mh-e/mh-comp.el and autoload.
876

877 878
2005-12-28  Stefan Monnier  <monnier@iro.umontreal.ca>

879 880 881 882 883 884 885 886 887 888
	* vc.el (vc-annotate-display): Replace optional arg `color-map' with
	compulsory arg `ratio'.  Inline body of vc-annotate-time-span.
	(vc-annotate-display-autoscale): Adjust call.
	(vc-annotate-display-default): Adjust call.  Make arg compulsory.
	Fix interactive spec.
	(vc-annotate-time-span): Remove.
	(vc-annotate-oldest-in-map): Rename from vc-annotate-car-last-cons.
	(vc-annotate-mode-menu, vc-annotate-display-autoscale)
	(vc-annotate-display-select): Use new name.

889 890 891 892 893 894 895 896
	* vc.el (vc-annotate-mode-map): Remove obsolete binding.
	(vc-annotate-mode-menu): Remove left-over redundant declaration.
	Correct the construction of span entries.  Simplify.
	(vc-annotate-display-select): Fix the nil case.
	(vc-annotate): Remove obsolete (and now broken) code.
	(vc-annotate-extract-revision-at-line): Remove obsolete code.
	(vc-annotate-time-span): Remove unused arg `quantize'.  Simplify.

Luc Teirlinck's avatar
Luc Teirlinck committed
897 898 899 900 901 902 903 904 905
2005-12-28  Luc Teirlinck  <teirllm@auburn.edu>

	* subr.el (lazy-completion-table): Correct typo in docstring.

	* startup.el (command-line): Use `custom-reevaluate-setting' for
	`send-mail-function'.

	* mail/sendmail.el (send-mail-function): Autoload the standard-value.

906 907
2005-12-05  Ralf Angeli  <angeli@iwi.uni-sb.de>

908 909
	* mail/smtpmail.el (smtpmail-try-auth-methods):
	Send credentials together with "AUTH PLAIN" command.
910

911 912 913 914 915 916 917
2005-12-27  Richard M. Stallman  <rms@gnu.org>

	* mouse.el (mouse-drag-region-1): When remapping mouse-1 to
	mouse-2, go back to previously selected window, so it's selected
	when mouse-2 command runs.

2005-12-27  Juri Linkov  <juri@jurta.org>
Juri Linkov's avatar
Juri Linkov committed
918 919 920 921 922 923 924 925 926 927 928 929 930

	* descr-text.el (describe-text-sexp): Use square brackets for
	button [Show] to distinguish it from the property value `show'.
	(describe-property-list): Use `insert-text-button' with
	`help-face' type instead of putting face in quotes, because button
	is not created automatically for a list of faces.
	(describe-text-properties-1): Put button-type value in quotes to
	distinguish from plain text "button".
	(describe-char): Display code point values in hex.  Don't use
	`symbol-name' for `current-input-method' because it is a string.
	Use `insert-text-button' with `help-face' type instead of putting
	hardcoded face in quotes, because button is not created automatically.

931 932
2005-12-27  Richard M. Stallman  <rms@gnu.org>

933 934
	* progmodes/glasses.el (glasses-face): More specific custom type.

935 936
	* files.el (set-visited-file-name): Doc fix.

937 938 939 940 941 942 943 944 945
	* textmodes/flyspell.el (flyspell-external-point-words):
	Use local var buffer-scan-pos to advance scan for next misspelling.
	Advance it only after we find the misspelling.

2005-12-27  Agustin Martin  <agustin.martin@hispalinux.es>

	* textmodes/flyspell.el (flyspell-external-point-words):
	New criteria for finding the misspelling in the buffer.

946
2005-12-27  Nick Roberts  <nickrob@snap.net.nz>
Juri Linkov's avatar
Juri Linkov committed
947 948 949 950 951 952 953

	* help-mode.el (help-insert-string): Set help-xref-stack-item
	rather than call help-setup-xref.

	* descr-text.el (describe-char): Revert previous changes for
	optional buffer argument.

954
2005-12-27  Juri Linkov  <juri@jurta.org>
Nick Roberts's avatar
Nick Roberts committed
955 956

	* help-mode.el (help-insert-string): New function.  Save buffer
957
	contents in cases where it is impossible to recompute the old contents.
Nick Roberts's avatar
Nick Roberts committed
958 959

	* descr-text.el (describe-char): Set help-xref-stack-item
Juri Linkov's avatar
Juri Linkov committed
960
	explicitly after buffer has been generated.
Nick Roberts's avatar
Nick Roberts committed
961

962 963 964 965
2005-12-27  Jan Dj,Ad(Brv  <jan.h.d@swipnet.se>

	* cus-start.el (all): Add x-gtk-show-hidden-files.

966 967
2005-12-26  Richard M. Stallman  <rms@gnu.org>

968 969 970
	* replace.el (perform-replace): Calculate match-again
	before skipping read-only matches.

971 972 973 974 975 976 977
	* paren.el (paren-showing-faces): New group.
	(show-paren-match, show-paren-mismatch): Move to that group.

	* button.el (button): Put into group `basic-faces'.

	* progmodes/make-mode.el: Remove faces from group `faces'.

978 979 980
	* apropos.el (apropos, apropos-value): Doc fix.
	(apropos-documentation): Doc fix.

981 982 983 984 985 986 987
2005-12-26  Stefan Monnier  <monnier@iro.umontreal.ca>

	* subr.el (lazy-completion-table): Remove argument `args'.

	* textmodes/bibtex.el (bibtex-strings, bibtex-reference-keys):
	Don't use the `args' argument of lazy-completion-table.

988
2005-12-26  Nick Roberts  <nickrob@snap.net.nz>
Nick Roberts's avatar
Nick Roberts committed
989 990 991 992 993

	* descr-text.el (describe-char): Add optional argument for buffer.
	Set buffer appropriately.  Call help-setup-xref.
	Suggested by Stefan Monnier.

994
2005-12-26  Juri Linkov  <juri@jurta.org>
Nick Roberts's avatar
Nick Roberts committed
995

Juri Linkov's avatar
Juri Linkov committed
996 997 998
	* descr-text.el: Require `help-fns' at runtime.  Don't require
	`button' for byte compilation.
	(describe-text-widget): Add `help-echo' for first button.
Richard M. Stallman's avatar
Richard M. Stallman committed
999 1000
	Use `help-info' for second.
	(describe-property-list): Use `help-argument-name' instead of `italic'.
Juri Linkov's avatar
Juri Linkov committed
1001 1002 1003 1004
	(describe-text-category): Add prompt to interactive spec.
	Call `help-setup-xref'.
	(describe-char): Use `help-character-set'.  Add `help-echo' for
	code point.  Use `help-input-method'.  Remove superfluous insert.
Nick Roberts's avatar
Nick Roberts committed
1005

1006 1007
2005-12-25  Richard M. Stallman  <rms@gnu.org>

1008 1009 1010
	* progmodes/cc-defs.el (c-emacs-features): Do parse-partial-sexp
	at point, in case of narrowing.

1011 1012 1013 1014
	* progmodes/delphi.el (delphi-other-face): Allow nil in type.

	* locate.el (locate-header-face): Allow nil in type.

1015 1016
	* progmodes/cpp.el (cpp-face-none-list): Use cpp-face instead of face.

1017 1018 1019 1020 1021
2005-12-25  Romain Francoise  <romain@orebokech.com>

	* battery.el (battery-linux-proc-acpi): Also try
	`/proc/acpi/thermal_zone/THM0/temperature'.

1022 1023 1024 1025
2005-12-24  Chong Yidong  <cyd@stupidchicken.com>

	* custom.el (custom-push-theme): Fix docstring.

1026 1027
	* cus-edit.el (custom-variable-set, custom-variable-save)
	(custom-variable-save): Custom-quote widget values.
1028 1029
	(customize-save-variable): Fix custom-push-theme call.

1030 1031 1032 1033
2005-12-24  Eli Zaretskii  <eliz@gnu.org>

	* w32-fns.el (w32-batch-update-autoloads): New function.

1034 1035
	* makefile.w32-in (autoloads, $(lisp)/mh-e/mh-loaddefs.el):
	Use w32-batch-update-autoloads, and don't setq generated-autoload-file
1036 1037
	from the command line.

1038 1039 1040 1041 1042 1043 1044 1045 1046 1047
2005-12-23  Chong Yidong  <cyd@stupidchicken.com>

	* custom.el (custom-push-theme): Clarify docstring.  VALUE nil for
	reset means to remove setting from theme entirely.  Don't keep
	expanding theme-settings list; delete old entries if necessary.

	* cus-edit.el (custom-buffer-create-internal): Move "Erase
	customization" button one line up.
	(custom-themed): New face.
	(custom-magic-alist): New value, THEMED, for theme settings.
1048 1049
	(custom-variable-state-set, custom-face-state-set):
	Check theme-value instead of saved-value.
1050
	(custom-variable-reset-standard, custom-face-reset-standard):
1051
	Remove theme setting entirely.  Recalculate new values.
1052 1053 1054 1055
	(custom-variable-set, custom-variable-set)
	(custom-variable-reset-saved, custom-variable-reset-backup)
	(custom-face-set, custom-face-reset-saved): Update `user' theme.
	(custom-variable-save): Fix typos.
1056

1057 1058 1059 1060 1061 1062 1063 1064 1065 1066 1067 1068 1069 1070 1071 1072 1073 1074 1075 1076 1077 1078 1079 1080 1081 1082 1083 1084 1085 1086 1087 1088
2005-12-23  Juri Linkov  <juri@jurta.org>

	* emacs-lisp/edebug.el (edebug-all-defs, edebug-all-forms):
	Add autoload cookies.
	(edebug-outside-d-c-i-n-s-w): New variable.
	(edebug-display, edebug-outside-excursion): Use it to save the
	original value of default-cursor-in-non-selected-windows.
	Set default-cursor-in-non-selected-windows to t while Edebug
	is active.
	(edebug-mode, edebug-eval-mode): Doc fix.

	* mouse.el (mouse-choose-completion): Replace `buffer-substring'
	with `buffer-substring-no-properties' to remove common substring
	highlighting.

	* info.el (info-other-window, info): Rename function argument
	`file' to `file-or-node'.
	(Info-complete-menu-item): Use local variable `complete-nodes' to
	keep the global value of `Info-complete-nodes' unchanged for
	subsequent completions.
	(info-tool-bar-map): Put `Info-index' icon just before `Info-search'.

	* simple.el (get-next-valid-buffer, last-buffer)
	(next-error-buffer-p, next-error-find-buffer)
	(minibuffer-history-sexp-flag): Doc fix.

	* savehist.el (savehist-mode-hook): Add `:group'.

	* log-view.el: Call autoload for vc-find-version.
	(log-view-current-file): Adjust subgroup numbers.
	(log-view-current-tag): Add `length'.

1089 1090 1091 1092
2005-12-23  Richard M. Stallman  <rms@gnu.org>

	* vc.el (vc-annotate-car-last-cons): Defn moved up.

Juri Linkov's avatar
Juri Linkov committed
1093 1094 1095 1096 1097 1098 1099 1100 1101 1102 1103 1104
2005-12-23  Juri Linkov  <juri@jurta.org>

	* hi-lock.el (hi-lock-archaic-interface-message-used)
	(hi-lock-archaic-interface-deduce, hi-lock-mode): Doc fix.
	(hi-lock-mode): Display "Hi" in the mode line only when
	hi-lock-interactive-patterns or hi-lock-file-patterns is non-nil.
	(hi-lock-write-interactive-patterns):
	Use hi-lock-file-patterns-prefix instead of hard-coded "Hi-lock".
	(hi-lock-set-pattern, hi-lock-set-file-patterns)
	(hi-lock-font-lock-hook): Set 3rd arg `how' of
	font-lock-add-keywords to t.

1105 1106 1107 1108 1109 1110 1111 1112 1113 1114 1115 1116
2005-12-23  David Koppelman  <koppel@ece.lsu.edu>

	* hi-lock.el (hi-lock-highlight-range): New variable.
	(hi-lock-mode, hi-lock-unface-buffer): Call font-lock-fontify-buffer
	only if font-lock-fontified is non-nil.  Remove overlays.
	(hi-lock-set-pattern): Call font-lock-fontify-buffer if
	font-lock-fontified is non-nil, otherwise use overlays (instead of
	text properties).
	(hi-lock-string-serialize-hash, hi-lock-string-serialize-serial):
	New variables.
	(hi-lock-string-serialize) New function.

1117 1118 1119 1120 1121 1122 1123
2005-12-23  Jan Dj,Ad(Brv  <jan.h.d@swipnet.se>

	* menu-bar.el (menu-find-file-existing): New function.
	(menu-bar-file-menu): Use menu-find-file-existing for Open.

	* tool-bar.el (tool-bar-setup): open changed to menu-find-file-existing.

1124 1125 1126 1127 1128 1129 1130 1131 1132 1133 1134 1135 1136 1137 1138 1139 1140 1141 1142 1143
2005-12-22  Stefan Monnier  <monnier@iro.umontreal.ca>

	* vc.el: Remove unnecessary leading * in docstrings.
	(vc-annotate-mode-map): Move initialization into declaration.
	(vc-static-header-alist): Nitpick on the regexp.
	(vc-default-init-version): New fun.
	(vc-register): Use it.
	(vc-insert-headers): Use dolist.
	(vc-annotate-get-backend): Remove unused function.
	(vc-annotate-add-menu): Remove.  Build the menu directly at toplevel.
	(vc-annotate-mode): Remove corresponding call.
	(vc-annotate-car-last-cons): Simplify.
	(vc-annotate-buffers): Remove var.
	(vc-annotate-backend): Make it buffer-local.
	(vc-annotate): Move the interaction to the interactive spec.
	Add a `buf' argument.
	(vc-annotate-warp-version): Use this new `buf' argument to avoid
	killing&creating a vc-annotate buffer, which is very disruptive when
	the buffers are shown in dedicated frames.

Nick Roberts's avatar
Nick Roberts committed
1144 1145 1146 1147 1148 1149 1150 1151 1152 1153 1154 1155
2005-12-23  Nick Roberts  <nickrob@snap.net.nz>

	* descr-text.el: Add FSF as maintainer.
	(describe-text-mode, describe-text-mode-map)
	(describe-text-mode-hook, describe-text-done): Delete.  Use normal
	help-mode.
	(describe-text-widget, describe-text-sexp)
	(describe-property-list, describe-text-category)
	(describe-text-properties, describe-text-properties-1)
	(describe-char): Use help buttons instead of widgets.
	(describe-char-unicodedata-file): Make URL link in doc string.

1156
2005-12-22  Richard M. Stallman  <rms@gnu.org>
1157

1158 1159 1160 1161 1162
	* cus-edit.el (custom-variable-prompt): Say "variable" in prompt.
	(custom-buffer-create-internal): Reword the top-of-buffer help intro.
	Don't include buttons that write a file when there's no file.
	(custom-variable-menu, custom-face-menu, custom-group-menu):
	Don't include commands that write a file when there's no file.
1163 1164 1165 1166 1167
	(customize-browse): Reword the top-of-buffer help intro.
	(custom-buffer-create-internal): Fix previous change.
	(customize-changed-options-previous-release): Prev release is 21.1.
	(customize-changed-options): Doc fix.
	(customize-changed): New alias.
1168 1169 1170 1171
	(custom-reset-menu, custom-magic-alist, Custom-mode-menu):
	Say "standard values".
	(Custom-reset-standard): Doc fix.
	(custom-face-reset-standard): Doc fix.
1172

1173 1174 1175 1176 1177 1178 1179 1180 1181 1182
2005-12-22  Stefan Monnier  <monnier@iro.umontreal.ca>

	* font-lock.el (font-lock-default-fontify-buffer): Try and set-defaults
	even if font-lock-mode is non-nil since it may be t without having
	turned on font-lock-mode-internal.
	(font-lock-choose-keywords): Minor optimization.
	(font-lock-add-keywords, font-lock-remove-keywords)
	(font-lock-set-defaults): Don't call make-local-variable on a variable
	that we know to already be local.

1183 1184 1185 1186 1187
2005-12-22  Katsumi Yamaoka  <yamaoka@jpl.org>

	* emacs-lisp/lisp.el (lisp-complete-symbol): Don't print progress
	messages if in the minibuffer.

1188 1189
2005-12-21  Stefan Monnier  <monnier@iro.umontreal.ca>

1190 1191 1192 1193
	* textmodes/flyspell.el (flyspell-check-word-p): Don't quote - in a RE.
	(tex-mode-flyspell-verify, flyspell-get-word)
	(flyspell-external-point-words): Don't use point-min/max uselessly.

1194 1195 1196 1197
	* emacs-lisp/lisp.el (lisp-complete-symbol): Mostly undo the change
	by Kevin Rodgers.  Instead, just hide the completions buffer if we
	don't need to show it.

Luc Teirlinck's avatar
Luc Teirlinck committed
1198 1199 1200 1201
2005-12-21  Luc Teirlinck  <teirllm@auburn.edu>

	* wid-edit.el (file, directory): Doc fixes for the `define-widget's.

1202 1203 1204 1205 1206
2005-12-21  Stefan Monnier  <monnier@iro.umontreal.ca>

	* emacs-lisp/lisp.el (lisp-complete-symbol): Don't call
	delete-windows-on with an inexistent buffer.

Nick Roberts's avatar
Nick Roberts committed
1207 1208
2005-12-22  Nick Roberts  <nickrob@snap.net.nz>

1209
	* progmodes/gud.el (gud-tooltip-modes, gud-tooltip-display):
Nick Roberts's avatar
Nick Roberts committed
1210 1211
	Delete defcustom variable :tag names.

1212 1213 1214 1215 1216 1217
2005-12-20  Stefan Monnier  <monnier@iro.umontreal.ca>

	* log-view.el (log-view-file-re, log-view-message-re): Use shy groups.
	(log-view-font-lock-keywords): Ajust subgroup numbers.
	(log-view-current-tag): Don't hard code the number of subgroups.

Juri Linkov's avatar
Juri Linkov committed
1218 1219 1220 1221 1222 1223 1224 1225 1226 1227
2005-12-20  Juri Linkov  <juri@jurta.org>

	* tooltip.el (tooltip): Move defgroup before define-minor-mode.
	(tooltip-x-offset, tooltip-y-offset): Doc fix.

	* menu-bar.el (menu-bar-menu-frame-live-and-visible-p)
	(menu-bar-non-minibuffer-window-p): Instead of checking
	display-multi-frame-p, use selected-frame when menu-updating-frame
	is nil.

Thien-Thi Nguyen's avatar
Thien-Thi Nguyen committed
1228 1229 1230 1231 1232
2005-12-20  Davis Herring  <herring@lanl.gov>  (tiny change)

	* align.el (align-rules-list): Use [ \t] instead of \s-
	for column separators in text mode.

Nick Roberts's avatar
Nick Roberts committed
1233 1234
2005-12-20  Nick Roberts  <nickrob@snap.net.nz>

Thien-Thi Nguyen's avatar
Thien-Thi Nguyen committed
1235
	* help-mode.el (help-customize-variable, help-customize-face):
Nick Roberts's avatar
Nick Roberts committed
1236 1237 1238
	Don't pop help-xref-stack as help-follow no longer pushes
	anything on to it.

1239 1240
2005-12-20  Carsten Dominik  <dominik@science.uva.nl>

Luc Teirlinck's avatar
Luc Teirlinck committed
1241
	* textmodes/org.el (org-agenda-custom-commands): New option.
1242 1243 1244 1245 1246 1247 1248
	(org-agenda): Offer custom commands on splash screen.
	(org-make-tags-matcher): Parser for Boolean logic added.
	(org-agenda-set-tags): New command.
	(org-agenda-menu, org-agenda-mode-map): Add `org-agenda-set-tags'.
	(org-set-tags): Efficiency improvements.
	(org-auto-align-tags): New option.
	(org-todo, org-demote, org-promote): Realign tags.
1249
	(org-tags-completion-function): Use also "&" and "|" as separators.
1250 1251
	(org-org-menu): Agenda commands simplified.

Luc Teirlinck's avatar
Luc Teirlinck committed
1252 1253 1254 1255 1256 1257 1258
2005-12-19  Luc Teirlinck  <teirllm@auburn.edu>

	* cus-edit.el (customize-apropos, customize-apropos-options):
	Docstring changes.

	* font-lock.el (font-lock): Add tags to the links in the defgroup.

1259 1260 1261 1262 1263 1264
2005-12-19  Chong Yidong  <cyd@stupidchicken.com>

	* longlines.el (longlines-mode): Wrap while widened.
	(longlines-decode-region, longlines-encode-region): Compute max
	just once.

YAMAMOTO Mitsuharu's avatar
YAMAMOTO Mitsuharu committed
1265 1266 1267 1268 1269 1270 1271 1272 1273 1274 1275 1276 1277 1278 1279
2005-12-19  YAMAMOTO Mitsuharu  <mituharu@math.s.chiba-u.ac.jp>

	* cus-edit.el (mac): New group.

	* cus-start.el (all): Add user options in macterm.c.  Add test for
	Mac-related built-ins.  Fix test for GTK-related built-ins.

	* term/mac-win.el (mac-handle-language-change)
	(mac-ae-open-documents, mac-ae-get-url, mac-services-open-file)
	(mac-services-open-selection, mac-services-mail-selection)
	(mac-services-mail-to, mac-services-insert-text)
	(mac-dispatch-apple-event): Add docstrings.
	(x-get-selection, mac-select-convert-to-string): Select coding
	system from `utf-16be' and `utf-16le' using `byteorder'.

1280 1281 1282 1283 1284 1285 1286 1287
2005-12-18  Stefan Monnier  <monnier@iro.umontreal.ca>

	* subr.el (lazy-completion-table): Don't be fooled if the var holds
	a "list" (lambda ...) rather than a real completion list.

	* emacs-lisp/cl-extra.el (cl-macroexpand-all): Fix code-walk for
	lexical-let when encountering ((lambda (...) ...) ...).

1288 1289
2005-12-17  Chong Yidong  <cyd@stupidchicken.com>

1290
	* progmodes/sh-script.el (sh-mode):
1291 1292 1293
	* language/ethio-util.el (ethio-fidel-to-sera-mail-or-marker):
	* textmodes/picture.el (picture-mode): Update docstrings.

Eli Zaretskii's avatar
Eli Zaretskii committed
1294 1295 1296 1297 1298 1299 1300 1301 1302
2005-12-17  Eli Zaretskii  <eliz@gnu.org>

	* makefile.w32-in (autoloads, custom-deps): Warn that parts of
	commands enclosed in $(ARGQUOTE)s should not be split between two
	lines, as that will break with GNU Make >3.80, when sh.exe is used
	and arg quoting is with '..'.
	(autoloads): Don't break the quoted --eval expression between
	several lines.

1303 1304
2005-12-17  Chong Yidong  <cyd@stupidchicken.com>

1305 1306
	* emacs-lisp/edebug.el (edebug-safe-prin1-to-string):
	Capture error from printing circular structures.
1307

1308 1309 1310 1311
2005-12-17  Martin Rudalics  <rudalics@gmx.at>  (tiny change)

	* wid-edit.el (widget-checkbox-action): Clear undo info.

1312 1313 1314 1315 1316
2005-12-16  Bill Wohler  <wohler@newt.com>

	* menu-bar.el (kill-this-buffer): Set a good example by using menu
	bar, not menubar in comment.

1317 1318 1319 1320 1321
2005-12-16  Stefan Monnier  <monnier@iro.umontreal.ca>

	* progmodes/cc-engine.el (c-after-change-check-<>-operators):
	After-change-functions should not clobber the match data.

Juri Linkov's avatar
Juri Linkov committed
1322 1323 1324 1325 1326 1327 1328 1329
2005-12-16  Juri Linkov  <juri@jurta.org>

	* simple.el (choose-completion): Use `buffer-substring-no-properties'
	instead of `buffer-substring'.
	(completion-common-substring): Doc fix.
	(completion-setup-function): Use minibuffer-completion-contents
	instead of minibuffer-contents.  Don't set common-string-length
	initially.  Remove special handling of partial-completion-mode.
1330 1331
	Move computation of completion-base-size into one cond.
	Call completion-base-size-function in mainbuf.  In computation of
Juri Linkov's avatar
Juri Linkov committed
1332 1333 1334
	completion-base-size for file name completion don't move point to
	the end of the minibuffer.  Move computation of common-string-length
	into one cond.  Start putting faces only when common-string-length>=0.
1335 1336
	Add condition to put completions-common-part when
	common-string-length>0.
Juri Linkov's avatar
Juri Linkov committed
1337 1338 1339 1340 1341 1342 1343 1344 1345 1346 1347 1348

	* complete.el (PC-do-completion): Remove `(equal (point) beg)' to
	place point at the first different character in the minibuffer
	even if this position is at the beginning of the minibuffer.

	* info.el (Info-read-node-name-1): In completion-base-size-function's
	lambda return 1 if common-substring or minibuffer-completion-contents
	starts with (, and 0 otherwise.

	* emacs-lisp/crm.el (crm-minibuffer-completion-help):
	Use `crm-current-element' for second arg of `display-completion-list'.

1349 1350 1351 1352 1353 1354
2005-12-16  Klaus Zeitler  <kzeitler@lucent.com>

	* files.el (set-auto-mode): Look for an interpreter specified on
	the first line also if search for mode specification succeeded,
	but the mode is not known.

Carsten Dominik's avatar
Carsten Dominik committed
1355 1356
2005-12-16  Carsten Dominik  <dominik@science.uva.nl>

Luc Teirlinck's avatar
Luc Teirlinck committed
1357
	* textmodes/org.el (org-tags-match-list-sublevels): New option.
1358
	(org-open-at-point): Implement tag searches as links.
Carsten Dominik's avatar
Carsten Dominik committed
1359
	(org-fit-agenda-window, org-get-buffer-tags, org-get-tags)
1360
	(org-make-tags-matcher, org-scan-tags, org-activate-tags): New funs.
Carsten Dominik's avatar
Carsten Dominik committed
1361 1362 1363 1364 1365 1366 1367
	(org-tags-sparse-tree, org-tags-view, org-set-tags)
	(org-agenda-dispatch): New commands.
	(org-use-tag-inheritance, org-tags-column): New options.
	(org-tab-follows-link, org-return-follows-link): New options.
	(org-tags): New customize group.
	(org-start-icalendar-file): Get local time zone.
	(org-tags-completion-function): New function.
1368
	(org-set-font-lock-defaults): Make sure links will also be
Carsten Dominik's avatar
Carsten Dominik committed
1369
	highlighted inside headlines.
Carsten Dominik's avatar
Carsten Dominik committed
1370

Eli Zaretskii's avatar
Eli Zaretskii committed
1371 1372
2005-12-16  Mark Plaksin  <happy@usg.edu>  (tiny change)

1373 1374
	* term.el (term-emulate-terminal):
	Let term-handle-ansi-terminal-messages override what Bash says about