ChangeLog 270 KB
Newer Older
1 2 3 4
2013-09-06  Glenn Morris  <rgm@gnu.org>

	* replace.el (replace-string): Doc fix re start/end.  (Bug#15275)

5 6 7 8 9
2013-09-05  Dmitry Gutov  <dgutov@yandex.ru>

	* progmodes/ruby-mode.el (ruby-font-lock-keywords): Move "Perl-ish
	keywords" below "here-doc beginnings" (Bug#15270).

10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30
2013-09-05  Stefan Monnier  <monnier@iro.umontreal.ca>

	* subr.el (pop): Use `car-safe'.
	* emacs-lisp/byte-opt.el (byte-optimize-form-code-walker): Remove hack
	to detect unused `pop' return value.

	* progmodes/python.el (python-nav-beginning-of-block): Remove unused
	var `block-regexp'.
	(python-nav--forward-sexp): Remove unused var `re-search-fn'.
	(python-fill-string): Remove unused var `marker'.
	(python-skeleton-add-menu-items): Remove unused var `items'.

	* international/mule-cmds.el: Require CL.
	(find-coding-systems-for-charsets): Avoid add-to-list.
	(sanitize-coding-system-list): New function, extracted from
	select-safe-coding-system-interactively.
	(select-safe-coding-system-interactively): Use it.
	(read-input-method-name): Accept symbols for `default'.

	* emacs-lisp/advice.el (defadvice): Add indent rule.

Daniel Hackney's avatar
Daniel Hackney committed
31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53
2013-09-05  Daniel Hackney  <dan@haxney.org>

	* dired-x.el:
	* net/ange-ftp.el:
	* net/browse-url.el:
	* net/dbus.el:
	* net/eudc.el:
	* net/eudcb-ldap.el:
	* net/eww.el:
	* net/imap.el:
	* printing.el:
	* vc/ediff-diff.el:
	* vc/ediff-init.el:
	* vc/ediff-merg.el:
	* vc/ediff-mult.el:
	* vc/ediff-util.el:
	* vc/ediff-wind.el:
	* vc/ediff.el:
	* vc/emerge.el:
	* vc/pcvs.el:
	* vc/vc-annotate.el: Prefix unused arguments with `_' to silence
	byte compiler.  Remove some unused let-bound variables.

54 55 56 57 58
2013-09-05  Stefan Monnier  <monnier@iro.umontreal.ca>

	* emacs-lisp/cconv.el: Use `car-safe' rather than `car' to access
	a "ref-cell", since it gets better optimized (bug#14883).

59 60 61 62
2013-09-05  Glenn Morris  <rgm@gnu.org>

	* progmodes/cc-awk.el (c-forward-sws): Declare.

63 64 65 66 67 68
2013-09-04  Glenn Morris  <rgm@gnu.org>

	* generic-x.el [rul-generic-mode]: Require cc-mode.
	(c++-mode-syntax-table): Declare.
	(rul-generic-mode-syntax-table): Init in the defvar.

69 70
2013-09-04  Stefan Monnier  <monnier@iro.umontreal.ca>

Stefan Monnier's avatar
Stefan Monnier committed
71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94
	* vc/vc-dispatcher.el (vc-run-delayed): New macro.
	(vc-do-command, vc-set-async-update):
	* vc/vc-mtn.el (vc-mtn-dir-status):
	* vc/vc-hg.el (vc-hg-dir-status, vc-hg-dir-status-files)
	(vc-hg-pull, vc-hg-merge-branch):
	* vc/vc-git.el (vc-git-dir-status-goto-stage, vc-git-pull)
	(vc-git-merge-branch):
	* vc/vc-cvs.el (vc-cvs-print-log, vc-cvs-dir-status)
	(vc-cvs-dir-status-files):
	* vc/vc-bzr.el (vc-bzr-pull, vc-bzr-merge-branch, vc-bzr-dir-status)
	(vc-bzr-dir-status-files):
	* vc/vc-arch.el (vc-arch-dir-status): Use vc-run-delayed.
	* vc/vc-annotate.el: Use lexical-binding.
	(vc-annotate-display-select, vc-annotate): Use vc-run-delayed.
	(vc-sentinel-movepoint): Declare.
	(vc-annotate): Don't use `goto-line'.
	* vc/vc.el (vc-diff-internal): Prefer a closure to `(lambda...).
	(vc-diff-internal, vc-log-internal-common): Use vc-run-delayed.
	(vc-sentinel-movepoint): Declare.
	* vc/vc-svn.el: Use lexical-binding.
	(vc-svn-dir-status, vc-svn-dir-status-files): Use vc-run-delayed.
	* vc/vc-sccs.el:
	* vc/vc-rcs.el: Use lexical-binding.

95 96 97
	* autorevert.el (auto-revert-notify-handler): Explicitly ignore
	`deleted'.  Don't drop errors silently.

98 99
	* emacs-lisp/gv.el (gv-get): Warn about CL-compiled places.

Xue Fuqiao's avatar
Xue Fuqiao committed
100 101 102 103 104 105 106 107 108 109 110
2013-09-04  Xue Fuqiao  <xfq.free@gmail.com>

	* vc/vc.el (vc-ignore): Rewrite.
	(vc-default-ignore): New function.
	(vc-default-ignore-completion-table): Use find-ignore-file.

	* vc/vc-bzr.el (vc-bzr-ignore, vc-bzr-ignore-completion-table):
	* vc/vc-git.el (vc-git-ignore, vc-git-ignore-completion-table):
	* vc/vc-hg.el (vc-hg-ignore, vc-hg-ignore-completion-table):
	Remove.  Most code moved to vc.el.

111 112
2013-09-03  Stefan Monnier  <monnier@iro.umontreal.ca>

113
	* net/tramp-gvfs.el (tramp-gvfs-mount-spec, tramp-synce-list-devices):
114 115 116 117
	* net/tramp-smb.el (tramp-smb-get-file-entries):
	* net/tramp-sh.el (tramp-sh-handle-insert-directory)
	(tramp-compute-multi-hops): Fix misuses of `add-to-list'.

118 119 120 121 122 123 124
	* net/eww.el (eww-display-raw): Remove unused argument `charset'.
	Update call to it.
	(eww-change-select): Remove unused var `properties'.
	(eww-make-unique-file-name): Remove unused var `base'.

	* finder.el (finder-compile-keywords): Don't mess with windows.

125 126
	* calculator.el (calculator-funcall): Fix typo in last change.

127 128
	* vc/vc-git.el (vc-git-checkin): Make it possible to commit a merge.

129 130 131
	* emacs-lisp/package.el (package-activate-1): Don't let a missing
	<pkg>-autoloads.el file stop us.

132
	* net/tramp.el (with-parsed-tramp-file-name): Silence compiler
133
	warnings, and factor out common code.
134

135 136 137 138 139 140
2013-09-03  Dmitry Gutov  <dgutov@yandex.ru>

	* progmodes/ruby-mode.el (ruby-calculate-indent): Consider
	two-character operators and whether the character preceding them
	changes their meaning (Bug#15208).

141 142 143
2013-09-02  Fabián Ezequiel Gallina  <fgallina@gnu.org>

	Format code sent to Python shell for robustness.
144 145
	* progmodes/python.el (python-shell-buffer-substring):
	New function.
146 147
	(python-shell-send-region, python-shell-send-buffer): Use it.

148 149 150 151 152 153 154 155 156 157 158 159
2013-09-02  Michael Albinus  <michael.albinus@gmx.de>

	* net/tramp-compat.el (tramp-compat-user-error): Move it ...
	* net/tramp.el (tramp-user-error): ... here.
	(tramp-find-method, tramp-check-proper-host)
	(tramp-dissect-file-name, tramp-debug-message)
	(tramp-handle-shell-command):
	* net/tramp-adb.el (tramp-adb-handle-shell-command):
	* net/tramp-gvfs.el (tramp-gvfs-file-name-handler): Adapt callees.

	* net/tramp-cache.el (tramp-cache-print): Don't print text properties.

160 161 162 163 164 165
2013-09-02  Martin Rudalics  <rudalics@gmx.at>

	* avoid.el (mouse-avoidance-point-position)
	(mouse-avoidance-too-close-p): Handle case where posn-at-point
	returns nil.

166 167 168 169
2013-09-02  Fabián Ezequiel Gallina  <fgallina@gnu.org>

	* progmodes/python.el (python-shell-completion-get-completions):
	Drop use of deleted `comint-last-prompt-overlay'.
170
	(python-nav-if-name-main): New command.
171

172 173
2013-09-01  Glenn Morris  <rgm@gnu.org>

174 175 176 177
	* Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
	Avoid leading space in $wins.  Otherwise the sed command used by
	eg compile-main ends up containing "/*.el".  (Bug#15170)

178 179
	* frame.el (frame-background-mode): Doc fix.  (Bug#15226)

180 181 182 183 184
2013-08-30  Glenn Morris  <rgm@gnu.org>

	* emacs-lisp/bytecomp.el (byte-recompile-directory):
	Fix is-this-a-directory logic.  (Bug#15220)

185 186
2013-08-29  Stefan Monnier  <monnier@iro.umontreal.ca>

187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213
	* textmodes/css-mode.el: Use SMIE.
	(css-smie-grammar): New var.
	(css-smie--forward-token, css-smie--backward-token)
	(css-smie-rules): New functions.
	(css-mode): Use them.
	(css-navigation-syntax-table): Remove var.
	(css-backward-sexp, css-forward-sexp, css-indent-calculate-virtual)
	(css-indent-calculate, css-indent-line): Remove functions.

	Misc changes to reduce use of `(lambda...); and other cleanups.
	* cus-edit.el: Use lexical-binding.
	(customize-push-and-save, customize-apropos)
	(custom-buffer-create-internal): Use closures.
	* progmodes/bat-mode.el (bat-mode-syntax-table): "..." are strings.
	* progmodes/ada-xref.el: Use setq.
	* net/tramp.el (with-tramp-progress-reporter): Avoid setq.
	* dframe.el: Use lexical-binding.
	(dframe-frame-mode): Fix calling convention for hooks.  Use a closure.
	* speedbar.el (speedbar-frame-mode): Adjust call accordingly.
	* descr-text.el: Use lexical-binding.
	(describe-text-widget, describe-text-sexp, describe-property-list):
	Use closures.
	* comint.el (comint-history-isearch-push-state): Use a closure.
	* calculator.el: Use lexical-binding.
	(calculator-number-to-string): Make it work with lexical-binding.
	(calculator-funcall): Same and use cl-letf.

214 215 216 217
	* emacs-lisp/lisp.el (lisp--company-doc-buffer)
	(lisp--company-doc-string, lisp--company-location): New functions.
	(lisp-completion-at-point): Use them to improve Company support.

218 219 220 221 222 223 224 225 226
	* progmodes/ruby-mode.el (ruby-smie-grammar): Add rule for formal
	params of lambda expressions.
	(ruby-smie--implicit-semi-p): Refine rule (bug#15208).
	(ruby-smie--opening-pipe-p): New function.
	(ruby-smie--forward-token, ruby-smie--backward-token): Handle Ruby
	symbols and matched |...| for formal params.
	(ruby-smie-rules): Don't let the formal params of a "do" prevent it
	from being treated as hanging.  Handle "rescue".

227 228 229 230 231
2013-08-29  Glenn Morris  <rgm@gnu.org>

	* progmodes/cc-engine.el (c-pull-open-brace):
	Move definition before use.

232 233 234 235 236 237 238
2013-08-29  Stefan Monnier  <monnier@iro.umontreal.ca>

	* emacs-lisp/cl-macs.el (cl-defsubst): Make it clear that args
	are immutable.  Don't use `unsafe' any more.
	(cl--defsubst-expand): Don't substitute at the same time as keeping
	a residual unused let-binding.  Don't use `unsafe' any more.

239 240
2013-08-29  Glenn Morris  <rgm@gnu.org>

241 242 243
	* calendar/cal-china.el (calendar-chinese-year-cache):
	Recenter on 2015.

244 245 246
	* nxml/nxml-util.el (nxml-debug-clear-inside):
	Use cl-loop rather than loop.

247 248
	* net/eww.el (eww-mode-map): Lower-case menu bar entries look bad.

249 250
	* progmodes/sh-script.el (sh-builtins) <bash>: Add some bash4-isms.

251 252
2013-08-28  Glenn Morris  <rgm@gnu.org>

253 254
	* progmodes/antlr-mode.el: No need to require cc-mode twice.

255 256
	* progmodes/cc-bytecomp.el (cc-require): Handle uncompiled case.

257 258
	* progmodes/cc-mode.el (c-define-abbrev-table): Handle NAME unbound.

259 260
2013-08-28  Stefan Monnier  <monnier@iro.umontreal.ca>

261 262 263 264
	* simple.el (repeat-complex-command--called-interactively-skip):
	New function.
	(repeat-complex-command): Use it (bug#14136).

265 266 267 268 269 270 271 272 273 274 275 276 277
	* progmodes/cc-mode.el: Minor cleanup of var declarations.
	(c-define-abbrev-table): Add `doc' argument.
	(c-mode-abbrev-table, c++-mode-abbrev-table)
	(objc-mode-abbrev-table, java-mode-abbrev-table)
	(idl-mode-abbrev-table, pike-mode-abbrev-table)
	(awk-mode-abbrev-table): Use it.
	(c-mode-syntax-table, c-mode-map, c++-mode-syntax-table)
	(c++-mode-map, objc-mode-syntax-table, objc-mode-map)
	(java-mode-syntax-table, java-mode-map, idl-mode-syntax-table)
	(idl-mode-map, pike-mode-syntax-table, pike-mode-map, awk-mode-map):
	Move initialization into the declaration; and remove any
	autoload cookie.

278 279 280
	* epg.el (epg--process-filter): Use with-current-buffer, save-excursion
	and dynamic let binding.

281 282
	* vc/smerge-mode.el: Remove redundant :group args.

283 284 285
	* emacs-lisp/package.el (package-activate-1): Don't add unnecessarily
	to load-path.

286 287 288 289 290 291 292
2013-08-28  Juri Linkov  <juri@jurta.org>

	* isearch.el (isearch-reread-key-sequence-naturally): Use non-nil
	arg DONT-DOWNCASE-LAST of `read-key-sequence'.
	(isearch-other-meta-char): Handle an undefined shifted printing
	character by downshifting it.  (Bug#15200)

293 294 295 296 297
2013-08-28  Juri Linkov  <juri@jurta.org>

	* isearch.el (isearch-search): Change regexp error message for
	non-regexp searches.  (Bug#15166)

298 299 300 301 302
2013-08-28  Paul Eggert  <eggert@cs.ucla.edu>

	* Makefile.in (SHELL): Now @SHELL@, not /bin/sh,
	for portability to hosts where /bin/sh has problems.

303 304 305 306
2013-08-28  Stefan Monnier  <monnier@iro.umontreal.ca>

	* emacs-lisp/cconv.el (cconv--analyse-function): Improve warning.

307 308 309 310 311
2013-08-27  Juri Linkov  <juri@jurta.org>

	* isearch.el (isearch-other-meta-char): Don't store kmacro commands
	in the keyboard macro.  (Bug#15126)

312 313 314 315 316 317
2013-08-27  Juri Linkov  <juri@jurta.org>

	* isearch.el (isearch-quote-char): Comment out converting unibyte
	to multibyte, thus syncing with its `quoted-insert' counterpart.
	(Bug#15166)

318 319 320
2013-08-27  Martin Rudalics  <rudalics@gmx.at>

	* window.el (display-buffer-use-some-window): Add missing
321 322
	argument in call of get-largest-window (Bug#15185).
	Reported by Stephen Leake.
323

324
2013-08-27  Glenn Morris  <rgm@gnu.org>
325 326 327

	* emacs-lisp/package.el (package-buffer-info): Fix message typo.

328 329 330 331 332
2013-08-27  Stefan Monnier  <monnier@iro.umontreal.ca>

	* progmodes/python.el (python-font-lock-keywords): Don't return nil
	from a matcher-function unless there's no more matches (bug#15161).

333 334 335 336 337 338 339 340 341 342 343 344 345 346
2013-08-26  Michael Albinus  <michael.albinus@gmx.de>

	* minibuffer.el: Revert change from 2013-08-20.

	* net/tramp.el (tramp-find-method, tramp-find-user): Mark result
	with text property `tramp-default', if appropriate.
	(tramp-check-proper-host): New defun.
	(tramp-dissect-file-name): Do not check hostname.  Revert change
	of 2013-03-18.
	(tramp-backtrace): Make VEC-OR-PROC optional.

	* net/tramp-adb.el (tramp-adb-maybe-open-connection):
	* net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
	* net/tramp-sh.el (tramp-maybe-open-connection):
347 348
	* net/tramp-smb.el (tramp-smb-maybe-open-connection):
	Apply `tramp-check-proper-host'.
349

350 351 352 353 354
2013-08-26  Tassilo Horn  <tsdh@gnu.org>

	* epa-hook.el (epa-file-encrypt-to): Quote `safe-local-variable'
	lambda expression in order to have `describe-variable' display it.

355 356 357 358 359
2013-08-26  Michael Albinus  <michael.albinus@gmx.de>

	* net/tramp-sh.el (tramp-sh-handle-verify-visited-file-modtime):
	BUF can be optional.  (Bug#15186)

360 361 362 363 364
2013-08-25  Xue Fuqiao  <xfq.free@gmail.com>

	* progmodes/flymake.el (flymake-get-real-file-name-function):
	Fix broken customization.  (Bug#15184)

365 366
2013-08-25  Alan Mackenzie  <acm@muc.de>

367 368 369 370 371 372
	Improve indentation of bracelists defined by macros (without "=").

	* progmodes/cc-engine.el (c-inside-bracelist-p): When a macro
	expansion begins with "{", regard it as bracelist when it doesn't
	contain a ";".

373 374 375 376 377 378 379 380
	Parse C++ inher-intro when there's a template split over 2 lines.

	* progmodes/cc-engine.el (c-guess-basic-syntax CASE 5C): Code more
	rigorously the search for "class" etc. followed by ":".

	* progmodes/cc-langs.el (c-opt-<>-sexp-key): Make the value for
	random languages a regexp which never matches rather than nil.

381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396
	Handle "/"s more accurately in test for virtual semicolons (AWK Mode).

	* progmodes/cc-awk.el (c-awk-one-line-possibly-open-string-re)
	(c-awk-regexp-one-line-possibly-open-char-list-re)
	(c-awk-one-line-possibly-open-regexp-re)
	(c-awk-one-line-non-syn-ws*-re): Remove.
	(c-awk-possibly-open-string-re, c-awk-non-/-syn-ws*-re)
	(c-awk-space*-/-re, c-awk-space*-regexp-/-re)
	(c-awk-space*-unclosed-regexp-/-re): New constants.
	(c-awk-at-vsemi-p): Reformulate better to recognize "/"s which
	aren't regexp delimiters.

	* progmodes/cc-engine.el (c-crosses-statement-barrier-p): Add in
	handling for a rare situation in AWK Mode involving unterminated
	strings/regexps.

397 398
2013-08-23  Glenn Morris  <rgm@gnu.org>

399 400
	* files.el (auto-mode-alist): Use sh-mode for .bash_history.

401 402
	* files.el (interpreter-mode-alist): Use tcl-mode for expect scripts.

403 404
	* files.el (create-file-buffer): If the result would begin with
	spaces, prepend a "|" instead of removing them.  (Bug#15162)
405

406 407
2013-08-23  Stefan Monnier  <monnier@iro.umontreal.ca>

408 409 410
	* textmodes/fill.el (fill-match-adaptive-prefix): Don't throw away
	text-properties (bug#15155).

411 412 413 414 415
	* calc/calc-keypd.el (calc-keypad-execute): `x-flush-mouse-queue' doesn't
	exist any more.
	(calc-keypad-redraw): Remove unused var `pad'.
	(calc-keypad-press): Remove unused var `menu'.

416 417
2013-08-23  Martin Rudalics  <rudalics@gmx.at>

418 419
	* window.el (display-buffer-pop-up-frame):
	Call pop-up-frame-function with BUFFER current so `make-frame' will
420 421
	use it as the new frame's buffer (Bug#15133).

422 423 424 425 426 427 428 429 430 431 432 433 434
2013-08-22  Stefan Monnier  <monnier@iro.umontreal.ca>

	* calendar/timeclock.el: Minor cleanups.
	(timeclock-ask-before-exiting, timeclock-use-display-time):
	Use `symbol'.
	(timeclock-modeline-display): Define as alias before the
	actual definition.
	(timeclock-mode-line-display): Use define-minor-mode.
	(timeclock-day-list-template): Make it a function, add an argument.
	(timeclock-day-list-required, timeclock-day-list-length)
	(timeclock-day-list-debt, timeclock-day-list-span)
	(timeclock-day-list-break): Adjust calls accordingly.

435 436 437 438 439
2013-08-21  Stefan Monnier  <monnier@iro.umontreal.ca>

	* emacs-lisp/pp.el (pp-eval-expression, pp-macroexpand-expression):
	Use read--expression so that completion works again.

440 441 442 443 444
2013-08-21  Sam Steingold  <sds@gnu.org>

	Add rudimentary inferior shell interaction
	* progmodes/sh-script.el (sh-shell-process): New buffer-local variable.
	(sh-set-shell): Reset it.
445 446
	(sh-show-shell, sh-cd-here, sh-send-line-or-region-and-step):
	New commands (bound to C-c C-z, C-c C-d, and C-c C-n).
447

448 449 450 451 452
2013-08-20  Stefan Monnier  <monnier@iro.umontreal.ca>

	* align.el: Use lexical-binding.
	(align-region): Simplify accordingly.

453 454 455 456 457 458 459
2013-08-20  Michael Albinus  <michael.albinus@gmx.de>

	* minibuffer.el (completion--sifn-requote): Bind `non-essential'.

	* rfn-eshadow.el (rfn-eshadow-update-overlay): Move binding of
	`non-essential' up.

Michael Albinus's avatar
Michael Albinus committed
460 461 462 463 464 465 466 467 468 469 470
2013-08-17  Michael Albinus  <michael.albinus@gmx.de>

	* net/tramp.el:
	* net/tramp-adb.el:
	* net/tramp-cmds.el:
	* net/tramp-ftp.el:
	* net/tramp-gvfs.el:
	* net/tramp-gw.el:
	* net/tramp-sh.el: Don't wrap external variable declarations by
	`eval-when-compile'.

471 472 473 474 475
2013-08-16  Lars Magne Ingebrigtsen  <larsi@gnus.org>

	* net/shr.el (shr-rescale-image): Use ImageMagick even for GIFs
	now that Emacs supports ImageMagick animations.

476 477 478 479 480
2013-08-16  Michael Albinus  <michael.albinus@gmx.de>

	* net/tramp-cmds.el (top): Don't declare `buffer-name'.
	(tramp-append-tramp-buffers): Rewrite buffer local variables part.

481 482 483 484 485
2013-08-16  Martin Rudalics  <rudalics@gmx.at>

	* window.el (mouse-autoselect-window-select): Do autoselect when
	mouse pointer is on margin.

486 487 488 489
2013-08-16  William Parsons  <wbparsons@alum.mit.edu>  (tiny change)

	* net/ange-ftp.el (ange-ftp-skip-msgs): Add 500 EPSV.  (Bug#1972)

490 491
2013-08-16  Glenn Morris  <rgm@gnu.org>

492 493 494
	* net/ange-ftp.el (ange-ftp-good-msgs, ange-ftp-get-pwd):
	Handle "Remote Directory" response of some clients.  (Bug#15058)

495 496 497
	* emacs-lisp/bytecomp.el (byte-compile-make-variable-buffer-local):
	Tweak warning.  (Bug#14926)

498 499 500
	* menu-bar.el (send-mail-item-name, read-mail-item-name): Remove.
	(menu-bar-tools-menu): Simplify news and mail items.  (Bug#15095)

501 502 503 504 505 506 507 508 509 510
	* image-mode.el (image-mode-map): Add menu items to reverse,
	increase, decrease, reset animation speed.
	(image--set-speed, image-increase-speed, image-decrease-speed)
	(image-reverse-speed, image-reset-speed): New functions.
	(image-mode-map): Add bindings for speed commands.

	* image.el (image-animate-get-speed, image-animate-set-speed):
	New functions.
	(image-animate-timeout): Respect image :speed property.

511 512 513 514 515 516 517
2013-08-15  Stefan Monnier  <monnier@iro.umontreal.ca>

	* emacs-lisp/debug.el (debugger-setup-buffer): Put point on the
	previous line (bug#15101).
	(debugger-eval-expression, debugger-record-expression):
	Use read--expression (bug#15102).

518 519 520 521 522 523 524 525 526 527 528 529 530 531 532 533 534 535 536 537 538 539
2013-08-15  Michael Albinus  <michael.albinus@gmx.de>

	Remove byte compiler warnings, visible when compiling with
	`byte-compile-force-lexical-warnings' set to t.

	* net/tramp.el (tramp-debug-message, tramp-message, tramp-error)
	(tramp-error-with-buffer): Rename ARGS to ARGUMENTS and BUFFER to BUF.
	(tramp-handle-unhandled-file-name-directory)
	(tramp-handle-file-notify-add-watch, tramp-action-login)
	(tramp-action-succeed, tramp-action-permission-denied)
	(tramp-action-terminal, tramp-action-process-alive): Prefix unused
	arguments with "_".

	* net/tramp-adb.el (tramp-adb-parse-device-names)
	(tramp-adb-handle-insert-directory, tramp-adb-handle-delete-file)
	(tramp-adb-handle-copy-file): Prefix unused arguments with "_".
	(tramp-adb-handle-file-truename): Remove unused arguments.

	* net/tramp-cache.el (tramp-flush-directory-property)
	(tramp-flush-connection-property, tramp-list-connections)
	(tramp-parse-connection-properties): Prefix unused arguments with "_".

540 541
	* net/tramp-compat.el (tramp-compat-make-temp-file):
	Rename FILENAME to F.
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

	* net/tramp-gvfs.el (tramp-gvfs-handle-file-notify-add-watch)
	(tramp-gvfs-handle-write-region, tramp-bluez-parse-device-names)
	(tramp-zeroconf-parse-workstation-device-names)
	(tramp-zeroconf-parse-webdav-device-names)
	(tramp-synce-parse-device-names): Prefix unused arguments with "_".

	* net/tramp-gw.el (tramp-gw-gw-proc-sentinel)
	(tramp-gw-aux-proc-sentinel): Prefix unused arguments with "_".

	* net/tramp-sh.el (tramp-sh-handle-file-truename): Remove unused
	arguments.
	(tramp-sh-handle-copy-file, tramp-sh-handle-dired-compress-file)
	(tramp-sh-handle-insert-file-contents-literally)
	(tramp-sh-handle-file-notify-add-watch): Prefix unused arguments
	with "_".
	(tramp-do-copy-or-rename-file, tramp-barf-if-no-shell-prompt):
	Remove unused variables.

	* net/tramp-smb.el (tramp-smb-handle-copy-directory)
	(tramp-smb-handle-copy-file, tramp-smb-handle-delete-file)
	(tramp-smb-read-file-entry): Prefix unused arguments with "_".

	* net/tramp-uu.el (tramp-uu-b64-alphabet, tramp-uu-b64-char-to-byte):
	Make them a defconst.
	(tramp-uuencode-region): Remove unused variable.

569 570 571 572
2013-08-14  Juanma Barranquero  <lekktu@gmail.com>

	* frameset.el (frameset--prop-setter): New function.
	(frameset-prop): Add gv-setter declaration.
573 574 575 576 577 578 579 580 581
	(frameset-filter-minibuffer): Deal with the case that the minibuffer
	parameter was already set in FILTERED.  Doc fix.
	(frameset--record-minibuffer-relationships): Allow saving a
	minibufferless frame without its corresponding minibuffer frame.
	(frameset--reuse-frame): Accept a match from an orphaned minibufferless
	frame, if the frame id matches.
	(frameset--minibufferless-last-p): Sort non-orphaned minibufferless
	frames before orphaned ones.
	(frameset-restore): Warn about orphaned windows, instead of error out.
582

583 584 585 586 587 588 589 590 591 592 593 594 595 596 597 598 599 600 601 602 603 604
2013-08-14  Martin Rudalics  <rudalics@gmx.at>

	* window.el (window-make-atom): Don't overwrite parameter
	already present.
	(display-buffer-in-atom-window): Handle special case where we
	split an already atomic window.
	(window--major-non-side-window, display-buffer-in-side-window)
	(window--side-check): Ignore minibuffer window when walking
	window tree.
	(window-deletable-p): Return 'frame only if no other frame uses
	our minibuffer window.
	(record-window-buffer): Run buffer-list-update-hook.
	(split-window): Make sure window--check-frame won't destroy an
	existing atomic window in case the new window gets nested
	inside.
	(display-buffer-at-bottom): Ignore minibuffer window when
	walking window tree.  Don't split a side window.
	(pop-to-buffer): Don't set-buffer here, the select-window call
	should do that.
	(mouse-autoselect-window-select): Autoselect only if we are in the
	text portion of the window.

605 606
2013-08-13  Lars Magne Ingebrigtsen  <larsi@gnus.org>

607 608 609 610 611 612
	* net/shr.el (shr-parse-image-data): New function to grab both the
	data itself and the Content-Type.
	(shr-put-image): Use it.

	* net/eww.el (eww-display-image): Ditto.

613 614
	* image.el (image-content-type-suffixes): New variable.

615 616 617 618 619
2013-08-13  Fabián Ezequiel Gallina  <fgallina@gnu.org>

	* progmodes/python.el (python-imenu--build-tree)
	(python-imenu--put-parent): Simplify and Fix (GH bug 146).

620 621 622 623
2013-08-13  Xue Fuqiao  <xfq.free@gmail.com>

	* simple.el (backward-word): Mention the optional argument.

624 625 626 627 628 629
2013-08-13  Stefan Monnier  <monnier@iro.umontreal.ca>

	* frameset.el (frameset--make): Rename constructor from make-frameset.
	(frameset-p, frameset-valid-p): Don't autoload.
	(frameset-valid-p): Use normal accessors.

Glenn Morris's avatar
Glenn Morris committed
630 631
2013-08-13  Glenn Morris  <rgm@gnu.org>

632 633 634 635
	* progmodes/compile.el (compile-command): Tweak example in doc.
	* obsolete/scribe.el (scribe-mode):
	* progmodes/mixal-mode.el (mixal-mode): Quote buffer name.  (Bug#15053)

Glenn Morris's avatar
Glenn Morris committed
636 637 638 639 640 641 642
	* mail/feedmail.el (feedmail-confirm-outgoing)
	(feedmail-display-full-frame, feedmail-deduce-bcc-where): Fix types.

	* cus-start.el (truncate-partial-width-windows): Fix type.

	* emulation/viper-init.el (viper-search-scroll-threshold): Fix type.

Glenn Morris's avatar
Glenn Morris committed
643 644
	* net/shr.el (shr-table-horizontal-line): Fix custom type.

645 646 647 648 649 650 651 652
2013-08-13  Stefan Monnier  <monnier@iro.umontreal.ca>

	* emacs-lisp/timer.el (timer--time-setter): New function.
	(timer--time): Use it as gv-setter.

	* emacs-lisp/gv.el (gv-define-simple-setter): Output warning when
	setter is not a symbol.

653 654 655 656 657
2013-08-12  Grégoire Jadi  <daimrod@gmail.com>

	* mail/sendmail.el (sendmail-send-it): Don't kill the error buffer
	if sending fails.  This makes debugging easier.

658 659 660 661 662 663
2013-08-12  Juanma Barranquero  <lekktu@gmail.com>

	* xml.el (xml-parse-tag-1): Use looking-at (this reverts change in
	2013-08-11T00:07:48Z!lekktu@gmail.com, which breaks the test suite).
	https://lists.gnu.org/archive/html/emacs-devel/2013-08/msg00263.html

664 665 666 667
2013-08-12  Eli Zaretskii  <eliz@gnu.org>

	* term/w32-win.el (dynamic-library-alist): Add DLLs for zlib.

668
2013-08-12  Glenn Morris  <rgm@gnu.org>
669 670 671 672

	* format.el (format-annotate-function):
	Handle read-only text properties in the source.  (Bug#14887)

673 674
2013-08-11  Lars Magne Ingebrigtsen  <larsi@gnus.org>

675 676
	* net/eww.el (eww-display-html): Ignore coding system errors.
	One web site uses "utf-8lias" as the coding system.
677

678 679 680 681
2013-08-11  Juanma Barranquero  <lekktu@gmail.com>

	* frameset.el (frameset-valid-p): Fix check; STATES can indeed be nil.

682 683
2013-08-10  Juanma Barranquero  <lekktu@gmail.com>

684 685 686 687 688 689 690 691 692 693 694 695 696 697 698 699 700 701 702 703
	* tutorial.el (tutorial--describe-nonstandard-key): Use string-match-p.
	(tutorial--detailed-help): Remove unused local variables.
	(tutorial--save-tutorial-to): Use ignore-errors.
	(help-with-tutorial): Use looking-at-p.

	* view.el (view-buffer-other-window, view-buffer-other-frame):
	Mark unused arguments.

	* woman.el (woman-parse-colon-path, woman-parse-colon-path)
	(woman-select-symbol-fonts, woman, woman-find-file)
	(woman-insert-file-contents, woman-non-underline-faces):
	Use string-match-p.
	(woman1-unquote): Move declaration.

	* xml.el (xml-parse-tag-1, xml-parse-string): Use looking-at-p.
	(xml-parse-dtd): Use looking-at-p, string-match-p.  Mark unused
	argument.  Remove unused local variable.
	(xml-parse-elem-type): Use string-match-p.
	(xml-substitute-numeric-entities): Use ignore-errors.

704 705 706 707 708 709 710 711 712 713 714 715 716 717 718 719 720 721 722 723 724 725 726 727 728 729 730 731 732 733 734 735 736 737 738 739 740 741 742 743 744 745 746 747 748 749 750 751 752 753 754 755 756 757 758 759 760 761 762 763 764 765 766 767
	* calculator.el (calculator): Mark unused argument.
	(calculator-paste, calculator-quit, calculator-integer-p):
	Use ignore-errors.
	(calculator-string-to-number, calculator-decimal, calculator-exp)
	(calculator-op-or-exp): Use string-match-p.

	* dired.el (dired-buffer-more-recently-used-p): Declare.
	(dired-insert-set-properties, dired-insert-old-subdirs):
	Use ignore-errors.

	* dired-aux.el (dired-compress): Use ignore-errors.
	(dired-do-chxxx, dired-do-chmod, dired-trample-file-versions)
	(dired-do-async-shell-command, dired-do-shell-command)
	(dired-shell-stuff-it, dired-compress-file, dired-insert-subdir)
	(dired-insert-subdir-validate): Use string-match-p.
	(dired-map-dired-file-lines, dired-subdir-hidden-p): Use looking-at-p.
	(dired-add-entry): Use string-match-p, looking-at-p.
	(dired-insert-subdir-newpos): Remove unused local variable.

	* filenotify.el (file-notify-callback): Remove unused local variable.

	* filesets.el (filesets-error): Mark unused argument.
	(filesets-which-command-p, filesets-filter-dir-names)
	(filesets-directory-files, filesets-get-external-viewer)
	(filesets-ingroup-get-data): Use string-match-p.

	* find-file.el (ff-other-file-name, ff-other-file-name)
	(ff-find-the-other-file, ff-cc-hh-converter):
	Remove unused local variables.
	(ff-get-file-name): Use string-match-p.
	(ff-all-dirs-under): Use ignore-errors.

	* follow.el (follow-comint-scroll-to-bottom): Mark unused argument.
	(follow-select-if-visible): Remove unused local variable.

	* forms.el (read-file-filter): Move declaration.
	(forms--make-format, forms--make-parser, forms-insert-record):
	Quote function with #'.
	(forms--update): Use string-match-p.  Quote function with #'.

	* help-mode.el (help-dir-local-var-def): Mark unused argument.
	(help-make-xrefs): Use looking-at-p.
	(help-xref-on-pp): Use looking-at-p, ignore-errors.

	* ibuffer.el (ibuffer-ext-visible-p): Declare.
	(ibuffer-confirm-operation-on): Use string-match-p.

	* msb.el (msb-item-handler, msb-dired-item-handler):
	Mark unused arguments.

	* ses.el (ses-decode-cell-symbol)
	(ses-kill-override): Remove unused local variable.
	(ses-create-cell-variable, ses-relocate-formula): Use string-match-p.
	(ses-load): Use ignore-errors, looking-at-p.
	(ses-jump-safe): Use ignore-errors.
	(ses-export-tsv, ses-export-tsf, ses-unsafe): Mark unused arguments.

	* tabify.el (untabify, tabify): Mark unused arguments.

	* thingatpt.el (thing-at-point--bounds-of-well-formed-url):
	Mark unused argument.
	(bounds-of-thing-at-point, thing-at-point-bounds-of-list-at-point)
	(thing-at-point-newsgroup-p, form-at-point): Use ignore-errors.

768 769 770
	* emacs-lisp/timer.el (timer--time): Define setter with
	gv-define-setter to avoid deprecation warning.

771
	* completion.el: Remove stuff unused since revno:3176 (1993-05-27).
772
	(*record-cmpl-statistics-p*): Remove (was commented out).
773 774 775 776 777
	(cmpl-statistics-block): Remove (body was commented out).
	All callers changed.
	(add-completions-from-buffer, load-completions-from-file):
	Remove unused variables.

778 779
2013-08-09  Juanma Barranquero  <lekktu@gmail.com>

780 781 782 783
	* filecache.el (file-cache-delete-file-list):
	Print message only when told so.
	(file-cache-files-matching): Use #' in mapconcat argument.

784 785 786
	* ffap.el (ffap-url-at-point): Fix reference to variable
	thing-at-point-default-mail-uri-scheme.

787 788
2013-08-09  Stefan Monnier  <monnier@iro.umontreal.ca>

789 790 791 792 793 794 795 796 797 798 799 800 801 802 803 804 805 806 807 808 809 810 811 812 813 814 815 816 817 818 819 820 821 822 823
	* subr.el (define-error): New function.
	* progmodes/ada-xref.el (ada-error-file-not-found): Rename from
	error-file-not-found and define with define-error.
	* emacs-lisp/cl-lib.el (cl-assertion-failed): Move here from subr.el
	and define with define-error.
	* userlock.el (file-locked, file-supersession):
	* simple.el (mark-inactive):
	* progmodes/js.el (js-moz-bad-rpc, js-js-error):
	* progmodes/ada-mode.el (ada-mode-errors):
	* play/life.el (life-extinct):
	* nxml/xsd-regexp.el (xsdre-invalid-regexp, xsdre-parse-error):
	* nxml/xmltok.el (xmltok-markup-declaration-parse-error):
	* nxml/rng-util.el (rng-error):
	* nxml/rng-uri.el (rng-uri-error):
	* nxml/rng-match.el (rng-compile-error):
	* nxml/rng-cmpct.el (rng-c-incorrect-schema):
	* nxml/nxml-util.el (nxml-error, nxml-file-parse-error):
	* nxml/nxml-rap.el (nxml-scan-error):
	* nxml/nxml-outln.el (nxml-outline-error):
	* net/soap-client.el (soap-error):
	* net/gnutls.el (gnutls-error):
	* net/ange-ftp.el (ftp-error):
	* mpc.el (mpc-proc-error):
	* json.el (json-error, json-readtable-error, json-unknown-keyword)
	(json-number-format, json-string-escape, json-string-format)
	(json-key-format, json-object-format):
	* jka-compr.el (compression-error):
	* international/quail.el (quail-error):
	* international/kkc.el (kkc-error):
	* emacs-lisp/ert.el (ert-test-failed):
	* calc/calc.el (calc-error, inexact-result, math-overflow)
	(math-underflow):
	* bookmark.el (bookmark-error-no-filename):
	* epg.el (epg-error): Define with define-error.

824 825 826 827
	* time.el (display-time-event-handler)
	(display-time-next-load-average): Don't call sit-for since it seems
	unnecessary (bug#15045).

828 829 830 831 832 833 834 835 836 837 838 839
	* emacs-lisp/checkdoc.el: Remove redundant :group keywords.
	Use #' instead of ' to quote functions.
	(checkdoc-output-mode): Use setq-local.
	(checkdoc-spellcheck-documentation-flag, checkdoc-ispell-lisp-words)
	(checkdoc-verb-check-experimental-flag, checkdoc-proper-noun-regexp)
	(checkdoc-common-verbs-regexp): Mark safe-local-variable (bug#15010).
	(checkdoc-ispell, checkdoc-ispell-current-buffer)
	(checkdoc-ispell-interactive, checkdoc-ispell-message-interactive)
	(checkdoc-ispell-message-text, checkdoc-ispell-start)
	(checkdoc-ispell-continue, checkdoc-ispell-comments)
	(checkdoc-ispell-defun): Remove unused arg `take-notes'.

840 841
	* ido.el (ido-completion-help): Fix up compiler warning.

842 843 844 845 846 847 848 849 850 851 852 853 854 855
2013-08-09  Juanma Barranquero  <lekktu@gmail.com>

	* frameset.el (frameset-p): Add autoload cookie.
	(frameset--jump-to-register): New function, based on code moved from
	register.el.
	(frameset-to-register): Move from register.el.  Adapt to `registerv'.

	* register.el (frameset-frame-id, frameset-frame-with-id, frameset-p)
	(frameset-restore, frameset-save, frameset-session-filter-alist):
	Remove declarations.
	(register-alist): Doc fix.
	(frameset-to-register): Move to frameset.el.
	(jump-to-register, describe-register-1): Remove frameset-specific code.

856 857 858 859 860 861 862 863 864 865 866 867 868 869 870 871 872 873 874 875 876
2013-08-08  Juanma Barranquero  <lekktu@gmail.com>

	* allout-widgets.el (allout-widgets-pre-command-business)
	(allout-widgets-post-command-business)
	(allout-widgets-after-change-handler)
	(allout-decorate-item-and-context, allout-set-boundary-marker)
	(allout-body-modification-handler)
	(allout-graphics-modification-handler): Mark ignored arguments.
	(allout-widgets-post-command-business)
	(allout-widgets-exposure-change-processor)
	(allout-widgets-exposure-undo-processor)
	(allout-decorate-item-and-context, allout-redecorate-visible-subtree)
	(allout-parse-item-at-point, allout-decorate-item-guides)
	(allout-decorate-item-cue, allout-item-span): Remove unused variables.
	* allout.el (epa-passphrase-callback-function): Declare.
	(allout-overlay-insert-in-front-handler)
	(allout-overlay-interior-modification-handler)
	(allout-isearch-end-handler, allout-chart-siblings)
	(allout-up-current-level, allout-end-of-level, allout-reindent-body)
	(allout-yank-processing, allout-process-exposed)
	(allout-latex-verb-quote, allout-latexify-one-item, outlineify-sticky)
877
	(allout-latex-verbatim-quote-curr-line): Remove unused variables.
878 879 880 881 882 883 884 885 886 887 888 889 890 891 892 893 894 895 896 897 898 899 900 901 902 903 904 905 906 907 908 909 910 911 912 913 914
	* emacs-lisp/lisp-mode.el (lisp-eval-defun, last-sexp-toggle-display)
	(lisp-indent-defform): Mark ignored arguments.
	(lisp-indent-line): Mark ignored arguments.  Remove unused variables.
	(calculate-lisp-indent): Remove unused variables.
	* international/characters.el (indian-2-column, arabic-2-column)
	(tibetan): Mark ignored arguments.
	(use-cjk-char-width-table): Mark ignored arguments.
	Remove unused variables.
	* international/fontset.el (build-default-fontset-data)
	(x-compose-font-name, create-fontset-from-fontset-spec):
	Mark ignored arguments.
	(fontset-plain-name): Remove unused variables.
	* international/mule.el (charset-id, charset-bytes, generic-char-p)
	(keyboard-coding-system): Mark ignored arguments.
	(find-auto-coding): Remove unused variables.  Use `ignore-errors'.
	* help.el (resize-temp-buffer-window):
	* window.el (display-buffer-in-major-side-window)
	(display-buffer-in-side-window, display-buffer-in-previous-window):
	Remove unused variables.
	* isearch.el (isearch-forward-symbol):
	* version.el (emacs-bzr-version-bzr):
	* international/mule-cmds.el (current-language-environment):
	* term/common-win.el (x-handle-iconic, x-handle-geometry)
	(x-handle-display):
	* term/pc-win.el (x-list-fonts, x-display-planes)
	(x-display-color-cells, x-server-max-request-size, x-server-vendor)
	(x-server-version, x-display-screens, x-display-mm-height)
	(x-display-mm-width, x-display-backing-store, x-display-visual-class)
	(x-selection-owner-p, x-own-selection-internal)
	(x-disown-selection-internal, x-get-selection-internal)
	(msdos-initialize-window-system):
	* term/tty-colors.el (tty-color-alist, tty-color-clear):
	* term/x-win.el (x-handle-no-bitmap-icon):
	* vc/vc-hooks.el (vc-mode, vc-default-make-version-backups-p)
	(vc-default-find-file-hook, vc-default-extra-menu):
	Mark ignored arguments.

915 916 917 918 919
2013-08-08  Stefan Monnier  <monnier@iro.umontreal.ca>

	* emacs-lisp/edebug.el (edebug-debugger): Use edebug-eval to run the
	break-condition in the context of the debugged code (bug#12685).

Christopher Schmidt's avatar
Christopher Schmidt committed
920 921 922 923 924 925 926 927
2013-08-08  Christopher Schmidt  <christopher@ch.ristopher.com>

	* comint.el:
	Do not use an overlay to highlight the last prompt.  (Bug#14744)
	(comint-mode): Make comint-last-prompt buffer local.
	(comint-last-prompt): New variable.
	(comint-last-prompt-overlay): Remove.  Superseded by
	comint-last-prompt.
928 929
	(comint-snapshot-last-prompt, comint-output-filter):
	Use comint-last-prompt.
Christopher Schmidt's avatar
Christopher Schmidt committed
930

931 932
2013-08-08  Juanma Barranquero  <lekktu@gmail.com>

933
	* frameset.el (frameset-valid-p): Check vector length.  Doc fix.
934 935
	(frameset-save): Check validity of the resulting frameset.

936 937 938 939
2013-08-08  Xue Fuqiao  <xfq.free@gmail.com>

	* ido.el (ido-record-command): Add doc string.

940 941 942 943 944 945 946 947 948 949
2013-08-08  Juanma Barranquero  <lekktu@gmail.com>

	* frameset.el (frameset): Do not disable creation of the default
	frameset-p predicate.  Doc fix.
	(frameset-valid-p): New function, copied from the old predicate-p.
	Add additional checks.
	(frameset-restore): Check with frameset-valid-p.
	(frameset-p, frameset-version, frameset-timestamp, frameset-app)
	(frameset-name, frameset-description, frameset-properties)
	(frameset-states): Add docstring.
950 951
	(frameset-session-filter-alist, frameset-persistent-filter-alist)
	(frameset-filter-alist): Doc fixes.
952

953 954 955 956
2013-08-08  Juanma Barranquero  <lekktu@gmail.com>

	* frameset.el (frameset-p, frameset-prop): Doc fixes.

957 958 959 960 961 962 963
2013-08-08  Stefan Monnier  <monnier@iro.umontreal.ca>

	* emacs-lisp/bytecomp.el (byte-compile-function-warn): New function,
	extracted from byte-compile-callargs-warn and byte-compile-normal-call.
	(byte-compile-callargs-warn, byte-compile-function-form): Use it.
	(byte-compile-normal-call): Remove obsolescence check.

964 965
2013-08-08  Juanma Barranquero  <lekktu@gmail.com>

966 967
	* frameset.el (frameset-restore): Doc fix.

968 969 970 971 972 973 974 975 976 977
	* register.el (frameset-frame-id, frameset-frame-with-id)
	(frameset-p, frameset-restore, frameset-save): Declare.
	(register-alist): Document framesets.
	(frameset-session-filter-alist): Declare.
	(frameset-to-register): New function.
	(jump-to-register): Implement jumping to framesets.  Doc fix.
	(describe-register-1): Describe framesets.

	* bindings.el (ctl-x-r-map): Bind ?f to frameset-to-register.

978 979 980 981 982 983 984 985 986 987 988 989 990 991 992 993 994 995 996 997 998 999 1000 1001 1002 1003 1004 1005 1006 1007 1008 1009 1010 1011 1012 1013 1014 1015 1016 1017
2013-08-07  Juanma Barranquero  <lekktu@gmail.com>

	* desktop.el (desktop-save-frameset): Use new frameset-save args.
	Use lexical-binding.

	* frameset.el (frameset): Use type vector, not list (incompatible
	change).  Do not declare a new constructor, use the default one.
	Upgrade suggested properties `app', `name' and `desc' to slots `app',
	`name' and `description', respectively, and add read-only slot
	`timestamp'.  Doc fixes.
	(frameset-copy, frameset-persistent-filter-alist)
	(frameset-filter-alist, frameset-switch-to-gui-p)
	(frameset-switch-to-tty-p, frameset-filter-tty-to-GUI)
	(frameset-filter-sanitize-color, frameset-filter-minibuffer)
	(frameset-filter-iconified, frameset-keep-original-display-p):
	Doc fixes.
	(frameset-filter-shelve-param, frameset-filter-unshelve-param):
	Rename from frameset-filter-(save|restore)-param.  All callers changed.
	Doc fix.
	(frameset-p): Adapt to change to vector and be more thorough.
	Change arg name to OBJECT.  Doc fix.
	(frameset-prop): Rename arg PROP to PROPERTY.  Doc fix.
	(frameset-session-filter-alist): Rename from frameset-live-filter-alist.
	All callers changed.
	(frameset-frame-with-id): Rename from frameset-locate-frame-id.
	All callers changed.
	(frameset--record-minibuffer-relationships): Rename from
	frameset--process-minibuffer-frames.  All callers changed.
	(frameset-save): Add new keyword arguments APP, NAME and DESCRIPTION.
	Use new default constructor (again).  Doc fix.
	(frameset--find-frame-if): Rename from `frameset--find-frame.
	All callers changed.
	(frameset--reuse-frame): Rename arg FRAME-CFG to PARAMETERS.
	(frameset--initial-params): Rename arg FRAME-CFG to PARAMETERS.
	Doc fix.
	(frameset--restore-frame): Rename args FRAME-CFG and WINDOW-CFG to
	PARAMETERS and WINDOW-STATE, respectively.
	(frameset-restore): Add new keyword argument PREDICATE.
	Reset frameset--target-display to nil.  Doc fix.

1018 1019
2013-08-07  Stefan Monnier  <monnier@iro.umontreal.ca>

1020 1021 1022 1023 1024
	* progmodes/bat-mode.el (bat--syntax-propertize): New var.
	(bat-mode): Use it.
	(bat-mode-syntax-table): Mark \n as end-of-comment.
	(bat-font-lock-keywords): Remove comment rule.

1025 1026 1027
	* progmodes/bat-mode.el: Rename from dos.el.  Use "bat-" prefix.
	(dos-mode-help): Remove.  Use describe-mode (C-h m) instead.

1028 1029 1030 1031 1032 1033
	* emacs-lisp/bytecomp.el: Check existence of f in #'f.
	(byte-compile-callargs-warn): Use `push'.
	(byte-compile-arglist-warn): Ignore higher-order "calls".
	(byte-compile-file-form-autoload): Use `pcase'.
	(byte-compile-function-form): If quoting a symbol, check that it exists.

1034 1035 1036 1037 1038 1039 1040
2013-08-07  Eli Zaretskii  <eliz@gnu.org>

	* progmodes/dos.el (dos-font-lock-keywords): Rename LINUX to UNIX
	and add a few popular commands found in batch files.
	(dos, dos-label-face, dos-cmd-help, dos-run, dos-run-args)
	(dos-mode): Doc fixes.

1041 1042 1043 1044 1045 1046 1047
2013-08-07  Stefan Monnier  <monnier@iro.umontreal.ca>

	* progmodes/dos.el (auto-mode-alist): Add entries for dos-mode.
	(dos-mode): Use setq-local.  Add space after "rem".
	(dos-mode-syntax-table): Don't use "w" for symbol chars.
	(dos-font-lock-keywords): Try to adjust font-lock rules accordingly.

1048 1049 1050 1051 1052 1053
2013-08-07  Arni Magnusson  <arnima@hafro.is>

	* progmodes/dos.el: New file.
	* generic-x.el (bat-generic-mode): Redefine as an obsolete alias to
	dos-mode.

1054 1055 1056 1057 1058 1059 1060 1061 1062 1063 1064 1065 1066 1067 1068 1069 1070 1071
2013-08-06  Glenn Morris  <rgm@gnu.org>

	* calendar/calendar.el: Add new faces, and day-header-array.
	(calendar-weekday-header, calendar-weekend-header)
	(calendar-month-header): New faces.
	(calendar-day-header-construct): New function.
	(calendar-day-header-width): Also :set calendar-day-header-array.
	(calendar-american-month-header, calendar-european-month-header)
	(calendar-iso-month-header): Use calendar- faces.
	(calendar-generate-month):
	Use calendar-day-header-array for day headers; apply faces to them.
	(calendar-mode): Check calendar-font-lock-keywords non-nil.
	(calendar-abbrev-construct): Add optional maxlen argument.
	(calendar-day-name-array): Doc fix.
	(calendar-day-name-array, calendar-abbrev-length)
	(calendar-day-abbrev-array):
	Also :set calendar-day-header-array, and maybe redraw.
	(calendar-day-header-array): New option.  (Bug#15007)
1072
	(calendar-font-lock-keywords): Set to nil and make obsolete.
1073 1074
	(calendar-day-name): Add option to use header array.

1075 1076 1077 1078 1079 1080
2013-08-06  Lars Magne Ingebrigtsen  <larsi@gnus.org>

	* net/shr.el (shr-render-td): Remove debugging.
	(shr-render-td): Make width computation consistent by defaulting
	all zero-width columns to 10 characters.  This may not be optimal,
	but it's at least consistent.
1081 1082
	(shr-make-table-1): Redo last change to fix the real problem in
	colspan handling.
1083

1084 1085
2013-08-06  Dmitry Antipov  <dmantipov@yandex.ru>

1086 1087
	* files.el (cache-long-line-scans):
	Make obsolete alias to `cache-long-scans'.
1088

1089 1090
2013-08-06  Juanma Barranquero  <lekktu@gmail.com>

1091 1092 1093 1094 1095 1096 1097 1098
	* frameset.el (frameset, frameset-filter-alist)
	(frameset-filter-params, frameset-save, frameset--reuse-frame)
	(frameset--minibufferless-last-p, frameset-restore): Doc fixes.
	(frameset-compute-pos): Rename from frameset--compute-pos,
	and add docstring.
	(frameset-move-onscreen): Use frameset-compute-pos.
	Most changes suggested by Drew Adams <drew.adams@oracle.com>.

1099 1100 1101
	* find-lisp.el (find-lisp-line-indent, find-lisp-find-dired-filter):
	Fix typos in docstrings.

1102 1103 1104 1105
2013-08-06  Dmitry Antipov  <dmantipov@yandex.ru>

	* frame.el (get-other-frame): Tiny cleanup.

1106 1107
2013-08-06  Juanma Barranquero  <lekktu@gmail.com>

1108 1109 1110
	* vc/vc.el (vc-default-ignore-completion-table):
	Silence byte-compiler warning.

1111 1112 1113 1114 1115 1116 1117 1118 1119 1120 1121
	* frameset.el (frameset-p): Don't check non-nullness of the `properties'
	slot , which can indeed be nil.
	(frameset-live-filter-alist, frameset-persistent-filter-alist):
	Move entry for `left' from persistent to live filter alist.
	(frameset-filter-alist, frameset--minibufferless-last-p, frameset-save):
	Doc fixes.
	(frameset-filter-params): When restoring a frame, copy items added to
	`filtered', to avoid unwittingly modifying the original parameters.
	(frameset-move-onscreen): Rename from frameset--move-onscreen.  Doc fix.
	(frameset--restore-frame): Fix reference to frameset-move-onscreen.

1122 1123 1124
	* dired.el (dired-insert-directory): Revert change in 2013-06-21T12:24:37Z!lekktu@gmail.com
	to use looking-at-p instead of looking-at.  (Bug#15028)

1125 1126 1127 1128 1129 1130 1131 1132 1133 1134 1135 1136 1137 1138 1139 1140 1141 1142 1143 1144 1145 1146 1147 1148 1149 1150 1151 1152 1153
2013-08-05  Stefan Monnier  <monnier@iro.umontreal.ca>

	Revert introduction of isearch-filter-predicates (bug#14714).
	Rely on add-function instead.
	* isearch.el (isearch-filter-predicates): Rename it back to
	isearch-filter-predicate.
	(isearch-message-prefix): Use advice-function-mapc and advice
	properties to get the isearch-message-prefix.
	(isearch-search, isearch-lazy-highlight-search): Revert to funcall
	instead of run-hook-with-args-until-failure.
	(isearch-filter-visible): Not obsolete any more.
	* loadup.el: Preload nadvice.
	* replace.el (perform-replace): Revert to funcall
	instead of run-hook-with-args-until-failure.
	* wdired.el (wdired-change-to-wdired-mode): Use add-function.
	* dired-aux.el (dired-isearch-filenames-mode): Rename from
	dired-isearch-filenames-toggle; make it into a proper minor mode.
	Use add/remove-function.
	(dired-isearch-filenames-setup, dired-isearch-filenames-end):
	Call the minor-mode rather than add/remove-hook.
	(dired-isearch-filter-filenames):
	Remove isearch-message-prefix property.
	* info.el (Info--search-loop): New function, extracted from Info-search.
	Funcall isearch-filter-predicate instead of
	run-hook-with-args-until-failure isearch-filter-predicates.
	(Info-search): Use it.
	(Info-mode): Use isearch-filter-predicate instead of
	isearch-filter-predicates.

1154 1155 1156 1157 1158 1159 1160 1161 1162 1163 1164 1165 1166 1167 1168 1169 1170 1171 1172 1173 1174 1175 1176 1177 1178 1179 1180 1181 1182 1183 1184 1185 1186 1187 1188 1189 1190 1191 1192 1193 1194 1195 1196 1197 1198 1199 1200 1201 1202 1203 1204 1205 1206 1207 1208 1209 1210 1211 1212 1213 1214 1215 1216 1217 1218 1219 1220 1221 1222 1223 1224 1225
2013-08-05  Dmitry Antipov  <dmantipov@yandex.ru>

	Do not call to `selected-window' where it is assumed by default.
	Affected functions are `window-minibuffer-p', `window-dedicated-p',
	`window-hscroll', `window-width', `window-height', `window-buffer',
	`window-frame', `window-start', `window-point', `next-window'
	and `window-display-table'.
	* abbrev.el (abbrev--default-expand):
	* bs.el (bs--show-with-configuration):
	* buff-menu.el (Buffer-menu-mouse-select):
	* calc/calc.el (calc):
	* calendar/calendar.el (calendar-generate-window):
	* calendar/diary-lib.el (diary-simple-display, diary-show-all-entries)
	(diary-make-entry):
	* comint.el (send-invisible, comint-dynamic-complete-filename)
	(comint-dynamic-simple-complete, comint-dynamic-list-completions):
	* completion.el (complete):
	* dabbrev.el (dabbrev-expand, dabbrev--make-friend-buffer-list):
	* disp-table.el (describe-current-display-table):
	* doc-view.el (doc-view-insert-image):
	* ebuff-menu.el (Electric-buffer-menu-mouse-select):
	* ehelp.el (with-electric-help):
	* emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
	* emacs-lisp/edebug.el (edebug-two-window-p, edebug-pop-to-buffer):
	* emacs-lisp/helper.el (Helper-help-scroller):
	* emulation/cua-base.el (cua--post-command-handler-1):
	* eshell/esh-mode.el (eshell-output-filter):
	* ffap.el (ffap-gnus-wrapper):
	* help-macro.el (make-help-screen):
	* hilit-chg.el (highlight-compare-buffers):
	* hippie-exp.el (hippie-expand, try-expand-dabbrev-visible):
	* hl-line.el (global-hl-line-highlight):
	* icomplete.el (icomplete-simple-completing-p):
	* isearch.el (isearch-done):
	* jit-lock.el (jit-lock-stealth-fontify):
	* mail/rmailsum.el (rmail-summary-scroll-msg-up):
	* lisp/mouse-drag.el (mouse-drag-should-do-col-scrolling):
	* mpc.el (mpc-tagbrowser, mpc):
	* net/rcirc.el (rcirc-any-buffer):
	* play/gomoku.el (gomoku-max-width, gomoku-max-height):
	* play/landmark.el (landmark-max-width, landmark-max-height):
	* play/zone.el (zone):
	* progmodes/compile.el (compilation-goto-locus):
	* progmodes/ebrowse.el (ebrowse-view/find-file-and-search-pattern):
	* progmodes/etags.el (find-tag-other-window):
	* progmodes/fortran.el (fortran-column-ruler):
	* progmodes/gdb-mi.el (gdb-mouse-toggle-breakpoint-fringe):
	* progmodes/verilog-mode.el (verilog-point-text):
	* reposition.el (reposition-window):
	* rot13.el (toggle-rot13-mode):
	* server.el (server-switch-buffer):
	* shell.el (shell-dynamic-complete-command)
	(shell-dynamic-complete-environment-variable):
	* simple.el (insert-buffer, set-selective-display)
	(delete-completion-window):
	* speedbar.el (speedbar-timer-fn, speedbar-center-buffer-smartly)
	(speedbar-recenter):
	* startup.el (fancy-splash-head):
	* textmodes/ispell.el (ispell-command-loop):
	* textmodes/makeinfo.el (makeinfo-compilation-sentinel-region):
	* tutorial.el (help-with-tutorial):
	* vc/add-log.el (add-change-log-entry):
	* vc/compare-w.el (compare-windows):
	* vc/ediff-help.el (ediff-indent-help-message):
	* vc/ediff-util.el (ediff-setup-control-buffer, ediff-position-region):
	* vc/ediff-wind.el (ediff-skip-unsuitable-frames)
	(ediff-setup-control-frame):
	* vc/emerge.el (emerge-position-region):
	* vc/pcvs-util.el (cvs-bury-buffer):
	* window.el (walk-windows, mouse-autoselect-window-select):
	* winner.el (winner-set-conf, winner-undo): Related users changed.

1226 1227 1228 1229 1230 1231 1232 1233
2013-08-05  Juanma Barranquero  <lekktu@gmail.com>

	* frameset.el (frameset--set-id): Doc fix.
	(frameset-frame-id, frameset-frame-id-equal-p)
	(frameset-locate-frame-id): New functions.
	(frameset--process-minibuffer-frames, frameset--reuse-frame)
	(frameset-restore): Use them.

1234 1235 1236 1237 1238 1239 1240 1241 1242 1243 1244 1245 1246 1247 1248 1249 1250 1251 1252 1253 1254 1255 1256
2013-08-05  Dmitry Antipov  <dmantipov@yandex.ru>

	Do not call to `selected-frame' where it is assumed by default.
	Affected functions are `raise-frame', `redraw-frame',
	`frame-first-window', `frame-terminal' and `delete-frame'.
	* calendar/appt.el (appt-disp-window):
	* epg.el (epg-wait-for-completion):
	* follow.el (follow-delete-other-windows-and-split)
	(follow-avoid-tail-recenter):
	* international/mule.el (set-terminal-coding-system):
	* mail/rmail.el (rmail-mail-return):
	* net/newst-plainview.el (newsticker--buffer-set-uptodate):
	* progmodes/f90.el (f90-add-imenu-menu):
	* progmodes/idlw-toolbar.el (idlwave-toolbar-toggle):
	* server.el (server-switch-buffer):
	* simple.el (delete-completion-window):
	* talk.el (talk):
	* term/xterm.el (terminal-init-xterm-modify-other-keys)
	(xterm-turn-on-modify-other-keys, xterm-remove-modify-other-keys):
	* vc/ediff-util.el (ediff-status-info, ediff-show-diff-output):
	* vc/ediff.el (ediff-documentation): Related users changed.
	* frame.el (selected-terminal): Remove the leftover.

1257 1258 1259 1260
2013-08-05  Glenn Morris  <rgm@gnu.org>

	* calendar/calendar.el (calendar-generate-month):
	Fix for calendar-column-width != 1 + calendar-day-digit-width.
1261 1262
	(calendar-generate-month, calendar-font-lock-keywords):
	Fix for calendar-day-header-width > length of any day name.
1263

1264 1265 1266 1267 1268 1269 1270 1271 1272 1273 1274 1275 1276 1277 1278 1279 1280 1281 1282 1283 1284 1285 1286 1287 1288 1289 1290 1291 1292
2013-08-05  Juanma Barranquero  <lekktu@gmail.com>

	* desktop.el (desktop-clear): Use new name of sort predicate.

	* frameset.el (frameset): Add docstring.  Move :version property to its
	own `version' slot.
	(frameset-copy): Rename from copy-frameset.
	(frameset-p): Check more thoroughly.
	(frameset-prop): Do not check for :version, which is no longer a prop.
	(frameset-live-filter-alist, frameset-persistent-filter-alist):
	Use new :never value instead of t.
	(frameset-filter-alist): Expand and clarify docstring.
	(frameset-filter-tty-to-GUI, frameset-filter-sanitize-color)
	(frameset-filter-minibuffer, frameset-filter-save-param)
	(frameset-filter-restore-param, frameset-filter-iconified):
	Add pointer to docstring of frameset-filter-alist.
	(frameset-filter-params): Rename filter values to be more meaningful:
	:never instead of t, and reverse the meanings of :save and :restore.
	(frameset--process-minibuffer-frames): Clarify error message.
	(frameset-save): Avoid unnecessary and confusing call to framep.
	Use new BOA constructor for framesets.
	(frameset--reuse-list): Doc fix.
	(frameset--restore-frame): Rename from frameset--get-frame.  Doc fix.
	(frameset--minibufferless-last-p): Rename from frameset--sort-states.
	(frameset-minibufferless-first-p): Doc fix.
	Rename from frameset-sort-frames-for-deletion.
	(frameset-restore): Doc fixes.  Use new function names.
	Most changes suggested by Drew Adams <drew.adams@oracle.com>.

1293 1294 1295 1296 1297 1298 1299 1300 1301 1302 1303 1304 1305 1306 1307 1308 1309 1310 1311 1312 1313 1314 1315 1316 1317 1318
2013-08-04  Juanma Barranquero  <lekktu@gmail.com>

	* desktop.el (desktop-restore-forces-onscreen)
	(desktop-restore-reuses-frames): Document :keyword constant values.
	(desktop-filter-parameters-alist): Remove, now identical to
	frameset-filter-alist.
	(desktop--filter-tty*): Remove, moved to frameset.el.
	(desktop-save-frameset, desktop-restore-frameset):
	Do not pass :filters argument.

	* frameset.el (frameset-live-filter-alist)
	(frameset-persistent-filter-alist): New variables.
	(frameset-filter-alist): Use them.  Add autoload cookie.
	(frameset-filter-tty-to-GUI): Move from desktop.el and rename.
	(frameset--set-id, frameset--reuse-frame): Rename `frame-id' to
	`frameset--id' (it's supposed to be internal to frameset.el).
	(frameset--process-minibuffer-frames): Ditto.  Doc fix.
	(frameset--initial-params): New function.
	(frameset--get-frame): Use it.  Doc fix.
	(frameset--move-onscreen): Accept new PRED value for FORCE-ONSCREEN.
	Accept :all, not 'all.
	(frameset-restore): Add new predicate values for FORCE-ONSCREEN and
	FORCE-DISPLAY.  Use :keywords for constant arguments to avoid collision
	with fbound symbols.  Fix frame id matching, and remove matching ids if
	the frame being restored is deleted.  Obey :delete.

1319 1320 1321 1322 1323 1324 1325 1326 1327 1328 1329 1330 1331 1332 1333 1334 1335 1336 1337 1338 1339 1340 1341 1342 1343
2013-08-04  Stefan Monnier  <monnier@iro.umontreal.ca>

	* subr.el (macrop): New function.
	(text-clone--maintaining): New var.
	(text-clone--maintain): Rename from text-clone-maintain.  Use it
	instead of inhibit-modification-hooks.

	* emacs-lisp/nadvice.el (advice--normalize): For aliases to macros, use
	a proxy, so as handle autoloads and redefinitions of the target.
	(advice--defalias-fset, advice-remove): Use advice--symbol-function.

	* emacs-lisp/pcase.el (pcase-mutually-exclusive-predicates):
	Remove bogus (arrayp . stringp) pair.  Add entries for `vectorp'.
	(pcase--mutually-exclusive-p): New function.
	(pcase--split-consp): Use it.
	(pcase--split-pred): Use it.  Optimize the case where `pat' is a qpat
	mutually exclusive with the current predicate.

	* emacs-lisp/edebug.el (edebug-lookup-function): Remove function.
	(edebug-macrop): Remove.  Use `macrop' instead.
	* emacs-lisp/advice.el (ad-subr-p): Remove.  Use `subrp' instead.
	(ad-macro-p):
	* eshell/esh-cmd.el (eshell-macrop):
	* apropos.el (apropos-macrop): Remove.  Use `macrop' instead.

1344 1345 1346 1347 1348 1349 1350 1351 1352 1353 1354 1355 1356
2013-08-04  Stefan Monnier  <monnier@iro.umontreal.ca>

	* emacs-lisp/nadvice.el (advice-function-mapc): Rename from advice-mapc.
	(advice-mapc): New function, using it.
	(advice-function-member-p): New function.
	(advice--normalize): Store the cdr in advice--saved-rewrite since
	that's the part that will be changed.
	(advice--symbol-function): New function.
	(advice-remove): Handle removal before the function is defined.
	Adjust to new advice--saved-rewrite.
	(advice-member-p): Use advice-function-member-p and
	advice--symbol-function.

1357 1358
2013-08-04  Juanma Barranquero  <lekktu@gmail.com>

1359 1360 1361
	* frameset.el (frameset-p, frameset-save): Fix autoload cookies.
	(frameset-filter-minibuffer): Doc fix.
	(frameset-restore): Fix autoload cookie.  Fix typo in docstring.
1362 1363 1364
	(frameset--set-id, frameset--process-minibuffer-frames)
	(frameset-restore): Rename parameter `frameset-id' to `frame-id'.
	(frameset--reuse-frame): Pass correct frame-id to frameset--find-frame.
1365

1366 1367 1368 1369
	* desktop.el (desktop-clear): Only delete frames when called
	interactively and desktop-restore-frames is non-nil.  Doc fix.
	(desktop-read): Set desktop-saved-frameset to nil.

Xue Fuqiao's avatar
Xue Fuqiao committed
1370 1371 1372 1373 1374 1375 1376 1377 1378 1379 1380 1381 1382 1383 1384 1385 1386 1387 1388 1389 1390 1391 1392 1393
2013-08-04  Xue Fuqiao  <xfq.free@gmail.com>

	* vc/vc.el (vc-ignore): Rewrite.
	(vc-default-ignore-completion-table):
	(vc--read-lines):
	(vc--add-line, vc--remove-regexp): New functions.

	* vc/vc-svn.el (vc-svn-ignore): Doc fix.
	(vc-svn-ignore-completion-table): New function.

	* vc/vc-hg.el (vc-hg-ignore): Rewrite.
	(vc-hg-ignore-completion-table):
	(vc-hg-find-ignore-file): New functions.

	* vc/vc-git.el (vc-git-ignore): Rewrite.
	(vc-git-ignore-completion-table):
	(vc-git-find-ignore-file): New functions.

	* vc/vc-dir.el (vc-dir-menu-map): Add menu for vc-dir-ignore.

	* vc/vc-bzr.el (vc-bzr-ignore): Rewrite.
	(vc-bzr-ignore-completion-table):
	(vc-bzr-find-ignore-file): New functions.

1394 1395 1396 1397 1398
2013-08-03  Juanma Barranquero  <lekktu@gmail.com>

	* frameset.el (frameset-prop): New function and setter.
	(frameset-save): Do not modify frame list passed by the caller.

1399 1400 1401 1402
2013-08-03  Stefan Monnier  <monnier@iro.umontreal.ca>

	* emacs-lisp/package.el (package-desc-from-define): Ignore unknown keys.

1403 1404
2013-08-02  Stefan Monnier  <monnier@iro.umontreal.ca>

1405 1406 1407
	* emacs-lisp/easy-mmode.el (define-globalized-minor-mode)
	(easy-mmode-define-navigation): Avoid ((lambda (..) ..) ...).

1408 1409 1410 1411 1412 1413
	* custom.el (custom-initialize-default, custom-initialize-set)
	(custom-initialize-reset, custom-initialize-changed): Affect the
	toplevel-default-value (bug#6275, bug#14586).
	* emacs-lisp/advice.el (ad-compile-function): Undo previous workaround
	for bug#6275.

1414 1415
2013-08-02  Juanma Barranquero  <lekktu@gmail.com>

1416 1417 1418
	* emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression):
	Add cl-def* expressions.

1419 1420
	* frameset.el (frameset-filter-params): Fix order of arguments.

1421 1422 1423 1424 1425 1426 1427 1428 1429 1430 1431 1432 1433 1434 1435 1436 1437 1438 1439 1440 1441 1442 1443 1444 1445 1446 1447 1448
2013-08-02  Juanma Barranquero  <lekktu@gmail.com>

	Move code related to saving frames to frameset.el.
	* desktop.el: Require frameset.
	(desktop-restore-frames): Doc fix.
	(desktop-restore-reuses-frames): Rename from
	desktop-restoring-reuses-frames.
	(desktop-saved-frameset): Rename from desktop-saved-frame-states.
	(desktop-clear): Clear frames too.
	(desktop-filter-parameters-alist): Set from frameset-filter-alist.
	(desktop--filter-tty*, desktop-save, desktop-read):
	Use frameset functions.
	(desktop-before-saving-frames-functions, desktop--filter-*-color)
	(desktop--filter-minibuffer, desktop--filter-restore-desktop-parm)
	(desktop--filter-save-desktop-parm, desktop--filter-iconified-position)
	(desktop-restore-in-original-display-p, desktop--filter-frame-parms)
	(desktop--process-minibuffer-frames, desktop-save-frames)
	(desktop--reuse-list, desktop--compute-pos, desktop--move-onscreen)
	(desktop--find-frame, desktop--select-frame, desktop--make-frame)
	(desktop--sort-states, desktop-restoring-frames-p)
	(desktop-restore-frames): Remove.  Most code moved to frameset.el.
	(desktop-restoring-frameset-p, desktop-restore-frameset)
	(desktop--check-dont-save, desktop-save-frameset): New functions.
	(desktop--app-id): New constant.
	(desktop-first-buffer, desktop-buffer-ok-count)
	(desktop-buffer-fail-count): Move before first use.
	* frameset.el: New file.

1449 1450 1451 1452 1453 1454 1455 1456 1457 1458 1459 1460 1461 1462 1463 1464 1465
2013-08-01  Stefan Monnier  <monnier@iro.umontreal.ca>

	* files.el: Use lexical-binding.
	(dir-locals-read-from-file): Remove unused `err' variable.
	(hack-dir-local-variables--warned-coding): New var.
	(hack-dir-local-variables): Use it to avoid repeated warnings.
	(make-backup-file-name--default-function): New function.
	(make-backup-file-name-function): Use it as default.
	(buffer-stale--default-function): New function.
	(buffer-stale-function): Use it as default.
	(revert-buffer-insert-file-contents--default-function): New function.
	(revert-buffer-insert-file-contents-function): Use it as default.
	(insert-directory): Avoid add-to-list.

	* autorevert.el (auto-revert-handler): Simplify.
	Use buffer-stale--default-function.

1466 1467
2013-08-01  Tassilo Horn  <tsdh@gnu.org>

1468 1469
	* speedbar.el (speedbar-query-confirmation-method): Doc fix.

1470 1471 1472 1473
	* whitespace.el (whitespace-ensure-local-variables): New function.
	(whitespace-cleanup-region): Call it.
	(whitespace-turn-on): Call it.

Michael Albinus's avatar
Michael Albinus committed
1474 1475 1476 1477 1478 1479 1480 1481 1482
2013-08-01  Michael Albinus  <michael.albinus@gmx.de>

	Complete file name handlers.

	* net/tramp.el (tramp-handle-set-visited-file-modtime)
	(tramp-handle-verify-visited-file-modtime)
	(tramp-handle-file-notify-rm-watch): New functions.
	(tramp-call-process): Do not bind `default-directory'.

Juanma Barranquero's avatar
Juanma Barranquero committed
1483 1484
	* net/tramp-adb.el (tramp-adb-file-name-handler-alist):
	Order alphabetically.
Michael Albinus's avatar
Michael Albinus committed
1485 1486 1487 1488 1489 1490 1491 1492 1493 1494 1495 1496 1497 1498 1499 1500 1501 1502 1503
	[access-file, add-name-to-file, dired-call-process]:
	[dired-compress-file, file-acl, file-notify-rm-watch]:
	[file-ownership-preserved-p, file-selinux-context]:
	[make-directory-internal, make-symbolic-link, set-file-acl]:
	[set-file-selinux-context, set-visited-file-modtime]:
	[verify-visited-file-modtime]: Add handler.
	(tramp-adb-handle-write-region): Apply `set-visited-file-modtime'.

	* net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist)
	[file-notify-add-watch, file-notify-rm-watch]:
	[set-file-times, set-visited-file-modtime]:
	[verify-visited-file-modtime]: Add handler.
	(with-tramp-gvfs-error-message)
	(tramp-gvfs-handle-set-visited-file-modtime)
	(tramp-gvfs-fuse-file-name): Remove.
	(tramp-gvfs-handle-file-notify-add-watch)
	(tramp-gvfs-file-gvfs-monitor-file-process-filter): New defuns.
	(tramp-gvfs-handle-write-region): Fix error in moving tmpfile.

Juanma Barranquero's avatar
Juanma Barranquero committed
1504 1505
	* net/tramp-sh.el (tramp-sh-file-name-handler-alist):
	Order alphabetically.
Michael Albinus's avatar
Michael Albinus committed
1506 1507 1508 1509 1510 1511 1512 1513 1514 1515 1516 1517 1518 1519 1520
	[file-notify-rm-watch ]: Use default Tramp handler.
	[executable-find]: Remove private handler.
	(tramp-do-copy-or-rename-file-out-of-band): Do not bind
	`default-directory'.
	(tramp-sh-handle-executable-find)
	(tramp-sh-handle-file-notify-rm-watch): Remove functions.
	(tramp-sh-file-gvfs-monitor-dir-process-filter)
	(tramp-sh-file-inotifywait-process-filter, tramp-set-remote-path):
	Do not use `format' in `tramp-message'.

	* net/tramp-smb.el (tramp-smb-file-name-handler-alist)
	[file-notify-rm-watch, set-visited-file-modtime]:
	[verify-visited-file-modtime]: Add handler.
	(tramp-smb-call-winexe): Do not bind `default-directory'.

1521 1522 1523 1524
2013-08-01  Xue Fuqiao  <xfq.free@gmail.com>

	* vc/vc-hooks.el (vc-menu-map): Fix menu entry for vc-ignore.

1525 1526 1527 1528 1529 1530 1531 1532 1533 1534
2013-07-31  Dmitry Gutov  <dgutov@yandex.ru>

	* vc/log-view.el (log-view-diff): Extract `log-view-diff-common',
	use it.
	(log-view-diff-changeset): Same.
	(log-view-diff-common): Call backend command `previous-revision'
	to find out the previous revision, in both cases.  Swap the
	variables `to' and `fr', so that `fr' usually refers to the
	earlier revision (Bug#14989).

1535 1536 1537 1538 1539
2013-07-31  Kan-Ru Chen  <kanru@kanru.info>

	* ibuf-ext.el (ibuffer-filter-by-filename):
	Make it work with dired buffers too.

Juanma Barranquero's avatar
Juanma Barranquero committed
1540
2013-07-31  Dmitry Antipov  <dmantipov@yandex.ru>
1541 1542 1543 1544 1545 1546 1547 1548

	* emacs-lisp/re-builder.el (reb-color-display-p):
	* files.el (save-buffers-kill-terminal):
	* net/browse-url.el (browse-url):
	* server.el (server-save-buffers-kill-terminal):
	* textmodes/reftex-toc.el (reftex-toc, reftex-toc-revert):
	Prefer nil to selected-frame for the first arg of frame-parameter.

1549 1550 1551 1552
2013-07-31  Xue Fuqiao  <xfq.free@gmail.com>

	* vc/vc-hooks.el (vc-menu-map): Add menu entry for vc-ignore.

1553 1554 1555 1556 1557
2013-07-30  Stephen Berman  <stephen.berman@gmx.net>

	* minibuffer.el (completion--twq-all): Try and preserve each
	completion's case choice (bug#14907).

1558 1559
2013-07-30  Lars Magne Ingebrigtsen  <larsi@gnus.org>

1560 1561 1562 1563 1564
	* net/network-stream.el (open-network-stream): Mention the new
	:nogreeting parameter.
	(network-stream-open-starttls): Use the :nogreeting parameter
	(bug#14938).

1565 1566
	* net/shr.el (shr-mouse-browse-url): Remove and use `shr-browse-url'.

1567 1568 1569
	* net/eww.el (eww-setup-buffer): Switching to the buffer seems
	more natural than popping.

1570
	* net/shr.el (shr-urlify): Put `follow-link' on URLs (bug#14815).
1571
	(shr-urlify): Highlight under mouse.
1572

Xue Fuqiao's avatar
Xue Fuqiao committed
1573 1574
2013-07-30  Xue Fuqiao  <xfq.free@gmail.com>

Xue Fuqiao's avatar
Xue Fuqiao committed
1575 1576 1577 1578
	* vc/vc-hooks.el (vc-prefix-map): Add key binding for vc-ignore.

	* vc/vc-dir.el (vc-dir-mode-map): Change key binding for vc-dir-ignore.

Xue Fuqiao's avatar
Xue Fuqiao committed
1579 1580 1581
	* vc/vc-svn.el (vc-svn-ignore): Remove `interactive'.  Use `*vc*'
	buffer for output.

Xue Fuqiao's avatar
Xue Fuqiao committed
1582 1583
	* vc/vc-hg.el (vc-hg-ignore): Remove `interactive'.  Do not assume
	point-min==1.  Fix search string.  Fix parentheses missing.
Xue Fuqiao's avatar
Xue Fuqiao committed
1584

Juanma Barranquero's avatar
Juanma Barranquero committed
1585
	* vc/vc-git.el (vc-git-ignore): Remove `interactive'.  Do not
Xue Fuqiao's avatar
Xue Fuqiao committed
1586
	assume point-min==1.  Fix search string.  Fix parentheses missing.
Xue Fuqiao's avatar
Xue Fuqiao committed
1587