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

	* minibuffer.el (completion--all-sorted-completions-location): New var.
	(completion--cache-all-sorted-completions)
	(completion--flush-all-sorted-completions): Use it.
	(completion-in-region, completion-in-region--postch)
	(completion-at-point, completion-help-at-point): Use markers in
	completion-in-region--data (bug#12619).

10 11
2012-10-23  Stefan Monnier  <monnier@iro.umontreal.ca>

12 13 14
	* progmodes/compile.el (compilation-start): Try to handle common
	quoting of `cd' argument (bug#12640).

15 16 17
	* vc/diff-mode.el (diff-hunk): `save-excursion' while refining
	(bug#12671).

18 19 20 21 22
2012-10-23  Glenn Morris  <rgm@gnu.org>

	* progmodes/gud.el (gud-menu-map):
	Check gdb-active-process is bound.  (Bug#12358)

Stefan Monnier's avatar
Stefan Monnier committed
23 24
2012-10-23  Stefan Monnier  <monnier@iro.umontreal.ca>

25 26
	* repeat.el (repeat): Set real-this-command (bug#12232).

Stefan Monnier's avatar
Stefan Monnier committed
27 28 29 30 31 32 33 34 35 36 37 38 39 40
	* htmlfontify.el (hfy-post-html-hook):
	* filesets.el (filesets-cache-fill-content-hook):
	* arc-mode.el (archive-extract-hook):
	* progmodes/cc-mode.el (c-prepare-bug-report-hook):
	* net/rcirc.el (rcirc-sentinel-functions)
	(rcirc-receive-message-functions, rcirc-activity-functions)
	(rcirc-print-functions):
	* net/dbus.el (dbus-event-error-functions):
	* emacs-lisp/eieio.el (eieio-pre-method-execution-functions):
	* emacs-lisp/checkdoc.el (checkdoc-style-functions)
	(checkdoc-comment-style-functions): Don't use "-hooks" suffix.
	* term/sun.el (sun-raw-prefix-hooks):
	* mail/sendmail.el (mail-yank-hooks): Use make-obsolete-variable.

41 42
2012-10-23  Michael Albinus  <michael.albinus@gmx.de>

Stefan Monnier's avatar
Stefan Monnier committed
43 44
	* net/tramp-smb.el (tramp-smb-maybe-open-connection):
	Set `tramp-chunksize' to 1.  This improves the performance.
45 46 47
	(tramp-smb-wait-for-output): Add timeout to
	`tramp-accept-process-output' calls.

48 49
2012-10-23  Chong Yidong  <cyd@gnu.org>

50 51 52 53 54
	* faces.el (font-list-limit): Define as an obsolete variable.

	* startup.el (command-line):
	* cus-start.el: Don't refer to font-list-limit.

55 56
	* newcomment.el (comment-normalize-vars): Doc fix (Bug#12583).

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

	* subr.el (internal-temp-output-buffer-show): Rename from
	temp-output-buffer-show, since previously compiled files expect this name.

62 63 64 65 66
2012-10-23  Glenn Morris  <rgm@gnu.org>

	* image.el (image-type-from-file-name): If multiple types match,
	return the first one that is supported.  (Bug#9045)

67 68 69 70
2012-10-22  Glenn Morris  <rgm@gnu.org>

	* image.el (imagemagick-enabled-types): Doc fix.

71 72 73 74 75
2012-10-22  Takafumi Arakaki  <aka.tkf@gmail.com>  (tiny change)

	* progmodes/which-func.el (which-func-current): The hash-table may have
	an explicit nil (bug#12338).

76 77 78 79 80 81 82 83 84 85 86 87 88 89
2012-10-22  Stefan Monnier  <monnier@iro.umontreal.ca>

	* electric.el (electric-pair-delete-selection-self-insert-function):
	Rename to electric-pair-will-use-region, return a boolean.
	(electric-pair-mode): Adjust accordingly.  Don't require delsel.

	* delsel.el (delete-selection-helper): Use a function instead of a hook.
	(delete-selection-pre-hook): Use use-region-p.
	(delete-selection-self-insert-function): Remove.
	(self-insert-command): Obey self-insert-uses-region-functions.
	(self-insert-iso): Revert to previous setting, since we don't actually
	know what that command does.
	(delete-selection-self-insert-hooks): Remove.

90 91 92 93 94 95 96 97 98 99 100 101 102 103 104
2012-10-22  Simon Law  <sfllaw@sfllaw.ca>  (tiny change)

	* delsel.el (delete-selection-helper): New function, extracted from
	delete-selection-pre-hook.
	(delete-selection-pre-hook): Use it.
	(delete-selection-self-insert-function): New function.
	(delete-selection-self-insert-hooks): New hook.
	(self-insert-command, self-insert-iso): Use it.
	* electric.el (electric-pair-syntax): New function, extracted from
	electric-pair-post-self-insert-function.
	(electric-pair-post-self-insert-function): Use it.
	(electric-pair-delete-selection-self-insert-function): New function.
	(electric-pair-mode): Require delsel and setup
	delete-selection-self-insert-hooks (bug#11520).

Chong Yidong's avatar
Chong Yidong committed
105 106
2012-10-20  Chong Yidong  <cyd@gnu.org>

107 108 109
	* vc/vc.el (vc-diff-internal): Set up Diff mode even if there are
	no changes to show (Bug#12586).

Chong Yidong's avatar
Chong Yidong committed
110 111 112
	* eshell/esh-cmd.el (eshell-rewrite-for-command): Copy the body
	list explicitly (Bug#12571).

Chong Yidong's avatar
Chong Yidong committed
113
2012-10-20  Arne Jørgensen  <arne@arnested.dk>
114

115 116
	* progmodes/flymake.el (flymake-create-temp-inplace):
	Use file-truename.
117

118 119 120 121
2012-10-20  Eli Zaretskii  <eliz@gnu.org>

	* loadup.el: Update comment about uncompiled Lisp files.  (Bug#12395)

122 123 124 125 126
2012-10-20  Jay Belanger  <jay.p.belanger@gmail.com>

	* calc/calc-units.el (math-extract-units): Properly extract powers
	of units.

127 128 129 130 131 132
2012-10-20  Daniel Colascione  <dancol@dancol.org>

	* frame.el (make-frame): Set x-display-name as we used to in order
	to unbreak creating an X11 frame from an Emacs daemon started
	without a display.

133 134 135 136 137
2012-10-19  Stefan Monnier  <monnier@iro.umontreal.ca>

	* minibuffer.el (minibuffer-force-complete): Make the next completion use
	the same completion-field (bug@12221).

138 139 140 141 142
2012-10-19  Martin Rudalics  <rudalics@gmx.at>

	* emacs-lisp/debug.el (debug): Record height of debugger window
	also when debugger will be back (Bug#8789).

143 144 145 146 147 148 149 150 151
2012-10-18  Chong Yidong  <cyd@gnu.org>

	* progmodes/gdb-mi.el (gdb-display-buffer-other-frame-action):
	Convert to defcustom.
	(gdb-get-source-file): Don't bind pop-up-windows.

	* progmodes/gud.el (gud-display-line): Don't specially re-use
	other frames for the gdb-mi case (Bug#12648).

152 153
2012-10-18  Stefan Monnier  <monnier@iro.umontreal.ca>

154 155 156 157
	* emacs-lisp/advice.el: Clean up commentary a bit.
	(ad-do-advised-functions, ad-with-originals): Use `declare'.
	(byte-code-function-p): Never redefine.

158 159
	* emacs-lisp/gv.el (cond): Same fix as before for `if'.

160 161
2012-10-18  Glenn Morris  <rgm@gnu.org>

162 163 164
	* dired.el (dired-sort-toggle): Some ls implementations only allow
	a single option string.  (Bug#12666)

165 166
	* minibuffer.el (completion-cycle-threshold): Doc fix.

167 168
2012-10-17  Kenichi Handa  <handa@gnu.org>

169 170
	* international/mule.el (set-keyboard-coding-system):
	Recover input meta mode when the new coding system doesn not use 8-bit.
171 172
	Supply TERMINAL arg to set-input-meta-mode.

173 174 175 176 177 178 179
2012-10-17  Michael Heerdegen <michael_heerdegen@web.de>  (tiny change)

	* wdired.el (wdired-old-marks): New variable.
	(wdired-change-to-wdired-mode): Locally set wdired-old-marks.
	(wdired-do-renames): Move point with renamed file and don't lose
	mark status (Bug#11795).

180 181 182 183 184
2012-10-16  Juri Linkov  <juri@jurta.org>

	* replace.el (query-replace-help): Mention multi-buffer replacement
	keys in the Help message.  (Bug#12655)

185 186 187 188
2012-10-15  Chong Yidong  <cyd@gnu.org>

	* emacs-lisp/byte-run.el (defsubst): Doc fix.

189 190
2012-10-14  Eli Zaretskii  <eliz@gnu.org>

191 192
	* window.el (display-buffer): Doc fix.

193 194 195 196 197 198
	* progmodes/compile.el (compilation-error-regexp-alist-alist):
	Adjust the msft regexp to the output of Studio 2010, and move msft
	before edg-1.  See the discussion on emacs-devel,
	http://lists.gnu.org/archive/html/emacs-devel/2012-09/msg00579.html,
	for the details.

199 200
2012-10-14  Stefan Monnier  <monnier@iro.umontreal.ca>

201 202 203
	* emacs-lisp/eieio.el (eieio-oset-default, eieio-oset, oset-default)
	(oset): Move uses of object-class-fast macro after its definition.

204 205
	* emacs-lisp/gv.el (if): Don't use closures in non-lexical-binding code.

206 207 208 209 210
2012-10-13  Chong Yidong  <cyd@gnu.org>

	* textmodes/ispell.el (ispell-pdict-save): If flyspell-mode is
	enabled, re-enable it (Bug#11963).

211 212 213 214 215
2012-10-13  Martin Rudalics  <rudalics@gmx.at>

	* emacs-lisp/debug.el (debug): When debugger-will-be-back is
	non-nil, restore window configuration (Bug#12623).

216 217
2012-10-12  Stefan Monnier  <monnier@iro.umontreal.ca>

218 219 220
	* help-fns.el (describe-variable, describe-function-1):
	* help-mode.el (help-make-xrefs): Remove error handler, made unneeded.

221 222
	* emacs-lisp/eieio.el (lisp-imenu-generic-expression): Fix typo.

223 224 225 226 227
2012-10-12  Glenn Morris  <rgm@gnu.org>

	* mail/rmailsum.el (rmail-header-summary):
	Fix 2010-11-26 test for multiline Subject: field.  (Bug#12625)

228 229
2012-10-12  Fabián Ezequiel Gallina  <fgallina@cuca>

230 231
	* progmodes/python.el (python-mode-map):
	Replace subtitute-key-definition with proper command remapping.
232 233
	(python-nav--up-list): Fix behavior for blocks on the same level.

234 235
2012-10-11  Stefan Monnier  <monnier@iro.umontreal.ca>

236 237
	* help-fns.el (describe-function-1): Handle autoloads w/o docstrings.

238 239 240
	* emacs-lisp/bytecomp.el (byte-compile-eval): Adjust to long-ago
	changes to the format of load-history.

241 242 243
	* international/mule-cmds.el (read-char-by-name): Move let-binding of
	completion-ignore-case in case that var is buffer-local (bug#12615).

244 245 246 247
2012-10-11  Kenichi Handa  <handa@gnu.org>

	* international/eucjp-ms.el: Re-generated.

248 249 250 251 252
2012-10-10  Kenichi Handa  <handa@gnu.org>

	* select.el (xselect--encode-string): If a coding is specified for
	selection, and that is compatible with COMPOUND_TEXT, use it.

253 254 255
2012-10-10  Martin Rudalics  <rudalics@gmx.at>

	* window.el (switch-to-buffer-preserve-window-point): New option.
256 257
	(switch-to-buffer):
	Obey `switch-to-buffer-preserve-window-point' (Bug#4041).
258

259 260 261 262 263
2012-10-09  Stefan Monnier  <monnier@iro.umontreal.ca>

	* newcomment.el (comment-start-skip, comment-end-skip, comment-end):
	Don't document nil as a useful value (bug#12583).

264 265
2012-10-09  Michael Albinus  <michael.albinus@gmx.de>

266 267
	* net/tramp.el (tramp-debug-message):
	Remove "tramp-with-progress-reporter" from regexp of ignored functions.
268 269
	(with-tramp-progress-reporter): Rename from
	`tramp-with-progress-reporter'.
270 271
	(with-tramp-file-property, with-tramp-connection-property):
	Move from tramp-cache.el, rename from `with-file-property' and
272 273 274 275 276 277 278 279 280 281 282 283
	`with-connection-property', respectively.

	* net/tramp-cache.el: Remove `with-file-property' and
	`with-connection-property'.

	* net/tramp.el:
	* net/tramp-gvfs.el:
	* net/tramp-sh.el:
	* net/tramp-smb.el: Adapt callees.

	* net/trampver.el: Update release number.

284 285
2012-10-09  Glenn Morris  <rgm@gnu.org>

286 287 288
	* w32-fns.el (set-message-beep):
	* term/w32-win.el (set-message-beep): Update declarations.

289 290
2012-10-09  Stefan Monnier  <monnier@iro.umontreal.ca>

291 292 293 294 295 296 297
	* bindings.el (mode-line-toggle-read-only, mode-line-toggle-modified)
	(mode-line-widen, mode-line-input-method-map)
	(mode-line-coding-system-map, mode-line-remote)
	(mode-line-unbury-buffer, mode-line-bury-buffer)
	(mode-line-next-buffer, mode-line-previous-buffer):
	Replace save-selected-window+select-window => with-selected-window.

298 299 300
	* progmodes/cc-bytecomp.el (cc-bytecomp-defmacro): Remove, unused.
	* progmodes/cc-vars.el (bq-process): Remove, unused.

301 302
	* emacs-lisp/cl-macs.el (cl-defstruct): Obey the :read-only property.

303 304 305 306 307 308 309 310
2012-10-09  Fabián Ezequiel Gallina  <fgallina@cuca>

	Implemented `backward-up-list'-like navigation.
	* progmodes/python.el (python-nav-up-list)
	(python-nav-backward-up-list): New functions.
	(python-mode-map): Define substitute key for backward-up-list to
	python-nav-backward-up-list.

311 312 313 314 315 316
2012-10-08  Fabián Ezequiel Gallina  <fgallina@cuca>

	* progmodes/python.el (python-fill-paragraph): Rename from
	python-fill-paragraph-function.  Fixed fill-paragraph for
	decorators (Bug#12605).

317 318 319 320 321
2012-10-08  Fabián Ezequiel Gallina  <fgallina@cuca>

	* progmodes/python.el (python-shell-output-filter): Handle extra
	carriage return in OSX (Bug#12409).

322 323 324
2012-10-08  Fabián Ezequiel Gallina  <fgallina@cuca>

	Fix shell handling of unbalanced quotes and parens in output.
325
	* progmodes/python.el (python-rx-constituents): Add string-delimiter.
326 327 328 329 330
	(python-syntax-propertize-function): Use it.
	(python-shell-output-syntax-table): New var.
	(inferior-python-mode): Prevent unbalanced parens/quotes from
	previous output mess with current input context.

331 332 333 334 335
2012-10-08  Juanma Barranquero  <lekktu@gmail.com>

	* generic-x.el (javascript-generic-mode, javascript-generic-mode-hook):
	Make obsolete aliases of js-mode and js-mode-hook (from js.el).

336 337 338 339 340
2012-10-08  Michael Albinus  <michael.albinus@gmx.de>

	* ffap.el (ffap-replace-file-component): Support Tramp file name
	syntax, not only ange-ftp's one.

341 342
2012-10-08  Glenn Morris  <rgm@gnu.org>

343 344
	* cus-start.el (message-log-max): Set :version.

345 346
	* calendar/calendar.el (calendar-intermonth-header): Doc fix.

347 348 349 350 351
2012-10-08  Martin Rudalics  <rudalics@gmx.at>

	* emacs-lisp/edebug.el (edebug-pop-to-buffer): Don't try to split
	the minibuffer window (Bug#10851).

352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367
2012-10-08  Fabián Ezequiel Gallina  <fgallina@cuca>

	Enhancements on forward-sexp movement.
	* progmodes/python.el (python-nav-beginning-of-statement)
	(python-nav-end-of-statement): Return point-marker.
	(python-nav-forward-sexp): lisp-like forward-sexp behavior.
	(python-info-current-symbol)
	(python-info-statement-starts-block-p): Rename from
	python-info-beginning-of-block-p.
	(python-info-statement-ends-block-p): Rename from
	python-info-end-of-block-p.
	(python-info-beginning-of-statement-p)
	(python-info-end-of-statement-p)
	(python-info-beginning-of-block-p, python-info-end-of-block-p):
	New functions.

368 369 370 371 372
2012-10-08  Stefan Monnier  <monnier@iro.umontreal.ca>

	* comint.el (comint-preinput-scroll-to-bottom): Preserve the
	frame-selected-windows.

373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439
2012-10-08  Daniel Colascione  <dancol@dancol.org>

	* battery.el (battery-status-function): Check for
	w32-battery-status itself, not system-time windows-nt.

	* frame.el: Require cl-lib.
	(display-format-alist): New variable mapping frame types to
	functions that initialize them.
	(window-system-for-display): New function: interprets
	display-format-alist.
	(make-frame-on-display): Remove existing display-selection logic
	and just forward to make-frame, which will now DTRT.
	(make-frame): Restructure to use window-system-for-display to
	figure out how to create a frame on a given display.
	(display-mouse-p): Look for frame-type w32, not a particular
	system-type.

	* loadup.el: Load w32 lisp code when we have the w32 feature.

	* mouse.el (mouse-yank-primarY): Look for frame-type w32, not
	system-type windows-nt.

	* server.el (server-create-window-system-frame): Look for window
	type.
	(server-proces-filter): Only force a window system when windows-nt
	_and_ w32.  Explain why.

	* simple.el (normal-erase-is-backspace-mode): Add w32 to the list
	of window systems we configure for the mode.

	* startup.el (command-line): Mark window system is initialized
	after we've done it.

	* common-win.el (x-select-text): Look for w32, not windows-nt.

	* ns-win.el: Require cl-lib.  Add ourselves to
	display-format-alist.
	(ns-initialize-window-system): Assert we're not initialized twice.

	* w32-win.el: Enable lexical binding; require cl-lib; add
	ourselves to display-format-alist.
	(w32-handle-dropped-file): Convert incoming dropped files from
	Windows paths to Cygwin ones before passing them on to the rest of
	Emacs.
	(w32-drag-n-drop): New paramter new-frame.  Simplify logic.
	(w32-initialize-window-system): Assert we're not initialized twice.

	* x-win.el: Require cl-lib; add ourselves to display-format-alist.
	(x-initialize-window-system): Assert we're not initialized twice.

	* w32-common-fns.el: New File.
	(w32-version, w32-using-nt, w32-get-clipboard-data)
	(w32-set-clipboard-data, x-set-selection, x-get-selection)
	(w32-charset-info-alist, x-last-selected, text)
	(x-get-selection-value, x-selection-value): Move here.

	* w32-fns.el: Require w32-common-fns.
	(w32-version, w32-using-nt, w32-get-clipboard-data)
	(w32-set-clipboard-data, x-set-selection, x-get-selection)
	(w32-charset-info-alist, x-last-selected, text)
	(x-get-selection-value, x-selection-value): Move to
	w32-common-fns.

	* w32-vars.el:
	(w32-allow-system-shell, w32-system-shells): Define only in
	non-cygwin case.

440 441 442 443 444
2012-10-07  Stefan Monnier  <monnier@iro.umontreal.ca>

	* subr.el (read-passwd-map): Don't use `defconst' (bug#12597).
	(read-passwd): Remove a few more potential sources of leaks.

445 446 447
2012-10-07  Fabián Ezequiel Gallina  <fgallina@cuca>

	* progmodes/python.el (inferior-python-mode)
448
	(python-shell-make-comint): Fix initialization of local
449 450
	variables copied from parent buffer.

451 452 453 454 455 456 457
2012-10-07  Jan Djärv  <jan.h.d@swipnet.se>

	* term/ns-win.el (ns-read-file-name): Update declaration to match
	nsfns.m.
	(ns-respond-to-change-font): Change fontsize separatly so we are sure
	it is set when font is acted upon.

458 459 460 461 462 463 464 465
2012-10-07  Fabián Ezequiel Gallina  <fgallina@cuca>

	Enhancements to indentation.
	* progmodes/python.el (python-indent-context): Give priority to
	inside-string context.  Make comments indentation markers.
	(python-indent-region): Do not mess with strings, unless it's the
	enclosing set of quotes.

466 467
2012-10-07  Stefan Monnier  <monnier@iro.umontreal.ca>

468 469 470 471 472 473 474 475
	* window.el (internal--before-save-selected-window)
	(internal--after-save-selected-window): New functions extracted from
	save-selected-window.  Make sure we return the `alist' we construct.
	(save-selected-window): Use them.

	* textmodes/tex-mode.el (tex-recenter-output-buffer):
	Use with-selected-window.

476 477 478
	* emacs-lisp/autoload.el (make-autoload): Add `cl-defmacro' to the
	forms that define macros (bug#12593).

479 480
2012-10-07  Kenichi Handa  <handa@gnu.org>

481 482
	* international/mule-conf.el (compound-text-with-extensions):
	Add :mime-charset property as x-ctext.
483

484 485 486 487 488
2012-10-07  Stefan Merten  <smerten@oekonux.de>

	* textmodes/rst.el (rst-new-adornment-down, rst-indent-field)
	(rst-indent-literal-normal, rst-indent-literal-minimized)
	(rst-indent-comment): Correct :version tag.
489
	(rst-official-cvs-rev): Correct version string.
490

491 492 493 494 495 496
2012-10-07  Glenn Morris  <rgm@gnu.org>

	* mail/rmailmm.el (rmail-mime-process-multipart):
	Do not confuse a multipart message with an epilogue
	with a "truncated" one; fixes 2011-06-27 change.  (Bug#10101)

497 498 499 500 501 502 503 504 505 506 507 508 509 510 511
2012-10-07  Fabián Ezequiel Gallina  <fgallina@cuca>

	Fix shell output retrieval and comint-prompt-regexp init.
	* progmodes/python.el (inferior-python-mode):
	(python-shell-make-comint): Fix initialization of
	comint-prompt-regexp from copied file local variables.
	(python-shell-fetched-lines): Remove var.
	(python-shell-output-filter-in-progress): Rename from
	python-shell-fetch-lines-in-progress.
	(python-shell-output-filter-buffer): Rename from
	python-shell-fetch-lines-string.
	(python-shell-fetch-lines-filter): Delete function.
	(python-shell-output-filter): New function.
	(python-shell-send-string-no-output): Use them.

512 513
2012-10-07  Glenn Morris  <rgm@gnu.org>

514 515 516
	* hi-lock.el (hi-lock-process-phrase):
	Try to make it less fragile.  (Bug#7161)

517 518
	* hi-lock.el (hi-lock-face-phrase-buffer): Doc fix.

519 520
2012-10-06  Glenn Morris  <rgm@gnu.org>

521
	* ehelp.el (electric-help-mode): Use help-mode rather than
522 523
	non-existent mode `help'.
	(electric-help-map): Use button-buffer-map.  (Bug#10917)
524

Glenn Morris's avatar
Glenn Morris committed
525 526 527
	* textmodes/reftex-vars.el (reftex-create-bibtex-header)
	(reftex-create-bibtex-footer): Fix custom types.

528 529 530
	* progmodes/sh-script.el (sh-indent-after-continuation):
	Add explicit :group.

531 532 533
	* textmodes/rst.el (rst-preferred-decorations)
	(rst-shift-basic-offset): Clarify obsolescence versions.

Glenn Morris's avatar
Glenn Morris committed
534 535 536 537 538 539 540 541 542 543 544 545 546 547 548 549 550 551 552 553 554 555 556
	* profiler.el (profiler): Add missing group :version tag.
	* avoid.el (mouse-avoidance-banish-position):
	* proced.el (proced-renice-command):
	* calc/calc.el (calc-ensure-consistent-units):
	* calendar/icalendar.el (icalendar-import-format-uid):
	* net/tramp.el (tramp-save-ad-hoc-proxies):
	* progmodes/bug-reference.el (bug-reference-bug-regexp):
	* progmodes/flymake.el (flymake-error-bitmap)
	(flymake-warning-bitmap, flymake-fringe-indicator-position):
	* progmodes/sh-script.el (sh-indent-after-continuation):
	* progmodes/verilog-mode.el (verilog-auto-template-warn-unused)
	(verilog-before-save-font-hook, verilog-after-save-font-hook):
	* progmodes/vhdl-mode.el (vhdl-makefile-default-targets)
	(vhdl-array-index-record-field-in-sensitivity-list)
	(vhdl-indent-comment-like-next-code-line):
	* textmodes/reftex-vars.el (reftex-ref-style-alist)
	(reftex-ref-macro-prompt, reftex-ref-style-default-list)
	(reftex-cite-key-separator, reftex-create-bibtex-header)
	(reftex-create-bibtex-footer):
	* textmodes/rst.el (rst-new-adornment-down, rst-indent-field)
	(rst-indent-literal-normal, rst-indent-literal-minimized)
	(rst-indent-comment): Add missing custom :version tags.

557 558 559
	* calendar/timeclock.el (timeclock-modeline-display):
	Add missing obsolete alias for renamed user option.

560 561 562 563 564
	* strokes.el (strokes-modeline-string):
	* emulation/crisp.el (crisp-mode-modeline-string):
	* eshell/esh-mode.el (eshell-status-in-modeline):
	Aliases to defcustoms must come before the defcustom.

565 566 567 568 569 570 571 572 573 574 575 576
	* calendar/cal-tex.el (cal-tex-diary, cal-tex-cursor-week)
	(cal-tex-cursor-week2, cal-tex-cursor-week-iso)
	(cal-tex-cursor-week-monday): Doc fixes.
	(cal-tex-cursor-week2-summary): Doc fix.
	Rename from cal-tex-cursor-week-at-a-glance.

	* calendar/cal-menu.el (cal-menu-context-mouse-menu):
	Tweak week descriptions.  Add cal-tex-cursor-week2-summary.

	* calendar/calendar.el (calendar-mode-map):
	Add cal-tex-cursor-week2-summary.

577 578
2012-10-06  Stefan Monnier  <monnier@iro.umontreal.ca>

579 580
	* emacs-lisp/cl-macs.el (cl-defstruct): Improve docstring.

581 582 583 584
	* subr.el (read-passwd-map): New var.
	(read-passwd): Use `read-string' again.
	* minibuffer.el (delete-minibuffer-contents): Make it interactive.

585 586 587 588 589
2012-10-06  Jambunathan K  <kjambunathan@gmail.com>

	* register.el (append-to-register, prepend-to-register):
	Deactivate mark, as does `copy-to-register' (bug#12389).

590 591 592 593
2012-10-06  Chong Yidong  <cyd@gnu.org>

	* files.el (auto-mode-alist): Add .by and .wy (Semantic grammars).

594 595 596 597 598
2012-10-06  Ikumi Keita  <ikumi@ikumi.que.jp>  (tiny change)

	* international/characters.el: Fix simple mistake ((car chars) ->
	elt), delete duplicated code.

599 600 601 602
2012-10-06  Glenn Morris  <rgm@gnu.org>

	* subr.el (read-passwd): Allow C-u to erase entry.  (Bug#12570)

603 604 605 606 607
2012-10-06  Julian Scheid  <julians37@gmail.com>  (tiny change)

	* color.el (color-hsl-to-rgb): Fix incorrect results for
	small and large hue values.  (Bug#12559)

608 609 610 611 612 613 614 615
2012-10-05  Fabián Ezequiel Gallina  <fgallina@cuca>

	Enhancements to docstring formatting when filling paragraphs.
	* progmodes/python.el (python-fill-docstring-style): Rename from
	python-fill-string-style.  Added new style.
	(python-fill-string): Use new style.  Better checks for
	docstrings.

Glenn Morris's avatar
Glenn Morris committed
616 617
2012-10-05  Glenn Morris  <rgm@gnu.org>

618 619
	* net/newst-treeview.el (newsticker-group-move-feed): Doc fix.

Glenn Morris's avatar
Glenn Morris committed
620 621 622 623 624 625
	* color.el (color-name-to-rgb, color-rgb-to-hex)
	(color-hue-to-rgb, color-hsl-to-rgb, color-rgb-to-hsv)
	(color-rgb-to-hsl, color-srgb-to-xyz, color-saturate-hsl)
	(color-desaturate-hsl, color-desaturate-name, color-lighten-hsl)
	(color-lighten-name, color-darken-hsl, color-darken-name): Doc fixes.

626 627
	* emacs-lisp/timer.el (with-timeout): Add missing progn.  (Bug#12577)

628
2012-10-05  Juanma Barranquero  <lekktu@gmail.com>
Juanma Barranquero's avatar
Juanma Barranquero committed
629 630 631 632

	* ido.el (ido-directory-too-big-p): Pass dir through file-truename
	to get the correct size across symlinks.

633 634
	* ido.el (ido-buffer-disable-smart-matches): Fix typo in docstring.

635 636 637 638 639 640 641 642 643 644 645
2012-10-04  Juri Linkov  <juri@jurta.org>

	* replace.el (query-replace-interactive): Declare obsolete.
	(query-replace-read-from): Add the last incremental search string
	to the list of default values accessible via M-n.
	(map-query-replace-regexp): Use `read-regexp'.
	(query-replace, query-replace-regexp, query-replace-regexp-eval)
	(map-query-replace-regexp, replace-string, replace-regexp):
	Fix docstrings to replace mentions of `query-replace-interactive'
	with alternatives.  (Bug#12526)

646 647 648 649 650 651
2012-10-04  Juri Linkov  <juri@jurta.org>

	* dired.el (dired-shrink-to-fit): Declare obsolete.  (Bug#1806)
	(dired-pop-to-buffer): Declare obsolete.
	(dired-mark-pop-up): Doc fix.

652 653 654 655 656 657 658 659
2012-10-04  Fabián Ezequiel Gallina  <fgallina@cuca>

	Allow user to set docstring style for fill-paragraph.
	* progmodes/python.el
	(python-fill-comment-function, python-fill-string-function)
	(python-fill-decorator-function, python-fill-paren-function):
	Remove :safe for defcustoms.
	(python-fill-string-style): New defcustom
660
	(python-fill-paragraph-function): Enhance context detection.
661 662
	(python-fill-string): Honor python-fill-string-style settings.

663 664 665 666 667
2012-10-04  Martin Rudalics  <rudalics@gmx.at>

	* emacs-lisp/edebug.el (edebug-pop-to-buffer): Select window
	after setting its buffer (Bug#10805).

668 669 670 671 672 673 674 675 676
2012-10-03  Fabián Ezequiel Gallina  <fgallina@cuca>

	Fix cornercase for string syntax.
	* progmodes/python.el (python-syntax-propertize-function):
	Simplify and enhance the regexp for unescaped quotes.  Now it also
	matches quotes in weird situations like the single quote in
	"something\"'".
	(python-syntax-stringify): Simplify num-quotes detecting code.

677 678 679 680 681
2012-10-03  Glenn Morris  <rgm@gnu.org>

	* help-macro.el (three-step-help):
	Revert 2012-09-29 change.  (Bug#12567)

682 683
2012-10-03  Martin Rudalics  <rudalics@gmx.at>

684 685 686
	* menu-bar.el (kill-this-buffer): Don't do anything when
	`menu-frame' is not alive or visible (Bug#8184).

687 688 689
	* emacs-lisp/debug.el (debug): When quitting the debugger window
	restore current buffer (Bug#12502).

690 691
2012-10-02  Chong Yidong  <cyd@gnu.org>

692 693
	* progmodes/hideif.el (hif-lookup, hif-defined):
	Handle semantic-c-takeover-hideif.
694

695 696 697 698 699 700 701 702 703 704 705 706
2012-10-02  Paul Eggert  <eggert@cs.ucla.edu>

	Change sampling interval units from ms to ns.
	* profiler.el (profiler-sampling-interval): Change units
	from ms to ns, multiplying the default by 1000000 so that
	it remains 1 ms.
	(profiler-report-cpu-line-format): Give enough room for
	the maximum counters on 64-bit hosts.
	(profiler-report-render-calltree-1): Call them "CPU samples",
	not "Time (ms)", since they are not milliseconds now (and
	never really were).

707
2012-10-02  Sergio Durigan Junior  <sergiodj@riseup.net>  (tiny change)
708

709 710
	* net/eudcb-bbdb.el (eudc-bbdb-format-record-as-result):
	Fix querying BBDB for entries without a last name (Bug#11580).
711

712 713 714 715
2012-10-02  Chong Yidong  <cyd@gnu.org>

	* emacs-lisp/eieio.el: Restore Version header.

716 717
2012-10-02  Stefan Monnier  <monnier@iro.umontreal.ca>

718 719 720 721
	* vc/diff-mode.el (diff--auto-refine-data): New var.
	(diff-hunk): Use it to delay refinement.
	(diff-mode): Remove overlays when we turn off font-lock.

722 723 724 725 726 727 728 729 730 731 732
	* textmodes/table.el: Use lexical-binding, dolist, define-minor-mode.
	(table-initialize-table-fixed-width-mode)
	(table-set-table-fixed-width-mode): Remove functions.
	(table-command-list): Move initialization into declaration.
	(table--tweak-menu-for-xemacs): Move defun outside mapcar.
	(table-with-cache-buffer): Use `declare'.
	(table-span-cell): Simplify via CSE.
	(table-fixed-width-mode): Use define-minor-mode.
	(table-call-interactively, table-funcall, table-apply): Remove.
	(table-function): New function, to replace them.

733 734 735 736
	* bookmark.el (bookmark-search-pattern): Remove var.
	(bookmark-read-search-input): Remove function.
	(bookmark-bmenu-search): Reimplement using a minibuffer.

737 738
	* faces.el (modeline): Remove obsolete face name.

739 740 741 742
	* vc/add-log.el (add-log-buffer-file-name-function): Demote to defvar
	and give a non-nil default value.
	(add-change-log-entry): Simplify accordingly.

743 744 745 746 747 748 749 750 751 752 753 754 755 756
2012-10-01  Dmitry Gutov  <dgutov@yandex.ru>

	* vc/vc-git.el (vc-git-log-edit-toggle-signoff): New function.
	(vc-git-log-edit-toggle-amend): New function.
	(vc-git-log-edit-toggle-signoff): New function.
	(vc-git-log-edit-mode): New major mode.
	(vc-git-log-edit-mode-map): Keymap for it.
	(vc-git-checkin): Handle "Amend" and "Sign-Off" headers.

	* vc/log-edit.el (log-edit-font-lock-keywords): Allow hyphens in
	header names.
	(log-edit-toggle-header): New function.
	(log-edit-extract-headers): Accept function values in HEADERS alist.

Chong Yidong's avatar
Chong Yidong committed
757 758 759 760 761 762 763 764 765 766 767 768 769 770 771 772 773 774 775 776 777 778 779 780 781 782 783 784 785
2012-10-01  David Engster  <deng@randomsample.de>

	* emacs-lisp/eieio-opt.el (eieio-describe-class): Add filename
	from symbol property and change message to be more consistent with
	Emacs proper.
	(eieio-describe-generic): Add filename for each implementation.
	Fix indices for generic and normal methods.
	(eieio-method-def, eieio-class-def): New buttons.
	(eieio-help-find-method-definition)
	(eieio-help-find-class-definition): New functions.
	(eieio-help-mode-augmentation-maybee): Add buttons to filenames of
	class, constructor and method definitions.

	* emacs-lisp/eieio.el (eieiomt-add, eieio-defclass): Save file
	information in symbol property.
	(scoped-class): Remove.
	(eieio-slot-name-index, call-next-method): Check if it is bound.

2012-10-01  Leo P. White  <lpw25@cam.ac.uk>

	* emacs-lisp/eieio-custom.el (eieio-custom-mode-map): New option.
	(eieio-custom-mode): New major mode.
	(eieio-customize-object): Use it.

2012-10-01  Eric Ludlam  <zappo@gnu.org>

	* emacs-lisp/eieio-base.el (eieio-persistent-read): New input args
	specifying the expected class, and whether subclassing is allowed.
	(eieio-persistent-convert-list-to-object):
Juanma Barranquero's avatar
Juanma Barranquero committed
786 787 788
	(eieio-persistent-validate/fix-slot-value)
	(eieio-persistent-slot-type-is-class-p): New functions.
	(eieio-named::slot-missing): Doc fix.
Chong Yidong's avatar
Chong Yidong committed
789 790 791 792 793 794 795 796 797 798

	* emacs-lisp/eieio-datadebug.el (data-debug/eieio-insert-slots):
	Stop using unused publd variable.

	* emacs-lisp/eieio-speedbar.el (eieio-speedbar-handle-click):
	(eieio-speedbar-description, eieio-speedbar-derive-line-path)
	(eieio-speedbar-object-buttonname, eieio-speedbar-make-tag-line)
	(eieio-speedbar-handle-click): Do not specify a class for the
	method.  Fixes method invocation order problems with EDE.

799 800 801 802 803
2012-10-01  Stefan Monnier  <monnier@iro.umontreal.ca>

	* emacs-lisp/bytecomp.el (byte-compiler-abbreviate-file): New function.
	(byte-compile-warning-prefix, byte-compile-file): Use it (bug#12508).

804 805 806 807
2012-10-01  Karl Fogel  <kfogel@red-bean.com>

	* bookmark.el (bookmark-version-control): Give tags in the
	:type choices (Bug#12309), and improve doc string.
808 809
	(bookmark-write-file): Bind `print-circle' to `t' to allow
	circular custom bookmark types.  (Bug#12503)
810

811 812
2012-10-01  Paul Eggert  <eggert@cs.ucla.edu>

813 814 815 816
	Revert the FOLLOW-SYMLINKS change for file-attributes.
	* files.el (remote-file-name-inhibit-cache, after-find-file):
	* time.el (display-time-file-nonempty-p): Undo last change.

817 818 819 820
	* profiler.el (profiler-sampling-interval): Change default back to 1.
	See Stefan Monnier in
	<http://lists.gnu.org/archive/html/emacs-devel/2012-09/msg00863.html>.

821 822 823 824
2012-10-01  Fabián Ezequiel Gallina  <fgallina@cuca>

	Shell output catching a la gud-gdb.
	* progmodes/python.el (python-shell-fetch-lines-in-progress)
825 826
	(python-shell-fetch-lines-string, python-shell-fetched-lines):
	New Vars.
827 828 829
	(python-shell-fetch-lines-filter): New function.
	(python-shell-send-string-no-output): Use them.

830 831 832 833 834 835 836 837 838 839
2012-09-30  Tomohiro Matsuyama  <tomo@cx4a.org>

	* profiler.el (profiler-sampling-interval): Rename from
	profiler-sample-interval.
	(profiler-sampling-interval): Default to 10.
	(profiler-find-profile): New command (was profiler-find-log).
	(profiler-find-profile-other-window): New command.
	(profiler-find-profile-other-frame): New command.
	(profiler-profile): Introduce API-level data structure.

840 841 842 843 844 845 846 847
2012-09-30  Paul Eggert  <eggert@cs.ucla.edu>

	file-attributes has a new optional arg FOLLOW-SYMLINKS.
	* files.el (remote-file-name-inhibit-cache):
	* time.el (display-time-file-nonempty-p): Use it.
	* files.el (after-find-file): Don't chase links before calling
	file-exists-p, as file-exists-p already does the right thing.

848 849 850 851 852 853 854 855 856
2012-09-30  Ralf Angeli  <angeli@caeruleus.net>

	Merge from standalone RefTeX repository.

	The following ChangeLog entries are shortened versions of the
	original ones with file paths adapted.  A not so strongly edited
	version of the original ChangeLog can be found in the commit log.

	* textmodes/reftex-auc.el: Move `provide' call to bottom of file.
857 858
	(reftex-arg-cite): Use `reftex-cite-key-separator'.
	Correctly handle new value type returned by `reftex-citation'.
859 860

	* textmodes/reftex-cite.el (reftex-create-bibtex-file): Make sure
861 862
	that entries with whitespace at various places are found.
	Doc fix. Include entries that are cross-referenced from cited entries.
863 864 865 866 867 868 869 870 871 872 873 874 875 876 877 878 879 880
	Include @String definitions in the resulting bib file.  Add header
	and footer defined in `reftex-create-bibtex-header' and
	`reftex-create-bibtex-footer'.
	(reftex-do-citation): Make it possible again to insert
	non-existent entries.  Save match data when asking for optional
	arguments. Return all keys, not just the first one.
	(reftex-all-used-citation-keys): Fix regexp to correctly extract
	all citations in the same line.
	(reftex-parse-bibtex-entry): Accept additional optional argument
	`raw' and keep quotes or braces if it is non-nil.  Match fields
	containing hyphens besides word constituents.
	(reftex-get-string-refs): New function.
	(reftex-extract-bib-entries): Check if BibTeX file changed on disk
	and ask if it should be reread in case it did.
	(reftex-pop-to-bibtex-entry)
	(reftex-extract-bib-entries-from-thebibliography): Match \bibitem
	entries with spaces or tabs in front of arguments.
	(reftex-pop-to-bibtex-entry, reftex-extract-bib-entries)
881 882 883 884
	(reftex-parse-bibtex-entry, reftex-create-bibtex-file):
	Match entries containing numbers and symbol constituents.
	(reftex-do-citation, reftex-figure-out-cite-format):
	Use `reftex-cite-key-separator'.
885 886 887 888 889 890 891 892 893 894 895 896 897 898 899 900 901 902 903

	* textmodes/reftex-dcr.el: Move provide statement to end of file.
	(reftex-mouse-view-crossref): Explain why point is set.

	* textmodes/reftex-global.el: Whitespace changes.

	* textmodes/reftex-index.el: Move provide statement to end of
	file.
	(reftex-index-selection-or-word): Use `reftex-region-active-p'.
	(reftex-index-visit-phrases-buffer): Set marker when visiting
	buffer.  This allows for returning from the phrases file to the
	file one was just editing instead of the file where the last
	phrases was added from.
	(reftex-index-phrases-syntax-table): New variable.  Give ?\"
	punctuation syntax as it usually is not used as string quote in
	TeX-related modes and may occur unmatched.  The change also
	prevents fontification of quoted content.
	(reftex-index-phrases-mode): Use it.

904 905
	* textmodes/reftex-parse.el (reftex-parse-from-file):
	Move backward one char if a `\' was matched after a section macro.
906 907 908 909 910 911
	(reftex-parse-from-file): Use beginning of match instead of end as
	bound.

	* textmodes/reftex-ref.el: Adapt creation of
	`reftex-<package>-<macro>' functions to new structure of
	`reftex-ref-style-alist'.
912 913
	(reftex-reference): Use `reftex-ref-style-list' function.
	Adapt to new structure of `reftex-ref-style-alist'.  Prompt for a
914 915 916
	reference macro if `reftex-ref-macro-prompt' is non-nil.
	(reftex-reference): Pass refstyle to `reftex-format-special'.
	Determine reference macro by looking at
917 918
	`reftex-ref-style-default-list' and `reftex-ref-style-alist'.
	Use only one special format function.
919 920 921 922 923 924 925 926 927 928 929 930 931 932 933 934 935 936 937
	(reftex-varioref-vref, reftex-fancyref-fref)
	(reftex-fancyref-Fref): Remove definitions.  The functions are now
	generated from `reftex-ref-style-alist'.
	(reftex-format-vref, reftex-format-Fref, reftex-format-fref):
	Remove.
	(reftex-format-special): New function.

	* textmodes/reftex-sel.el
	(reftex-select-cycle-ref-style-internal): Adapt to new structure
	of `reftex-ref-style-alist'. Remove code for testing macro type.
	(reftex-select-toggle-varioref)
	(reftex-select-toggle-fancyref): Remove.
	(reftex-select-cycle-ref-style-internal)
	(reftex-select-cycle-ref-style-forward)
	(reftex-select-cycle-ref-style-backward): New functions.
	(reftex-select-label-map): Use `v' and `V' for general cycling
	through reference styles.  Add `p' for switching between number
	and page reference types.

938 939
	* textmodes/reftex-toc.el (reftex-re-enlarge):
	Call `enlarge-window' only if there is something to do because in Emacs
940 941 942 943 944 945 946 947
	the horizontal version throws an error even if the parameter is 0.

	* textmodes/reftex-vars.el (reftex-label-alist): Doc fix.
	(reftex-plug-into-AUCTeX): Doc fix.
	(reftex-vref-is-default, reftex-fref-is-default): Adapt doc
	string.  Adapt to new name.
	(reftex-ref-style-alist): Change structure so that it is not
	possible to use multiple different package names within a style.
948 949
	Remove the symbols for symbols for macro type distinction.
	Add characters for macro selection.
950 951 952 953
	(reftex-ref-macro-prompt, reftex-create-bibtex-header)
	(reftex-create-bibtex-footer): New variables.
	(reftex-format-ref-function): Mention third argument of special
	format function.
954 955
	(reftex-ref-style-alist, reftex-ref-style-default-list):
	New variables.
956 957 958
	(reftex-vref-is-default, reftex-fref-is-default): Adapt doc string
	to new implementation.  Mark as obsolete.  Add compatibility code
	for honoring the variable values in case they are set.
959 960 961 962
	(reftex-cite-format-builtin, reftex-bibliography-commands):
	Add support for ConTeXt.
	(reftex-format-ref-function, reftex-format-cite-function):
	Fix custom type.
963 964 965 966 967 968 969 970 971
	(reftex-cite-key-separator): New variable.

	* textmodes/reftex.el (reftex-syntax-table-for-bib)
	(reftex-mode): Do not derive `reftex-syntax-table-for-bib' from
	`reftex-syntax-table' because parens have to retain their paren
	syntax in order for parsing of BibTeX entries like @book(...) to
	work.
	(reftex-in-comment): Do not error out if `comment-start-skip' is
	not set.  Deal correctly with escaped comment characters.
972 973
	(reftex-tie-multifile-symbols): Add doc string.
	Initialize `reftex-ref-style-list'.
974 975 976 977 978 979 980 981 982 983 984 985 986 987 988 989 990
	(reftex-untie-multifile-symbols): Add doc string.
	(reftex-add-index-macros): Doc fix.
	(reftex-ref-style-activate, reftex-ref-style-toggle)
	(reftex-ref-style-list): New functions.
	(reftex-mode-menu): Use them.  Adapt to new structure of
	`reftex-ref-style-alist'.
	(reftex-select-with-char): Kill the RefTeX Select buffer when
	done.
	(reftex-remove-if): New function.
	(reftex-erase-all-selection-and-index-buffers)
	(reftex-mode-menu): Reference styles are now computed from
	`reftex-ref-style-alist'.  Fix typo.
	(reftex-report-bug): New function.
	(reftex-uniquify, reftex-uniquify-by-car): Replace O(n^2)
	algorithms with O(n log n).  Introduce optional argument SORT (not
	yet used).

991 992 993
2012-09-30  Fabián Ezequiel Gallina  <fgallina@cuca>

	Enhancements for triple-quote string syntax.
994 995
	* progmodes/python.el (python-syntax-propertize-function):
	Match both quote cases in one regexp.
996 997
	(python-syntax-stringify): Handle matches properly.

998 999 1000
2012-09-30  Juri Linkov  <juri@jurta.org>

	* arc-mode.el (archive-summarize): Let-bind `buffer-file-truename'
1001
	to nil around the call to `insert' to prevent
1002 1003 1004
	directory time modification by lock_file.  (Bug#2295)
	* tar-mode.el (tar-summarize-buffer): Idem.

1005 1006 1007 1008 1009 1010 1011 1012 1013 1014
2012-09-30  Juri Linkov  <juri@jurta.org>

	* facemenu.el (list-colors-sort): Add option "Luminance".
	(list-colors-sort-key): Implement it.

	* vc/diff-mode.el (diff-refine-removed):
	* vc/ediff-init.el (ediff-fine-diff-A):
	* vc/smerge-mode.el (smerge-refined-removed):
	Change background color "#ffaaaa" to "#ffbbbb".  (Bug#10181)

Jan Djärv's avatar
Jan Djärv committed
1015 1016 1017 1018
2012-09-30  Jan Djärv  <jan.h.d@swipnet.se>

	* term/ns-win.el (x-file-dialog): New function.

1019 1020 1021 1022 1023 1024
2012-09-30  Juanma Barranquero  <lekktu@gmail.com>

	* ido.el (ido-max-directory-size): Default to nil; the current
	default is small for POSIX systems, and impractical on Windows 7
	now that lstat returns directory sizes for NTFS.

1025 1026 1027 1028
2012-09-30  Martin Rudalics  <rudalics@gmx.at>

	In buffer display functions handle window-height/window-width
	alist entries.  Suggested by Juri Linkov as fix for Bug#1806.
1029 1030 1031 1032
	* window.el (window--display-buffer): New argument ALIST.
	Obey window-height and window-width alist entries.
	(window--try-to-split-window): New argument ALIST.
	Bind window-combination-limit to t when the window's size shall be
1033 1034 1035 1036 1037 1038 1039 1040 1041 1042 1043 1044 1045 1046 1047 1048 1049 1050 1051 1052 1053 1054
	changed and window-combination-limit equals `window-size'.
	(display-buffer-in-atom-window)
	(display-buffer-in-major-side-window)
	(display-buffer-in-side-window, display-buffer-same-window)
	(display-buffer-reuse-window, display-buffer-pop-up-frame)
	(display-buffer-pop-up-window, display-buffer-below-selected)
	(display-buffer-at-bottom, display-buffer-in-previous-window)
	(display-buffer-use-some-window): Adjust all callers of
	window--display-buffer and window--try-to-split-window.
	(fit-frame-to-buffer): New option.
	(fit-window-to-buffer): Can resize frames if fit-frame-to-buffer
	is non-nil.
	(display-buffer-in-major-side-window): Evaluate window-height /
	window-width alist entries.

	* help.el (temp-buffer-resize-frames)
	(temp-buffer-resize-regexps): Remove options.
	(temp-buffer-resize-mode): Adjust doc-string.
	(resize-temp-buffer-window): Don't consult
	temp-buffer-resize-regexps.  Use fit-frame-to-buffer instead of
	temp-buffer-resize-frames.

1055 1056
	* dired.el (dired-mark-pop-up):
	Call display-buffer-below-selected with a fit-window-to-buffer alist
1057 1058
	entry.

1059 1060
2012-09-30  Chong Yidong  <cyd@gnu.org>

1061 1062 1063 1064 1065 1066 1067
	* server.el (server-host): Document the security implications.
	(server-auth-key): Doc fix.

	* startup.el (initial-buffer-choice): Doc fix.

	* minibuffer.el (minibuffer-local-filename-syntax): Doc fix.

1068 1069 1070
	* simple.el (delete-trailing-whitespace): Avoid an unnecessary
	restriction change.

1071 1072
	* bindings.el (goto-map): Bind M-g TAB to move-to-column.

1073 1074
	* help-fns.el (help-fns--obsolete): Fix last change.

1075 1076
2012-09-30  Stefan Monnier  <monnier@iro.umontreal.ca>

1077 1078 1079
	* winner.el (winner-mode-map): Obey winner-dont-bind-my-keys here.
	(minor-mode-map-alist): Remove redundant code.

1080 1081 1082 1083 1084 1085 1086
	* vc/pcvs.el (cvs-cleanup-collection): Keep entries that are currently
	visited in a buffer.
	(cvs-insert-visited-file): New function.
	(find-file-hook): Use it.

	* vc/pcvs-info.el (cvs-fileinfo-pp): Don't use non-existent faces.

1087 1088 1089 1090
	* vc/log-edit.el (log-edit-font-lock-keywords): Ignore case to
	chose face.
	(log-edit-empty-buffer-p): Don't require a space after a header.

1091 1092
	* vc/ediff-util.el (ediff-diff-at-point): Don't assume point-min==1.

1093 1094
	* tutorial.el (help-with-tutorial): Use minibuffer-with-setup-hook.

1095 1096 1097
	* textmodes/text-mode.el (paragraph-indent-minor-mode): Make it
	a proper minor-mode.

1098 1099
	* textmodes/tex-mode.el (tex-mode-map): Don't bind paren keys.

1100 1101
2012-09-29  Glenn Morris  <rgm@gnu.org>

1102 1103 1104 1105 1106 1107 1108
	* winner.el (winner-mode): Remove variable (let define-minor-mode
	handle it).
	(winner-dont-bind-my-keys, winner-boring-buffers, winner-mode-hook):
	Doc fixes.
	(winner-mode-leave-hook): Rename to winner-mode-off-hook.
	(winner-mode): Use define-minor-mode.

1109 1110 1111
	* vc/vc-sccs.el (vc-sccs-registered): Use the progn trick to get
	the full definition in loaddefs, rather than duplicating it.

1112
	* help-macro.el (three-step-help): No need to autoload defcustom.
1113

1114 1115 1116
	* progmodes/inf-lisp.el (inferior-lisp-filter-regexp)
	(inferior-lisp-program, inferior-lisp-load-command)
	(inferior-lisp-prompt, inferior-lisp-mode-hook):
1117
	No need to autoload defcustoms.
1118

1119 1120 1121 1122
	* hippie-exp.el (hippie-expand-try-functions-list)
	(hippie-expand-verbose, hippie-expand-dabbrev-skip-space)
	(hippie-expand-dabbrev-as-symbol, hippie-expand-no-restriction)
	(hippie-expand-max-buffers, hippie-expand-ignore-buffers)
1123
	(hippie-expand-only-buffers): No need to autoload defcustoms.
1124 1125 1126 1127
	* progmodes/vhdl-mode.el (vhdl-line-expand):
	Explicitly load hippie-exp, so it does not get autoloaded
	while hippie-expand-try-functions-list is let-bound.

1128 1129
2012-09-28  Glenn Morris  <rgm@gnu.org>

1130 1131
	* emacs-lisp/cl.el (flet): Fix case of obsolescence message.

1132 1133 1134
	* emacs-lisp/bytecomp.el (byte-compile-cl-file-p):
	Only "cl.el" counts as cl these days.

1135 1136 1137 1138 1139 1140 1141 1142 1143 1144 1145 1146 1147 1148 1149 1150 1151
2012-09-28  Juri Linkov  <juri@jurta.org>

	Display archive errors in the echo area instead of inserting
	to the file buffer.

	* arc-mode.el (archive-extract-by-stdout): Change arg STDERR-FILE
	to STDERR-TEST that can be a regexp matching a successful output.
	Create a temporary file and redirect stderr to it.  Search for
	STDERR-TEST in the stderr output and display it in the echo area
	if no match is found.
	(archive-extract-by-file): New function like
	`archive-extract-by-stdout' but extracting archives to files
	and looking for successful matches in stdout.  Function body is
	mostly copied from `archive-rar-extract'.
	(archive-rar-extract): Use `archive-extract-by-file'.
	(archive-7z-extract): Use `archive-extract-by-stdout'.  (Bug#10347)

1152 1153
2012-09-28  Leo Liu  <sdl.web@gmail.com>

1154 1155
	* pcomplete.el (pcomplete-show-completions):
	Use minibuffer-message to make pcomplete usable in minibuffer.
1156

1157 1158
	* ido.el (ido-set-matches-1): Fix 2012-09-11 change.

1159 1160
2012-09-28  Stefan Monnier  <monnier@iro.umontreal.ca>

1161 1162 1163
	* type-break.el: Use lexical-binding.
	(type-break-mode): Use define-minor-mode.

1164 1165 1166 1167 1168 1169
	* emacs-lisp/pcase.el (pcase--mark-used): New.
	(pcase--u1): Use it (bug#12512).

	* custom.el (load-theme): Set buffer-file-name so the load is recorded
	in load-history with the right file name.

1170 1171 1172 1173 1174 1175 1176
2012-09-28  Tassilo Horn  <tsdh@gnu.org>

	* doc-view.el (doc-view-current-cache-doc-pdf): New function.
	(doc-view-doc->txt, doc-view-convert-current-doc): Use it.
	(doc-view-get-bounding-box): Make bounding box slicing work for
	ODF and DVI documents.

1177 1178 1179 1180 1181 1182 1183 1184
2012-09-28  Glenn Morris  <rgm@gnu.org>

	* type-break.el (type-break-mode, type-break-interval)
	(type-break-good-rest-interval, type-break-keystroke-threshold):
	No need to autoload.
	(type-break-good-rest-interval, type-break-keystroke-threshold):
	Add :set-after.

1185 1186 1187 1188 1189
2012-09-28  Chong Yidong  <cyd@gnu.org>

	* progmodes/verilog-mode.el (verilog-auto-inst-interfaced-ports):
	Add :version tag.

1190 1191
2012-09-27  Stefan Monnier  <monnier@iro.umontreal.ca>

1192
	* json.el (json-encode-char): Codes 127-160 aren't "ASCII printable".
1193

1194 1195
2012-09-27  Glenn Morris  <rgm@gnu.org>

1196 1197
	* faces.el (x-display-name): Declare (for without-x builds).

1198 1199
	* linum.el (linum-format): Don't autoload it.  Improve :type.

1200 1201
	* progmodes/tcl.el: Don't require outline when compiling.
	(outline-regexp, outline-level): Declare.
1202 1203 1204
	* textmodes/sgml-mode.el: Don't require outline when compiling.
	(outline-regexp, outline-heading-end-regexp, outline-level): Declare.

1205 1206 1207
	* term.el (term-ansi-reset):
	Try setting term-ansi-face-already-done to nil.  (Bug#11785)

1208 1209 1210
	* vc/vc.el (vc-next-action): Only gripe about committing read-only
	files for RCS and SCCS.  (Bug#9781)

1211 1212 1213 1214 1215
2012-09-27  Chong Yidong  <cyd@gnu.org>

	* progmodes/verilog-mode.el (verilog-mode-release-emacs): Fix last
	change; value should be t.

1216 1217
2012-09-27  Stefan Monnier  <monnier@iro.umontreal.ca>

1218 1219 1220 1221 1222 1223 1224 1225 1226 1227 1228 1229
	* image-mode.el: Use lexical-binding.
	(image-mode-winprops): Use t to stand for the window of
	a buffer that's not displayed.
	* doc-view.el (doc-view-new-window-function): Handle the new
	t in winprops.
	(doc-view-enlarge): Make it a real nop if the size is not changed.
	(doc-view-display): Handle the case where the buffer is not (yet?)
	displayed in any window.
	(doc-view-saved-settings): New var.
	(doc-view-mode): Use it.
	(doc-view-fallback-mode): Set it.

1230 1231 1232 1233 1234 1235
	* minibuf-eldef.el: Make it possible to replace (default ...) with [...].
	Set lexical-binding.
	(minibuffer-eldef-shorten-default): New var.
	(minibuffer-default-in-prompt-regexps): Use it for new default.
	(minibuf-eldef-setup-minibuffer): Add replacement functionality.

Juanma Barranquero's avatar
Juanma Barranquero committed
1236 1237 1238 1239 1240 1241 1242
2012-09-26  Juanma Barranquero  <lekktu@gmail.com>

	* international/uni-bidi.el:
	* international/uni-category.el:
	* international/uni-name.el:
	* international/uni-numeric.el: Regenerate.

Stefan Monnier's avatar
Stefan Monnier committed
1243 1244 1245 1246 1247
2012-09-26  Tomohiro Matsuyama  <tomo@cx4a.org>
            Stefan Monnier  <monnier@iro.umontreal.ca>

	* profiler.el: New file.

1248 1249 1250 1251 1252
2012-09-26  Stefan Monnier  <monnier@iro.umontreal.ca>

	* emacs-lisp/testcover.el (testcover-after): Add gv-expander.
	(testcover-reinstrument): Simplify with CSE.

1253 1254 1255 1256
2012-09-26  Juanma Barranquero  <lekktu@gmail.com>

	* window.el (temp-buffer-window-setup): Fix typo in docstring.

1257 1258 1259 1260 1261 1262 1263 1264 1265 1266 1267
2012-09-25  Wilson Snyder  <wsnyder@wsnyder.org>

	* verilog-mode.el (verilog-auto-ascii-enum, verilog-auto-inout)
	(verilog-auto-input, verilog-auto-insert-lisp)
	(verilog-auto-output, verilog-auto-output-every, verilog-auto-reg)
	(verilog-auto-reg-input, verilog-auto-tieoff, verilog-auto-undef)
	(verilog-auto-unused, verilog-auto-wire)
	(verilog-forward-or-insert-line): Fix AUTOs with no trailing
	newline.  Reported by Andrew Jones.
	(verilog-auto-inst) Support expanding $clog2 in AUTOINST.
	Reported by Brad Dobbie.
1268 1269 1270
	(verilog-batch-delete-trailing-whitespace):
	Create verilog-batch-delete-trailing-whitespace.
	Reported by Brad Dobbie.
1271 1272 1273 1274 1275 1276 1277 1278 1279 1280 1281
	(verilog-auto-inout-param): Support AUTOINOUTPARAM for copying
	parameters from another module.  Reported by Dan Katz.
	(verilog-auto, verilog-auto-assign-modport)
	(verilog-auto-inout-modport): Add AUTOASSIGNMODPORT and
	AUTOINOUTMODPORT for UVM interface module shell generation.
	Reported by Brad Dobbie.
	(verilog-auto-inst-interfaced-ports): Make default nil, as more
	standard behavior.
	(verilog-auto): Fix AUTO parameters with parenthesis arguments.
	Reported by Matt Martin.

1282 1283 1284 1285 1286 1287 1288 1289 1290 1291
2012-09-25  Martin Rudalics  <rudalics@gmx.at>

	* window.el (window--resize-child-windows): When resizing child
	windows proportionally, process them in reverse order to
	preserve the "when splitting a window the new one gets the odd
	line" behavior.
	(window--resize-root-window-vertically): When resizing the
	minibuffer window try to affect only windows at the bottom of the
	frame.  (Bug#12419)

1292 1293 1294 1295 1296 1297
2012-09-25  Chong Yidong  <cyd@gnu.org>

	* subr.el (declare): Doc fix.

	* help-fns.el (help-fns--obsolete): Handle macros properly.

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 1356 1357 1358 1359
2012-09-25  Chong Yidong  <cyd@gnu.org>

	* bookmark.el (bookmark-jump-noselect): Use a declare form to mark
	this function obsolete.

	* calendar/cal-x.el (calendar-two-frame-setup)
	(calendar-only-one-frame-setup, calendar-one-frame-setup):
	* calendar/calendar.el (american-calendar, european-calendar)
	(calendar-for-loop):
	* comint.el (comint-dynamic-simple-complete)
	(comint-dynamic-complete-as-filename, comint-unquote-filename):
	* desktop.el (desktop-load-default):
	* dired-x.el (dired-omit-here-always)
	(dired-hack-local-variables, dired-default-directory):
	* emacs-lisp/derived.el (derived-mode-class):
	* emacs-lisp/timer.el (timer-set-time-with-usecs):
	* emacs-lock.el (toggle-emacs-lock):
	* epa.el (epa-display-verify-result):
	* epg.el (epg-sign-keys, epg-start-sign-keys)
	(epg-passphrase-callback-function):
	* eshell/esh-util.el (eshell-for):
	* eshell/eshell.el (eshell-remove-from-window-buffer-names)
	(eshell-add-to-window-buffer-names):
	* files.el (locate-file-completion):
	* imenu.el (imenu-example--create-c-index)
	(imenu-example--create-lisp-index)
	(imenu-example--lisp-extract-index-name)
	(imenu-example--name-and-position):
	* international/mule-cmds.el (princ-list):
	* international/mule-diag.el (decode-codepage-char):
	* international/mule-util.el (detect-coding-with-priority):
	* iswitchb.el (iswitchb-read-buffer):
	* mail/mailalias.el (mail-complete):
	* mail/sendmail.el (mail-sent-via):
	* mouse.el (mouse-popup-menubar-stuff, mouse-popup-menubar)
	(mouse-major-mode-menu):
	* password-cache.el (password-read-and-add):
	* pcomplete.el (pcomplete-parse-comint-arguments):
	* progmodes/sh-script.el (sh-maybe-here-document):
	* replace.el (query-replace-regexp-eval):
	* savehist.el (savehist-load):
	* simple.el (choose-completion-delete-max-match):
	* term.el (term-dynamic-simple-complete):
	* vc/ediff-init.el (ediff-check-version):
	* vc/ediff-wind.el (ediff-choose-window-setup-function-automatically):
	* vc/vc.el (vc-diff-switches-list):
	* view.el (view-return-to-alist-update): Likewise.

	* subr.el (eval-next-after-load, makehash, insert-string)
	(assoc-ignore-representation, assoc-ignore-case): Use declare to
	mark obsolete.
	(mode-line-inverse-video): Variable deleted.

	* international/mule-util.el (string-to-sequence): Remove.

	* calendar/calendar.el (calendar-version):
	* calendar/icalendar.el (icalendar-extract-ical-from-buffer)
	(icalendar-convert-diary-to-ical):
	* cus-edit.el (custom-mode):
	* ansi-color.el (ansi-color-unfontify-region):
	* international/latin1-disp.el (latin1-char-displayable-p):
	* progmodes/cwarn.el (turn-on-cwarn-mode):
1360 1361
	* progmodes/which-func.el (which-func-update-1):
	Use define-obsolete-function-alias.
1362 1363

	* net/newst-backend.el (newsticker-cache-filename):
1364 1365
	* net/newst-treeview.el (newsticker-groups-filename):
	Fix incorrect obsolescence declaration.
1366 1367 1368 1369 1370 1371 1372 1373 1374 1375 1376 1377 1378

	* allout.el (allout-passphrase-hint-string): Likewise.
	(allout-init): Use a declare form to mark obsolete.

	* emacs-lisp/byte-run.el (make-obsolete): Doc fix; emphasize that
	this applies to functions.

	* iswitchb.el (iswitchb-read-buffer): Move code of
	iswitchb-define-mode-map here, and delete that obsolete function.

	* net/snmp-mode.el (snmp-font-lock-keywords-3): Don't use obsolete
	font-lock-reference-face.

1379 1380
2012-09-25  Glenn Morris  <rgm@gnu.org>

1381 1382 1383
	* buff-menu.el (Buffer-menu-name-width, Buffer-menu-size-width):
	Doc fixes.

1384 1385 1386
	* eshell/em-term.el (eshell-term-name):
	Default to term-term-name.  (Bug#12485)

1387 1388
2012-09-24  Fabián Ezequiel Gallina  <fgallina@cuca>

1389 1390
	* progmodes/python.el (python-shell-send-buffer): Better handling
	of "if __name__ == '__main__':" conditionals when sending the buffer.
1391

1392 1393 1394 1395 1396
2012-09-24  Glenn Morris  <rgm@gnu.org>

	* eshell/esh-cmd.el (eshell-find-alias-function):
	Tighten up file-name regexp.  (Bug#12499)

1397 1398 1399 1400 1401
2012-09-24  Fabián Ezequiel Gallina  <fgallina@cuca>

	Enhancements for triple-quote string syntax.
	* progmodes/python.el (python-quote-syntax): Remove.
	(python-syntax-propertize-function): New value.
1402 1403
	(python-syntax-count-quotes, python-syntax-stringify):
	New functions.
1404

1405 1406
2012-09-24  Chong Yidong  <cyd@gnu.org>

1407 1408 1409 1410 1411 1412
	* mail/supercite.el (sc-version): Remove obsolete function.
	(sc-describe): Don't mark as obsolete, since it is bound.
	(sc-submit-bug-report): Remove.

	* vc/log-edit.el (cvs-changelog-full-paragraphs)
	(cvs-commit-buffer-require-final-newline): Remove.
1413 1414
	(log-edit-require-final-newline)
	(log-edit-changelog-full-paragraphs): Default to t.
1415 1416 1417 1418 1419 1420 1421 1422 1423 1424 1425 1426 1427 1428 1429 1430