ChangeLog 755 KB
Newer Older
1 2
2012-10-29  Chong Yidong  <cyd@gnu.org>

Chong Yidong's avatar
Chong Yidong committed
3
	* startup.el (fancy-about-screen): Don't message (Bug#12680).
4

5 6
	* thingatpt.el (thing-at-point): Doc fix (Bug#12691).

7 8
	* imenu.el (imenu): Inhibit push-mark message (Bug#12726).

9 10 11
	* face-remap.el (face-remap-add-relative): Handle the case where a
	face-remapping-alist entry is a cons cell (Bug#12762).

12 13 14 15
2012-10-29  Glenn Morris  <rgm@gnu.org>

	* emacs-lisp/cl.el (defsetf): Doc fix.

16 17 18 19 20 21 22 23
2012-10-29  Stefan Monnier  <monnier@iro.umontreal.ca>

	* progmodes/sh-script.el (sh-font-lock-paren): Also put punctuation
	syntax to the matching opener, if any (bug#12547).
	(sh-smie-sh-forward-token, sh-smie-sh-backward-token): Recognize this
	matching open as a "case-(".
	(sh-smie-rc-grammar): Add a corresponding rule for it.

24 25 26 27 28
2012-10-28  Daniel Hackney  <dan@haxney.org>

	* emacs-lisp/package.el (package-generate-autoloads): Kill buffer
	"PKGNAME-autoloads.el" in case we created it.

29 30
2012-10-28  Stefan Monnier  <monnier@iro.umontreal.ca>

31 32
	* minibuffer.el (completion--sifn-requote): Rewrite to handle things
	like Tramp's "/foo:~bar//baz" -> "/scpc:foo:/baz" mapping (bug#11714).
33
	(completion--twq-all): Disable too-strict assertions.
34

35 36
	* tmm.el (tmm-prompt): Use map-keymap (bug#12744).

37 38 39 40 41
2012-10-27  Eli Zaretskii  <eliz@gnu.org>

	* profiler.el (profiler-report-make-entry-part): Fix help-echo
	text to match the real keybindings.

42 43 44 45 46 47 48 49 50 51 52
2012-10-27  Juri Linkov  <juri@jurta.org>

	* wdired.el (wdired-keep-marker-rename): New defcustom.
	(wdired-do-renames): Use it instead of `dired-keep-marker-rename'.
	(Bug#11795)

	* dired.el (dired-keep-marker-rename): Add reference to
	`wdired-keep-marker-rename' in the docstring.
	Add default character value ?R to display initially in
	Customization UI instead of ?@.

53 54 55 56 57 58 59 60
2012-10-27  Martin Rudalics  <rudalics@gmx.at>

	* window.el (display-buffer): In doc-string describe
	window-height and window-width alist entries.

	* time.el (display-time-world): Restore fit-window-to-buffer
	behavior.

61 62 63 64
2012-10-27  Chong Yidong  <cyd@gnu.org>

	* subr.el (insert-buffer-substring-as-yank): Doc fix.

65 66 67 68 69
2012-10-26  Jambunathan K  <kjambunathan@gmail.com>

	* minibuffer.el (completion-category-overrides): New completion
	category `bookmark' (bug#11131).

70 71
2012-10-26  Stefan Monnier  <monnier@iro.umontreal.ca>

72 73 74
	* emacs-lisp/advice.el (ad-assemble-advised-definition):
	Silence bogus compiler warnings for ad-do-it.

75 76 77
	* bookmark.el (bookmark-completing-read): Set the completion category
	to `bookmark' (bug#11131).

78 79 80 81 82 83 84
2012-10-26  Bastien  <bzg@altern.org>
            Stefan Monnier  <monnier@iro.umontreal.ca>

	* face-remap.el: Use lexical-binding.
	(text-scale-adjust): Improve docstring.  Use itself for the temporary
	overlay-map bindings, so as to repeat the "Use..." message each time.

85 86
2012-10-26  Stefan Monnier  <monnier@iro.umontreal.ca>

87 88 89
	* emacs-lisp/macroexp.el (macroexp--expand-all):
	Obey byte-compile-warning-enabled-p (bug#12486).

90 91 92
	* vc/diff-mode.el (diff-end-of-hunk): Also skip potential "no LF at eol".
	(diff-refine-hunk): Similarly, handle the "no LF at eol" (bug#12584).

93 94 95 96 97 98 99
2012-10-26  Martin Rudalics  <rudalics@gmx.at>

	* mouse.el (mouse-drag-line): Move last form into preceding when
	clause (Bug#12731).

	* help.el (resize-temp-buffer-window): Fix doc-string.

David Engster's avatar
David Engster committed
100 101 102
2012-10-25  David Engster  <deng@randomsample.de>

	* emacs-lisp/eieio.el (eieio-update-lisp-imenu-expression):
103
	Remove.  This feature is already integrated in imenu.
David Engster's avatar
David Engster committed
104 105 106 107

	* emacs-lisp/eieio-opt.el: Remove require for `button' since it is
	always loaded.  Require `speedbar' unconditionally.

108 109
2012-10-25  Stefan Monnier  <monnier@iro.umontreal.ca>

110 111
	* dired.el (dired-get-marked-files): Allow ! on . and .. (bug#12725).

112 113
	* minibuffer.el (minibuffer-force-complete): Fix thinko.

114 115 116
	* net/ldap.el (ldap-search-internal): The official ldif format starts
	with a "version: 1" header (bug#12724).

117 118 119
	* emacs-lisp/package.el (package-installed-p): Warn if not ready
	(bug#12721).

Glenn Morris's avatar
Glenn Morris committed
120 121 122 123
2012-10-25  Glenn Morris  <rgm@gnu.org>

	* emacs-lisp/cl-macs.el (cl-progv): Doc fix.

124 125 126 127 128
2012-10-24  Stefan Monnier  <monnier@iro.umontreal.ca>

	* minibuffer.el (minibuffer-force-complete): Use one more marker
	for the temporary-overlay-map command (bug#12619).

129 130 131 132 133
2012-10-24  Chong Yidong  <cyd@gnu.org>

	* time.el (display-time-world-mode): Derive from special-mode.
	(display-time-world): Use display-buffer (Bug#12708).
	(display-time-world-mode-map): Variable deleted.
134 135
	(display-time-world-display): Wrap the final delete-char inside
	inhibit-read-only.
136

137 138
2012-10-24  Chong Yidong  <cyd@gnu.org>

139 140 141
	* dired.el (dired-mark, dired-unmark, dired-flag-file-deletion):
	Doc fix.

142 143
	* emacs-lisp/easymenu.el (easy-menu-define): Doc fix (Bug#12628).

144 145 146 147 148 149 150 151 152
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).

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

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

158 159 160
	* vc/diff-mode.el (diff-hunk): `save-excursion' while refining
	(bug#12671).

161 162 163 164 165
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
166 167
2012-10-23  Stefan Monnier  <monnier@iro.umontreal.ca>

168 169
	* repeat.el (repeat): Set real-this-command (bug#12232).

Stefan Monnier's avatar
Stefan Monnier committed
170 171 172 173 174 175 176 177 178 179 180 181 182 183
	* 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.

184 185
2012-10-23  Michael Albinus  <michael.albinus@gmx.de>

Stefan Monnier's avatar
Stefan Monnier committed
186 187
	* net/tramp-smb.el (tramp-smb-maybe-open-connection):
	Set `tramp-chunksize' to 1.  This improves the performance.
188 189 190
	(tramp-smb-wait-for-output): Add timeout to
	`tramp-accept-process-output' calls.

191 192
2012-10-23  Chong Yidong  <cyd@gnu.org>

193 194 195 196 197
	* faces.el (font-list-limit): Define as an obsolete variable.

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

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

200 201 202 203 204
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.

205 206 207 208 209
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)

210 211 212 213
2012-10-22  Glenn Morris  <rgm@gnu.org>

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

214 215 216 217 218
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).

219 220 221 222 223 224 225 226 227 228 229 230 231 232
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.

233 234 235 236 237 238 239 240 241 242 243 244 245 246 247
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
248 249
2012-10-20  Chong Yidong  <cyd@gnu.org>

250 251 252
	* 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
253 254 255
	* eshell/esh-cmd.el (eshell-rewrite-for-command): Copy the body
	list explicitly (Bug#12571).

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

258 259
	* progmodes/flymake.el (flymake-create-temp-inplace):
	Use file-truename.
260

261 262 263 264
2012-10-20  Eli Zaretskii  <eliz@gnu.org>

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

265 266 267 268 269
2012-10-20  Jay Belanger  <jay.p.belanger@gmail.com>

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

270 271 272 273 274 275
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.

276 277 278 279 280
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).

281 282 283 284 285
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).

286 287 288 289 290 291 292 293 294
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).

295 296
2012-10-18  Stefan Monnier  <monnier@iro.umontreal.ca>

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

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

303 304
2012-10-18  Glenn Morris  <rgm@gnu.org>

305 306 307
	* dired.el (dired-sort-toggle): Some ls implementations only allow
	a single option string.  (Bug#12666)

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

310 311
2012-10-17  Kenichi Handa  <handa@gnu.org>

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

316
2012-10-17  Michael Heerdegen <michael_heerdegen@web.de>
317 318 319 320 321 322

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

323 324 325 326 327
2012-10-16  Juri Linkov  <juri@jurta.org>

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

328 329 330 331
2012-10-15  Chong Yidong  <cyd@gnu.org>

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

332 333
2012-10-14  Eli Zaretskii  <eliz@gnu.org>

334 335
	* window.el (display-buffer): Doc fix.

336 337 338 339 340 341
	* 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.

342 343
2012-10-14  Stefan Monnier  <monnier@iro.umontreal.ca>

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

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

349 350 351 352 353
2012-10-13  Chong Yidong  <cyd@gnu.org>

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

354 355 356 357 358
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).

359 360
2012-10-12  Stefan Monnier  <monnier@iro.umontreal.ca>

361 362 363
	* help-fns.el (describe-variable, describe-function-1):
	* help-mode.el (help-make-xrefs): Remove error handler, made unneeded.

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

366 367 368 369 370
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)

371 372
2012-10-12  Fabián Ezequiel Gallina  <fgallina@cuca>

373 374
	* progmodes/python.el (python-mode-map):
	Replace subtitute-key-definition with proper command remapping.
375 376
	(python-nav--up-list): Fix behavior for blocks on the same level.

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

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

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

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

387 388 389 390
2012-10-11  Kenichi Handa  <handa@gnu.org>

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

391 392 393 394 395
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.

396 397 398
2012-10-10  Martin Rudalics  <rudalics@gmx.at>

	* window.el (switch-to-buffer-preserve-window-point): New option.
399 400
	(switch-to-buffer):
	Obey `switch-to-buffer-preserve-window-point' (Bug#4041).
401

402 403 404 405 406
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).

407 408
2012-10-09  Michael Albinus  <michael.albinus@gmx.de>

409 410
	* net/tramp.el (tramp-debug-message):
	Remove "tramp-with-progress-reporter" from regexp of ignored functions.
411 412
	(with-tramp-progress-reporter): Rename from
	`tramp-with-progress-reporter'.
413 414
	(with-tramp-file-property, with-tramp-connection-property):
	Move from tramp-cache.el, rename from `with-file-property' and
415 416 417 418 419 420 421 422 423 424 425 426
	`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.

427 428
2012-10-09  Glenn Morris  <rgm@gnu.org>

429 430 431
	* w32-fns.el (set-message-beep):
	* term/w32-win.el (set-message-beep): Update declarations.

432 433
2012-10-09  Stefan Monnier  <monnier@iro.umontreal.ca>

434 435 436 437 438 439 440
	* 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.

441 442 443
	* progmodes/cc-bytecomp.el (cc-bytecomp-defmacro): Remove, unused.
	* progmodes/cc-vars.el (bq-process): Remove, unused.

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

446 447 448 449 450 451 452 453
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.

454 455 456 457 458 459
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).

460 461 462 463 464
2012-10-08  Fabián Ezequiel Gallina  <fgallina@cuca>

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

465 466 467
2012-10-08  Fabián Ezequiel Gallina  <fgallina@cuca>

	Fix shell handling of unbalanced quotes and parens in output.
468
	* progmodes/python.el (python-rx-constituents): Add string-delimiter.
469 470 471 472 473
	(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.

474 475 476 477 478
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).

479 480 481 482 483
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.

484 485
2012-10-08  Glenn Morris  <rgm@gnu.org>

486 487
	* cus-start.el (message-log-max): Set :version.

488 489
	* calendar/calendar.el (calendar-intermonth-header): Doc fix.

490 491 492 493 494
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).

495 496 497 498 499 500 501 502 503 504 505 506 507 508 509 510
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.

511 512 513 514 515
2012-10-08  Stefan Monnier  <monnier@iro.umontreal.ca>

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

516 517 518 519 520 521 522 523 524 525 526 527 528 529 530 531 532 533 534 535 536 537 538 539 540 541 542 543 544 545 546 547 548 549 550 551 552 553 554 555 556 557 558 559 560 561 562 563 564 565 566 567 568 569 570 571 572 573 574 575 576 577 578 579 580 581 582
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.

583 584 585 586 587
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.

588 589 590
2012-10-07  Fabián Ezequiel Gallina  <fgallina@cuca>

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

594 595 596 597 598 599 600
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.

601 602 603 604 605 606 607 608
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.

609 610
2012-10-07  Stefan Monnier  <monnier@iro.umontreal.ca>

611 612 613 614 615 616 617 618
	* 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.

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

622 623
2012-10-07  Kenichi Handa  <handa@gnu.org>

624 625
	* international/mule-conf.el (compound-text-with-extensions):
	Add :mime-charset property as x-ctext.
626

627 628 629 630 631
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.
632
	(rst-official-cvs-rev): Correct version string.
633

634 635 636 637 638 639
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)

640 641 642 643 644 645 646 647 648 649 650 651 652 653 654
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.

655 656
2012-10-07  Glenn Morris  <rgm@gnu.org>

657 658 659
	* hi-lock.el (hi-lock-process-phrase):
	Try to make it less fragile.  (Bug#7161)

660 661
	* hi-lock.el (hi-lock-face-phrase-buffer): Doc fix.

662 663
2012-10-06  Glenn Morris  <rgm@gnu.org>

664
	* ehelp.el (electric-help-mode): Use help-mode rather than
665 666
	non-existent mode `help'.
	(electric-help-map): Use button-buffer-map.  (Bug#10917)
667

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

671 672 673
	* progmodes/sh-script.el (sh-indent-after-continuation):
	Add explicit :group.

674 675 676
	* textmodes/rst.el (rst-preferred-decorations)
	(rst-shift-basic-offset): Clarify obsolescence versions.

Glenn Morris's avatar
Glenn Morris committed
677 678 679 680 681 682 683 684 685 686 687 688 689 690 691 692 693 694 695 696 697 698 699
	* 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.

700 701 702
	* calendar/timeclock.el (timeclock-modeline-display):
	Add missing obsolete alias for renamed user option.

703 704 705 706 707
	* 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.

708 709 710 711 712 713 714 715 716 717 718 719
	* 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.

720 721
2012-10-06  Stefan Monnier  <monnier@iro.umontreal.ca>

722 723
	* emacs-lisp/cl-macs.el (cl-defstruct): Improve docstring.

724 725 726 727
	* subr.el (read-passwd-map): New var.
	(read-passwd): Use `read-string' again.
	* minibuffer.el (delete-minibuffer-contents): Make it interactive.

728 729 730 731 732
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).

733 734 735 736
2012-10-06  Chong Yidong  <cyd@gnu.org>

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

737 738 739 740 741
2012-10-06  Ikumi Keita  <ikumi@ikumi.que.jp>  (tiny change)

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

742 743 744 745
2012-10-06  Glenn Morris  <rgm@gnu.org>

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

746 747 748 749 750
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)

751 752 753 754 755 756 757 758
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
759 760
2012-10-05  Glenn Morris  <rgm@gnu.org>

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

Glenn Morris's avatar
Glenn Morris committed
763 764 765 766 767 768
	* 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.

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

771
2012-10-05  Juanma Barranquero  <lekktu@gmail.com>
Juanma Barranquero's avatar
Juanma Barranquero committed
772 773 774 775

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

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

778 779 780 781 782 783 784 785 786 787 788
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)

789 790 791 792 793 794
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.

795 796 797 798 799 800 801 802
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
803
	(python-fill-paragraph-function): Enhance context detection.
804 805
	(python-fill-string): Honor python-fill-string-style settings.

806 807 808 809 810
2012-10-04  Martin Rudalics  <rudalics@gmx.at>

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

811 812 813 814 815 816 817 818 819
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.

820 821 822 823 824
2012-10-03  Glenn Morris  <rgm@gnu.org>

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

825 826
2012-10-03  Martin Rudalics  <rudalics@gmx.at>

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

830 831 832
	* emacs-lisp/debug.el (debug): When quitting the debugger window
	restore current buffer (Bug#12502).

833 834
2012-10-02  Chong Yidong  <cyd@gnu.org>

835 836
	* progmodes/hideif.el (hif-lookup, hif-defined):
	Handle semantic-c-takeover-hideif.
837

838 839 840 841 842 843 844 845 846 847 848 849
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).

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

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

855 856 857 858
2012-10-02  Chong Yidong  <cyd@gnu.org>

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

859 860
2012-10-02  Stefan Monnier  <monnier@iro.umontreal.ca>

861 862 863 864
	* 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.

865 866 867 868 869 870 871 872 873 874 875
	* 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.

876 877 878 879
	* bookmark.el (bookmark-search-pattern): Remove var.
	(bookmark-read-search-input): Remove function.
	(bookmark-bmenu-search): Reimplement using a minibuffer.

880 881
	* faces.el (modeline): Remove obsolete face name.

882 883 884 885
	* 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.

886 887 888 889 890 891 892 893 894 895 896 897 898 899
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
900 901 902 903 904 905 906 907 908 909 910 911 912 913 914 915 916 917 918 919 920 921 922 923 924 925 926 927 928
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
929 930 931
	(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
932 933 934 935 936 937 938 939 940 941

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

942 943 944 945 946
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).

947 948 949 950
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.
951 952
	(bookmark-write-file): Bind `print-circle' to `t' to allow
	circular custom bookmark types.  (Bug#12503)
953

954 955
2012-10-01  Paul Eggert  <eggert@cs.ucla.edu>

956 957 958 959
	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.

960 961 962 963
	* 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>.

964 965 966 967
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)
968 969
	(python-shell-fetch-lines-string, python-shell-fetched-lines):
	New Vars.
970 971 972
	(python-shell-fetch-lines-filter): New function.
	(python-shell-send-string-no-output): Use them.

973 974 975 976 977 978 979 980 981 982
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.

983 984 985 986 987 988 989 990
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.

991 992 993 994 995 996 997 998 999
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.
1000 1001
	(reftex-arg-cite): Use `reftex-cite-key-separator'.
	Correctly handle new value type returned by `reftex-citation'.
1002 1003

	* textmodes/reftex-cite.el (reftex-create-bibtex-file): Make sure
1004 1005
	that entries with whitespace at various places are found.
	Doc fix. Include entries that are cross-referenced from cited entries.
1006 1007 1008 1009 1010 1011 1012 1013 1014 1015 1016 1017 1018 1019 1020 1021 1022 1023
	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)
1024 1025 1026 1027
	(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'.
1028 1029 1030 1031 1032 1033 1034 1035 1036 1037 1038 1039 1040 1041 1042 1043 1044 1045 1046

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

1047 1048
	* textmodes/reftex-parse.el (reftex-parse-from-file):
	Move backward one char if a `\' was matched after a section macro.
1049 1050 1051 1052 1053 1054
	(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'.
1055 1056
	(reftex-reference): Use `reftex-ref-style-list' function.
	Adapt to new structure of `reftex-ref-style-alist'.  Prompt for a
1057 1058 1059
	reference macro if `reftex-ref-macro-prompt' is non-nil.
	(reftex-reference): Pass refstyle to `reftex-format-special'.
	Determine reference macro by looking at
1060 1061
	`reftex-ref-style-default-list' and `reftex-ref-style-alist'.
	Use only one special format function.
1062 1063 1064 1065 1066 1067 1068 1069 1070 1071 1072 1073 1074 1075 1076 1077 1078 1079 1080
	(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.

1081 1082
	* textmodes/reftex-toc.el (reftex-re-enlarge):
	Call `enlarge-window' only if there is something to do because in Emacs
1083 1084 1085 1086 1087 1088 1089 1090
	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.
1091 1092
	Remove the symbols for symbols for macro type distinction.
	Add characters for macro selection.
1093 1094 1095 1096
	(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.
1097 1098
	(reftex-ref-style-alist, reftex-ref-style-default-list):
	New variables.
1099 1100 1101
	(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.
1102 1103 1104 1105
	(reftex-cite-format-builtin, reftex-bibliography-commands):
	Add support for ConTeXt.
	(reftex-format-ref-function, reftex-format-cite-function):
	Fix custom type.
1106 1107 1108 1109 1110 1111 1112 1113 1114
	(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.
1115 1116
	(reftex-tie-multifile-symbols): Add doc string.
	Initialize `reftex-ref-style-list'.
1117 1118 1119 1120 1121 1122 1123 1124 1125 1126 1127 1128 1129 1130 1131 1132 1133
	(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).

1134 1135 1136
2012-09-30  Fabián Ezequiel Gallina  <fgallina@cuca>

	Enhancements for triple-quote string syntax.
1137 1138
	* progmodes/python.el (python-syntax-propertize-function):
	Match both quote cases in one regexp.
1139 1140
	(python-syntax-stringify): Handle matches properly.

1141 1142 1143
2012-09-30  Juri Linkov  <juri@jurta.org>

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

1148 1149 1150 1151 1152 1153 1154 1155 1156 1157
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
1158 1159 1160 1161
2012-09-30  Jan Djärv  <jan.h.d@swipnet.se>

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

1162 1163 1164 1165 1166 1167
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.

1168 1169 1170 1171
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.
1172 1173 1174 1175
	* 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
1176 1177 1178 1179 1180 1181 1182 1183 1184 1185 1186 1187 1188 1189 1190 1191 1192 1193 1194 1195 1196 1197
	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.

1198 1199
	* dired.el (dired-mark-pop-up):
	Call display-buffer-below-selected with a fit-window-to-buffer alist
1200 1201
	entry.

1202 1203
2012-09-30  Chong Yidong  <cyd@gnu.org>

1204 1205 1206 1207 1208 1209 1210
	* 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.

1211 1212 1213
	* simple.el (delete-trailing-whitespace): Avoid an unnecessary
	restriction change.

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

1216 1217
	* help-fns.el (help-fns--obsolete): Fix last change.

1218 1219
2012-09-30  Stefan Monnier  <monnier@iro.umontreal.ca>

1220 1221 1222
	* winner.el (winner-mode-map): Obey winner-dont-bind-my-keys here.
	(minor-mode-map-alist): Remove redundant code.

1223 1224 1225 1226 1227 1228 1229
	* 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.

1230 1231 1232 1233
	* 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.

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

1236 1237
	* tutorial.el (help-with-tutorial): Use minibuffer-with-setup-hook.

1238 1239 1240
	* textmodes/text-mode.el (paragraph-indent-minor-mode): Make it
	a proper minor-mode.

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

1243 1244
2012-09-29  Glenn Morris  <rgm@gnu.org>

1245 1246 1247 1248 1249 1250 1251
	* 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.

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

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

1257 1258 1259
	* progmodes/inf-lisp.el (inferior-lisp-filter-regexp)
	(inferior-lisp-program, inferior-lisp-load-command)
	(inferior-lisp-prompt, inferior-lisp-mode-hook):
1260
	No need to autoload defcustoms.
1261

1262 1263 1264 1265
	* 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)
1266
	(hippie-expand-only-buffers): No need to autoload defcustoms.
1267 1268 1269 1270
	* 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.

1271 1272
2012-09-28  Glenn Morris  <rgm@gnu.org>

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

1275 1276 1277
	* emacs-lisp/bytecomp.el (byte-compile-cl-file-p):
	Only "cl.el" counts as cl these days.

1278 1279 1280 1281 1282 1283 1284 1285 1286 1287 1288 1289 1290 1291 1292 1293 1294
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)

1295 1296
2012-09-28  Leo Liu  <sdl.web@gmail.com>

1297 1298
	* pcomplete.el (pcomplete-show-completions):
	Use minibuffer-message to make pcomplete usable in minibuffer.
1299

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

1302 1303
2012-09-28  Stefan Monnier  <monnier@iro.umontreal.ca>

1304 1305 1306
	* type-break.el: Use lexical-binding.
	(type-break-mode): Use define-minor-mode.

1307 1308 1309 1310 1311 1312
	* 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.

1313 1314 1315 1316 1317 1318 1319
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.

1320 1321 1322 1323 1324 1325 1326 1327
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.

1328 1329 1330 1331 1332
2012-09-28  Chong Yidong  <cyd@gnu.org>

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

1333 1334
2012-09-27  Stefan Monnier  <monnier@iro.umontreal.ca>

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

1337 1338
2012-09-27  Glenn Morris  <rgm@gnu.org>

1339 1340
	* faces.el (x-display-name): Declare (for without-x builds).

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

1343 1344
	* progmodes/tcl.el: Don't require outline when compiling.
	(outline-regexp, outline-level): Declare.
1345 1346 1347
	* textmodes/sgml-mode.el: Don't require outline when compiling.
	(outline-regexp, outline-heading-end-regexp, outline-level): Declare.

1348 1349 1350
	* term.el (term-ansi-reset):
	Try setting term-ansi-face-already-done to nil.  (Bug#11785)

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

1354 1355 1356 1357 1358
2012-09-27  Chong Yidong  <cyd@gnu.org>

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

1359 1360
2012-09-27  Stefan Monnier  <monnier@iro.umontreal.ca>

1361 1362 1363 1364 1365 1366 1367 1368 1369 1370