ChangeLog 617 KB
Newer Older
1 2 3 4 5
2015-01-16  Samer Masterson  <samer@samertm.com>  (tiny change)

	* pcomplete.el (pcomplete-parse-arguments): Parse arguments
	regardless of pcomplete-cycle-completions's value.  (Bug#18950)

6 7 8 9 10 11 12 13 14 15 16 17
2015-01-13  Michael Albinus  <michael.albinus@gmx.de>

	* filenotify.el (file-notify-descriptors, file-notify-handle-event):
	Adapt docstring.
	(file-notify--descriptor): New defun.
	(file-notify-callback, file-notify-add-watch, file-notify-rm-watch):
	Adapt docstring.  Handle multiple values for
	`file-notify-descriptors' entries.  (Bug#18880)

	* net/tramp.el (tramp-handle-file-notify-rm-watch): Do not check
	`file-notify-descriptors', the implementation has been changed.

18 19 20 21 22 23 24 25
2015-01-13  Juri Linkov  <juri@linkov.net>

        * comint.el (comint-history-isearch-search)
	(comint-history-isearch-wrap): Use field-beginning instead of
	comint-line-beginning-position.
	(comint-send-input): Go to the end of the field instead of the end
	of the line to accept whole multi-line input.
	http://lists.gnu.org/archive/html/emacs-devel/2014-12/msg00305.html
26 27 28 29 30 31
	(comint-history-isearch-message): Use field-beginning
	instead of comint-line-beginning-position - that's more fixes for
	http://lists.gnu.org/archive/html/emacs-devel/2014-12/msg00305.html
	(comint-history-isearch-message): Fix args of isearch-message-prefix.

	[Backport]
32

33 34 35 36 37 38
2015-01-09  Eli Zaretskii  <eliz@gnu.org>

	* net/net-utils.el (net-utils-run-program, net-utils-run-simple):
	On MS-Windows, bind coding-system-for-read to the console output
	codepage.  (Bug#19458)

39 40 41 42 43 44
2015-01-08  Eli Zaretskii  <eliz@gnu.org>

	* simple.el (line-move-visual): When converting X pixel coordinate
	to temporary-goal-column, adjust the value for right-to-left
	screen lines.  This fixes vertical-motion, next/prev-line, etc.

Glenn Morris's avatar
Glenn Morris committed
45 46 47 48 49
2015-01-06  Glenn Morris  <rgm@gnu.org>

	* progmodes/sh-script.el (sh-mode): Doc fix.
	(sh-basic-indent-line): Handle electric newline.  (Bug#18756)

50 51 52
2014-12-14  Steve Purcell  <steve@sanityinc.com>  (tiny change)

	* emacs-lisp/package.el (package-menu-mode): Use an extra column
Glenn Morris's avatar
Glenn Morris committed
53
	for the "Version" column, to accomodate date-and-time-based versions.
54

55 56
2015-01-04  Paul Eggert  <eggert@cs.ucla.edu>

Glenn Morris's avatar
Glenn Morris committed
57
	Fix dired quoting bug with "Hit`N`Hide".  Fixes Bug#19498.
58 59
	* files.el (shell-quote-wildcard-pattern): Also quote "`".

60 61 62 63 64
2015-01-04  Dmitry Gutov  <dgutov@yandex.ru>

	Unbreak `mouse-action' property in text buttons.
	* button.el (push-button): Fix regression from 2012-12-06.

65 66 67 68 69 70
2015-01-01  Eli Zaretskii  <eliz@gnu.org>

	* tool-bar.el (tool-bar-local-item)
	(tool-bar-local-item-from-menu): Call force-mode-line-update to
	make sure the tool-bar changes show on display.

Michael Albinus's avatar
Michael Albinus committed
71 72 73 74 75 76 77 78 79 80 81 82
2014-12-29  Michael Albinus  <michael.albinus@gmx.de>

	Sync with Tramp 2.2.11.

	* net/tramp-compat.el (top): Require cl-macs for Emacs 22.
	Make an alias for `default-toplevel-value' if it doesn't exist.

	* net/tramp-smb.el (tramp-smb-handle-copy-directory):
	Use `tramp-compat-delete-directory'.

	* net/trampver.el: Update release number.

83 84
2014-12-29  Filipp Gunbin  <fgunbin@fastmail.fm>

Michael Albinus's avatar
Michael Albinus committed
85 86
	* autorevert.el (auto-revert-handler): Fix auto-revert-tail-mode
	for remote files.  (Bug#19449)
87

88 89 90 91 92 93 94 95 96 97
2014-12-28  Eli Zaretskii  <eliz@gnu.org>

	* international/mule.el (define-coding-system): Fix typos in the
	doc string.

2014-12-28  Kenichi Handa  <handa@gnu.org>

	* international/mule.el (define-coding-system): Improve the doc
	string.

98 99 100 101 102
2014-12-27  Fabián Ezequiel Gallina  <fgallina@gnu.org>

	* progmodes/python.el (python-shell-buffer-substring): Handle
	cornercase when region sent starts at point-min.

103 104 105 106 107 108 109
2014-12-27  Eli Zaretskii  <eliz@gnu.org>

	* language/misc-lang.el (composition-function-table): Add Syriac
	characters and also ZWJ/ZWNJ.  See
	http://lists.gnu.org/archive/html/help-gnu-emacs/2014-12/msg00248.html
	for the details.

110 111 112 113 114
2014-12-27  Fabián Ezequiel Gallina  <fgallina@gnu.org>

	python.el: Fix message when sending region.

	* progmodes/python.el (python-shell-send-region): Rename argument
Fabián Ezequiel Gallina's avatar
Fabián Ezequiel Gallina committed
115 116
	send-main from nomain.  Fix message.
	(python-shell-send-buffer): Rename argument send-main from arg.
117

118 119 120 121 122 123 124
2014-12-27  Fabián Ezequiel Gallina  <fgallina@gnu.org>

	python.el: Cleanup temp files even with eval errors.

	* progmodes/python.el (python-shell-send-file): Make file-name
	mandatory.  Fix temp file removal in the majority of cases.

125 126 127 128 129 130 131 132 133 134 135 136 137
2014-12-27  Fabián Ezequiel Gallina  <fgallina@gnu.org>

	python.el: Handle file encoding for shell.

	* progmodes/python.el (python-rx-constituents): Add coding-cookie.
	(python-shell--save-temp-file): Write file with proper encoding.
	(python-shell-buffer-substring): Add coding cookie for detected
	encoding to generated content.  Fix blank lines when removing
	if-name-main block.
	(python-shell-send-file): Handle file encoding.
	(python-info-encoding-from-cookie)
	(python-info-encoding): New functions.

138 139 140 141 142
2014-12-24  Michael Albinus  <michael.albinus@gmx.de>

	* net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
	Use `tramp-rsh-end-of-line', it ought to be more robust.

143 144 145 146 147
2014-12-23  Stefan Monnier  <monnier@iro.umontreal.ca>

	* progmodes/js.el (js-syntax-propertize): "return" can't be divided
	(bug#19397).

148 149 150 151 152 153 154
2014-12-23  Michael Albinus  <michael.albinus@gmx.de>

	* net/tramp.el (tramp-read-passwd): Ignore errors from `auth-source-*'.

	* net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band): Use "\n"
	as end-of-line delimeter for passwords, when running on MS Windows.

155 156 157 158 159
2014-12-23  Stefan Monnier  <monnier@iro.umontreal.ca>

	* progmodes/sh-script.el (sh-set-shell): Don't change the global value
	of indent-line-function (bug#19433).

160 161 162 163 164 165 166 167 168 169 170
2014-12-23  Fabián Ezequiel Gallina  <fgallina@gnu.org>

	Fix line numbers on Python shell.
	* progmodes/python.el (python-shell--save-temp-file): Do not
	append coding cookie.
	(python-shell-send-string): Generalize for
	python-shell-send-region.
	(python--use-fake-loc): Delete var.
	(python-shell-buffer-substring): Cleanup fake-loc logic.
	(python-shell-send-region): Remove fake-loc logic, simplify.

171 172 173 174 175 176
2014-12-22  Fabián Ezequiel Gallina  <fgallina@gnu.org>

	* progmodes/python.el (python-indent-post-self-insert-function):
	Make colon to re-indent only for dedenters, handling
	multiline-statements gracefully.

Michael Albinus's avatar
Michael Albinus committed
177 178 179 180 181
2014-12-21  Michael Albinus  <michael.albinus@gmx.de>

	* net/tramp.el (tramp-handle-insert-file-contents):
	Set `find-file-not-found-functions' in case of errors.  (Bug#18623)

182 183 184 185 186 187
2014-12-19  Michael Albinus  <michael.albinus@gmx.de>

	* net/tramp-sh.el (tramp-send-command-and-read): New optional
	arg MARKER.
	(tramp-get-remote-path): Use it.

188 189 190 191
2014-12-18  Stefan Monnier  <monnier@iro.umontreal.ca>

	* subr.el (redisplay-dont-pause): Mark as obsolete.

192 193 194 195 196 197 198 199 200 201 202 203 204 205 206
2014-12-17  Michael Albinus  <michael.albinus@gmx.de>

	* net/tramp.el (tramp-error-with-buffer): Call `message' properly.
	(tramp-accept-process-output): Use nil as argument for
	`accept-process-output', when there is a gateway prepended.

	* net/tramp-gw.el (tramp-gw-open-connection): Suppress traces in
	wrong debug buffer.
	(tramp-gw-open-connection): Set process coding system 'binary.
	(tramp-gw-open-network-stream): Handle HTTP error 403.

	* net/tramp-sh.el (tramp-compute-multi-hops): Suppress traces in
	wrong debug buffer.
	(tramp-maybe-open-connection): Set connection property "gateway".

207 208 209 210
2014-12-15  Stefan Monnier  <monnier@iro.umontreal.ca>

	* subr.el (sit-for): Tweak docstring (bug#19381).

211 212 213 214 215
2014-12-15  Dmitry Gutov  <dgutov@yandex.ru>

	* vc/vc-git.el (vc-git-after-dir-status-stage): Move `up-to-date'
	stage to after `diff-index' (bug#19386).

216 217 218 219 220
2014-12-14  João Távora  <joaotavora@gmail.com>

	* textmodes/tex-mode.el (tex-insert-quote): Consider and respect
	`electric-pair-mode' (bug#19356).

221 222 223 224 225
2014-12-12  Michael Albinus  <michael.albinus@gmx.de>

	* simple.el (password-word-equivalents): Add "passcode", used for
	numeric secrets like PINs or RSA tokens.

226 227 228 229 230
2014-12-10  Michael Albinus  <michael.albinus@gmx.de>

	* net/tramp-sh.el (tramp-get-remote-path): Use a login shell in
	order to determine `tramp-own-remote-path'.

231 232
2014-12-09  Fabián Ezequiel Gallina  <fgallina@gnu.org>

233 234
	* progmodes/python.el (python-shell-parse-command):
	Quote `python-shell-interpreter`.  (Bug#19289)
235

236 237 238 239 240 241
2014-12-04  Stefan Monnier  <monnier@iro.umontreal.ca>

	* progmodes/sh-script.el (sh-smie-sh-rules): Go back to the beginning
	of the whole pipe when indenting an opening keyword after a |.
	Generalize this treatment to opening keywords like "while" (bug#18031).

242 243
2014-12-01  Stefan Monnier  <monnier@iro.umontreal.ca>

244 245 246
	* simple.el (newline): Place the hook buffer-locally,
	to make sure it's first.

247 248 249 250
	* progmodes/prog-mode.el (prettify-symbols--compose-symbol):
	Fix handling of symbols with different syntax at beginning/end or with
	symbol rather than word syntax.

251 252 253 254 255 256 257
2014-11-30  Eli Zaretskii  <eliz@gnu.org>

	* simple.el (line-move): If noninteractive, call line-move-1, not
	forward-line, since the former is compatible with line-move-visual
	both in terms of the column to which it moves and the return
	value.  (Bug#19211)

258 259 260 261 262 263 264
2014-11-27  Stephen Berman  <stephen.berman@gmx.net>
	    Stefan Monnier  <monnier@iro.umontreal.ca>

	* outline.el (outline-move-subtree-down): Make sure we can move
	forward to find the end of the subtree and the insertion point
	(bug#19102).

265 266 267 268 269 270
2014-11-27  Leonard Randall  <leonard.a.randall@gmail.com>

	* textmodes/reftex-parse.el (reftex-using-biblatex-p): Make search
	for comment lines non-greedy and stopping at newlines to fix stack
	overflows with large files. [Backport]

271 272
2014-11-27  Fabián Ezequiel Gallina  <fgallina@gnu.org>

273 274
	* progmodes/python.el (python-shell-completion-setup-code):
	Use __builtin__ module (or builtins in Python 3) and catch all errors
275 276
	when importing readline and rlcompleter.

277 278 279 280 281 282 283
2014-11-26  Stephen Berman  <stephen.berman@gmx.net>

	* calendar/todo-mode.el: Handle calling revert-buffer (bug#19187).
	(todo-revert-buffer): New function.
	(todo-modes-set-1): Use it as the buffer-local value of
	revert-buffer-function.

284 285 286 287 288 289
2014-11-26  Stephen Berman  <stephen.berman@gmx.net>

	* calendar/todo-mode.el (todo-mode): If called interactively, just
	display a message saying to call todo-show to enter Todo mode
	(Bug#19112).

Dmitry Gutov's avatar
Dmitry Gutov committed
290 291
2014-11-24  Dmitry Gutov  <dgutov@yandex.ru>

Dmitry Gutov's avatar
Dmitry Gutov committed
292 293 294
	* vc/vc-hg.el (vc-hg-dir-status-files): Include ignored files.
	(Bug#18579)

Dmitry Gutov's avatar
Dmitry Gutov committed
295 296 297
	* vc/vc-bzr.el (vc-bzr-after-dir-status): Don't skip ignored
	files.  (Bug#18579)

298 299 300 301 302
2014-11-23  Michael Albinus  <michael.albinus@gmx.de>

	* textmodes/makeinfo.el (makeinfo-buffer): Make it work also for
	remote `buffer-file-name'.

Leo Liu's avatar
Leo Liu committed
303 304 305 306
2014-11-23  Leo Liu  <sdl.web@gmail.com>

	* calendar/diary-lib.el (calendar-mark-1): Fix thinko.

307 308 309 310 311 312 313
2014-11-22  Fabián Ezequiel Gallina  <fgallina@gnu.org>

	Set PYTHONUNBUFFERED on shell startup.

	* progmodes/python.el (python-shell-unbuffered): New var.
	(python-shell-calculate-process-environment): Use it.

314 315
2014-11-22  Michael Albinus  <michael.albinus@gmx.de>

Michael Albinus's avatar
Michael Albinus committed
316 317 318
	* net/tramp.el (tramp-action-password): Clean password on subsequent
	attempts even if there was no wrong password indication.  (Bug#19047)

319 320 321 322 323
	* net/tramp-sh.el (tramp-get-remote-locale): Return "LC_ALL=C" as
	fallback.
	(tramp-open-connection-setup-interactive-shell): No need to check
	for nil as `tramp-get-remote-locale' return value.

324 325
2014-11-21  Eli Zaretskii  <eliz@gnu.org>

326 327
	* vc/vc-git.el (vc-git-command, vc-git--call):
	Bind coding-system-for-read and coding-system-for-write to
328
	vc-git-commits-coding-system.
329 330
	(vc-git-previous-revision): Use "~1" instead of "^", since the
	latter is a special character for MS-Windows system shells.
331

332 333
2014-11-20  Michael Albinus  <michael.albinus@gmx.de>

334
	Improve XEmacs compatibility.
335 336 337 338 339 340 341 342

	* net/tramp.el (tramp-autoload-file-name-handler):
	Wrap `temporary-file-directory' by `symbol-value', it doesn't
	exist in XEmacs.
	(tramp-read-passwd): Don't use `with-timeout-suspend' and
	`with-timeout-unsuspend' if they don't exist, like in XEmacs.
	(tramp-time-less-p, tramp-time-subtract): Remove functions.
	(tramp-handle-file-newer-than-file-p, tramp-time-diff):
Michael Albinus's avatar
Michael Albinus committed
343
	* net/tramp-adb.el (tramp-adb-ls-output-time-less-p):
344 345
	* net/tramp-cache.el (tramp-get-file-property):
	* net/tramp-smb.el (tramp-smb-handle-insert-directory):
346 347
	Use `time-less-p' and `time-subtract, respectively.

Michael Albinus's avatar
Michael Albinus committed
348
	* net/tramp-adb.el (top): Do not require time-date.el.
349

Michael Albinus's avatar
Michael Albinus committed
350
	* net/tramp-compat.el (top): Require time-date.el for XEmacs.
351

Michael Albinus's avatar
Michael Albinus committed
352
	* net/tramp-sh.el (tramp-open-connection-setup-interactive-shell):
353 354
	Check, whether `utf-8' is a valid coding system.

355 356 357 358
2014-11-19  Eli Zaretskii  <eliz@gnu.org>

	* vc/vc.el (vc-retrieve-tag): Doc fix.

359 360 361 362 363 364 365
2014-11-17  Eli Zaretskii  <eliz@gnu.org>

	* vc/vc-bzr.el (vc-bzr-print-log, vc-bzr-expanded-log-entry):
	Don't assume --long is the default for "bzr log", always specify
	it explicitly, in case the user defined an alias for 'log' that
	uses some other format.

366 367
2014-11-16  Fabián Ezequiel Gallina  <fgallina@gnu.org>

368 369
	* progmodes/python.el (python-eldoc--get-doc-at-point):
	Strip shell output before returning.  (bug#18794)
370

371 372 373 374 375 376 377 378
2014-11-16  Dmitry Gutov  <dgutov@yandex.ru>

	Fix indentation before `!=' and after `+='.  Originally reported
	in https://github.com/mooz/js2-mode/issues/174.
	* progmodes/js.el (js--indent-operator-re): Make assignments and
	(in)equality operator a separate case.
	(js--continued-expression-p): Escape the second `+' in the regexp.

379 380 381 382
2014-11-16  Stefan Monnier  <monnier@iro.umontreal.ca>

	* window.el (handle-select-window): Deactivate shift-region (bug#19003).

383 384 385 386 387
2014-11-15  Andreas Schwab  <schwab@linux-m68k.org>

	* version.el (emacs-repository-get-version): Use git rev-parse
	instead of git log.

388 389
2014-11-15  Fabián Ezequiel Gallina  <fgallina@gnu.org>

390 391
	* progmodes/python.el (python-indent-calculate-levels):
	Fix indentation behavior multiline dedenter statement.  (Bug#18432)
392

393 394
2014-11-15  Fabián Ezequiel Gallina  <fgallina@gnu.org>

395 396
	* progmodes/python.el (python-indent-region):
	Use python-indent-line and skip special cases.  (Bug#18843)
397

Michael Albinus's avatar
Michael Albinus committed
398
2014-11-15  Michael Albinus  <michael.albinus@gmx.de>
399 400 401

	* vc/vc-hg.el (vc-hg-state): Disable pager.  (Bug#18940)

402
2014-11-15  Peder O. Klingenberg  <peder@klingenberg.no>
403 404 405 406

	* mail/emacsbug.el (report-emacs-bug): Make a better guess at
	  envelope-from when reporting through sendmail (bug#19054).

407 408
2014-11-14  Ivan Andrus  <darthandrus@gmail.com>

409 410
	* progmodes/python.el (python-ffap-module-path):
	Use `derived-mode-p' instead of equality test on `major-mode'.
411

412 413 414 415 416
2014-11-13  Ulrich Müller  <ulm@gentoo.org>

	* version.el (emacs-repository-get-version): Call `git log'
	command with proper format argument (bug#19049).

417 418 419 420
2014-11-10  Glenn Morris  <rgm@gnu.org>

	* startup.el (command-line): Handle nil elements in load-path.

421 422 423 424 425 426
2014-11-08  Glenn Morris  <rgm@gnu.org>

	* emacs-lisp/bytecomp.el (byte-compile-report-error):
	Allow the argument to be a string.  Due to the vague doc,
	it was already being used this way.

427 428 429 430 431
2014-11-07  Michael Albinus  <michael.albinus@gmx.de>

	* net/tramp.el (tramp-check-cached-permissions): Include hop in
	the constructed Tramp file name.  (Bug#18943)

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

	* emulation/cua-base.el (cua--select-keymaps): Use region-active-p
	(bug#18952).
	(cua-set-mark, cua--pre-command-handler-1,cua--post-command-handler-1):
	* emulation/cua-gmrk.el (cua-cancel-global-mark): Same.

439 440 441 442 443 444
2014-11-07  Michael Albinus  <michael.albinus@gmx.de>

	* files.el (file-name-non-special): Wrap the call of
	`insert-file-contents' by `unwind-protect', in order to set the
	buffer's file name anyway.  (Bug#18891)

445 446 447 448 449
2014-11-07  Daiki Ueno  <ueno@gnu.org>

	* epg.el (epg--list-keys-1): Ignore fields after the 15th field
	(bug#18979).  Reported by Hideki Saito.

450 451 452 453 454 455 456
2014-10-18  Alan Mackenzie  <acm@muc.de>

	Check that a "macro" found near point-min isn't a ## operator.
	Fixes bug #18749.  Backported from trunk, 2014-11-05.
	* progmodes/cc-engine.el (c-macro-is-genuine-p): New function.
	(c-beginning-of-macro): Use the above new function.

457 458 459
2014-11-05  Alan Mackenzie  <acm@muc.de>

	Fix wrong bound to c-font-lock-declarators.  Fixes bug #18948.
460 461
	* progmodes/cc-fonts.el (c-font-lock-declarations):
	Pass "(point-max)" as bound to c-font-lock-declarators, not "limit", as
462 463 464
	the buffer is sometimes narrowed to less than "limit" (e.g., in
	the presence of macros).

465 466 467 468 469 470 471 472 473 474
2014-11-05  Michael Albinus  <michael.albinus@gmx.de>

	* net/tramp.el (tramp-error-with-buffer): Show connection buffer
	only when message appeared in minibuffer.  (Bug#18891)

	* net/tramp-adb.el (tramp-adb-handle-file-attributes):
	* net/tramp-gvfs.el (tramp-gvfs-handle-file-attributes):
	* net/tramp-sh.el (tramp-sh-handle-file-attributes): Return nil in
	case of errors.

475 476 477 478 479
2014-11-04  Eli Zaretskii  <eliz@gnu.org>

	* jit-lock.el (jit-lock-stealth-fontify): Be tolerant to nil being
	returned by load-average.

480 481
2014-11-04  Michael Albinus  <michael.albinus@gmx.de>

482 483 484
	* net/tramp-sh.el (tramp-do-copy-or-rename-file-via-buffer): Don't use
	a local copy; setting `inhibit-file-name-handlers' proper might be
	more performant.  (Bug#18751)
485

486 487 488 489 490
2014-11-04  Glenn Morris  <rgm@gnu.org>

	* mail/emacsbug.el (report-emacs-bug): No longer include
	recent-keys in the report.  (Bug#18900)

491 492 493 494 495
2014-11-03  Michael Albinus  <michael.albinus@gmx.de>

	* net/tramp-sh.el (tramp-do-copy-or-rename-file-via-buffer): Use a
	local copy of FILENAME, when it is remote.  (Bug#18751)

496 497 498 499 500 501
2014-11-02  Michael Albinus  <michael.albinus@gmx.de>

	* net/tramp-adb.el (tramp-adb-handle-process-file): Do not raise
	an error when the command fails; the return code must indicate.
	(tramp-adb-send-command-and-check): Fix docstring.

502 503 504 505 506 507 508 509 510 511
2014-11-01  Michael Albinus  <michael.albinus@gmx.de>

	* net/tramp-cache.el (tramp-get-file-property)
	(tramp-set-file-property): Check, that `tramp-cache-get-count-*'
	and `tramp-cache-set-count-*' are bound.  Otherwise, there might
	be compiler warnings.

	* net/tramp-sh.el (tramp-get-remote-uid, tramp-get-remote-gid):
	Return -1 respective "UNKNOWN", if uid or gid cannot be determined.

512 513 514 515 516
2014-11-01  Eli Zaretskii  <eliz@gnu.org>

	* progmodes/compile.el (compilation-mode): Turn off deferred
	fontifications locally.  (Bug#18856)

517 518 519 520 521
2014-11-01  Wolfgang Jenkner  <wjenkner@inode.at>

	* net/tramp-sh.el (tramp-send-command): Fix the case where the
	remote-echo connection property is non-nil (bug#18858).

522 523 524 525 526 527 528 529 530 531 532 533 534 535 536 537 538 539 540 541 542 543 544 545 546 547 548 549 550 551 552 553 554 555 556 557 558 559 560 561 562 563 564 565 566 567 568 569 570 571 572 573 574 575 576 577 578 579 580 581 582 583 584 585 586 587 588 589 590 591 592 593 594 595 596 597 598 599 600 601 602 603 604 605 606 607 608 609 610 611 612 613 614 615 616 617 618 619 620 621 622 623 624 625 626 627 628 629
2014-11-01  Michael Albinus  <michael.albinus@gmx.de>

	Backport Tramp changes from trunk.

	* net/tramp.el (tramp-methods): Tweak docstring.
	(tramp-file-name-handler): Apply `cons' where appropriate.
	(tramp-handle-file-accessible-directory-p): Check for
	`file-readable-p' instead of `file-executable-p'.
	(tramp-handle-shell-command): Use `display-buffer'.  (Bug#18326)
	(tramp-handle-unhandled-file-name-directory): Return "/".
	(tramp-check-cached-permissions):
	Use `tramp-compat-file-attributes'.
	(tramp-call-process): Add new argument VEC.  Adapt callees in all
	tramp*.el files.

	* net/tramp-adb.el (tramp-adb-sh-fix-ls-output): Use `bolp'.
	(tramp-adb-handle-write-region): Improve messages.
	(tramp-adb-maybe-open-connection): Don't set
	`tramp-current-*' variables.

	* net/tramp-cache.el (tramp-flush-file-function): Simplify check.
	Suppress debug messages.

	* net/tramp-ftp.el (top): Remove special handling for URL syntax.
	(tramp-ftp-file-name-handler):

	* net/tramp-gvfs.el (tramp-gvfs-methods) <sftp>: Add.
	(tramp-gvfs-methods-mounttracker)
	(tramp-gvfs-mountlocation-signature): Check `tramp-gvfs-enabled'
	during initialization.  (Bug#18774)
	(tramp-gvfs-handle-delete-file): Flush file properties, not
	directory properties.
	(tramp-gvfs-handle-file-attributes): Use `string-to-number' when
	reading "unix::mode".
	(tramp-gvfs-handle-file-name-all-completions):
	Use "-h" option for "gvfs-ls".
	(tramp-gvfs-url-file-name): Apply `cons' where appropriate.
	`user' and `localname' could be nil.
	(tramp-gvfs-send-command): Simplify traces.

	* net/tramp-sh.el (vc-handled-backends, vc-bzr-program)
	(vc-git-program, vc-hg-program): Declare.
	(tramp-methods) <sftp>: Remove.  It has never worked satisfactorily.
	(tramp-methods) <nc>: Add new method.
	(tramp-methods) <telnet>: Redirect stderr to "/dev/null".
	(tramp-methods) <plink, plinkx, pscp, psftp>: Improve
	`tramp-login-args'.
	(tramp-default-user-alist): Add "nc".
	(top): Remove completion function for "sftp".  Add completion
	functions for "nc" and "psftp".
	(tramp-sh-handle-set-visited-file-modtime):
	(tramp-sh-handle-verify-visited-file-modtime): Use `point-at-eol'.
	(tramp-do-copy-or-rename-file-out-of-band):
	Use cached "remote-copy-args" value, if available.  (Bug#18199)
	Tweak docstring.  Implement support for "nc" method.
	(tramp-sh-handle-expand-file-name, tramp-local-coding-commands)
	(tramp-remote-coding-commands, tramp-call-local-coding-command):
	Tweak docstring.
	(tramp-sh-handle-start-file-process): Expand `default-directory'.
	(tramp-sh-handle-write-region): Tweak error message.
	(tramp-sh-handle-vc-registered): Remove backends when the remote
	binary does not exist.
	(tramp-open-connection-setup-interactive-shell):
	Prefer utf-8 coding.  (Bug#17859)
	(tramp-find-inline-encoding): Do not raise an error.
	(tramp-make-copy-program-file-name): Tweak docstring.  Handle also
	the "nc" case.  Quote result also locally.
	(tramp-get-remote-id): Check also for "gid".
	(tramp-get-remote-python):

	* net/tramp-smb.el (tramp-smb-handle-copy-directory)
	(tramp-smb-handle-set-file-acl): Use `start-process'.
	(tramp-smb-handle-insert-directory): Use progress reporter.
	(tramp-smb-handle-rename-file): Flush also file properties of
	FILENAME.

	* net/trampver.el: Update release number.

2014-11-01  Reuben Thomas  <rrt@sc3d.org>

	* net/tramp.el (tramp-handle-file-symlink-p):
	* net/tramp-ftp.el (tramp-ftp-file-name-handler): Remove a comment
	about VMS, which we no longer support.

2014-11-01  Stefan Monnier  <monnier@iro.umontreal.ca>

	* net/tramp-sh.el (tramp-sh-handle-vc-registered): Don't modify
	the global vc-handled-backends (bug#18535).

2014-11-01  Jérémy Compostella  <jeremy.compostella@intel.com>
	    Michael Albinus  <michael.albinus@gmx.de>

	* net/tramp-sh.el (tramp-open-connection-setup-interactive-shell):
	Reduce the amount of set environment variable commands.

2014-11-01  Paul Eggert  <eggert@cs.ucla.edu>

	* net/tramp-sh.el (tramp-get-remote-touch): Omit unnecessary call to
	current-time.

2014-11-01  Emilio C. Lopes  <eclig@gmx.net>

	* net/tramp-sh.el (tramp-get-remote-python): Also search for
	executables named "python2" or "python3".
	(tramp-get-remote-uid-with-python): Use parentheses around
	arguments to `print' to make it compatible with Python 3.
	(tramp-get-remote-gid-with-python): Ditto.  (Bug#18118)

630 631
2014-10-31  Stefan Monnier  <monnier@iro.umontreal.ca>

632 633
	* simple.el (newline): Add assertions to try and help catch bug#18913.

634 635 636 637
	* emulation/cua-base.el (cua-delete-region): Use delete-active-region
	(bug#18886).
	(cua--last-deleted-region-pos, cua--last-deleted-region-text): Remove.

638 639 640 641 642
2014-10-31  Eli Zaretskii  <eliz@gnu.org>

	* Makefile.in (repo-update): Fix a typo and slightly reword
	commentary.

643 644 645 646 647
2014-10-31  Eric S. Raymond  <esr@thyrsus.com>

	* Makefile.in: Change some production names so they're neutral
	about the repository type.

648 649 650 651 652 653 654 655 656 657 658 659
2014-10-30  Kim F. Storm  <storm@cua.dk>

	Restore cua-delete-copy-to-register-0 and M-v command (bug#18886).
	* delsel.el (delete-selection-save-to-register)
	(delsel--replace-text-or-position): New vars.
	(delete-active-region): Use them.
	(delete-selection-repeat-replace-region): New command, moved from
	cua-base.el.
	* emulation/cua-base.el (cua--repeat-replace-text): Remove var.
	(cua-repeat-replace-region): Move command to delsel.el.
	(cua--init-keymaps): Update binding accordingly.
	(cua-mode): Set delete-selection-save-to-register.
660

661
2014-10-30  Stefan Monnier  <monnier@iro.umontreal.ca>
662 663 664 665 666

	* progmodes/cc-defs.el (c--macroexpand-all): New function (bug#18845).
	(c-lang-defconst):
	* progmodes/cc-langs.el (c-make-init-lang-vars-fun): Use it.

667 668
2014-10-29  Eli Zaretskii  <eliz@gnu.org>

669 670
	* progmodes/compile.el (compilation-start):
	If compilation-scroll-output is non-nil, don't force window-start of
671 672
	the compilation buffer to be at beginning of buffer.  (Bug#18874)

Tassilo Horn's avatar
Tassilo Horn committed
673 674 675 676 677 678 679 680 681
2014-10-23  Tassilo Horn  <tsdh@gnu.org>

	* doc-view.el (doc-view-open-text): View the document's plain text
	in the current buffer instead of a new one.
	(doc-view-toggle-display): Handle the case where the current
	buffer contains the plain text contents of the document.
	(doc-view-initiate-display): Don't switch to fallback mode if the
	user wants to view the doc's plain text.  [Backport]

682 683 684 685 686
2014-10-23  Eli Zaretskii  <eliz@gnu.org>

	* startup.el (fancy-about-text): Read the entire tutorial, not
	just its first 256 bytes.  (Bug#18760)

687 688 689 690 691
2014-10-23  Stefan Monnier  <monnier@iro.umontreal.ca>

	* emacs-lisp/bytecomp.el: Require cl-extra (bug#18804).
	* emacs-lisp/cl-extra.el: Add missing provide.

692 693 694 695 696 697
2014-10-22  Stefan Monnier  <monnier@iro.umontreal.ca>

	* emacs-lisp/bytecomp.el (byte-compile-and-folded): Optimize case where
	all args are copyable (bug#18767).
	(=, <, >, <=, >=): Re-enable the optimization.

698 699 700 701 702 703 704
2014-10-20  Santiago Payà i Miralta  <santiagopim@gmail.com>

	* vc/vc-hg.el (vc-hg-log-graph): New var.
	(vc-hg-print-log): Use it.
	(vc-hg-root-log-format): Include branch name and bookmarks; ignore
	graph output (bug#17515).

705 706 707 708 709 710 711 712 713 714
2014-10-20  Juri Linkov  <juri@jurta.org>

	* vc/diff-mode.el (diff-refine-changed): Rename from
	`diff-refine-change' for consistency with `diff-changed'.
	(diff-refine-change): Add obsolete face alias.  (Bug#10181)

	* vc/smerge-mode.el (smerge-refined-changed): Rename from
	`smerge-refined-change'.
	(smerge-refined-change): Add obsolete face alias.

Glenn Morris's avatar
Glenn Morris committed
715
2014-10-20  Stefan Monnier  <monnier@iro.umontreal.ca>
716 717 718 719 720 721 722

	* subr.el (call-process-shell-command, process-file-shell-command):
	Make the `args' obsolete (bug#18409).
	(start-process-shell-command, start-file-process-shell-command):
	Use `declare'.

2014-10-20  Juanma Barranquero  <lekktu@gmail.com>
723 724 725

	* skeleton.el (skeleton-autowrap): Mark as obsolete.  Doc fix.

726 727 728 729 730 731 732 733
2014-10-20  Glenn Morris  <rgm@gnu.org>

	* dired.el (dired-read-regexp): Make obsolete.
	(dired-mark-files-regexp, dired-mark-files-containing-regexp)
	(dired-flag-files-regexp):
	* dired-aux.el (dired-mark-read-regexp):
	* dired-x.el (dired-mark-unmarked-files): Use read-regexp directly.

734 735
2014-10-20  Stefan Monnier  <monnier@iro.umontreal.ca>

736 737
	* progmodes/python.el (inferior-python-mode): Use add-hook.

738 739
	* Makefile.in (AUTOGEN_VCS): Remove emulation/tpu-edt.el.

740 741 742 743 744 745
2014-10-20  Glenn Morris  <rgm@gnu.org>

	* emulation/crisp.el, emulation/tpu-edt.el, emulation/tpu-extras.el:
	* emulation/tpu-mapper.el, emulation/vi.el, emulation/vip.el:
	* emulation/ws-mode.el: Move to obsolete/.  [Backport]

746 747 748 749
2014-10-20  Glenn Morris  <rgm@gnu.org>

	* cus-start.el (history-length): Bump :version.  [Backport]

750 751
2014-10-20  Stefan Monnier  <monnier@iro.umontreal.ca>

752 753
	* obsolete/cc-compat.el: Make obsolete (bug#18561).

754
	* epg-config.el (epg-gpg-program): Don't use absolute names by default.
755

756 757 758
	* emacs-lisp/bytecomp.el (=, <, >, <=, >=): Don't optimize multi-arg
	case (bug#18767).

759 760 761 762
2014-10-20  Glenn Morris  <rgm@gnu.org>

	* Version 24.4 released.

763 764 765 766 767 768 769
2014-10-15  Alan Mackenzie  <acm@muc.de>

	* cus-edit.el (custom-command-apply): Specify the return value in
	the doc string.
	(Custom-reset-standard): Save custom-file (e.g. .emacs) only when
	custom-command-apply has returned non-nil.

770 771 772 773 774
2014-10-15  Stefan Monnier  <monnier@iro.umontreal.ca>

	* emacs-lisp/lisp.el (lisp--local-variables-1): Handle `quote'.
	Backported (bug#18688).

775 776
2014-10-14  Eli Zaretskii  <eliz@gnu.org>

777 778
	* emacs-lisp/tabulated-list.el (tabulated-list-mode):
	Force bidi-paragraph-direction to 'left-to-right'.  This fixes
779 780 781
	buffer-menu display when the first buffer happens to start with
	R2L letter.

Glenn Morris's avatar
Glenn Morris committed
782 783 784 785 786 787 788 789
2014-10-13  Glenn Morris  <rgm@gnu.org>

	* emacs-lisp/authors.el (authors-aliases, authors-fixed-case)
	(authors-obsolete-files-regexps): Additions.
	(authors-no-scan-regexps): New constant.
	(authors-no-scan-file-p): New function.
	(authors): Respect authors-no-scan-file-p.

790 791 792 793 794 795
2014-10-12  Fabián Ezequiel Gallina  <fgallina@gnu.org>

	Fix import completion.  (Bug#18582)
	* progmodes/python.el (python-shell-completion-get-completions):
	Fix import case regexp.

796 797 798 799 800 801
2014-10-10  Stefan Monnier  <monnier@iro.umontreal.ca>

	* progmodes/bat-mode.el (bat-font-lock-keywords): Fix \\<_ typo
	(bug#18622).  Reported by Arni Magnusson <arnima@hafro.is>.
	* progmodes/prolog.el (prolog-electric--underscore): Same.

Glenn Morris's avatar
Glenn Morris committed
802 803 804 805
2014-10-09  Glenn Morris  <rgm@gnu.org>

	* frame.el (display-monitor-attributes-list): Doc tweaks.

806 807 808 809 810 811 812 813 814 815 816 817 818
2014-10-08  Eli Zaretskii  <eliz@gnu.org>

	* faces.el (display-grayscale-p): Mention in the doc string that
	the argument can be either a display name or a frame.

	* frame.el (display-pixel-height, display-pixel-width)
	(display-mm-height, display-mm-width, display-backing-store)
	(display-save-under, display-planes, display-color-cells)
	(display-visual-class, display-monitor-attributes-list)
	(display-screens): Mention in the doc string that the argument can
	be either a display name or a frame.  Improve the docs of the
	monitor attributes.  (Bug#18636)

819 820 821 822 823
2014-10-06  Martin Rudalics  <rudalics@gmx.at>

	* term.el (term-window-width): Subtract 1 from the width when
	any fringe has zero width, not just the right fringe.  (Bug#18601)

824 825 826 827
2014-10-05  Leo Liu  <sdl.web@gmail.com>

	* imenu.el (imenu-default-goto-function): Fix typo.

Glenn Morris's avatar
Glenn Morris committed
828 829 830 831 832
2014-10-04  Glenn Morris  <rgm@gnu.org>

	* frame.el (frame-monitor-attributes)
	(display-monitor-attributes-list): Doc fixes.

Dmitry Gutov's avatar
Dmitry Gutov committed
833 834 835 836 837
2014-10-03  Dmitry Gutov  <dgutov@yandex.ru>

	* vc/vc-svn.el (vc-svn-ignore-completion-table): Implement.
	(vc-svn-ignore): Use it.  (Bug#18619)

838 839 840
2014-10-03  Martin Rudalics  <rudalics@gmx.at>

	* frame.el (toggle-frame-maximized, toggle-frame-fullscreen):
Glenn Morris's avatar
Glenn Morris committed
841
	In doc-string mention need to set `frame-resize-pixelwise'.
842

843 844 845
2014-10-03  Stefan Monnier  <monnier@iro.umontreal.ca>

	* vc/vc-svn.el (vc-svn-after-dir-status): Fix the non-remote regexp,
Glenn Morris's avatar
Glenn Morris committed
846
	similarly to Rogers's 2010-06-16 change for the remote case
847 848
	(bug#18605).

849 850 851 852 853
2014-10-01  Glenn Morris  <rgm@gnu.org>

	* emacs-lisp/package.el (package-import-keyring):
	Create gnupg directory private.  (Bug#17625#155)

854 855 856 857 858 859 860
2014-10-01  Stefan Monnier  <monnier@iro.umontreal.ca>

	* progmodes/python.el (python-shell-completion-get-completions):
	Use python-shell--prompt-calculated-input-regexp from the
	process buffer (bug#18582).
	Don't assume that `line' comes from the process buffer.

861 862 863 864 865
2014-09-30  Leonardo Nobrega  <leonobr@gmail.com>  (tiny change)

	* progmodes/python.el (python-fill-paren): Don't inf-loop at EOB
	(bug#18462).

866 867 868 869 870 871 872
2014-09-27  Stefan Monnier  <monnier@iro.umontreal.ca>

	* emacs-lisp/package.el (package-check-signature): Default to nil if
	GPG is not available.
	(package-refresh-contents): Don't mess with the keyring if we won't
	check the signatures anyway.

873 874 875 876 877 878
2014-09-18  Kan-Ru Chen  <kanru@kanru.info>

	* window.el (fit-window-to-buffer): When counting buffer width,
	count the whole visible buffer.  Correctly convert the body-height
	to pixel size for window-text-pixel-size (Bug#18498).

879 880 881 882 883
2014-09-14  Glenn Morris  <rgm@gnu.org>

	* image.el (image-multi-frame-p): Fix thinko - do not force
	a delay if none was specified.  (Bug#18334)

884 885 886 887
2014-09-12  Kan-Ru Chen  <kanru@kanru.info>

	* window.el (fit-window-to-buffer): Doc fix.

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

893 894 895 896 897
2014-09-09  Glenn Morris  <rgm@gnu.org>

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

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

906 907 908 909 910
2014-09-08  Glenn Morris  <rgm@gnu.org>

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

911 912 913 914
2014-09-05  Stefan Monnier  <monnier@iro.umontreal.ca>

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

915 916 917 918 919
2014-09-04  Lars Ljung  <lars@matholka.se>  (tiny change)

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

920 921 922 923
2014-09-04  Eli Zaretskii  <eliz@gnu.org>

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

924 925
2014-09-02  Stefan Monnier  <monnier@iro.umontreal.ca>

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

934 935 936
	* progmodes/gud.el (gud-gdb-completion-at-point): Add hack (bug#18282).
	(gud-gdb-completions): Remove obsolete workaround.

937 938 939 940 941 942 943 944 945
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)

946 947 948 949 950
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)

951 952 953 954 955
2014-09-01  Glenn Morris  <rgm@gnu.org>

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

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

961 962 963 964 965
2014-08-28  Glenn Morris  <rgm@gnu.org>

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

966 967
2014-08-27  Michael Albinus  <michael.albinus@gmx.de>

968 969
	* emacs-lisp/authors.el (authors-aliases): Addition.

970 971
	* net/tramp-adb.el: Spell author name correctly.

972 973 974 975 976
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)

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

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

982 983
2014-08-18  Stefan Monnier  <monnier@iro.umontreal.ca>

984 985 986
	* progmodes/python.el (python-shell-prompt-detect): Remove redundant
	executable-find (bug#18244).

987 988
	* simple.el (self-insert-uses-region-functions): Defvar.

989 990 991 992 993
2014-08-13  Leo Liu  <sdl.web@gmail.com>

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

994 995
2014-08-11  Glenn Morris  <rgm@gnu.org>

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

998 999 1000 1001 1002
	* 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.)

1003 1004 1005 1006 1007
2014-08-10  Martin Rudalics  <rudalics@gmx.at>

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

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

1014 1015 1016 1017 1018
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
1019 1020 1021 1022
2014-08-08  Eli Zaretskii  <eliz@gnu.org>

	* info.el (info): Doc fix.

1023 1024 1025 1026 1027
2014-08-07  Stefan Monnier  <monnier@iro.umontreal.ca>

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

1028 1029 1030 1031
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,
1032 1033
	not of the font currently used by the 'default' face.
	Truncate the pixel value, like the display engine does.
1034 1035 1036
	(window-screen-lines): Use window-inside-pixel-edges for
	determining the window height in pixels.  (Bug#18195)

1037 1038 1039 1040 1041
2014-07-29  Eli Zaretskii  <eliz@gnu.org>

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

1042 1043 1044 1045 1046
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).

1047 1048 1049 1050 1051
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
1052 1053 1054 1055 1056
2014-07-27  Andreas Schwab  <schwab@linux-m68k.org>

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

1057 1058 1059 1060
2014-07-27  Fabián Ezequiel Gallina  <fgallina@gnu.org>

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

1061 1062 1063 1064 1065
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.

1066 1067 1068 1069 1070 1071 1072 1073 1074 1075 1076 1077 1078 1079 1080
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.

1081 1082
2014-07-25  Glenn Morris  <rgm@gnu.org>

1083 1084 1085
	* files.el (toggle-read-only): Re-add basic doc-string.
	* vc/vc-hooks.el (vc-toggle-read-only): Tweak obsolescence mesage.

1086 1087 1088 1089
	* 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.

1090 1091 1092 1093 1094
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.

1095 1096 1097 1098 1099 1100 1101 1102 1103 1104 1105 1106 1107 1108
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.

1109 1110 1111 1112 1113 1114
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)

1115 1116 1117 1118 1119
2014-07-20  Fabián Ezequiel Gallina  <fgallina@gnu.org>

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

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

1132 1133 1134
2014-07-19  Fabián Ezequiel Gallina  <fgallina@gnu.org>

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

1138 1139 1140 1141 1142 1143 1144 1145 1146 1147 1148 1149 1150 1151 1152 1153 1154 1155
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
1156
	(inferior-python-mode): Use it.  Also honor overridden
1157
	python-shell-interpreter and python-shell-interpreter-args.
Paul Eggert's avatar
Paul Eggert committed
1158
	(python-shell-make-comint): Honor overridden
1159 1160 1161 1162 1163 1164 1165 1166
	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.

1167 1168 1169 1170 1171
2014-07-16  Glenn Morris  <rgm@gnu.org>

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

1172 1173 1174 1175 1176
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)

1177 1178 1179 1180 1181 1182
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)

1183 1184 1185 1186 1187 1188
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.

1189 1190 1191 1192 1193
2014-07-10  Glenn Morris  <rgm@gnu.org>

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

1194 1195
2014-07-09  Stefan Monnier  <monnier@iro.umontreal.ca>

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

1199 1200 1201
	* faces.el (face-name): Undo last change.
	(x-resolve-font-name): Don't call face-name (bug#17956).

1202 1203 1204 1205 1206 1207 1208 1209 1210 1211 1212 1213 1214 1215 1216 1217 1218 1219 1220 1221
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.

1222 1223 1224 1225 1226
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).

1227 1228 1229 1230 1231 1232
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)

1233 1234 1235 1236 1237 1238 1239
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)

1240 1241 1242 1243 1244 1245
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.

1246 1247 1248 1249 1250
2014-07-06  Glenn Morris  <rgm@gnu.org>

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

1251 1252 1253 1254 1255 1256 1257 1258 1259 1260 1261
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.

1262 1263
2014-07-05  Stefan Monnier  <monnier@iro.umontreal.ca>

1264 1265 1266
	* emacs-lisp/edebug.el (edebug-eval-defun): Print result using
	proper Lisp quoting (bug#17934).

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

1270 1271 1272 1273 1274 1275 1276 1277 1278
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.

1279 1280 1281 1282 1283
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).

1284 1285 1286 1287 1288
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)

1289 1290 1291 1292 1293
2014-07-02  Juri Linkov  <juri@jurta.org>

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

1294 1295 1296 1297 1298
2014-07-02  Stefan Monnier  <monnier@iro.umontreal.ca>

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

1299 1300 1301 1302 1303
2014-07-02  Leo Liu  <sdl.web@gmail.com>

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

1304 1305 1306 1307 1308
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).

1309 1310 1311 1312
2014-07-01  Glenn Morris  <rgm@gnu.org>

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

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

1319 1320 1321 1322 1323
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).

1324 1325 1326 1327 1328
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
1329 1330
2014-06-29  Glenn Morris  <rgm@gnu.org>

1331 1332 1333 1334 1335 1336 1337 1338
	* 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
1339 1340 1341
	* progmodes/idlwave.el (idlwave): Update url-link for custom group.
	(idlwave-mode): Doc URL update.

1342 1343 1344 1345 1346 1347
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.

1348 1349 1350 1351
2014-06-27  Leo Liu  <sdl.web@gmail.com>

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

1352 1353 1354 1355
2014-06-27  Glenn Morris  <rgm@gnu.org>

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

1356 1357 1358 1359 1360 1361
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.

1362 1363 1364 1365
2014-06-26  Glenn Morris  <rgm@gnu.org>

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

1366 1367 1368 1369 1370 1371 1372
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).

1373 1374
2014-06-26  Glenn Morris  <rgm@gnu.org>

1375 1376 1377
	* emacs-lisp/cl-macs.el (help-add-fundoc-usage):
	Remove outdated declaration.

1378 1379 1380
	* emacs-lisp/authors.el (authors-valid-file-names)
	(authors-renamed-files-alist): Additions.

1381 1382 1383 1384 1385 1386
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.

1387 1388
	* progmodes/asm-mode.el (asm-calculate-indentation):
	Use indent-next-tab-stop.
1389 1390 1391

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

1392 1393 1394 1395 1396
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.

1397 1398 1399 1400 1401 1402 1403 1404 1405
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.

1406 1407 1408 1409 1410
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).

1411 1412 1413 1414 1415 1416 1417 1418
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)

1419 1420 1421 1422 1423 1424 1425 1426 1427 1428
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.

1429 1430 1431 1432 1433 1434 1435 1436 1437 1438
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.

1439 1440 1441 1442 1443 1444 1445 1446 1447 1448
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.

1449 1450 1451 1452 1453
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.

1454 1455 1456 1457 1458 1459 1460
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)

1461 1462 1463 1464 1465
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.

1466 1467 1468 1469 1470 1471 1472
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.

1473 1474 1475 1476
2014-06-21  Eli Zaretskii  <eliz@gnu.org>

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

1477 1478 1479 1480 1481 1482 1483
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.

1484 1485 1486 1487
2014-06-21  Eli Zaretskii  <eliz@gnu.org>

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

1488 1489
2014-06-20  Stefan Monnier  <monnier@iro.umontreal.ca>

1490 1491 1492 1493
	* emacs-lisp/smie.el (smie-config--guess): Fix typo.
	(smie-config-guess): Use smie-config-local so the rules are obeyed
	(bug#17818).

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

1497 1498 1499 1500 1501 1502
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).

1503 1504 1505 1506 1507
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).

1508 1509 1510 1511 1512 1513 1514 1515 1516
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)

1517 1518 1519 1520 1521 1522
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).

1523 1524 1525 1526 1527
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)

1528 1529 1530 1531 1532
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).

1533 1534 1535 1536 1537 1538
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.

1539 1540 1541 1542 1543
2014-06-18  Eli Zaretskii  <eliz@gnu.org>

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

1544 1545 1546 1547 1548
2014-06-18  Juri Linkov  <juri@jurta.org>

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