ChangeLog 762 KB
Newer Older
1 2 3 4 5 6
2012-11-13  Glenn Morris  <rgm@gnu.org>

	* emacs-lisp/eieio-datadebug.el (eieio-debug-methodinvoke):
	* net/tramp-gvfs.el (tramp-gvfs-dbus-event-error):
	Use new names for hooks rather than obsolete aliases.

7 8 9 10
2012-11-12  Stefan Monnier  <monnier@iro.umontreal.ca>

	* emacs-lisp/gv.el (gv-define-simple-setter): One more fix (bug#12871).

11 12 13 14 15 16 17
2012-11-12  Wolfgang Jenkner  <wjenkner@inode.at>

	* ansi-color.el (ansi-color-apply-sequence): Implement SGR codes
	39 and 49.  This fixes bug#12792.  Also, treat unimplemented
	parameters as 0, thereby restoring the behavior of revisions prior
	to 2012-08-15T03:33:55Z!monnier@iro.umontreal.ca.

18 19 20 21 22 23 24 25
2012-11-12  Fabián Ezequiel Gallina  <fgallina@cuca>

	Fix end-of-defun misbehavior.
	* progmodes/python.el (python-nav-beginning-of-defun): Rename from
	python-beginning-of-defun-function.  Handle nested defuns
	correctly.
	(python-nav-end-of-defun): Rename from
	python-end-of-defun-function.  Ensure forward movement.
26
	(python-info-current-defun): Reimplement to work as intended
27 28 29
	with new fixed python-nav-{end,beginning}-of-defun.  Stop scanning
	parent defuns as soon as possible.

Glenn Morris's avatar
Glenn Morris committed
30 31 32 33 34 35
2012-11-12  Glenn Morris  <rgm@gnu.org>

	* progmodes/flymake.el (flymake-error-bitmap)
	(flymake-warning-bitmap, flymake-fringe-indicator-position): Doc fixes.
	(flymake-error-bitmap, flymake-warning-bitmap): Fix :types.

36 37 38 39 40 41
2012-11-12  Dmitry Gutov  <dgutov@yandex.ru>

	* progmodes/ruby-mode.el (ruby-move-to-block): When moving
	backward, always stop at indentation.  Reverts the change from
	2012-08-12T22:06:56Z!monnier@iro.umontreal.ca (Bug#12851).

42 43
2012-11-11  Glenn Morris  <rgm@gnu.org>

44 45 46
	* ibuffer.el (ibuffer-mode-map, ibuffer-mode):
	Add ibuffer-filter-by-derived-mode.

Glenn Morris's avatar
Glenn Morris committed
47 48 49
	* ibuffer.el (ibuffer-mode-map): Don't have two menu items with
	the same name shadowing each other.

50 51
	* window.el (with-temp-buffer-window): Doc tweak.

Glenn Morris's avatar
Glenn Morris committed
52 53
	* emacs-lisp/debug.el (debugger-bury-or-kill): Doc tweak.

Glenn Morris's avatar
Glenn Morris committed
54 55
	* help.el (temp-buffer-max-height):
	* window.el (fit-frame-to-buffer, fit-frame-to-buffer-bottom-margin):
56 57
	* emacs-lisp/debug.el (debugger-bury-or-kill): Fix :version.

58 59 60 61 62
2012-11-10  Leo Liu  <sdl.web@gmail.com>

	* ido.el (ido-set-matches-1): Fix split-string args to avoid
	performance issue.  (Bug#12796)

63 64
2012-11-10  Glenn Morris  <rgm@gnu.org>

65 66 67
	* term.el (term-default-fg-color, term-default-bg-color):
	Make obsolete, rather than just saying "deprecated" in the doc.

68 69 70 71 72
	* term.el (term): Rename from `term-face'.
	(term-current-face, ansi-term-color-vector)
	(term-default-fg-color, term-default-bg-color, term-ansi-reset):
	Update all users.

73 74
2012-11-09  Jan Djärv  <jan.h.d@swipnet.se>

75
	* server.el (server-create-window-system-frame): Improve comment.
76

77 78 79 80 81
2012-11-08  Jan Djärv  <jan.h.d@swipnet.se>

	* server.el (server-create-window-system-frame): Handle Nextstep
	specially (Bug#12780).

82 83 84 85 86
2012-11-08  Glenn Morris  <rgm@gnu.org>

	* mail/emacsbug.el (report-emacs-bug-query-existing-bugs):
	Unautoload, and make obsolete.  (Bug#7449)

87 88 89 90 91
2012-11-08  Chong Yidong  <cyd@gnu.org>

	* vc/diff-mode.el (diff-delete-trailing-whitespace): Rewrite, and
	rename from diff-remove-trailing-whitespace (Bug#12831).

92 93 94 95 96
2012-11-08  Stefan Monnier  <monnier@iro.umontreal.ca>

	* emacs-lisp/advice.el: Require `cl-lib' at run-time to fix
	miscompilation of trace.el.

97 98 99 100
2012-11-08  Glenn Morris  <rgm@gnu.org>

	* vc/diff-mode.el (diff-remove-trailing-whitespace): Doc fix.

101 102 103 104 105
2012-11-08  Stefan Monnier  <monnier@iro.umontreal.ca>

	* emacs-lisp/gv.el (gv-define-simple-setter): Fix last change
	(bug#12812).

106 107 108 109 110 111
2012-11-07  Chong Yidong  <cyd@gnu.org>

	* minibuf-eldef.el (minibuffer-eldef-shorten-default): Convert to
	a defcustom with an appropriate :set function.
	(minibuffer-default--in-prompt-regexps): New function.

112 113
2012-11-07  Glenn Morris  <rgm@gnu.org>

Glenn Morris's avatar
Glenn Morris committed
114 115 116
	* emacs-lisp/cl.el (define-setf-expander, defsetf)
	(define-modify-macro): Doc fixes.

117 118 119
	* emacs-lisp/gv.el (gv-letplace): Fix doc typo.
	(gv-define-simple-setter): Update doc of `fix-return'.

120 121
2012-11-07  Stefan Monnier  <monnier@iro.umontreal.ca>

122 123 124
	* emacs-lisp/gv.el (gv-define-simple-setter): Don't evaluate `val'
	twice when `fix-return' is set (bug#12813).

125 126 127
	* emacs-lisp/cl.el (defsetf): Pass the third arg to
	gv-define-simple-setter (bug#12812).

128 129 130 131 132
2012-11-06  Stefan Monnier  <monnier@iro.umontreal.ca>

	* woman.el (woman-decode-region): Disable adaptive-fill when rendering
	(bug#12756).

133 134 135 136
2012-11-06  Glenn Morris  <rgm@gnu.org>

	* emacs-lisp/gv.el (gv-define-setter): Fix doc typo.

Glenn Morris's avatar
Glenn Morris committed
137 138 139 140 141 142 143 144 145
2012-11-05  Glenn Morris  <rgm@gnu.org>

	* emacs-lisp/cl-extra.el (cl-prettyexpand):
	* emacs-lisp/cl-lib.el (cl-proclaim, cl-declaim):
	* emacs-lisp/cl-macs.el (cl-destructuring-bind, cl-locally)
	(cl-the, cl-compiler-macroexpand): Add basic doc strings.

	* emacs-lisp/cl-extra.el (cl-maplist, cl-mapcan): Doc fix.

146 147
2012-11-03  Glenn Morris  <rgm@gnu.org>

148 149 150
	* emacs-lisp/cl-macs.el (cl-parse-loop-clause):
	Rename handler properties back from cl-- to cl-.  (Bug#12788)

151 152
	* emacs-lisp/cl-macs.el (cl-do-all-symbols): Add doc string.

153 154 155 156 157 158
2012-11-03  Eli Zaretskii  <eliz@gnu.org>

	* term/pc-win.el: Don't load term/internal from here.

	* loadup.el: Load term/internal from here.

159 160 161 162 163
2012-11-03  Fabián Ezequiel Gallina  <fgallina@cuca>

	* progmodes/python.el (inferior-python-mode): Fix hang in
	jit-lock (Bug#12645).

164 165 166 167 168
2012-11-03  Martin Rudalics  <rudalics@gmx.at>

	* window.el (switch-to-visible-buffer)
	(switch-to-buffer-preserve-window-point): Fix doc-strings.

169 170 171 172 173
2012-11-01  Stephen Berman  <stephen.berman@gmx.net>

	* play/gomoku.el (gomoku-display-statistics): Update mode line
	only if in Gomoku buffer; don't capitalize "won" (Bug#12771).

174 175 176 177 178 179
2012-10-31  Martin Rudalics  <rudalics@gmx.at>

	* window.el (quit-restore-window): If the window has been
	created on an existing frame and ended up as the sole window on
	that frame, do not delete it (Bug#12764).

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

182 183 184 185
	* progmodes/sh-script.el (sh--inside-noncommand-expression):
	Rename from sh--inside-arithmetic-expression, handle more cases
	(bug#11263).

186 187 188
	* progmodes/sh-script.el (sh--inside-arithmetic-expression): New func.
	(sh-font-lock-open-heredoc): Use it (bug#12770).

189 190
2012-10-30  Glenn Morris  <rgm@gnu.org>

Glenn Morris's avatar
Glenn Morris committed
191 192
	* emacs-lisp/cl-extra.el (cl-mapc): Add autoload cookie.  Doc fix.

193 194
	* emacs-lisp/cl.el (letf): Doc fix.  (Bug#12760)

195 196
2012-10-29  Chong Yidong  <cyd@gnu.org>

197 198 199
	* isearch.el (isearch-other-meta-char): Ensure that a reprocessed
	function key is stored in a keyboard macro (Bug#4894).

200 201
	* thingatpt.el (number-at-point): Apply a thing-at-point property.

202 203
2012-10-29  Stefan Monnier  <monnier@iro.umontreal.ca>

204 205 206 207 208
	* vc/diff-mode.el (diff-context->unified): Don't get confused by "hunk
	header comments".
	(diff-unified->context, diff-context->unified)
	(diff-reverse-direction, diff-fixup-modifs): Use `use-region-p'.

209 210
	* emacs-lisp/cl.el (letf): Add missing indent rules (bug#12759).

211 212
	* files.el (find-alternate-file): Only ask one question (bug#12487).

213 214
2012-10-29  Chong Yidong  <cyd@gnu.org>

215 216 217
	* vc/vc-hooks.el (vc-file-clearprops): Kill vc-parent-buffer.
	Suggested by Dan Nicolaescu (Bug#6326).

218 219
	* info.el (Info-complete-menu-item): Avoid duplicates (Bug#12705).

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

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

224 225
	* imenu.el (imenu): Inhibit push-mark message (Bug#12726).

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

229 230 231 232 233
2012-10-29  Kevin Ryde  <user42@zip.com.au>

	* woman.el (woman-parse-numeric-value): Handle picas correctly
	(Bug#12639).

234 235 236 237
2012-10-29  Glenn Morris  <rgm@gnu.org>

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

238 239 240 241 242 243 244 245
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.

246 247 248 249 250
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.

251 252
2012-10-28  Stefan Monnier  <monnier@iro.umontreal.ca>

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

257 258
	* tmm.el (tmm-prompt): Use map-keymap (bug#12744).

259 260 261 262 263
2012-10-27  Eli Zaretskii  <eliz@gnu.org>

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

264 265 266 267 268 269 270 271 272 273 274
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 ?@.

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

283 284 285 286
2012-10-27  Chong Yidong  <cyd@gnu.org>

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

287 288 289 290 291
2012-10-26  Jambunathan K  <kjambunathan@gmail.com>

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

292 293
2012-10-26  Stefan Monnier  <monnier@iro.umontreal.ca>

294 295 296
	* emacs-lisp/advice.el (ad-assemble-advised-definition):
	Silence bogus compiler warnings for ad-do-it.

297 298 299
	* bookmark.el (bookmark-completing-read): Set the completion category
	to `bookmark' (bug#11131).

300 301 302 303 304 305 306
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.

307 308
2012-10-26  Stefan Monnier  <monnier@iro.umontreal.ca>

309 310 311
	* emacs-lisp/macroexp.el (macroexp--expand-all):
	Obey byte-compile-warning-enabled-p (bug#12486).

312 313 314
	* 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).

315 316 317 318 319 320 321
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
322 323 324
2012-10-25  David Engster  <deng@randomsample.de>

	* emacs-lisp/eieio.el (eieio-update-lisp-imenu-expression):
325
	Remove.  This feature is already integrated in imenu.
David Engster's avatar
David Engster committed
326 327 328 329

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

330 331
2012-10-25  Stefan Monnier  <monnier@iro.umontreal.ca>

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

334 335
	* minibuffer.el (minibuffer-force-complete): Fix thinko.

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

339 340 341
	* emacs-lisp/package.el (package-installed-p): Warn if not ready
	(bug#12721).

Glenn Morris's avatar
Glenn Morris committed
342 343 344 345
2012-10-25  Glenn Morris  <rgm@gnu.org>

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

346 347 348 349 350
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).

351 352 353 354 355
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.
356 357
	(display-time-world-display): Wrap the final delete-char inside
	inhibit-read-only.
358

359 360
2012-10-24  Chong Yidong  <cyd@gnu.org>

361 362 363
	* dired.el (dired-mark, dired-unmark, dired-flag-file-deletion):
	Doc fix.

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

366 367 368 369 370 371 372 373 374
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).

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

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

380 381 382
	* vc/diff-mode.el (diff-hunk): `save-excursion' while refining
	(bug#12671).

383 384 385 386 387
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
388 389
2012-10-23  Stefan Monnier  <monnier@iro.umontreal.ca>

390 391
	* repeat.el (repeat): Set real-this-command (bug#12232).

Stefan Monnier's avatar
Stefan Monnier committed
392 393 394 395 396 397 398 399 400 401 402 403 404 405
	* 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.

406 407
2012-10-23  Michael Albinus  <michael.albinus@gmx.de>

Stefan Monnier's avatar
Stefan Monnier committed
408 409
	* net/tramp-smb.el (tramp-smb-maybe-open-connection):
	Set `tramp-chunksize' to 1.  This improves the performance.
410 411 412
	(tramp-smb-wait-for-output): Add timeout to
	`tramp-accept-process-output' calls.

413 414
2012-10-23  Chong Yidong  <cyd@gnu.org>

415 416 417 418 419
	* faces.el (font-list-limit): Define as an obsolete variable.

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

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

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

427 428 429 430 431
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)

432 433 434 435
2012-10-22  Glenn Morris  <rgm@gnu.org>

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

436 437 438 439 440
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).

441 442 443 444 445 446 447 448 449 450 451 452 453 454
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.

455 456 457 458 459 460 461 462 463 464 465 466 467 468 469
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
470 471
2012-10-20  Chong Yidong  <cyd@gnu.org>

472 473 474
	* 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
475 476 477
	* eshell/esh-cmd.el (eshell-rewrite-for-command): Copy the body
	list explicitly (Bug#12571).

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

480 481
	* progmodes/flymake.el (flymake-create-temp-inplace):
	Use file-truename.
482

483 484 485 486
2012-10-20  Eli Zaretskii  <eliz@gnu.org>

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

487 488 489 490 491
2012-10-20  Jay Belanger  <jay.p.belanger@gmail.com>

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

492 493 494 495 496 497
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.

498 499 500 501 502
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).

503 504 505 506 507
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).

508 509 510 511 512 513 514 515 516
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).

517 518
2012-10-18  Stefan Monnier  <monnier@iro.umontreal.ca>

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

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

525 526
2012-10-18  Glenn Morris  <rgm@gnu.org>

527 528 529
	* dired.el (dired-sort-toggle): Some ls implementations only allow
	a single option string.  (Bug#12666)

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

532 533
2012-10-17  Kenichi Handa  <handa@gnu.org>

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

538
2012-10-17  Michael Heerdegen <michael_heerdegen@web.de>
539 540 541 542 543 544

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

545 546 547 548 549
2012-10-16  Juri Linkov  <juri@jurta.org>

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

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

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

554 555
2012-10-14  Eli Zaretskii  <eliz@gnu.org>

556 557
	* window.el (display-buffer): Doc fix.

558 559 560 561 562 563
	* 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.

564 565
2012-10-14  Stefan Monnier  <monnier@iro.umontreal.ca>

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

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

571 572 573 574 575
2012-10-13  Chong Yidong  <cyd@gnu.org>

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

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

581 582
2012-10-12  Stefan Monnier  <monnier@iro.umontreal.ca>

583 584 585
	* help-fns.el (describe-variable, describe-function-1):
	* help-mode.el (help-make-xrefs): Remove error handler, made unneeded.

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

588 589 590 591 592
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)

593 594
2012-10-12  Fabián Ezequiel Gallina  <fgallina@cuca>

595 596
	* progmodes/python.el (python-mode-map):
	Replace subtitute-key-definition with proper command remapping.
597 598
	(python-nav--up-list): Fix behavior for blocks on the same level.

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

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

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

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

609 610 611 612
2012-10-11  Kenichi Handa  <handa@gnu.org>

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

613 614 615 616 617
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.

618 619 620
2012-10-10  Martin Rudalics  <rudalics@gmx.at>

	* window.el (switch-to-buffer-preserve-window-point): New option.
621 622
	(switch-to-buffer):
	Obey `switch-to-buffer-preserve-window-point' (Bug#4041).
623

624 625 626 627 628
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).

629 630
2012-10-09  Michael Albinus  <michael.albinus@gmx.de>

631 632
	* net/tramp.el (tramp-debug-message):
	Remove "tramp-with-progress-reporter" from regexp of ignored functions.
633 634
	(with-tramp-progress-reporter): Rename from
	`tramp-with-progress-reporter'.
635 636
	(with-tramp-file-property, with-tramp-connection-property):
	Move from tramp-cache.el, rename from `with-file-property' and
637 638 639 640 641 642 643 644 645 646 647 648
	`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.

649 650
2012-10-09  Glenn Morris  <rgm@gnu.org>

651 652 653
	* w32-fns.el (set-message-beep):
	* term/w32-win.el (set-message-beep): Update declarations.

654 655
2012-10-09  Stefan Monnier  <monnier@iro.umontreal.ca>

656 657 658 659 660 661 662
	* 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.

663 664 665
	* progmodes/cc-bytecomp.el (cc-bytecomp-defmacro): Remove, unused.
	* progmodes/cc-vars.el (bq-process): Remove, unused.

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

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

676 677 678 679 680 681
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).

682 683 684 685 686
2012-10-08  Fabián Ezequiel Gallina  <fgallina@cuca>

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

687 688 689
2012-10-08  Fabián Ezequiel Gallina  <fgallina@cuca>

	Fix shell handling of unbalanced quotes and parens in output.
690
	* progmodes/python.el (python-rx-constituents): Add string-delimiter.
691 692 693 694 695
	(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.

696 697 698 699 700
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).

701 702 703 704 705
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.

706 707
2012-10-08  Glenn Morris  <rgm@gnu.org>

708 709
	* cus-start.el (message-log-max): Set :version.

710 711
	* calendar/calendar.el (calendar-intermonth-header): Doc fix.

712 713 714 715 716
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).

717 718 719 720 721 722 723 724 725 726 727 728 729 730 731 732
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.

733 734 735 736 737
2012-10-08  Stefan Monnier  <monnier@iro.umontreal.ca>

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

738 739 740 741 742 743 744 745 746 747 748 749 750 751 752 753 754 755 756 757 758 759 760 761 762 763 764 765 766 767 768 769 770 771 772 773 774 775 776 777 778 779 780 781 782 783 784 785 786 787 788 789 790 791 792 793 794 795 796 797 798 799 800 801 802 803 804
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.

805 806 807 808 809
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.

810 811 812
2012-10-07  Fabián Ezequiel Gallina  <fgallina@cuca>

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

816 817 818 819 820 821 822
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.

823 824 825 826 827 828 829 830
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.

831 832
2012-10-07  Stefan Monnier  <monnier@iro.umontreal.ca>

833 834 835 836 837 838 839 840
	* 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.

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

844 845
2012-10-07  Kenichi Handa  <handa@gnu.org>

846 847
	* international/mule-conf.el (compound-text-with-extensions):
	Add :mime-charset property as x-ctext.
848

849 850 851 852 853
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.
854
	(rst-official-cvs-rev): Correct version string.
855

856 857 858 859 860 861
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)

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

877 878
2012-10-07  Glenn Morris  <rgm@gnu.org>

879 880 881
	* hi-lock.el (hi-lock-process-phrase):
	Try to make it less fragile.  (Bug#7161)

882 883
	* hi-lock.el (hi-lock-face-phrase-buffer): Doc fix.

884 885
2012-10-06  Glenn Morris  <rgm@gnu.org>

886
	* ehelp.el (electric-help-mode): Use help-mode rather than
887 888
	non-existent mode `help'.
	(electric-help-map): Use button-buffer-map.  (Bug#10917)
889

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

893 894 895
	* progmodes/sh-script.el (sh-indent-after-continuation):
	Add explicit :group.

896 897 898
	* textmodes/rst.el (rst-preferred-decorations)
	(rst-shift-basic-offset): Clarify obsolescence versions.

Glenn Morris's avatar
Glenn Morris committed
899 900 901 902 903 904 905 906 907 908 909 910 911 912 913 914 915 916 917 918 919 920 921
	* 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.

922 923 924
	* calendar/timeclock.el (timeclock-modeline-display):
	Add missing obsolete alias for renamed user option.

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

930 931 932 933 934 935 936 937 938 939 940 941
	* 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.

942 943
2012-10-06  Stefan Monnier  <monnier@iro.umontreal.ca>

944 945
	* emacs-lisp/cl-macs.el (cl-defstruct): Improve docstring.

946 947 948 949
	* subr.el (read-passwd-map): New var.
	(read-passwd): Use `read-string' again.
	* minibuffer.el (delete-minibuffer-contents): Make it interactive.

950 951 952 953 954
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).

955 956 957 958
2012-10-06  Chong Yidong  <cyd@gnu.org>

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

959 960 961 962 963
2012-10-06  Ikumi Keita  <ikumi@ikumi.que.jp>  (tiny change)

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

964 965 966 967
2012-10-06  Glenn Morris  <rgm@gnu.org>

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

968 969 970 971 972
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)

973 974 975 976 977 978 979 980
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
981 982
2012-10-05  Glenn Morris  <rgm@gnu.org>

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

Glenn Morris's avatar
Glenn Morris committed
985 986 987 988 989 990
	* 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.

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

993
2012-10-05  Juanma Barranquero  <lekktu@gmail.com>
Juanma Barranquero's avatar
Juanma Barranquero committed
994 995 996 997

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

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

1000 1001 1002 1003 1004 1005 1006 1007 1008 1009 1010
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)

1011 1012 1013 1014 1015 1016
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.

1017 1018 1019 1020 1021 1022 1023 1024
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
1025
	(python-fill-paragraph-function): Enhance context detection.
1026 1027
	(python-fill-string): Honor python-fill-string-style settings.

1028 1029 1030 1031 1032
2012-10-04  Martin Rudalics  <rudalics@gmx.at>

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

1033 1034 1035 1036 1037 1038 1039 1040 1041
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.

1042 1043 1044 1045 1046
2012-10-03  Glenn Morris  <rgm@gnu.org>

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

1047 1048
2012-10-03  Martin Rudalics  <rudalics@gmx.at>

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

1052 1053 1054
	* emacs-lisp/debug.el (debug): When quitting the debugger window
	restore current buffer (Bug#12502).

1055 1056
2012-10-02  Chong Yidong  <cyd@gnu.org>

1057 1058
	* progmodes/hideif.el (hif-lookup, hif-defined):
	Handle semantic-c-takeover-hideif.
1059

1060 1061 1062 1063 1064 1065 1066 1067 1068 1069 1070 1071
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).

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

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

1077 1078 1079 1080
2012-10-02  Chong Yidong  <cyd@gnu.org>

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

1081 1082
2012-10-02  Stefan Monnier  <monnier@iro.umontreal.ca>

1083 1084 1085 1086
	* 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.

1087 1088 1089 1090 1091 1092 1093 1094 1095 1096 1097
	* 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.

1098 1099 1100 1101
	* bookmark.el (bookmark-search-pattern): Remove var.
	(bookmark-read-search-input): Remove function.
	(bookmark-bmenu-search): Reimplement using a minibuffer.

1102 1103
	* faces.el (modeline): Remove obsolete face name.

1104 1105 1106 1107
	* 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.

1108 1109 1110 1111 1112 1113 1114 1115 1116 1117 1118 1119 1120 1121
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
1122 1123 1124 1125 1126 1127 1128 1129 1130 1131 1132 1133 1134 1135 1136 1137 1138 1139 1140 1141 1142 1143 1144 1145 1146 1147 1148 1149 1150
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
1151 1152 1153
	(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
1154 1155 1156 1157 1158 1159 1160 1161 1162 1163

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

1164 1165 1166 1167 1168
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).

1169 1170 1171 1172
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.
1173 1174
	(bookmark-write-file): Bind `print-circle' to `t' to allow
	circular custom bookmark types.  (Bug#12503)
1175

1176 1177
2012-10-01  Paul Eggert  <eggert@cs.ucla.edu>

1178 1179 1180 1181
	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.

1182 1183 1184 1185
	* 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>.

1186 1187 1188 1189
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)
1190 1191
	(python-shell-fetch-lines-string, python-shell-fetched-lines):
	New Vars.
1192 1193 1194
	(python-shell-fetch-lines-filter): New function.
	(python-shell-send-string-no-output): Use them.

1195 1196 1197 1198 1199 1200 1201 1202 1203 1204
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.

1205 1206 1207 1208 1209 1210 1211 1212
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.

1213 1214 1215 1216 1217 1218 1219 1220 1221
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.
1222 1223
	(reftex-arg-cite): Use `reftex-cite-key-separator'.
	Correctly handle new value type returned by `reftex-citation'.
1224 1225

	* textmodes/reftex-cite.el (reftex-create-bibtex-file): Make sure
1226 1227
	that entries with whitespace at various places are found.
	Doc fix. Include entries that are cross-referenced from cited entries.
1228 1229 1230 1231 1232 1233 1234 1235 1236 1237 1238 1239 1240 1241 1242 1243 1244 1245
	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)
1246 1247 1248 1249
	(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'.
1250 1251 1252 1253 1254 1255 1256 1257 1258 1259 1260 1261 1262 1263 1264 1265 1266 1267 1268

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

1269 1270
	* textmodes/reftex-parse.el (reftex-parse-from-file):
	Move backward one char if a `\' was matched after a section macro.
1271 1272 1273 1274 1275 1276
	(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'.
1277 1278
	(reftex-reference): Use `reftex-ref-style-list' function.
	Adapt to new structure of `reftex-ref-style-alist'.  Prompt for a
1279 1280 1281
	reference macro if `reftex-ref-macro-prompt' is non-nil.
	(reftex-reference): Pass refstyle to `reftex-format-special'.
	Determine reference macro by looking at
1282 1283
	`reftex-ref-style-default-list' and `reftex-ref-style-alist'.
	Use only one special format function.
1284 1285 1286 1287 1288 1289 1290 1291 1292 1293 1294 1295 1296 1297 1298 1299 1300 1301 1302
	(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.

1303 1304
	* textmodes/reftex-toc.el (reftex-re-enlarge):
	Call `enlarge-window' only if there is something to do because in Emacs
1305 1306 1307 1308 1309 1310 1311 1312
	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.
1313 1314
	Remove the symbols for symbols for macro type distinction.
	Add characters for macro selection.
1315 1316 1317 1318
	(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.
1319 1320
	(reftex-ref-style-alist, reftex-ref-style-default-list):
	New variables.
1321 1322 1323
	(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.
1324 1325 1326 1327
	(reftex-cite-format-builtin, reftex-bibliography-commands):
	Add support for ConTeXt.
	(reftex-format-ref-function, reftex-format-cite-function):
	Fix custom type.
1328 1329 1330 1331 1332 1333 1334 1335 1336
	(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.
1337 1338
	(reftex-tie-multifile-symbols): Add doc string.
	Initialize `reftex-ref-style-list'.
1339 1340 1341 1342 1343 1344 1345 1346 1347 1348 1349 1350 1351 1352 1353 1354 1355
	(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).

1356 1357 1358
2012-09-30  Fabián Ezequiel Gallina  <fgallina@cuca>

	Enhancements for triple-quote string syntax.
1359 1360
	* progmodes/python.el (python-syntax-propertize-function):
	Match both quote cases in one regexp.
1361 1362
	(python-syntax-stringify): Handle matches properly.

1363 1364 1365
2012-09-30  Juri Linkov  <juri@jurta.org>

	* arc-mode.el (archive-summarize): Let-bind `buffer-file-truename'