ChangeLog 198 KB
Newer Older
1 2 3 4
2013-07-23  Juanma Barranquero  <lekktu@gmail.com>

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

5 6 7 8 9 10 11 12
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.

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

20 21 22 23 24
2013-07-23  Leo Liu  <sdl.web@gmail.com>

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

25 26
2013-07-22  Stefan Monnier  <monnier@iro.umontreal.ca>

27 28 29 30 31 32 33 34
	* 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.

35 36 37
	* winner.el (winner-hook-installed-p): Remove.
	(winner-mode): Simplify accordingly.

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

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

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

53 54
2013-07-22  Juanma Barranquero  <lekktu@gmail.com>

55 56 57 58 59
	* 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.
60 61
	Do not save frames with non-nil `desktop-dont-save' parameter.
	Filter out deleted frames.
62 63 64 65 66 67 68 69 70
	(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.

71 72 73 74
	* 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).

75 76
2013-07-21  Juanma Barranquero  <lekktu@gmail.com>

77 78 79 80 81 82 83 84 85 86 87
	* 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.

88 89 90 91
	* desktop.el: Correctly restore iconified frames.
	(desktop--filter-iconified-position): New function.
	(desktop-filter-parameters-alist): Add entries for `top' and `left'.

92 93
2013-07-20  Glenn Morris  <rgm@gnu.org>

94 95 96 97
	* progmodes/gdb-mi.el (gdb-delete-handler, gdb-stopped):
	Let `message' do the formatting.
	(def-gdb-preempt-display-buffer): Add explicit format.

98 99 100 101 102
	* 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.

103 104 105
	* image-dired.el (image-dired-track-original-file):
	Avoid changing point of wrong window.  (Bug#14909)

106
2013-07-20  Richard Copley  <rcopley@gmail.com>  (tiny change)
107 108 109 110

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

111 112
2013-07-20  Andreas Schwab  <schwab@linux-m68k.org>

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

116 117 118
	* international/mule.el (coding-system-iso-2022-flags): Fix last
	change.

119 120
2013-07-20  Kenichi Handa  <handa@gnu.org>

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

124 125
2013-07-19  Lars Magne Ingebrigtsen  <larsi@gnus.org>

126 127 128
	* net/shr.el (shr-mouse-browse-url): New command and keystroke
	(bug#14815).

129 130 131 132
	* 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.

133 134 135
	* net/shr.el (shr-make-table-1): Ensure that we don't infloop on
	degenerate widths.

136 137
2013-07-19  Richard Stallman  <rms@gnu.org>

138 139
	* epa.el (epa-popup-info-window): Doc fix.

140 141
	* subr.el (split-string): New arg TRIM.

142 143 144 145 146
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).

147 148
2013-07-18  Michael Albinus  <michael.albinus@gmx.de>

149
	* filenotify.el (file-notify--library): Rename from
150 151 152
	`file-notify-support'.  Do not autoload.  Adapt all uses.
	(file-notify-supported-p): New defun.

153 154 155
	* autorevert.el (auto-revert-use-notify):
	Use `file-notify-supported-p' instead of `file-notify-support'.
	Adapt docstring.
156 157 158 159 160 161 162 163 164 165 166 167 168 169 170
	(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.

171 172 173 174 175 176
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)

177 178 179 180
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.
181 182 183
	(ruby-block-beg-keywords): Inline.
	(ruby-font-lock-keyword-beg-re): Extract from
	`ruby-font-lock-keywords'.
184

185 186 187 188 189 190 191 192 193
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.

194 195 196 197
2013-07-15  Glenn Morris  <rgm@gnu.org>

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

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

203 204 205 206 207
2013-07-15  Juanma Barranquero  <lekktu@gmail.com>

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

208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234
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.

235 236 237 238
2013-07-14  Michael Albinus  <michael.albinus@gmx.de>

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

239 240
2013-07-13  Dmitry Gutov  <dgutov@yandex.ru>

241 242
	* progmodes/ruby-mode.el (ruby-font-lock-keywords):
	Highlight conversion methods on Kernel.
243

244 245 246 247 248 249
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.

250 251
2013-07-13  Eli Zaretskii  <eliz@gnu.org>

252 253
	* international/mule.el (define-coding-system): Doc fix.

254 255 256 257
	* 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)

258 259 260 261
2013-07-13  Leo Liu  <sdl.web@gmail.com>

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

262 263 264 265 266
2013-07-13  Fabián Ezequiel Gallina  <fgallina@gnu.org>

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

267 268 269 270 271
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)

272 273 274 275 276 277 278 279 280
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.

281 282 283
2013-07-12  Sergio Durigan Junior  <sergiodj@riseup.net>  (tiny change)

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

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

293 294 295 296
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
297 298 299 300 301
2013-07-12  Eli Zaretskii  <eliz@gnu.org>

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

302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327
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.

328 329 330 331 332
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.

333 334 335 336
2013-07-12  Leo Liu  <sdl.web@gmail.com>

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

337 338
2013-07-11  Glenn Morris  <rgm@gnu.org>

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

349 350 351 352 353 354 355 356 357 358 359 360 361
	* 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.

362 363 364 365 366 367 368 369 370 371 372 373 374 375
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)

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

383 384 385 386
2013-07-11  Juanma Barranquero  <lekktu@gmail.com>

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

387 388 389 390 391 392 393 394 395
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.

396 397 398 399 400 401
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.
402
	(tramp-message-show-progress-reporter-message): Remove, not
403
	needed anymore.
404 405
	(tramp-error-with-buffer): Show message in minibuffer.
	Discard input before waiting.  Reset connection timestamp.
406 407 408 409
	(with-tramp-progress-reporter): Improve messages.
	(tramp-process-actions): Use progress reporter.  Delete process in
	case of error.  Improve messages.

410 411
	* net/tramp-sh.el (tramp-barf-if-no-shell-prompt): Use condition-case.
	Call `tramp-error-with-buffer' with vector and buffer.
412
	(tramp-current-connection): Remove.
413 414 415
	(tramp-maybe-open-connection): The car of
	`tramp-current-connection' are the first 3 slots of the vector.

416 417 418 419 420
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
421 422 423 424 425
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.

426 427 428 429 430
2013-07-10  Leo Liu  <sdl.web@gmail.com>

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

431 432 433 434 435
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)
436
	(ido-add-virtual-buffers-to-list): Robustify.  (Bug#14552)
437

438 439 440 441 442 443 444
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.

445 446
2013-07-08  Stefan Monnier  <monnier@iro.umontreal.ca>

447 448
	* faces.el (tty-setup-hook): Declare the hook.

449 450 451 452
	* 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.

453 454 455 456
2013-07-08  Eli Zaretskii  <eliz@gnu.org>

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

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

465 466 467 468
2013-07-07  Juanma Barranquero  <lekktu@gmail.com>

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

469 470
2013-07-07  Michael Kifer  <kifer@cs.stonybrook.edu>

Glenn Morris's avatar
Glenn Morris committed
471 472 473 474 475 476 477
	* 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
478 479 480 481

	* 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
482 483
	* viper.el (viper-version): Version update.
	(viper-emacs-state-mode-list): Add egg-status-buffer-mode.
Juanma Barranquero's avatar
Juanma Barranquero committed
484

Glenn Morris's avatar
Glenn Morris committed
485 486 487 488 489 490 491 492 493 494 495
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)
496

497 498
2013-07-07  Eli Zaretskii  <eliz@gnu.org>

Juanma Barranquero's avatar
Juanma Barranquero committed
499 500
	* simple.el (default-font-height, window-screen-lines):
	New functions.
501 502 503 504 505
	(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.

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

511 512 513 514 515
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)

516 517 518 519 520 521
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.

522 523 524 525 526 527
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.

528 529 530 531 532
2013-07-06  Juanma Barranquero  <lekktu@gmail.com>

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

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

542 543 544 545
2013-07-06  Juanma Barranquero  <lekktu@gmail.com>

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

546 547 548 549 550
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).

551 552 553
2013-07-05  Stephen Berman  <stephen.berman@gmx.net>

	* calendar/todo-mode.el: Add handling of file deletion, both by
554 555
	mode command and externally.  Fix various related bugs.
	Clarify Commentary and improve some documentation strings and code.
556 557 558 559 560 561 562 563 564 565 566 567 568 569 570 571 572
	(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
573 574
	archive buffer whether or not the archive already exists.
	Remove superfluous code.  Use file size instead of buffer-file-name to
575 576 577 578 579 580 581 582 583 584 585 586 587 588
	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.

589 590
2013-07-05  Michael Albinus  <michael.albinus@gmx.de>

591 592 593
	* net/tramp-sh.el (tramp-sh-handle-file-notify-add-watch):
	Support both "gvfs-monitor-dir" and "inotifywait".
	(tramp-sh-file-inotifywait-process-filter): Rename from
594 595 596 597
	`tramp-sh-file-notify-process-filter'.
	(tramp-sh-file-gvfs-monitor-dir-process-filter)
	(tramp-get-remote-gvfs-monitor-dir): New defuns.

598 599 600 601
2013-07-05  Leo Liu  <sdl.web@gmail.com>

	* autoinsert.el (auto-insert-alist): Default to lexical-binding.

602 603 604 605 606 607 608 609
2013-07-04  YAMAMOTO Mitsuharu  <mituharu@math.s.chiba-u.ac.jp>

	* frame.el (display-pixel-height, display-pixel-width)
	(display-mm-height, display-mm-width): Mention behavior on
	multi-monitor setups in docstrings.
	(w32-display-monitor-attributes-list): Declare function.
	(display-monitor-attributes-list): Use it.

610 611 612 613 614 615 616 617 618 619 620 621
2013-07-04  Michael Albinus  <michael.albinus@gmx.de>

	* filenotify.el: New package.

	* autorevert.el (top): Require filenotify.el.
	(auto-revert-notify-enabled): Remove.  Use `file-notify-support'
	instead.
	(auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
	(auto-revert-notify-handler): Use `file-notify-*' functions.

	* subr.el (file-notify-handle-event): Move function to filenotify.el.

622 623
	* net/tramp.el (tramp-file-name-for-operation):
	Handle `file-notify-add-watch' and `file-notify-rm-watch'.
624 625 626 627 628 629 630 631 632

	* net/tramp-sh.el (tramp-sh-file-name-handler-alist): Add handler
	for `file-notify-add-watch' and `file-notify-rm-watch'.
	(tramp-process-sentinel): Improve trace.
	(tramp-sh-handle-file-notify-add-watch)
	(tramp-sh-file-notify-process-filter)
	(tramp-sh-handle-file-notify-rm-watch)
	(tramp-get-remote-inotifywait): New defuns.

633 634 635 636 637 638 639 640
2013-07-03  Juri Linkov  <juri@jurta.org>

	* buff-menu.el (Buffer-menu-multi-occur): Add args and move the
	call of `occur-read-primary-args' to interactive spec.

	* ibuffer.el (ibuffer-mode-map): Bind "M-s a C-o" to
	`ibuffer-do-occur' like in buff-menu.el.  (Bug#14673)

641 642 643 644 645 646 647
2013-07-03  Matthias Meulien  <orontee@gmail.com>

	* buff-menu.el (Buffer-menu-mode-map): Bind "M-s a C-o" to
	`Buffer-menu-multi-occur'.  Add it to the menu.
	(Buffer-menu-mode): Document it in docstring.
	(Buffer-menu-multi-occur): New command.  (Bug#14673)

648 649 650 651 652
2013-07-03  Dmitry Gutov  <dgutov@yandex.ru>

	* progmodes/ruby-mode.el (ruby-font-lock-keywords): Highlight more
	keywords and built-ins.

653 654
2013-07-03  Glenn Morris  <rgm@gnu.org>

655 656
	* subr.el (y-or-n-p): Handle empty prompts.  (Bug#14770)

657 658 659 660 661 662 663 664
	Make info-xref checks case-sensitive by default
	* info.el (Info-find-node, Info-find-in-tag-table)
	(Info-find-node-in-buffer, Info-find-node-2, Info-goto-node):
	Add option for exact case matching of nodes.
	* info-xref.el (info-xref): New custom group.
	(info-xref-case-fold): New option.
	(info-xref-goto-node-p): Pass info-xref-case-fold to Info-goto-node.

665 666 667 668
2013-07-03  Leo Liu  <sdl.web@gmail.com>

	* ido.el (ido-delete-file-at-head): Respect delete-by-moving-to-trash.

669 670 671 672 673 674 675 676
2013-07-03  Dmitry Gutov  <dgutov@yandex.ru>

	* progmodes/ruby-mode.el (ruby-move-to-block): When we're at a
	middle of block statement initially, lower the depth.  Remove
	FIXME comment, not longer valid.  Remove middle of block statement
	detection, no need to do that anymore since we've been using
	`ruby-parse-region' here.

677 678 679 680
2013-07-02  Jan Djärv  <jan.h.d@swipnet.se>

	* term/ns-win.el (display-format-alist): Use .* (Bug#14765).

Katsumi Yamaoka's avatar
Katsumi Yamaoka committed
681
2013-07-01  Katsumi Yamaoka  <yamaoka@jpl.org>
682 683 684

	* wid-edit.el (widget-default-get): Don't modify widget (Bug#14738).

685 686 687 688 689 690 691 692 693 694 695 696 697
2013-07-01  Juanma Barranquero  <lekktu@gmail.com>

	* desktop.el (desktop-restore-frames): Rename from desktop-save-windows.
	(desktop-restore-in-current-display): New customization option.
	(desktop--excluded-frame-parameters): Add `font'.
	(desktop--save-frames): Rename from desktop--save-windows.
	(desktop--restore-in-this-display-p): New function.
	(desktop--make-full-frame): Remove unwanted width/height from
	full(width|height) frames.
	(desktop--restore-frames): Rename from desktop--restore-windows.
	Obey desktop-restore-current-display.  Do not delete old frames or
	select a new frame unless we were able to restore at least one frame.

698 699 700 701 702 703 704 705 706 707 708 709 710 711 712 713 714 715 716 717
2013-06-30  Michal Nazarewicz  <mina86@mina86.com>

	* files.el (find-file-noselect): Simplify conditional expression.

	* remember.el (remember-append-to-file):
	Don't mix `find-buffer-visiting' and `get-file-buffer'.

	Add `remember-notes' function to store random notes across Emacs
	restarts.
	* remember.el (remember-data-file): Add :set callback to affect
	notes buffer (if any).
	(remember-notes): New command.
	(remember-notes-buffer-name, bury-remember-notes-on-kill):
	New defcustoms for the `remember-notes' function.
	(remember-notes-save-and-bury-buffer): New command.
	(remember-notes-mode-map): New variable.
	(remember-mode): New minor mode.
	(remember-notes--kill-buffer-query): New function.
	* startup.el (initial-buffer-choice): Add notes to custom type.

718 719
2013-06-30  Eli Zaretskii  <eliz@gnu.org>

720 721 722 723
	* bindings.el (right-char, left-char): Don't call sit-for, this is
	no longer needed.  Use arithmetic comparison only for numerical
	arguments.

724 725
	* international/mule-cmds.el (select-safe-coding-system):
	Handle the case of FROM being a string correctly.  (Bug#14755)
726

727 728 729 730
2013-06-30  Lars Magne Ingebrigtsen  <larsi@gnus.org>

	* net/shr.el (shr-make-table-1): Add a sanity check that allows
	progression on degenerate tables.
731
	(shr-rescale-image): ImageMagick animated images currently don't work.
732

733 734 735 736 737 738 739 740 741
2013-06-30  Juanma Barranquero  <lekktu@gmail.com>

	Some fixes and improvements for desktop frame restoration.
	It is still experimental and disabled by default.
	* desktop.el (desktop--save-windows): Put the selected frame at
	the head of the list.
	(desktop--make-full-frame): New function.
	(desktop--restore-windows): Try to re-select the frame that was
	selected upon saving.  Do not abort if some frames fail to restore,
Juanma Barranquero's avatar
Juanma Barranquero committed
742 743
	just show an error message and continue.  Set up maximized frames
	so they have default non-maximized dimensions.
744

745 746
2013-06-30  Dmitry Gutov  <dgutov@yandex.ru>

747 748
	* progmodes/ruby-mode.el (ruby-syntax-propertize-function):
	Don't start heredoc inside a string or comment.
749

750 751 752 753 754 755
2013-06-29  Eli Zaretskii  <eliz@gnu.org>

	* bindings.el (visual-order-cursor-movement): New defcustom.
	(right-char, left-char): Provide visual-order cursor motion by
	calling move-point-visually.  Update the doc strings.

756 757 758 759 760 761 762 763 764
2013-06-28  Kenichi Handa  <handa@gnu.org>

	* international/mule.el (define-coding-system): New coding system
	properties :inhibit-null-byte-detection,
	:inhibit-iso-escape-detection, and :prefer-utf-8.
	(set-buffer-file-coding-system): If :charset-list property of
	CODING-SYSTEM is `emacs', do not check if CODING-SYSTEM is
	appropriate for setting.

Juanma Barranquero's avatar
Juanma Barranquero committed
765 766 767
	* international/mule-cmds.el (select-safe-coding-system):
	If DEFAULT-CODING-SYSTEM is prefer-utf-8 and the buffer contains
	multibyte characters, return utf-8 (or one of its siblings).
768 769 770 771 772

	* international/mule-conf.el (prefer-utf-8): New coding system.
	(file-coding-system-alist): Use prefer-utf-8 as default for Elisp
	files.

773 774
2013-06-28  Ivan Kanis  <ivan@kanis.fr>

775 776
	* net/shr.el (shr-render-region): New function.

777 778
	* net/eww.el: Autoload `eww-browse-url'.

779 780
2013-06-27  Dmitry Gutov  <dgutov@yandex.ru>

Juanma Barranquero's avatar
Juanma Barranquero committed
781 782 783
	* emacs-lisp/package-x.el (package-upload-buffer-internal):
	Adapt to `package-desc-version' being a list.
	Use `package--ac-desc-version' to retrieve version from a package
784 785
	archive element.

786 787 788 789 790 791 792 793 794 795 796
2013-06-27  Juanma Barranquero  <lekktu@gmail.com>

	New experimental feature to save&restore window and frame setup.
	* desktop.el (desktop-save-windows): New defcustom.
	(desktop--saved-states): New var.
	(desktop--excluded-frame-parameters): New defconst.
	(desktop--filter-frame-parms, desktop--find-frame-in-display)
	(desktop--restore-windows, desktop--save-windows): New functions.
	(desktop-save): Call `desktop--save-windows'.
	(desktop-read): Call `desktop--restore-windows'.

797 798
2013-06-27  Lars Magne Ingebrigtsen  <larsi@gnus.org>

799
	* net/shr.el (add-face-text-property): Remove compat definition.
800

801 802 803 804 805
2013-06-27  Stephen Berman  <stephen.berman@gmx.net>

	* info.el (Info-try-follow-nearest-node): Move search for footnote
	above search for node name to prevent missing a footnote (bug#14717).

806 807 808 809
2013-06-27  Stephen Berman  <stephen.berman@gmx.net>

	* obsolete/otodo-mode.el: Add obsolescence info to file header.

810 811 812 813
2013-06-27  Leo Liu  <sdl.web@gmail.com>

	* net/eww.el (eww-read-bookmarks): Check file size.

814 815 816 817 818 819
2013-06-26  Stefan Monnier  <monnier@iro.umontreal.ca>

	* emacs-lisp/nadvice.el (advice--defalias-fset): Move advice back to
	advice--pending if newdef is nil or an autoload (bug#13820).
	(advice-mapc): New function.

820 821 822 823
2013-06-26  Lars Magne Ingebrigtsen  <larsi@gnus.org>

	* net/eww.el (eww-mode): Undo isn't necessary in eww buffers,
	probably.
824
	(eww-mode-map): Add a menu bar.
825 826
	(eww-add-bookmark): New command.
	(eww-bookmark-mode): New mode and commands.
827
	(eww-add-bookmark): Remove newlines from the title.
828
	(eww-bookmark-browse): Don't bug out if it's the only window.
829

830 831
2013-06-26  Glenn Morris  <rgm@gnu.org>

832 833 834
	* htmlfontify.el (hfy-triplet): Handle unspecified-fg, bg.
	(hfy-size): Handle ttys.  (Bug#14668)

835 836 837 838
	* info-xref.el: Update for Texinfo 5 change in *note format.
	(info-xref-node-re, info-xref-note-re): New constants.
	(info-xref-check-buffer): Use info-xref-note-re.

839 840
2013-06-26  Stefan Monnier  <monnier@iro.umontreal.ca>

841 842
	* simple.el (set-variable): Use read-from-minibuffer (bug#14710).

843 844 845
	* emacs-lisp/package.el (package--add-to-archive-contents): Add missing
	nil terminate the loop (bug#14718).

846 847 848 849 850
2013-06-25  Lars Magne Ingebrigtsen  <larsi@gnus.org>

	* net/eww.el: Rework history traversal.  When going forward/back,
	put these actions into the history, too, so that they can be
	replayed.
851
	(eww-render): Move the history reset to the correct buffer.
852

853 854 855 856 857
2013-06-25  Juri Linkov  <juri@jurta.org>

	* files-x.el (modify-dir-local-variable): Change the header comment
	in the file with directory local variables.  (Bug#14692)

858 859 860
	* files-x.el (read-file-local-variable-value): Add `default'.
	(Bug#14710)

861 862 863 864 865 866 867 868 869
2013-06-25  Lars Magne Ingebrigtsen  <larsi@gnus.org>

	* net/eww.el (eww-make-unique-file-name): Create a unique file
	name before saving to entering `y' accidentally asynchronously.

2013-06-25  Ivan Kanis  <ivan@kanis.fr>

	* net/eww.el (eww-download): New command and keystroke.

870 871
2013-06-25  Lars Magne Ingebrigtsen  <larsi@gnus.org>

872
	* net/eww.el (eww-copy-page-url): Change name of command.
873 874 875 876 877 878

	* net/shr.el (shr-map): Change `shr-copy-url' from `u' to `w' to
	be more consistent with Info and dired.

	* net/eww.el (eww-mode-map): Ditto.

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
2013-06-25  Stefan Monnier  <monnier@iro.umontreal.ca>

	* emacs-lisp/package.el: Use lexical-binding.  Include obsolete
	packages from archives.
	(package-archive-contents): Change format; include obsolete packages.
	(package-desc): Use `dir' to mark builtin packages.
	(package--from-builtin): Set the `dir' field to `builtin'.
	(generated-autoload-file, version-control): Declare.
	(package-compute-transaction): Change first arg and return value to be
	lists of package-descs.  Adjust to new package-archive-contents format.
	(package--add-to-archive-contents): Adjust to new
	package-archive-contents format.
	(package-download-transaction): Arg is now a list of package-descs.
	(package-install): If `pkg' is a package name, pass it as
	a requirement, so it is subject to the usual (e.g. disabled) checks.
	(describe-package): Accept package-desc as well.
	(describe-package-1): Describe a specific package-desc.  Add links to
	other package-descs for the same package name.
	(package-menu-describe-package): Pass the actual package-desc.
	(package-menu-mode): Add to tabulated-list-revert-hook so revert-buffer
	works correctly.
	(package-desc-status): New function.
	(package-menu--refresh): New function, extracted
	from package-menu--generate.
	(package-menu--generate): Use it.
	(package-delete): Update package-alist.
	(package-menu-execute): Don't call package-initialize.

	* progmodes/idlw-toolbar.el, progmodes/idlw-shell.el,
	progmodes/idlw-help.el, progmodes/idlw-complete-structtag.el,
	progmodes/ebnf-yac.el, progmodes/ebnf-otz.el, progmodes/ebnf-iso.el,
	progmodes/ebnf-ebx.el, progmodes/ebnf-dtd.el, progmodes/ebnf-bnf.el,
	progmodes/ebnf-abn.el, emacs-lisp/package-x.el, emacs-lisp/cl-seq.el,
	emacs-lisp/cl-macs.el: Neuter the "Version:" header.

914 915 916 917 918
2013-06-25  Martin Rudalics  <rudalics@gmx.at>

	* window.el (window--state-get-1): Workaround for bug#14527.
	http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00941.html

919 920 921 922
2013-06-25  Lars Magne Ingebrigtsen  <larsi@gnus.org>

	* net/eww.el (eww-back-url): Implement the history by stashing all
	the data into a list.
923
	(eww-forward-url): Allow going forward in the history, too.
924

925 926 927 928 929 930 931
2013-06-25  Stefan Monnier  <monnier@iro.umontreal.ca>

	* files-x.el (read-file-local-variable-value): Use read-from-minibuffer
	for values and use read--expression for expressions (bug#14710).
	(read-file-local-variable): Avoid setq.
	(read-file-local-variable-mode): Use minor-mode-list.

932 933
2013-06-25  Rüdiger Sonderfeld  <ruediger@c-plusplus.de>

934
	* textmodes/bibtex.el (bibtex-generate-url-list): Add support
935 936
	for DOI URLs.

937 938
2013-06-25  Rüdiger Sonderfeld  <ruediger@c-plusplus.de>

939
	* textmodes/bibtex.el (bibtex-mode, bibtex-set-dialect):
940 941
	Update imenu-support when dialect changes.

942 943 944 945
2013-06-25  Leo Liu  <sdl.web@gmail.com>

	* ido.el (ido-read-internal): Allow forward slash on windows.

946 947 948 949
2013-06-24  Lars Magne Ingebrigtsen  <larsi@gnus.org>

	* net/eww.el (eww): Start of strings is \\`, not ^.

950 951
2013-06-24  Ivan Kanis  <ivan@kanis.fr>

952 953
	* net/shr.el (shr-browse-url): Fix interactive spec.

954 955
	* net/eww.el (eww): Add a trailing slash to domain names.

956 957 958 959
2013-06-24  Juanma Barranquero  <lekktu@gmail.com>

	* faces.el (face-spec-recalc): Revert part of 2013-06-23T20:29:18Z!lekktu@gmail.com (bug#14705).

960 961
2013-06-24  Lars Magne Ingebrigtsen  <larsi@gnus.org>

962 963 964
	* net/shr.el (shr-browse-url): Use an external browser if given a
	prefix.

965
	* net/eww.el (eww-external-browser): Move to shr.
966

Ivan Kanis's avatar
Ivan Kanis committed
967 968 969 970 971 972
2013-06-24  Ivan Kanis  <ivan@kanis.fr>

	* net/eww.el (eww): Work more correctly for file: URLs.
	(eww-detect-charset): Allow quoted charsets.
	(eww-yank-page-url): New command and keystroke.

973 974 975 976 977 978 979 980 981 982 983 984
2013-06-24  Daiki Ueno  <ueno@gnu.org>

	* epg.el (epg-make-context): Check if PROTOCOL is valid; embed the
	file name of gpg executable.
	(epg-context-program): New function.
	(epg-context-home-directory): New function.
	(epg-context-set-program): New function.
	(epg-context-set-home-directory): New function.
	(epg--start): Use `epg-context-program' instead of
	'epg-gpg-program'.
	(epg--list-keys-1): Likewise.

985 986 987 988
2013-06-24  Leo Liu  <sdl.web@gmail.com>

	* ido.el (ido-read-internal): Fix bug#14620.

989 990 991 992 993 994 995 996 997
2013-06-23  Juanma Barranquero  <lekktu@gmail.com>

	* faces.el (face-documentation): Simplify.
	(read-face-attribute, tty-find-type, x-resolve-font-name):
	Use `string-match-p'.
	(list-faces-display): Use `string-match-p'.  Simplify.
	(face-spec-recalc): Check face to avoid face alias loops.
	(read-color): Use `string-match-p' and non-capturing parenthesis.

998 999 1000 1001 1002
2013-06-23  Lars Magne Ingebrigtsen  <larsi@gnus.org>

	* net/shr.el (shr-rescale-image): Use the new
	:max-width/:max-height functionality.

1003 1004 1005 1006
2013-06-23  Ivan Kanis  <ivan@kanis.fr>

	* net/eww.el (eww-search-prefix): New variable.
	(eww): Use it.
1007 1008 1009
	(eww-external-browser): New variable.
	(eww-mode-map): New keystroke.
	(eww-browse-with-external-browser): New command.
1010

1011 1012
	* net/eww.el: Bind `C-c C-c' to "submit" in all form keymaps.

1013 1014 1015 1016 1017 1018 1019
2013-06-23  Juanma Barranquero  <lekktu@gmail.com>

	* emacs-lisp/tabulated-list.el (tabulated-list-init-header):
	Don't skip aligning the next header field when padding is 0;
	otherwise, field width is not respected unless the title is as
	wide as the field.

1020 1021 1022 1023 1024 1025
2013-06-22  Stefan Monnier  <monnier@iro.umontreal.ca>

	* emacs-lisp/package.el (package-el-version): Remove.
	(package-process-define-package): Fix inf-loop.
	(package-install): Allow symbols as arguments again.

1026 1027 1028 1029 1030 1031
2013-06-22  Dmitry Gutov  <dgutov@yandex.ru>

	* progmodes/ruby-mode.el (ruby-font-lock-keywords): Move `catch',
	add some more keyword-like methods.
	http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00911.html

1032 1033 1034 1035 1036 1037 1038 1039
2013-06-22  Juanma Barranquero  <lekktu@gmail.com>

	* bs.el (bs-buffer-show-mark): Make defvar-local.
	(bs-mode): Use setq-local.

	* emacs-lock.el (emacs-lock-mode, emacs-lock--old-mode)
	(emacs-lock--try-unlocking): Make defvar-local.

1040
2013-06-22  Glenn Morris  <rgm@gnu.org>
1041

1042 1043
	* play/cookie1.el (cookie-apropos): Minor simplification.

1044 1045
	* progmodes/gdb-mi.el (gdb-mapcar*): Remove, replace with cl-mapcar.

1046 1047 1048 1049 1050
2013-06-22  Dmitry Gutov  <dgutov@yandex.ru>

	* progmodes/ruby-mode.el (auto-mode-alist): Do not use
	`regexp-opt', it breaks the build during dumping.

1051 1052
2013-06-21  Dmitry Gutov  <dgutov@yandex.ru>

1053 1054
	* progmodes/ruby-mode.el (ruby-font-lock-keywords):
	Highlight keyword-like methods on Kernel and Module with
1055
	font-lock-builtin-face.
1056 1057
	(auto-mode-alist): Consolidate different entries into one regexp
	and add more *file-s.
1058

1059 1060 1061 1062 1063 1064 1065 1066 1067 1068 1069 1070 1071 1072 1073 1074 1075 1076 1077 1078 1079 1080 1081 1082 1083 1084 1085 1086 1087 1088 1089 1090 1091 1092 1093 1094 1095 1096 1097 1098 1099 1100 1101 1102 1103 1104 1105 1106 1107 1108 1109 1110 1111 1112 1113 1114 1115 1116 1117 1118 1119 1120 1121 1122 1123 1124 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 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 1226 1227 1228 1229 1230 1231 1232 1233 1234 1235 1236 1237 1238 1239 1240 1241 1242 1243 1244 1245 1246 1247 1248 1249 1250 1251 1252 1253 1254 1255 1256 1257 1258
2013-06-21  Stephen Berman  <stephen.berman@gmx.net>

	* obsolete/otodo-mode.el: Move and rename from calendar/todo-mode.el.

	* calendar/diary-lib.el (diary-goto-entry-function): New variable.
	(diary-entry): Use it in the action of this button type instead of
	diary-goto-entry.

	* calendar/todo-mode.el: New version.
	(todo-add-category): Append new category to end of file and give
	it the highest number, instead of putting it at the beginning and
	giving it 0.  Incorporate noninteractive functionality.
	(todo-forward-category): Adapt to 1-based category numbering.
	Allow skipping over archived categories.
	(todo-backward-category): Derive from todo-forward-category.
	(todo-backward-item, todo-forward-item): Make noninteractive and
	delegate interactive part to new commands.  Make sensitive to done items.
	(todo-categories): Make value an alist of category names and
	vectors of item counts.
	(todo-category-beg): Make a defconst.
	(todo-category-number): Use 1 instead of 0 as initial value.
	(todo-category-select): Make sensitive to overlays, optional item
	highlighting and done items.
	(todo-delete-item): Make sensitive to overlays and marked and done items.
	(todo-edit-item): Make sensitive to overlays and editing of
	date/time header optional.  Add format checks.
	(todo-edit-multiline): Rename to todo-edit-multiline-item.  Make a
	no-op if point is not on an item.  Advertise using todo-edit-quit.
	(todo-edit-mode): Make sensitive to new format, font-locking, and
	multiple todo files.
	(todo-insert-item, todo-insert-item-here): Derive from
	todo-basic-insert-item and extend functionality.
	(todo-item-end, todo-item-start): Make sensitive to done items.
	(todo-item-string): Don't return text properties.  Restore point.
	(todo-jump-to-category): Make sensitive to multiple todo files and
	todo archives.  Use extended category completion.
	(todo-lower-item, todo-raise-item): Rename to *-priority and
	derive from todo-set-item-priority.
	(todo-mode): Derive from special-mode.  Make sensitive to new
	format, font-locking and multiple todo files.  Make read-only.
	(todo-mode-map): Don't suppress digit keys, so they can supply
	prefix arguments.  Add many new key bindings.
	(todo-prefix): Insert as an overlay instead of file text.
	Change semantics from diary date expression to purely visual mark.
	(todo-print): Rename to todo-print-buffer.  Make buffer display
	features printable.  Remove option to restrict number of items
	printed.  Add option to print to file.
	(todo-print-function): Rename to todo-print-buffer-function.
	(todo-quit): Extend to handle exiting new todo modes.
	(todo-remove-item): Make sensitive to overlays.
	(todo-save): Extend to buffers of filtered items.
	(todo-show): Make sensitive to done items, multiple todo files and
	new todo modes.  Offer to convert legacy todo file before creating
	first new todo file.
	(todo-show-priorities): Rename to todo-top-priorities.
	Change semantics of value 0.
	(todo-top-priorities): Rename to todo-filter-top-priorities,
	derive from todo-filter-items and extend functionality.
	(todo-save-top-priorities): Rename to todo-save-filtered-items-buffer
	and extend functionality to other types of filtered items.
	(todo-add-item-non-interactively, todo-ask-p, todo-cat-slct)
	(todo-category-end, todo-category-sep, todo-cats, todo-cmd-back)
	(todo-cmd-done, todo-cmd-edit, todo-cmd-forw, todo-cmd-inst)
	(todo-cmd-kill, todo-cmd-lowr, todo-cmd-next, todo-cmd-prev)
	(todo-cmd-rais, todo-cmd-save, todo-completing-read, todo-cp)
	(todo-edit-mode-hook, todo-entry-prefix-function)
	(todo-entry-timestamp-initials, todo-file-do, todo-file-done)
	(todo-file-item, todo-file-top, todo-header, todo-initial-setup)
	(todo-initials, todo-insert-threshold, todo-item-string-start)
	(todo-line-string, todo-menu, todo-mode-hook)
	(todo-more-important-p, todo-previous-answer, todo-previous-line)
	(todo-print-priorities, todo-remove-separator)
	(todo-save-top-priorities-too, todo-string-count-lines)
	(todo-string-multiline-p, todo-time-string-format)
	(todo-tmp-buffer-name): Remove.
	(todo-add-file, todo-archive-done-item, todo-choose-archive)
	(todo-convert-legacy-files, todo-copy-item, todo-delete-category)
	(todo-edit-category-diary-inclusion)
	(todo-edit-category-diary-nonmarking, todo-edit-done-item-comment)
	(todo-edit-file, todo-edit-item-date-day)
	(todo-edit-item-date-day-name, todo-edit-item-date-from-calendar)
	(todo-edit-item-date-month, todo-edit-item-date-to-today)
	(todo-edit-item-date-year, todo-edit-item-diary-inclusion)
	(todo-edit-item-diary-nonmarking, todo-edit-item-header)
	(todo-edit-item-time, todo-edit-quit, todo-filter-diary-items)
	(todo-filter-diary-items-multifile, todo-filter-regexp-items)
	(todo-filter-regexp-items-multifile, todo-filter-top-priorities)
	(todo-filter-top-priorities-multifile, todo-find-archive)
	(todo-find-filtered-items-file, todo-go-to-source-item)
	(todo-insert-item-from-calendar, todo-item-done, todo-item-undone)
	(todo-jump-to-archive-category, todo-lower-category)
	(todo-mark-category, todo-marked-item-p, todo-merge-category)
	(todo-move-category, todo-move-item, todo-next-button)
	(todo-next-item, todo-padded-string, todo-powerset)
	(todo-previous-button, todo-previous-item)
	(todo-print-buffer-to-file, todo-raise-category)
	(todo-rename-category, todo-repair-categories-sexp, todo-search)
	(todo-set-category-number, todo-set-item-priority)
	(todo-set-top-priorities-in-category)
	(todo-set-top-priorities-in-file, todo-show-categories-table)
	(todo-sort-categories-alphabetically-or-numerically)
	(todo-sort-categories-by-archived, todo-sort-categories-by-diary)
	(todo-sort-categories-by-done, todo-sort-categories-by-todo)
	(todo-toggle-item-header, todo-toggle-item-highlighting)
	(todo-toggle-mark-item, todo-toggle-prefix-numbers)
	(todo-toggle-view-done-items, todo-toggle-view-done-only)
	(todo-unarchive-items, todo-unmark-category): New commands.
	(todo-absolute-file-name, todo-add-to-buffer-list)
	(todo-adjusted-category-label-length, todo-basic-edit-item-header)
	(todo-basic-insert-item, todo-category-completions)
	(todo-category-number, todo-category-string-matcher-1)
	(todo-category-string-matcher-2, todo-check-filtered-items-file)
	(todo-check-format, todo-clear-matches)
	(todo-comment-string-matcher, todo-convert-legacy-date-time)
	(todo-current-category, todo-date-string-matcher)
	(todo-define-insertion-command, todo-diary-expired-matcher)
	(todo-diary-goto-entry, todo-diary-item-p)
	(todo-diary-nonmarking-matcher, todo-display-as-todo-file)
	(todo-display-categories, todo-display-sorted, todo-done-item-p)
	(todo-done-item-section-p, todo-done-separator)
	(todo-done-string-matcher, todo-files, todo-filter-items)
	(todo-filter-items-1, todo-filter-items-filename, todo-find-item)
	(todo-gen-arglists, todo-get-count, todo-get-overlay, todo-indent)
	(todo-insert-category-line, todo-insert-item-from-calendar)
	(todo-insert-sort-button, todo-insert-with-overlays)
	(todo-insertion-command-name, todo-insertion-key-bindings)
	(todo-label-to-key, todo-longest-category-name-length)
	(todo-make-categories-list, todo-mode-external-set)
	(todo-mode-line-control, todo-modes-set-1, todo-modes-set-2)
	(todo-modes-set-3, todo-multiple-filter-files)
	(todo-nondiary-marker-matcher, todo-prefix-overlays)
	(todo-read-category, todo-read-date, todo-read-dayname)
	(todo-read-file-name, todo-read-time)
	(todo-reevaluate-category-completions-files-defcustom)
	(todo-reevaluate-default-file-defcustom)
	(todo-reevaluate-filelist-defcustoms)
	(todo-reevaluate-filter-files-defcustom)
	(todo-reset-and-enable-done-separator, todo-reset-comment-string)
	(todo-reset-done-separator, todo-reset-done-separator-string)
	(todo-reset-done-string, todo-reset-global-current-todo-file)
	(todo-reset-highlight-item, todo-reset-nondiary-marker)
	(todo-reset-prefix, todo-set-categories)
	(todo-set-date-from-calendar, todo-set-show-current-file)
	(todo-set-top-priorities, todo-short-file-name)
	(todo-show-current-file, todo-sort, todo-time-string-matcher)
	(todo-total-item-counts, todo-update-buffer-list)
	(todo-update-categories-display, todo-update-categories-sexp)
	(todo-update-count, todo-validate-name, todo-y-or-n-p):
	New functions.
	(todo-archive-mode, todo-categories-mode, todo-filtered-items-mode):
	New major modes.
	(todo-categories, todo-display, todo-edit, todo-faces)
	(todo-filtered): New defgroups.
	(todo-archived-only, todo-button, todo-category-string, todo-date)
	(todo-diary-expired, todo-done, todo-done-sep, todo-comment)
	(todo-mark, todo-nondiary, todo-prefix-string, todo-search)
	(todo-sorted-column, todo-time, todo-top-priority): New deffaces.
	(todo-add-item-if-new-category, todo-always-add-time-string)
	(todo-categories-align, todo-categories-archived-label)
	(todo-categories-category-label, todo-categories-diary-label)
	(todo-categories-done-label, todo-categories-number-separator)
	(todo-categories-todo-label, todo-categories-totals-label)
	(todo-category-completions-files, todo-completion-ignore-case)
	(todo-default-todo-file, todo-diary-nonmarking, todo-directory)
	(todo-done-separator-string, todo-done-string)
	(todo-files-function, todo-filter-done-items, todo-filter-files)
	(todo-highlight-item, todo-include-in-diary, todo-indent-to-here)
	(todo-initial-category, todo-initial-file, todo-item-mark)
	(todo-legacy-date-time-regexp, todo-mode-line-function)
	(todo-nondiary-marker, todo-number-prefix)
	(todo-print-buffer-function, todo-show-current-file)
	(todo-show-done-only, todo-show-first, todo-show-with-done)
	(todo-skip-archived-categories, todo-top-priorities-overrides)
	(todo-undo-item-omit-comment, todo-use-only-highlighted-region)
	(todo-visit-files-commands, todo-wrap-lines, todo-y-with-space):
	New defcustoms.
	(todo-category-done, todo-date-pattern, todo-date-string-start)
	(todo-diary-items-buffer, todo-done-string-start)
	(todo-filtered-items-buffer, todo-item-start)
	(todo-month-abbrev-array, todo-month-name-array)
	(todo-nondiary-end, todo-nondiary-start, todo-regexp-items-buffer)
	(todo-top-priorities-buffer): New defconsts.
	(todo-archive-mode-map, todo-archives, todo-categories-mode-map)
	(todo-categories-with-marks, todo-category-string-face)
	(todo-comment-face, todo-comment-string, todo-current-todo-file)
	(todo-date-face, todo-date-from-calendar, todo-descending-counts)
	(todo-diary-expired-face, todo-done-face, todo-done-sep-face)
	(todo-done-separator, todo-edit-buffer, todo-edit-mode-map)
	(todo-file-buffers, todo-files, todo-filtered-items-mode-map)
	(todo-font-lock-keywords, todo-global-current-todo-file)
	(todo-insertion-commands, todo-insertion-commands-arg-key-list)
	(todo-insertion-commands-args)
	(todo-insertion-commands-args-genlist)
	(todo-insertion-commands-names, todo-insertion-map)
	(todo-key-bindings-t, todo-key-bindings-t+a)
	(todo-key-bindings-t+a+f, todo-key-bindings-t+f, todo-mode-map)
	(todo-multiple-filter-files, todo-multiple-filter-files-widget)
	(todo-nondiary-face, todo-print-buffer, todo-time-face)
	(todo-visited): New variables.

Glenn Morris's avatar
Glenn Morris committed
1259 1260 1261 1262 1263 1264
2013-06-21  Glenn Morris  <rgm@gnu.org>

	* play/cookie1.el (cookie-apropos): Add optional display argument.
	* obsolete/yow.el (apropos-zippy): Use cookie-apropos.
	(psychoanalyze-pinhead): Use cookie-doctor.

1265 1266 1267 1268 1269
2013-06-21  Juanma Barranquero  <lekktu@gmail.com>

	* emacs-lisp/package.el (tar-get-file-descriptor)
	(tar--extract): Declare.

1270 1271 1272 1273 1274 1275 1276 1277
2013-06-21  Eduard Wiebe  <usenet@pusto.de>

	Extend flymake's warning predicate to be a function (bug#14217).
	* progmodes/flymake.el (flymake-warning-predicate): New.
	(flymake-parse-line): Use it.
	(flymake-warning-re): Make obsolete alias to
	`flymake-warning-predicate'.

1278 1279 1280 1281 1282 1283 1284 1285 1286 1287 1288 1289 1290 1291 1292
2013-06-21  Stefan Monnier  <monnier@iro.umontreal.ca>

	* emacs-lisp/package.el (package-alist): Include obsolete packages.
	(package-obsolete-list): Remove.
	(package-activate): Remove min-version argument.  Add `force' argument.
	Adjust to new package-alist format.
	(package-mark-obsolete): Remove.
	(package-unpack): Force reload of the package's autoloads.
	(package-installed-p): Check builtins if the installed package is not
	recent enough.
	(package-initialize): Don't reset package-obsolete-list.
	Don't specify which package version to activate.
	(package-process-define-package, describe-package-1)
	(package-menu--generate): Adjust to new package-alist format.

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 1319 1320 1321 1322 1323 1324 1325 1326 1327 1328 1329 1330 1331
2013-06-21  Juanma Barranquero  <lekktu@gmail.com>

	* allout-widgets.el (allout-widgets-mode-off)
	(allout-widgets-mode-on, allout-widgets-pre-command-business)
	(allout-widgets-post-command-business)
	(allout-widgets-after-copy-or-kill-function)
	(allout-widgets-after-undo-function, allout-test-range-overlaps)
	(allout-decorate-item-and-context)
	(allout-graphics-modification-handler): Fix typos in docstrings.
	(allout-get-or-create-parent-widget): Use `looking-at-p'.

	* cmuscheme.el (scheme-start-file): Doc fix.
	(inferior-scheme-mode, switch-to-scheme): Fix typos in docstrings.
	(scheme-input-filter): Use `string-match-p'.

	* composite.el (compose-gstring-for-terminal): Fix typo in docstring.

	* dired-x.el: Use Dired consistently in docstrings.

	* dired.el: Use Dired consistently in docstrings.
	(dired-readin, dired-mode): Use `setq-local'.
	(dired-switches-alist): Make defvar-local.
	(dired-buffers-for-dir): Use `zerop'.
	(dired-safe-switches-p, dired-switches-escape-p)
	(dired-insert-old-subdirs, dired-move-to-end-of-filename)
	(dired-glob-regexp, dired-in-this-tree, dired-goto-file-1)
	(dired-sort-set-mode-line, dired-sort-toggle, dired-sort-R-check):
	(dired-goto-next-nontrivial-file): Use `string-match-p'.
	(dired-align-file, dired-insert-directory, dired-mark-files-in-region)
	(dired-toggle-marks, dired-mark-files-containing-regexp)
	(dired-mark-symlinks, dired-mark-directories, dired-mark-executables)
	(dired-flag-auto-save-files, dired-flag-backup-files):
	Use `looking-at-p'.
	(dired-mark-files-regexp, dired-build-subdir-alist):
	Use `string-match-p', `looking-at-p'.

	* dos-w32.el (untranslated-canonical-name, untranslated-file-p)
	(direct-print-region-helper): Use `string-match-p'.

1332 1333
2013-06-21  Leo Liu  <sdl.web@gmail.com>

1334 1335
	* comint.el (comint-redirect-results-list-from-process):
	Fix infinite loop.
1336

1337 1338 1339 1340
2013-06-21  Lars Magne Ingebrigtsen  <larsi@gnus.org>

	* net/eww.el (eww-update-header-line-format): Quote % characters.

Glenn Morris's avatar
Glenn Morris committed
1341 1342 1343 1344 1345 1346 1347 1348 1349 1350 1351 1352 1353
2013-06-21  Glenn Morris  <rgm@gnu.org>

	* play/cookie1.el (cookie): New custom group.
	(cookie-file): New option.
	(cookie-check-file): New function.
	(cookie): Make it interactive.  Make start and end messages optional.
	Interactively, display the result.  Default to cookie-file.
	(cookie-insert): Default to cookie-file.
	(cookie-snarf): Make start and end messages optional.
	Default to cookie-file.  Use with-temp-buffer.
	(cookie-read): Rename from read-cookie.
	Make start and end messages optional.  Default to cookie-file.
	(cookie-shuffle-vector): Rename from shuffle-vector.  Use dotimes.
1354
	Do not autoload it.
Glenn Morris's avatar
Glenn Morris committed
1355 1356 1357
	(cookie-apropos, cookie-doctor): New functions, copied from yow.el
	* obsolete/yow.el (read-zippyism): Use new name for read-cookie.

1358 1359 1360 1361
2013-06-21  Leo Liu  <sdl.web@gmail.com>

	* progmodes/octave.el (octave-mode): Backward compatibility fix.

1362 1363 1364 1365
2013-06-21  Glenn Morris  <rgm@gnu.org>

	* font-lock.el (lisp-font-lock-keywords-2): Add with-eval-after-load.

1366 1367 1368 1369 1370 1371 1372 1373 1374 1375 1376 1377 1378 1379 1380 1381 1382 1383 1384 1385 1386 1387 1388 1389 1390 1391 1392 1393 1394 1395 1396 1397 1398 1399 1400 1401 1402 1403
2013-06-21  Stefan Monnier  <monnier@iro.umontreal.ca>
	    Daniel Hackney  <dan@haxney.org>

	* emacs-lisp/package.el: Use tar-mode rather than tar executable.
	Consolidate the single-file vs tarball code.
	(package-desc-suffix): New function.
	(package-desc-full-name): Don't bother inlining it.
	(package-load-descriptor): Return the new package-desc.
	(package-mark-obsolete): Remove unused arg `package'.
	(package-unpack): Make it work for single files as well.
	Make it update package-alist.
	(package--make-autoloads-and-stuff): Rename from
	package--make-autoloads-and-compile.  Don't compile any more.
	(package--compile): New function.
	(package-generate-description-file): New function, extracted from
	package-unpack-single.
	(package-unpack-single): Remove.
	(package--with-work-buffer): Add indentation and debugging info.
	(package-download-single): Remove.
	(package-install-from-archive): Rename from package-download-tar, make
	it take a pkg-desc, and make it work for single files as well.
	(package-download-transaction): Simplify.
	(package-tar-file-info): Remove `file' arg.  Rewrite not to use an
	external tar program.
	(package-install-from-buffer): Remove `pkg-desc' argument.
	Use package-tar-file-info for tar-mode buffers.
	(package-install-file): Simplify accordingly.
	(package-archive-base): Change to take a pkg-desc.
	* tar-mode.el (tar--check-descriptor): New function, extracted from
	tar-get-descriptor.
	(tar-get-descriptor): Use it.
	(tar-get-file-descriptor): New function.
	(tar--extract): New function, extracted from tar-extract.
	(tar--extract): Use it.
	* emacs-lisp/package-x.el (package-upload-file): Decode the file, in
	case the summary uses non-ascii.  Adjust to new calling convention of
	package-tar-file-info.

1404 1405
2013-06-21  Leo Liu  <sdl.web@gmail.com>

1406 1407
	* comint.el (comint-redirect-results-list-from-process):
	Fix random delay.  (Bug#14681)
1408

1409 1410 1411 1412
2013-06-21  Juanma Barranquero  <lekktu@gmail.com>

	* profiler.el (profiler-format-number): Use log, not log10.

1413 1414 1415 1416
2013-06-20  Juanma Barranquero  <lekktu@gmail.com>

	* term/x-win.el (emacs-session-filename): Use `locate-user-emacs-file'.

1417 1418 1419 1420 1421 1422 1423 1424 1425 1426
2013-06-20  Stefan Monnier  <monnier@iro.umontreal.ca>

	* emacs-lisp/cl-loaddefs.el: Don't version-control any more.
	* emacs-lisp/cl-lib.el: Load cl-macs when cl-loaddefs is not
	yet available.
	* Makefile.in (AUTOGEN_VCS): Move cl-loaddefs.el...
	(AUTOGENEL): ... here.
	* emacs-lisp/cl-macs.el (cl--sublis): New function.
	(cl--defsubst-expand): Use it.

1427 1428 1429 1430 1431
2013-06-20  Paul Eggert  <eggert@cs.ucla.edu>

	* subr.el (log10): Move here from C code, and declare as obsolete.
	All uses of (log10 X) replaced with (log X 10).

1432 1433 1434 1435 1436 1437 1438 1439 1440 1441
2013-06-20  Juanma Barranquero  <lekktu@gmail.com>

	* emacs-lisp/tabulated-list.el (tabulated-list-format): Fix typo.
	Declare with `defvar-local'.
	(tabulated-list-use-header-line, tabulated-list-entries)
	(tabulated-list-padding, tabulated-list-printer)
	(tabulated-list-sort-key): Declare with `defvar-local'.
	(tabulated-list-init-header, tabulated-list-print-fake-header):
	Use `setq-local'.

1442 1443
2013-06-20  Michael Albinus  <michael.albinus@gmx.de>

1444 1445
	* arc-mode.el (archive-mode): Add `archive-write-file' to
	`write-contents-functions' also for remote files.  (Bug#14652)
1446

1447 1448
2013-06-20  Juanma Barranquero  <lekktu@gmail.com>

1449 1450 1451 1452 1453 1454 1455 1456 1457 1458 1459 1460 1461
	* cus-edit.el (custom-commands): Fix typos.
	(custom-display): Fix tooltip text.
	(custom-magic-alist, custom-filter-face-spec, custom-group-members):
	Fix typos in docstrings.
	(custom--initialize-widget-variables, Custom-mode): Use `setq-local'.
	(custom-unlispify-menu-entry, custom-magic-value-create)
	(custom-add-see-also, custom-group-value-create): Use ?\s.
	(custom-guess-type, customize-apropos, editable-field)
	(custom-face-value-create): Use `string-match-p'.
	(custom-save-variables, custom-save-faces): Use `looking-at-p'.

	* custom.el (custom-load-symbol): Use `string-match-p'.

1462 1463 1464 1465 1466 1467
	* ansi-color.el: Convert to lexical binding.
	(ansi-colors): Fix URL.
	(ansi-color-context, ansi-color-context-region): Use defvar-local.
	(ansi-color-apply-sequence, ansi-color-map): Fix typos in docstrings.
	(ansi-color-make-color-map): Rename local var ansi-color-map to map.

1468 1469 1470 1471 1472 1473 1474 1475 1476 1477 1478 1479 1480 1481 1482 1483 1484 1485 1486 1487 1488 1489 1490 1491 1492 1493 1494 1495 1496 1497 1498 1499 1500 1501 1502