ChangeLog 586 KB
Newer Older
1 2 3 4 5
2014-09-10  Ivan Shmakov  <ivan@siamics.net>  (tiny change)

	* desktop.el (desktop-create-buffer): Check that buffers are still live
	before burying them (bug#18373).

6 7 8 9 10
2014-09-09  Glenn Morris  <rgm@gnu.org>

	* calendar/diary-lib.el (diary-list-entries):
	Restore 24.3 display behavior.  (Bug#18381)

11 12 13 14 15 16 17 18
2014-09-09  Eli Zaretskii  <eliz@gnu.org>

	* mouse.el (mouse-drag-line): On text-mode frames, count the mode
	line and header line as 1 pixel.  This fixes the 1-"pixel" (row)
	discrepancy between window-pixel-edges and mouse events, and
	avoids moving mode line up when the mouse click is on the modeline
	and no drag is attempted.

19 20 21 22 23
2014-09-08  Glenn Morris  <rgm@gnu.org>

	* calendar/calendar.el (calendar-basic-setup):
	Avoid clobbering calendar with diary.  (Bug#18381)

24 25 26 27
2014-09-05  Stefan Monnier  <monnier@iro.umontreal.ca>

	* vc/vc-dir.el (vc-dir-update): Don't burp in corner case.

28 29 30 31 32
2014-09-04  Lars Ljung  <lars@matholka.se>  (tiny change)

	* isearch.el (isearch-yank-word-or-char): Obey superword-mode
	as well (bug#18400).

33 34 35 36
2014-09-04  Eli Zaretskii  <eliz@gnu.org>

	* subr.el (posn-actual-col-row): Doc fix.  (Bug#18385)

37 38
2014-09-02  Stefan Monnier  <monnier@iro.umontreal.ca>

39 40 41 42 43 44 45 46
	* emacs-lisp/package.el (package-generate-description-file):
	Properly quote the arguments (bug#18332).  Change second arg.
	(package--alist-to-plist-args): Rename from package--alist-to-plist and
	quote the elements.
	(package--make-autoloads-and-stuff): Fix the test for pre-existence of
	the *-pkg.el file.  Adjust to new calling convention of
	package-generate-description-file.

47 48 49
	* progmodes/gud.el (gud-gdb-completion-at-point): Add hack (bug#18282).
	(gud-gdb-completions): Remove obsolete workaround.

50 51 52 53 54 55 56 57 58
2014-09-02  Eli Zaretskii  <eliz@gnu.org>

	* subr.el (posn-col-row): Revert the change from commit
	2010-11-13T21:07:58Z!eliz@gnu.org, which
	was inadvertently merged from emacs-23 release branch in 2010-11-18T03:54:14Z!monnier@iro.umontreal.ca
	monnier@iro.umontreal.ca-20101118035414-yvlg7k7dk4k4l3q, and
	introduced an off-by-one error in the reported row when there is a
	header line.  (Bug#18384)

59 60 61 62 63
2014-09-01  Fabián Ezequiel Gallina  <fgallina@gnu.org>

	* progmodes/python.el (python-indent-post-self-insert-function):
	Avoid electric colon at beginning-of-defun.  (Bug#18228)

64 65 66 67 68
2014-09-01  Glenn Morris  <rgm@gnu.org>

	* tutorial.el (tutorial--display-changes):
	Fix 2014-07-29 change.  (Bug#18382)

69 70 71 72 73
2014-08-29  Ken Brown  <kbrown@cornell.edu>

	* startup.el (fancy-splash-frame): Extend the fix for Bug#16014 to
	the Cygwin-w32 build.  (Bug#18347)

74 75 76 77 78
2014-08-28  Glenn Morris  <rgm@gnu.org>

	* tar-mode.el (tar--extract, tar-extract):
	Avoid permanently disabling undo in extracted buffers.  (Bug#18344)

79 80
2014-08-27  Michael Albinus  <michael.albinus@gmx.de>

81 82
	* emacs-lisp/authors.el (authors-aliases): Addition.

83 84
	* net/tramp-adb.el: Spell author name correctly.

85 86 87 88 89
2014-08-27  João Távora  <joaotavora@gmail.com>

	* net/shr.el (shr-expand-url): Plain expand-file-name is not enough;
	use url-expand-file-name.  (Bug#18310)

90 91 92 93 94
2014-08-25  Glenn Morris  <rgm@gnu.org>

	* emulation/cua-rect.el (cua--highlight-rectangle):
	Avoid error at point-min.  (Bug#18309)

95 96
2014-08-18  Stefan Monnier  <monnier@iro.umontreal.ca>

97 98 99
	* progmodes/python.el (python-shell-prompt-detect): Remove redundant
	executable-find (bug#18244).

100 101
	* simple.el (self-insert-uses-region-functions): Defvar.

102 103 104 105 106
2014-08-13  Leo Liu  <sdl.web@gmail.com>

	* speedbar.el (speedbar-generic-list-tag-p): Allow special
	elements from imenu.

107 108
2014-08-11  Glenn Morris  <rgm@gnu.org>

109 110
	* subr.el (with-output-to-temp-buffer): Doc fix; from elisp manual.

111 112 113 114 115
	* files.el (basic-save-buffer-2): Revert 2013-01-31 change, which
	chose coding system for writing before backing up, since it causes
	a more serious problem than the one it solves.  (Closes Bug#18141,
	reopens Bug#13522.)

116 117 118 119 120
2014-08-10  Martin Rudalics  <rudalics@gmx.at>

	* window.el (window-total-size): Make doc-string more
	self-contained.

121 122 123 124 125 126
2014-08-09  Martin Rudalics  <rudalics@gmx.at>

	* window.el (display-buffer-below-selected): Restore original
	behavior if buffer is already displayed in the window below the
	selected one (Bug#18181).

127 128 129 130 131
2014-08-08  Stefan Monnier  <monnier@iro.umontreal.ca>

	* mouse.el (mouse--down-1-maybe-follows-link): Don't convert the down
	event (bug#18212).

Eli Zaretskii's avatar
Eli Zaretskii committed
132 133 134 135
2014-08-08  Eli Zaretskii  <eliz@gnu.org>

	* info.el (info): Doc fix.

136 137 138 139 140
2014-08-07  Stefan Monnier  <monnier@iro.umontreal.ca>

	* info.el (Info-mode-map): Override a global down-mouse-2 binding
	(bug#18212).

141 142 143 144
2014-08-05  Eli Zaretskii  <eliz@gnu.org>

	* simple.el (default-line-height): A floating-point value of
	line-spacing means a fraction of the default frame font's height,
145 146
	not of the font currently used by the 'default' face.
	Truncate the pixel value, like the display engine does.
147 148 149
	(window-screen-lines): Use window-inside-pixel-edges for
	determining the window height in pixels.  (Bug#18195)

150 151 152 153 154
2014-07-29  Eli Zaretskii  <eliz@gnu.org>

	* tutorial.el (tutorial--display-changes): Accept punctuation
	characters before the key binding.  (Bug#18146)

155 156 157 158 159
2014-07-28  Stephen Berman  <stephen.berman@gmx.net>

	* doc-view.el (doc-view-open-text): Don't require that the
	document is saved in a file (e.g., email attachment).

160 161 162 163 164
2014-07-27  Eli Zaretskii  <eliz@gnu.org>

	* window.el (window--pixel-to-total): Use FRAME's root window, not
	that of the selected frame.  (Bug#18112, Bug#16674)

Andreas Schwab's avatar
Andreas Schwab committed
165 166 167 168 169
2014-07-27  Andreas Schwab  <schwab@linux-m68k.org>

	* textmodes/tex-mode.el (tex-font-lock-verb): Doc fix.
	(Bug#18117)

170 171 172 173
2014-07-27  Fabián Ezequiel Gallina  <fgallina@gnu.org>

	* progmodes/python.el (inferior-python-mode): Doc fix.

174 175 176 177 178
2014-07-25  Stephen Berman  <stephen.berman@gmx.net>

	* calendar/todo-mode.el (todo-edit-item--next-key): If next key is
	not a character, ignore it instead of raising an error.

179 180 181 182 183 184 185 186 187 188 189 190 191 192 193
2014-07-25  Stephen Berman  <stephen.berman@gmx.net>

	* calendar/todo-mode.el: Fix handling of marked items and make
	minor code improvements.
	(todo-edit-item): If there are marked items, ensure user can only
	invoke editing commands that work with marked items.
	(todo-edit-item--text): When there are marked items, make it a
	noop if invoked with point not on an item; otherwise, ensure it
	applies only to item at point.
	(todo-item-undone): If there are marked not-done items, return
	point to its original position before signaling user error.
	(todo--user-error-if-marked-done-item): New function.
	(todo-edit-item--header, todo-edit-item--diary-inclusion)
	(todo-item-done): Use it.

194 195
2014-07-25  Glenn Morris  <rgm@gnu.org>

196 197 198
	* files.el (toggle-read-only): Re-add basic doc-string.
	* vc/vc-hooks.el (vc-toggle-read-only): Tweak obsolescence mesage.

199 200 201 202
	* progmodes/prolog.el (prolog-mode-keybindings-edit):
	Replace missing `switch-to-prolog' with `run-prolog'.
	(switch-to-prolog): Define as (obsolete) alias, as in 23.4.

203 204 205 206 207
2014-07-22  Stephen Berman  <stephen.berman@gmx.net>

	* calendar/todo-mode.el (todo-set-top-priorities): Fix overwriting
	of file-wide setting when changing category-wide setting.

208 209 210 211 212 213 214 215 216 217 218 219 220 221
2014-07-21  Glenn Morris  <rgm@gnu.org>

	* progmodes/hideif.el (hide-ifdef-mode-submap):
	Also substitute read-only-mode.
	* bindings.el (mode-line-toggle-read-only):
	* bs.el (bs-toggle-readonly):
	* buff-menu.el (Buffer-menu-toggle-read-only):
	* dired.el (dired-toggle-read-only):
	* files.el (view-read-only, find-file-read-only)
	(find-file-read-only-other-window)
	(find-file-read-only-other-frame):
	* progmodes/hideif.el (hide-ifdef-toggle-outside-read-only):
	Doc fixes re toggle-read-only.

222 223 224 225 226 227
2014-07-20  Fabián Ezequiel Gallina  <fgallina@gnu.org>

	* progmodes/python.el: Add comment about pipe buffering and
	solutions for missing/delayed output in inferior Python shells.
	(Bug#17304)

228 229 230 231 232
2014-07-20  Fabián Ezequiel Gallina  <fgallina@gnu.org>

	* progmodes/python.el (python-mode): Don't set
	mode-require-final-newline.  (Bug#17990)

233 234 235 236 237 238 239 240 241 242 243 244
2014-07-20  Fabián Ezequiel Gallina  <fgallina@gnu.org>

	Make python.el work with IPython automatically.  (Bug#15510)
	* progmodes/python.el:
	(python-shell-completion-setup-code): New value supporting iPython.
	(python-shell-completion-string-code): New value supporting iPython.
	(python-shell-completion-get-completions): Use them.
	(python-shell-completion-module-string-code): Make obsolete.
	(python-shell-prompt-input-regexps)
	(python-shell-prompt-output-regexps): Add safeguard for ipdb.
	(python-shell-output-filter): Fix comment typo.

245 246 247
2014-07-19  Fabián Ezequiel Gallina  <fgallina@gnu.org>

	Fix Python shell prompts detection for remote hosts.
248 249
	* progmodes/python.el (python-shell-prompt-detect):
	Replace call-process with process-file and make it more robust.
250

251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268
2014-07-17  Fabián Ezequiel Gallina  <fgallina@gnu.org>

	Autodetect Python shell prompts.  (Bug#17370)
	* progmodes/python.el:
	(python-shell-interpreter-interactive-arg)
	(python-shell-prompt-detect-enabled)
	(python-shell-prompt-detect-failure-warning)
	(python-shell-prompt-input-regexps)
	(python-shell-prompt-output-regexps): New vars.
	(python-shell-prompt-calculated-input-regexp)
	(python-shell-prompt-calculated-output-regexp): New vars.
	(python-shell-get-process-name)
	(python-shell-internal-get-process-name)
	(python-shell-output-filter)
	(python-shell-completion-get-completions): Use them.
	(python-shell-prompt-detect)
	(python-shell-prompt-validate-regexps): New functions.
	(python-shell-prompt-set-calculated-regexps): New function.
Paul Eggert's avatar
Paul Eggert committed
269
	(inferior-python-mode): Use it.  Also honor overridden
270
	python-shell-interpreter and python-shell-interpreter-args.
Paul Eggert's avatar
Paul Eggert committed
271
	(python-shell-make-comint): Honor overridden
272 273 274 275 276 277 278 279
	python-shell-interpreter and python-shell-interpreter-args.
	(python-shell-get-or-create-process): Make it testable by allowing
	to call run-python non-interactively.
	(python-util-valid-regexp-p): New function.
	(python-shell-prompt-regexp, python-shell-prompt-block-regexp)
	(python-shell-prompt-output-regexp)
	(python-shell-prompt-pdb-regexp): Use it as defcustom :safe.

280 281 282 283 284
2014-07-16  Glenn Morris  <rgm@gnu.org>

	* desktop.el (after-init-hook): Disable startup frame restoration
	in non-graphical situations.  (Bug#17693)

285 286 287 288 289
2014-07-14  Glenn Morris  <rgm@gnu.org>

	* vc/vc-dispatcher.el (vc-log-edit): Do set up the log buffer
	if it was "empty", or used for a different set of files.  (Bug#17884)

290 291 292 293 294 295
2014-07-13  Eli Zaretskii  <eliz@gnu.org>

	* bindings.el (mode-line-remote): If default-directory is not a
	string, don't call file-remote-p on it; instead state in the
	help-echo that it is nil.  (Bug#17986)

296 297 298 299 300 301
2014-07-12  Paul Eggert  <eggert@cs.ucla.edu>

	Fix bug: C-x v v discarded existing log message (Bug#17884).
	* vc/vc-dispatcher.el (vc-log-edit):
	Don't clobber an already-existing log message.

302 303 304 305 306
2014-07-10  Glenn Morris  <rgm@gnu.org>

	* vc/log-edit.el (log-edit-changelog-entries):
	Check for a visited-but-never-saved ChangeLog.

307 308
2014-07-09  Stefan Monnier  <monnier@iro.umontreal.ca>

309 310 311
	* vc/log-edit.el (log-edit-changelog-entries): Don't both visiting
	a non-existing file (bug#17970).

312 313 314
	* faces.el (face-name): Undo last change.
	(x-resolve-font-name): Don't call face-name (bug#17956).

315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334
2014-07-09  Fabián Ezequiel Gallina  <fgallina@gnu.org>

	Fix dedenters and electric colon handling. (Bug#15163)

	* progmodes/python.el
	(python-rx-constituents): Add dedenter and block-ender.
	(python-indent-dedenters, python-indent-block-enders): Delete.
	(python-indent-context): Return new case for dedenter-statement.
	(python-indent-calculate-indentation): Handle new case.
	(python-indent-calculate-levels): Fix levels calculation for
	dedenter statements.
	(python-indent-post-self-insert-function): Fix colon handling.
	(python-info-dedenter-opening-block-message): New function.
	(python-indent-line): Use it.
	(python-info-closing-block)
	(python-info-closing-block-message): Remove.
	(python-info-dedenter-opening-block-position)
	(python-info-dedenter-opening-block-positions)
	(python-info-dedenter-statement-p): New functions.

335 336 337 338 339
2014-07-08  Stefan Monnier  <monnier@iro.umontreal.ca>

	* progmodes/sh-script.el (sh-smie-sh-rules): Don't align with a && in
	the middle of a line (bug#17896).

340 341 342 343 344 345
2014-07-08  Juri Linkov  <juri@jurta.org>

	* startup.el (command-line): Append displaying the warning about
	the errors in the init file to the end of `after-init-hook'.
	(Bug#17927)

346 347 348 349 350 351 352
2014-07-08  Juri Linkov  <juri@jurta.org>

	* faces.el (face-name): Return input arg `face' as is
	when it's not a symbol.
	(x-resolve-font-name): Don't check if the face is a symbol.
	(Bug#17956)

353 354 355 356 357 358
2014-07-08  Juri Linkov  <juri@jurta.org>

	* facemenu.el (list-colors-print): In help-echo format use %.2f
	instead of %d because now HSV values are floating-point components
	between 0.0 and 1.0.

359 360 361 362 363
2014-07-06  Glenn Morris  <rgm@gnu.org>

	* emulation/cua-rect.el (cua--activate-rectangle):
	Avoid setting cua--rectangle to nil.  (Bug#17877)

364 365 366 367 368 369 370 371 372 373 374
2014-07-06  Stephen Berman  <stephen.berman@gmx.net>

	* calendar/todo-mode.el: Fix wrong-type-argument error when
	marking multiple consecutive items.
	(todo-toggle-mark-item): Don't try to mark the empty lines at the
	end of the todo and done items sections.  Note in doc string that
	items marked by passing a numeric prefix argument can include the
	last todo and first done items.
	(todo-mark-category): Don't try to mark the empty line between the
	todo and done items sections.

375 376
2014-07-05  Stefan Monnier  <monnier@iro.umontreal.ca>

377 378 379
	* emacs-lisp/edebug.el (edebug-eval-defun): Print result using
	proper Lisp quoting (bug#17934).

380 381 382
	* progmodes/ruby-mode.el (ruby-mode-variables): Don't meddle with
	require-final-newline since prog-mode already took care of it (bug#17947).

383 384 385 386 387 388 389 390 391
2014-07-04  Stephen Berman  <stephen.berman@gmx.net>

	* calendar/todo-mode.el: Fix two bugs.  Shorten Commentary and
	refer to the Todo mode Info manual.  Update the comment on
	requiring cl-lib.
	(todo-find-filtered-items-file): Add todo-prefix overlays.
	(todo-filter-items): Reorder a let-bound variable to avoid a
	wrong-type-argument error on canceling the file choice dialog.

392 393 394 395 396
2014-07-04  Stefan Monnier  <monnier@iro.umontreal.ca>

	* progmodes/octave.el (inferior-octave-mode):
	Set comint-input-ring-size to a number (bug#17912).

397 398 399 400 401
2014-07-03  Juri Linkov  <juri@jurta.org>

	* desktop.el (desktop-minor-mode-table): Add `defining-kbd-macro'
	and `isearch-mode' associated with nil.  (Bug#17849)

402 403 404 405 406
2014-07-02  Juri Linkov  <juri@jurta.org>

	* desktop.el (desktop-save): Rename arg `auto-save' to
	`only-if-changed'.  Doc fix.  (Bug#17873)

407 408 409 410 411
2014-07-02  Stefan Monnier  <monnier@iro.umontreal.ca>

	* mouse.el (mouse-yank-primary, mouse-yank-secondary):
	Use insert-for-yank (bug#17271).

412 413 414 415 416
2014-07-02  Leo Liu  <sdl.web@gmail.com>

	* emacs-lisp/pp.el (pp-eval-expression, pp-eval-last-sexp):
	Support lexical-binding.

417 418 419 420 421
2014-07-01  Stefan Monnier  <monnier@iro.umontreal.ca>

	* vc/log-edit.el (log-edit-goto-eoh): New function.
	(log-edit--match-first-line): Use it (bug#17861).

422 423 424 425
2014-07-01  Glenn Morris  <rgm@gnu.org>

	* vc/log-edit.el (log-edit-hook): Add missing :version.

426 427 428 429 430 431
2014-07-01  Fabián Ezequiel Gallina  <fgallina@gnu.org>

	* progmodes/python.el (python-indent-post-self-insert-function):
	Enhancements to electric indentation behavior inside
	parens. (Bug#17658)

432 433 434 435 436
2014-07-01  Stefan Monnier  <monnier@iro.umontreal.ca>

	* ps-def.el (ps-generate-postscript-with-faces1): Don't mess with
	buffer-invisibility-spec (bug#17867).

437 438 439 440 441
2014-06-29  Andreas Schwab  <schwab@linux-m68k.org>

	* vc/vc-git.el (vc-git-checkin): When operating on the whole tree
	pass "-a".

Glenn Morris's avatar
Glenn Morris committed
442 443
2014-06-29  Glenn Morris  <rgm@gnu.org>

444 445 446 447 448 449 450 451
	* cus-edit.el (help):
	* finder.el (finder-known-keywords):
	* help.el (help-for-help-internal):
	* vc/ediff-mult.el (ediff-meta-buffer-verbose-message)
	(ediff-redraw-registry-buffer):
	* vc/ediff-ptch.el (ediff-patch-file-internal):
	Doc fixes re "online" help.  (Bug#17803)

Glenn Morris's avatar
Glenn Morris committed
452 453 454
	* progmodes/idlwave.el (idlwave): Update url-link for custom group.
	(idlwave-mode): Doc URL update.

455 456 457 458 459 460
2014-06-27  Stephen Berman  <stephen.berman@gmx.net>

	* calendar/todo-mode.el (todo-set-top-priorities): Fix logic to
	account for file-wide setting of todo-top-priorities-overrides.
	Make code a bit cleaner.

461 462 463 464
2014-06-27  Leo Liu  <sdl.web@gmail.com>

	* calc/calc.el (math-bignum): Handle most-negative-fixnum.  (Bug#17556)

465 466 467 468
2014-06-27  Glenn Morris  <rgm@gnu.org>

	* net/eww.el (eww-mode) <eww-current-title>: Make local.  (Bug#17860)

469 470 471 472 473 474
2014-06-26  Stephen Berman  <stephen.berman@gmx.net>

	* calendar/todo-mode.el (todo-prefix-overlays): If there is no
	category-wide setting of todo-top-priorities-overrides, check for
	a file-wide setting and fontify accordingly.

475 476 477 478
2014-06-26  Glenn Morris  <rgm@gnu.org>

	* subr.el (read-passwd): Warn about batch mode.  (Bug#17839)

479 480 481 482 483 484 485
2014-06-26  Daiki Ueno  <ueno@gnu.org>

	* emacs-lisp/package.el (package--check-signature):
	If package-check-signature is allow-unsigned, don't signal error when
	we can't verify signature because of missing public key
	(backport for bug#17625).

486 487
2014-06-26  Glenn Morris  <rgm@gnu.org>

488 489 490
	* emacs-lisp/cl-macs.el (help-add-fundoc-usage):
	Remove outdated declaration.

491 492 493
	* emacs-lisp/authors.el (authors-valid-file-names)
	(authors-renamed-files-alist): Additions.

494 495 496 497 498 499
2014-06-25  Leo Liu  <sdl.web@gmail.com>

	* textmodes/picture.el (picture-set-tab-stops):
	* ruler-mode.el (ruler-mode-mouse-add-tab-stop)
	(ruler-mode-ruler): Fix to work with nil tab-stop-list.

500 501
	* progmodes/asm-mode.el (asm-calculate-indentation):
	Use indent-next-tab-stop.
502 503 504

	* indent.el (indent-accumulate-tab-stops): New function.

505 506 507 508 509
2014-06-25  Stefan Monnier  <monnier@iro.umontreal.ca>

	* emacs-lisp/package.el (package-list-unsigned): New var (bug#17625).
	(package-desc-status): Obey it.

510 511 512 513 514 515 516 517 518
2014-06-25  Stephen Berman  <stephen.berman@gmx.net>

	* calendar/todo-mode.el: Fix two bugs.
	(todo-insert-item--basic): If user cancels item insertion to
	another category before setting priority, show original category
	whether it is in the same or a different file.
	(todo-set-item-priority): After selecting category, instead of
	moving point to top, which extends an active region, restore it.

519 520 521 522 523
2014-06-25  Stefan Monnier  <monnier@iro.umontreal.ca>

	* help-fns.el (describe-function-1): Check file-name is a string before
	calling help-fns--autoloaded-p (bug#17564).

524 525 526 527 528 529 530 531
2014-06-24  Juri Linkov  <juri@jurta.org>

	* desktop.el (desktop-auto-save-enable)
	(desktop-auto-save-disable): New functions.
	(desktop-save-mode, desktop-auto-save-timeout): Use them.
	(desktop-read): Disable the autosave before loading the desktop,
	and enable afterwards.  (Bug#17351)

532 533 534 535 536 537 538 539 540 541
2014-06-24  Stefan Monnier  <monnier@iro.umontreal.ca>

	Fix some indentation problem with \; and pipes (bug#17842).
	* progmodes/sh-script.el (sh-mode-syntax-table): Set syntax of ;|&.
	(sh-smie--default-forward-token, sh-smie--default-backward-token):
	New functions.
	(sh-smie-sh-forward-token, sh-smie-sh-backward-token)
	(sh-smie-rc-forward-token, sh-smie-rc-backward-token): Use them.
	(sh-smie-sh-rules): Fix indentation of a pipe at BOL.

542 543 544 545 546 547 548 549 550 551
2014-06-24  Eli Zaretskii  <eliz@gnu.org>

	* international/fontset.el (script-representative-chars):
	Add representative characters for scripts added in Unicode 7.0.
	(otf-script-alist): Synchronize with the latest registry of OTF
	script tags.

	* international/characters.el (char-script-table): Update for
	scripts added and codepoint ranges changed in Unicode 7.0.

552 553 554 555 556 557 558 559 560 561
2014-06-23  Leo Liu  <sdl.web@gmail.com>

	* align.el (align-adjust-col-for-rule): Unbreak due to defaulting
	tab-stop-list to nil.  (Bug#16381)

	* indent.el (indent-next-tab-stop): Rename from indent--next-tab-stop.
	(indent-rigidly-left-to-tab-stop)
	(indent-rigidly-right-to-tab-stop, tab-to-tab-stop)
	(move-to-tab-stop): Change callers.

562 563 564 565 566
2014-06-22  Eli Zaretskii  <eliz@gnu.org>

	* skeleton.el (skeleton-insert): Yet another fix of the doc string
	wrt behavior of \n as the first/last element of a skeleton.

567 568 569 570 571 572 573
2014-06-22  Michael Albinus  <michael.albinus@gmx.de>

	* net/tramp-adb.el (tramp-adb-handle-process-file):
	* net/tramp-sh.el (tramp-sh-handle-process-file):
	* net/tramp-smb.el (tramp-smb-handle-process-file): Do not raise
	the output buffer when DISPLAY is non-nil.  (Bug#17815)

574 575 576 577 578
2014-06-21  Glenn Morris  <rgm@gnu.org>

	* play/landmark.el (landmark-move-down, landmark-move-up):
	Fix 2007-10-20 change - preserve horizontal position.

579 580 581 582 583 584 585
2014-06-21  Fabián Ezequiel Gallina  <fgallina@gnu.org>

	Fix completion retrieval parsing (bug#17209).
	* progmodes/python.el (python-mode):
	(python-util-strip-string): New function.
	(python-shell-completion-get-completions): Use it.

586 587 588 589
2014-06-21  Eli Zaretskii  <eliz@gnu.org>

	* skeleton.el (skeleton-insert): Fix last change.

590 591 592 593 594 595 596
2014-06-21  Fabián Ezequiel Gallina  <fgallina@gnu.org>

	Enhancements for outline integration (bug#17796).
	* progmodes/python.el (python-mode): Properly set
	outline-heading-end-regexp so that comments after colons for
	defuns are supported.

597 598 599 600
2014-06-21  Eli Zaretskii  <eliz@gnu.org>

	* skeleton.el (skeleton-insert): Doc fix.

601 602
2014-06-20  Stefan Monnier  <monnier@iro.umontreal.ca>

603 604 605 606
	* emacs-lisp/smie.el (smie-config--guess): Fix typo.
	(smie-config-guess): Use smie-config-local so the rules are obeyed
	(bug#17818).

607 608 609
	* mouse.el (mouse-drag-line): Don't re-add to unread-comment-events,
	since it's already done inside the loop	(bug#17819).

610 611 612 613 614 615
2014-06-20  Martin Rudalics  <rudalics@gmx.at>

	* mouse.el (mouse-drag-line): Re-remove code initially removed
	on 2013-03-09 and inadvertently reintroduced on 2013-11-30
	(Bug#17819).

616 617 618 619 620
2014-06-20  Stefan Monnier  <monnier@iro.umontreal.ca>

	* progmodes/sh-script.el (sh-smie-sh-rules): For { after &&, don't
	align with the surrounding parent (bug#17721).

621 622 623 624 625 626 627 628 629
2014-06-20  Eli Zaretskii  <eliz@gnu.org>

	* textmodes/texinfo.el (texinfo-mode): Set skeleton-end-newline
	locally to nil.
	(texinfo-insert-block, texinfo-insert-@end)
	(texinfo-insert-@example, texinfo-insert-@quotation): Adjust to
	local setting of skeleton-end-newline by adding an explicit \n to
	the skeletons where appropriate.  (Bug#17801)

630 631 632 633 634 635
2014-06-20  Stefan Monnier  <monnier@iro.umontreal.ca>

	* emacs-lisp/smie.el (smie--hanging-eolp-function): New var.
	(smie-indent--hanging-p): Use it.
	* progmodes/sh-script.el (sh-set-shell): Set it (bug#17621).

636 637 638 639 640
2014-06-20  Leo Liu  <sdl.web@gmail.com>

	* simple.el (read-quoted-char): Don't let help chars pop up help
	buffer.  (Bug#16617)

641 642 643 644 645
2014-06-19  Stefan Monnier  <monnier@iro.umontreal.ca>

	* progmodes/sh-script.el (sh-smie-sh-rules): Use same rule for && as
	for | (bug#17621).

646 647 648 649 650 651
2014-06-18  Stefan Monnier  <monnier@iro.umontreal.ca>

	* xt-mouse.el (xterm-mouse-translate-1): Fix last change (bug#17776).
	(xterm-mouse--read-event-sequence-1000): Drop unknown events instead of
	burping.

652 653 654 655 656
2014-06-18  Eli Zaretskii  <eliz@gnu.org>

	* term/w32-win.el (dynamic-library-alist): Support giflib 5.1.0
	and later.  (Bug#17790)

657 658 659 660 661
2014-06-18  Juri Linkov  <juri@jurta.org>

	* dired.el (dired-mark-pop-up): Let-bind display-buffer-mark-dedicated
	to `soft'.  (Bug#17554)

662 663 664 665 666
2014-06-17  Stefan Monnier  <monnier@iro.umontreal.ca>

	* delsel.el (electric-newline-and-maybe-indent): Mark it as well
	(bug#17737).

667
2014-06-16  Dmitry Gutov  <dgutov@yandex.ru>
Dmitry Gutov's avatar
Dmitry Gutov committed
668 669 670 671

	* progmodes/ruby-mode.el (ruby-font-lock-keywords): Don't fontify
	`!' in `!~' with `font-lock-negation-char-face'.  (Bug#17732)

672 673 674 675 676
2014-06-15  Michael Albinus  <michael.albinus@gmx.de>

	* net/dbus.el (dbus-call-method): Push only non D-Bus events into
	`unread-command-events'.

677 678 679 680 681 682 683
2014-06-14  Glenn Morris  <rgm@gnu.org>

	* progmodes/cc-langs.el: Require cl-lib.  (Bug#17463)
	Replace delete-duplicates and mapcan by cl- versions throughout.
	And cl-macroexpand-all by macroexpand-all.
	(delete-duplicates, mapcan, cl-macroexpand-all): No need to declare.

684 685 686 687
2014-06-14  Eli Zaretskii  <eliz@gnu.org>

	* subr.el (posn-col-row): Doc fix.  (Bug#17768)

688 689 690 691 692
2014-06-14  Juri Linkov  <juri@jurta.org>

	* bindings.el: Put `ascii-character' property on keypad keys
	mapped to characters.  (Bug#17759)

693 694
2014-06-13  Stefan Monnier  <monnier@iro.umontreal.ca>

695 696 697
	* emacs-lisp/smie.el (smie-next-sexp): Fix up "other-end" info when
	bumping forward into a closing paren (bug#17761).

698 699 700
	* term/xterm.el (xterm--version-handler): Work around for OSX
	Terminal.app (bug#17607).

Glenn Morris's avatar
Glenn Morris committed
701 702
2014-06-08  Glenn Morris  <rgm@gnu.org>

703 704 705
	* startup.el (initial-buffer-choice): Doc fix.
	Reset :version (adding an option does not merit a :version bump).

Glenn Morris's avatar
Glenn Morris committed
706 707 708
	* bookmark.el (bookmark-load):
	* uniquify.el (uniquify-buffer-name-style): Doc fixes.

709 710 711 712 713 714 715 716 717
2014-06-06  Juri Linkov  <juri@jurta.org>

	* desktop.el: Activate auto-saving on window configuration changes.
	(desktop-save-mode, desktop-auto-save-timeout): Add/remove
	`desktop-auto-save-set-timer' to/from `window-configuration-change-hook'.
	(desktop-auto-save-set-timer): Change REPEAT arg of
	`run-with-idle-timer' from t to nil.
	http://lists.gnu.org/archive/html/emacs-devel/2014-06/msg00147.html

718 719 720 721 722
2014-06-06  Santiago Payà i Miralta  <santiagopim@gmail.com>

	* vc/vc-hg.el (vc-hg-working-revision): Use "hg parent" and
	vc-hg-command (bug#17570).

723 724 725 726 727
2014-06-06  Stefan Monnier  <monnier@iro.umontreal.ca>

	* international/mule-cmds.el (ucs-names): Add special entry for BEL
	(bug#17702).

728 729 730 731
2014-06-06  Glenn Morris  <rgm@gnu.org>

	* startup.el (window-setup-hook): Doc fix.

732 733 734 735 736
2014-06-05  Glenn Morris  <rgm@gnu.org>

	* emacs-lisp/package.el (package-check-signature)
	(package-unsigned-archives): Doc fixes.

737 738 739 740 741
2014-06-03  Martin Rudalics  <rudalics@gmx.at>

	* window.el (display-buffer-use-some-window): Don't make window
	used smaller than it was before (Bug#17671).

742 743 744 745 746
2014-06-03  Eli Zaretskii  <eliz@gnu.org>

	* menu-bar.el (menu-bar-open): Fix last change: use the PC
	'redisplay' instead of '(sit-for 0)'.

Michael Albinus's avatar
Michael Albinus committed
747 748 749 750 751
2014-06-03  Michael Albinus  <michael.albinus@gmx.de>

	* net/tramp.el (tramp-ssh-controlmaster-options): Improve search
	regexp.  (Bug#17653)

752 753 754 755
2014-06-03  Glenn Morris  <rgm@gnu.org>

	* emacs-lisp/package.el (package-pinned-packages): Doc fix.

756 757 758 759
2014-06-02  Eli Zaretskii  <eliz@gnu.org>

	* menu-bar.el (menu-bar-open): Fix invocation via M-x.

760 761 762 763 764
2014-06-01  Eli Zaretskii  <eliz@gnu.org>

	* simple.el (keyboard-quit): Force update of mode lines, to remove
	the "Def" indicator, if we were defining a macro.  (Bug#17615)

765 766
2014-06-01  Stefan Monnier  <monnier@iro.umontreal.ca>

767 768 769
	* minibuffer.el (minibuffer-force-complete-and-exit):
	Obey minibuffer-default (bug#17545).

770 771 772
	* progmodes/js.el (js-indent-line): Don't mix columns and chars
	(bug#17619).

773 774 775 776 777 778
2014-05-31  Stefan Monnier  <monnier@iro.umontreal.ca>

	* subr.el (set-transient-map): Don't wait for some "nested"
	transient-map to finish if we're only supposed to be active for
	the next command (bug#17642).

779 780 781 782 783 784
2014-05-31  Leo Liu  <sdl.web@gmail.com>

	* emacs-lisp/gv.el (window-buffer, window-display-table)
	(window-dedicated-p, window-hscroll, window-point, window-start):
	Fix gv-expander.  (Bug#17630)

785 786
2014-05-31  Stefan Monnier  <monnier@iro.umontreal.ca>

787 788 789
	* mouse.el (mouse-posn-property): Ignore posn-point for mode-line
	clicks (bug#17633).

790 791 792 793
	* leim/quail/latin-pre.el ("latin-2-prefix"): Use ",," rather than ", "
	for the single comma, since ", " is *very* common in normal French text
	(bug#17643).

794 795 796 797 798
2014-05-30  Glenn Morris  <rgm@gnu.org>

	* emacs-lisp/package.el (package-check-signature)
	(package-unsigned-archives): Fix :version.

799 800 801 802
2014-05-29  Stefan Monnier  <monnier@iro.umontreal.ca>

	* subr.el (sit-for): Don't run input-methods (bug#15614).

803 804 805 806
2014-05-28  Glenn Morris  <rgm@gnu.org>

	* cus-start.el: Fix some :version numbers.

807 808
2014-05-27  Stefan Monnier  <monnier@iro.umontreal.ca>

809 810 811
	* simple.el (deactivate-mark): Set mark-active to nil even if
	deactivation is done via setting transient-mark-mode to nil,
	since one is buffer-local and the other is global.
812

813 814 815
	* emacs-lisp/byte-opt.el (byte-optimize-binary-predicate): Don't assume
	there can't be more than 2 arguments (bug#17584).

816 817
2014-05-27  Glenn Morris  <rgm@gnu.org>

818 819 820 821
	* simple.el (filter-buffer-substring-functions)
	(filter-buffer-substring-function, buffer-substring-filters)
	(filter-buffer-substring, buffer-substring--filter): Doc fixes.

822 823 824
	* minibuffer.el (completion-in-region-functions, completion-in-region)
	(completion--in-region): Doc fixes.

825 826 827
	* abbrev.el (abbrev-expand-functions, abbrev-expand-function)
	(expand-abbrev, abbrev--default-expand): Doc fixes.

828 829 830 831 832 833
2014-05-26  Paul Eggert  <eggert@cs.ucla.edu>

	Include sources used to create macuvs.h.
	* international/README: Refer to the Unicode Terms of Use rather
	than copying it bodily here, as that simplifies maintenance.

834 835 836 837
2014-05-25  Andreas Schwab  <schwab@linux-m68k.org>

	* cus-face.el (custom-face-attributes): Add :distant-foreground.

838 839 840 841 842
2014-05-25  Martin Rudalics  <rudalics@gmx.at>

	* window.el (window--dump-frame): Remove interactive
	specification.

843 844 845 846 847
2014-05-23  Glenn Morris  <rgm@gnu.org>

	* hippie-exp.el (he-line-search-regexp):
	Handle comint-prompt-regexp containing subgroups.  (Bug#17529)

848 849 850 851 852 853 854 855 856 857 858 859 860
2014-05-23  Stephen Berman  <stephen.berman@gmx.net>

	* calendar/todo-mode.el: Remove dependence on auto-mode-alist,
	to avoid errors when trying to create or visit a file foo.todo
	located outside to todo-directory, and to allow having such files
	without them being tied to Todo mode (bug#17482).
	(todo-show, todo-move-category, todo-merge-category, todo-find-archive)
	(todo-archive-done-item, todo-find-filtered-items-file)
	(todo-filter-items, todo-find-item, todo-diary-goto-entry)
	(todo-category-completions, todo-read-category): When visiting a
	Todo file, make sure we're in the right mode and the buffer local
	variables are set.
	(todo-make-categories-list, todo-reset-nondiary-marker)
861 862
	(todo-reset-done-string, todo-reset-comment-string):
	After processing all Todo files, kill the buffers of those files that
863 864 865 866 867 868 869
	weren't being visited before the processing.
	(todo-display-as-todo-file, todo-add-to-buffer-list)
	(todo-visit-files-commands): Comment out.
	(todo-modes-set-3, todo-mode): Comment out additions to find-file-hook.
	(auto-mode-alist): Remove add-to-list calls making Todo file
	extensions unrestrictedly tied to Todo modes.

870 871 872 873 874 875 876
2014-05-23  Stefan Monnier  <monnier@iro.umontreal.ca>

	* emacs-lisp/nadvice.el (advice--member-p): Change second arg.
	(advice-function-member-p): Tell it to check both names and functions
	(bug#17531).
	(advice--add-function): Adjust call accordingly.

877 878 879 880 881 882 883 884 885 886 887 888 889 890 891 892 893 894 895 896 897 898 899 900 901 902 903 904 905 906 907 908
2014-05-23  Stephen Berman  <stephen.berman@gmx.net>

	* calendar/todo-mode.el: Miscellaneous bug fixes.
	(todo-delete-file): When deleting an archive but not its todo
	file, make sure to update the todo file's category sexp.
	(todo-move-category): Keep the moved category's name unless the
	file moved to already has a category with that name.  If the
	numerically last category of the source file was moved, make the
	first category current to avoid selecting a nonexisting category.
	(todo-merge-category): Fix implementation to make merging to a
	category in another file work as documented.  Eliminate now
	insufficient and unnecessary renaming of archive category, correct
	document string accordingly, and clarify it.  If the numerically
	last category of the source file was merged, make the first
	category current to avoid selecting a nonexisting category.
	(todo-archive-done-item): When there are marked items and point
	happens to be on an unmarked item, ignore the latter.  Don't leave
	point below last item after archiving marked items.
	(todo-unarchive-items): Fix logic to ensure unarchiving an item
	from an archive with only one category deletes the archive only
	when the category is empty after unarchiving.  Make sure the todo
	file's category sexp is updated.
	(todo-read-file-name): Allow an existing file name even when it is
	not required (todo-move-category needs this to work as documented).
	(todo-add-file): Call todo-validate-name to reject the name of an
	existing todo file (needed due to fix in todo-read-file-name).
	(todo-reset-nondiary-marker): Also reset in filtered items files.
	(todo-reset-done-string, todo-reset-comment-string): Also reset in
	regexp filtered items files.
	(todo-reset-highlight-item): Also reset in filtered items files.
	Fix incorrect variable reference in document string.

909 910 911 912
2014-05-22  Glenn Morris  <rgm@gnu.org>

	* window.el (window--dump-frame): Avoid error in --without-x builds.

913 914 915 916
2014-05-21  Glenn Morris  <rgm@gnu.org>

	* nxml/nxml-mode.el (xml-mode): Only define this alias once.

917 918 919 920 921 922
2014-05-21  Eli Zaretskii  <eliz@gnu.org>

	* frame.el (set-frame-font): Doc fix.

	* menu-bar.el (menu-set-font): Doc fix.  (Bug#17532)

923 924
2014-05-21  Dmitry Gutov  <dgutov@yandex.ru>

925 926
	* emacs-lisp/package.el (package--download-one-archive):
	Use `write-region' instead of `save-buffer' to avoid running various
927 928 929 930
	hooks.  (Bug#17155)
	(describe-package-1): Same.  Insert newline at the end of the
	buffer if appropriate.

931 932 933 934 935 936 937
2014-05-20  Juri Linkov  <juri@jurta.org>

	* avoid.el (mouse-avoidance-set-mouse-position): Don't raise frame.
	(mouse-avoidance-ignore-p): Remove `switch-frame', add `focus-out'.
	Add more modifiers: meta, control, shift, hyper, super, alt.
	(Bug#17439)

938 939 940
	* avoid.el (mouse-avoidance-banish-position): Fix defcustom :options
	to allow changing its value with `set-variable'.

941 942
2014-05-20  Stefan Monnier  <monnier@iro.umontreal.ca>

943 944 945 946 947 948 949 950
	* progmodes/scheme.el (scheme-mode-syntax-table): Remove hack for
	#; comments.
	(scheme-syntax-propertize, scheme-syntax-propertize-sexp-comment):
	New functions.
	(scheme-mode-variables): Set syntax-propertize-function instead of
	font-lock-syntactic-face-function.
	(scheme-font-lock-syntactic-face-function): Delete.

951 952
	* emacs-lisp/lisp.el (end-of-defun): Ensure we move (bug#17274).

953 954 955 956 957
2014-05-18  Stefan Monnier  <monnier@iro.umontreal.ca>

	* emacs-lisp/timer.el (timer-event-handler): Don't run if canceled
	(bug#17392).

958 959 960 961 962
2014-05-17  Michael Albinus  <michael.albinus@gmx.de>

	* net/tramp-sh.el (tramp-find-inline-encoding): Do not match "%%t"
	for a temporary file name.

963 964 965 966
2014-05-17  Eli Zaretskii  <eliz@gnu.org>

	* simple.el (line-move-ignore-invisible): Doc fix.  (Bug#17511)

967 968 969 970
2014-05-16  Michael Albinus  <michael.albinus@gmx.de>

	* net/dbus.el (dbus-init-bus, dbus-call-method)
	(dbus-call-method-asynchronously, dbus-send-signal)
Michael Albinus's avatar
Michael Albinus committed
971
	(dbus-method-return-internal, dbus-method-error-internal):
972 973
	Check, whether Emacs has been compiled with D-Bus support.  (Bug#17508)

974 975 976 977 978
2014-05-14  Nicolas Richard  <theonewiththeevillook@yahoo.fr>

	* emacs-lisp/eieio-opt.el (eieio-help-class): Correctly deal with
	methods which do not have a doc string.  (Bug#17490)

979 980 981 982 983 984
2014-05-14  Stephen Berman <stephen.berman@gmx.net>
            Stefan Monnier  <monnier@iro.umontreal.ca>

	* minibuffer.el (completion-pcm--merge-try): Merge trailing / with
	suffix (bug#15419).

985 986 987 988 989 990
2014-05-14  Glenn Morris  <rgm@gnu.org>

	* vc/emerge.el (emerge-temp-file-prefix):
	Make pointless option obsolete.
	(emerge-temp-file-mode): Make non-functional option obsolete.

991 992 993 994 995 996
2014-05-13  Michael Albinus  <michael.albinus@gmx.de>

	* net/browse-url.el (browse-url):
	Use `unhandled-file-name-directory' when setting `default-directory',
	in order to circumvent stalled remote connections.  (Bug#17425)

997 998 999 1000 1001
2014-05-12  Stefan Monnier  <monnier@iro.umontreal.ca>

	* emacs-lisp/nadvice.el (advice--interactive-form): Don't get fooled
	into autoloading just because of a silly indirection.

1002 1003 1004 1005
2014-05-11  Santiago Payà i Miralta  <santiagopim@gmail.com>  (tiny change)

	* vc/vc-hg.el (vc-hg-unregister): New function.  (Bug#17454)

1006 1007 1008 1009
2014-05-11  Glenn Morris  <rgm@gnu.org>

	* emacs-lisp/find-gc.el: Move to ../admin.

1010 1011
2014-05-10  Glenn Morris  <rgm@gnu.org>

1012 1013 1014
	* printing.el (pr-version):
	* ps-print.el (ps-print-version): Also mention bug-gnu-emacs.

1015 1016 1017
	* net/browse-url.el (browse-url-mosaic):
	Create /tmp/Mosaic.PID as a private file.

1018 1019 1020 1021 1022 1023 1024 1025 1026 1027
2014-05-10  Stefan Monnier  <monnier@iro.umontreal.ca>

	* emacs-lisp/nadvice.el: Support adding a given function multiple times.
	(advice--member-p): If name is given, only compare the name.
	(advice--remove-function): Don't stop at the first match.
	(advice--normalize-place): New function.
	(add-function, remove-function): Use it.
	(advice--add-function): Pass the name, if any, to
	advice--remove-function.

1028 1029 1030 1031 1032
2014-05-09  Philipp Rumpf  <prumpf@gmail.com>  (tiny change)

	* electric.el (electric-indent-post-self-insert-function): Don't use
	`pos' after modifying the buffer (bug#17449).

1033 1034 1035 1036
2014-05-09  Stefan Monnier  <monnier@iro.umontreal.ca>

	* subr.el (function-put): Add function.

1037 1038 1039 1040 1041
2014-05-09  Stephen Berman  <stephen.berman@gmx.net>

	* calendar/todo-mode.el (todo-insert-item-from-calendar):
	Correct argument list to conform to todo-insert-item--basic.

1042 1043
2014-05-09  Glenn Morris  <rgm@gnu.org>

1044 1045 1046
	* files.el (cd-absolute): Test if directory is accessible
	rather than executable.  (Bug#17330)

1047 1048 1049
	* progmodes/compile.el (recompile):
	Handle C-u M-x recompile from a non-compilation buffer.  (Bug#17444)

1050 1051 1052 1053 1054 1055 1056 1057 1058
2014-05-08  Juri Linkov  <juri@jurta.org>

	* dired.el (dired-check-switches, dired-switches-recursive-p):
	New functions.  (Bug#17218)
	(dired-switches-escape-p, dired-move-to-end-of-filename):
	Use `dired-check-switches'.
	(dired-insert-old-subdirs, dired-build-subdir-alist)
	(dired-sort-R-check): Use `dired-switches-recursive-p'.

1059 1060 1061 1062 1063 1064
2014-05-08  Glenn Morris  <rgm@gnu.org>

	* net/browse-url.el (browse-url-mosaic):
	Be careful when writing /tmp/Mosaic.PID.  (Bug#17428)
	This is CVE-2014-3423.

1065 1066 1067 1068 1069 1070 1071 1072
2014-05-08  Stefan Monnier  <monnier@iro.umontreal.ca>

	* xt-mouse.el: Drop spurious/oddly shaped events (bug#17378).
	(xterm-mouse--read-event-sequence-1000): Return nil if something
	looks fishy.
	(xterm-mouse-event): Propagate it.
	(xterm-mouse-translate-1): Handle it.

1073 1074 1075 1076 1077 1078
2014-05-07  Stephen Berman  <stephen.berman@gmx.net>

	* calendar/todo-mode.el (todo-insert-item--apply-args): When all
	four slots of the parameter list are filled, make sure to pass it
	to the argument list of todo-insert-item--basic.

1079 1080 1081 1082 1083
2014-05-06  Stefan Monnier  <monnier@iro.umontreal.ca>

	* emacs-lisp/package.el (package-compute-transaction): Topological sort.
	Add optional `seen' argument to detect and break infinite loops.

1084 1085 1086 1087 1088 1089
2014-05-06  Eli Zaretskii  <eliz@gnu.org>

	* emacs-lisp/find-gc.el (find-gc-unsafe, find-unsafe-funcs)
	(trace-unsafe, trace-use-tree): Make parentheses style be
	according to Emacs style.

Michael Albinus's avatar
Michael Albinus committed
1090 1091
2014-05-06  Michael Albinus  <michael.albinus@gmx.de>

1092 1093 1094 1095
	* net/tramp-sh.el (tramp-remote-process-environment):
	Remove HISTFILE and HISTSIZE; it's too late to set them here.
	Add :version entry.
	(tramp-open-shell): Do not let-bind `tramp-end-of-output'.
1096
	Add "HISTFILE=/dev/null" to the shell's env arguments.  Do not send
Michael Albinus's avatar
Michael Albinus committed
1097 1098 1099 1100
	extra "PSx=..." commands.
	(tramp-maybe-open-connection): Setenv HISTFILE to /dev/null.
	(Bug#17295)

Michael Albinus's avatar
Michael Albinus committed
1101 1102 1103 1104 1105
	(tramp-uudecode): Replace the hard-coded temporary file name by a
	format specifier.
	(tramp-remote-coding-commands): Enhance docstring.
	(tramp-find-inline-encoding): Replace "%t" by a temporary file
	name.  (Bug#17415)
1106
	This is CVE-2014-3424.
Michael Albinus's avatar
Michael Albinus committed
1107

Glenn Morris's avatar
Glenn Morris committed
1108 1109 1110 1111 1112 1113
2014-05-06  Glenn Morris  <rgm@gnu.org>

	* emacs-lisp/find-gc.el (find-gc-source-directory): Give it a value.
	(find-gc-source-files): Update some names.
	(trace-call-tree): Simplify and update.
	Avoid predictable temp-file names.  (http://bugs.debian.org/747100)
1114
	This is CVE-2014-3422.
Glenn Morris's avatar
Glenn Morris committed
1115

1116 1117
2014-05-05  Stefan Monnier  <monnier@iro.umontreal.ca>

1118 1119 1120
	* minibuffer.el (completion--try-word-completion): Revert fix for
	Bug#15980 (bug#17375).

1121 1122 1123 1124 1125
	* xt-mouse.el (xterm-mouse--read-event-sequence-1000): (bug#17378)
	Always store button numbers in the same way in xterm-mouse-last;
	Don't burp is xterm-mouse-last is not set as expected.
	Never return negative indices.

1126 1127 1128 1129 1130 1131 1132
2014-05-05  Dmitry Gutov  <dgutov@yandex.ru>

	* progmodes/ruby-mode.el (ruby-syntax-propertize-function):
	Backtrack one char if the global/char-literal var matcher hits
	inside a string.  The next char could be the beginning of an
	expression expansion.

1133 1134 1135 1136 1137
2014-05-05  Glenn Morris  <rgm@gnu.org>

	* help-fns.el (describe-function-1): Test for an autoload before a
	macro, since `macrop' works on autoloads.  (Bug#17410)

1138 1139
2014-05-05  Stefan Monnier  <monnier@iro.umontreal.ca>

1140 1141
	* electric.el (electric-indent-functions-without-reindent): Add yaml.

1142 1143 1144
	* minibuffer.el (completion-table-with-quoting) <completion--unquote>:
	Make sure the new point we return is within the new string (bug#17239).

Eli Zaretskii's avatar
Eli Zaretskii committed
1145 1146 1147 1148
2014-05-03  Eli Zaretskii  <eliz@gnu.org>

	* mail/rmailsum.el (rmail-new-summary-1): Fix a typo in a comment.

1149 1150 1151 1152 1153 1154 1155 1156 1157 1158
2014-05-03  Stefan Monnier  <monnier@iro.umontreal.ca>

	* vc/ediff-diff.el (ediff-set-fine-diff-properties-in-one-buffer):
	Use nil rather than `default' for the "default" appearance (bug#17388).
	* vc/ediff-util.el (ediff-inferior-compare-regions)
	(ediff-toggle-autorefine, ediff-unselect-difference): Don't use
	a misleading `default' value when it's really a boolean.
	* vc/ediff-init.el (ediff-set-overlay-face): Don't set help-echo if the
	overlay is not visible.

Stephen Berman's avatar
Stephen Berman committed
1159 1160 1161 1162 1163
2014-05-02  Stephen Berman  <stephen.berman@gmx.net>

	* calendar/todo-mode.el (todo-edit-file): Use display-warning.
	(todo-menu): Uncomment and update.

1164 1165 1166 1167 1168 1169 1170 1171 1172 1173 1174 1175 1176 1177 1178 1179 1180 1181 1182 1183 1184 1185 1186 1187 1188 1189 1190 1191 1192 1193 1194 1195 1196 1197 1198 1199 1200 1201 1202 1203 1204 1205 1206 1207 1208 1209 1210 1211 1212 1213
2014-05-02  Stephen Berman  <stephen.berman@gmx.net>

	* calendar/todo-mode.el: Reimplement item editing to have the same
	basic user interface as item insertion, and make small UI and
	larger internal improvements to the latter.
	(todo-insert-item): Add reference to the Todo mode user manual to
	the documentation string.
	(todo-insert-item--basic): Rename from todo-basic-insert-item and
	adjust all callers.  Change signature to combine diary and
	nonmarking arguments.  Incorporate functionality of deleted item
	copying command and add error checking.  Remove detailed
	descriptions of the arguments from the documentation string, since
	this is treated in the Todo mode user manual.
	(todo-copy-item, todo-edit-multiline-item)
	(todo-edit-done-item-comment, todo-edit-item-header)
	(todo-edit-item-time, todo-edit-item-date-from-calendar)
	(todo-edit-item-date-to-today, todo-edit-item-date-day-name)
	(todo-edit-item-date-year, todo-edit-item-date-month)
	(todo-edit-item-date-day, todo-edit-item-diary-nonmarking):
	Remove.
	(todo-edit-item): Reimplement as wrapper command for
	todo-edit-item--next-key and make it distinguish done and not done
	todo items.
	(todo-edit-item--text): New function, replacing old command
	todo-edit-item and incorporating deleted commands
	todo-edit-multiline-item and todo-edit-done-item-comment.
	(todo-edit-item--header): Rename from todo-basic-edit-item-header.
	Use only numeric value of prefix argument.  Remove detailed
	descriptions of the arguments from the documentation string, since
	this is treated in the Todo mode user manual.
	(todo-edit-item--diary-inclusion): New function, replacing old
	command todo-edit-item-diary-inclusion and incorporating and fixing
	functionality of deleted command todo-edit-item-diary-nonmarking,
	making sure to remove todo-nondiary-marker when adding
	diary-nonmarking-symbol.
	(todo-edit-category-diary-inclusion): Make sure to delete
	diary-nonmarking-symbol when adding todo-nondiary-marker.
	(todo-edit-category-diary-nonmarking): Fix indentation.
	(todo-insert-item--parameters): Group diary and nonmarking
	parameters together.
	(todo-insert-item--apply-args): Adjust to signature of
	todo-insert-item--basic and incorporate copy parameter.
	Make small code improvements.
	(todo-insert-item--next-param): Improve prompt and adjust it to
	new parameter grouping.  Remove obsolete code.
	(todo-edit-item--param-key-alist)
	(todo-edit-item--date-param-key-alist)
	(todo-edit-done-item--param-key-alist): New defconsts.
	(todo-edit-item--prompt): New variable.
	(todo-edit-item--next-key): New function.
1214 1215
	(todo-key-bindings-t): Bind "e" to todo-edit-item.
	Remove bindings of deleted commands.
1216

1217 1218 1219 1220
2014-05-02  Leo Liu  <sdl.web@gmail.com>

	* emacs-lisp/cl-macs.el (cl-deftype): Fix indentation.

Glenn Morris's avatar
Glenn Morris committed
1221 1222 1223 1224 1225 1226 1227 1228 1229 1230 1231 1232 1233 1234
2014-05-01  Glenn Morris  <rgm@gnu.org>

	* allout-widgets.el (allout-widgets-tally)
	(allout-decorate-item-guides):
	* menu-bar.el (menu-bar-positive-p):
	* minibuffer.el (completion-pcm-complete-word-inserts-delimiters):
	* progmodes/gdb-mi.el (gdbmi-same-start, gdbmi-is-number):
	* progmodes/js.el (js--inside-param-list-p)
	(js--inside-dojo-class-list-p, js--forward-destructuring-spec):
	* progmodes/prolog.el (region-exists-p):
	* progmodes/verilog-mode.el (verilog-scan-cache-ok-p):
	* textmodes/reftex-parse.el (reftex-using-biblatex-p):
	Doc fixes (replace `iff').

1235 1236 1237 1238
2014-05-01  Stefan Monnier  <monnier@iro.umontreal.ca>

	* mpc.el (mpc-volume-mouse-set): Don't burp at the boundaries.

1239 1240 1241 1242 1243
2014-04-30  Eli Zaretskii  <eliz@gnu.org>

	* dired.el (dired-initial-position-hook, dired-initial-position):
	Doc string fixes.

1244 1245 1246 1247
2014-04-29  Glenn Morris  <rgm@gnu.org>

	* mail/rmail.el (rmail-quit): Handle killed summaries.  (Bug#17283)

1248 1249 1250
2014-04-27  Matthias Dahl  <matthias.dahl@binary-island.eu>

	* faces.el (face-spec-recalc): Apply X resources only after the
1251
	defface spec has been applied. Thus, X resources are no longer
Paul Eggert's avatar
Paul Eggert committed
1252
	overridden by the defface spec which also fixes issues on win32 where
1253
	the toolbar coloring was wrong because it is set through X resources
Paul Eggert's avatar
Paul Eggert committed
1254
	and was (wrongfully) overridden.  (Bug#16694)
1255

1256 1257 1258 1259 1260
2014-04-28  Stefan Monnier  <monnier@iro.umontreal.ca>

	* textmodes/rst.el (electric-pair-pairs): Declare.
	(rst-mode): Set it (bug#17131).

1261 1262 1263 1264 1265
2014-04-27  Juri Linkov  <juri@jurta.org>

	* desktop.el (desktop-value-to-string): Let-bind `print-length'
	and `print-level' to nil.  (Bug#17351)

1266 1267 1268 1269 1270
2014-04-25  Nicolas Richard  <theonewiththeevillook@yahoo.fr>

	* battery.el (battery-update): Handle the case where battery
	status is "N/A" (bug#17319).

1271 1272
2014-04-24  Eli Zaretskii  <eliz@gnu.org>

1273 1274
	* tooltip.el (tooltip-show-help-non-mode, tooltip-show-help):
	Use equal-including-properties to compare help-echo strings (bug#17331).
1275

1276 1277 1278 1279 1280
2014-04-24  Leo Liu  <sdl.web@gmail.com>

	* emacs-lisp/lisp-mode.el (emacs-lisp-mode-syntax-table):
	Fix syntax for @.  (Bug#17325)

1281 1282 1283 1284 1285
2014-04-24  Daniel Colascione  <dancol@dancol.org>

	* emacs-lisp/cl.el (gv): Require gv early to break eager
	macro-expansion cycles.

1286 1287
2014-04-23  Stefan Monnier  <monnier@iro.umontreal.ca>

1288 1289
	* simple.el (region-active-p): Check there's a mark (bug#17324).

1290 1291 1292 1293 1294 1295 1296 1297 1298
	* simple.el (completion-list-mode-map): Use choose-completion for the
	mouse binding as well (bug#17302).
	(completion-list-mode, completion-setup-function): Adjust docstring and
	echo area message accordingly.
	* progmodes/idlwave.el (idlwave-choose-completion): Adjust to new
	calling convention of choose-completion.
	* comint.el (comint-dynamic-list-completions):
	* term.el (term-dynamic-list-completions): Accept choose-completion.

1299 1300 1301
	* progmodes/perl-mode.el (perl-syntax-propertize-function): Slash after
	&, |, +, - and * can't be a division (bug#17317).

1302 1303 1304 1305 1306
2014-04-22  Stefan Monnier  <monnier@iro.umontreal.ca>

	* term/xterm.el (xterm--version-handler): Don't use modern xterm
	features on gnome-terminal (bug#16988).

1307 1308 1309 1310 1311 1312
2014-04-22  Michael Heerdegen  <michael_heerdegen@web.de>

	* dired.el (dired-insert-set-properties): Do not consider
	subdirectory headings and empty lines to be information that
	`dired-hide-details-mode' should hide.  (Bug#17228)

1313 1314 1315 1316 1317 1318 1319
2014-04-22  Michael Albinus  <michael.albinus@gmx.de>

	* net/tramp-sh.el (tramp-sh-handle-file-name-all-completions):
	Remove test messages.
	(tramp-do-copy-or-rename-file-out-of-band): Do not quote `source'
	and `target' twice.

1320 1321
2014-04-21  Stefan Monnier  <monnier@iro.umontreal.ca>

1322 1323 1324
	* dframe.el (dframe-get-focus): Remove `hook' argument (bug#17311).
	* speedbar.el (speedbar-get-focus): Run the "hook" afterwards instead.

1325 1326
	* emacs-lisp/cl-macs.el (cl--loop-let): Avoid `nil' as var name.

1327 1328
2014-04-21  Michael Albinus  <michael.albinus@gmx.de>

1329 1330
	* net/tramp-sh.el (tramp-sh-handle-file-name-all-completions):
	Set "IFS=" when using read builtin, in order to preserve spaces in
1331 1332 1333
	the file name.  Add test messages for hunting a bug on hydra.
	(tramp-get-ls-command): Undo using "-b" argument.  It doesn't help.

1334 1335 1336 1337 1338
2014-04-21  Stefan Monnier  <monnier@iro.umontreal.ca>

	* progmodes/prog-mode.el (prettify-symbols--compose-symbol):
	Don't prettify a word within a symbol.

1339 1340 1341 1342 1343
2014-04-20  Michael Albinus  <michael.albinus@gmx.de>

	* net/tramp-sh.el (tramp-get-ls-command): Use "-b" argument if
	possible.

1344 1345 1346 1347 1348
2014-04-19  Stefan Monnier  <monnier@iro.umontreal.ca>

	* progmodes/sh-script.el (sh-smie--sh-keyword-p): Handle variable
	assignments such as "case=hello" (bug#17297).

1349 1350 1351 1352 1353 1354 1355 1356 1357 1358 1359 1360 1361 1362 1363 1364 1365
2014-04-18  Michael Albinus  <michael.albinus@gmx.de>

	* net/tramp.el (tramp-run-real-handler, tramp-file-name-handler):
	Do not autoload.
	(tramp-file-name-handler, tramp-completion-file-name-handler):
	Revert patch from 2014-04-10, it isn't necessary anymore.
	(tramp-autoload-file-name-handler)
	(tramp-register-autoload-file-name-handlers): New defuns.
	(top): Autoload call of `tramp-register-autoload-file-name-handlers'.
	(tramp-register-file-name-handlers): Remove also
	`tramp-autoload-file-name-handler' from `file-name-handler-list'.
	Do not autoload its invocation, but eval it after loading of 'tramp.

	* net/tramp-adb.el (tramp-unload-hook): Unload `tramp-adb'.

	* net/tramp-compat.el (tramp-unload-hook): Unload `tramp-loaddefs'.

1366 1367
2014-04-16  Stefan Monnier  <monnier@iro.umontreal.ca>

1368 1369 1370 1371 1372
	* nxml/nxml-mode.el (nxml-fontify-matcher): Make sure propertization
	was done (bug#17264).
	* nxml/xmltok.el (xmltok-scan-after-comment-open): Extend unclosed
	comment to EOB.

1373 1374 1375
	* progmodes/perl-mode.el (perl-calculate-indent): Don't auto-indent in
	here-documents (bug#17262).

Eli Zaretskii's avatar
Eli Zaretskii committed
1376 1377
2014-04-16  Eli Zaretskii  <eliz@gnu.org>

1378 1379
	* term/pc-win.el (x-list-fonts, x-get-selection-value):
	Provide doc strings, as required by snarf-documentation.
Eli Zaretskii's avatar
Eli Zaretskii committed
1380

1381 1382 1383 1384 1385 1386 1387 1388 1389 1390
2014-04-15  Stefan Monnier  <monnier@iro.umontreal.ca>

	* ps-def.el (ps-generate-postscript-with-faces1): Use the new `sorted'
	arg of overlays-at.  Use `invisible-p'.

	* obsolete/lucid.el (extent-at):
	* htmlfontify.el (hfy-overlay-props-at): Use the new `sorted' arg of
	overlays-at.
	(hfy-fontify-buffer): Remove unused var `orig-ovls'.

1391 1392 1393 1394 1395
2014-04-14  João Távora  <joaotavora@gmail.com>

	* net/shr.el (shr-expand-url): Use `expand-file-name' for relative
	links.  (Bug#17217).

1396 1397 1398 1399 1400
2014-04-14  YAMAMOTO Mitsuharu  <mituharu@math.s.chiba-u.ac.jp>

	* vc/ediff-diff.el (ediff-set-fine-diff-properties-in-one-buffer):
	Use mapc to loop over a vector.  (Bug#17257).

1401 1402 1403 1404 1405 1406
2014-04-13  Michael Albinus  <michael.albinus@gmx.de>

	* net/tramp-sh.el (tramp-sh-handle-file-truename): Revert previous
	patch, there are new problems with file names containing spaces.
	Get rid of backticks.  (Bug#17238)

João Távora's avatar
João Távora committed
1407 1408 1409 1410 1411
2014-04-13  João Távora  <joaotavora@gmail.com>

	* elec-pair.el (electric-pair--syntax-ppss): Simplify and fix
	possible bug.

1412 1413 1414 1415 1416 1417
2014-04-13  Eli Zaretskii  <eliz@gnu.org>

	* frame.el (blink-cursor-blinks, blink-cursor-blinks-done): Doc fixes.
	(blink-cursor-mode): Mention customization variables and the
	effect of 'blink-cursor-blinks'.

1418 1419 1420 1421 1422 1423
2014-04-12  Barry O'Reilly  <gundaetiapo@gmail.com>

	* simple.el (undo): Prevent insertion of identity mapping into
	undo-equiv-table so as undo-only does not inf loop in the presence
	of consecutive nils in undo list.

1424 1425 1426 1427 1428 1429 1430
2014-04-12  Matthias Dahl  <matthias.dahl@binary-island.eu>

	* faces.el (make-face): Deprecate optional argument as it is no
	longer needed/used since the conditional X resources handling
	has been pushed down to make-face-x-resource-internal itself.
	(make-empty-face): Don't pass optional argument to make-face.

1431 1432 1433 1434
2014-04-12  Eli Zaretskii  <eliz@gnu.org>

	* international/characters.el <standard-case-table>: Add entries
	for letters from the Coptic block u+2C80-u+2CFF.  (Bug#17243)
1435
	Set category of Coptic characters be 'g' (Greek).
1436

Leo Liu's avatar
Leo Liu committed
1437 1438 1439 1440 1441 1442 1443 1444 1445
2014-04-12  Leo Liu  <sdl.web@gmail.com>

	* progmodes/octave.el (completion-table-with-cache): Define if not
	available.
	(octave-goto-function-definition)
	(octave-sync-function-file-names)
	(octave-find-definition-default-filename): Backquote upattern for
	compatibility.

1446 1447 1448 1449 1450
2014-04-11  Michael Albinus  <michael.albinus@gmx.de>

	* net/tramp-sh.el (tramp-sh-handle-file-truename): Quote the file
	name twice due to backticks.  (Bug#17238)

Glenn Morris's avatar
Glenn Morris committed
1451 1452 1453 1454 1455
2014-04-11  Glenn Morris  <rgm@gnu.org>

	* term/w32-win.el (x-win-suspend-error):
	* term/x-win.el (x-win-suspend-error): Sync docs.

1456 1457 1458 1459 1460 1461 1462 1463 1464 1465
2014-04-10  Stefan Monnier  <monnier@iro.umontreal.ca>

	Ediff's overlay priorities cause more trouble than they solve.
	* vc/ediff-init.el (ediff-shadow-overlay-priority): Remove variable.
	(ediff-highest-priority): Remove function (bug#17234).
	* vc/ediff-util.el (ediff-highlight-diff-in-one-buffer):
	* vc/ediff-diff.el (ediff-set-diff-overlays-in-one-buffer)
	(ediff-set-fine-diff-properties-in-one-buffer): Don't mess with
	overlay priorities.

1466 1467 1468 1469 1470
2014-04-10  Feng Li  <fengli@gmail.com>  (tiny change)

	* progmodes/pascal.el (pascal-font-lock-keywords): Fix incorrect format
	entry; use symbol boundaries to avoid mis-matches.

1471 1472 1473 1474 1475 1476 1477 1478
2014-04-10  Michael Albinus  <michael.albinus@gmx.de>

	* net/tramp.el (tramp-file-name-handler)
	(tramp-completion-file-name-handler): Avoid recursive loading.

	* net/tramp-sh.el (tramp-make-copy-program-file-name):
	Quote result also locally.

Dmitry Gutov's avatar
Dmitry Gutov committed
1479 1480 1481 1482 1483
2014-04-09  Dmitry Gutov  <dgutov@yandex.ru>

	* progmodes/ruby-mode.el (ruby-font-lock-keywords): Highlight more
	Module methods.  (Bug#17216)

1484 1485 1486 1487 1488
2014-04-08  Stefan Monnier  <monnier@iro.umontreal.ca>

	* help.el (describe-bindings): Fix buffer handling (bug#17210).
	(describe-bindings-internal): Mark obsolete.

1489 1490 1491 1492 1493 1494 1495 1496 1497 1498 1499 1500
2014-04-07  João Távora  <joaotavora@gmail.com>

	* elec-pair.el:
	(electric-pair--syntax-ppss): When inside comments parse from
	comment beginning.
	(electric-pair--balance-info): Fix typo in comment.
	(electric-pair--in-unterminated-string-p): Delete.
	(electric-pair--unbalanced-strings-p): New function.
	(electric-pair-string-bound-function): New var.
	(electric-pair-inhibit-if-helps-balance): Decide quote pairing
	according to `electric-pair--in-unterminated-string-p'

1501 1502
2014-04-07  João Távora  <joaotavora@gmail.com>

1503 1504 1505
	* elec-pair.el (electric-pair-inhibit-if-helps-balance):
	Inhibit quote pairing if point-max is inside an unterminated string.
	(electric-pair--looking-at-unterminated-string-p): Delete.
1506 1507
	(electric-pair--in-unterminated-string-p): New function.

1508 1509 1510 1511 1512
2014-04-07  Glenn Morris  <rgm@gnu.org>

	* shell.el (shell-directory-tracker):
	Go back to just ignoring failures.  (Bug#17159)

1513 1514 1515 1516 1517 1518 1519 1520 1521 1522
2014-04-06  João Távora  <joaotavora@gmail.com>

	Fix `electric-pair-delete-adjacent-pairs' in modes binding
	backspace. (bug#16981)
	* elec-pair.el (electric-pair-backward-delete-char): Delete.
	(electric-pair-backward-delete-char-untabify): Delete.
	(electric-pair-mode-map): Bind backspace to a menu item filtering
	a new `electric-pair-delete-pair' command.
	(electric-pair-delete-pair): New command.

1523 1524
2014-04-06  João Távora  <joaotavora@gmail.com>

1525 1526
	* progmodes/python.el (python-electric-pair-string-delimiter):
	Fix triple-quoting electricity.  (Bug#17192)
1527

1528 1529
2014-04-06  João Távora  <joaotavora@gmail.com>

1530 1531
	* elec-pair.el (electric-pair-post-self-insert-function):
	Don't skip whitespace when `electric-pair-text-pairs' and
1532
	`electric-pair-pairs' were used. syntax to
1533
	electric-pair--skip-whitespace.  (Bug#17183)
1534

1535 1536 1537