ChangeLog 745 KB
Newer Older
1 2 3 4
2012-10-18  Glenn Morris  <rgm@gnu.org>

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

5 6 7 8 9 10
2012-10-17  Kenichi Handa  <handa@gnu.org>

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

11 12 13 14 15 16 17
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).

18 19 20 21 22
2012-10-16  Juri Linkov  <juri@jurta.org>

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

23 24 25 26
2012-10-15  Chong Yidong  <cyd@gnu.org>

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

27 28
2012-10-14  Eli Zaretskii  <eliz@gnu.org>

29 30
	* window.el (display-buffer): Doc fix.

31 32 33 34 35 36
	* 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.

37 38
2012-10-14  Stefan Monnier  <monnier@iro.umontreal.ca>

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

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

44 45 46 47 48
2012-10-13  Chong Yidong  <cyd@gnu.org>

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

49 50 51 52 53
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).

54 55
2012-10-12  Stefan Monnier  <monnier@iro.umontreal.ca>

56 57 58
	* help-fns.el (describe-variable, describe-function-1):
	* help-mode.el (help-make-xrefs): Remove error handler, made unneeded.

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

61 62 63 64 65
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)

66 67
2012-10-12  Fabián Ezequiel Gallina  <fgallina@cuca>

68 69
	* progmodes/python.el (python-mode-map):
	Replace subtitute-key-definition with proper command remapping.
70 71
	(python-nav--up-list): Fix behavior for blocks on the same level.

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

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

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

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

82 83 84 85
2012-10-11  Kenichi Handa  <handa@gnu.org>

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

86 87 88 89 90
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.

91 92 93
2012-10-10  Martin Rudalics  <rudalics@gmx.at>

	* window.el (switch-to-buffer-preserve-window-point): New option.
94 95
	(switch-to-buffer):
	Obey `switch-to-buffer-preserve-window-point' (Bug#4041).
96

97 98 99 100 101
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).

102 103
2012-10-09  Michael Albinus  <michael.albinus@gmx.de>

104 105
	* net/tramp.el (tramp-debug-message):
	Remove "tramp-with-progress-reporter" from regexp of ignored functions.
106 107
	(with-tramp-progress-reporter): Rename from
	`tramp-with-progress-reporter'.
108 109
	(with-tramp-file-property, with-tramp-connection-property):
	Move from tramp-cache.el, rename from `with-file-property' and
110 111 112 113 114 115 116 117 118 119 120 121
	`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.

122 123
2012-10-09  Glenn Morris  <rgm@gnu.org>

124 125 126
	* w32-fns.el (set-message-beep):
	* term/w32-win.el (set-message-beep): Update declarations.

127 128
2012-10-09  Stefan Monnier  <monnier@iro.umontreal.ca>

129 130 131 132 133 134 135
	* 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.

136 137 138
	* progmodes/cc-bytecomp.el (cc-bytecomp-defmacro): Remove, unused.
	* progmodes/cc-vars.el (bq-process): Remove, unused.

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

141 142 143 144 145 146 147 148
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.

149 150 151 152 153 154
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).

155 156 157 158 159
2012-10-08  Fabián Ezequiel Gallina  <fgallina@cuca>

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

160 161 162
2012-10-08  Fabián Ezequiel Gallina  <fgallina@cuca>

	Fix shell handling of unbalanced quotes and parens in output.
163
	* progmodes/python.el (python-rx-constituents): Add string-delimiter.
164 165 166 167 168
	(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.

169 170 171 172 173
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).

174 175 176 177 178
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.

179 180
2012-10-08  Glenn Morris  <rgm@gnu.org>

181 182
	* cus-start.el (message-log-max): Set :version.

183 184
	* calendar/calendar.el (calendar-intermonth-header): Doc fix.

185 186 187 188 189
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).

190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205
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.

206 207 208 209 210
2012-10-08  Stefan Monnier  <monnier@iro.umontreal.ca>

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

211 212 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 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277
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.

278 279 280 281 282
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.

283 284 285
2012-10-07  Fabián Ezequiel Gallina  <fgallina@cuca>

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

289 290 291 292 293 294 295
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.

296 297 298 299 300 301 302 303
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.

304 305
2012-10-07  Stefan Monnier  <monnier@iro.umontreal.ca>

306 307 308 309 310 311 312 313
	* 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.

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

317 318
2012-10-07  Kenichi Handa  <handa@gnu.org>

319 320
	* international/mule-conf.el (compound-text-with-extensions):
	Add :mime-charset property as x-ctext.
321

322 323 324 325 326
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.
327
	(rst-official-cvs-rev): Correct version string.
328

329 330 331 332 333 334
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)

335 336 337 338 339 340 341 342 343 344 345 346 347 348 349
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.

350 351
2012-10-07  Glenn Morris  <rgm@gnu.org>

352 353 354
	* hi-lock.el (hi-lock-process-phrase):
	Try to make it less fragile.  (Bug#7161)

355 356
	* hi-lock.el (hi-lock-face-phrase-buffer): Doc fix.

357 358
2012-10-06  Glenn Morris  <rgm@gnu.org>

359
	* ehelp.el (electric-help-mode): Use help-mode rather than
360 361
	non-existent mode `help'.
	(electric-help-map): Use button-buffer-map.  (Bug#10917)
362

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

366 367 368
	* progmodes/sh-script.el (sh-indent-after-continuation):
	Add explicit :group.

369 370 371
	* textmodes/rst.el (rst-preferred-decorations)
	(rst-shift-basic-offset): Clarify obsolescence versions.

Glenn Morris's avatar
Glenn Morris committed
372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394
	* 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.

395 396 397
	* calendar/timeclock.el (timeclock-modeline-display):
	Add missing obsolete alias for renamed user option.

398 399 400 401 402
	* 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.

403 404 405 406 407 408 409 410 411 412 413 414
	* 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.

415 416
2012-10-06  Stefan Monnier  <monnier@iro.umontreal.ca>

417 418
	* emacs-lisp/cl-macs.el (cl-defstruct): Improve docstring.

419 420 421 422
	* subr.el (read-passwd-map): New var.
	(read-passwd): Use `read-string' again.
	* minibuffer.el (delete-minibuffer-contents): Make it interactive.

423 424 425 426 427
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).

428 429 430 431
2012-10-06  Chong Yidong  <cyd@gnu.org>

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

432 433 434 435 436
2012-10-06  Ikumi Keita  <ikumi@ikumi.que.jp>  (tiny change)

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

437 438 439 440
2012-10-06  Glenn Morris  <rgm@gnu.org>

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

441 442 443 444 445
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)

446 447 448 449 450 451 452 453
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
454 455
2012-10-05  Glenn Morris  <rgm@gnu.org>

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

Glenn Morris's avatar
Glenn Morris committed
458 459 460 461 462 463
	* 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.

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

466
2012-10-05  Juanma Barranquero  <lekktu@gmail.com>
Juanma Barranquero's avatar
Juanma Barranquero committed
467 468 469 470

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

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

473 474 475 476 477 478 479 480 481 482 483
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)

484 485 486 487 488 489
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.

490 491 492 493 494 495 496 497
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
498
	(python-fill-paragraph-function): Enhance context detection.
499 500
	(python-fill-string): Honor python-fill-string-style settings.

501 502 503 504 505
2012-10-04  Martin Rudalics  <rudalics@gmx.at>

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

506 507 508 509 510 511 512 513 514
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.

515 516 517 518 519
2012-10-03  Glenn Morris  <rgm@gnu.org>

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

520 521
2012-10-03  Martin Rudalics  <rudalics@gmx.at>

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

525 526 527
	* emacs-lisp/debug.el (debug): When quitting the debugger window
	restore current buffer (Bug#12502).

528 529
2012-10-02  Chong Yidong  <cyd@gnu.org>

530 531
	* progmodes/hideif.el (hif-lookup, hif-defined):
	Handle semantic-c-takeover-hideif.
532

533 534 535 536 537 538 539 540 541 542 543 544
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).

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

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

550 551 552 553
2012-10-02  Chong Yidong  <cyd@gnu.org>

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

554 555
2012-10-02  Stefan Monnier  <monnier@iro.umontreal.ca>

556 557 558 559
	* 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.

560 561 562 563 564 565 566 567 568 569 570
	* 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.

571 572 573 574
	* bookmark.el (bookmark-search-pattern): Remove var.
	(bookmark-read-search-input): Remove function.
	(bookmark-bmenu-search): Reimplement using a minibuffer.

575 576
	* faces.el (modeline): Remove obsolete face name.

577 578 579 580
	* 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.

581 582 583 584 585 586 587 588 589 590 591 592 593 594
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
595 596 597 598 599 600 601 602 603 604 605 606 607 608 609 610 611 612 613 614 615 616 617 618 619 620 621 622 623
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
624 625 626
	(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
627 628 629 630 631 632 633 634 635 636

	* 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.

637 638 639 640 641
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).

642 643 644 645
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.
646 647
	(bookmark-write-file): Bind `print-circle' to `t' to allow
	circular custom bookmark types.  (Bug#12503)
648

649 650
2012-10-01  Paul Eggert  <eggert@cs.ucla.edu>

651 652 653 654
	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.

655 656 657 658
	* 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>.

659 660 661 662
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)
663 664
	(python-shell-fetch-lines-string, python-shell-fetched-lines):
	New Vars.
665 666 667
	(python-shell-fetch-lines-filter): New function.
	(python-shell-send-string-no-output): Use them.

668 669 670 671 672 673 674 675 676 677
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.

678 679 680 681 682 683 684 685
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.

686 687 688 689 690 691 692 693 694
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.
695 696
	(reftex-arg-cite): Use `reftex-cite-key-separator'.
	Correctly handle new value type returned by `reftex-citation'.
697 698

	* textmodes/reftex-cite.el (reftex-create-bibtex-file): Make sure
699 700
	that entries with whitespace at various places are found.
	Doc fix. Include entries that are cross-referenced from cited entries.
701 702 703 704 705 706 707 708 709 710 711 712 713 714 715 716 717 718
	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)
719 720 721 722
	(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'.
723 724 725 726 727 728 729 730 731 732 733 734 735 736 737 738 739 740 741

	* 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.

742 743
	* textmodes/reftex-parse.el (reftex-parse-from-file):
	Move backward one char if a `\' was matched after a section macro.
744 745 746 747 748 749
	(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'.
750 751
	(reftex-reference): Use `reftex-ref-style-list' function.
	Adapt to new structure of `reftex-ref-style-alist'.  Prompt for a
752 753 754
	reference macro if `reftex-ref-macro-prompt' is non-nil.
	(reftex-reference): Pass refstyle to `reftex-format-special'.
	Determine reference macro by looking at
755 756
	`reftex-ref-style-default-list' and `reftex-ref-style-alist'.
	Use only one special format function.
757 758 759 760 761 762 763 764 765 766 767 768 769 770 771 772 773 774 775
	(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.

776 777
	* textmodes/reftex-toc.el (reftex-re-enlarge):
	Call `enlarge-window' only if there is something to do because in Emacs
778 779 780 781 782 783 784 785
	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.
786 787
	Remove the symbols for symbols for macro type distinction.
	Add characters for macro selection.
788 789 790 791
	(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.
792 793
	(reftex-ref-style-alist, reftex-ref-style-default-list):
	New variables.
794 795 796
	(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.
797 798 799 800
	(reftex-cite-format-builtin, reftex-bibliography-commands):
	Add support for ConTeXt.
	(reftex-format-ref-function, reftex-format-cite-function):
	Fix custom type.
801 802 803 804 805 806 807 808 809
	(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.
810 811
	(reftex-tie-multifile-symbols): Add doc string.
	Initialize `reftex-ref-style-list'.
812 813 814 815 816 817 818 819 820 821 822 823 824 825 826 827 828
	(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).

829 830 831
2012-09-30  Fabián Ezequiel Gallina  <fgallina@cuca>

	Enhancements for triple-quote string syntax.
832 833
	* progmodes/python.el (python-syntax-propertize-function):
	Match both quote cases in one regexp.
834 835
	(python-syntax-stringify): Handle matches properly.

836 837 838
2012-09-30  Juri Linkov  <juri@jurta.org>

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

843 844 845 846 847 848 849 850 851 852
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
853 854 855 856
2012-09-30  Jan Djärv  <jan.h.d@swipnet.se>

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

857 858 859 860 861 862
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.

863 864 865 866
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.
867 868 869 870
	* 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
871 872 873 874 875 876 877 878 879 880 881 882 883 884 885 886 887 888 889 890 891 892
	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.

893 894
	* dired.el (dired-mark-pop-up):
	Call display-buffer-below-selected with a fit-window-to-buffer alist
895 896
	entry.

897 898
2012-09-30  Chong Yidong  <cyd@gnu.org>

899 900 901 902 903 904 905
	* 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.

906 907 908
	* simple.el (delete-trailing-whitespace): Avoid an unnecessary
	restriction change.

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

911 912
	* help-fns.el (help-fns--obsolete): Fix last change.

913 914
2012-09-30  Stefan Monnier  <monnier@iro.umontreal.ca>

915 916 917
	* winner.el (winner-mode-map): Obey winner-dont-bind-my-keys here.
	(minor-mode-map-alist): Remove redundant code.

918 919 920 921 922 923 924
	* 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.

925 926 927 928
	* 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.

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

931 932
	* tutorial.el (help-with-tutorial): Use minibuffer-with-setup-hook.

933 934 935
	* textmodes/text-mode.el (paragraph-indent-minor-mode): Make it
	a proper minor-mode.

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

938 939
2012-09-29  Glenn Morris  <rgm@gnu.org>

940 941 942 943 944 945 946
	* 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.

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

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

952 953 954
	* progmodes/inf-lisp.el (inferior-lisp-filter-regexp)
	(inferior-lisp-program, inferior-lisp-load-command)
	(inferior-lisp-prompt, inferior-lisp-mode-hook):
955
	No need to autoload defcustoms.
956

957 958 959 960
	* 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)
961
	(hippie-expand-only-buffers): No need to autoload defcustoms.
962 963 964 965
	* 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.

966 967
2012-09-28  Glenn Morris  <rgm@gnu.org>

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

970 971 972
	* emacs-lisp/bytecomp.el (byte-compile-cl-file-p):
	Only "cl.el" counts as cl these days.

973 974 975 976 977 978 979 980 981 982 983 984 985 986 987 988 989
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)

990 991
2012-09-28  Leo Liu  <sdl.web@gmail.com>

992 993
	* pcomplete.el (pcomplete-show-completions):
	Use minibuffer-message to make pcomplete usable in minibuffer.
994

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

997 998
2012-09-28  Stefan Monnier  <monnier@iro.umontreal.ca>

999 1000 1001
	* type-break.el: Use lexical-binding.
	(type-break-mode): Use define-minor-mode.

1002 1003 1004 1005 1006 1007
	* 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.

1008 1009 1010 1011 1012 1013 1014
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.

1015 1016 1017 1018 1019 1020 1021 1022
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.

1023 1024 1025 1026 1027
2012-09-28  Chong Yidong  <cyd@gnu.org>

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

1028 1029
2012-09-27  Stefan Monnier  <monnier@iro.umontreal.ca>

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

1032 1033
2012-09-27  Glenn Morris  <rgm@gnu.org>

1034 1035
	* faces.el (x-display-name): Declare (for without-x builds).

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

1038 1039
	* progmodes/tcl.el: Don't require outline when compiling.
	(outline-regexp, outline-level): Declare.
1040 1041 1042
	* textmodes/sgml-mode.el: Don't require outline when compiling.
	(outline-regexp, outline-heading-end-regexp, outline-level): Declare.

1043 1044 1045
	* term.el (term-ansi-reset):
	Try setting term-ansi-face-already-done to nil.  (Bug#11785)

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

1049 1050 1051 1052 1053
2012-09-27  Chong Yidong  <cyd@gnu.org>

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

1054 1055
2012-09-27  Stefan Monnier  <monnier@iro.umontreal.ca>

1056 1057 1058 1059 1060 1061 1062 1063 1064 1065 1066 1067
	* 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.

1068 1069 1070 1071 1072 1073
	* 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
1074 1075 1076 1077 1078 1079 1080
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
1081 1082 1083 1084 1085
2012-09-26  Tomohiro Matsuyama  <tomo@cx4a.org>
            Stefan Monnier  <monnier@iro.umontreal.ca>

	* profiler.el: New file.

1086 1087 1088 1089 1090
2012-09-26  Stefan Monnier  <monnier@iro.umontreal.ca>

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

1091 1092 1093 1094
2012-09-26  Juanma Barranquero  <lekktu@gmail.com>

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

1095 1096 1097 1098 1099 1100 1101 1102 1103 1104 1105
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.
1106 1107 1108
	(verilog-batch-delete-trailing-whitespace):
	Create verilog-batch-delete-trailing-whitespace.
	Reported by Brad Dobbie.
1109 1110 1111 1112 1113 1114 1115 1116 1117 1118 1119
	(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.

1120 1121 1122 1123 1124 1125 1126 1127 1128 1129
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)

1130 1131 1132 1133 1134 1135
2012-09-25  Chong Yidong  <cyd@gnu.org>

	* subr.el (declare): Doc fix.

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

1136 1137 1138 1139 1140 1141 1142 1143 1144 1145 1146 1147 1148 1149 1150 1151 1152 1153 1154 1155 1156 1157 1158 1159 1160 1161 1162 1163 1164 1165 1166 1167 1168 1169 1170 1171 1172 1173 1174 1175 1176 1177 1178 1179 1180 1181 1182 1183 1184 1185 1186 1187 1188 1189 1190 1191 1192 1193 1194 1195 1196 1197
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):
1198 1199
	* progmodes/which-func.el (which-func-update-1):
	Use define-obsolete-function-alias.
1200 1201

	* net/newst-backend.el (newsticker-cache-filename):
1202 1203
	* net/newst-treeview.el (newsticker-groups-filename):
	Fix incorrect obsolescence declaration.
1204 1205 1206 1207 1208 1209 1210 1211 1212 1213 1214 1215 1216

	* 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.

1217 1218
2012-09-25  Glenn Morris  <rgm@gnu.org>

1219 1220 1221
	* buff-menu.el (Buffer-menu-name-width, Buffer-menu-size-width):
	Doc fixes.

1222 1223 1224
	* eshell/em-term.el (eshell-term-name):
	Default to term-term-name.  (Bug#12485)

1225 1226
2012-09-24  Fabián Ezequiel Gallina  <fgallina@cuca>

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

1230 1231 1232 1233 1234
2012-09-24  Glenn Morris  <rgm@gnu.org>

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

1235 1236 1237 1238 1239
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.
1240 1241
	(python-syntax-count-quotes, python-syntax-stringify):
	New functions.
1242

1243 1244
2012-09-24  Chong Yidong  <cyd@gnu.org>

1245 1246 1247 1248 1249 1250
	* 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.
1251 1252
	(log-edit-require-final-newline)
	(log-edit-changelog-full-paragraphs): Default to t.
1253 1254 1255 1256 1257 1258 1259 1260 1261 1262 1263 1264 1265 1266 1267 1268 1269 1270 1271 1272 1273

	* vc/pcvs-defs.el (cvs-diff-buffer-name, cvs-diff-ignore-marks)
	* vc/vc-hooks.el (vc-ignore-vc-files, vc-master-templates)
	* vc/vc.el (vc-checkout-carefully): Likewise.

	* vc/emerge.el (emerge-mode): Make it an obsolete alias.
	(emerge-version): Remove.

	* progmodes/compile.el (compile-internal): Remove.
	(compilation-parse-errors-function): Fix typo.

	* international/mule.el (set-char-table-default): Remove.
	(set-coding-priority, make-coding-system, generic-char-p)
	(charset-list, charset-bytes, charset-id): Use declare to mark
	functions as obsolete.

	* vc/pcvs-defs.el (cvs-buffer-name-alist)
	(cvs-invert-ignore-marks): Remove references to obsolete vars.
	* vc/vc-hooks.el (vc-default-registered): Don't use
	vc-master-templates.

1274 1275
	* font-lock.el (font-lock-reference-face):
	Use define-obsolete-variable-alias.
1276 1277 1278 1279 1280 1281 1282 1283 1284 1285 1286 1287 1288 1289 1290

	* generic-x.el (rul-generic-mode): Use font-lock-constant-face.
	* calendar/calendar.el (calendar-font-lock-keywords):
	* calendar/diary-lib.el (diary-font-lock-keywords)
	(diary-fancy-font-lock-keywords):
	* textmodes/reftex-sel.el (reftex-insert-docstruct):
	* textmodes/reftex-index.el (reftex-insert-index):
	* textmodes/reftex-cite.el (reftex-format-bib-entry):
	* progmodes/ruby-mode.el (ruby-font-lock-keywords):
	* progmodes/ps-mode.el (ps-mode-font-lock-keywords-1):
	* progmodes/prolog.el (prolog-font-lock-keywords):
	* progmodes/idlwave.el (idlwave-idl-keywords):
	* progmodes/ada-mode.el (ada-font-lock-keywords):
	* net/snmp-mode.el (snmp-font-lock-keywords-3): Likewise.

1291 1292 1293 1294
2012-09-24  Glenn Morris  <rgm@gnu.org>

	* mail/emacsbug.el (report-emacs-bug): Include `lsb_release -d'.

1295 1296 1297 1298 1299
2012-09-23  Fabián Ezequiel Gallina  <fgallina@cuca>

	* progmodes/python.el (python-indent-line): More consistent cursor
	movement behavior.

1300 1301 1302 1303
2012-09-23  Stefan Merten  <smerten@oekonux.de>

	* textmodes/rst.el: Fix compiler warning.

1304 1305
2012-09-23  Roland Winkler  <winkler@gnu.org>

1306 1307
	* textmodes/bibtex.el (bibtex-autokey-transcriptions):
	Transcribe also LaTeX hyphenation.
1308 1309 1310
	(bibtex-reformat): Bug fix. Do not quote twice the elements of
	bibtex-reformat-previous-options.

1311 1312 1313 1314 1315 1316 1317 1318
2012-09-23  Roland Winkler  <winkler@gnu.org>

	* proced.el (proced-renice-command): New variable.
	(proced-marked-processes): New function.
	(proced-with-processes-buffer): New macro.
	(proced-send-signal): Use them.
	(proced-renice): New command bound to r.

1319 1320 1321 1322 1323 1324
2012-09-23  Roland Winkler  <winkler@gnu.org>

	* ibuf-ext.el (ibuffer-switch-to-saved-filter-groups): If list
	ibuffer-saved-filter-groups has one element, shortcut the call of
	completing-read.  (Bug#12331)

1325 1326 1327 1328 1329 1330 1331 1332
2012-09-23  Chong Yidong  <cyd@gnu.org>

	* bindings.el (mode-line-toggle-read-only):
	* bs.el (bs-toggle-readonly):
	* buff-menu.el (Buffer-menu-toggle-read-only):
	* dired.el (dired-toggle-read-only):
	* ibuffer.el (ibuffer-do-toggle-read-only): Use read-only-mode.

1333 1334 1335 1336 1337
2012-09-23  Chong Yidong  <cyd@gnu.org>

	* image.el (image-type-available-p): Adapt to init-image-library
	argument changes.

1338 1339 1340 1341 1342
2012-09-22  Juri Linkov  <juri@jurta.org>

	* dired.el (dired-mode-map): Add [remap read-only-mode] for
	`dired-toggle-read-only'.  (Bug#12462)

1343 1344 1345 1346 1347 1348
2012-09-22  Martin Rudalics  <rudalics@gmx.at>

	* subr.el (temp-output-buffer-show): New function.
	(with-output-to-temp-buffer): Call temp-output-buffer-show
	instead of internal-temp-output-buffer-show.

Chong Yidong's avatar
Chong Yidong committed
1349 1350
2012-09-22  Chong Yidong  <cyd@gnu.org>

1351 1352 1353
	* files.el (ctl-x-map): Bind C-x C-q to read-only-mode
	(Bug#12462).

Chong Yidong's avatar
Chong Yidong committed
1354 1355 1356 1357 1358 1359
	* repeat.el (repeat): Doc fix (Bug#12348).

	* emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix
	(Bug#10909).

	* simple.el (shell-command-on-region): Doc fix.
1360
	(read-only-mode): Doc fix.
Chong Yidong's avatar
Chong Yidong committed
1361

1362 1363 1364 1365 1366 1367
2012-09-22  Eli Zaretskii  <eliz@gnu.org>

	* emacs-lisp/timer.el (run-with-idle-timer)
	(timer-activate-when-idle): Warn against reinvoking an idle timer
	from within its own timer action.  (Bug#12447)

1368 1369 1370 1371 1372 1373 1374 1375 1376 1377 1378 1379 1380
2012-09-22  Martin Rudalics  <rudalics@gmx.at>

	* cus-start.el (window-combination-limit): Add new optional
	values.
	* window.el (temp-buffer-window-show)
	(window--try-to-split-window): Handle new values of
	window-combination-limit (Bug#1806).
	(split-window): Test window-combination-limit for t instead of
	non-nil.
	(display-buffer-at-bottom): New buffer display action function.
	* help.el (temp-buffer-resize-regexps): New option.
	(temp-buffer-resize-mode): Rewrite doc-string.
	(resize-temp-buffer-window): Obey temp-buffer-resize-regexps.
Glenn Morris's avatar
Glenn Morris committed
1381
	Don't resize reused window.  Suggested by Glenn Morris.
1382

1383 1384
2012-09-22  Stefan Merten  <smerten@oekonux.de>

1385
	* textmodes/rst.el: Revamp section title faces.
1386 1387 1388 1389 1390 1391 1392 1393 1394 1395 1396
	(rst-official-version)
	(rst-package-emacs-version-alist): Sync with official version
	V1.4.0.
	(rst-faces-defaults, rst-set-level-default)
	(rst-level-face-max, rst-level-face-base-color)
	(rst-level-face-base-light, rst-level-face-format-light)
	(rst-level-face-step-light, rst-define-level-faces): Obsolete.
	(rst-adornment-faces-alist): Match new setup.
	(rst-level-1, rst-level-2, rst-level-3, rst-level-4)
	(rst-level-5, rst-level-6): New faces.

1397 1398 1399 1400
2012-09-22  Chong Yidong  <cyd@gnu.org>

	* simple.el (undo): Handle indirect buffers (Bug#8207).

1401
2012-09-21  Leo Liu  <sdl.web@gmail.com>
1402 1403

	IDO: Disable match re-ordering for buffer switching.
1404
	* ido.el (ido-buffer-disable-smart-matches): New variable.
1405 1406
	(ido-set-matches-1): Use it.  (Bug#2042)

1407
2012-09-21  Jose Marino  <marinoj@nso.edu>  (tiny change)
1408 1409 1410 1411

	* progmodes/idlw-shell.el (idlwave-shell-complete-filename):
	Fix 2011-05-17 change.  (Bug#12418)

1412
2012-09-21  Leo Liu  <sdl.web@gmail.com>
1413 1414 1415

	* subr.el (ignore-errors): Mention with-demoted-errors in doc-string.

1416
2012-09-21  Glenn Morris  <rgm@gnu.org>
1417 1418 1419 1420

	* emacs-lisp/shadow.el (load-path-shadows-font-lock-keywords):
	Be more robust about locating simple.el.

1421
2012-09-21  Glenn Morris  <rgm@gnu.org>
1422 1423 1424

	* mail/emacsbug.el (report-emacs-bug): Trap load-path-shadows errors.

1425 1426 1427 1428
2012-09-21  Joel Bion  <jpbion@westvi.com>  (tiny change)

	* pcmpl-gnu.el (pcmpl-gnu-tarfile-regexp): Add tar.xz.  (Bug#12382)

1429 1430
2012-09-20  Juri Linkov  <juri@jurta.org>

1431 1432 1433 1434 1435 1436 1437 1438 1439 1440 1441 1442 1443
	* replace.el (query-replace-read-from): Use `read-regexp' instead
	of `read-from-minibuffer' when `regexp-flag' is non-nil.
	(occur-read-primary-args): Use `read-regexp' instead of
	`read-string'.
	(multi-occur-in-matching-buffers): Use `read-regexp' instead of
	`read-from-minibuffer'.
	* isearch.el (isearch-occur): Use `read-regexp' instead of
	`read-string'.
	* dired.el (dired-read-regexp): Use `read-regexp' instead of
	`read-from-minibuffer'.
	* progmodes/grep.el (grep-read-regexp): Use `read-regexp' instead
	of `read-string'.  (Bug#7567)

1444 1445 1446 1447
	* replace.el (read-regexp): Rename DEFAULT-VALUE arg to DEFAULTS
	and allow accepting a list of strings prepended to a list of
	standard default values.  Doc fix.  (Bug#12321)

1448 1449
	* replace.el (read-regexp): Add HISTORY arg.  (Bug#7567)

1450 1451 1452
	* replace.el (read-regexp): Don't add ": " when PROMPT already
	ends with a colon and space.  (Bug#12321)

1453 1454 1455 1456 1457
2012-09-20  Tassilo Horn  <tsdh@gnu.org>

	* doc-view.el (doc-view-display): Better fix for the cl-assertion
	error.

1458 1459
2012-09-20  Stefan Merten  <smerten@oekonux.de>

1460
	* textmodes/rst.el: Integrate support for `imenu' and `which-function'.
1461 1462 1463 1464 1465 1466
	Fixes feature request bug#11711.
	(rst-mode): Create `imenu-create-index-function'.
	(rst-get-stripped-line): Delete after refactoring.
	(rst-section-tree, rst-section-tree-rec)
	(rst-section-tree-point): Refactor and document properly.
	(rst-imenu-find-adornments-for-position)
1467 1468
	(rst-imenu-convert-cell, rst-imenu-create-index):
	New function.
1469

1470 1471
2012-09-20  Stefan Monnier  <monnier@iro.umontreal.ca>

1472 1473 1474 1475 1476 1477 1478
	* emacs-lisp/macroexp.el (macroexp--obsolete-warning): New function.
	(macroexp--expand-all): Use it.
	(macroexp--funcall-and-return): Remove by folding it into its sole
	caller (macroexp--warn-and-return).
	* emacs-lisp/bytecomp.el (byte-compile-warn-obsolete):
	Use macroexp--obsolete-warning.

1479 1480 1481
	* calc/calc.el: Fix last change by removing the whole chunk, since it
	was only needed back when Calc was not bundled.

1482 1483 1484 1485 1486
2012-09-20  Martin Rudalics  <rudalics@gmx.at>

	* emacs-lisp/debug.el (debug): Restore assignment to
	debugger-old-buffer removed on 2012-09-08.

1487 1488 1489 1490 1491
2012-09-20  Juri Linkov  <juri@jurta.org>

	* dired-aux.el (dired-diff): Remove (require 'diff) since
	`diff-latest-backup-file' is now autoloaded.

1492 1493 1494 1495
2012-09-20  Chong Yidong  <cyd@gnu.org>

	* vc/diff.el (diff-latest-backup-file): Autoload.

1496 1497
2012-09-20  Stefan Monnier  <monnier@iro.umontreal.ca>

1498 1499 1500 1501 1502 1503 1504 1505 1506
	* calc/calc.el: Remove redundant autoload shape check.
	(sel-mode): Don't defvar.
	(calc-get-stack-element): Add `sel-mode' arg instead.
	(calc-top, calc-top-list): Pass it this additional argument.
	* calc/calc-store.el (calc-store-map):
	* calc/calc-map.el (calc-apply, calc-reduce, calc-map)
	(calc-map-equation, calc-outer-product, calc-inner-product):
	* calc/calc-aent.el (calc-alg-entry): Don't bind sel-mode.

1507 1508
	* emacs-lisp/macroexp.el (macroexp--expand-all): Fix last change.

1509 1510 1511 1512 1513 1514 1515 1516
2012-09-19  Juri Linkov  <juri@jurta.org>

	* dired-aux.el (dired-diff): Add (require 'diff) because
	`diff-latest-backup-file' is not autoloaded.
	(dired-do-chxxx, dired-do-chmod): Set `no-error-if-not-filep' arg
	of `dired-get-filename' to t to not report error when there is
	no default file on the current line.

1517 1518
2012-09-19  Stefan Monnier  <monnier@iro.umontreal.ca>

1519 1520 1521 1522 1523
	* emacs-lisp/macroexp.el (macroexp--funcall-if-compiled): Rename from
	macroexp--eval-if-compile.
	(macroexp--funcall-and-return, macroexp--warn-and-return): New funs.
	(macroexp--expand-all): Use them (bug#12371).

1524 1525 1526
	* doc-view.el (doc-view-guess-paper-size)
	(doc-view-scale-bounding-box): Fix unbound `caddr'.

1527 1528 1529 1530 1531 1532 1533 1534 1535 1536 1537
2012-09-19  Tassilo Horn  <tsdh@gnu.org>

	New feature: set optimal slice from BoundingBox information.
	* doc-view.el (doc-view-mode-map): Add keybinding.
	(doc-view-menu): Add menu entry.
	(doc-view-set-slice): Adapt docstring.
	(doc-view-get-bounding-box, doc-view-guess-paper-size)
	(doc-view-scale-bounding-box)
	(doc-view-set-slice-from-bounding-box): New functions.
	(doc-view-paper-sizes): New defvar.

1538 1539
2012-09-19  Glenn Morris  <rgm@gnu.org>

Glenn Morris's avatar
Glenn Morris committed
1540 1541 1542
	* emacs-lisp/macroexp.el (byte-compile-warn-obsolete)
	(byte-compile-log-warning): Autoload.  (Bug#12371)

1543 1544 1545 1546 1547 1548
	* calendar/calendar.el (calendar-american-month-header)
	(calendar-european-month-header, calendar-iso-month-header)
	(calendar-month-header): New options.
	(calendar-set-date-style): Set calendar-month-header.  Redraw calendar.
	(calendar-generate-month): Use calendar-month-header.  (Bug#9510)

1549 1550 1551 1552
2012-09-19  Jan Djärv  <jan.h.d@swipnet.se>

	* startup.el (command-line-ns-option-alist): Add -g and --geometry.

1553 1554 1555 1556 1557 1558
2012-09-18  Juri Linkov  <juri@jurta.org>

	* dired-aux.el (dired-diff): Restore original functionality of
	getting the default value, but keep new feature of using the
	latest existing backup file (`diff-latest-backup-file').

1559 1560 1561 1562 1563 1564 1565
2012-09-18  Juri Linkov  <juri@jurta.org>

	* dired.el (dired-mark): If the region is active in Transient Mark
	mode, mark all files in the active region.  Doc fix.
	(dired-unmark, dired-flag-file-deletion, dired-unmark-backward):
	Doc fix.  (Bug#10624)

1566 1567