ChangeLog 235 KB
Newer Older
1 2 3 4 5 6 7 8 9 10
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.
11 12
	(frameset-session-filter-alist, frameset-persistent-filter-alist)
	(frameset-filter-alist): Doc fixes.
13

14 15 16 17
2013-08-08  Juanma Barranquero  <lekktu@gmail.com>

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

18 19 20 21 22 23 24
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.

25 26
2013-08-08  Juanma Barranquero  <lekktu@gmail.com>

27 28
	* frameset.el (frameset-restore): Doc fix.

29 30 31 32 33 34 35 36 37 38
	* 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.

39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78
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.

79 80
2013-08-07  Stefan Monnier  <monnier@iro.umontreal.ca>

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

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

89 90 91 92 93 94
	* 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.

95 96 97 98 99 100 101
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.

102 103 104 105 106 107 108
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.

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

115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132
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)
133
	(calendar-font-lock-keywords): Set to nil and make obsolete.
134 135
	(calendar-day-name): Add option to use header array.

136 137 138 139 140 141
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.
142 143
	(shr-make-table-1): Redo last change to fix the real problem in
	colspan handling.
144

145 146 147 148 149
2013-08-06  Dmitry Antipov  <dmantipov@yandex.ru>

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

150 151
2013-08-06  Juanma Barranquero  <lekktu@gmail.com>

152 153 154 155 156 157 158 159
	* 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>.

160 161 162
	* find-lisp.el (find-lisp-line-indent, find-lisp-find-dired-filter):
	Fix typos in docstrings.

163 164 165 166
2013-08-06  Dmitry Antipov  <dmantipov@yandex.ru>

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

167 168
2013-08-06  Juanma Barranquero  <lekktu@gmail.com>

169 170 171
	* vc/vc.el (vc-default-ignore-completion-table):
	Silence byte-compiler warning.

172 173 174 175 176 177 178 179 180 181 182
	* 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.

183 184 185
	* 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)

186 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 214
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.

215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286
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.

287 288 289 290 291 292 293 294
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.

295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317
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.

318 319 320 321
2013-08-05  Glenn Morris  <rgm@gnu.org>

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

325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353
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>.

354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379
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.

380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404
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.

405 406 407 408 409 410 411 412 413 414 415 416 417
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.

418 419
2013-08-04  Juanma Barranquero  <lekktu@gmail.com>

420 421 422
	* frameset.el (frameset-p, frameset-save): Fix autoload cookies.
	(frameset-filter-minibuffer): Doc fix.
	(frameset-restore): Fix autoload cookie.  Fix typo in docstring.
423 424 425
	(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.
426

427 428 429 430
	* 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
431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454
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.

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

460 461 462 463
2013-08-03  Stefan Monnier  <monnier@iro.umontreal.ca>

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

464 465
2013-08-02  Stefan Monnier  <monnier@iro.umontreal.ca>

466 467 468
	* emacs-lisp/easy-mmode.el (define-globalized-minor-mode)
	(easy-mmode-define-navigation): Avoid ((lambda (..) ..) ...).

469 470 471 472 473 474
	* 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.

475 476
2013-08-02  Juanma Barranquero  <lekktu@gmail.com>

477 478 479
	* emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression):
	Add cl-def* expressions.

480 481
	* frameset.el (frameset-filter-params): Fix order of arguments.

482 483 484 485 486 487 488 489 490 491 492 493 494 495 496 497 498 499 500 501 502 503 504 505 506 507 508 509
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.

510 511 512 513 514 515 516 517 518 519 520 521 522 523 524 525 526
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.

527 528
2013-08-01  Tassilo Horn  <tsdh@gnu.org>

529 530
	* speedbar.el (speedbar-query-confirmation-method): Doc fix.

531 532 533 534
	* 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
535 536 537 538 539 540 541 542 543
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
544 545
	* net/tramp-adb.el (tramp-adb-file-name-handler-alist):
	Order alphabetically.
Michael Albinus's avatar
Michael Albinus committed
546 547 548 549 550 551 552 553 554 555 556 557 558 559 560 561 562 563 564
	[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
565 566
	* net/tramp-sh.el (tramp-sh-file-name-handler-alist):
	Order alphabetically.
Michael Albinus's avatar
Michael Albinus committed
567 568 569 570 571 572 573 574 575 576 577 578 579 580 581
	[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'.

582 583 584 585
2013-08-01  Xue Fuqiao  <xfq.free@gmail.com>

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

586 587 588 589 590 591 592 593 594 595
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).

596 597 598 599 600
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
601
2013-07-31  Dmitry Antipov  <dmantipov@yandex.ru>
602 603 604 605 606 607 608 609

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

610 611 612 613
2013-07-31  Xue Fuqiao  <xfq.free@gmail.com>

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

614 615 616 617 618
2013-07-30  Stephen Berman  <stephen.berman@gmx.net>

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

619 620
2013-07-30  Lars Magne Ingebrigtsen  <larsi@gnus.org>

621 622 623 624 625
	* net/network-stream.el (open-network-stream): Mention the new
	:nogreeting parameter.
	(network-stream-open-starttls): Use the :nogreeting parameter
	(bug#14938).

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

628 629 630
	* net/eww.el (eww-setup-buffer): Switching to the buffer seems
	more natural than popping.

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

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

Xue Fuqiao's avatar
Xue Fuqiao committed
636 637 638 639
	* 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
640 641 642
	* vc/vc-svn.el (vc-svn-ignore): Remove `interactive'.  Use `*vc*'
	buffer for output.

Xue Fuqiao's avatar
Xue Fuqiao committed
643 644
	* 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
645

Juanma Barranquero's avatar
Juanma Barranquero committed
646
	* vc/vc-git.el (vc-git-ignore): Remove `interactive'.  Do not
Xue Fuqiao's avatar
Xue Fuqiao committed
647
	assume point-min==1.  Fix search string.  Fix parentheses missing.
Xue Fuqiao's avatar
Xue Fuqiao committed
648 649 650 651 652 653

	* vc/vc-cvs.el (vc-cvs-ignore): Remove `interactive'.

	* vc/vc-bzr.el (vc-bzr-ignore): Remove `interactive'.  Use `*vc*'
	buffer for output.

654 655 656 657 658
2013-07-29  Eli Zaretskii  <eliz@gnu.org>

	* frame.el (frame-notice-user-settings): Avoid inflooping when the
	initial frame is minibuffer-less.  (Bug#14841)

659 660 661 662 663 664 665 666
2013-07-29  Michael Albinus  <michael.albinus@gmx.de>

	* net/tramp.el (tramp-use-ssh-controlmaster-options): New customer
	option.

	* net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
	(tramp-maybe-open-connection): Use it.

667 668 669 670 671 672
2013-07-28  Juanma Barranquero  <lekktu@gmail.com>

	* desktop.el (desktop--make-frame): Include `minibuffer' in the
	minimal set of parameters passed when creating a frame, because
	the minibuffer status of a frame cannot be changed later.

673 674 675 676 677
2013-07-28  Stephen Berman  <stephen.berman@gmx.net>

	* calendar/todo-mode.el (todo-rename-file): Fix incorrect use of
	replace-regexp-in-string and inadvertent omissions in previous change.
	(todo-filter-items): Ensure only file names are comma-separated in
Stephen Berman's avatar
Stephen Berman committed
678
	name of filtered items buffer.
679

680 681 682 683 684 685 686
2013-07-28  Juanma Barranquero  <lekktu@gmail.com>

	* desktop.el: Optionally force offscreen frames back onscreen.
	(desktop-restoring-reuses-frames): New option.
	(desktop--compute-pos, desktop--move-onscreen): New functions.
	(desktop--make-frame): Use desktop--move-onscreen.

687 688 689 690 691 692
2013-07-27  Alan Mackenzie  <acm@muc.de>

	Fontify a Java generic method as a function.
	* progmodes/cc-langs.el (c-recognize-<>-arglists): Set the Java
	value to t.

693 694 695 696 697 698 699 700 701
2013-07-27  Stephen Berman  <stephen.berman@gmx.net>

	* calendar/todo-mode.el: Add command to rename todo files.
	(todo-rename-file): New command.
	(todo-key-bindings-t): Add key binding for it.  Change the
	bindings of todo-filter-regexp-items(-multifile) to use `x'
	instead of `r', since the latter is better suited to the new
	renaming command.

702 703 704 705 706 707 708 709
2013-07-27  Alan Mackenzie  <acm@muc.de>

	Make Java try-with-resources statement parse properly.
	* progmodes/cc-langs.el (c-block-stmt-1-2-kwds)
	(c-block-stmt-1-2-key): New language constants/variables.
	* progmodes/cc-engine.el (c-beginning-of-statement-1)
	(c-after-conditional): Adapt to deal with c-block-stmt-1-2-key.
	* progmodes/cc-fonts.el (c-font-lock-declarations): Adapt to deal
Juanma Barranquero's avatar
Juanma Barranquero committed
710
	with c-block-stmt-1-2-key.
711

712 713 714 715 716 717
2013-07-27  Juanma Barranquero  <lekktu@gmail.com>

	* desktop.el (desktop--make-frame): Apply most frame parameters after
	creating the frame to force (partially or totally) offscreen frames to
	be restored as such.

Xue Fuqiao's avatar
Xue Fuqiao committed
718 719 720
2013-07-26  Xue Fuqiao  <xfq.free@gmail.com>

	* vc/vc-dir.el (vc-dir-mode-map): Add binding for vc-root-diff.
Xue Fuqiao's avatar
Xue Fuqiao committed
721
	(Bug#14948)
Xue Fuqiao's avatar
Xue Fuqiao committed
722

723 724 725 726 727
2013-07-26  Stefan Monnier  <monnier@iro.umontreal.ca>

	* emacs-lisp/nadvice.el (advice--called-interactively-skip): Use the new
	`base' arg of backtrace-frame.

728 729 730 731
2013-07-26  Eli Zaretskii  <eliz@gnu.org>

	* simple.el (list-processes): Doc fix.

732 733 734
2013-07-26  Juanma Barranquero  <lekktu@gmail.com>

	* desktop.el (desktop--select-frame):
735
	Try harder to reuse existing frames.
736

737 738 739 740 741 742 743 744 745 746 747
2013-07-26  Stefan Monnier  <monnier@iro.umontreal.ca>

	* emacs-lisp/edebug.el: Use backtrace-eval to handle lexical variables.
	(edebug-eval): Use backtrace-eval.
	(edebug--display, edebug--recursive-edit): Don't let-bind the
	edebug-outer-* vars that keep track of variables we locally let-bind.
	(edebug-outside-excursion): Don't restore outside values of locally
	let-bound vars.
	(edebug--display): Use user-error.
	(cl-lexical-debug, cl-debug-env): Remove.

748 749 750 751 752 753
2013-07-26  Juanma Barranquero  <lekktu@gmail.com>

	* desktop.el (desktop-restore-frames): Call `sit-for' once all frames
	are restored to be sure that they are visible before deleting any
	remaining ones.

754 755
2013-07-26  Matthias Meulien  <orontee@gmail.com>

Xue Fuqiao's avatar
Xue Fuqiao committed
756 757
	* vc/vc-dir.el (vc-dir-mode-map): Add binding for
	vc-print-root-log.  (Bug#14948)
758

759 760 761 762 763 764 765 766 767
2013-07-26  Richard Stallman  <rms@gnu.org>

	Add aliases for encrypting mail.
	* epa.el (epa-mail-aliases): New option.
	* epa-mail.el (epa-mail-encrypt): Rewrite to be callable from programs.
	Bind inhibit-read-only so read-only text doesn't ruin everything.
	(epa-mail-default-recipients): New subroutine broken out.
	Handle epa-mail-aliases.

768 769 770 771 772 773 774 775 776 777 778 779 780 781 782 783
2013-07-26  Stefan Monnier  <monnier@iro.umontreal.ca>

	Add support for lexical variables to the debugger's `e' command.
	* emacs-lisp/debug.el (debug): Don't let-bind the debugger-outer-*
	vars, except for debugger-outer-match-data.
	(debugger-frame-number): Move check for "on a function call" from
	callers into it.  Add `skip-base' argument.
	(debugger-frame, debugger-frame-clear): Simplify accordingly.
	(debugger-env-macro): Only reset the state stored in non-variables,
	i.e. current-buffer and match-data.
	(debugger-eval-expression): Rewrite using backtrace-eval.
	* subr.el (internal--called-interactively-p--get-frame): Remove.
	(called-interactively-p):
	* emacs-lisp/edebug.el (edebug--called-interactively-skip): Use the new
	`base' arg of backtrace-frame instead.

784 785
2013-07-26  Glenn Morris  <rgm@gnu.org>

786 787 788
	* align.el (align-regexp): Doc fix.  (Bug#14857)
	(align-region): Explicit error if subexpression missing/does not match.

789 790 791
	* simple.el (global-visual-line-mode):
	Do not duplicate the mode lighter.  (Bug#14858)

792 793 794 795 796
2013-07-25  Martin Rudalics  <rudalics@gmx.at>

	* window.el (display-buffer): In display-buffer bind
	split-window-keep-point to t, bug#14829.

797 798 799 800 801 802 803
2013-07-25  Juanma Barranquero  <lekktu@gmail.com>

	* desktop.el: Rename internal "desktop-X" frame params to "desktop--X".
	(desktop-filter-parameters-alist, desktop--filter-restore-desktop-parm)
	(desktop--filter-save-desktop-parm, desktop--process-minibuffer-frames)
	(desktop--select-frame, desktop--sort-states, desktop-restore-frames):
	Change accordingly.
804 805
	(desktop--select-frame, desktop--sort-states, desktop-restore-frames):
	Use pcase-let, pcase-let* to deobfuscate access to desktop--mini values.
806

807
2013-07-25  Glenn Morris  <rgm@gnu.org>
Andreas Schwab's avatar
Andreas Schwab committed
808

809
	* dired-x.el (dired-mark-extension): Convert comment to doc string.
Lars Magne Ingebrigtsen's avatar
Lars Magne Ingebrigtsen committed
810

811 812 813 814 815 816 817 818
2013-07-25  Juanma Barranquero  <lekktu@gmail.com>

	* desktop.el (desktop--make-frame): Do not pass the `fullscreen'
	parameter to modify-frame-parameters if the value has not changed;
	this is a workaround for bug#14949.
	(desktop--make-frame): On cl-delete-if call, check parameter name,
	not full parameter.

Xue Fuqiao's avatar
Xue Fuqiao committed
819 820 821 822 823 824 825 826 827 828 829 830 831 832
2013-07-30  Xue Fuqiao  <xfq.free@gmail.com>

	* vc/vc.el (vc-ignore): New function.

	* vc/vc-svn.el (vc-svn-ignore): New function.

	* vc/vc-hg.el (vc-hg-ignore): New function.

	* vc/vc-git.el (vc-git-ignore): New function.

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

	* vc/vc-cvs.el (vc-cvs-ignore): New function.
Xue Fuqiao's avatar
Xue Fuqiao committed
833
	(cvs-append-to-ignore): Move here from pcvs.el.
Xue Fuqiao's avatar
Xue Fuqiao committed
834 835 836 837 838

	* vc/vc-bzr.el (vc-bzr-ignore): New function.

	* vc/pcvs.el (vc-cvs): Require 'vc-cvs.

839 840 841 842 843
2013-07-24  Juanma Barranquero  <lekktu@gmail.com>

	* desktop.el (desktop-restoring-frames-p): Return a true boolean.
	(desktop-restore-frames): Warn when deleting an existing frame failed.

844 845 846 847
2013-07-24  Glenn Morris  <rgm@gnu.org>

	* ffap.el (ffap-machine-p): Handle "not known" response.  (Bug#14929)

848 849 850 851 852 853 854 855 856 857 858 859 860 861 862
2013-07-24  Michael Albinus  <michael.albinus@gmx.de>

	* filenotify.el (file-notify-supported-p):
	* net/tramp-sh.el (tramp-sh-handle-file-notify-supported-p):
	Remove functions.

	* autorevert.el (auto-revert-use-notify):
	(auto-revert-notify-add-watch):
	* net/tramp.el (tramp-file-name-for-operation):
	* net/tramp-adb.el (tramp-adb-file-name-handler-alist):
	* net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
	* net/tramp-sh.el (tramp-sh-file-name-handler-alist):
	* net/tramp-smb.el (tramp-smb-file-name-handler-alist):
	Remove `file-notify-supported-p' entry.

863 864 865
2013-07-24  Glenn Morris  <rgm@gnu.org>

	* printing.el: Replace all uses of deleted ps-windows-system,
866
	ps-lp-system, ps-flatten-list with lpr- versions.
867

868 869
2013-07-24  Stefan Monnier  <monnier@iro.umontreal.ca>

870 871 872
	* emacs-lisp/pcase.el (pcase--u1): Verify if self-quoting values can be
	checked with memq (bug#14935).

873 874 875 876 877 878
	* files.el (revert-buffer-function): Use a non-nil default.
	(revert-buffer-preserve-modes): Declare var to
	provide access to the `preserve-modes' argument.
	(revert-buffer): Let-bind it.
	(revert-buffer--default): New function, extracted from revert-buffer.

879 880 881 882 883 884 885 886 887 888 889 890 891 892 893 894 895 896 897 898
2013-07-24  Stefan Monnier  <monnier@iro.umontreal.ca>

	* lpr.el: Signal print errors more prominently.
	(print-region-function): Don't default to nil.
	(lpr-print-region): New function, extracted from print-region-1.
	Check lpr's return value and signal an error in case of problem.
	(print-region-1): Use it.
	* ps-print.el (ps-windows-system, ps-lp-system): Remove.  Use the lpr-*
	versions instead.
	(ps-printer-name): Default to nil.
	(ps-printer-name-option): Default to lpr-printer-switch.
	(ps-print-region-function): Don't default to nil.
	(ps-postscript-code-directory): Simplify default.
	(ps-do-despool): Use lpr-print-region to properly check the outcome.
	(ps-string-list, ps-eval-switch, ps-flatten-list)
	(ps-flatten-list-1): Remove.
	(ps-multibyte-buffer): Avoid setq.
	* dos-w32.el (direct-print-region-helper): Use proper regexp operators.
	(print-region-function, ps-print-region-function): Don't set them here.

899 900
2013-07-24  Xue Fuqiao  <xfq.free@gmail.com>

Xue Fuqiao's avatar
Xue Fuqiao committed
901 902 903 904 905 906
	* ido.el (ido-fractionp):
	(ido-cache-ftp-work-directory-time, ido-max-prospects, ido-mode)
	(ido-max-file-prompt-width, ido-unc-hosts-cache)
	(ido-max-directory-size, ido-max-dir-file-cache)
	(ido-decorations): Doc fix.

907 908
	* ansi-color.el: Fix old URL.

909 910 911 912 913 914 915 916 917 918 919 920
2013-07-23  Michael R. Mauger  <michael@mauger.com>

	* progmodes/sql.el Version 3.3
	(sql-product-alist): Improve oracle :prompt-cont-regexp.
	(sql-starts-with-prompt-re, sql-ends-with-prompt-re): New functions.
	(sql-interactive-remove-continuation-prompt): Rewrite, use
	functions above.  Fix continuation prompt and complete output line
	handling.
	(sql-redirect-one, sql-execute): Use `read-only-mode' on
	redirected output buffer.
	(sql-mode): Restore deleted code (Bug#13591).

921 922 923 924
2013-07-23  Juanma Barranquero  <lekktu@gmail.com>

	* desktop.el (desktop-clear, desktop-list*): Fix previous change.

925 926 927 928 929 930 931 932
2013-07-23  Michael Albinus  <michael.albinus@gmx.de>

	* net/tramp.el (tramp-handle-file-notify-add-watch): New defun.

	* net/tramp-adb.el (tramp-adb-file-name-handler-alist):
	* net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
	* net/tramp-smb.el (tramp-smb-file-name-handler-alist): Use it.

933 934 935 936 937 938 939
2013-07-23  Juanma Barranquero  <lekktu@gmail.com>

	* desktop.el (desktop-clear): Simplify; remove useless checks
	against invalid buffer names.
	(desktop-list*): Use cl-list*.
	(desktop-buffer-info, desktop-create-buffer): Simplify.

940 941 942 943 944
2013-07-23  Leo Liu  <sdl.web@gmail.com>

	* bookmark.el (bookmark-make-record): Restore NAME as a default
	value.  (Bug#14933)

945 946
2013-07-22  Stefan Monnier  <monnier@iro.umontreal.ca>

947 948 949 950 951 952 953 954
	* emacs-lisp/autoload.el (autoload--setup-output): New function,
	extracted from autoload--insert-text.
	(autoload--insert-text): Remove.
	(autoload--print-cookie-text): New function, extracted from
	autoload--insert-cookie-text.
	(autoload--insert-cookie-text): Remove.
	(autoload-generate-file-autoloads): Adjust calls accordingly.

955 956 957
	* winner.el (winner-hook-installed-p): Remove.
	(winner-mode): Simplify accordingly.

958 959 960
	* subr.el (add-to-list): Fix compiler-macro when `append' is
	not constant.  Don't use `cl-member' for the base case.

961 962 963 964 965 966 967
	* progmodes/subword.el: Fix boundary case (bug#13758).
	(subword-forward-regexp): Make it a constant.  Wrap optional \\W in its
	own group.
	(subword-backward-regexp): Make it a constant.
	(subword-forward-internal): Don't treat a trailing capital as the
	beginning of a word.

968 969 970 971 972
2013-07-22  Ari Roponen  <ari.roponen@gmail.com>  (tiny change)

	* emacs-lisp/package.el (package-menu-mode): Don't modify the
	global value of tabulated-list-revert-hook (bug#14930).

973 974
2013-07-22  Juanma Barranquero  <lekktu@gmail.com>

975 976 977 978 979
	* desktop.el: Require 'cl-lib.
	(desktop-before-saving-frames-functions): New hook.
	(desktop--process-minibuffer-frames): Set desktop-mini parameter only
	for frames being saved.  Rename from desktop--save-minibuffer-frames.
	(desktop-save-frames): Run hook desktop-before-saving-frames-functions.
980 981
	Do not save frames with non-nil `desktop-dont-save' parameter.
	Filter out deleted frames.
982 983 984 985 986 987 988 989 990
	(desktop--find-frame): Use cl-find-if.
	(desktop--select-frame): Use cl-(first|second|third) to access values
	of desktop-mini.
	(desktop--make-frame): Use cl-delete-if.
	(desktop--sort-states): Fix sorting of minibuffer-owning frames.
	(desktop-restore-frames): Use cl-(first|second|third) to access values
	of desktop-mini.  Look for visible frame at the end, not while
	restoring frames.

991 992 993 994
	* dired-x.el (dired-mark-unmarked-files, dired-virtual)
	(dired-guess-default, dired-mark-sexp, dired-filename-at-point):
	Use string-match-p, looking-at-p (bug#14927).

995 996
2013-07-21  Juanma Barranquero  <lekktu@gmail.com>

997 998 999 1000 1001 1002 1003 1004 1005 1006 1007
	* desktop.el (desktop-saved-frame-states):
	Rename from desktop--saved-states; all users changed.
	(desktop-save-frames): Rename from desktop--save-frames.
	Do not save state to desktop file.
	(desktop-save): Save desktop-saved-frame-states to desktop file
	and reset to nil.
	(desktop-restoring-frames-p): New function.
	(desktop-restore-frames): Use it.  Rename from desktop--restore-frames.
	(desktop-read): Use desktop-restoring-frames-p.  Do not try to fix
	buffer-lists when restoring frames.  Suggested by Martin Rudalics.

1008 1009 1010 1011
	* desktop.el: Correctly restore iconified frames.
	(desktop--filter-iconified-position): New function.
	(desktop-filter-parameters-alist): Add entries for `top' and `left'.

1012 1013
2013-07-20  Glenn Morris  <rgm@gnu.org>

1014 1015 1016 1017
	* progmodes/gdb-mi.el (gdb-delete-handler, gdb-stopped):
	Let `message' do the formatting.
	(def-gdb-preempt-display-buffer): Add explicit format.

1018 1019 1020 1021 1022
	* image-dired.el (image-dired-track-original-file):
	Use with-current-buffer.
	(image-dired-track-thumbnail): Use with-current-buffer.
	Avoid changing point of wrong window.

1023 1024 1025
	* image-dired.el (image-dired-track-original-file):
	Avoid changing point of wrong window.  (Bug#14909)

1026
2013-07-20  Richard Copley  <rcopley@gmail.com>  (tiny change)
1027 1028 1029 1030

	* progmodes/gdb-mi.el (gdb-done-or-error):
	Guard against "%" in gdb output.  (Bug#14127)

1031 1032
2013-07-20  Andreas Schwab  <schwab@linux-m68k.org>

1033 1034
	* progmodes/sh-script.el (sh-read-variable): Remove interactive spec.
	(Bug#14826)
Andreas Schwab's avatar
Andreas Schwab committed
1035

1036 1037 1038
	* international/mule.el (coding-system-iso-2022-flags): Fix last
	change.

1039 1040
2013-07-20  Kenichi Handa  <handa@gnu.org>

1041 1042
	* international/mule.el (coding-system-iso-2022-flags):
	Add `8-bit-level-4'.  (Bug#8522)
1043

1044 1045
2013-07-19  Lars Magne Ingebrigtsen  <larsi@gnus.org>

1046 1047 1048
	* net/shr.el (shr-mouse-browse-url): New command and keystroke
	(bug#14815).

1049 1050 1051 1052
	* net/eww.el (eww-process-text-input): Allow inputting when the
	point is at the start of the line, as the properties aren't
	front-sticky.

1053 1054 1055
	* net/shr.el (shr-make-table-1): Ensure that we don't infloop on
	degenerate widths.

1056 1057
2013-07-19  Richard Stallman  <rms@gnu.org>

1058 1059
	* epa.el (epa-popup-info-window): Doc fix.

1060 1061
	* subr.el (split-string): New arg TRIM.

1062 1063 1064 1065 1066
2013-07-18  Juanma Barranquero  <lekktu@gmail.com>

	* frame.el (blink-cursor-timer-function, blink-cursor-suspend):
	Add check for W32 (followup to 2013-07-16T11:41:06Z!jan.h.d@swipnet.se).

1067 1068
2013-07-18  Michael Albinus  <michael.albinus@gmx.de>

1069
	* filenotify.el (file-notify--library): Rename from
1070 1071 1072
	`file-notify-support'.  Do not autoload.  Adapt all uses.
	(file-notify-supported-p): New defun.

1073 1074 1075
	* autorevert.el (auto-revert-use-notify):
	Use `file-notify-supported-p' instead of `file-notify-support'.
	Adapt docstring.
1076 1077 1078 1079 1080 1081 1082 1083 1084 1085 1086 1087 1088 1089 1090
	(auto-revert-notify-add-watch): Use `file-notify-supported-p'.

	* net/tramp.el (tramp-file-name-for-operation):
	Add `file-notify-supported-p'.

	* net/tramp-sh.el (tramp-sh-handle-file-notify-supported-p):
	New defun.
	(tramp-sh-file-name-handler-alist): Add it as handler for
	`file-notify-supported-p '.

	* net/tramp-adb.el (tramp-adb-file-name-handler-alist):
	* net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
	* net/tramp-smb.el (tramp-smb-file-name-handler-alist):
	Add `ignore' as handler for `file-notify-*' functions.

1091 1092 1093 1094 1095 1096
2013-07-17  Eli Zaretskii  <eliz@gnu.org>

	* simple.el (line-move-partial, line-move): Don't start vscroll or
	scroll-up if the current line is not taller than the window.
	(Bug#14881)

1097 1098 1099 1100
2013-07-16  Dmitry Gutov  <dgutov@yandex.ru>

	* progmodes/ruby-mode.el (ruby-font-lock-keywords): Do not
	highlight question marks in the method names as strings.
1101 1102 1103
	(ruby-block-beg-keywords): Inline.
	(ruby-font-lock-keyword-beg-re): Extract from
	`ruby-font-lock-keywords'.
1104

1105 1106 1107 1108 1109 1110 1111 1112 1113
2013-07-16  Jan Djärv  <jan.h.d@swipnet.se>

	* frame.el (blink-cursor-blinks): New defcustom.
	(blink-cursor-blinks-done): New defvar.
	(blink-cursor-start): Set blink-cursor-blinks-done to 1.
	(blink-cursor-timer-function): Check if number of blinks has been
	done on X and NS.
	(blink-cursor-suspend, blink-cursor-check): New defuns.

1114 1115 1116 1117
2013-07-15  Glenn Morris  <rgm@gnu.org>

	* edmacro.el (edmacro-format-keys): Fix previous change.

1118 1119 1120 1121 1122
2013-07-15  Paul Eggert  <eggert@cs.ucla.edu>

	* shell.el (explicit-bash-args): Remove obsolete hack for Bash 1.x.
	The hack didn't work outside English locales anyway.

1123 1124 1125 1126 1127
2013-07-15  Juanma Barranquero  <lekktu@gmail.com>

	* simple.el (define-alternatives): Rename from alternatives-define,
	per RMS' suggestion.

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 1154
2013-07-14  Juanma Barranquero  <lekktu@gmail.com>

	* desktop.el (desktop-restore-frames): Change default to t.
	(desktop-restore-in-current-display): Now offer more options.
	(desktop-restoring-reuses-frames): New customization option.
	(desktop--saved-states): Doc fix.
	(desktop-filter-parameters-alist): New variable, renamed and expanded
	from desktop--excluded-frame-parameters.
	(desktop--target-display): New variable.
	(desktop-switch-to-gui-p, desktop-switch-to-tty-p)
	(desktop--filter-tty*, desktop--filter-*-color)
	(desktop--filter-minibuffer, desktop--filter-restore-desktop-parm)
	(desktop--filter-save-desktop-parm)
	(desktop-restore-in-original-display-p): New functions.
	(desktop--filter-frame-parms): Use new desktop-filter-parameters-alist.
	(desktop--save-minibuffer-frames): New function, inspired by a similar
	function from Martin Rudalics.
	(desktop--save-frames): Call it; play nice with desktop-globals-to-save.
	(desktop--restore-in-this-display-p): Remove.
	(desktop--find-frame): Rename from desktop--find-frame-in-display
	and add predicate argument.
	(desktop--make-full-frame): Remove, integrated into desktop--make-frame.
	(desktop--reuse-list): New variable.
	(desktop--select-frame, desktop--make-frame, desktop--sort-states):
	New functions.
	(desktop--restore-frames): Add support for "minibuffer-special" frames.

1155 1156 1157 1158
2013-07-14  Michael Albinus  <michael.albinus@gmx.de>

	* net/tramp-sh.el (tramp-sh-handle-vc-registered): Use `ignore-error'.

1159 1160
2013-07-13  Dmitry Gutov  <dgutov@yandex.ru>

1161 1162
	* progmodes/ruby-mode.el (ruby-font-lock-keywords):
	Highlight conversion methods on Kernel.
1163

1164 1165 1166 1167 1168 1169
2013-07-13  Alan Mackenzie  <acm@muc.de>

	* progmodes/cc-engine.el (c-forward-decl-or-cast-1): Label CASE 13
	and comment it out.  This out-commenting enables certain C++
	declarations to be parsed correctly.

1170 1171
2013-07-13  Eli Zaretskii  <eliz@gnu.org>

1172 1173
	* international/mule.el (define-coding-system): Doc fix.

1174 1175 1176 1177
	* simple.el (default-font-height): Don't call font-info if the
	frame's default font didn't change since the frame was created.
	(Bug#14838)

1178 1179 1180 1181
2013-07-13  Leo Liu  <sdl.web@gmail.com>

	* ido.el (ido-read-file-name): Guard against non-symbol value.

1182 1183 1184 1185 1186
2013-07-13  Fabián Ezequiel Gallina  <fgallina@gnu.org>

	* progmodes/python.el (python-imenu--build-tree): Fix corner case
	in nested defuns.

1187 1188 1189 1190 1191
2013-07-13  Leo Liu  <sdl.web@gmail.com>

	* ido.el (ido-exhibit): Handle ido-enter-matching-directory before
	ido-set-matches call.  (Bug#6852)

1192 1193 1194 1195 1196 1197 1198 1199 1200
2013-07-12  Dmitry Gutov  <dgutov@yandex.ru>

	* progmodes/ruby-mode.el (ruby-percent-literals-beg-re):
	(ruby-syntax-expansion-allowed-p): Support array of symbols, for
	Ruby 2.0.
	(ruby-font-lock-keywords): Distinguish calls to functions with
	module-like names from module references.  Highlight character
	literals.

1201 1202 1203
2013-07-12  Sergio Durigan Junior  <sergiodj@riseup.net>  (tiny change)

	* progmodes/gdb-mi.el (gdb-strip-string-backslash): New function.
1204
	(gdb-send): Handle continued commands.  (Bug#14847)
1205

1206 1207 1208 1209 1210 1211 1212
2013-07-12  Juanma Barranquero  <lekktu@gmail.com>

	* desktop.el (desktop--v2s): Remove unused local variable.
	(desktop-save-buffer): Make defvar-local; adjust docstring.
	(desktop-auto-save-timeout, desktop-owner): Use ignore-errors.
	(desktop-clear, desktop-save-buffer-p): Use string-match-p.

1213 1214 1215 1216
2013-07-12  Andreas Schwab  <schwab@linux-m68k.org>

	* emacs-lisp/map-ynp.el (map-y-or-n-p): Fix last change.

Glenn Morris's avatar
Glenn Morris committed
1217 1218 1219 1220 1221
2013-07-12  Eli Zaretskii  <eliz@gnu.org>

	* simple.el (next-line, previous-line): Document TRY-VSCROLL and ARG.
	(Bug#14842)

1222 1223 1224 1225 1226 1227 1228 1229 1230 1231 1232 1233 1234 1235 1236 1237 1238 1239 1240 1241 1242 1243 1244 1245 1246 1247
2013-07-12  Glenn Morris  <rgm@gnu.org>

	* doc-view.el: Require cl-lib at runtime too.
	(doc-view-remove-if): Remove.
	(doc-view-search-next-match, doc-view-search-previous-match):
	Use cl-remove-if.

	* edmacro.el: Require cl-lib at runtime too.
	(edmacro-format-keys, edmacro-parse-keys): Use cl-mismatch, cl-subseq.
	(edmacro-mismatch, edmacro-subseq): Remove.

	* shadowfile.el: Require cl-lib.
	(shadow-remove-if): Remove.
	(shadow-set-cluster, shadow-shadows-of-1, shadow-remove-from-todo):
	Use cl-remove-if.

	* wid-edit.el: Require cl-lib.
	(widget-choose): Use cl-remove-if.
	(widget-remove-if): Remove.

	* progmodes/ebrowse.el: Require cl-lib at runtime too.
	(ebrowse-delete-if-not): Remove.
	(ebrowse-browser-buffer-list, ebrowse-member-buffer-list)
	(ebrowse-tree-buffer-list, ebrowse-same-tree-member-buffer-list):
	Use cl-delete-if-not.

1248 1249 1250 1251 1252
2013-07-12  Juanma Barranquero  <lekktu@gmail.com>

	* emacs-lisp/cl-macs.el (cl-multiple-value-bind, cl-multiple-value-setq)
	(cl-the, cl-declare, cl-defstruct): Fix typos in docstrings.

1253 1254 1255 1256
2013-07-12  Leo Liu  <sdl.web@gmail.com>

	* ido.el (dired-do-copy, dired): Set 'ido property.  (Bug#11954)

1257 1258
2013-07-11  Glenn Morris  <rgm@gnu.org>

1259 1260 1261 1262 1263 1264 1265 1266 1267 1268
	* emacs-lisp/edebug.el: Require cl-lib at run-time too.
	(edebug-gensym-index, edebug-gensym):
	Remove reimplementation of cl-gensym.
	(edebug-make-enter-wrapper, edebug-make-form-wrapper): Use cl-gensym.

	* thumbs.el: Require cl-lib at run-time too.
	(thumbs-gensym-counter, thumbs-gensym):
	Remove reimplementation of cl-gensym.
	(thumbs-temp-file): Use cl-gensym.

1269 1270 1271 1272 1273 1274 1275 1276 1277 1278 1279 1280 1281
	* emacs-lisp/ert.el: Require cl-lib at runtime too.
	(ert--cl-do-remf, ert--remprop, ert--remove-if-not)
	(ert--intersection, ert--set-difference, ert--set-difference-eq)
	(ert--union, ert--gensym-counter, ert--gensym-counter)
	(ert--coerce-to-vector, ert--remove*, ert--string-position)
	(ert--mismatch, ert--subseq): Remove reimplementations of cl funcs.
	(ert-make-test-unbound, ert--expand-should-1)
	(ert--expand-should, ert--should-error-handle-error)
	(should-error, ert--explain-equal-rec)
	(ert--plist-difference-explanation, ert-select-tests)
	(ert--make-stats, ert--remove-from-list, ert--string-first-line):
	Use cl-lib functions rather than reimplementations.

1282 1283 1284 1285 1286 1287 1288 1289 1290 1291 1292 1293 1294 1295
2013-07-11  Michael Albinus  <michael.albinus@gmx.de>

	* net/tramp.el (tramp-methods): Extend docstring.
	(tramp-connection-timeout): New defcustom.
	(tramp-error-with-buffer): Reset timestamp only when appropriate.
	(with-tramp-progress-reporter): Simplify.
	(tramp-process-actions): Improve messages.

	* net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
	* net/tramp-sh.el (tramp-maybe-open-connection):
	Use `tramp-connection-timeout'.
	(tramp-methods) [su, sudo, ksu]: Add method specific timeouts.
	(Bug#14808)

1296 1297 1298 1299 1300 1301 1302
2013-07-11  Leo Liu  <sdl.web@gmail.com>

	* ido.el (ido-read-file-name): Conform to the requirements of
	read-file-name.  (Bug#11861)
	(ido-read-directory-name): Conform to the requirements of
	read-directory-name.

1303 1304 1305 1306
2013-07-11  Juanma Barranquero  <lekktu@gmail.com>

	* subr.el (delay-warning): New function.

1307 1308 1309 1310 1311 1312 1313 1314 1315
2013-07-10  Eli Zaretskii  <eliz@gnu.org>

	* simple.el (default-line-height): New function.
	(line-move-partial, line-move): Use it instead of computing the
	line height inline.
	(line-move-partial): Always compute ROWH.  If the last line is
	partially-visible, but its text is completely visible, allow
	cursor to enter such a partially-visible line.

1316 1317 1318 1319 1320 1321
2013-07-10  Michael Albinus  <michael.albinus@gmx.de>

	Improve error messages.  (Bug#14808)

	* net/tramp.el (tramp-current-connection): New defvar, moved from
	tramp-sh.el.
1322
	(tramp-message-show-progress-reporter-message): Remove, not
1323
	needed anymore.
1324 1325
	(tramp-error-with-buffer): Show message in minibuffer.
	Discard input before waiting.  Reset connection timestamp.
1326 1327 1328 1329
	(with-tramp-progress-reporter): Improve messages.
	(tramp-process-actions): Use progress reporter.  Delete process in
	case of error.  Improve messages.

1330 1331
	* net/tramp-sh.el (tramp-barf-if-no-shell-prompt): Use condition-case.
	Call `tramp-error-with-buffer' with vector and buffer.
1332
	(tramp-current-connection): Remove.
1333 1334 1335
	(tramp-maybe-open-connection): The car of
	`tramp-current-connection' are the first 3 slots of the vector.

1336 1337 1338 1339 1340
2013-07-10  Teodor Zlatanov  <tzz@lifelogs.com>

	* progmodes/cfengine.el (cfengine3-indent-line): Do not indent
	inside continued strings.

Paul Eggert's avatar
Paul Eggert committed
1341 1342 1343 1344 1345
2013-07-10  Paul Eggert  <eggert@cs.ucla.edu>

	Timestamp fixes for undo (Bug#14824).
	* files.el (clear-visited-file-modtime): Move here from fileio.c.

1346 1347 1348 1349 1350
2013-07-10  Leo Liu  <sdl.web@gmail.com>

	* files.el (require-final-newline): Allow safe local value.
	(Bug#14834)

1351 1352 1353 1354 1355
2013-07-09  Leo Liu  <sdl.web@gmail.com>

	* ido.el (ido-read-directory-name): Handle fallback.
	(ido-read-file-name): Update DIR to ido-current-directory.
	(Bug#1516)
1356
	(ido-add-virtual-buffers-to-list): Robustify.  (Bug#14552)
1357

1358 1359 1360 1361 1362 1363 1364
2013-07-09  Dmitry Gutov  <dgutov@yandex.ru>

	* progmodes/ruby-mode.el (ruby-font-lock-keywords): Remove extra
	"autoload".  Remove "warn lower camel case" section, previously
	commented out.  Highlight negation char.  Do not highlight the
	target in singleton method definitions.

1365 1366
2013-07-08  Stefan Monnier  <monnier@iro.umontreal.ca>

1367 1368
	* faces.el (tty-setup-hook): Declare the hook.

1369 1370 1371 1372
	* emacs-lisp/pcase.el (pcase--split-pred): Add `vars' argument to try
	and detect when a guard/pred depends on local vars (bug#14773).
	(pcase--u1): Adjust caller.

1373 1374 1375 1376
2013-07-08  Eli Zaretskii  <eliz@gnu.org>

	* simple.el (line-move-partial, line-move): Account for
	line-spacing.
1377 1378
	(line-move-partial): Avoid setting vscroll when the last
	partially-visible line in window is of default height.
1379

1380 1381 1382 1383 1384
2013-07-08  Lars Magne Ingebrigtsen  <larsi@gnus.org>

	* net/shr.el (shr-map): Reinstate the `u' key binding, since it's
	been used a while.

1385 1386 1387 1388
2013-07-07  Juanma Barranquero  <lekktu@gmail.com>

	* subr.el (read-quoted-char): Remove unused local variable `char'.

1389 1390
2013-07-07  Michael Kifer  <kifer@cs.stonybrook.edu>

Glenn Morris's avatar
Glenn Morris committed
1391 1392 1393 1394 1395 1396 1397
	* ediff.el (ediff-version): Version update.
	(ediff-files-command, ediff3-files-command, ediff-merge-command)
	(ediff-merge-with-ancestor-command, ediff-directories-command)
	(ediff-directories3-command, ediff-merge-directories-command)
	(ediff-merge-directories-with-ancestor-command): New functions.
	All are command-line interfaces to ediff: to facilitate calling
	Emacs with the appropriate ediff functions invoked.
Juanma Barranquero's avatar
Juanma Barranquero committed
1398 1399 1400 1401

	* viper-cmd.el (viper-del-forward-char-in-insert): New function.
	(viper-save-kill-buffer): Check if buffer is modified.

Glenn Morris's avatar
Glenn Morris committed
1402 1403
	* viper.el (viper-version): Version update.
	(viper-emacs-state-mode-list): Add egg-status-buffer-mode.
Juanma Barranquero's avatar
Juanma Barranquero committed
1404

Glenn Morris's avatar
Glenn Morris committed
1405 1406 1407 1408 1409 1410 1411 1412 1413 1414 1415
2013-07-07  Stefan Monnier  <monnier@iro.umontreal.ca>

	* faces.el (tty-run-terminal-initialization): Run new tty-setup-hook.
	* viper-cmd.el (viper-envelop-ESC-key): Remove function.
	(viper-intercept-ESC-key): Simplify.
	* viper-keym.el (viper-ESC-key): Make it a constant, don't use kbd.
	* viper.el (viper--tty-ESC-filter, viper--lookup-key)
	(viper-catch-tty-ESC, viper-uncatch-tty-ESC)
	(viper-setup-ESC-to-escape): New functions.
	(viper-go-away, viper-set-hooks): Call viper-setup-ESC-to-escape.
	(viper-set-hooks): Do not modify flyspell-mode-hook.  (Bug#13793)
1416

1417 1418
2013-07-07  Eli Zaretskii  <eliz@gnu.org>

Juanma Barranquero's avatar
Juanma Barranquero committed
1419 1420
	* simple.el (default-font-height, window-screen-lines):
	New functions.
1421 1422 1423 1424 1425
	(line-move, line-move-partial): Use them instead of
	frame-char-height and window-text-height.  This makes scrolling
	text smoother when the buffer's default face uses a font that is
	different from the frame's default font.

1426 1427 1428 1429 1430
2013-07-06  Jan Djärv  <jan.h.d@swipnet.se>

	* files.el (write-file): Do not display confirm dialog for NS,
	it does its own dialog, which can't be cancelled (Bug#14578).

1431 1432 1433 1434 1435
2013-07-06  Eli Zaretskii  <eliz@gnu.org>

	* simple.el (line-move-partial): Adjust the row returned by
	posn-at-point for the current window-vscroll.  (Bug#14567)

1436 1437 1438 1439 1440 1441
2013-07-06  Michael Albinus  <michael.albinus@gmx.de>

	* net/tramp-sh.el (tramp-sh-file-gvfs-monitor-dir-process-filter):
	(tramp-sh-file-inotifywait-process-filter): Handle file names with
	spaces.

1442 1443 1444 1445 1446 1447
2013-07-06  Martin Rudalics  <rudalics@gmx.at>

	* window.el (window-state-put-stale-windows): New variable.
	(window--state-put-2): Save list of windows without matching buffer.
	(window-state-put): Remove "bufferless" windows if possible.

1448 1449 1450 1451 1452
2013-07-06  Juanma Barranquero  <lekktu@gmail.com>

	* simple.el (alternatives-define): Remove leftover :group keyword.
	Tweak docstring.

1453 1454 1455 1456 1457 1458 1459 1460 1461
2013-07-06  Leo Liu  <sdl.web@gmail.com>

	* ido.el (ido-use-virtual-buffers): Allow new value 'auto.
	(ido-enable-virtual-buffers): New variable.
	(ido-buffer-internal, ido-toggle-virtual-buffers)
	(ido-make-buffer-list): Use it.
	(ido-exhibit): Support turning on and off virtual buffers
	automatically.

1462 1463 1464 1465
2013-07-06  Juanma Barranquero  <lekktu@gmail.com>

	* simple.el (alternatives-define): New macro.

1466 1467 1468 1469 1470
2013-07-06  Stefan Monnier  <monnier@iro.umontreal.ca>

	* subr.el (read-quoted-char): Use read-key.
	(sit-for): Let read-event decode tty input (bug#14782).

1471 1472 1473
2013-07-05  Stephen Berman  <stephen.berman@gmx.net>

	* calendar/todo-mode.el: Add handling of file deletion, both by
1474 1475
	mode command and externally.  Fix various related bugs.
	Clarify Commentary and improve some documentation strings and code.
1476 1477 1478 1479 1480 1481 1482 1483 1484 1485 1486 1487 1488 1489 1490 1491 1492
	(todo-delete-file): New command.
	(todo-check-file): New function.
	(todo-show): Handle external deletion of the file we're trying to
	show (bug#14688).  Replace called-interactively-p by an optional
	prefix argument to avoid problematic interaction with catch form
	when byte compiled (bug#14702).
	(todo-quit): Handle external deletion of the archive's todo file.
	Make sure the buffer that was visiting the archive file is still
	live before trying to bury it.
	(todo-category-completions): Handle external deletion of any
	category completion files.
	(todo-jump-to-category, todo-basic-insert-item): Recalculate list
	of todo files, in case of external deletion.
	(todo-add-file): Replace unnecessary setq by let-binding.
	(todo-find-archive): Check whether there are any archives.
	Replace unnecessary setq by let-binding.
	(todo-archive-done-item): Use find-file-noselect to get the
1493 1494
	archive buffer whether or not the archive already exists.
	Remove superfluous code.  Use file size instead of buffer-file-name to
1495 1496 1497 1498 1499 1500 1501 1502 1503 1504 1505 1506 1507 1508
	check if the archive is new; if it is, update list of archives.
	(todo-default-todo-file): Allow nil to be a valid value for when
	there are no todo files.
	(todo-reevaluate-default-file-defcustom): Use corrected definition
	of todo-default-todo-file.
	(todo-key-bindings-t+a+f): Add key binding for todo-delete-file.
	(todo-delete-category, todo-show-categories-table)
	(todo-category-number): Clarify comment.
	(todo-filter-items): Clarify documentation string.
	(todo-show-current-file, todo-display-as-todo-file)
	(todo-reset-and-enable-done-separator): Tweak documentation string.
	(todo-done-separator): Make separator length window-width, since
	bug#2749 is now fixed.

1509 1510
2013-07-05  Michael Albinus  <michael.albinus@gmx.de>