ChangeLog 568 KB
Newer Older
1 2 3 4 5 6 7 8 9 10
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.

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

21 22 23 24 25 26 27 28 29 30
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.

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

36 37 38 39 40 41 42
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)

43 44 45 46 47
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.

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

55 56 57 58
2014-06-21  Eli Zaretskii  <eliz@gnu.org>

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

59 60 61 62 63 64 65
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.

66 67 68 69
2014-06-21  Eli Zaretskii  <eliz@gnu.org>

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

70 71
2014-06-20  Stefan Monnier  <monnier@iro.umontreal.ca>

72 73 74 75
	* emacs-lisp/smie.el (smie-config--guess): Fix typo.
	(smie-config-guess): Use smie-config-local so the rules are obeyed
	(bug#17818).

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

79 80 81 82 83 84
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).

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

90 91 92 93 94 95 96 97 98
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)

99 100 101 102 103 104
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).

105 106 107 108 109
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)

110 111 112 113 114
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).

115 116 117 118 119 120
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.

121 122 123 124 125
2014-06-18  Eli Zaretskii  <eliz@gnu.org>

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

126 127 128 129 130
2014-06-18  Juri Linkov  <juri@jurta.org>

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

131 132 133 134 135
2014-06-17  Stefan Monnier  <monnier@iro.umontreal.ca>

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

136
2014-06-16  Dmitry Gutov  <dgutov@yandex.ru>
Dmitry Gutov's avatar
Dmitry Gutov committed
137 138 139 140

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

141 142 143 144 145
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'.

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

153 154 155 156
2014-06-14  Eli Zaretskii  <eliz@gnu.org>

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

157 158 159 160 161
2014-06-14  Juri Linkov  <juri@jurta.org>

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

162 163
2014-06-13  Stefan Monnier  <monnier@iro.umontreal.ca>

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

167 168 169
	* term/xterm.el (xterm--version-handler): Work around for OSX
	Terminal.app (bug#17607).

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

172 173 174
	* 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
175 176 177
	* bookmark.el (bookmark-load):
	* uniquify.el (uniquify-buffer-name-style): Doc fixes.

178 179 180 181 182 183 184 185 186
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

187 188 189 190 191
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).

192 193 194 195 196
2014-06-06  Stefan Monnier  <monnier@iro.umontreal.ca>

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

197 198 199 200
2014-06-06  Glenn Morris  <rgm@gnu.org>

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

201 202 203 204 205
2014-06-05  Glenn Morris  <rgm@gnu.org>

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

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

211 212 213 214 215
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
216 217 218 219 220
2014-06-03  Michael Albinus  <michael.albinus@gmx.de>

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

221 222 223 224
2014-06-03  Glenn Morris  <rgm@gnu.org>

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

225 226 227 228
2014-06-02  Eli Zaretskii  <eliz@gnu.org>

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

229 230 231 232 233
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)

234 235
2014-06-01  Stefan Monnier  <monnier@iro.umontreal.ca>

236 237 238
	* minibuffer.el (minibuffer-force-complete-and-exit):
	Obey minibuffer-default (bug#17545).

239 240 241
	* progmodes/js.el (js-indent-line): Don't mix columns and chars
	(bug#17619).

242 243 244 245 246 247
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).

248 249 250 251 252 253
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)

254 255
2014-05-31  Stefan Monnier  <monnier@iro.umontreal.ca>

256 257 258
	* mouse.el (mouse-posn-property): Ignore posn-point for mode-line
	clicks (bug#17633).

259 260 261 262
	* 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).

263 264 265 266 267
2014-05-30  Glenn Morris  <rgm@gnu.org>

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

268 269 270 271
2014-05-29  Stefan Monnier  <monnier@iro.umontreal.ca>

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

272 273 274 275
2014-05-28  Glenn Morris  <rgm@gnu.org>

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

276 277
2014-05-27  Stefan Monnier  <monnier@iro.umontreal.ca>

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

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

285 286
2014-05-27  Glenn Morris  <rgm@gnu.org>

287 288 289 290
	* simple.el (filter-buffer-substring-functions)
	(filter-buffer-substring-function, buffer-substring-filters)
	(filter-buffer-substring, buffer-substring--filter): Doc fixes.

291 292 293
	* minibuffer.el (completion-in-region-functions, completion-in-region)
	(completion--in-region): Doc fixes.

294 295 296
	* abbrev.el (abbrev-expand-functions, abbrev-expand-function)
	(expand-abbrev, abbrev--default-expand): Doc fixes.

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

303 304 305 306
2014-05-25  Andreas Schwab  <schwab@linux-m68k.org>

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

307 308 309 310 311
2014-05-25  Martin Rudalics  <rudalics@gmx.at>

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

312 313 314 315 316
2014-05-23  Glenn Morris  <rgm@gnu.org>

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

317 318 319 320 321 322 323 324 325 326 327 328 329
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)
330 331
	(todo-reset-done-string, todo-reset-comment-string):
	After processing all Todo files, kill the buffers of those files that
332 333 334 335 336 337 338
	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.

339 340 341 342 343 344 345
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.

346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377
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.

378 379 380 381
2014-05-22  Glenn Morris  <rgm@gnu.org>

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

382 383 384 385
2014-05-21  Glenn Morris  <rgm@gnu.org>

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

386 387 388 389 390 391
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)

392 393
2014-05-21  Dmitry Gutov  <dgutov@yandex.ru>

394 395
	* emacs-lisp/package.el (package--download-one-archive):
	Use `write-region' instead of `save-buffer' to avoid running various
396 397 398 399
	hooks.  (Bug#17155)
	(describe-package-1): Same.  Insert newline at the end of the
	buffer if appropriate.

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

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

410 411
2014-05-20  Stefan Monnier  <monnier@iro.umontreal.ca>

412 413 414 415 416 417 418 419
	* 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.

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

422 423 424 425 426
2014-05-18  Stefan Monnier  <monnier@iro.umontreal.ca>

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

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

432 433 434 435
2014-05-17  Eli Zaretskii  <eliz@gnu.org>

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

436 437 438 439
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
440
	(dbus-method-return-internal, dbus-method-error-internal):
441 442
	Check, whether Emacs has been compiled with D-Bus support.  (Bug#17508)

443 444 445 446 447
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)

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

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

460 461 462 463 464 465
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)

466 467 468 469 470
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.

471 472 473 474
2014-05-11  Santiago Payà i Miralta  <santiagopim@gmail.com>  (tiny change)

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

475 476 477 478
2014-05-11  Glenn Morris  <rgm@gnu.org>

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

479 480
2014-05-10  Glenn Morris  <rgm@gnu.org>

481 482 483
	* printing.el (pr-version):
	* ps-print.el (ps-print-version): Also mention bug-gnu-emacs.

484 485 486
	* net/browse-url.el (browse-url-mosaic):
	Create /tmp/Mosaic.PID as a private file.

487 488 489 490 491 492 493 494 495 496
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.

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

502 503 504 505
2014-05-09  Stefan Monnier  <monnier@iro.umontreal.ca>

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

506 507 508 509 510
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.

511 512
2014-05-09  Glenn Morris  <rgm@gnu.org>

513 514 515
	* files.el (cd-absolute): Test if directory is accessible
	rather than executable.  (Bug#17330)

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

519 520 521 522 523 524 525 526 527
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'.

528 529 530 531 532 533
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.

534 535 536 537 538 539 540 541
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.

542 543 544 545 546 547
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.

548 549 550 551 552
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.

553 554 555 556 557 558
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
559 560
2014-05-06  Michael Albinus  <michael.albinus@gmx.de>

561 562 563 564
	* 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'.
565
	Add "HISTFILE=/dev/null" to the shell's env arguments.  Do not send
Michael Albinus's avatar
Michael Albinus committed
566 567 568 569
	extra "PSx=..." commands.
	(tramp-maybe-open-connection): Setenv HISTFILE to /dev/null.
	(Bug#17295)

Michael Albinus's avatar
Michael Albinus committed
570 571 572 573 574
	(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)
575
	This is CVE-2014-3424.
Michael Albinus's avatar
Michael Albinus committed
576

Glenn Morris's avatar
Glenn Morris committed
577 578 579 580 581 582
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)
583
	This is CVE-2014-3422.
Glenn Morris's avatar
Glenn Morris committed
584

585 586
2014-05-05  Stefan Monnier  <monnier@iro.umontreal.ca>

587 588 589
	* minibuffer.el (completion--try-word-completion): Revert fix for
	Bug#15980 (bug#17375).

590 591 592 593 594
	* 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.

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

602 603 604 605 606
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)

607 608
2014-05-05  Stefan Monnier  <monnier@iro.umontreal.ca>

609 610
	* electric.el (electric-indent-functions-without-reindent): Add yaml.

611 612 613
	* 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
614 615 616 617
2014-05-03  Eli Zaretskii  <eliz@gnu.org>

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

618 619 620 621 622 623 624 625 626 627
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
628 629 630 631 632
2014-05-02  Stephen Berman  <stephen.berman@gmx.net>

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

633 634 635 636 637 638 639 640 641 642 643 644 645 646 647 648 649 650 651 652 653 654 655 656 657 658 659 660 661 662 663 664 665 666 667 668 669 670 671 672 673 674 675 676 677 678 679 680 681 682
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.
683 684
	(todo-key-bindings-t): Bind "e" to todo-edit-item.
	Remove bindings of deleted commands.
685

686 687 688 689
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
690 691 692 693 694 695 696 697 698 699 700 701 702 703
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').

704 705 706 707
2014-05-01  Stefan Monnier  <monnier@iro.umontreal.ca>

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

708 709 710 711 712
2014-04-30  Eli Zaretskii  <eliz@gnu.org>

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

713 714 715 716
2014-04-29  Glenn Morris  <rgm@gnu.org>

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

717 718 719
2014-04-27  Matthias Dahl  <matthias.dahl@binary-island.eu>

	* faces.el (face-spec-recalc): Apply X resources only after the
720
	defface spec has been applied. Thus, X resources are no longer
721 722 723 724
	overriden by the defface spec which also fixes issues on win32 where
	the toolbar coloring was wrong because it is set through X resources
	and was (wrongfully) overriden.  (Bug#16694)

725 726 727 728 729
2014-04-28  Stefan Monnier  <monnier@iro.umontreal.ca>

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

730 731 732 733 734
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)

735 736 737 738 739
2014-04-25  Nicolas Richard  <theonewiththeevillook@yahoo.fr>

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

740 741
2014-04-24  Eli Zaretskii  <eliz@gnu.org>

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

745 746 747 748 749
2014-04-24  Leo Liu  <sdl.web@gmail.com>

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

750 751 752 753 754
2014-04-24  Daniel Colascione  <dancol@dancol.org>

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

755 756
2014-04-23  Stefan Monnier  <monnier@iro.umontreal.ca>

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

759 760 761 762 763 764 765 766 767
	* 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.

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

771 772 773 774 775
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).

776 777 778 779 780 781
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)

782 783 784 785 786 787 788
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.

789 790
2014-04-21  Stefan Monnier  <monnier@iro.umontreal.ca>

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

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

796 797
2014-04-21  Michael Albinus  <michael.albinus@gmx.de>

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

803 804 805 806 807
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.

808 809 810 811 812
2014-04-20  Michael Albinus  <michael.albinus@gmx.de>

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

813 814 815 816 817
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).

818 819 820 821 822 823 824 825 826 827 828 829 830 831 832 833 834
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'.

835 836
2014-04-16  Stefan Monnier  <monnier@iro.umontreal.ca>

837 838 839 840 841
	* 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.

842 843 844
	* progmodes/perl-mode.el (perl-calculate-indent): Don't auto-indent in
	here-documents (bug#17262).

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

847 848
	* 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
849

850 851 852 853 854 855 856 857 858 859
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'.

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

865 866 867 868 869
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).

870 871 872 873 874 875
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
876 877 878 879 880
2014-04-13  João Távora  <joaotavora@gmail.com>

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

881 882 883 884 885 886
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'.

887 888 889 890 891 892
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.

893 894 895 896 897 898 899
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.

900 901 902 903
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)
904
	Set category of Coptic characters be 'g' (Greek).
905

Leo Liu's avatar
Leo Liu committed
906 907 908 909 910 911 912 913 914
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.

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

925 926 927 928 929 930 931 932 933 934
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.

935 936 937 938 939
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.

940 941 942 943 944 945 946 947
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
948 949 950 951 952
2014-04-09  Dmitry Gutov  <dgutov@yandex.ru>

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

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

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

958 959 960 961 962 963 964 965 966 967 968 969
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'

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

972 973 974
	* 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.
975 976
	(electric-pair--in-unterminated-string-p): New function.

977 978 979 980 981
2014-04-07  Glenn Morris  <rgm@gnu.org>

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

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

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

994 995
	* progmodes/python.el (python-electric-pair-string-delimiter):
	Fix triple-quoting electricity.  (Bug#17192)
996

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

999 1000
	* elec-pair.el (electric-pair-post-self-insert-function):
	Don't skip whitespace when `electric-pair-text-pairs' and
1001
	`electric-pair-pairs' were used. syntax to
1002
	electric-pair--skip-whitespace.  (Bug#17183)
1003

1004 1005 1006 1007 1008
2014-04-06  Eli Zaretskii  <eliz@gnu.org>

	* leim/quail/ipa.el (ipa-x-sampa): Fix the character produced for
	"<F>".  (Bug#17199)

1009 1010 1011 1012 1013
2014-04-06  Stefan Monnier  <monnier@iro.umontreal.ca>

	* mpc.el (mpc--status-timer-run): Disable timer if not displayed.
	(mpc--status-idle-timer-run): Use mpc--status-timer-run.

1014 1015 1016 1017
2014-04-05  Glenn Morris  <rgm@gnu.org>

	* help.el (view-lossage): Doc tweak.

1018
2014-04-05  Matthias Dahl  <matthias.dahl@binary-island.eu>
1019 1020 1021 1022

	* faces.el (face-spec-recalc): Call make-face-x-resource-internal
	only when inhibit-x-resources is nil, and do that earlier in the
	function.  Doc fix.  (Bug#16694)
1023 1024 1025 1026
	(face-spec-choose): Accept additional optional argument, whose
	value is returned if no matching attributes are found.
	(face-spec-recalc): Use the new optional argument when calling
	face-spec-choose.  (Bug#16378)
1027 1028
	(make-face-x-resource-internal): Do nothing when
	inhibit-x-resources is non-nil.  Don't touch the default face if
1029
	reversed video is given--as was done in previous versions of Emacs.
1030 1031
	(face-set-after-frame-default): Don't call
	make-face-x-resource-internal here.  (Bug#16434)
1032

Tassilo Horn's avatar
Tassilo Horn committed
1033 1034
2014-04-04  Tassilo Horn  <tsdh@gnu.org>

1035 1036
	* doc-view.el (doc-view-bookmark-jump):
	Use `bookmark-after-jump-hook' to jump to the right page after the
Tassilo Horn's avatar
Tassilo Horn committed
1037 1038
	buffer is shown in a window.  (bug#16090)

Eli Zaretskii's avatar
Eli Zaretskii committed
1039 1040 1041 1042 1043 1044 1045
2014-04-04  Eli Zaretskii  <eliz@gnu.org>

	* international/characters.el (mirroring): Fix last change:
	instead of loading uni-mirrored.el explicitly, do that implicitly
	by creating the 'mirroring' uniprop table.  This avoids announcing
	the loading of uni-mirrored.el.

1046 1047 1048 1049 1050 1051
2014-04-04  Glenn Morris  <rgm@gnu.org>

	* files.el (buffer-stale--default-function)
	(buffer-stale-function, revert-buffer--default):
	* autorevert.el (auto-revert-buffers): Doc tweaks.

1052 1053 1054 1055
2014-04-03  Eli Zaretskii  <eliz@gnu.org>

	* international/characters.el: Preload uni-mirrored.el.  (Bug#17169)

1056 1057 1058 1059 1060 1061 1062 1063 1064 1065 1066 1067 1068 1069
2014-04-03  Glenn Morris  <rgm@gnu.org>

	* files.el (make-backup-file-name-function)
	(make-backup-file-name, make-backup-file-name--default-function)
	(make-backup-file-name-1, find-backup-file-name)
	(revert-buffer-function, revert-buffer-insert-file-contents-function)
	(buffer-stale--default-function, buffer-stale-function)
	(before-revert-hook, after-revert-hook, revert-buffer-in-progress-p)
	(revert-buffer, revert-buffer--default)
	(revert-buffer-insert-file-contents--default-function):
	Doc fixes related to defaults no longer being nil.
	(make-backup-file-name-function): Bump :version.
	Restore nil as a valid but deprecated custom type.

1070 1071 1072 1073 1074
2014-04-03  Stefan Monnier  <monnier@iro.umontreal.ca>

	* progmodes/perl-mode.el (perl-syntax-propertize-function): Handle $'
	used as a variable (bug#17174).

1075 1076 1077 1078
2014-04-02  Stefan Monnier  <monnier@iro.umontreal.ca>

	* progmodes/perl-mode.el (perl-indent-new-calculate):
	Handle forward-sexp failure (bug#16985).
1079 1080
	(perl-syntax-propertize-function): Add "foreach" and "for" statement
	modifiers introducing expressions (bug#17116).
1081

1082 1083
2014-04-02  Glenn Morris  <rgm@gnu.org>

1084 1085 1086 1087
	* menu-bar.el (menu-bar-file-menu):
	* vc/ediff.el (ediff-current-file):
	Update for revert-buffer-function no longer being nil by default.

1088 1089
	* simple.el (command-execute): Respect nil disabled-command-function.

1090 1091 1092 1093 1094
2014-04-01  Nicolas Richard  <theonewiththeevillook@yahoo.fr>

	* simple.el (command-execute): Do not execute the command when it
	is disabled; fixes thinko in 2013-02-20 conversion from C.  (Bug#17151)

1095 1096 1097 1098 1099
2014-03-29  Juri Linkov  <juri@jurta.org>

	* dired-aux.el (dired-compress-file): Don't use string-match-p
	because its match data is used afterwards.

1100 1101 1102 1103 1104
2014-03-28  Stefan Monnier  <monnier@iro.umontreal.ca>

	* emacs-lisp/package.el (package-built-in-p): Treat a min-version of
	0 like nil.

Dmitry Gutov's avatar
Dmitry Gutov committed
1105 1106
2014-03-27  Dmitry Gutov  <dgutov@yandex.ru>

1107 1108
	* progmodes/ruby-mode.el (ruby-font-lock-keywords):
	Highlight special globals with font-lock-builtin-face.  (Bug#17057)
1109

Dmitry Gutov's avatar
Dmitry Gutov committed
1110 1111 1112 1113
	* progmodes/ruby-mode.el (ruby-syntax-propertize-function):
	Don't propertize `?' or `!' as symbol constituent when after
	colon.  (Bug#17097)

1114 1115
2014-03-27  Juanma Barranquero  <lekktu@gmail.com>

1116 1117 1118
	* frameset.el (frameset--restore-frame): Remove workaround for bug#14795
	which is no longer needed and causes trouble in GTK builds (bug#17046).

1119 1120 1121
	* emacs-lisp/package-x.el (package--archive-contents-from-url):
	Use url-insert-file-contents; package-handle-response no longer exists.

1122 1123 1124 1125 1126 1127 1128 1129 1130 1131 1132
2014-03-26  Juanma Barranquero  <lekktu@gmail.com>

	* emacs-lisp/package.el: Fix bug#16733 (again).
	(url-http-parse-response, url-http-end-of-headers, url-recreate-url)
	(url-http-target-url): Remove unused declarations.
	(package-handle-response): Remove.
	(package--with-work-buffer): Use url-insert-file-contents and simplify.
	(package--download-one-archive): Use current-buffer instead of
	dynamic binding of `buffer'.
	(describe-package-1): Do not decode readme-string.

1133 1134 1135 1136
2014-03-25  Barry O'Reilly  <gundaetiapo@gmail.com>

	* simple.el (primitive-undo): Correction to 2014-03-24 change.

1137 1138 1139 1140 1141 1142 1143 1144 1145
2014-03-25  Michael Albinus  <michael.albinus@gmx.de>

	* net/tramp.el (tramp-methods, tramp-connection-timeout): Fix docstring.

	* net/tramp-sh.el (tramp-sh-handle-vc-registered): Revert change
	from 2014-03-07, it decreases performance unnecessarily.  Let-bind
	`remote-file-name-inhibit-cache' to nil in the second pass.
	(tramp-find-executable): Do not call "which" on SunOS.
	(tramp-send-command-and-check): Fix docstring.
1146 1147
	(tramp-do-copy-or-rename-file-directly): In the `rename' case,
	check whether source directory has set the sticky bit.
1148

1149 1150 1151 1152 1153 1154 1155 1156 1157 1158 1159 1160
2014-03-24  Barry O'Reilly  <gundaetiapo@gmail.com>

	* simple.el (primitive-undo): Only process marker adjustments
	validated against their corresponding (TEXT . POS).  Issue warning
	for lone marker adjustments in undo history.  (Bug#16818)
	(undo-make-selective-list): Add marker adjustments to selective
	undo list based on whether their corresponding (TEXT . POS) is in
	the region.  Remove variable adjusted-markers, which was unused
	and only non nil during undo-make-selective-list.
	(undo-elt-in-region): Return nil when passed a marker adjustment
	and explain in function doc.

Dmitry Gutov's avatar
Dmitry Gutov committed
1161 1162 1163 1164 1165 1166 1167 1168
2014-03-24  Dmitry Gutov  <dgutov@yandex.ru>

	* emacs-lisp/package.el (package--add-to-archive-contents):
	Include already installed and built-in packages in
	`package-archive-contents'.
	(package-install): Don't include already installed packages in the
	options during interactive invocation.  (Bug#16762)

1169 1170 1171 1172 1173
2014-03-24  Daniel Colascione  <dancol@dancol.org>

	* emacs-lisp/cl-macs.el (cl--do-arglist): Use `plist-member'
	instead of cl-loop search function.

1174 1175 1176 1177
2014-03-24  Juanma Barranquero  <lekktu@gmail.com>

	* frameset.el (frameset--initial-params): Fix typo in parameter name.

1178 1179 1180 1181
2014-03-24  Nicolas Richard  <theonewiththeevillook@yahoo.fr>

	* align.el (align-region): Do not fail when end-mark is nil (bug#17088).

1182 1183 1184 1185 1186 1187 1188 1189
2014-03-24  Dmitry Gutov  <dgutov@yandex.ru>

	* progmodes/ruby-mode.el (ruby-expression-expansion-re):
	Match special global variables without curlies, too.
	(ruby-font-lock-keywords): Simplify the matcher for special global
	variables.  Don't require a non-word character after the variable.
	(Bug#17057)

1190 1191 1192 1193 1194
2014-03-23  Stefan Monnier  <monnier@iro.umontreal.ca>

	* simple.el (redisplay-highlight-region-function): Increase priority of
	overlay to make sure boundaries are visible (bug#15899).

1195 1196
2014-03-23  Juanma Barranquero  <lekktu@gmail.com>

1197 1198
	* frameset.el (frameset-restore): Compare display strings with equal.

1199 1200 1201
	* frame.el (make-frame): Don't quote display name in error message,
	it is already a string.

1202 1203 1204 1205 1206
2014-03-23  Thierry Volpiatto  <thierry.volpiatto@gmail.com>

	* net/tramp.el (tramp-read-passwd): Suspend the timers while reading
	the password.

1207 1208 1209 1210 1211
2014-03-23  Dmitry Gutov  <dgutov@yandex.ru>

	* emacs-lisp/package.el (package-show-package-list): If the buffer
	is already displayed in another window, switch to that window.

1212 1213 1214 1215 1216
2014-03-21  Daniel Colascione  <dancol@dancol.org>

	* mail/emacsbug.el (report-emacs-bug): Include memory usage
	information in bug reports.

1217 1218 1219 1220 1221 1222 1223
2014-03-23  Daniel Colascione  <dancol@dancol.org>

	* emacs-lisp/cl-macs.el (cl--do-arglist): Use a little `cl-loop'
	list to look for keyword arguments instead of `memq', fixing
	(Bug#3647) --- unfortunately, only for freshly-compiled code.
	Please make bootstrap.

1224 1225 1226 1227 1228
2014-03-23  Richard Stallman  <rms@gnu.org>

	* battery.el (battery-linux-sysfs): Search for each field
	from the beginning of the buffer.

Dmitry Gutov's avatar
Dmitry Gutov committed
1229 1230 1231 1232 1233
2014-03-22  Dmitry Gutov  <dgutov@yandex.ru>

	* emacs-lisp/package.el (package-desc): Use the contents of the
	quoted form, not its cdr.  (Bug#16873)

1234 1235 1236 1237 1238
2014-03-22  Juanma Barranquero  <lekktu@gmail.com>

	* w32-common-fns.el (x-selection-owner-p): Add empty docstring for the
	benefit of doc.c; change parameter profile to match the X function.

1239 1240 1241 1242 1243 1244 1245 1246
2014-03-21  Michael Albinus  <michael.albinus@gmx.de>

	* net/tramp.el (tramp-methods): Add docstring for `tramp-login-env'
	and `tramp-copy-env'.

	* net/tramp-sh.el (tramp-methods) <sudo>: Add `tramp-login-env'.
	(tramp-maybe-open-connection): Handle `tramp-login-env'.

1247 1248 1249 1250
2014-03-21  Glenn Morris  <rgm@gnu.org>

	* electric.el (electric-indent-post-self-insert-function): Add doc.

Dmitry Gutov's avatar
Dmitry Gutov committed
1251 1252
2014-03-21  Dmitry Gutov  <dgutov@yandex.ru>

Dmitry Gutov's avatar
Dmitry Gutov committed
1253 1254 1255 1256 1257
	* emacs-lisp/package.el (package-compute-transaction):
	Use `version-list-<=' to compare the requirement version against
	the version of package already to be installed.  Update the error
	message.  (Bug#16826)

Dmitry Gutov's avatar
Dmitry Gutov committed
1258 1259 1260
	* progmodes/ruby-mode.el (ruby-smie-rules):
	Add indentation rule for ` @ '.  (Bug#17050)

Juanma Barranquero's avatar
Juanma Barranquero committed
1261 1262 1263 1264 1265 1266 1267 1268 1269 1270 1271 1272 1273 1274 1275 1276 1277 1278 1279 1280 1281 1282 1283 1284 1285 1286
2014-03-21  Juanma Barranquero  <lekktu@gmail.com>

	* align.el (align-regexp): Remove superfluous backslash.

	* ffap.el (ffap-ftp-default-user, ffap-url-regexp)
	(ffap-pass-wildcards-to-dired, dired-at-point-require-prefix)
	(ffap-rfc-path, ffap-ftp-sans-slash-regexp, ffap-menu-regexp):
	Fix docstring typos.
	(ffap-next): Use C-u in docstring.
	(ffap-machine-p, ffap-list-env, ffap-alist, ffap-alist)
	(ffap-string-at-point-mode-alist, ffap-menu, ffap-menu-ask):
	Remove superfluous backslashes.
	(ffap-string-at-point): Reflow docstring.

	* server.el (server-host): Reflow docstring.
	(server-unload-function): Fix docstring typo.
	(server-eval-at): Remove superfluous backslash.

	* skeleton.el (skeleton-insert): Remove superfluous backslash.
	(skeleton-insert): Doc fix.
	(skeleton-insert): Reflow docstring.

	* term/tty-colors.el (tty-color-alist, tty-modify-color-alist)
	(tty-color-approximate, tty-color-by-index, tty-color-values)
	(tty-color-desc): Remove superfluous backslashes.

1287 1288
2014-03-20  Stefan Monnier  <monnier@iro.umontreal.ca>

1289 1290 1291 1292 1293
	* electric.el (electric-newline-and-maybe-indent): New command.
	Bind it globally to C-j.
	(electric-indent-mode): Don't mess with the global map any more.
	Don't drop the post-self-insert-hook is some buffer is still using it
	(bug#16770).
1294

1295 1296
	* bindings.el (global-map): Remove C-j binding.

1297 1298 1299
	* emacs-lisp/nadvice.el (advice--make-docstring): Try harder to find
	the docstring of functions advised before dumping (bug#16993).

Glenn Morris's avatar
Glenn Morris committed
1300
2014-03-19  Stefan-W. Hahn  <stefan.hahn@s-hahn.de>  (tiny change)
1301 1302 1303 1304 1305

	* ps-print.el (ps-generate-postscript-with-faces):
	Explicitly deactivate the mark (bug#16866).
	* simple.el (deactivate-mark): Update region highlight.

1306 1307 1308 1309 1310
2014-03-19  Juanma Barranquero  <lekktu@gmail.com>

	* emacs-lisp/package.el (describe-package-1):
	Decode commentary (bug#16733).

1311 1312 1313 1314 1315
2014-03-18  Juanma Barranquero  <lekktu@gmail.com>

	* custom.el (defcustom): Doc fix: recommend avoiding destructive
	modification of the value argument of :set (bug#16755).

1316 1317 1318 1319
2014-03-18  Stefan Monnier  <monnier@iro.umontreal.ca>

	* simple.el (newline-and-indent): Do autofill (bug#17031).

1320 1321 1322 1323 1324 1325 1326 1327 1328
2014-03-18  Dmitry Gutov  <dgutov@yandex.ru>

	* newcomment.el (comment-normalize-vars): Only add escaping check
	to `comment-start-skip' if not `comment-use-syntax'.  (Bug#16971)
	(comment-beginning): Use `narrow-to-region' instead of moving back
	one character.
	(http://lists.gnu.org/archive/html/emacs-devel/2014-03/msg00488.html)
	(comment-start-skip): Update the docstring.

1329 1330 1331 1332
2014-03-18  Richard Stallman  <rms@gnu.org>

	* dired.el (dired-display-file): Force use of other window.

1333 1334 1335 1336 1337
2014-03-18  Daniel Colascione  <dancol@dancol.org>

	* startup.el (tty-handle-args): Remove debug message from 2007.

2014-03-17  Stefan Monnier  <monnier@iro.umontreal.ca>
1338 1339 1340 1341 1342 1343

	* emacs-lisp/nadvice.el (advice--interactive-form): New function.
	(advice--make-interactive-form): Use it to avoid (auto)loading function.
	(advice--make-1, advice-add, advice-remove):
	Remove braindead :advice-pending hack.

1344 1345 1346 1347 1348
2014-03-17  Glenn Morris  <rgm@gnu.org>

	* calendar/calendar.el (calendar-generate-month): Apply weekend
	face to the right days; fixes 2013-08-06 change.  (Bug#17028)

1349 1350 1351 1352 1353 1354 1355 1356
2014-03-17  Michael Albinus  <michael.albinus@gmx.de>

	* net/tramp.el (tramp-action-out-of-band): Read pending output.
	(tramp-call-process): Trace also DESTINATION.

	* net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
	Quote file names when they are local.  Remove superfluous trace.

Dmitry Gutov's avatar
Dmitry Gutov committed
1357 1358
2014-03-17  Dmitry Gutov  <dgutov@yandex.ru>

1359 1360 1361
	* newcomment.el (comment-beginning): If `comment-start-skip'
	doesn't match, move back one char and try again.  (Bug#16971)

1362 1363
	* emacs-lisp/lisp-mode.el (lisp-mode-variables):
	Set `comment-use-syntax' to t to avoid the unnecessary runtime check.
Dmitry Gutov's avatar
Dmitry Gutov committed
1364 1365 1366 1367 1368 1369
	Set `comment-start-skip' to a simpler value that doesn't try to
	check if the semicolon is escaped (this is handled by
	`syntax-ppss' now).  (Bug#16971)

	* progmodes/scheme.el (scheme-mode-variables): Same.

1370 1371 1372 1373 1374 1375 1376 1377 1378 1379 1380 1381 1382 1383 1384 1385 1386
2014-03-16  Martin Rudalics  <rudalics@gmx.at>

	Fix behavior of with-temp-buffer-window (Bug#16816, Bug#17007).
	* window.el (with-temp-buffer-window): Don't make BUFFER-OR-NAME
	current (Bug#16816, Bug#17007).
	(with-current-buffer-window): New macro doing the same as
	`with-temp-buffer-window' but with BUFFER-OR-NAME current.
	* help.el (help-print-return-message): Warn in doc-string to not
	use this in `with-help-window'.
	(describe-bindings-internal): Call `describe-buffer-bindings'
	from within help buffer.  See Juanma's scenario in (Bug#16816).
	(with-help-window): Update doc-string.
	* dired.el (dired-mark-pop-up):
	* files.el (save-buffers-kill-emacs):
	* register.el (register-preview): Use `with-current-buffer-window'
	instead of `with-temp-buffer-window'.

1387 1388 1389 1390 1391 1392 1393 1394 1395 1396 1397 1398 1399 1400 1401 1402 1403 1404 1405
2014-03-16  Juanma Barranquero  <lekktu@gmail.com>

	* textmodes/rst.el (rst-arabic-to-roman, rst-roman-to-arabic):
	Implement inserting into current buffer, documented in their docstrings.
	(rst-define-key, rst-compare-adornments, rst-insert-list-new-item)
	(rst-section-tree-point, rst-forward-section, rst-indent)
	(rst-compute-tabs, rst-font-lock-find-unindented-line-end)
	(rst-font-lock-find-unindented-line-limit, rst-adornment-level)
	(rst-font-lock-handle-adornment-pre-match-form)
	(rst-repeat-last-character): Reflow docstrings.
	(rst-preferred-adornments, rst-update-section, rst-find-title-line)
	(rst-adjust-adornment-work, rst-initial-items, rst-insert-list)
	(rst-toc-insert-style, rst-toc-insert-node, rst-goto-section)
	(rst-compile, rst-imenu-convert-cell, rst-imenu-create-index):
	Fix docstring typos.
	(rst-all-sections, rst-section-hierarchy, rst-adjust): Doc fixes.
	(rst-uncomment-region, rst-font-lock-find-unindented-line-match)
	(rst-font-lock-handle-adornment-matcher): Mark unused arguments.

1406 1407
2014-03-15  Juanma Barranquero  <lekktu@gmail.com>

1408 1409 1410 1411 1412 1413
	* term/ns-win.el (x-command-line-resources): Rename from ns-... version,
	for compatibility with other ports.
	(ns-initialize-window-system): Use it.  It is set in term/common-win.el
	from the -xrm command line argument, but in the Nextstep port its value
	is irrelevant because nsfns.m:Fx_open_connection ignores it for now.

1414 1415 1416 1417 1418 1419 1420 1421 1422 1423 1424 1425 1426 1427 1428 1429 1430 1431 1432 1433 1434 1435 1436 1437 1438 1439
	* progmodes/python.el (defconst, python-syntax-count-quotes)
	(python-indent-region, python-indent-shift-right)
	(python-indent-dedent-line-backspace, python-nav-backward-sexp)
	(python-nav-backward-sexp-safe, python-nav-backward-up-list)
	(python-shell-prompt-block-regexp, python-shell-prompt-output-regexp)
	(python-shell-prompt-pdb-regexp, python-shell-enable-font-lock)
	(inferior-python-mode, python-shell-make-comint, run-python-internal)
	(python-shell-buffer-substring, python-shell-send-buffer)
	(python-pdbtrack-activate, python-pdbtrack-stacktrace-info-regexp)
	(python-completion-complete-at-point, python-fill-docstring-style)
	(python-eldoc-function, python-imenu-format-item-label)
	(python-imenu-format-parent-item-label)
	(python-imenu-format-parent-item-jump-label)
	(python-imenu--build-tree, python-imenu-create-index)
	(python-imenu-create-flat-index): Fix docstring typos.
	(python-indent-context, python-shell-prompt-regexp, run-python):
	Remove superfluous backslashes.
	(python-indent-line, python-nav-beginning-of-defun)
	(python-shell-get-buffer, python-shell-get-process)
	(python-info-current-defun, python-info-current-line-comment-p)
	(python-info-current-line-empty-p, python-util-popn): Doc fixes.
	(python-indent-post-self-insert-function, python-shell-send-file)
	(python-shell-completion-get-completions)
	(python-shell-completion-complete-or-indent)
	(python-eldoc--get-doc-at-point): Reflow docstrings.

1440 1441
2014-03-14  Glenn Morris  <rgm@gnu.org>

1442 1443 1444
	* emacs-lisp/package.el (package-menu-mode-map):
	Replace use of obsolete function alias.  Tweak menu item text.