ChangeLog 529 KB
Newer Older
1 2 3 4 5 6 7 8 9
2012-06-04  Stefan Monnier  <monnier@iro.umontreal.ca>

	* emacs-lisp/cl-lib.el: Rename from cl.el.
	* emacs-lisp/cl.el: New compatibility file.
	* emacs-lisp/cl-lib.el, emacs-lisp/cl-seq.el, emacs-lisp/cl-macs.el:
	* emacs-lisp/cl-extra.el: Rename all top-level functions and variables
	to obey the "cl-" prefix.
	* emacs-lisp/macroexp.el (macroexpand-all-1): Adjust to new name.

Glenn Morris's avatar
Glenn Morris committed
10 11
2012-06-03  Glenn Morris  <rgm@gnu.org>

12 13
	* emacs-lisp/authors.el (authors-aliases): Addition.

Glenn Morris's avatar
Glenn Morris committed
14 15 16
	* cus-start.el (tool-bar-style, tool-bar-max-label-size):
	Fix :version.

Stefan Merten's avatar
Stefan Merten committed
17 18 19 20 21 22 23 24 25 26
2012-06-03  Stefan Merten  <smerten@oekonux.de>

	* textmodes/rst.el: Add comments.
	(rst-transition, rst-adornment): New faces.
	(rst-adornment-faces-alist): Make default safe to reevaluate.
	Fixes
	http://sourceforge.net/tracker/?func=detail&atid=422030&aid=3479603&group_id=38414.
	Improve customization tags.
	(rst-define-level-faces): Clarify meaning.

27 28 29
2012-06-03  Chong Yidong  <cyd@gnu.org>

	* progmodes/compile.el (compilation-mode-line-fail)
30 31
	(compilation-mode-line-run, compilation-mode-line-exit):
	New faces.
32 33
	(compilation-start, compilation-handle-exit): Use them (Bug#11032).

34 35
2012-06-03  Jack Duthen  <duthen.mac.01@gmail.com>  (tiny change)

36 37
	* progmodes/which-func.el (which-func-update-ediff-windows):
	New function.  Use it in ediff-select-hook (Bug#11478).
38

39 40 41 42 43 44 45 46 47
2012-06-03  Chong Yidong  <cyd@gnu.org>

	* bindings.el: Remove explicit help text from format-mode-line.
	It is now supplied by mode-line-default-help-echo.
	(mode-line-front-space, mode-line-end-spaces)
	(mode-line-misc-info): New variables.
	(mode-line-modes, mode-line-position): Move the default value to
	the variable definition.
	(mode-line-default-help-echo): New defcustom.
48 49 50 51 52
	(mode-line-mule-info-help-echo, mode-line-read-only-help-echo)
	(mode-line-modified-help-echo): New functions.
	(mode-line-mule-info, mode-line-modified): Use them.
	(mode-line-eol-desc, propertized-buffer-identification):
	Consistency fixes for help text.
53 54 55
	(mode-line-coding-system-map): Allow using mouse-3 to invoke
	set-buffer-file-coding-system (Bug#289).
	(mode-line-mule-info-help-echo): Update help text.
56

57 58 59 60 61
2012-06-02  Stefan Monnier  <monnier@iro.umontreal.ca>

	* simple.el (execute-extended-command): Set real-this-command
	(bug#11506).

62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 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
2012-06-02  Chong Yidong  <cyd@gnu.org>

	Remove incorrect uses of "modeline" in comments, docstrings, and
	function/variable names (Bug#10329).

	* cus-edit.el (mode-line):
	* dframe.el (dframe-mouse-hscroll):
	* emacs-lisp/re-builder.el:
	* emacs-lisp/easy-mmode.el (define-minor-mode):
	* frame.el (set-frame-name):
	* help.el (lookup-minor-mode-from-indicator):
	* net/rcirc.el (rcirc-activity-string, rcirc-short-buffer-name):
	* progmodes/cc-cmds.el (c-toggle-auto-newline)
	(c-toggle-hungry-state):
	* progmodes/antlr-mode.el (antlr-language-alist):
	* progmodes/idlw-shell.el (idlwave-shell-electric-stop-line-face):
	* progmodes/vhdl-mode.el (vhdl-mode):
	* progmodes/which-func.el (which-func, which-func-cleanup-function):
	* term/ns-win.el (ns-face-at-pos):
	* term/sup-mouse.el (sup-mouse-report):
	* textmodes/flyspell.el (flyspell-mode-line-string):
	* textmodes/ispell.el (ispell-highlight-face):
	* textmodes/reftex-global.el:
	* vc/vc-arch.el (vc-arch-mode-line-string):
	* vc/vc-cvs.el (vc-cvs-mode-line-string):
	* vc/vc-git.el (vc-git-mode-line-string):
	* vc/vc-hooks.el (vc-display-status)
	(vc-default-mode-line-string):
	* vc/vc-mtn.el (vc-mtn-mode-line-string): Doc fixes.

	* ansi-color.el (ansi-color-faces-vector): Change default faces.

	* dired.el (dired-sort-set-mode-line): Rename from
	dired-sort-set-modeline.  All callers changed.

	* eshell/esh-mode.el (eshell-status-in-mode-line): Rename from
	eshell-status-in-modeline.

	* foldout.el (foldout-mode-line-string): Rename from
	foldout-modeline-string.  All callers changed.
	(foldout-update-mode-line): Rename from foldout-update-modeline.

	* subr.el (redraw-modeline): Make into obsolete alias.

	* calendar/timeclock.el (timeclock-mode-line-display): Rename from
	timeclock-modeline-display.  Make old name an alias.
	(timeclock-update-mode-line): Likewise.  All callers changed.
	(timeclock-mode-line-display): No need to check before using
	add-hook.
	(timeclock-relative, timeclock-day-over-hook)
	(timeclock-use-elapsed, timeclock-mode-string)
	(timeclock-mode-line-display): Doc fix, "modeline" -> "mode line".

	* emulation/crisp.el (crisp-mode-mode-line-string): Rename from
	crisp-mode-modeline-string.

	* play/solitaire.el (solitaire-build-mode-line): Rename from
	solitaire-build-modeline.  All callers changed.

	* play/zone.el (zone-hiding-mode-line): Rename from
	zone-hiding-modeline.  All callers changed.
	(zone): Remove unusued `modeline-hidden-level' property.

	* progmodes/xscheme.el (xscheme-mode-line-initialize): Rename from
	xscheme-modeline-initialize.  All callers changed.

	* strokes.el (strokes-lighter): Rename from
	strokes-modeline-string.

	* textmodes/sgml-mode.el (html-face-tag-alist)
	(html-tag-face-alist): Use mode-line face instead of obsolete
	alias modeline.

Stefan Merten's avatar
Stefan Merten committed
135 136 137
2012-06-02  Stefan Merten  <smerten@oekonux.de>

	* textmodes/rst.el: Always require `cl'.
138
	(rst-mode-map): Fix meaning of C-M-a / C-M-e.
Stefan Merten's avatar
Stefan Merten committed
139

140 141 142 143 144 145 146
2012-06-02  Chong Yidong  <cyd@gnu.org>

	* image.el (imagemagick-enabled-types): Rename from
	imagemagick-types-enable.  Add many more types.
	(imagemagick-types-inhibit): Change default to nil.
	(imagemagick-filter-types): Caller changed.

147 148
2012-06-01  Stefan Monnier  <monnier@iro.umontreal.ca>

149 150 151 152 153
	* emacs-lisp/cl-macs.el: Use backquotes.
	(cl-transform-function-property): Use eval-and-compile rather than
	abusing `require'.
	(defstruct): Use declare-function instead of with-no-warnings.

154 155 156 157 158
	* emacs-lisp/bytecomp.el: Fix last change (bug#11594).
	(byte-compile-output-docform): Re-add the print-circle bindings.
	(byte-compile-fix-header): Use #$ just because it's shorter.
	(byte-compile-output-file-form): Remove defun/defmacro.

159 160 161 162 163
2012-06-01  Martin Rudalics  <rudalics@gmx.at>

	* simple.el (choose-completion): Remove now obsolete binding for
	owindow.

164 165 166 167 168
2012-06-01  Michael Albinus  <michael.albinus@gmx.de>

	* net/tramp.el (tramp-check-for-regexp): Search from buffer end,
	in order to avoid "Stack overflow in regexp matcher".

169 170 171 172 173
2012-05-31  Glenn Morris  <rgm@gnu.org>

	* image.el: For clarity, call imagemagick-register-types at
	top-level, rather than relying on a custom :initialize.
	(imagemagick-types-enable): New option.  (Bug#11557)
174 175
	(imagemagick-filter-types): New function.  (Bug#7406)
	(imagemagick-register-types): Use imagemagick-filter-types.
176 177 178 179
	If disabling support, remove elements altogether rather
	than using an impossible regexp.
	(imagemagick-types-inhibit): Give it the default init function.

180 181
2012-05-31  Stefan Monnier  <monnier@iro.umontreal.ca>

182 183
	* emacs-lisp/bytecomp.el (byte-compile-fix-header):
	Handle arbitrary file name lengths (Bug#11585).
184

185
2012-05-31  Martin Rudalics  <rudalics@gmx.at>
Martin Rudalics's avatar
Martin Rudalics committed
186 187 188 189

	* desktop.el (desktop-read): Clear previous and next buffers for
	all windows and bury *Messages* buffer (bug#11556).

190 191 192 193 194 195 196 197 198 199 200 201 202 203 204
2012-05-31  Stefan Monnier  <monnier@iro.umontreal.ca>

	Add `declare' for `defun'.  Align `defmacro's with it.
	* emacs-lisp/easy-mmode.el (define-minor-mode)
	(define-globalized-minor-mode): Don't autoload the var definitions.
	* emacs-lisp/byte-run.el: Use lexical-binding.
	(defun-declarations-alist, macro-declarations-alist): New vars.
	(defmacro, defun): Use them.
	(make-obsolete, define-obsolete-function-alias)
	(make-obsolete-variable, define-obsolete-variable-alias):
	Use `declare'.
	(macro-declaration-function): Mark obsolete.
	* emacs-lisp/autoload.el: Use lexical-binding.
	(make-autoload): Add `expansion' arg.  Rely more on macro expansion.

205 206 207 208
2012-05-30  Agustín Martín Domingo  <agustin.martin@hispalinux.es>

	* textmodes/ispell.el (ispell-with-no-warnings):
	Define as a macro.
209 210
	(ispell-kill-ispell, ispell-change-dictionary):
	Use `called-interactively-p' for Emacs instead of obsolete
211 212
	`interactive-p'.

213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237
2012-05-30  Stefan Monnier  <monnier@iro.umontreal.ca>

	* emacs-lisp/byte-run.el (defmacro, defun): Move from C.
	(macro-declaration-function): Move var from C code.
	(macro-declaration-function): Define function with defalias.
	* emacs-lisp/macroexp.el (macroexpand-all-1):
	* emacs-lisp/cconv.el (cconv-convert, cconv-analyse-form):
	* emacs-lisp/byte-opt.el (byte-optimize-form-code-walker): Don't handle
	defun/defmacro any more.
	* emacs-lisp/bytecomp.el (byte-compile-arglist-signature):
	Provide fallback for unknown arglist.
	(byte-compile-arglist-warn): Change calling convention.
	(byte-compile-output-file-form): Move print-vars binding.
	(byte-compile-output-docform): Simplify accordingly.
	(byte-compile-file-form-defun, byte-compile-file-form-defmacro)
	(byte-compile-defmacro-declaration): Remove.
	(byte-compile-file-form-defmumble): Generalize to defalias.
	(byte-compile-output-as-comment): Return byte-positions.
	Simplify callers accordingly.
	(byte-compile-lambda): Use `assert'.
	(byte-compile-defun, byte-compile-defmacro): Remove.
	(byte-compile-file-form-defalias):
	Use byte-compile-file-form-defmumble.
	(byte-compile-defalias-warn): Remove.

238 239 240
2012-05-29  Stefan Merten  <smerten@oekonux.de>

	* textmodes/rst.el: Silence `checkdoc-ispell' errors where
241
	possible.  Fix authors.  Improve comments.  Improve loading of `cl'.
242 243 244 245 246

	(rst-mode-abbrev-table): Merge definition.
	(rst-mode): Make sure `font-lock-defaults' is buffer local.
	(rst-define-key, rst-deprecated-keys, rst-call-deprecated): Refactor.

247 248 249 250 251 252
2012-05-29  Ulf Jasper  <ulf.jasper@web.de>

	* calendar/icalendar.el
	(icalendar-export-region): Export UID properly.

2012-05-29 Leo <sdl.web@gmail.com>
253 254
	* calendar/icalendar.el (icalendar-import-format):
	Add `icalendar-import-format-uid' (Bug#11525).
255 256 257 258
	(icalendar-import-format-uid): New.
	(icalendar--parse-summary-and-rest, icalendar--format-ical-event):
	Export UID.

259 260 261 262 263 264 265 266 267 268 269 270 271 272
2012-05-29  Stefan Monnier  <monnier@iro.umontreal.ca>

	* emacs-lisp/pcase.el (pcase--expand): Accept different sets of vars in
	different alternative patterns.
	(pcase-codegen): Be more careful to preserve identity.
	(pcase--u1): Don't forget to mark vars as used.

	* emacs-lisp/bytecomp.el (byte-compile-constp): Treat #'v as a constant.
	(byte-compile-close-variables): Bind byte-compile--outbuffer here...
	(byte-compile-from-buffer): ...rather than here.

	* emacs-lisp/byte-opt.el (byte-compile-inline-expand): Don't re-preprocess
	functions from byte-compile-function-environment.

273 274 275 276 277
2012-05-29  Troels Nielsen  <bn.troels@gmail.com>

	* window.el (window-deletable-p): Avoid deleting the root window
	of a frame with an active minibuffer.

278 279 280 281
2012-05-29  Martin Rudalics  <rudalics@gmx.at>

	* simple.el (choose-completion): Use quit-window (Bug#11567).

282 283 284 285 286
2012-05-29  Chong Yidong  <cyd@gnu.org>

	* whitespace.el (whitespace-cleanup): Fix usage of
	whitespace-empty-at-bob-regexp (Bug#11492).

287 288 289 290 291
2012-05-29  Aaron S. Hawley  <aaron.s.hawley@gmail.com>

	* vc/vc.el (vc-revert, vc-rollback): Dont kill vc-diff buffer on
	revert (Bug#11488).

292 293 294 295 296 297 298 299 300 301
2012-05-29  Juri Linkov  <juri@jurta.org>

	* isearch.el (isearch-mode-map): Bind `M-s _' to
	`isearch-toggle-symbol'.  Bind `M-s c' to
	`isearch-toggle-case-fold'.
	(search-map): Bind `M-s _' to `isearch-forward-symbol'.
	(isearch-forward): Add `M-s _' to the docstring.
	(isearch-forward-symbol, isearch-toggle-case-fold)
	(isearch-symbol-regexp): New functions.  (Bug#11381)

302 303 304 305 306 307 308 309 310 311 312 313
2012-05-29  Juri Linkov  <juri@jurta.org>

	* isearch.el (isearch-word): Add docstring.  (Bug#11381)
	(isearch-occur, isearch-search-and-update): If `isearch-word' is
	a function, call it to get the regexp.
	(isearch-message-prefix): If `isearch-word' holds a symbol, use its
	property `isearch-message-prefix' instead of the string "word ".
	(isearch-search-fun-default): For the case of `isearch-word',
	return a lambda that calls re-search-forward/re-search-backward
	with a regexp returned by `word-search-regexp' or by the function
	in `isearch-word'.

314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347
2012-05-29  Juri Linkov  <juri@jurta.org>

	* isearch.el (isearch-search-fun-default): New function.
	(isearch-search-fun): Move default part to the new function
	`isearch-search-fun-default'.
	(isearch-search-fun-function): Set the default value to
	`isearch-search-fun-default'.  (Bug#11381)

	* comint.el (comint-history-isearch-end):
	Use `isearch-search-fun-default'.
	(comint-history-isearch-search): Use `isearch-search-fun-default'
	and remove spacial case for `isearch-word'.
	(comint-history-isearch-wrap): Remove spacial case for
	`isearch-word'.

	* hexl.el (hexl-isearch-search-function):
	Use `isearch-search-fun-default'.

	* info.el (Info-isearch-search): Use `isearch-search-fun-default'.
	Use `word-search-regexp' for `isearch-word'.

	* misearch.el (multi-isearch-search-fun):
	Use `isearch-search-fun-default'.

	* simple.el (minibuffer-history-isearch-search):
	Use `isearch-search-fun-default' and remove spacial case for
	`isearch-word'.
	(minibuffer-history-isearch-wrap): Remove spacial case for
	`isearch-word'.

	* textmodes/reftex-global.el (reftex-isearch-wrap-function):
	Remove spacial case for `isearch-word'.
	(reftex-isearch-isearch-search): Use `isearch-search-fun-default'.

348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365
2012-05-28  Agustín Martín Domingo  <agustin.martin@hispalinux.es>

	Decrease XEmacs incompatibilities.
	* textmodes/flyspell.el (flyspell-check-pre-word-p):
	Use `string-match'.
	(flyspell-delete-region-overlays): Use alternative definition for
	XEmacs.
	(flyspell-delete-all-overlays): Use `flyspell-delete-region-overlays'.
	(flyspell-word): Use `process-kill-without-query' if XEmacs.
	(flyspell-mode-on): Use `interactive-p' if XEmacs.
	(flyspell-incorrect-face, flyspell-duplicate-face): Do not use
	`define-obsolete-face-alias' under XEmacs, but old method.

	* textmodes/ispell.el (ispell-with-no-warnings): XEmacs alternative
	`with-no-warnings' definition or Emacs alias.
	(ispell-command-loop, ispell-message): Use `ispell-with-no-warnings'.
	(ispell-word): Do not use `region-p' if XEmacs.

366 367 368 369 370 371 372 373
2012-05-28  Agustín Martín Domingo  <agustin.martin@hispalinux.es>

	* textmodes/ispell.el (ispell-find-aspell-dictionaries):
	Check for `ispell-dictionary-base-alist' instead of full
	`ispell-dictionary-alist'.
	(ispell-init-process): Show spellchecker when starting new Ispell
	process.

374 375 376 377 378
2012-05-28  Stefan Monnier  <monnier@iro.umontreal.ca>

	* progmodes/vhdl-mode.el: Sync with upstream 3.33.28.
	http://www.iis.ee.ethz.ch/~zimmi/emacs/vhdl-mode.html#release-notes-3.33

379 380 381 382 383
2012-05-27  Juanma Barranquero  <lekktu@gmail.com>

	* version.el (motif-version-string, gtk-version-string)
	(ns-version-string): Declare.

384 385 386 387 388 389 390 391 392
2012-05-27  Juri Linkov  <juri@jurta.org>

	* emacs-lisp/lisp-mode.el (eval-defun-2): Use `eval-sexp-add-defvars'
	after the `eval-defun-1' specialcaseing
	like in `edebug-eval-defun' (bug#10181).

	* emacs-lisp/edebug.el (edebug-eval-defun): Set `face-documentation'
	like in `eval-defun-1'.

393
2012-05-27  Eli Zaretskii  <eliz@gnu.org>
394

395 396 397
	* mail/sendmail.el (mail-yank-region):
	Recognize rmail-yank-current-message in addition to insert-buffer.
	Fixes mail-mode's "C-c C-r" that otherwise does nothing when invoked in
398 399 400
	a *mail* buffer created through rmail-start-mail with sendmail as
	mail-user-agent.

401 402 403 404 405 406 407
2012-05-27  Chong Yidong  <cyd@gnu.org>

	* net/gnutls.el (gnutls-min-prime-bits): Improve docstring.
	Default to 256 (Bug#11267).

	* help.el (describe-mode): Doc fix.

408 409
2012-05-26  Glenn Morris  <rgm@gnu.org>

410 411 412
	* w32-fns.el (w32-init-info): Remove.
	* paths.el (Info-default-directory-list): Add w32-init-info equivalent.

413 414 415
	* info.el (info-initialize): For self-contained NS builds, put the
	included info/ directory at the front.  (Bug#2791)

416 417 418
	* paths.el (Info-default-directory-list): Make it a defcustom,
	mainly so that we can use custom-initialize-delay.

419 420
2012-05-26  Stefan Monnier  <monnier@iro.umontreal.ca>

421 422
	* subr.el (buffer-has-markers-at): Mark obsolete.

423
	* subr.el (lambda): Use declare.
424

425 426 427
	* emacs-lisp/lisp-mode.el (lambda):
	* emacs-lisp/edebug.el (lambda): Move properties to its definition.

428 429 430 431
2012-05-26  Aaron S. Hawley  <aaron.s.hawley@gmail.com>

	* thingatpt.el (forward-same-syntax): Handle no ARG case.  (Bug#11560)

432 433 434 435
2012-05-26  Glenn Morris  <rgm@gnu.org>

	* progmodes/cc-mode.el (auto-mode-alist): Fix typo.

436 437
2012-05-25  Glenn Morris  <rgm@gnu.org>

438 439 440
	* paths.el: Remove no-byte-compile.
	* loadup.el: No need to load paths.el uncompiled.

441 442
	* image.el (imagemagick-types-inhibit): Doc fix.

443 444 445 446
	* version.el: Remove no-byte-compile and associated formatting.
	* loadup.el: No need to load version.el uncompiled.  AFAICS, this
	is ancient code from when there was an "inc-vers.el".

447 448 449 450 451 452 453 454 455 456
2012-05-25  Stefan Monnier  <monnier@iro.umontreal.ca>

	* progmodes/gdb-mi.el: Minor style changes.
	(gdb-enable-debug, gdb-speedbar-auto-raise, gdb-many-windows):
	Turn into minor modes.
	(gdb--if-arrow): Rename from gdb-if-arrow, make it hygienic.
	(gdb-mouse-until, gdb-mouse-jump): Adjust uses accordingly.
	(gdb-shell): Remove unneeded let-binding.
	(gdb-get-many-fields): Eliminate O(n²) behavior.

457 458 459 460 461
2012-05-25  Eli Zaretskii  <eliz@gnu.org>

	* cus-start.el <vertical-centering-font-regexp>: Avoid warning on
	platforms that don't link in fontset.c.

462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 487 488 489 490 491 492 493 494 495 496 497 498 499 500
2012-05-25  Juri Linkov  <juri@jurta.org>

	Use the same diff color scheme as in modern VCSes (bug#10181).

	* vc/diff-mode.el (diff-header, diff-file-header): Remove "green"
	to avoid confusion with `diff-added' that now uses green colors.
	(diff-removed): Use shades of red.
	(diff-added): Use shades of green.
	(diff-changed): Leave just the yellow color.
	(diff-use-changed-face): New variable.
	(diff-font-lock-keywords): Use `diff-use-changed-face' to decide
	how to highlight context diff changes.
	(diff-refine-change): Use shades of yellow.
	(diff-refine-removed): New face that uses shades of red.
	(diff-refine-added): New face that uses shades of green.
	(diff-refine-hunk): Use `diff-refine-change', `diff-refine-added',
	`diff-refine-removed' in the call to `smerge-refine-subst'
	depending on the value of `diff-use-changed-face'.

	* vc/smerge-mode.el (smerge-mine): Use shades of red.
	(smerge-other): Use shades of green.
	(smerge-base): Use shades of yellow.
	(smerge-refined-change): Empty face.
	(smerge-refined-removed): New face that uses shades of red.
	(smerge-refined-added): New face that uses shades of green.
	(smerge-refine-subst): Rename arg `props' to `props-c'.  Add new
	args `props-r' and `props-a', and use them.  Doc fix.
	(smerge-refine): Evaluate `smerge-use-changed-face' and depending
	on its value use different faces `smerge-refined-change',
	`smerge-refined-removed', `smerge-refined-added' in the call to
	`smerge-refine-subst'.

	* vc/ediff-init.el (ediff-current-diff-A, ediff-fine-diff-A):
	Add face condition `min-colors 88' with shades of red.
	(ediff-current-diff-B, ediff-fine-diff-B): Add face condition
	`min-colors 88' with shades of green.
	(ediff-current-diff-C, ediff-fine-diff-C): Add face condition
	`min-colors 88' with shades of yellow.

501 502
2012-05-24  Glenn Morris  <rgm@gnu.org>

503 504 505 506
	* paths.el (prune-directory-list, remote-shell-program): Move to...
	* files.el (prune-directory-list, remote-shell-program): ...here.
	For the latter, delay initialization, prefer ssh, just search PATH.

507 508 509
	* paths.el (term-file-prefix): Move to faces.el (the only user).
	* faces.el (term-file-prefix): Move here, make it a defcustom.

510 511
	* paths.el (news-directory, news-path, news-inews-program):
	Move to gnus/nnspool.el.
512

513 514
	* paths.el (gnus-default-nntp-server): Remove (gnus.el defines it).

515 516 517 518
	* paths.el (rmail-file-name, rmail-spool-directory): Move from here...
	* mail/rmail.el (rmail-file-name, rmail-spool-directory): ... to here.
	Make the latter a defcustom, with a delayed initialization.

519 520 521
	* paths.el (gnus-nntp-service, gnus-local-organization): Remove.
	These were deleted from Gnus itself late 2010.

522 523
2012-05-22  Juanma Barranquero  <lekktu@gmail.com>

524 525 526
	* progmodes/which-func.el (which-func-ff-hook):
	Check against user-error, not error.

Juanma Barranquero's avatar
Juanma Barranquero committed
527
	* emacs-lisp/edebug.el (top): Do not load or set up loading of
528 529
	cl-specs.el, which no longer exists.

530 531 532 533 534 535
2012-05-22  Glenn Morris  <rgm@gnu.org>

	* info.el (info-emacs-bug): New command.
	* menu-bar.el (menu-bar-help-menu): Add "How to Report a Bug" to Help.
	* mail/emacsbug.el (report-emacs-bug): Replace with info-emacs-bug.

536 537 538 539 540
2012-05-21  Glenn Morris  <rgm@gnu.org>

	* makefile.w32-in (update-subdirs-SH):
	* Makefile.in (update-subdirs): Update for moved update-subdirs.

541 542
2012-05-21  Stefan Monnier  <monnier@iro.umontreal.ca>

543 544
	* hi-lock.el (hi-lock-face-defaults): Move obsolete before definition.

545 546 547 548
	* progmodes/compile.el (compilation-error-regexp-alist-alist):
	Simplify Maven regexp, and make sure the file can't start with a space
	(bug#11517).

549 550 551 552 553
2012-05-21  Glenn Morris  <rgm@gnu.org>

	* Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
	Scrap superfluous subshells.

554 555 556 557 558
2012-05-19  Stefan Monnier  <monnier@iro.umontreal.ca>

	* emacs-lisp/bytecomp.el (byte-compile-root-dir): New var.
	(byte-compile-warning-prefix, batch-byte-compile-file): Use it.

559 560 561 562
2012-05-19  Jay Belanger  <jay.p.belanger@gmail.com>

	* calc/calc.el (calc-ensure-consistent-units): New variable.

563 564 565 566 567
	* calc/calc-units.el (math-consistent-units-p)
	(math-check-unit-consistency): New functions.
	(calc-quick-units, calc-convert-units):
	Use `math-check-unit-consistency' when `calc-ensure-consistent-units'
	is non-nil.
568 569
	(calc-extract-units): Fix typo.

570 571
2012-05-18  Stefan Monnier  <monnier@iro.umontreal.ca>

572 573
	* vc/vc-bzr.el (vc-bzr-state-heuristic): Save match-data around sha1.

574 575 576 577 578 579 580 581 582 583 584 585
	* textmodes/flyspell.el: Commenting style, plus code simplifications.
	(flyspell-default-deplacement-commands): Don't spell check after
	repeated window/frame switches (e.g. triggered by mouse-movement).
	(flyspell-delay-commands, flyspell-deplacement-commands): Use mapc.
	(flyspell-debug-signal-word-checked): Simplify and fit in 80 cols.
	(flyspell-casechars-cache, flyspell-ispell-casechars-cache)
	(flyspell-not-casechars-cache, flyspell-ispell-not-casechars-cache):
	Remove unused vars.
	(flyspell-get-casechars, flyspell-get-not-casechars):
	Simplify; Don't bother removing a ] just to add it back.
	* textmodes/ispell.el (ispell-program-name): Use executable-find.

586 587 588 589
2012-05-18  Rüdiger Sonderfeld <ruediger@c-plusplus.de>

	* calc/calc-lang.el (math-C-parse-bess, math-C-parse-fma):
	New functions.
Juanma Barranquero's avatar
Juanma Barranquero committed
590
	(math-function-table): Add support for more C functions.
591

592 593 594 595 596 597
2012-05-18  Agustín Martín Domingo  <agustin.martin@hispalinux.es>

	* flyspell.el (flyspell-check-pre-word-p, flyspell-check-word-p)
	(flyspell-debug-signal-word-checked): Protect delay handling for
	otherchars against empty otherchars.

598 599 600 601 602 603 604 605 606 607 608 609 610 611 612
2012-05-18  Stefan Monnier  <monnier@iro.umontreal.ca>

	* emacs-lisp/lisp-mode.el (doc-string-elt): Move those properties to
	their respective macro declarations.
	* skeleton.el (define-skeleton):
	* progmodes/compile.el (define-compilation-mode):
	* ibuf-macs.el (define-ibuffer-sorter, define-ibuffer-op)
	(define-ibuffer-filter):
	* emacs-lisp/generic.el (define-generic-mode):
	* emacs-lisp/easy-mmode.el (define-minor-mode)
	(define-globalized-minor-mode):
	* emacs-lisp/cl-macs.el (defun*, defmacro*, defstruct, deftype):
	* emacs-lisp/byte-run.el (defsubst):
	* custom.el (deftheme): Add doc-string metadata.

613 614 615 616
2012-05-17  Stefan Monnier  <monnier@iro.umontreal.ca>

	* emacs-lisp/cl-macs.el, emacs-lisp/cl.el: Move indent info.

617 618
2012-05-17  Stefan Monnier  <monnier@iro.umontreal.ca>

619 620
	* emacs-lisp/pcase.el (pcase--u1): Avoid ((lambda ...) ...).

621 622 623 624
	* emacs-lisp/cl.el: Add edebug specs from cl-specs.el.
	* emacs-lisp/cl-macs.el: Idem.
	* emacs-lisp/cl-specs.el: Remove.

625 626 627 628 629 630 631 632 633
2012-05-17  Stefan Monnier  <monnier@iro.umontreal.ca>

	Minor renaming of internal CL functions and variables.
	* emacs-lisp/cl-seq.el (cl--adjoin): Rename from cl-adjoin.
	(cl--position): Rename from cl-position.
	(cl--delete-duplicates): Rename from cl-delete-duplicates.
	* emacs-lisp/cl.el (cl--gensym-counter): Rename from *gensym-counter*.
	(cl--random-state): Rename from *random-state*.

634 635 636 637 638
2012-05-17  Stefan Monnier  <monnier@iro.umontreal.ca>

	* emacs-lisp/cl-macs.el (cl-transform-lambda): Don't add spurious
	parens around the arg list (bug#11499).

639 640 641 642 643 644 645
2012-05-17  Juri Linkov  <juri@jurta.org>

	* isearch.el (word-search-regexp, word-search-backward)
	(word-search-forward, word-search-backward-lax)
	(word-search-forward-lax): Move functions from search.c
	(bug#10145, bug#11381).

646 647 648 649 650 651
2012-05-16  Agustín Martín Domingo  <agustin.martin@hispalinux.es>

	* flyspell.el (flyspell-check-pre-word-p, flyspell-check-word-p)
	(flyspell-debug-signal-word-checked): Delay for otherchars as for
	normal word components.

652 653 654 655 656 657
2012-05-16  Stefan Monnier  <monnier@iro.umontreal.ca>

	* minibuffer.el (completion--sifn-requote): Fix last change.
	(minibuffer-local-must-match-filename-map):
	Move define-obsolete-variable-alias before its var.

658 659
2012-05-15  Stefan Monnier  <monnier@iro.umontreal.ca>

660 661
	* emacs-lisp/pcase.el (pcase-let*, pcase-let): Fix edebug spec.

662 663 664 665 666
	* minibuffer.el (completion--sifn-requote): Handle sifn's truncation
	behavior.
	(completion--string-equal-p): New function.
	(completion--twq-all): Use it to get better assertion failure data.

667 668 669 670 671 672 673 674 675 676
	Only handle ".." and '..' quoting in shell-mode (bug#11466).
	* shell.el (shell--unquote&requote-argument, shell--unquote-argument)
	(shell--requote-argument): New functions.
	(shell-completion-vars): Use them.
	(shell--parse-pcomplete-arguments): Rename from
	shell-parse-pcomplete-arguments.
	* comint.el (comint-word): Obey comint-file-name-quote-list.  Simplify.
	(comint--unquote&requote-argument): Don't handle ".." and '..' quoting.
	Obey comint-file-name-quote-list.

677 678 679
	* emacs-lisp/smie.el (smie-indent--bolp-1): New function.
	(smie-indent-keyword): Use it.

680 681 682 683
2012-05-14  Stefan Merten  <smerten@oekonux.de>

	* textmodes/rst.el (rst-re-alist): Fix loading (bug#11462).

684
2012-05-14  Stefan Monnier  <monnier@iro.umontreal.ca>
685 686 687

	* net/rlogin.el (rlogin-mode-map): Fix last change.

688
2012-05-14  Jason L. Wright  <jason.wright@inl.gov>  (tiny change)
689 690 691 692

	* mail/smtpmail.el (smtpmail-send-command): Send the command and
	the following \r\n using a single `process-send-string', since the
	Lotus SMTP server refuses to accept any commands if they are sent
693
	with two `process-send-string's (Bug#11444).
694

695
2012-05-14  Stefan Monnier  <monnier@iro.umontreal.ca>
696

697 698
	* shell.el (shell-parse-pcomplete-arguments):
	Obey pcomplete-arg-quote-list inside double-quoted args (Bug#11348).
699

700 701
2012-05-14  Wolfgang Jenkner  <wjenkner@inode.at>

702
	* image-mode.el: Fit to width/height for rotated images (Bug#11431).
703 704 705 706 707 708 709 710
	(image-transform-scale, image-transform-right-angle-fudge): New vars.
	(image-transform-width, image-transform-fit-width): New functions.
	(image-transform-properties): Use them.
	(image-transform-check-size): New function.
	(image-toggle-display-image): Use it (for testing).
	(image-transform-set-rotation): Reduce angle mod 360.
	Delete obsolete comment.

711 712 713 714 715 716 717
2012-05-14  Wolfgang Jenkner  <wjenkner@inode.at>

	* image-mode.el: Fix scaling (bug#11399).
	(image-transform-resize): Doc fix.
	(image-transform-properties): Default scale is 1 and height should
	be an integer.

Stefan Monnier's avatar
Stefan Monnier committed
718 719 720 721 722
2012-05-13  Johan Bockgård  <bojohan@gnu.org>

	* emacs-lisp/smie.el (smie-next-sexp): Use accessor `op-forw' rather
	than hard-coding `car', to fix misbehavior when moving forward.

723 724 725 726 727 728 729 730 731 732 733 734 735 736
2012-05-13  Chong Yidong  <cyd@gnu.org>

	* emacs-lisp/tabulated-list.el (tabulated-list-format)
	(tabulated-list-entries, tabulated-list-padding)
	(tabulated-list-sort-key): Make permanent-local.

	* ebuff-menu.el: Adapt to Buffer Menu changes (Bug#11455).
	(electric-buffer-list): Put electric buffer menu
	command descriptions in this docstring, instead of the docstring
	of electric-buffer-menu-mode.  Code cleanups.
	(electric-buffer-menu-mode): Use define-derived-mode.  Rename from
	Electric-buffer-menu-mode.
	(electric-buffer-update-highlight): Minor code cleanup.

737 738 739 740 741
2012-05-13  Michael Albinus  <michael.albinus@gmx.de>

	* net/dbus.el (dbus-call-method): Restore events not from D-Bus.
	(Bug#11447)

742 743 744 745 746 747 748 749 750 751 752 753 754 755 756 757 758 759 760 761 762 763 764 765 766 767 768 769 770 771 772 773 774 775 776
2012-05-13  Stefan Monnier  <monnier@iro.umontreal.ca>

	Move define-obsolete-variable-alias before the var's definition.
	* vc/log-edit.el (vc-comment-ring, vc-comment-ring-index):
	* tooltip.el (tooltip-hook):
	* textmodes/reftex-toc.el (reftex-toc-map):
	* textmodes/reftex-sel.el (reftex-select-label-map)
	(reftex-select-bib-map):
	* textmodes/reftex-index.el (reftex-index-map)
	(reftex-index-phrases-map):
	* speedbar.el (speedbar-syntax-table, speedbar-key-map):
	* progmodes/meta-mode.el (meta-mode-map):
	* novice.el (disabled-command-hook):
	* loadhist.el (unload-hook-features-list):
	* frame.el (blink-cursor):
	* files.el (find-file-not-found-hooks, write-file-hooks)
	(write-contents-hooks):
	* emulation/tpu-edt.el (GOLD-map):
	* emacs-lock.el (emacs-lock-from-exiting):
	* emacs-lisp/generic.el (generic-font-lock-defaults):
	* emacs-lisp/chart.el (chart-map):
	* dos-fns.el (register-name-alist):
	* dired-x.el (dired-omit-files-p):
	* desktop.el (desktop-enable):
	* cus-edit.el (custom-mode-hook):
	* buff-menu.el (buffer-menu-mode-hook):
	* bookmark.el (bookmark-read-annotation-text-func)
	(bookmark-exit-hooks):
	* allout.el (allout-mode-deactivate-hook)
	(allout-exposure-change-hook, allout-structure-added-hook)
	(allout-structure-deleted-hook, allout-structure-shifted-hook):
	* dirtrack.el (dirtrack-toggle, dirtrackp, dirtrack-debug-toggle)
	(dirtrack-debug): Move call to define-obsolete-variable-alias so it
	comes before the corresponding variable's definition.

777 778 779
2012-05-12  Chong Yidong  <cyd@gnu.org>

	* buff-menu.el (Buffer-menu-buffer+size-width): Doc fix (Bug#11454).
780 781 782
	(Buffer-menu-mouse-select): Restore function (Bug#11459).
	(Buffer-menu-mode-map): Bind it.
	(Buffer-menu--pretty-name): Add a mouse-face property.
783

784 785
2012-05-11  Stefan Monnier  <monnier@iro.umontreal.ca>

786 787 788 789 790 791 792 793 794 795 796 797 798 799
	* progmodes/prolog.el: Use SMIE.  Cleanup regexp setup.
	(prolog-upper-case-string, prolog-lower-case-string)
	(prolog-atom-char-regexp, prolog-atom-regexp): Initialize in defconst.
	(prolog-use-smie, prolog-smie-grammar): New vars.
	(prolog-smie-forward-token, prolog-smie-backward-token)
	(prolog-smie-rules): New funs.
	(prolog-comment-indent): Remove.
	(prolog-mode-variables): Use default comment indentation instead.
	Setup SMIE.
	(prolog-build-case-strings, prolog-set-atom-regexps): Remove.
	(prolog-mode): Don't call them any more.
	(prolog-electric-colon, prolog-electric-dash)
	(prolog-edit-menu-insert-move): Use indent-according-to-mode.

800 801
	* dabbrev.el (dabbrev-expand): Make "no expansion found" a user-error.

802 803
	* minibuffer.el (completion--twq-all): Again, allow case differences.

804 805 806 807 808
	* term.el: Move keymap initialization code to be more idiomatic.
	(term-signals-menu, term-mode-map, term-raw-map, term-raw-escape-map)
	(term-terminal-menu): Move initialization into declaration.
	(term-escape-char): Let the user set it in her .emacs.

809 810 811 812 813 814 815 816 817 818 819 820 821 822 823 824 825 826 827 828 829
	* progmodes/sh-script.el: Use post-self-insert-hook&electric-pair-mode.
	Provide SMIE-based indentation (not enabled by default yet).
	(sh-mode-map): Don't bind electric keys.
	Use electric-pair-mode instead of skeleton-pair.
	(sh-assignment-regexp): Fit within 80 columns.
	(sh-indent-supported): Specify actual shell name instead of boolean.
	(sh--maybe-here-document): New fun, from sh-maybe-here-document.
	(sh-maybe-here-document): Use it.  Make obsolete.
	(sh-electric-here-document-mode) New minor mode.
	(sh-mode): Use it.  Don't set sh-indent-supported-here here.
	(sh-smie-sh-grammar, sh-smie--sh-operators, sh-smie--sh-operators-re)
	(sh-smie--sh-operators-back-re, sh-indent-after-continuation)
	(sh-smie-rc-grammar, sh-use-smie): New vars.
	(sh-smie--keyword-p, sh-smie--newline-semi-p, sh-smie--sh-keyword-p)
	(sh-smie-sh-forward-token, sh-smie--looking-back-at-continuation-p)
	(sh-smie-sh-backward-token, sh-smie--continuation-start-indent)
	(sh-smie-sh-rules, sh-smie-rc-rules, sh-smie--sh-keyword-in-p)
	(sh-smie--rc-after-special-arg-p, sh-smie-rc-backward-token)
	(sh-smie-sh-rules, sh-smie--rc-newline-semi-p): New functions.
	(sh-set-shell): Use smie-setup if requested.

830 831 832
	* term.el (term-set-escape-char): Properly set term-escape-char.
	See http://stackoverflow.com/questions/10524656.

833 834 835 836 837 838 839 840 841 842 843 844 845 846
2012-05-10  Chong Yidong  <cyd@gnu.org>

	* ffap.el (ffap-url-unwrap-local): Make it work right (Bug#9131).
	Use url-generic-parse-url, and handle host names and Windows
	filenames properly.
	(ffap-url-unwrap-remote): Use url-generic-parse-url.
	(ffap-url-unwrap-remote): Accept list values, specifying a list of
	URL schemes to work on.
	(ffap--toggle-read-only): New function.
	(ffap-read-only, ffap-read-only-other-window)
	(ffap-read-only-other-frame): Use it.
	(ffap-fixup-url): Don't check ffap-ftp-regexp, since it is not
	necessary for ffap-url-unwrap-remote.

847 848 849 850
2012-05-10  Dave Abrahams  <dave@boostpro.com>

	* cus-start.el (create-lockfiles): Add it.

851 852 853 854 855
2012-05-09  Chong Yidong  <cyd@gnu.org>

	* net/browse-url.el (browse-url-url-encode-chars): Use upper-case.
	(browse-url-encode-url): Encode spaces and quotes (Bug#6300).

856
2012-05-09  Stefan Monnier  <monnier@iro.umontreal.ca>
857 858 859

	* shell.el (shell-completion-vars): Fix last change (bug#11348).

860
2012-05-09  Chong Yidong  <cyd@gnu.org>
861 862 863 864 865

	* ansi-color.el (ansi-color-process-output): Check for validity of
	comint-last-output-start before using it.  This avoids a bad
	interaction with gdb-mi's input/output buffer.

866
2012-05-09  Glenn Morris  <rgm@gnu.org>
867 868 869 870

	* files.el (dir-locals-read-from-file):
	Mention dir-locals in any error message.

871
2012-05-09  Chong Yidong  <cyd@gnu.org>
872 873 874 875

	* emacs-lisp/package.el (package-built-in-p): Handle the `emacs'
	package (Bug#11410).

876 877 878
	* emacs-lisp/package.el (package-buffer-info): Avoid putting local
	variables into description.

879
2012-05-09  Stefan Monnier  <monnier@iro.umontreal.ca>
880 881 882 883 884

	* shell.el (shell-completion-vars): Set pcomplete-arg-quote-list like
	shell-delimiter-argument-list (bug#11348).
	(shell-parse-pcomplete-arguments): Obey pcomplete-arg-quote-list.

885 886
2012-05-09  Juanma Barranquero  <lekktu@gmail.com>

887 888 889 890 891
	* textmodes/rst.el: Silence byte-compiler warnings.
	(rst-re-alist, rst-reset-section-caches): Move around.
	(rst-re): Use `characterp', not `char-valid-p'.
	(font-lock-beg, font-lock-end): Declare.

892 893 894
	* progmodes/idlw-shell.el (specs): Remove reference to deleted
	variable `idlwave-shell-activate-alt-keybindings' and simplify.

895 896
	* eshell/esh-cmd.el (eshell-debug-command): Fix typo in previous change.

897 898 899 900
2012-05-08  Glenn Morris  <rgm@gnu.org>

	* files.el (auto-mode-alist): Treat ".make" like ".mk".

901 902
2012-05-08  Stefan Monnier  <monnier@iro.umontreal.ca>

903 904 905 906 907 908 909
	* vc/log-edit.el: Add GNU coding standards highlighting.
	(log-edit-font-lock-gnu-style)
	(log-edit-font-lock-gnu-keywords): New vars.
	(log-edit-font-lock-keywords): New fun.
	(log-edit-mode): Don't fold case in font-lock.
	(log-edit-font-lock-keywords): Do not assume case-folding.

910 911 912 913 914 915 916 917
	* imenu.el: Misc cleanup.  Make docstrings out of comments.
	Use lexical-binding.
	(imenu--index-alist, imenu--last-menubar-index-alist)
	(imenu-menubar-modified-tick): Use defvar-local.
	(imenu--split-menu): Remove unused var.
	(imenu--cleanup-seen): Declare as global.
	(imenu--cleanup): Use dolist.

918 919
	* subr.el (defvar-local): Add debug spec and doc-string position.

920 921
2012-05-08  Glenn Morris  <rgm@gnu.org>

922 923 924 925 926 927 928 929
	* lisp/language/burmese.el, language/cham.el, language/czech.el:
	* language/english.el, language/georgian.el, language/greek.el:
	* language/japanese.el, language/khmer.el, language/korean.el:
	* language/lao.el, language/misc-lang.el, language/romanian.el:
	* language/sinhala.el, language/slovak.el, language/tai-viet.el:
	* language/thai.el, language/utf-8-lang.el:
	Remove no-byte-compile setting.

930 931
	* play/zone.el (zone-pgm-stress): Don't pollute kill-ring.  (Bug#11388)

932 933 934 935 936
2012-05-08  Aaron S. Hawley  <aaron.s.hawley@gmail.com>

	* progmodes/make-mode.el (makefile-browse):
	Remove unnecessary interactive.  (Bug#11324)

937 938
2012-05-07  Glenn Morris  <rgm@gnu.org>

939 940
	* forms-d2.el, forms-pass.el: Move to ../etc/forms directory.

941 942
	* international/mule.el (find-auto-coding): Make "unibyte: t" obsolete.

943 944
2012-05-07  Stefan Monnier  <monnier@iro.umontreal.ca>

945 946 947
	* loadup.el: Preload newcomment.el.
	* newcomment.el: Move autoload-only code to toplevel.

948 949 950 951 952 953
	* buff-menu.el (list-buffers--refresh): Mark `size' as right-align.
	* emacs-lisp/tabulated-list.el (tabulated-list-init-header):
	Handle new :right-align column property.
	(tabulated-list-print-col): Idem, plus use `display' text-property to
	try and preserve alignment for variable pitch fonts.

954 955 956 957 958 959 960 961 962 963 964 965 966
2012-05-07  Chong Yidong  <cyd@gnu.org>

	* emacs-lisp/tabulated-list.el: Add no-header-line alternative.
	(tabulated-list-use-header-line): New var.
	(tabulated-list-init-header): Use it.
	(tabulated-list-print-fake-header): New function.
	(tabulated-list-print): Use it.
	(tabulated-list-sort-button-map): Add non-header-line commands.
	(tabulated-list-init-header): Add column name property to basic
	labels as well.
	(tabulated-list-col-sort): Handle non-header-line button case.
	(tabulated-list--sort-by-column-name): Fix a corner case.

967 968
	* buff-menu.el (list-buffers--refresh):
	Handle Buffer-menu-use-header-line.
969

970 971 972 973 974 975 976 977 978 979 980 981 982 983 984 985 986 987
2012-05-06  Chong Yidong  <cyd@gnu.org>

	* buff-menu.el: Convert to Tabulated List mode.
	(Buffer-menu-buffer+size-width): Make obsolete.
	(Buffer-menu-name-width, Buffer-menu-size-width): New variables.
	(Buffer-menu-mode-map): Inherit from tabulated-list-mode-map.
	(Buffer-menu-mode): Derive from tabulated-list-mode.  Move command
	documentation into docstring of buffer-menu.
	(Buffer-menu-toggle-files-only): Add an informative message.
	(Buffer-menu-sort): Convert to alias for tabulated-list-sort.
	(Buffer-menu-buffer, Buffer-menu-beginning, Buffer-menu-mark)
	(Buffer-menu-unmark, Buffer-menu-backup-unmark)
	(Buffer-menu-delete, Buffer-menu-save, Buffer-menu-not-modified)
	(Buffer-menu-execute, Buffer-menu-select)
	(Buffer-menu-marked-buffers, Buffer-menu-toggle-read-only)
	(Buffer-menu-bury): Use Tabulated List machinery.
	(Buffer-menu-mouse-select, Buffer-menu-sort-by-column)
	(Buffer-menu-sort-button-map, Buffer-menu-make-sort-button):
988
	Delete.
989 990 991 992 993 994 995 996 997 998 999 1000
	(list-buffers--refresh): New function.
	(list-buffers-noselect): Use it.
	(tabulated-list-entry-size->, Buffer-menu--pretty-name)
	(Buffer-menu--pretty-file-name): New helper functions.

	* loadup.el: Preload tabulated-list.

	* emacs-lisp/tabulated-list.el (tabulated-list-sort): Rename from
	tabulated-list-sort-column.
	(tabulated-list-init-header): Add the initial aligning space even
	if tabulated-list-padding is zero.

1001 1002 1003 1004 1005
2012-05-06  Christopher Schmidt  <christopher@ch.ristopher.com>

	* emacs-lisp/cl-macs.el (cl-expr-contains): Handle cons cells
	whose cdr is not a cons cell correctly (bug#11038).

1006 1007
2012-05-06  Chong Yidong  <cyd@gnu.org>

1008 1009
	* emacs-lisp/tabulated-list.el (tabulated-list-format):
	Accept additional plist in column descriptors.
1010 1011 1012 1013 1014 1015
	(tabulated-list-init-header): Obey it.
	(tabulated-list-get-entry): New function.
	(tabulated-list-put-tag): Use it.  Use string-width instead of
	length.
	(tabulated-list--column-number): New function.
	(tabulated-list-print): Use it.
1016 1017
	(tabulated-list-print-col): New function.
	Set `tabulated-list-column-name' property on each column's text.
1018
	(tabulated-list-print-entry): Use it.
1019 1020
	(tabulated-list-delete-entry, tabulated-list-set-col):
	New functions.
1021 1022
	(tabulated-list-sort-column): New command (Bug#11337).

1023 1024 1025 1026 1027 1028
	* buff-menu.el (list-buffers): Move C-x C-b binding from
	buff-menu.el to bindings.el.

	* ebuff-menu.el (Electric-buffer-menu-undefined): Use the
	:advertised-binding feature.

1029 1030 1031 1032 1033 1034
2012-05-06  Troels Nielsen  <bn.troels@gmail.com>  (tiny change)

	* progmodes/compile.el (compilation-internal-error-properties):
	Calculate start position correctly when end-col is set but
	end-line is not (Bug#11382).

1035 1036 1037 1038 1039
2012-05-06  Wolfgang Jenkner  <wjenkner@inode.at>

	* man.el (Man-unindent): Use text-property-default-nonsticky to
	prevent untabify from inheriting face properties (Bug#11408).

1040 1041 1042 1043 1044 1045 1046 1047 1048 1049 1050 1051 1052 1053 1054 1055 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 1089 1090 1091 1092 1093 1094 1095 1096 1097 1098 1099 1100 1101 1102 1103 1104 1105 1106 1107 1108 1109 1110 1111 1112 1113 1114 1115 1116 1117 1118 1119 1120 1121 1122 1123 1124 1125 1126 1127 1128 1129 1130 1131 1132 1133 1134 1135 1136 1137 1138 1139 1140 1141 1142
2012-05-05  Stefan Merten  <smerten@oekonux.de>

	* textmodes/rst.el: Major merge with upstream development up to
	Docutils SVN r7399 / rst.el V1.2.1.

	Clarify maintainership and authors.

	(rst-extract-version, rst-cvs-header, rst-cvs-rev)
	(rst-cvs-timestamp, rst-svn-rev, rst-svn-timestamp)
	(rst-official-version, rst-official-cvs-rev, rst-version)
	(rst-package-emacs-version-alist): New functions and variables
	for version information.

	(rst-bullets, rst-uri-schemes, rst-adornment-chars)
	(rst-max-inline-length, rst-re-alist-def, rst-re-alist)
	(rst-mode-syntax-table, rst-mode): New and corrected functions
	and variables representing reStructuredText features.

	(rst-re): New function for reStructuredText regexes.  Use in
	many places.

	(rst-deprecated-keys, rst-call-deprecated, rst-define-key)
	(rst-mode-map): Rebind keys.

	(rst-mode-lazy, rst-font-lock-keywords)
	(rst-font-lock-extend-region)
	(rst-font-lock-extend-region-internal)
	(rst-font-lock-extend-region-extend)
	(rst-font-lock-find-unindented-line-limit)
	(rst-font-lock-find-unindented-line-match)
	(rst-adornment-level, rst-font-lock-adornment-level)
	(rst-font-lock-adornment-match)
	(rst-font-lock-handle-adornment-pre-match-form)
	(rst-font-lock-handle-adornment-matcher): Major revision of
	font-locking.  Integrate with other code.  Use `jit-lock-mode'.

	(rst-preferred-adornments, rst-adjust-hook)
	(rst-new-adornment-down, rst-preferred-bullets)
	(rst-preferred-bullets, rst-indent, rst-indent-width)
	(rst-indent-field, rst-indent-literal-normal)
	(rst-indent-literal-minimized, rst-indent-comment): Change,
	extend and improve customization.

	(rst-line-homogeneous-p, rst-line-homogeneous-nodent-p)
	(rst-normalize-cursor-position, rst-get-decoration)
	(rst-straighten-deco-spacing, rst-re-bullets, rst-re-items)
	(rst-rstrip, rst-toc-insert-find-delete-contents)
	(rst-shift-fill-region, rst-compute-bullet-tabs)
	(rst-debug-print-tabs, rst-debug-mark-found)
	(rst-shift-region-guts, rst-shift-region-right)
	(rst-shift-region-left, rst-use-char-classes)
	(rst-font-lock-keywords-function)
	(rst-font-lock-indentation-point)
	(rst-font-lock-find-unindented-line-begin)
	(rst-font-lock-find-unindented-line-end)
	(rst-font-lock-find-unindented-line)
	(rst-font-lock-adornment-point, rst-font-lock-level)
	(rst-adornment-level-alist): Remove functions and variables.

	(rst-compare-adornments, rst-get-adornment-match)
	(rst-suggest-new-adornment, rst-get-adornments-around)
	(rst-adornment-complete-p, rst-get-next-adornment)
	(rst-adjust-adornment, rst-display-adornments-hierarchy)
	(rst-straighten-adornments): Standardize function names to
	use "adornment" instead of "decoration".  Correct callers.
	Similar standardizing in many places.

	(rst-update-section, rst-adjust, rst-promote-region)
	(rst-enumerate-region, rst-bullet-list-region)
	(rst-repeat-last-character): Correct use of `interactive'.

	(rst-classify-adornment, rst-find-all-adornments)
	(rst-get-hierarchy, rst-adjust-adornment, rst-toc-update)
	(rst-find-leftmost-column, rst-repeat-last-character):
	Refactor functions.

	(rst-find-title-line, rst-reset-section-caches)
	(rst-get-adornments-around, rst-adjust-adornment-work)
	(rst-arabic-to-roman, rst-roman-to-arabic)
	(rst-insert-list-pos, rst-insert-list-new-item)
	(rst-insert-list-continue, rst-insert-list, rst-forward-line):
	New functions.

	(rst-all-sections, rst-section-hierarchy)
	(rst-arabic-to-roman, rst-initial-enums, rst-initial-items):
	New variables.

	(rst-toc-return-wincfg, rst-toc-quit-window): Use window
	configuration instead of only buffer.  Change where necessary.

	(rst-line-tabs, rst-compute-tabs, rst-indent-line)
	(rst-shift-region, rst-adaptive-fill): New functions for
	indentation and filling.

	(rst-comment-line-break, rst-comment-indent)
	(rst-comment-insert-comment, rst-comment-region)
	(rst-uncomment-region): New functions for handling comments.

	(rst-compile): Quote shell arguments.

	(rst-compile-pdf-preview, rst-compile-slides-preview):
	Delete temporary files after use.

1143 1144
2012-05-05  Glenn Morris  <rgm@gnu.org>

1145 1146 1147 1148 1149 1150 1151 1152 1153 1154
	* calendar/cal-html.el: Optionally include holidays in the output.
	Suggested by Ed Reingold <reingold@emr.cs.iit.edu>.
	(cal-html-holidays): New option.
	(cal-html-css-default): Add holiday entry.
	(holiday-in-range): Autoload it.
	(cal-html-htmlify-entry): Add optional class argument.
	(cal-html-htmlify-list): Add optional holidays argument.
	(cal-html-insert-agenda-days): Include holidays in the output.
	(cal-html-one-month): Maybe include holidays.

1155 1156 1157 1158 1159
	* calendar/holidays.el (holiday-in-range):
	Move here from cal-tex-list-holidays.
	* calendar/cal-tex.el (cal-tex-list-holidays):
	Make it an obsolete alias for holiday-in-range.  Update all callers.

Glenn Morris's avatar
Glenn Morris committed
1160
2012-05-05  Chong Yidong  <cyd@gnu.org>
1161 1162 1163 1164

	* select.el (xselect--encode-string): Always use utf-8 for TEXT on
	Nextstep.

1165 1166 1167 1168 1169
2012-05-05  Ransom Williams  <auvergnerw@gmail.com>  (tiny change)

	* files.el (file-auto-mode-skip): New var.
	(set-auto-mode-1): Use it.

1170 1171
2012-05-05  Stefan Monnier  <monnier@iro.umontreal.ca>

1172 1173 1174 1175 1176 1177 1178 1179 1180
	* repeat.el: Use lexical-binding.
	(repeat-last-self-insert, repeat-num-input-keys-at-self-insert)
	(repeat-undo-count): Remove.
	(repeat):
	* progmodes/octave-mod.el (octave-abbrev-start):
	* progmodes/f90.el (f90-abbrev-start):
	* face-remap.el (text-scale-adjust):
	* kmacro.el (kmacro-call-macro): Use set-temporary-overlay-map.

1181 1182 1183 1184 1185 1186 1187
	* emacs-lisp/pcase.el (pcase--let*): New function.
	(pcase--expand, pcase-codegen, pcase--q1): Use it to reduce nesting
	a bit more.
	(pcase--split-pred): Be more clever about ruling out overlap between
	a predicate and some constant pattern.
	(pcase--q1): Use `null' instead of (eq foo nil).

1188 1189 1190 1191 1192
	* subr.el (setq-local, defvar-local): New macros.
	(kbd): Redefine as an alias.
	(with-selected-window): Leave unrelated frames alone.
	(set-temporary-overlay-map): New function.

1193 1194 1195 1196 1197 1198 1199 1200 1201 1202 1203 1204 1205 1206 1207 1208 1209 1210 1211 1212 1213 1214 1215 1216 1217 1218 1219 1220 1221 1222 1223 1224 1225 1226 1227 1228 1229 1230 1231 1232 1233 1234 1235 1236 1237
2012-05-04  Stefan Monnier  <monnier@iro.umontreal.ca>

	* subr.el (user-error): New function.
	* window.el (switch-to-buffer):
	* vc/smerge-mode.el (smerge-resolve-function, smerge-resolve)
	(smerge-match-conflict):
	* simple.el (previous-matching-history-element)
	(next-matching-history-element, goto-history-element, undo-more)
	(undo-start):
	* progmodes/etags.el (visit-tags-table-buffer, find-tag-tag)
	(find-tag-noselect, find-tag-in-order, etags-goto-tag-location)
	(next-file, tags-loop-scan, list-tags, complete-tag):
	* progmodes/compile.el (compilation-loop):
	* mouse.el (mouse-minibuffer-check):
	* man.el (Man-bgproc-sentinel, Man-goto-page):
	* info.el (Info-find-node-2, Info-extract-pointer, Info-history-back)
	(Info-history-forward, Info-follow-reference, Info-menu)
	(Info-extract-menu-item, Info-extract-menu-counting)
	(Info-forward-node, Info-backward-node, Info-next-menu-item)
	(Info-last-menu-item, Info-next-preorder, Info-last-preorder)
	(Info-next-reference, Info-prev-reference, Info-index)
	(Info-index-next, Info-follow-nearest-node)
	(Info-copy-current-node-name):
	* imenu.el (imenu--make-index-alist)
	(imenu-default-create-index-function, imenu-add-to-menubar):
	* files.el (basic-save-buffer, recover-file):
	* emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
	* emacs-lisp/checkdoc.el (checkdoc-continue, checkdoc-comments)
	(checkdoc-message-text, checkdoc-defun):
	* dabbrev.el (dabbrev-completion, dabbrev--abbrev-at-point):
	* cus-edit.el (customize-changed-options, customize-rogue)
	(customize-saved, custom-variable-set, custom-variable-mark-to-save)
	(custom-variable-mark-to-reset-standard)
	(custom-variable-reset-backup, custom-face-mark-to-reset-standard)
	(custom-file):
	* completion.el (check-completion-length):
	* comint.el (comint-search-arg)
	(comint-previous-matching-input-string-position)
	(comint-previous-matching-input)
	(comint-replace-by-expanded-history-before-point, comint-send-input)
	(comint-copy-old-input, comint-backward-matching-input)
	(comint-goto-process-mark, comint-set-process-mark):
	* calendar/calendar.el (calendar-cursor-to-date): Use it.
	* bindings.el (debug-ignored-errors): Remove regexps, add `user-error'.

1238 1239
2012-05-04  Stefan Monnier  <monnier@iro.umontreal.ca>

1240 1241 1242 1243
	* dabbrev.el (dabbrev--ignore-case-p): New function.
	(dabbrev-completion, dabbrev-expand, dabbrev--substitute-expansion):
	Use it.

1244 1245
	* files.el (automount-dir-prefix): Mark as obsolete.

1246 1247 1248 1249
2012-05-04  Glenn Morris  <rgm@gnu.org>

	* patcomp.el, play/bruce.el: Move to obsolete/.

Paul Eggert's avatar
Paul Eggert committed
1250 1251 1252 1253 1254 1255 1256 1257 1258 1259 1260 1261
2012-05-04  Paul Eggert  <eggert@cs.ucla.edu>

	Fix minor Y10k bugs.
	* arc-mode.el (archive-unixdate):
	* autoinsert.el (auto-insert-alist):
	* calc/calc-forms.el (math-this-year):
	* emacs-lisp/copyright.el (copyright-current-year)
	(copyright-update-year, copyright):
	* tar-mode.el (tar-clip-time-string):
	* time.el (display-time-update):
	Don't assume years have 4 digits.

1262 1263 1264 1265 1266 1267 1268 1269 1270 1271 1272 1273 1274 1275 1276 1277 1278 1279 1280 1281 1282 1283 1284 1285 1286 1287 1288 1289
2012-05-04  Chong Yidong  <cyd@gnu.org>

	* dos-w32.el (file-name-buffer-file-type-alist)
	(direct-print-region-use-command-dot-com):
	* ffap.el (ffap-menu-regexp):
	* find-file.el (ff-special-constructs):
	* follow.el (follow-debug):
	* forms.el (forms--debug):
	* iswitchb.el (iswitchb-all-frames):
	* ido.el (ido-all-frames):
	* emacs-lisp/timer.el (timer-max-repeats):
	* mail/feedmail.el (feedmail-mail-send-hook)
	(feedmail-mail-send-hook-queued):
	* mail/footnote.el (footnote-signature-separator):
	* mail/mailabbrev.el (mail-alias-separator-string)
	(mail-abbrev-mode-regexp):
	* mail/rmail.el (rmail-speedbar-match-folder-regexp):
	* progmodes/idlwave.el (idlwave-libinfo-file)
	(idlwave-default-completion-case-is-down)
	(idlwave-library-routines): Convert defvars to defcustoms.

	* mail/rmail.el (rmail-decode-mime-charset):
	* progmodes/idlw-shell.el (idlwave-shell-print-expression-function)
	(idlwave-shell-fix-inserted-breaks)
	(idlwave-shell-activate-alt-keybindings)
	(idlwave-shell-use-breakpoint-glyph):
	* facemenu.el (facemenu-unlisted-faces): Delete obsolete vars.

1290 1291 1292 1293
2012-05-03  Stefan Monnier  <monnier@iro.umontreal.ca>

	* minibuffer.el (completion--twq-all): Beware completion-ignore-case.

1294 1295 1296 1297 1298 1299 1300 1301 1302 1303 1304 1305 1306 1307 1308 1309 1310 1311 1312 1313 1314 1315 1316 1317 1318 1319 1320 1321 1322 1323 1324 1325 1326 1327 1328 1329 1330 1331 1332 1333 1334 1335 1336 1337 1338 1339 1340 1341 1342 1343 1344 1345 1346 1347 1348 1349 1350 1351 1352 1353 1354 1355
2012-05-03  Wilson Snyder  <wsnyder@wsnyder.org>

	* progmodes/verilog-mode.el (font-lock-keywords):
	Fix mis-highligting auto.  Reported by Craig Barner.
	(verilog-auto, verilog-auto-undef): Add AUTOUNDEF to remove
	defines from global name space. Reported by Dan Dever.
	(verilog-auto-reset, verilog-auto-reset-widths)
	(verilog-auto-tieoff): Support using unbased numbers for
	AUTORESET and AUTOTIEOFF.
	(verilog-submit-bug-report): Update variable list.
	(verilog-read-auto-params): Fix AUTOINPUT regexps containing
	parenthesis from not matching. Reported by Michael Rytting.
	(verilog-auto-template-lint): Fix hash error when linting modules
	with no used templates.
	(verilog-warn, verilog-warn-error)
	(verilog-warn-fatal): When non-interactive report multiple
	warnings before exiting.  Suggested by Brad Dobbie.
	(verilog-auto-template-lint, verilog-auto-template-warn-unused)
	(verilog-read-auto-template): Add `verilog-auto-template-warn-unused'
	to report unused template errors.  Reported by Brad Dobbie.
	(verilog-read-decls): Fix AUTOWIRE etc on supply0, supply1 type
	nets, bug438. Reported by Vns Blore.
	(verilog-auto-inout-module, verilog-auto-reg)
	(verilog-read-decls, verilog-read-sub-decls-sig)
	(verilog-signals-edit-wire-reg, verilog-signals-with):
	Fix passing of Verilog data types in ANSI input/output ports
	such as "output logic" into the AUTOs. Special case "wire" and
	"reg" for backwards compatibility presuming Verilog 2001.
	(verilog-auto-ascii-enum): Add "auto enum" as alias.
	(verilog-preprocess): Fix replication of preprocess output.
	Reported by Brad Dobbie.
	(verilog-auto-inst-interfaced-ports):
	Create verilog-auto-inst-interfaced-ports, bug429.
	Reported by Julian Gorfajn.
	(verilog-after-save-font-hook)
	(verilog-before-save-font-hook): New variable.
	(verilog-modi-cache-results, verilog-save-font-mod-hooked)
	(verilog-save-font-mods): Wrap disabling fontification, reported
	by David Rogoff.
	(verilog-do-indent, verilog-pretty-declarations-auto)
	(verilog-sk-def-reg): Fix obeying `verilog-auto-lineup', bug305.
	Reported by Pierre-David Pfister.
	(verilog-set-auto-endcomments): Fix endtask auto comments outside
	of class declarations, bug292.  Reported by Kevin Heilman.
	(verilog-read-decls): Fix 'parameter type' not appearing in
	AUTOINSTPARAM, bug340.  Reported by Jonathan Greenlaw.
	(verilog-auto-logic): Fix when AUTOLOGIC present to properly do
	AUTOINPUTs, bug411. Reported by Jonathan Greenlaw.
	(verilog-read-auto-lisp): Avoid syntax-ppss warning on AUTOLISP.
	Reported by David Kravitz.

2012-05-03  Michael McNamara  <mac@mail.brushroad.com>

	* progmodes/verilog-mode.el (verilog-pretty-expr): Don't line up
	assignment with tests in ifs and for loops.
	(verilog-extended-complete-re, verilog-complete-reg): Change so
	that DPI inport functions don't look like fuction declarations.
	(verilog-pretty-expr): Don't line up assignment
	operations to the test and increment in if and for loops
	(verilog-extended-complete-re, verilog-complete-reg): Change so
	that DPI inport functions don't look like fuction declarations

1356 1357 1358
2012-05-03  Kenichi Handa  <handa@m17n.org>

	* mail/rmailmm.el (rmail-show-mime): Catch an error caused by text
Paul Eggert's avatar
Paul Eggert committed
1359
	decoding, and show a warning message without signaling an error
1360 1361
	(Bug#11282).

Stefan Monnier's avatar
Stefan Monnier committed
1362 1363 1364 1365 1366 1367 1368 1369
2012-05-03  Stefan Monnier  <monnier@iro.umontreal.ca>

	* emacs-lisp/bytecomp.el
	(byte-compile-file-form-custom-declare-variable): Compile all elements,
	since cconv.el might have introduced :fun-body, internal-make-closure,
	and friends for bytecomp to handle (bug#11391).
	* custom.el (defcustom): Avoid ((λ ..) ..).

1370 1371 1372 1373
2012-05-02  Stefan Monnier  <monnier@iro.umontreal.ca>

	* subr.el (read-passwd): Better clean after ourselves (bug#11392).

1374 1375 1376 1377 1378 1379
2012-05-02  Juanma Barranquero  <lekktu@gmail.com>

	* notifications.el (dbus-debug):
	* term/linux.el (gpm-mouse-enable):
	* term/screen.el (xterm-register-default-colors): Declare.

1380 1381
2012-05-02  Chong Yidong  <cyd@gnu.org>

1382 1383 1384 1385 1386 1387
	* cus-start.el (gc-cons-percentage, exec-suffixes)
	(dos-display-scancodes, dos-hyper-key, dos-super-key)
	(dos-keypad-mode, debug-on-signal, vertical-centering-font-regexp)
	(make-cursor-line-fully-visible, void-text-area-pointer)
	(font-list-limit): Add customization data.

1388 1389 1390 1391 1392
	* allout.el (allout-exposure-change-functions)
	(allout-structure-added-functions)
	(allout-structure-deleted-functions)
	(allout-structure-shifted-functions): Rename abnormal hooks from
	*-hook, and convert to defcustoms.
Juanma Barranquero's avatar
Juanma Barranquero committed
1393 1394
	(allout-after-copy-or-kill-hook, allout-post-undo-hook):
	Convert to defcustoms.
1395 1396 1397 1398
	(allout-mode-hook, allout-mode-deactivate-hook): Doc fix.

	* allout-widgets.el: Hook callers changed.

1399
2012-05-02  Eli Zaretskii  <eliz@gnu.org>
1400 1401 1402 1403 1404

	* mail/rmail.el (rmail-yank-current-message): Use the encoding of
	the yanked message in preference to the default value of
	buffer-file-coding-system.

1405
2012-05-02  Martin Rudalics  <rudalics@gmx.at>
1406

Juanma Barranquero's avatar
Juanma Barranquero committed
1407 1408
	* window.el (display-buffer--action-function-custom-type):
	Fix entry.
1409

1410
2012-05-02  Alan Mackenzie  <acm@muc.de>
1411 1412 1413

	* progmodes/cc-defs.el (c-version): Update to 5.32.3.

1414 1415
2012-05-01  Glenn Morris  <rgm@gnu.org>

1416 1417
	* cus-start.el (suggest-key-bindings): Remove, now it is in Lisp.

1418 1419
	* eshell/esh-cmd.el (eshell-debug-command): Doc fix.  Add :set.

1420 1421
	* cus-edit.el (custom-variable-documentation): Simplify with format.

1422 1423 1424 1425 1426 1427
2012-05-01  Aaron S. Hawley  <aaron.s.hawley@gmail.com>
            Stefan Monnier  <monnier@iro.umontreal.ca>

	* simple.el (suggest-key-bindings, execute-extended-command):
	Move from keyboard.c.

1428 1429 1430 1431 1432
2012-05-01  Chong Yidong  <cyd@gnu.org>

	* follow.el: Eliminate advice.
	(set-process-filter, process-filter, sit-for): Advice deleted.
	(follow-mode-off-hook): Obsolete hook removed.
1433 1434
	(follow-avoid-tail-recenter-p, follow-process-filter-alist):
	Vars deleted.
1435 1436 1437 1438 1439 1440 1441 1442 1443 1444 1445 1446 1447 1448 1449 1450 1451 1452 1453 1454
	(follow-auto): Use a :set function.
	(follow-mode): Rewritten.  Don't advise process filters.
	(follow-switch-to-current-buffer-all, follow-scroll-up)
	(follow-scroll-down): Assume follow-mode is bound.
	(follow-comint-scroll-to-bottom)
	(follow-align-compilation-windows): New functions.
	(follow--window-sorter): New function.
	(follow-all-followers): Use it to explicitly sort windows by their
	positions; don't make assumptions about next-window order.
	(follow-windows-start-end, follow-delete-other-windows-and-split)
	(follow-calc-win-start): Doc fix.
	(follow-windows-aligned-p, follow-select-if-visible): Don't call
	vertical-motion unnecessarily.
	(follow-adjust-window): New function.
	(follow-post-command-hook): Use it.
	(follow-call-set-process-filter, follow-call-process-filter)
	(follow-intercept-process-output, follow-tidy-process-filter-alist)
	(follow-stop-intercept-process-output, follow-generic-filter):
	Functions deleted.
	(follow-scroll-bar-toolkit-scroll, follow-scroll-bar-drag)
1455 1456
	(follow-scroll-bar-scroll-up, follow-scroll-bar-scroll-down):
	New functions, replacing advice on scroll-bar-* commands.
1457
	(follow-mwheel-scroll): New function (Bug#4112).
1458 1459

	* comint.el (comint-adjust-point): New function.
1460 1461
	(comint-postoutput-scroll-to-bottom): Use it.
	Call follow-comint-scroll-to-bottom for Follow mode buffers.
1462

1463 1464 1465 1466 1467 1468 1469 1470 1471
2012-05-01  Glenn Morris  <rgm@gnu.org>

	* term/AT386.el, term/apollo.el, term/bobcat.el, term/cygwin.el:
	* term/iris-ansi.el, term/linux.el, term/lk201.el, term/news.el:
	* term/screen.el, term/vt102.el, term/vt125.el, term/vt200.el:
	* term/vt201.el, term/vt220.el, term/vt240.el, term/vt300.el:
	* term/vt320.el, term/vt400.el, term/vt420.el, term/wyse50.el:
	Remove no-byte-compile setting.

1472 1473 1474 1475 1476
2012-05-01  Stefan Monnier  <monnier@iro.umontreal.ca>

	* minibuffer.el (completion-table-with-quoting): Fix compatibility
	all-completions code to not return a number in the last cdr.

1477 1478 1479 1480 1481
2012-04-30  Leo Liu  <sdl.web@gmail.com>

	* ibuf-ext.el (ibuffer-diff-buffer-with-file-1): Avoid buffer
	read-only error.

1482 1483 1484 1485 1486 1487
2012-04-29  Chong Yidong  <cyd@gnu.org>

	* follow.el (follow-calc-win-end): Rewrite to handle partial
	screen lines correctly (Bug#8390).
	(follow-avoid-tail-recenter): Minor cleanup.

1488 1489 1490 1491 1492 1493 1494 1495 1496 1497 1498 1499 1500 1501
2012-04-28  Stefan Monnier  <monnier@iro.umontreal.ca>

	Avoid the obsolete `assoc' package.
	* speedbar.el (speedbar-refresh): Avoid adelete.
	(speedbar-file-lists): Simplify and avoid aput.
	* man.el (Man--sections, Man--refpages): New vars, replacing
	Man-sections-alist and Man-refpages-alist.
	(Man-build-section-alist, Man-build-references-alist):
	Use them; avoid aput.
	(Man--last-section, Man--last-refpage): New vars.
	(Man-follow-manual-reference): Use them.
	Use the `default' arg of completing-read.
	(Man-goto-section): Idem.  Move prompt to the `interactive' spec.

1502 1503
2012-04-27  Chong Yidong  <cyd@gnu.org>

1504 1505
	* vc/diff.el (diff-sentinel): Go to bob (Bug#10259).

1506 1507 1508 1509 1510 1511 1512 1513
	* startup.el (x-apply-session-resources): New function.

	* term/ns-win.el (ns-initialize-window-system):
	* term/w32-win.el (w32-initialize-window-system):
	* term/x-win.el (x-initialize-window-system): Use it to properly
	set menu-bar-mode and other vars from X resources, even if the
	initial frame is not a window-system frame (Bug#2299).

1514 1515 1516
	* subr.el (read-key): Avoid running filter function when setting
	up temporary tool bar entries (Bug#9922).

1517
2012-04-27  Andreas Schwab  <schwab@linux-m68k.org>
Andreas Schwab's avatar
Andreas Schwab committed
1518 1519 1520 1521

	* vc/vc-git.el (vc-git-state): Fix regexp matching diff output.
	(Bug#11344)

1522
2012-04-27  Chong Yidong  <cyd@gnu.org>
1523 1524 1525 1526 1527 1528 1529 1530

	* select.el (xselect--encode-string): New function, split from
	xselect-convert-to-string.
	(xselect-convert-to-string): Use it.
	(xselect-convert-to-filename, xselect-convert-to-os)
	(xselect-convert-to-host, xselect-convert-to-user): Ensure that
	returned strings are properly encoded (Bug#11315).

1531
2012-04-27  Chong Yidong  <cyd@gnu.org>
1532 1533 1534

	* simple.el (delete-active-region): Move to killing custom group.

1535
2012-04-27  Andreas Schwab  <schwab@linux-m68k.org>
1536 1537 1538 1539

	* progmodes/which-func.el (which-func-current): Quote %
	characters for mode-line processing.

1540
2012-04-27  Chong Yidong  <cyd@gnu.org>
Chong Yidong's avatar