ChangeLog 539 KB
Newer Older
1 2 3 4 5
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).

6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22
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'.

23 24
2014-04-16  Stefan Monnier  <monnier@iro.umontreal.ca>

25 26 27 28 29
	* 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.

30 31 32
	* progmodes/perl-mode.el (perl-calculate-indent): Don't auto-indent in
	here-documents (bug#17262).

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

35 36
	* 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
37

38 39 40 41 42 43 44 45 46 47
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'.

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

53 54 55 56 57
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).

58 59 60 61 62 63
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
64 65 66 67 68
2014-04-13  João Távora  <joaotavora@gmail.com>

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

69 70 71 72 73 74
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'.

75 76 77 78 79 80
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.

81 82 83 84 85 86 87
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.

88 89 90 91
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)
92
	Set category of Coptic characters be 'g' (Greek).
93

Leo Liu's avatar
Leo Liu committed
94 95 96 97 98 99 100 101 102
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.

103 104 105 106 107
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
108 109 110 111 112
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.

113 114 115 116 117 118 119 120 121 122
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.

123 124 125 126 127
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.

128 129 130 131 132 133 134 135
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
136 137 138 139 140
2014-04-09  Dmitry Gutov  <dgutov@yandex.ru>

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

141 142 143 144 145
2014-04-08  Stefan Monnier  <monnier@iro.umontreal.ca>

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

146 147 148 149 150 151 152 153 154 155 156 157
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'

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

160 161 162
	* 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.
163 164
	(electric-pair--in-unterminated-string-p): New function.

165 166 167 168 169
2014-04-07  Glenn Morris  <rgm@gnu.org>

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

170 171 172 173 174 175 176 177 178 179
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.

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

182 183
	* progmodes/python.el (python-electric-pair-string-delimiter):
	Fix triple-quoting electricity.  (Bug#17192)
184

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

187 188
	* elec-pair.el (electric-pair-post-self-insert-function):
	Don't skip whitespace when `electric-pair-text-pairs' and
189
	`electric-pair-pairs' were used. syntax to
190
	electric-pair--skip-whitespace.  (Bug#17183)
191

192 193 194 195 196
2014-04-06  Eli Zaretskii  <eliz@gnu.org>

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

197 198 199 200 201
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.

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

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

206
2014-04-05  Matthias Dahl  <matthias.dahl@binary-island.eu>
207 208 209 210

	* 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)
211 212 213 214
	(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)
215 216
	(make-face-x-resource-internal): Do nothing when
	inhibit-x-resources is non-nil.  Don't touch the default face if
217
	reversed video is given--as was done in previous versions of Emacs.
218 219
	(face-set-after-frame-default): Don't call
	make-face-x-resource-internal here.  (Bug#16434)
220

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

223 224
	* 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
225 226
	buffer is shown in a window.  (bug#16090)

Eli Zaretskii's avatar
Eli Zaretskii committed
227 228 229 230 231 232 233
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.

234 235 236 237 238 239
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.

240 241 242 243
2014-04-03  Eli Zaretskii  <eliz@gnu.org>

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

244 245 246 247 248 249 250 251 252 253 254 255 256 257
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.

258 259 260 261 262
2014-04-03  Stefan Monnier  <monnier@iro.umontreal.ca>

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

263 264 265 266
2014-04-02  Stefan Monnier  <monnier@iro.umontreal.ca>

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

270 271
2014-04-02  Glenn Morris  <rgm@gnu.org>

272 273 274 275
	* menu-bar.el (menu-bar-file-menu):
	* vc/ediff.el (ediff-current-file):
	Update for revert-buffer-function no longer being nil by default.

276 277
	* simple.el (command-execute): Respect nil disabled-command-function.

278 279 280 281 282
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)

283 284 285 286 287
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.

288 289 290 291 292
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
293 294
2014-03-27  Dmitry Gutov  <dgutov@yandex.ru>

295 296
	* progmodes/ruby-mode.el (ruby-font-lock-keywords):
	Highlight special globals with font-lock-builtin-face.  (Bug#17057)
297

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

302 303
2014-03-27  Juanma Barranquero  <lekktu@gmail.com>

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

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

310 311 312 313 314 315 316 317 318 319 320
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.

321 322 323 324
2014-03-25  Barry O'Reilly  <gundaetiapo@gmail.com>

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

325 326 327 328 329 330 331 332 333
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.
334 335
	(tramp-do-copy-or-rename-file-directly): In the `rename' case,
	check whether source directory has set the sticky bit.
336

337 338 339 340 341 342 343 344 345 346 347 348
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
349 350 351 352 353 354 355 356
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)

357 358 359 360 361
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.

362 363 364 365
2014-03-24  Juanma Barranquero  <lekktu@gmail.com>

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

366 367 368 369
2014-03-24  Nicolas Richard  <theonewiththeevillook@yahoo.fr>

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

370 371 372 373 374 375 376 377
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)

378 379 380 381 382
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).

383 384
2014-03-23  Juanma Barranquero  <lekktu@gmail.com>

385 386
	* frameset.el (frameset-restore): Compare display strings with equal.

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

390 391 392 393 394
2014-03-23  Thierry Volpiatto  <thierry.volpiatto@gmail.com>

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

395 396 397 398 399
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.

400 401 402 403 404
2014-03-21  Daniel Colascione  <dancol@dancol.org>

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

405 406 407 408 409 410 411
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.

412 413 414 415 416
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
417 418 419 420 421
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)

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

427 428 429 430 431 432 433 434
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'.

435 436 437 438
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
439 440
2014-03-21  Dmitry Gutov  <dgutov@yandex.ru>

Dmitry Gutov's avatar
Dmitry Gutov committed
441 442 443 444 445
	* 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
446 447 448
	* progmodes/ruby-mode.el (ruby-smie-rules):
	Add indentation rule for ` @ '.  (Bug#17050)

Juanma Barranquero's avatar
Juanma Barranquero committed
449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474
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.

475 476
2014-03-20  Stefan Monnier  <monnier@iro.umontreal.ca>

477 478 479 480 481
	* 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).
482

483 484
	* bindings.el (global-map): Remove C-j binding.

485 486 487
	* 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
488
2014-03-19  Stefan-W. Hahn  <stefan.hahn@s-hahn.de>  (tiny change)
489 490 491 492 493

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

494 495 496 497 498
2014-03-19  Juanma Barranquero  <lekktu@gmail.com>

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

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

504 505 506 507
2014-03-18  Stefan Monnier  <monnier@iro.umontreal.ca>

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

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

517 518 519 520
2014-03-18  Richard Stallman  <rms@gnu.org>

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

521 522 523 524 525
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>
526 527 528 529 530 531

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

532 533 534 535 536
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)

537 538 539 540 541 542 543 544
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
545 546
2014-03-17  Dmitry Gutov  <dgutov@yandex.ru>

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

550 551
	* 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
552 553 554 555 556 557
	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.

558 559 560 561 562 563 564 565 566 567 568 569 570 571 572 573 574
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'.

575 576 577 578 579 580 581 582 583 584 585 586 587 588 589 590 591 592 593
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.

594 595
2014-03-15  Juanma Barranquero  <lekktu@gmail.com>

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

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

628 629
2014-03-14  Glenn Morris  <rgm@gnu.org>

630 631 632
	* emacs-lisp/package.el (package-menu-mode-map):
	Replace use of obsolete function alias.  Tweak menu item text.

633 634 635
	* info.el (Info-finder-find-node):
	Ignore the `emacs' metapackage.  (Bug#10813)

636 637 638
	* finder.el (finder-list-matches): Include unversioned packages
	in the result of a keyword search.

639 640 641
	* finder.el (finder--builtins-descriptions): New constant.
	(finder-compile-keywords): Use finder--builtins-descriptions.

642 643 644 645 646 647
2014-03-14  Dmitry Gutov  <dgutov@yandex.ru>

	* simple.el (blink-matching-paren): Describe the new value,
	`jump', enabling the old behavior.
	(blink-matching-open): Use that value.  (Bug#17008)

648 649
2014-03-14  Glenn Morris  <rgm@gnu.org>

650 651 652 653 654 655
	* finder.el (finder-no-scan-regexp): Add leim-list.
	(finder-compile-keywords):
	Don't skip files with same basename.  (Bug#14010)
	* Makefile.in (setwins_finder): New, excluding leim.
	(finder-data): Use setwins_finder.

656 657 658 659 660 661
	* help-fns.el (help-split-fundoc, help-add-fundoc-usage)
	(help-function-arglist, help-make-usage): Move from here...
	* help.el (help-split-fundoc, help-add-fundoc-usage)
	(help-function-arglist, help-make-usage): ... to here.  (Bug#17001)
	* emacs-lisp/bytecomp.el (byte-compile-lambda): Do not load help-fns.

662 663 664
2014-03-14  Juanma Barranquero  <lekktu@gmail.com>

	* net/socks.el (socks, socks-override-functions)
665
	(socks-find-services-entry):
666 667 668 669 670 671 672 673 674 675 676 677 678 679 680 681 682 683
	* progmodes/hideif.el (hif-set-var, hif-nexttoken, hif-comma)
	(hif-find-ifdef-block):
	* progmodes/modula2.el (m2-indent): Fix docstring typos.

	* net/tls.el (tls-program): Reflow docstring.

	* progmodes/pascal.el (pascal-mode-abbrev-table)
	(pascal-imenu-generic-expression, pascal-auto-endcomments)
	(pascal-mark-defun, pascal-comment-area, pascal-indent-level)
	(pascal-outline-mode): Fix docstring typos.
	(pascal-mode): Let define-derived-mode document mode hook.
	(pascal-uncomment-area): Reflow.
	(pascal-exclude-str-start, pascal-exclude-str-end): Add docstring.

	* progmodes/opascal.el (opascal-compound-block-indent)
	(opascal-case-label-indent): Fix docstring typos.
	(opascal-mode): Fix typos; let defined-derived-mode document mode hook.

684 685
2014-03-13  Dmitry Gutov  <dgutov@yandex.ru>

686 687
	* progmodes/ruby-mode.el (ruby-font-lock-keywords):
	Fontify multiple adjacent negation chars.  (Bug#17004)
688

689 690 691 692 693
2014-03-13  Tom Willemse  <tom@ryuslash.org>  (tiny change)

	* emacs-lisp/package.el (package--prepare-dependencies):
	Accept requirements without explicit version (bug#14941).

694 695
2014-03-12  Juanma Barranquero  <lekktu@gmail.com>

696 697 698
	* register.el (register-separator, copy-to-register): Doc fixes.
	(register-preview-default): Remove unnecessary call to concat.

699 700 701
	* frameset.el (frameset-restore): When checking for a visible frame,
	use the action map instead of calling visible-frame-list.

702 703 704 705
2014-03-12  Jonas Bernoulli  <jonas@bernoul.li>

	* emacs-lisp/eieio.el (with-slots): Use cl-symbol-macrolet (bug#16998).

706 707 708 709 710
2014-03-12  Martin Rudalics  <rudalics@gmx.at>

	* window.el (fit-frame-to-buffer): Get maximum width from
	display's width instead of height.

711 712
2014-03-12  Glenn Morris  <rgm@gnu.org>

713 714 715 716
	* desktop.el (desktop-restore-frames)
	(desktop-restore-in-current-display, desktop-restore-forces-onscreen)
	(desktop-restore-reuses-frames): Doc tweaks.

717 718
	* electric.el (electric-indent-mode): Doc fix.

719 720 721 722 723 724 725 726 727 728 729 730 731 732 733 734 735 736 737 738 739 740 741
2014-03-12  Juanma Barranquero  <lekktu@gmail.com>

	* vc/pcvs.el (cvs-temp-buffer, defun-cvs-mode, cvs-get-cvsroot)
	(cvs-checkout, cvs-mode-checkout, cvs-update-filter, cvs-mode-mark)
	(cvs-mode-diff-head, cvs-mode-diff-repository, cvs-mode-diff-yesterday)
	(cvs-mode-diff-vendor, cvs-mode-do, cvs-change-cvsroot)
	(cvs-dired-use-hook): Fix docstring typos.
	(cvs-mode-view-file-other-window, cvs-mode-byte-compile-files):
	Doc fixes.

	* vc/pcvs-defs.el (cvs-auto-remove-handled)
	(cvs-auto-remove-directories, cvs-default-ignore-marks)
	(cvs-idiff-imerge-handlers, cvs-reuse-cvs-buffer)
	(cvs-execute-single-dir): Fix docstring typos.

	* vc/pcvs-info.el (cvs-status-map, cvs-states): Fix docstring typos.
	(cvs-fileinfo-pp, cvs-fileinfo-from-entries): Doc fixes.

	* vc/pcvs-parse.el (cvs-parsed-fileinfo): Reflow docstring.

	* vc/pcvs-util.el (cvs-flags-query, cvs-flags-set, cvs-prefix-set):
	Fix docstring typos.

742 743 744 745 746
2014-03-12  Juanma Barranquero  <lekktu@gmail.com>

	* frameset.el (frameset--jump-to-register): Add autoload; it could be
	called from jump-to-register after unloading the frameset package.

747 748 749 750 751 752
2014-03-11  Stefan Monnier  <monnier@iro.umontreal.ca>

	* simple.el (set-mark): Ensure mark-active is nil if the mark is nil
	(bug#16975).  Deactivate the mark before setting it to nil.
	(activate-mark): Do nothing if region is already active.

753 754 755 756 757
2014-03-11  Juanma Barranquero  <lekktu@gmail.com>

	* frameset.el (frameset--target-display): Remove definition; declare.
	(frameset-save, frameset-restore): Let-bind frameset--target-display.

758 759 760 761 762 763 764
2014-03-11  Stefan Monnier  <monnier@iro.umontreal.ca>

	* emacs-lisp/nadvice.el (advice--make-1): Fix autoloading avoidance.
	(advice-add): Add a :advice--pending marker, so advice--make-1 knows
	when the advice is pending.
	(advice-remove): Remove this marker when not needed any more.

765 766 767 768 769 770 771 772 773 774 775 776 777 778 779 780
2014-03-11  Juanma Barranquero  <lekktu@gmail.com>

	* frameset.el: Separate options for reusing frames and cleaning up.
	(frameset--reuse-list): Remove definition; declare.
	(frameset--action-map): Declare.
	(frameset--find-frame-if): Doc fix.
	(frameset--restore-frame): Cache frame action.
	(frameset-restore): New keyword arg CLEANUP-FRAMES, allows to select
	how to clean up the frame list after restoring.  Remove cleaning
	options from REUSE-FRAMES.  Change all keyword values to symbols.
	(frameset--jump-to-register): Simplify by using CLEANUP-FRAMES.

	* desktop.el (desktop-restore-forces-onscreen)
	(desktop-restore-reuses-frames): Use non-keyword values.
	(desktop-restore-frameset): Use CLEANUP-FRAMES arg of frameset-restore.

781 782
2014-03-10  Glenn Morris  <rgm@gnu.org>

783 784
	* files.el (find-file): Doc fix: update info node name.

785 786 787
	* emacs-lisp/advice.el (ad-add-advice, defadvice):
	Doc fix: remove references to deleted info nodes.

788 789 790 791 792 793 794
2014-03-10  Michael Albinus  <michael.albinus@gmx.de>

	* net/tramp-sh.el (tramp-open-connection-setup-interactive-shell):
	Do not add `nil' to the environment, when there's no remote `locale'.
	(tramp-find-inline-encoding): Check, that the remote host has
	installed perl, before sending scripts.

795 796
2014-03-10  Leo Liu  <sdl.web@gmail.com>

797 798
	* emacs-lisp/eldoc.el (eldoc-minibuffer-message):
	Clear eldoc-last-message.  (Bug#16920)
799

800 801 802 803 804
2014-03-10  Stefan Monnier  <monnier@iro.umontreal.ca>

	* desktop.el (desktop-create-buffer): Don't run activate-mark-hook
	(bug#14430).

805 806 807 808 809
2014-03-09  Juri Linkov  <juri@jurta.org>

	* ansi-color.el (ansi-color-names-vector): Copy default colors
	from `xterm-standard-colors' that look well on the default white
	background (and also on the black background) to avoid illegible
810
	color combinations like yellow-on-white and white-on-white.
811 812
	http://lists.gnu.org/archive/html/emacs-devel/2014-02/msg00157.html

813 814 815 816 817
2014-03-08  Juanma Barranquero  <lekktu@gmail.com>

	* frameset.el (frameset-restore): When no frame is visible, do not
	generate a list of frames, just make visible the selected one.

Dmitry Gutov's avatar
Dmitry Gutov committed
818 819 820 821 822
2014-03-08  Dmitry Gutov  <dgutov@yandex.ru>

	* vc/vc-git.el (vc-git-command): Turn FILE-OR-LIST into nil when
	it only contains the repository root.  (Bug#16897)

823 824 825 826 827 828
2014-03-07  Michael Albinus  <michael.albinus@gmx.de>

	* net/tramp-sh.el (tramp-sh-handle-vc-registered): Run first pass
	only when `remote-file-name-inhibit-cache' is nil.
	(tramp-sh-file-name-handler): Use `tramp-error'.  Simplify code.

829 830 831 832 833 834 835 836 837
2014-03-06  Martin Rudalics  <rudalics@gmx.at>

	* window.el (fit-frame-to-buffer, fit-frame-to-buffer-margins):
	Fix doc-strings.
	(fit-frame-to-buffer): New argument ONLY.  Remove dependency on
	fit-frame-to-buffer variable.  Fix doc-string.
	(fit-window-to-buffer): Set ONLY argument in call of
	fit-frame-to-buffer.  Fix doc-string.

838 839 840 841 842 843 844 845 846
2014-03-06  Michael Albinus  <michael.albinus@gmx.de>

	* net/tramp.el (tramp-error): VEC-OR-PROC can be nil.
	(tramp-action-password): Clear password cache if needed.
	(tramp-read-passwd): Do not clear password cache.

	* net/tramp-gvfs.el (tramp-gvfs-handler-askpassword): Clear password
	cache unless it is the first password request.

847 848
2014-03-06  Glenn Morris  <rgm@gnu.org>

849 850
	* simple.el (newline): Doc tweak.

851 852 853
	* emacs-lisp/shadow.el (load-path-shadows-find):
	Ignore dir-locals.  (Bug#12357)

Glenn Morris's avatar
Glenn Morris committed
854 855 856 857 858
2014-03-05  Glenn Morris  <rgm@gnu.org>

	* files.el (interpreter-mode-alist):
	* progmodes/sh-script.el (sh-ancestor-alist): Add dash.  (Bug#16938)

859 860 861 862
2014-03-05  Juanma Barranquero  <lekktu@gmail.com>

	* frameset.el (frameset--initial-params): Filter out null entries.

863 864
2014-03-05  Martin Rudalics  <rudalics@gmx.at>

865 866
	* window.el (window-min-height, window-min-width):
	Rewrite doc-strings.
867 868 869
	(window-body-size): Add PIXELWISE argument to make it consistent
	with its callees.

870 871 872 873 874
2014-03-05  Juanma Barranquero  <lekktu@gmail.com>

	* finder.el (finder-mode-map, finder-mode-syntax-table):
	Revert part of 2014-02-28 change.

875 876 877 878
2014-03-05  Lars Ingebrigtsen  <larsi@gnus.org>

	* net/eww.el (eww-mode-map): [tab] doesn't work on tty.
	(eww-setup-buffer): Clear next/prev/etc more reliably.
879 880
	(eww-textarea-map): [tab] doesn't work on tty.
	Reported by Mario Lang.
881 882

	* net/shr.el (shr-map): Ditto.
883

884 885 886 887 888
2014-03-04  Glenn Morris  <rgm@gnu.org>

	* minibuffer.el (completion-hilit-commonality):
	Revert 2014-03-01 short-cut, which changed the return value. (Bug#16933)

889 890 891 892 893 894 895 896
2014-03-04  Juanma Barranquero  <lekktu@gmail.com>

	* hilit-chg.el (hilit-chg-unload-function): New function.
	(highlight-changes-mode, highlight-changes-visible-mode): Fix typos.
	(hilit-chg-map-changes): Prefer cardinal number to digit.
	(hilit-chg-display-changes): Reflow docstring.
	(highlight-changes-rotate-faces): Remove superfluous backslash.

897 898 899 900 901
2014-03-04  Michael Albinus  <michael.albinus@gmx.de>

	* net/tramp-sh.el (tramp-sh-handle-vc-registered): Do not call
	`tramp-send-command-and-check'.

902 903
2014-03-04  Juanma Barranquero  <lekktu@gmail.com>

904 905 906 907 908 909 910 911 912
	* hexl.el (hexl-address-region, hexl-ascii-region)
	(hexl-goto-hex-address, hexl-backward-char, hexl-forward-char)
	(hexl-backward-short, hexl-forward-short, hexl-backward-word)
	(hexl-forward-word, hexl-previous-line, hexl-next-line):
	Use "Hexl mode" for non-hyperlinked hexl-mode references in docstrings.
	(hexl-mode): Doc fix.
	(hexl-ascii-start-column, hexl-beginning-of-line, hexl-end-of-line)
	(hexl-mode-ruler): Fix typos in docstrings.

913 914 915 916 917 918 919 920 921 922 923
	* strokes.el (strokes-xpm-header, strokes-rate-stroke): Fix typos.
	(strokes-character, strokes-get-grid-position, strokes-list-strokes):
	Remove superfluous backslashes.
	(strokes-last-stroke, strokes-global-map, strokes-mode):
	Reflow docstrings.
	(strokes-xpm-for-stroke, strokes-xpm-to-compressed-string)
	(strokes-xpm-for-compressed-string): Use quotes with buffer name.
	(strokes-distance-squared, strokes-global-set-stroke)
	(strokes-global-set-stroke-string): Doc fixes.
	(strokes-help): Fix typos; reflow docstring.

924 925 926 927
2014-03-04  Martin Rudalics  <rudalics@gmx.at>

	* window.el (window-in-direction): Fix doc-string.

Glenn Morris's avatar
Glenn Morris committed
928 929 930 931 932 933
2014-03-04  Glenn Morris  <rgm@gnu.org>

	* emacs-lisp/smie.el (smie-config-guess): Doc fix.
	Explicit error if no grammar.
	(smie-config-save): Doc fix.  Fix quote typo.

934 935
2014-03-04  Stefan Monnier  <monnier@iro.umontreal.ca>

936 937 938 939 940 941 942 943 944 945 946 947
	* progmodes/cc-mode.el (c-initialize-cc-mode): Only hook into
	electric-indent-mode-hook if we obey electric-indent-mode.
	(c-basic-common-init): Use (fboundp 'electric-indent-local-mode) to
	decide whether we obey electric-indent-mode.
	(c-change-set-fl-decl-start, c-extend-after-change-region):
	Silence warnings.
	(c-electric-indent-mode-hook): Assume we do want to obey
	electric-indent-mode.

	* electric.el (electric-indent-mode-has-been-called): Remove.
	(electric-indent-mode): Fix accordingly.

948 949
	* files.el (hack-local-variables): Mention file name in warning.

950 951
	* htmlfontify.el (hfy-fontify-buffer): Drop `invis-range' message.

952 953
2014-03-04  Michal Nazarewicz  <mina86@mina86.com>

Glenn Morris's avatar
Glenn Morris committed
954
	* bindings.el: Add comment describing why C-d binds to `delete-char'.
955 956
	* simple.el (delete-forward-char): Mark as interactive-only.

957 958
2014-03-03  Juanma Barranquero  <lekktu@gmail.com>

959 960
	* icomplete.el (icomplete-completions):
	Follow-up to 2014-03-01 change.
961 962 963 964 965 966 967 968 969 970 971 972 973 974 975 976 977 978 979 980 981 982 983 984 985

	* icomplete.el: Miscellaneous doc fixes.
	Use Icomplete everywhere instead of icomplete for consistency.
	(icomplete-max-delay-chars): Fix typo.
	(icomplete-mode): Use \[].
	(icomplete-tidy, icomplete-exhibit): Reflow.
	(icomplete-minibuffer-setup-hook, icomplete-completions):
	Remove superfluous backlashes.

	* ido.el: Miscellaneous doc fixes.
	Use Ido everywhere instead of ido or `ido' for consistency.
	(ido-record-ftp-work-directories, ido-merge-ftp-work-directories)
	(ido-cache-ftp-work-directory-time, ido-slow-ftp-hosts)
	(ido-slow-ftp-host-regexps, ido-reread-directory): Upcase "ftp".
	(ido-separator): Extract obsolescence info from docstring and declare
	with make-obsolete-variable.
	(ido-minibuffer-setup-hook): Simplify example.
	(ido-text, ido-text-init, ido-input-stack, ido-report-no-match)
	(ido-wide-find-file, ido-wide-find-dir, ido-wide-find-dir-or-delete-dir)
	(ido-completion-help, ido-completing-read): Fix typos in docstrings.
	(ido-everywhere): Reflow docstring.
	(ido-toggle-vc): Doc fix.
	(ido-switch-buffer, ido-find-file): Use tabs to improve legibility
	of long list of keybindings.

986 987 988 989 990 991
2014-03-03  Glenn Morris  <rgm@gnu.org>

	* frame.el (display-pixel-height, display-pixel-width)
	(display-mm-dimensions-alist, display-mm-height)
	(display-mm-width): Doc tweaks.

992
2014-03-02  Barry O'Reilly  <gundaetiapo@gmail.com>
993 994 995 996

	* simple.el (undo-elt-in-region): Fix buffer corruption for edge
	case of undo in region.

997 998 999 1000 1001
2014-03-02  Martin Rudalics  <rudalics@gmx.at>

	* window.el (fit-window-to-buffer): Fix argument in window-size
	call when window is horizontally combined.

1002 1003 1004
2014-03-02  Juanma Barranquero  <lekktu@gmail.com>

	* icomplete.el (icomplete-completions): Use string-width.
1005
	Suggested by Stefan Monnier <monnier@iro.umontreal.ca>.
1006

1007 1008
2014-03-01  Dmitry Gutov  <dgutov@yandex.ru>

1009 1010
	* progmodes/ruby-mode.el (ruby-font-lock-keywords):
	Highlight regexp options.  (Bug#16914)
1011

1012 1013 1014 1015 1016
2014-03-01  Martin Rudalics  <rudalics@gmx.at>

	* window.el (window--max-delta-1): Round down when calculating
	how many lines/columns we can get from a window.

1017 1018
2014-03-01  Glenn Morris  <rgm@gnu.org>

1019 1020
	* isearch.el (search-invisible): Doc fix.

1021 1022 1023 1024 1025 1026 1027 1028 1029
	* minibuffer.el (completion-hilit-commonality):
	Make `base-size' argument optional.  Short-cut if `prefix-len' is 0.
	* comint.el (comint-dynamic-list-completions): Doc fix.
	* comint.el (comint-dynamic-list-completions):
	* filecache.el (file-cache-minibuffer-complete):
	* tempo.el (tempo-display-completions):
	* eshell/em-hist.el (eshell-list-history):
	Replace use of obsolete argument of display-completion-list.

1030 1031 1032 1033 1034
2014-03-01  Juanma Barranquero  <lekktu@gmail.com>

	* icomplete.el (icomplete-completions):
	Revert back to using "..." when ?… cannot be displayed.

1035 1036 1037 1038
2014-02-28  Juanma Barranquero  <lekktu@gmail.com>

	* finder.el (finder-unload-function): New function.

Juanma Barranquero's avatar
Juanma Barranquero committed
1039 1040 1041 1042 1043 1044 1045 1046
2014-02-28  Juanma Barranquero  <lekktu@gmail.com>

	* dframe.el (dframe-detach):
	* find-dired.el (find-dired, find-name-dired):
	* finder.el (finder-mode-map, finder-mode-syntax-table)
	(finder-headmark, finder-select, finder-mouse-select):
	Fix docstring typos.

1047 1048 1049
2014-02-28  Martin Rudalics  <rudalics@gmx.at>

	Revert recent with-temp-buffer-window change (Bug#16816, Bug#16882).
1050 1051 1052 1053
	* window.el (with-temp-buffer-window): Revert change from 2014-02-21.
	Suggested by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
	Fix doc-string based on a suggestion by Nicolas Richard
	<theonewiththeevillook@yahoo.fr>.
1054 1055
	* help.el (with-help-window): Fix doc-string.

1056 1057
2014-02-28  Ivan Kanis  <ivan@kanis.fr>

Glenn Morris's avatar
Glenn Morris committed
1058 1059
	* net/shr.el (shr-image-animate): New option.
	(shr-put-image): Respect shr-image-animate.
1060

1061 1062 1063 1064 1065 1066 1067 1068 1069 1070 1071 1072 1073
2014-02-28  Michael Albinus  <michael.albinus@gmx.de>

	* net/tramp-adb.el (tramp-adb-parse-device-names):
	Use `accept-process-output'.
	(tramp-adb-handle-file-truename): Cache the localname only.
	(tramp-adb-handle-make-directory)
	(tramp-adb-handle-delete-directory): Flush file properties correctly.
	(tramp-adb-handle-set-file-modes): Do not raise an error when file
	modes cannot be changed.

	* net/tramp-cache.el (tramp-flush-directory-property): Remove also
	file properties of symlinks.

1074 1075 1076 1077 1078
2014-02-28  Per Starbäck  <starback@stp.lingfil.uu.se>

	* textmodes/bibtex.el (bibtex-biblatex-entry-alist): Update
	required/optional fields to match development biblatex.  (Bug#16781)

1079 1080 1081 1082 1083
2014-02-28  Andy Sawyer  <andy.sawyer@gmail.com>  (tiny change)

	* saveplace.el (toggle-save-place):
	Fix argument handling.  (Bug#16673)

1084 1085 1086 1087 1088
2014-02-28  Glenn Morris  <rgm@gnu.org>

	* minibuffer.el (completions-first-difference)
	(completions-common-part, completion-hilit-commonality): Doc fixes.

1089 1090 1091 1092 1093
2014-02-28  Karl Berry  <karl@gnu.org>

	* info.el (Info-mode-map): Add H for describe-mode,
	to synchronize with standalone Info.

1094 1095 1096 1097 1098
2014-02-28  Emilio C. Lopes  <eclig@gmx.net>

	* progmodes/sql.el (sql-interactive-mode):
	Avoid setting global comint-input-ring-separator.  (Bug#16814)

1099 1100 1101 1102 1103 1104 1105 1106
2014-02-27  Michael Albinus  <michael.albinus@gmx.de>

	* net/dbus.el (dbus--init-bus): Declare function.
	(dbus-path-local, dbus-interface-local): New defconst.
	(dbus-init-bus): Use them.
	(dbus-return-values-table): Extend doc.
	(dbus-handle-bus-disconnect): Extend error message.

1107 1108 1109 1110
2014-02-27  Juanma Barranquero  <lekktu@gmail.com>

	* subr.el (y-or-n-p): Fix double space issue in message.

1111 1112 1113 1114 1115 1116 1117 1118 1119 1120 1121 1122
2014-02-27  Michael Albinus  <michael.albinus@gmx.de>

	* net/tramp.el (tramp-call-process): Improve trace message.
	(tramp-handle-insert-file-contents): Trace error case.

	* net/tramp-adb.el (tramp-adb-file-name-handler-alist)
	<insert-directory>: Use `tramp-handle-insert-directory'.
	(tramp-adb-handle-insert-directory): Remove function.
	(tramp-adb-send-command-and-check): New defun, replacing
	`tramp-adb-command-exit-status'.  Change all callees.
	(tramp-adb-handle-file-attributes)
	(tramp-adb-handle-directory-files-and-attributes): Use it.
1123 1124
	(tramp-adb-ls-output-name-less-p):
	Use `directory-listing-before-filename-regexp'.
1125 1126 1127 1128 1129 1130 1131 1132 1133 1134
	(tramp-adb-handle-delete-directory): Flush also file properties of
	the truename of directory.
	(tramp-adb-handle-file-name-all-completions): Add "./" and "../".
	(tramp-adb-handle-file-local-copy): Make the local copy readable.
	(tramp-adb-handle-write-region): Implement APPEND.
	(tramp-adb-handle-rename-file): Make it more robust.  Flush file
	properties correctly.
	(tramp-adb-maybe-open-connection): Set `tramp-current-*'
	variables.  Check for connected devices only when needed.

Glenn Morris's avatar
Glenn Morris committed
1135 1136
2014-02-27  Glenn Morris  <rgm@gnu.org>

1137 1138 1139
	* minibuffer.el (completion-table-dynamic)
	(completion-table-with-cache): Doc fixes.

Glenn Morris's avatar
Glenn Morris committed
1140 1141 1142
	* emacs-lisp/crm.el (crm-default-separator, crm-separator)
	(completing-read-multiple): Doc fixes.

1143 1144
2014-02-27  Daniel Colascione  <dancol@dancol.org>

1145 1146
	* minibuffer.el (completion--nth-completion): Fix indentation.

1147 1148 1149
	* net/tramp-sh.el (tramp-get-remote-path): Don't signal error when
	explicit tramp path is empty.

1150 1151 1152 1153 1154
2014-02-27  Glenn Morris  <rgm@gnu.org>

	* emacs-lisp/crm.el (completing-read-multiple):
	Empower help-enable-auto-load.

1155 1156
2014-02-26  Glenn Morris  <rgm@gnu.org>

1157 1158
	* startup.el (command-line): Don't init the tty in daemon mode.

1159 1160 1161 1162 1163 1164 1165
	Avoid calling tty-setup-hook twice, eg if a term file
	explicitly calls tty-run-terminal-initialization.  (Bug#16859)
	* faces.el (tty-run-terminal-initialization): Add run-hook argument.
	(tty-create-frame-with-faces): Use it.
	* startup.el (command-line): Pass run-hook argument
	to tty-run-terminal-initialization.

1166 1167 1168
	* dired.el (dired-restore-desktop-buffer): Demote errors;
	eg in case a glob match fails.  (Bug#16884)

1169 1170
2014-02-26  Dmitry Gutov  <dgutov@yandex.ru>

1171 1172 1173
	* emacs-lisp/lisp.el (lisp--local-variables): Catch `end-of-file'
	error from `read-from-string'.  (Bug#16850)

1174 1175 1176
	* emacs-lisp/ert.el (ert-run-tests-interactively): `read' the
	result of `completing-read' in the interactive form.  (Bug#16854)

1177 1178
2014-02-25  Glenn Morris  <rgm@gnu.org>

1179 1180 1181
	* image.el (image-animate, image-animate-timeout):
	Stop animating images in dead buffers.  (Bug#16878)

1182 1183
	* emacs-lisp/edebug.el (defmacro): Fix debug spec.  (Bug#16868)

1184 1185
	* faces.el (tty-setup-hook, tty-run-terminal-initialization):
	Doc fixes.
1186 1187 1188 1189 1190 1191
	* startup.el (term-setup-hook): Doc fix.  Make obsolete.
	* term/sun.el (sun-raw-prefix-hooks):
	Use tty-setup-hook instead of term-setup-hook.
	(terminal-init-sun): Construct message from bytecomp plist.
	* term/wyse50.el (enable-arrow-keys): Doc fix.

1192 1193 1194 1195 1196
2014-02-24  Juanma Barranquero  <lekktu@gmail.com>

	* term/sun.el (kill-region-and-unmark, sun-raw-prefix-hooks):
	Fix docstring typos.

1197 1198 1199 1200
2014-02-24  Michael Albinus  <michael.albinus@gmx.de>

	* net/tramp-sh.el (tramp-sh-handle-file-truename): Improve last fix.

1201 1202 1203 1204 1205
2014-02-24  Nicolas Richard  <theonewiththeevillook@yahoo.fr>

	* minibuffer.el (completion--try-word-completion):
	Fix error when completing M-x commands (bug#16808).

1206 1207 1208 1209
2014-02-24  Leo Liu  <sdl.web@gmail.com>

	* emacs-lisp/easy-mmode.el (define-minor-mode): Fix debug spec.

1210 1211 1212 1213 1214
2014-02-24  Juanma Barranquero  <lekktu@gmail.com>

	* apropos.el (apropos-print): Avoid formatting error when
	apropos-do-all and apropos-compact-layout are both t.

Juanma Barranquero's avatar
Juanma Barranquero committed
1215 1216 1217 1218 1219 1220
2014-02-23  Juanma Barranquero  <lekktu@gmail.com>

	* apropos.el (apropos-property, apropos-all-words-regexp)
	(apropos-true-hit, apropos-variable, apropos-print):
	Fix docstring typos, and remove obsolete comment.

1221 1222 1223 1224 1225
2014-02-23  Michael Albinus  <michael.albinus@gmx.de>

	* net/tramp-sh.el (tramp-sh-handle-file-truename):
	Preserve trailing "/".  (Bug#16851)

1226 1227 1228 1229
2014-02-23  Dmitry Gutov  <dgutov@yandex.ru>

	* progmodes/ruby-mode.el (ruby-smie-rules): Don't indent specially
	after `=>' (bug#16811).
1230 1231 1232 1233
	(ruby-smie-rules): Handle the inconsistent second element of the
	list returned by `smie-indent--parent'.
	(ruby-font-lock-keywords): Disqualify any identifier before `=' as
	method call.
1234

1235 1236 1237 1238 1239 1240 1241 1242
2014-02-23  Juanma Barranquero  <lekktu@gmail.com>

	* elec-pair.el (electric-pair-text-syntax-table)
	(electric-pair-syntax-info, electric-pair--syntax-ppss)
	(electric-pair--balance-info, electric-pair-mode): Fix docstring typos.
	(electric-pair--looking-at-unterminated-string-p): Doc fix.
	(electric-pair--inside-string-p): Doc fix.  Use `let', not `let*'.

1243 1244
2014-02-22  Glenn Morris  <rgm@gnu.org>

1245 1246
	* imenu.el (imenu--generic-function): Doc fix.

1247 1248
	* register.el (frame-configuration-to-register): Make obsolete.

1249 1250 1251 1252 1253 1254
2014-02-22  Juanma Barranquero  <lekktu@gmail.com>

	* desktop.el (desktop-save-buffer-p): Do not fail when
	desktop-files-not-to-save is nil.  Return t for true result
	as the doc says.

1255 1256
2014-02-22  Daniel Colascione  <dancol@dancol.org>

1257
	* net/secrets.el (secrets-create-item, secrets-search-items):
1258 1259
	Check that attribute values are strings, avoiding the construction
	of invalid dbus messages.
1260

1261 1262 1263 1264 1265
2014-02-21  Juanma Barranquero  <lekktu@gmail.com>

	* emacs-lisp/gv.el: Avoid duplicating gv-expander and gv-setter in
	defun-declarations-alist.

1266 1267 1268 1269 1270
2014-02-21  Stefan Monnier  <monnier@iro.umontreal.ca>

	* emacs-lisp/cl-macs.el (cl-define-compiler-macro): Add indent rule
	(bug#16829).

1271 1272 1273 1274 1275 1276 1277
2014-02-21  Juanma Barranquero  <lekktu@gmail.com>

	* whitespace.el (whitespace-space, whitespace-hspace, whitespace-tab)
	(whitespace-newline, whitespace-trailing, whitespace-line)
	(whitespace-space-before-tab, whitespace-indentation, whitespace-empty)
	(whitespace-space-after-tab): Fix typo in docstrings.

1278 1279
2014-02-21  Dmitry Gutov  <dgutov@yandex.ru>

1280 1281
	* progmodes/ruby-mode.el (auto-mode-alist): Add missing "or".

1282 1283 1284
	* electric.el (electric-indent-functions-without-reindent):
	Add `yaml-indent-line'.

1285 1286
2014-02-21  Juanma Barranquero  <lekktu@gmail.com>

1287 1288 1289
	* w32-vars.el (w32-enable-synthesized-fonts): Mark as obsolete.
	It has done nothing for years; should be removed after the release.

1290 1291 1292 1293 1294
	* simple.el (choose-completion): Fix docstring typo.
	(read-quoted-char-radix): Remove unneeded * in docstring.
	(process-file, kill-whole-line, pop-to-mark-command, set-mark-command):
	Don't escape parentheses unnecessarily in docstrings.

1295 1296 1297
2014-02-21  Martin Rudalics  <rudalics@gmx.at>

	Fix handling of window-min-height/-width (Bug#16738).
1298 1299 1300 1301
	* window.el (window--dump-window, window--dump-frame):
	New functions.
	(window--min-size-1): Account for window dividers.
	When window-resize-pixelwise is nil, delay rounding till after the
1302 1303 1304 1305 1306 1307 1308 1309 1310 1311
	sum of the window components has been calculated.
	(window--min-delta-1, window--max-delta-1): When PIXELWISE is
	nil make sure at least one text line and two text columns remain
	fully visible.
	(window-resize): Signal an error when window-resize-apply fails.
	(window--resize-child-windows): Fix calculation of by how many
	pixels a window can still be shrunk via window-new-normal.
	(adjust-window-trailing-edge): Call window--resizable with
	correct TRAIL argument.

1312 1313 1314
	(with-temp-buffer-window): Don't evaluate BODY within
	with-current-buffer (Bug#16816).

1315 1316 1317 1318 1319
2014-02-21  Michael Albinus  <michael.albinus@gmx.de>

	* net/tramp.el (tramp-check-cached-permissions):
	Call `file-attributes' with `suffix' being a symbol but a string.

1320 1321 1322 1323 1324 1325 1326 1327 1328 1329 1330 1331 1332 1333 1334
2014-02-21  Daniel Colascione  <dancol@dancol.org>

	* net/dbus.el (dbus-init-bus-1): Declare new subr.
	(dbus-init-bus): New function: call into dbus-init-bus-1
	and installs a handler for the disconnect signal.
	(dbus-call-method): Rewrite to look for result in cons.
	(dbus-call-method-handler): Store result in cons.
	(dbus-check-event): Recognize events with nil sender as valid.
	(dbus-handle-bus-disconnect): New function.  React to bus
	disconnection signal by synthesizing dbus error for each
	pending synchronous or asynchronous call.
	(dbus-notice-synchronous-call-errors): New function.
	(dbus-handle-event): Raise errors directly only when `dbus-debug'
	is true, not all the time.

1335 1336
2014-02-21  Juanma Barranquero  <lekktu@gmail.com>

1337 1338 1339
	* w32-fns.el (w32-enable-italics, w32-charset-to-codepage-alist):
	Remove obsolescence declarations, these variables do not exist anymore.

1340 1341 1342 1343 1344 1345 1346
	* savehist.el (savehist-save-minibuffer-history)
	(savehist-additional-variables, savehist-file, savehist-mode-hook)
	(savehist-save-hook, savehist-coding-system, savehist-loaded)
	(savehist-load, savehist-install, savehist-autosave): Fix typos;
	mostly, refer to "Savehist mode" when talking about the mode,
	and not the function.

1347 1348 1349 1350 1351
	* saveplace.el (save-place): Remove redundant info in docstring.
	(save-place-forget-unreadable-files, toggle-save-place)
	(save-place-forget-unreadable-files, save-place-dired-hook):
	Fix typos and remove unneeded backslashes.

1352 1353 1354 1355 1356 1357
2014-02-20  Michael Albinus  <michael.albinus@gmx.de>

	* net/tramp.el (ls-lisp-use-insert-directory-program): Declare.
	(tramp-handle-insert-directory): New defun, taken from tramp-gvfs.el.

	* net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist)
1358
	<insert-directory>: Use `tramp-handle-insert-directory'.
1359 1360 1361 1362 1363
	(tramp-gvfs-handle-insert-directory): Remove function.

	* net/tramp-sh.el (tramp-sh-handle-insert-directory):
	Call `tramp-handle-insert-directory'.

1364 1365 1366 1367 1368
2014-02-20  Juanma Barranquero  <lekktu@gmail.com>

	* elec-pair.el (electric-pair-syntax-info): Do not check syntax
	before the start of buffer/region (bug#16799).

Glenn Morris's avatar
Glenn Morris committed
1369 1370 1371 1372
2014-02-20  Glenn Morris  <rgm@gnu.org>

	* isearch.el (search-invisible): Doc fix.

1373 1374 1375 1376 1377
2014-02-20  W. Trevor King  <wking@tremily.us>  (tiny change)

	* term/xterm.el (xterm--version-handler): Adapt to xterm-280's output
	(bug#16657).

1378 1379 1380 1381 1382
2014-02-19  Juanma Barranquero  <lekktu@gmail.com>

	* frameset.el (frameset-restore): Delay removing an old frame's
	duplicate id until the new frame has been correctly created.

1383 1384 1385 1386 1387 1388 1389
2014-02-19  Michael Albinus  <michael.albinus@gmx.de>

	* net/tramp.el (tramp-handle-make-symbolic-link): New defun.
	(tramp-check-cached-permissions): Call `file-attributes' if the
	cache is empty.

	* net/tramp-adb.el (tramp-adb-file-name-handler-alist)
Glenn Morris's avatar
Glenn Morris committed
1390
	<make-symbolic-link>: Use `tramp-handle-make-symbolic-link'.
1391 1392

	* net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist)
Glenn Morris's avatar
Glenn Morris committed
1393
	<make-symbolic-link>: Use `tramp-handle-make-symbolic-link'.
1394 1395 1396 1397 1398 1399 1400 1401 1402 1403 1404 1405 1406 1407 1408 1409
	(tramp-gvfs-maybe-open-connection): Set always connection
	properties, even if target is mounted already.

	* net/tramp-sh.el (tramp-color-escape-sequence-regexp):
	Set tramp-autoload cookie.
	(tramp-get-remote-touch): New defun.
	(tramp-sh-handle-set-file-times): Use it.
	(tramp-sh-handle-directory-files-and-attributes):
	Use `tramp-handle-directory-files-and-attributes' if neither stat
	nor perl are available on the remote host.

	* net/tramp-smb.el (tramp-smb-handle-insert-directory): Mark trailing
	"/".  Write long listing only when "l" belongs to the switches.

	* net/trampver.el: Update release number.

1410 1411 1412 1413
2014-02-19  Juanma Barranquero  <lekktu@gmail.com>

	* frameset.el (frameset--reuse-frame): Remove workaround for bug#16793.

1414 1415 1416 1417 1418
2014-02-19  Martin Rudalics  <rudalics@gmx.at>

	* window.el (window-state-put): Allow WINDOW to refer to an
	internal window (Bug#16793).

Glenn Morris's avatar
Glenn Morris committed
1419 1420 1421 1422 1423 1424
2014-02-19  Glenn Morris  <rgm@gnu.org>

	* textmodes/remember.el: Move provide statement to end.
	(remember-mode-map, remember-notes-mode-map, remember-notes-mode)
	(remember-notes): Doc fixes.

1425 1426 1427 1428 1429
2014-02-18  Stefan Monnier  <monnier@iro.umontreal.ca>

	* delsel.el (delete-char): Restore incorrectly erased property
	(bug#16795).

1430 1431 1432 1433 1434 1435
2014-02-18  Juanma Barranquero  <lekktu@gmail.com>

	* frameset.el (frameset--restore-frame): When a frame is being reused
	and its root window is not alive, delete all the frame's windows before
	restoring the window state.  This works around the issue in bug#16793.

Glenn Morris's avatar
Glenn Morris committed
1436 1437
2014-02-18  Glenn Morris  <rgm@gnu.org>

Glenn Morris's avatar
Glenn Morris committed
1438 1439 1440 1441 1442 1443
	* textmodes/remember.el (remember-data-directory)
	(remember-directory-file-name-format, remember-store-in-files)
	(remember-notes-initial-major-mode, remember-notes-bury-on-kill)
	(remember-notes-save-and-bury-buffer)
	(remember-notes--kill-buffer-query): Doc fixes.

Glenn Morris's avatar
Glenn Morris committed
1444 1445
	* desktop.el (desktop-save-mode, desktop-auto-save-timeout): Doc fixes.

1446 1447 1448
2014-02-17  Alan Mackenzie  <acm@muc.de>

	Connect electric-indent-mode up with CC Mode.  Bug #15478.
1449
	* progmodes/cc-mode.el (c-initialize-cc-mode): Add CC Mode hooks
1450
	to electric-indent-{,local-}-mode.
1451 1452
	(c-basic-common-init): Set electric-indent-inhibit.
	Initialise c-electric-flag from electric-indent-mode.
1453
	(c-electric-indent-mode-hook, c-electric-indent-local-mode-hook):
1454
	New hook functions which propagate electric-indent-mode to CC mode.
1455 1456

	* progmodes/cc-cmds.el (c-toggle-electric-state): When C-c C-l is
1457
	hit, toggle electric-indent-local-mode.
1458

1459 1460
	* electric.el (electric-indent-mode-has-been-called):
	New variable.
1461

1462 1463 1464 1465 1466 1467
2014-02-17  Juanma Barranquero  <lekktu@gmail.com>

	* frameset.el (frameset-cfg-id): New function.
	(frameset--reuse-frame, frameset-restore): Use it.
	(frameset--jump-to-register): Try harder to reuse frames (bug#16748).

1468 1469 1470 1471 1472
2014-02-17  Stefan Monnier  <monnier@iro.umontreal.ca>

	* ido.el (ido-file-internal): Remove unused var `d'.
	Use \` for to match BoS.  Fit within 80n columns.

1473 1474 1475 1476 1477 1478
2014-02-17  Daniel Colascione  <dancol@dancol.org>

	* net/dbus.el (dbus-call-method): Work around bug#16775 by having
	dbus-call-method check for completion using a busy-wait loop with
	gradual backoff.

Michael Albinus's avatar
Michael Albinus committed
1479
2014-02-16  Michael Albinus  <michael.albinus@gmx.de>