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

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

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

21 22
2013-06-22  Glenn Morris  <rgm@fencepost.gnu.org>

23 24
	* play/cookie1.el (cookie-apropos): Minor simplification.

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

27 28 29 30 31
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.

32 33 34 35 36
2013-06-21  Dmitry Gutov  <dgutov@yandex.ru>

	* progmodes/ruby-mode.el (ruby-font-lock-keywords): Highlight
	keyword-like methods on Kernel and Module with
	font-lock-builtin-face.
37 38
	(auto-mode-alist): Consolidate different entries into one regexp
	and add more *file-s.
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 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 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 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
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
240 241 242 243 244 245
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.

246 247 248 249 250
2013-06-21  Juanma Barranquero  <lekktu@gmail.com>

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

251 252 253 254 255 256 257 258
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'.

259 260 261 262 263 264 265 266 267 268 269 270 271 272 273
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.

274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312
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'.

313 314
2013-06-21  Leo Liu  <sdl.web@gmail.com>

315 316
	* comint.el (comint-redirect-results-list-from-process):
	Fix infinite loop.
317

318 319 320 321
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
322 323 324 325 326 327 328 329 330 331 332 333 334
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.
335
	Do not autoload it.
Glenn Morris's avatar
Glenn Morris committed
336 337 338
	(cookie-apropos, cookie-doctor): New functions, copied from yow.el
	* obsolete/yow.el (read-zippyism): Use new name for read-cookie.

339 340 341 342
2013-06-21  Leo Liu  <sdl.web@gmail.com>

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

343 344 345 346
2013-06-21  Glenn Morris  <rgm@gnu.org>

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

347 348 349 350 351 352 353 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 380 381 382 383 384
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.

385 386
2013-06-21  Leo Liu  <sdl.web@gmail.com>

387 388
	* comint.el (comint-redirect-results-list-from-process):
	Fix random delay.  (Bug#14681)
389

390 391 392 393
2013-06-21  Juanma Barranquero  <lekktu@gmail.com>

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

394 395 396 397
2013-06-20  Juanma Barranquero  <lekktu@gmail.com>

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

398 399 400 401 402 403 404 405 406 407
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.

408 409 410 411 412
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).

413 414 415 416 417 418 419 420 421 422
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'.

423 424
2013-06-20  Michael Albinus  <michael.albinus@gmx.de>

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

428 429
2013-06-20  Juanma Barranquero  <lekktu@gmail.com>

430 431 432 433 434 435 436 437 438 439 440 441 442
	* 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'.

443 444 445 446 447 448
	* 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.

449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486
2013-06-19  Lars Magne Ingebrigtsen  <larsi@gnus.org>

	* net/eww.el (eww-process-text-input): Display passwords as asterisks.

	* net/shr.el (shr-make-table-1): Protect against invalid column-spans.

2013-06-19  Tom Tromey  <tromey@redhat.com>

	* net/eww.el (eww-top-url): Remove.
	(eww-home-url, eww-start-url, eww-contents-url): New defvars.
	(eww-render): Set new variables.  Don't set eww-top-url.
	(eww-handle-link): Handle "prev", "home", and "contents".
	Downcase the rel text.
	(eww-top-url): Choose best top URL.

2013-06-19  Lars Magne Ingebrigtsen  <larsi@gnus.org>

	* net/eww.el: Rewrite to implement form elements "by hand" instead of
	relying in widget.el.  Using widget.el leads to too many
	user interface inconsistencies.
	(eww-self-insert): Implement entering commands in text fields.
	(eww-process-text-input): New function to make text input field editing
	work.
	(eww-submit): Rewrite to use the new-style form methods.
	(eww-select-display): Display the correct selected item.
	(eww-change-select): Implement changing the select value.
	(eww-toggle-checkbox): Implement radio/checkboxes.
	(eww-update-field): Fix compilation error.
	(eww-tag-textarea): Implement <textarea>.

	* net/shr.el (shr-urlify): Use `keymap' instead of `local-map' so that
	we don't shadow mode-specific bindings.

	* net/eww.el (eww-browse-url): Don't push stuff onto history if there's
	nothing to push.

	* net/shr.el (shr-map): Bind [down-mouse-1] to browse URLs.

487 488 489 490
2013-06-19  Glenn Morris  <rgm@fencepost.gnu.org>

	* emacs-lisp/eieio.el (defclass): Make it eval-and-compile once more.

491 492 493 494 495 496 497
2013-06-19  Michael Albinus  <michael.albinus@gmx.de>

	* net/tramp-adb.el (tramp-adb-get-toolbox): Remove function, it is
	not needed.

	* net/tramp-sh.el (tramp-find-shell): Don't set "busybox" property.

498 499 500 501 502
2013-06-19  Lars Magne Ingebrigtsen  <larsi@gnus.org>

	* net/browse-url.el (browse-url-browser-function):
	`eww-browse-url' has the right calling signature, `eww' does not.

503 504
2013-06-19  Glenn Morris  <rgm@gnu.org>

505 506 507 508
	* emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
	Only eval autoloaded macros.
	(byte-compile-autoload): Only give the macro warning for macros.

Glenn Morris's avatar
Glenn Morris committed
509 510 511
	* progmodes/cperl-mode.el (ps-bold-faces, ps-italic-faces)
	(ps-underlined-faces): Declare.

Glenn Morris's avatar
Glenn Morris committed
512 513 514
	* progmodes/idlwave.el (func-menu): Only set it up on XEmacs.
	(speedbar-add-supported-extension): Declare.

515 516 517 518
	* international/titdic-cnv.el (tit-process-header, miscdic-convert):
	Don't include a date stamp in the header of the generated file;
	it leads to needless differences between output files.

519 520 521
2013-06-19  Michael Albinus  <michael.albinus@gmx.de>

	* net/secrets.el (secrets-struct-secret-content-type): Replace
522 523
	check of introspection data by a test call of "CreateItem".
	Some servers do not offer introspection.
524

525 526 527 528 529 530 531 532 533 534 535
2013-06-19  Stefan Monnier  <monnier@iro.umontreal.ca>

	* electric.el (electric-pair-mode): Improve interaction with
	electric-layout-mode.
	(electric-pair-default-inhibit): Don't assume (eq char (char-before)).
	(electric-pair-syntax): Use text-mode-syntax-table in comments
	and strings.
	(electric-pair--insert): New function.
	(electric-pair-post-self-insert-function): Use it and
	electric--after-char-pos.

536 537 538 539
2013-06-19  Leo Liu  <sdl.web@gmail.com>

	* progmodes/octave.el (octave-help): Fix regexp.

540 541 542 543 544 545 546 547 548 549 550 551 552 553 554 555 556
2013-06-18  Lars Magne Ingebrigtsen  <larsi@gnus.org>

	* net/shr.el (shr-make-table-1): Implement <td rowspan>.
	(shr-table-horizontal-line): Allow nil as a value, and change the
	default.
	(shr-insert-table-ruler): Respect the nil value.

2013-06-18  Tom Tromey  <tromey@barimba>

	* net/eww.el (eww-next-url, eww-previous-url, eww-up-url, eww-top-url):
	New defvars.
	(eww-open-file): New defun.
	(eww-render): Initialize new variables.
	(eww-display-html): Handle "link" and "a".
	(eww-handle-link, eww-tag-link, eww-tag-a): New defuns.
	(eww-mode-map): Move "p" to "l".  Bind "p", "n", "t", and "u".
	(eww-back-url): Rename from eww-previous-url.
557 558
	(eww-next-url, eww-previous-url, eww-up-url, eww-top-url):
	New defuns.
559

560 561 562 563 564 565
2013-06-18  Dmitry Gutov  <dgutov@yandex.ru>

	* progmodes/ruby-mode.el (ruby-syntax-before-regexp-re):
	Distinguish ternary operator tokens from slash symbol and slash
	char literal.

566 567 568 569 570 571 572 573 574 575 576 577 578 579 580 581 582 583 584 585 586 587 588
2013-06-18  Juanma Barranquero  <lekktu@gmail.com>

	Convert symbol prettification into minor mode and global minor mode.

	* progmodes/prog-mode.el (prettify-symbols-alist): Rename from
	`prog-prettify-symbols', and make a local defvar instead of defcustom.
	(prettify-symbols--keywords): Rename from
	`prog-prettify-symbols-alist' and make a local defvar.
	(prettify-symbols--compose-symbol): Rename from
	`prog--prettify-font-lock-compose-symbol'.
	(prettify-symbols--make-keywords): Rename from
	`prog-prettify-font-lock-symbols-keywords' and simplify.
	(prog-prettify-install): Remove.
	(prettify-symbols-mode): New minor mode, based on
	`prog-prettify-install'.
	(turn-on-prettify-symbols-mode): New function.
	(global-prettify-symbols-mode): New globalized minor mode.

	* emacs-lisp/lisp-mode.el (lisp-mode-variables):
	* progmodes/cfengine.el (cfengine3-mode):
	* progmodes/perl-mode.el (perl-mode): Don't call
	`prog-prettify-install'; set `prettify-symbols-alist' instead.

589 590 591 592 593 594 595 596 597 598 599
2013-06-18  Juri Linkov  <juri@jurta.org>

	* files-x.el (modify-file-local-variable-message): New function.
	(modify-file-local-variable)
	(modify-file-local-variable-prop-line): Add arg INTERACTIVE
	and call `modify-file-local-variable-message' when it's non-nil.
	(add-file-local-variable, delete-file-local-variable)
	(add-file-local-variable-prop-line)
	(delete-file-local-variable-prop-line): Add arg INTERACTIVE
	and use it.  (Bug#9820)

600 601 602 603 604 605 606 607 608 609
2013-06-18  Juri Linkov  <juri@jurta.org>

	* emulation/vi.el (vi-shell-op):
	* emulation/vip.el (vip-execute-com, ex-command):
	* emulation/viper-cmd.el (viper-exec-bang):
	* emulation/viper-ex.el (ex-command): Add non-nil arg REPLACE to
	the call of `shell-command-on-region'.  (Bug#14637)

	* simple.el (shell-command-on-region): Doc fix.

610 611 612 613 614
2013-06-18  Stefan Monnier  <monnier@iro.umontreal.ca>

	* emacs-lisp/eieio-custom.el: Remove misleading Version: header
	(bug#14633).

615 616
2013-06-18  Glenn Morris  <rgm@gnu.org>

617 618
	* net/eww.el, net/shr.el, net/shr-color.el: Move here from gnus/.

619 620 621
	* newcomment.el (comment-search-forward, comment-search-backward):
	Doc fix.  (Bug#14376)

622 623 624 625 626
2013-06-18  Juanma Barranquero  <lekktu@gmail.com>

	* face-remap.el (buffer-face-toggle): Fix typo in docstring.
	(buffer-face-mode-invoke): Doc fix.

627 628 629 630
2013-06-18  Matthias Meulien  <orontee@gmail.com>

	* tabify.el (untabify, tabify): With prefix, apply to entire buffer.

631 632
2013-06-18  Glenn Morris  <rgm@gnu.org>

633 634 635
	* generic-x.el (bat-generic-mode, rc-generic-mode, rul-generic-mode):
	Replace obsolete function generic-make-keywords with its expansion.

636 637
	* progmodes/python.el (ffap-alist): Declare.

638 639
	* textmodes/reftex.el (bibtex-mode-map): Declare.

640 641 642 643 644 645
2013-06-18  Stefan Monnier  <monnier@iro.umontreal.ca>

	* emacs-lisp/package.el: Update package-alist after install (bug#14632).
	(package-unpack, package-unpack-single): Return the pkg-dir.
	(package-download-transaction): Use it to update package-alist.

646 647 648 649 650
2013-06-17  Lars Magne Ingebrigtsen  <larsi@gnus.org>

	* net/browse-url.el (browse-url-browser-function): Add `eww' as a
	possible choice.

651 652 653 654
2013-06-17  Juri Linkov  <juri@jurta.org>

	* net/webjump.el (webjump-sample-sites): Add DuckDuckGo.

655 656
2013-06-17  Dmitry Gutov  <dgutov@yandex.ru>

657 658
	* emacs-lisp/package.el (package-load-descriptor):
	Remove `with-syntax-table' call, `read' doesn't need it.
659 660
	http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00539.html

661 662 663 664 665
2013-06-17  Juanma Barranquero  <lekktu@gmail.com>

	* startup.el (command-line): Expand package name returned by
	`package--description-file' (bug#14639).

666 667 668 669 670
2013-06-17  Dmitry Gutov  <dgutov@yandex.ru>

	* emacs-lisp/package.el (package-load-descriptor): Do not call
	`emacs-lisp-mode', just use its syntax table.

671 672 673 674 675 676 677
2013-06-17  Juanma Barranquero  <lekktu@gmail.com>

	* progmodes/prog-mode.el (prog-prettify-install): Add `composition' to
	`font-lock-extra-managed-props' if any prettifying keyword is added.
	(prog--prettify-font-lock-compose-symbol): Use ?\s instead of ?\ .
	(prog-mode): Use `setq-local'.

678 679 680 681 682
2013-06-17  Stefan Monnier  <monnier@iro.umontreal.ca>

	* international/characters.el (standard-case-table): Set syntax of ?»
	and ?« to punctuation.

683 684 685 686 687
2013-06-16  Juanma Barranquero  <lekktu@gmail.com>

	* progmodes/prog-mode.el (prog--prettify-font-lock-compose-symbol):
	Save relevant match data before calling `syntax-ppss' (bug#14595).

688 689 690 691 692 693 694
2013-06-15  Juri Linkov  <juri@jurta.org>

	* files-x.el (modify-file-local-variable-prop-line): Add local
	variables to the end of the existing comment on the first line.
	Use `file-auto-mode-skip' to skip interpreter magic line,
	and also skip XML declaration.

695 696 697 698 699 700 701 702 703 704 705 706 707 708 709 710 711 712 713 714 715 716 717 718 719 720 721 722 723 724 725 726
2013-06-15  Stefan Monnier  <monnier@iro.umontreal.ca>

	* startup.el (package--builtin-versions): New var.
	(package-subdirectory-regexp): Remove.
	(package--description-file): Hard code its value instead.

	* emacs-lisp/package.el: Don't activate packages older than builtin.
	(package-obsolete-list): Rename from package-obsolete-alist, and make
	it into a simple list of package-desc.
	(package-strip-version): Remove.
	(package-built-in-p): Use package--builtin-versions.
	(package-mark-obsolete): Simplify.
	(package-process-define-package): Mark it obsolete if older than the
	builtin version.
	(package-handle-response): Use line-end-position.
	(package-read-archive-contents, package--download-one-archive):
	Simplify.
	(package--add-to-archive-contents): Skip if older than the builtin or
	installed version.
	(package-menu-describe-package): Fix last change.
	(package-list-unversioned): New var.
	(package-menu--generate): Use it.

	* emacs-lisp/autoload.el: Manage package--builtin-versions.
	(autoload--insert-text, autoload--insert-cookie-text): New functions.
	(autoload-builtin-package-versions): New variable.
	(autoload-generate-file-autoloads): Use them.
	Remove the list of autoloaded functions/macros from the
	(autoload...) comments.

	* Makefile.in (autoloads): Set autoload-builtin-package-versions.

727 728 729 730 731 732 733 734
2013-06-15  Eli Zaretskii  <eliz@gnu.org>

	* simple.el (line-move-partial): Don't jump to the next screen
	line as soon as it becomes visible.  Instead, continue enlarging
	the vscroll until the portion of a tall screen line that's left on
	display is about the height of the frame's default font.
	(Bug#14567)

735 736
2013-06-15  Glenn Morris  <rgm@gnu.org>

Glenn Morris's avatar
Glenn Morris committed
737 738 739
	* vc/vc-dispatcher.el (vc-compilation-mode): Avoid making
	compilation-error-regexp-alist void, or local while let-bound.

740 741 742
	* progmodes/make-mode.el (makefile-mode-syntax-table):
	Treat "=" as punctuation.  (Bug#14614)

743 744 745 746 747
2013-06-15  Juanma Barranquero  <lekktu@gmail.com>

	* help-fns.el (describe-variable):
	Add extra line for permanent-local variables.

748 749 750 751 752 753
2013-06-15  Simen Heggestøyl  <simenheg@ifi.uio.no>  (tiny change)

	* progmodes/scheme.el (scheme-font-lock-keywords-2):
	Add export, import, library.  (Bug#9164)
	(library): Set indent function.

754 755 756 757 758
2013-06-14  Glenn Morris  <rgm@gnu.org>

	* term/xterm.el (xterm--query):
	Stop after first matching handler.  (Bug#14615)

759
2013-06-14 Ivan Kanis  <ivan@kanis.fr>
760 761 762 763 764 765 766

	Add support for dired in saveplace.
	* dired.el (dired-initial-position-hook): New variable.
	(dired-initial-position): Call hook to place cursor position.
	* saveplace.el (save-place-to-alist): Add dired position.
	(save-place-dired-hook): New function.

767 768
2013-06-14  Stefan Monnier  <monnier@iro.umontreal.ca>

769 770 771
	* subr.el (eval-after-load, set-temporary-overlay-map): Use indirection
	through a symbol rather than letrec.

772 773 774 775 776 777 778 779 780 781 782 783 784 785 786 787 788 789 790 791 792 793 794 795 796 797 798 799 800 801 802 803 804 805 806
	* emacs-lisp/package.el: Don't recompute dir.  Use pkg-descs more.
	(package-desc): Add `dir' field.
	(package-desc-full-name): New function.
	(package-load-descriptor): Combine the two arguments.  Don't use `load'.
	(package-maybe-load-descriptor): Remove.
	(package-load-all-descriptors): Just call package-load-descriptor.
	(package--disabled-p): New function.
	(package-desc-vers, package-desc-doc): Remove aliases.
	(package--dir): Remove function.
	(package-activate): Check if a package is disabled.
	(package-process-define-package): New function, extracted from
	define-package.
	(define-package): Turn into a place holder.
	(package-unpack-single, package-tar-file-info):
	Use package--description-file.
	(package-compute-transaction): Use package--disabled-p.
	(package-download-transaction): Don't call
	package-maybe-load-descriptor since they're all loaded anyway.
	(package-install): Change argument to be a pkg-desc.
	(package-delete): Use a single pkg-desc argument.
	(describe-package-1): Use package-desc-dir instead of package--dir.
	Use package-desc property instead of package-symbol.
	(package-install-button-action): Adjust accordingly.
	(package--push): Rewrite.
	(package-menu--print-info): Adjust accordingly.  Change the ID format
	to be a pkg-desc.
	(package-menu-describe-package, package-menu-get-status)
	(package-menu--find-upgrades, package-menu-mark-upgrades)
	(package-menu-execute, package-menu--name-predicate):
	Adjust accordingly.
	* startup.el (package--description-file): New function.
	(command-line): Use it.
	* emacs-lisp/package-x.el (package-upload-buffer-internal):
	Use package-desc-version.

807 808 809 810 811 812 813 814 815 816 817 818
	* emacs-lisp/bytecomp.el (byte-compile-force-lexical-warnings): New var.
	(byte-compile-preprocess): Use it.
	(byte-compile-file-form-defalias): Try a bit harder to use macros we
	can't quite recognize.
	(byte-compile-add-to-list): Remove.
	* emacs-lisp/cconv.el (cconv-warnings-only): New function.
	(cconv-closure-convert): Add assertion.

	* emacs-lisp/map-ynp.el: Use lexical-binding.
	(map-y-or-n-p): Remove unused vars `tail' and `object'.
	Factor out some repeated code.

819 820 821 822 823 824 825 826
2013-06-13  Stefan Monnier  <monnier@iro.umontreal.ca>

	* subr.el (with-eval-after-load): New macro.
	(eval-after-load): Allow form to be a function.
	take advantage of lexical-binding.
	(do-after-load-evaluation): Use dolist and adjust to new format.
	* simple.el (bad-packages-alist): Use dolist and with-eval-after-load.

827 828 829 830 831 832 833 834 835 836
2013-06-13  Juri Linkov  <juri@jurta.org>

	* replace.el (perform-replace): Display "symbol " and other search
	modes from `isearch-message-prefix' in the *Help* buffer.

	* isearch.el (isearch-query-replace): Add " symbol" and other
	possible search modes from `isearch-message-prefix' to the prompt.
	(isearch-occur): Use `with-isearch-suspended' to not exit Isearch
	when reading a regexp to collect.

837 838 839 840 841 842 843 844 845 846
2013-06-13  Juri Linkov  <juri@jurta.org>

	* isearch.el (word-search-regexp): Match whitespace if the search
	string begins or ends in whitespace.  The LAX arg is applied to
	both ends of the search string.  Use `regexp-quote' and explicit
	\< and \> instead of \b.  Use \` and \' instead of ^ and $.
	(isearch-symbol-regexp): Sync with `word-search-regexp' where word
	boundaries are replaced with symbol boundaries, and characters
	between symbols match non-word non-symbol syntax.  (Bug#14602)

847 848 849 850 851
2013-06-13  Juri Linkov  <juri@jurta.org>

	* isearch.el (isearch-del-char): Don't exceed the length of
	`isearch-string' by the prefix arg.  (Bug#14563)

852 853 854 855 856 857 858 859 860 861 862
2013-06-13  Juri Linkov  <juri@jurta.org>

	* isearch.el (isearch-yank-word, isearch-yank-line)
	(isearch-char-by-name, isearch-quote-char)
	(isearch-printing-char, isearch-process-search-char):
	Add optional count prefix arg.  (Bug#14563)

	* international/isearch-x.el
	(isearch-process-search-multibyte-characters):
	Add optional count prefix arg.

863 864 865 866 867 868 869 870 871 872
2013-06-13  Stefan Monnier  <monnier@iro.umontreal.ca>

	* subr.el (internal-push-keymap, internal-pop-keymap): New functions.
	(set-temporary-overlay-map): Use them (bug#14095); and take advantage of
	lexical-binding.

2013-06-13  Vitalie Spinu  <spinuvit@gmail.com>

	* subr.el (set-temporary-overlay-map): Add on-exit argument.

873 874
2013-06-13  Glenn Morris  <rgm@gnu.org>

875 876 877
	* startup.el (tty-handle-args):
	Don't just discard "--" and anything after.  (Bug#14608)

878 879
	* emacs-lisp/lisp.el (forward-sexp, backward-sexp): Doc fixes.

880 881 882 883 884 885
2013-06-13  Michael Albinus  <michael.albinus@gmx.de>

	Implement changes in Secret Service API.  Make it backward compatible.
	* net/secrets.el (secrets-struct-secret-content-type): New defonst.
	(secrets-create-item): Use it.  Prefix properties with interface.

886 887 888 889 890
2013-06-13  Michael Hoffman  <9qobl2n02@sneakemail.com>  (tiny change)

	* term.el (term-suppress-hard-newline): New option.  (Bug#12017)
	(term-emulate-terminal): Respect term-suppress-hard-newline.

891 892 893 894 895
2013-06-13  E Sabof  <esabof@gmail.com>  (tiny change)

	* image-dired.el (image-dired-dired-toggle-marked-thumbs):
	Only remove a `thumb-file' overlay.  (Bug#14548)

896 897 898 899 900
2013-06-12  Grégoire Jadi  <daimrod@gmail.com>

	* mail/reporter.el (reporter-submit-bug-report):
	Handle missing package-name.  (Bug#14600)

901 902 903 904 905 906 907 908 909 910 911 912 913 914 915 916 917 918 919 920
2013-06-12  Rüdiger Sonderfeld  <ruediger@c-plusplus.de>

	* textmodes/reftex-cite.el (reftex-cite-regexp-hist)
	(reftex-citation-prompt, reftex-default-bibliography)
	(reftex-bib-or-thebib, reftex-get-bibfile-list)
	(reftex-pop-to-bibtex-entry, reftex-extract-bib-entries)
	(reftex-bib-sort-author, reftex-bib-sort-year)
	(reftex-bib-sort-year-reverse, reftex-get-crossref-alist)
	(reftex-extract-bib-entries-from-thebibliography)
	(reftex-get-bibkey-default, reftex-get-bib-names)
	(reftex-parse-bibtex-entry, reftex-get-bib-field)
	(reftex-format-bib-entry, reftex-parse-bibitem)
	(reftex-format-bibitem, reftex-do-citation)
	(reftex-figure-out-cite-format, reftex-offer-bib-menu)
	(reftex-restrict-bib-matches, reftex-extract-bib-file)
	(reftex-insert-bib-matches, reftex-format-citation)
	(reftex-make-cite-echo-string, reftex-bibtex-selection-callback)
	(reftex-create-bibtex-file): Add docstrings, mostly by converting
	existing comments into docstrings.

921 922 923 924
2013-06-12  Xue Fuqiao  <xfq.free@gmail.com>

	* ibuf-ext.el (ibuffer-mark-help-buffers): Doc fix.

925 926 927 928 929
2013-06-12  Andreas Schwab  <schwab@suse.de>

	* international/mule.el (auto-coding-alist): Use utf-8-emacs-unix
	for auto-save files.

930 931
2013-06-12  Glenn Morris  <rgm@gnu.org>

932 933 934
	* ido.el (ido-delete-ignored-files): Remove.
	(ido-wide-find-dirs-or-files, ido-make-file-list-1):
	Go back to calling ido-ignore-item-p directly.
935

936 937
2013-06-12  Eyal Lotem  <eyal.lotem@gmail.com>  (tiny change)

938 939
	* ido.el (ido-wide-find-dirs-or-files): Respect ido-case-fold.

940 941 942 943 944
	* ido.el (ido-delete-ignored-files): New function,
	split from ido-make-file-list-1.
	(ido-wide-find-dirs-or-files): Maybe ignore files.  (Bug#13003)
	(ido-make-file-list-1): Use ido-delete-ignored-files.

945 946 947 948 949 950 951 952 953 954 955 956 957 958 959 960
2013-06-12  Leo Liu  <sdl.web@gmail.com>

	* progmodes/octave.el (inferior-octave-startup)
	(inferior-octave-completion-table)
	(inferior-octave-track-window-width-change)
	(octave-eldoc-function-signatures, octave-help)
	(octave-find-definition): Use single quoted strings.
	(inferior-octave-startup-args): Change default value.
	(inferior-octave-startup): Do not hard code "-i" and
	"--no-line-editing".
	(inferior-octave-resync-dirs): Add optional arg NOERROR.
	(inferior-octave-directory-tracker): Use it.
	(octave-goto-function-definition): Robustify.
	(octave-help): Support highlighting operators in 'See also'.
	(octave-find-definition): Find subfunctions only in Octave mode.

961 962 963 964 965 966 967 968 969 970 971
2013-06-12  Stefan Monnier  <monnier@iro.umontreal.ca>

	* help-fns.el (help-fns--compiler-macro): If the handler function is
	named, then put a link to it.
	* help-mode.el (help-function-cmacro): Adjust regexp for cl-lib names.
	* emacs-lisp/cl-macs.el (cl--compiler-macro-typep): New function.
	(cl-typep): Use it.
	(cl-eval-when): Simplify debug spec.
	(cl-define-compiler-macro): Use eval-and-compile.  Give a name to the
	compiler-macro function instead of setting `compiler-macro-file'.

Xue Fuqiao's avatar
Xue Fuqiao committed
972
2013-06-12  Xue Fuqiao  <xfq.free@gmail.com>
Xue Fuqiao's avatar
Xue Fuqiao committed
973 974 975 976

	* vc/vc-cvs.el (vc-cvs-stay-local): Doc fix.
	* vc/vc-hooks.el (vc-stay-local): Doc fix.

977 978 979 980 981 982 983 984 985 986 987 988 989 990 991 992 993 994 995 996 997 998 999 1000 1001 1002 1003 1004 1005 1006
2013-06-12  Stefan Monnier  <monnier@iro.umontreal.ca>
	    Daniel Hackney  <dan@haxney.org>

	First part of Daniel Hackney's patch to package.el.
	* emacs-lisp/package.el: Use defstruct.
	(package-desc): New, main struct.
	(package--bi-desc, package--ac-desc): New structs, used to describe the
	format in external files.
	(package-desc-vers): Replace with package-desc-version accessor.
	(package-desc-doc): Replace with package-desc-summary accessor.
	(package-activate-1): Remove `package' arg since the pkg-vec now
	includes the name.
	(define-package): Use package-desc-from-define.
	(package-unpack-single): Change file-name arg to be a symbol.
	(package--add-to-archive-contents): Use package-desc-create and new
	accessor functions to package--ac-desc.
	(package-buffer-info, package-tar-file-info): Return a package-desc.
	(package-install-from-buffer): Remove `type' argument.  Change pkg-info
	arg to be a package-desc.
	(package-install-file): Adjust accordingly.  Use \' to match EOS.
	(package--from-builtin): New function.
	(describe-package-1, package-menu--generate): Use it.
	(package--make-autoloads-and-compile): Change name arg to be a symbol.
	(package-generate-autoloads): Idem and return the name of the file.
	* emacs-lisp/package-x.el (package-upload-buffer-internal):
	Change pkg-info arg to be a package-desc.
	Use package-make-ac-desc.
	(package-upload-file): Use \' to match EOS.
	* finder.el (finder-compile-keywords): Use package-make-builtin.

1007 1008
2013-06-11  Stefan Monnier  <monnier@iro.umontreal.ca>

1009 1010 1011 1012
	* vc/vc.el (vc-deduce-fileset): Change error message.
	(vc-read-backend): New function.
	(vc-next-action): Use it.

1013 1014
	* subr.el (function-arity): Remove (mistakenly added) (bug#14590).

1015 1016 1017 1018 1019 1020
	* progmodes/prolog.el (prolog-make-keywords-regexp): Remove.
	(prolog-font-lock-keywords): Use regexp-opt instead.
	Don't manually highlight strings.
	(prolog-mode-variables): Simplify comment-start-skip.
	(prolog-consult-compile): Use display-buffer.  Remove unused old-filter.

1021 1022 1023 1024 1025 1026
	* emacs-lisp/generic.el (generic--normalise-comments)
	(generic-set-comment-syntax, generic-set-comment-vars): New functions.
	(generic-mode-set-comments): Use them.
	(generic-bracket-support): Use setq-local.
	(generic-make-keywords-list): Declare obsolete.

1027 1028 1029 1030 1031
2013-06-11  Glenn Morris  <rgm@gnu.org>

	* emacs-lisp/lisp-mode.el (lisp-mode-variables):
	Prettify after setting font-lock-defaults.  (Bug#14574)

Juanma Barranquero's avatar
Juanma Barranquero committed
1032 1033 1034 1035 1036 1037 1038 1039 1040
2013-06-11  Juanma Barranquero  <lekktu@gmail.com>

	* replace.el (query-replace, occur-read-regexp-defaults-function)
	(replace-search):
	* subr.el (declare-function, number-sequence, local-set-key)
	(substitute-key-definition, locate-user-emacs-file)
	(with-silent-modifications, split-string, eval-after-load):
	Fix typos, remove unneeded backslashes and reflow some docstrings.

1041 1042 1043 1044 1045
2013-06-11  Stefan Monnier  <monnier@iro.umontreal.ca>

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

1046 1047 1048 1049 1050
2013-06-11  Glenn Morris  <rgm@gnu.org>

	* vc/log-view.el (log-view-mode-map): Inherit from special-mode-map,
	although define-derived-mode was doing this anyway.  (Bug#14583)

1051 1052 1053 1054 1055
2013-06-10  Juanma Barranquero  <lekktu@gmail.com>

	* allout.el (allout-encryption-plaintext-sanitization-regexps):
	Fix make-variable-buffer-local call to refer to the correct variable.

1056 1057 1058
2013-06-10  Aidan Gauland  <aidalgol@amuri.net>

	* eshell/em-term.el (eshell-visual-commands)
1059 1060
	(eshell-visual-subcommands, eshell-visual-options):
	Add summary line to docstrings.  Add cross-references.
1061

1062 1063 1064 1065 1066
2013-06-10  Glenn Morris  <rgm@gnu.org>

	* epa.el (epa-read-file-name): New function.  (Bug#14510)
	(epa-decrypt-file): Make plain-file optional.  Use epa-read-file-name.

Aidan Gauland's avatar
Aidan Gauland committed
1067 1068 1069 1070 1071
2013-06-09  Aidan Gauland  <aidalgol@amuri.net>

	* eshell/em-term.el (eshell-visual-command-p): Fix bug that caused
	output redirection to be ignored with visual commands.

1072 1073 1074
2013-06-09  Aidan Gauland  <aidalgol@amuri.net>

	* eshell/em-term.el (eshell-visual-command-p): New function.
1075 1076
	(eshell-term-initialize): Move long lambda to separate function
	eshell-visual-command-p.
1077 1078 1079
	* eshell/em-dirs.el (eshell-dirs-initialise):
	* eshell/em-script.el (eshell-script-initialize):
	Add missing #' to lambda.
1080

1081 1082 1083 1084 1085 1086 1087
2013-06-08  Leo Liu  <sdl.web@gmail.com>

	* progmodes/octave.el (octave-add-log-current-defun): New function.
	(octave-mode): Set add-log-current-defun-function.
	(octave-goto-function-definition): Do not move point if not found.
	(octave-find-definition): Enhance to try subfunctions first.

Glenn Morris's avatar
Glenn Morris committed
1088 1089 1090 1091 1092 1093
2013-06-08  Glenn Morris  <rgm@gnu.org>

	* emacs-lisp/bytecomp.el (byte-compile-char-before)
	(byte-compile-backward-char, byte-compile-backward-word):
	Improve previous change, to handle non-explicit nil.

1094 1095 1096 1097 1098 1099 1100 1101
2013-06-07  Stefan Monnier  <monnier@iro.umontreal.ca>

	* emacs-lisp/smie.el: Improve show-paren-mode behavior.
	(smie--opener/closer-at-point): New function.
	(smie--matching-block-data): Use it.  Don't match from right after an
	opener or right before a closer.  Obey smie-blink-matching-inners.
	Don't signal a mismatch for repeated inners like "switch..case..case".

1102 1103 1104 1105
2013-06-07  Leo Liu  <sdl.web@gmail.com>

	* progmodes/octave.el (octave-mode): Set comment-use-global-state
	to t.  (Bug#14303)
1106 1107 1108
	(octave-function-header-regexp): Fix.  (Bug#14570)
	(octave-help-mode-finish-hook, octave-help-mode-finish):
	Remove.  Just use temp-buffer-show-hook.
1109 1110 1111 1112 1113 1114

	* newcomment.el (comment-search-backward): Revert last change.
	(Bug#14434)

	* emacs-lisp/smie.el (smie--matching-block-data): Minor simplification.

Eli Zaretskii's avatar
Eli Zaretskii committed
1115 1116 1117 1118 1119 1120
2013-06-07  Eli Zaretskii  <eliz@gnu.org>

	* Makefile.in (TAGS TAGS-LISP): Pass the (long) list of *.el files
	through xargs, to avoid failure due to MS-Windows limitations on
	command-line length.

Glenn Morris's avatar
Glenn Morris committed
1121 1122
2013-06-06  Glenn Morris  <rgm@gnu.org>

1123 1124 1125
	* font-lock.el (lisp-font-lock-keywords-2):
	Treat user-error like error.

Glenn Morris's avatar
Glenn Morris committed
1126 1127 1128 1129
	* emacs-lisp/bytecomp.el (byte-compile-char-before)
	(byte-compile-backward-char, byte-compile-backward-word):
	Handle explicit nil arguments.  (Bug#14565)

1130 1131 1132
2013-06-05  Alan Mackenzie  <acm@muc.de>

	* isearch.el (isearch-allow-prefix): New user option.
Juri Linkov's avatar
Juri Linkov committed
1133
	(isearch-other-meta-char): Don't exit isearch when a prefix
1134
	argument is typed whilst `isearch-allow-prefix' is non-nil.
Juri Linkov's avatar
Juri Linkov committed
1135
	(Bug#9706)
1136

1137 1138 1139 1140 1141 1142 1143 1144 1145
2013-06-05  Stefan Monnier  <monnier@iro.umontreal.ca>

	* autorevert.el (auto-revert-notify-handler): Use memq.
	Hide assertion failure.

	* skeleton.el: Use cl-lib.
	(skeleton-further-elements): Use defvar-local.
	(skeleton-insert): Use cl-progv.

1146 1147 1148 1149 1150
2013-06-05  Teodor Zlatanov  <tzz@lifelogs.com>

	* progmodes/prog-mode.el (prog-prettify-symbols)
	(prog-prettify-install): Update docstrings.

1151 1152 1153 1154 1155 1156
2013-06-05  Stefan Monnier  <monnier@iro.umontreal.ca>

	* simple.el: Move all the prog-mode code to prog-mode.el.
	* progmodes/prog-mode.el: New file.
	* loadup.el: Add prog-mode.el.

1157 1158 1159 1160 1161 1162 1163 1164 1165 1166 1167 1168 1169 1170 1171 1172 1173 1174
2013-06-05  Teodor Zlatanov  <tzz@lifelogs.com>

	* simple.el (prog-prettify-symbols): Add version.
	(prog-prettify-install): Add convenience function to prettify symbols.

	* progmodes/perl-mode.el (perl--augmented-font-lock-keywords)
	(perl--augmented-font-lock-keywords-1)
	(perl--augmented-font-lock-keywords-2, perl-mode): Remove unneeded
	variables and use it.

	* progmodes/cfengine.el (cfengine3--augmented-font-lock-keywords)
	(cfengine3-mode): Remove unneeded variable and use it.

	* emacs-lisp/lisp-mode.el (lisp--augmented-font-lock-keywords)
	(lisp--augmented-font-lock-keywords-1)
	(lisp--augmented-font-lock-keywords-2, lisp-mode-variables):
	Remove unneeded variables and use it.

Glenn Morris's avatar
Glenn Morris committed
1175
2013-06-05  João Távora  <joaotavora@gmail.com>
1176 1177

	* net/tls.el (open-tls-stream): Remove unneeded buffer contents up
Glenn Morris's avatar
Glenn Morris committed
1178
	to point when opening the connection.  (Bug#14380)
1179

1180 1181 1182 1183 1184 1185 1186 1187 1188 1189 1190
2013-06-05  Stefan Monnier  <monnier@iro.umontreal.ca>

	* subr.el (load-history-regexp, load-history-filename-element)
	(eval-after-load, after-load-functions, do-after-load-evaluation)
	(eval-next-after-load, display-delayed-warnings)
	(collapse-delayed-warnings, delayed-warnings-hook): Move after the
	definition of save-match-data.
	(overriding-local-map): Remove accidental obsolescence declaration.

	* emacs-lisp/edebug.el (edebug-result): Move before first use.

1191 1192 1193 1194 1195 1196 1197 1198 1199 1200 1201 1202 1203
2013-06-05  Teodor Zlatanov  <tzz@lifelogs.com>

	Generalize symbol prettify support to prog-mode and implement it
	for perl-mode, cfengine3-mode, and emacs-lisp-mode.
	* simple.el (prog-prettify-symbols-alist, prog-prettify-symbols)
	(prog--prettify-font-lock-compose-symbol)
	(prog-prettify-font-lock-symbols-keywords): New variables and
	functions to support symbol prettification.
	* emacs-lisp/lisp-mode.el (lisp--augmented-font-lock-keywords)
	(lisp--augmented-font-lock-keywords-1)
	(lisp--augmented-font-lock-keywords-2, lisp-mode-variables)
	(lisp--prettify-symbols-alist): Implement prettify of lambda.
	* progmodes/cfengine.el (cfengine3--augmented-font-lock-keywords)
1204 1205
	(cfengine3--prettify-symbols-alist, cfengine3-mode):
	Implement prettify of -> => :: strings.
1206 1207 1208 1209 1210 1211 1212 1213
	* progmodes/perl-mode.el (perl-prettify-symbols)
	(perl--font-lock-compose-symbol)
	(perl--font-lock-symbols-keywords): Move to prog-mode.
	(perl--prettify-symbols-alist): Prettify -> => :: strings.
	(perl-font-lock-keywords-1)
	(perl-font-lock-keywords-2): Remove explicit prettify support.
	(perl--augmented-font-lock-keywords)
	(perl--augmented-font-lock-keywords-1)
1214 1215
	(perl--augmented-font-lock-keywords-2, perl-mode):
	Implement prettify support.
1216

1217 1218 1219 1220 1221 1222 1223 1224 1225 1226 1227 1228 1229 1230 1231 1232 1233
2013-06-05  Leo Liu  <sdl.web@gmail.com>

	Re-implement smie matching block highlight using
	show-paren-data-function.  (Bug#14395)
	* emacs-lisp/smie.el (smie-matching-block-highlight)
	(smie--highlight-matching-block-overlay)
	(smie--highlight-matching-block-lastpos)
	(smie-highlight-matching-block)
	(smie-highlight-matching-block-mode): Remove.
	(smie--matching-block-data-cache): New variable.
	(smie--matching-block-data): New function.
	(smie-setup): Use smie--matching-block-data for
	show-paren-data-function.

	* progmodes/octave.el (octave-mode-menu): Fix.
	(octave-find-definition): Skip garbage lines.

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 1259 1260 1261 1262
2013-06-05  Stefan Monnier  <monnier@iro.umontreal.ca>

	Fix compilation error with simultaneous dynamic+lexical scoping.
	Add warning when a defvar appears after the first let-binding.
	* emacs-lisp/bytecomp.el (byte-compile-lexical-variables): New var.
	(byte-compile-close-variables): Initialize it.
	(byte-compile--declare-var): New function.
	(byte-compile-file-form-defvar)
	(byte-compile-file-form-define-abbrev-table)
	(byte-compile-file-form-custom-declare-variable): Use it.
	(byte-compile-make-lambda-lexenv): Change the argument.  Simplify.
	(byte-compile-lambda): Share call to byte-compile-arglist-vars.
	(byte-compile-bind): Handle dynamic bindings that shadow
	lexical bindings.
	(byte-compile-unbind): Make arg non-optional.
	(byte-compile-let): Simplify.
	* emacs-lisp/cconv.el (byte-compile-lexical-variables): Declare var.
	(cconv--analyse-function, cconv-analyse-form): Populate it.
	Protect byte-compile-bound-variables to limit the scope of defvars.
	(cconv-analyse-form): Add missing rule for (defvar <foo>).
	Remove unneeded rule for `declare'.

	* emacs-lisp/cl-macs.el (cl--compiler-macro-adjoin): Use macroexp-let2
	so as to avoid depending on cl-adjoin at run-time.
	* emacs-lisp/cl-lib.el (cl-pushnew): Use backquotes.

	* emacs-lisp/macroexp.el (macroexp--compiling-p): New function.
	(macroexp--warn-and-return): Use it.

1263 1264 1265 1266
2013-06-05  Leo Liu  <sdl.web@gmail.com>

	* eshell/esh-mode.el (eshell-mode): Fix key bindings.

1267 1268 1269 1270 1271 1272
2013-06-04  Leo Liu  <sdl.web@gmail.com>

	* progmodes/compile.el (compile-goto-error): Add optional arg NOMSG.
	(compilation-auto-jump): Suppress the "Mark set" message to give
	way to exit message.

1273 1274 1275 1276 1277 1278
2013-06-04  Alan Mackenzie  <acm@muc.de>

	Remove faulty optimisation from indentation calculation.
	* progmodes/cc-engine.el (c-guess-basic-syntax): Don't calculate
	search limit based on 2000 characters back from indent-point.

1279 1280 1281 1282
2013-06-03  Tassilo Horn  <tsdh@gnu.org>

	* eshell/em-term.el (cl-lib): Require `cl-lib'.

1283 1284
2013-06-03  Stefan Monnier  <monnier@iro.umontreal.ca>

1285 1286 1287
	* emacs-lisp/lisp.el: Use lexical-binding.
	(lisp--local-variables-1, lisp--local-variables): New functions.
	(lisp--local-variables-completion-table): New var.
1288
	(lisp-completion-at-point): Use it complete let-bound vars.
1289

1290 1291 1292
	* emacs-lisp/lisp-mode.el (eval-sexp-add-defvars): Expand macros
	eagerly (bug#14422).

1293 1294 1295 1296 1297 1298 1299
2013-06-03  Michael Albinus  <michael.albinus@gmx.de>

	* autorevert.el (auto-revert-notify-enabled)
	(auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
	(auto-revert-notify-event-p, auto-revert-notify-event-file-name)
	(auto-revert-notify-handler): Handle also gfilenotify.

1300
	* subr.el (file-notify-handle-event): New defun.  Replacing ...
1301
	(inotify-event-p, inotify-handle-event, w32notify-handle-event):
1302
	Remove.
1303

1304 1305 1306 1307 1308 1309 1310 1311 1312 1313 1314 1315 1316 1317 1318 1319 1320 1321 1322 1323 1324 1325
2013-06-03  Juri Linkov  <juri@jurta.org>

	* bindings.el (search-map): Bind `highlight-symbol-at-point' to
	`M-s h .'.  (Bug#14427)

	* hi-lock.el (highlight-symbol-at-point): New alias for the new
	command `hi-lock-face-symbol-at-point'.
	(hi-lock-face-symbol-at-point): New command.
	(hi-lock-map): Bind `highlight-symbol-at-point' to `C-x w .'.
	(hi-lock-menu): Add `highlight-symbol-at-point'.
	(hi-lock-mode): Doc fix.

	* isearch.el (isearch-forward-symbol-at-point): New command.
	(search-map): Bind `isearch-forward-symbol-at-point' to `M-s .'.
	(isearch-highlight-regexp): Add a regexp which matches
	words/symbols for word/symbol mode.

	* subr.el (find-tag-default-bounds): New function with the body
	mostly moved from `find-tag-default'.
	(find-tag-default): Move most code to `find-tag-default-bounds',
	call it and apply `buffer-substring-no-properties' afterwards.

1326 1327
2013-06-03  Tassilo Horn  <tsdh@gnu.org>

1328 1329
	* eshell/em-term.el (eshell-term-initialize):
	Use `cl-intersection' rather than `intersection'.
1330

Xue Fuqiao's avatar
Xue Fuqiao committed
1331 1332
2013-06-02  Xue Fuqiao  <xfq.free@gmail.com>

Xue Fuqiao's avatar
Xue Fuqiao committed
1333
	* vc/log-view.el: Doc fix.
Xue Fuqiao's avatar
Xue Fuqiao committed
1334
	(log-view-mode-map): Copy keymap from `special-mode-map'.
Xue Fuqiao's avatar
Xue Fuqiao committed
1335

Juanma Barranquero's avatar
Juanma Barranquero committed
1336
2013-06-02  Eric Ludlam  <zappo@gnu.org>
1337 1338 1339 1340 1341 1342 1343 1344 1345 1346 1347 1348 1349 1350 1351 1352 1353 1354 1355 1356 1357 1358 1359 1360 1361 1362 1363 1364 1365 1366 1367 1368 1369 1370 1371 1372 1373 1374 1375 1376 1377 1378 1379 1380 1381 1382

	* emacs-lisp/eieio.el (eieio--defalias, eieio-hook)
	(eieio-error-unsupported-class-tags, eieio-skip-typecheck)
	(eieio-optimize-primary-methods-flag, eieio-initializing-object)
	(eieio-unbound, eieio-default-superclass)
	(eieio--define-field-accessors, method-static, method-before)
	(method-primary, method-after, method-num-lists)
	(method-generic-before, method-generic-primary)
	(method-generic-after, method-num-slots)
	(eieio-specialized-key-to-generic-key)
	(eieio--check-type, class-v, class-p)
	(eieio-class-name, define-obsolete-function-alias)
	(eieio-class-parents-fast, eieio-class-children-fast)
	(same-class-fast-p, class-constructor, generic-p)
	(generic-primary-only-p, generic-primary-only-one-p)
	(class-option-assoc, class-option, eieio-object-p)
	(class-abstract-p, class-method-invocation-order)
	(eieio-defclass-autoload-map, eieio-defclass-autoload)
	(eieio-class-un-autoload, eieio-defclass)
	(eieio-eval-default-p, eieio-perform-slot-validation-for-default)
	(eieio-add-new-slot, eieio-copy-parents-into-subclass)
	(eieio--defgeneric-init-form, eieio-defgeneric-form)
	(eieio-defgeneric-reset-generic-form)
	(eieio-defgeneric-form-primary-only)
	(eieio-defgeneric-reset-generic-form-primary-only)
	(eieio-defgeneric-form-primary-only-one)
	(eieio-defgeneric-reset-generic-form-primary-only-one)
	(eieio-unbind-method-implementations)
	(eieio--defmethod, eieio--typep)
	(eieio-perform-slot-validation, eieio-validate-slot-value)
	(eieio-validate-class-slot-value, eieio-barf-if-slot-unbound)
	(eieio-oref, eieio-oref-default, eieio-default-eval-maybe)
	(eieio-oset, eieio-oset-default, eieio-slot-originating-class-p)
	(eieio-slot-name-index, eieio-class-slot-name-index)
	(eieio-set-defaults, eieio-initarg-to-attribute)
	(eieio-attribute-to-initarg, eieio-c3-candidate)
	(eieio-c3-merge-lists, eieio-class-precedence-c3)
	(eieio-class-precedence-dfs, eieio-class-precedence-bfs)
	(eieio-class-precedence-list, eieio-generic-call-methodname)
	(eieio-generic-call-arglst, eieio-generic-call-key)
	(eieio-generic-call-next-method-list)
	(eieio-pre-method-execution-functions, eieio-generic-call)
	(eieio-generic-call-primary-only, eieiomt-method-list)
	(eieiomt-optimizing-obarray, eieiomt-install)
	(eieiomt-add, eieiomt-next, eieiomt-sym-optimize)
	(eieio-generic-form, eieio-defmethod, make-obsolete)
Juanma Barranquero's avatar
Juanma Barranquero committed
1383
	(eieio-defgeneric, make-obsolete): Move to eieio-core.el.
1384 1385 1386 1387 1388 1389 1390 1391 1392
	(defclass): Remove `eval-and-compile' from macro.
	(call-next-method, shared-initialize): Instead of using
	`scoped-class' variable, use new eieio--scoped-class, and
	eieio--with-scoped-class.
	(initialize-instance): Rename local variable 'scoped-class' to
	'this-class' to remove ambiguitity from old global.

	* emacs-lisp/eieio-core.el: New file.  Derived from key parts of
	eieio.el.
Juanma Barranquero's avatar
Juanma Barranquero committed
1393 1394
	(eieio--scoped-class-stack): New variable.
	(eieio--scoped-class): New fcn.
1395 1396 1397 1398 1399 1400 1401 1402 1403 1404
	(eieio--with-scoped-class): New scoping macro.
	(eieio-defclass): Use pushnew instead of add-to-list.
	(eieio-defgeneric-form-primary-only-one, eieio-oset-default)
	(eieio-slot-name-index, eieio-set-defaults, eieio-generic-call)
	(eieio-generic-call-primary-only, eieiomt-add): Instead of using
	`scoped-class' variable, use new eieio--scoped-class, and
	eieio--with-scoped-class.

	* emacs-lisp/eieio-base.el (cl-lib): Require during compile.

1405 1406 1407 1408 1409 1410 1411
2013-06-02  Tassilo Horn  <tsdh@gnu.org>

	* eshell/esh-ext.el (eshell-external-command): Pass args to
	`eshell-find-interpreter'.
	(eshell-find-interpreter): Add new second parameter ARGS.

	* eshell/em-script.el (eshell-script-initialize): Add second arg
1412
	to the function added as MATCH to `eshell-interpreter-alist'.
1413 1414

	* eshell/em-dirs.el (eshell-dirs-initialize): Add second arg to
1415
	the function added as MATCH to `eshell-interpreter-alist'.
1416 1417 1418 1419 1420 1421 1422 1423

	* eshell/em-term.el (eshell-visual-subcommands): New defcustom.
	(eshell-visual-options): New defcustom.
	(eshell-escape-control-x): Adapt docstring.
	(eshell-term-initialize): Test `eshell-visual-subcommands' and
	`eshell-visual-options' in addition to `eshell-visual-commands'.
	(eshell-exec-visual): Pass args to `eshell-find-interpreter'.

1424
2013-06-01  Fabián Ezequiel Gallina  <fgallina@gnu.org>
1425 1426 1427 1428

	* progmodes/python.el (python-indent-block-enders): Add break,
	continue and raise keywords.

1429 1430
2013-06-01  Glenn Morris  <rgm@gnu.org>

1431 1432
	* pcmpl-gnu.el (pcomplete/tar): Check obsolete variable is bound.

1433
	Plain (f)boundp silences compilation warnings since Emacs 22.1.
1434 1435 1436 1437 1438 1439 1440 1441
	* progmodes/cc-cmds.el (delete-forward-p):
	* progmodes/cc-defs.el (buffer-syntactic-context-depth):
	* progmodes/cc-engine.el (buffer-syntactic-context):
	* progmodes/cc-fonts.el (face-property-instance):
	* progmodes/cc-mode.el (set-keymap-parents):
	* progmodes/cc-vars.el (get-char-table): No need for cc-bytecomp-defun.
	* progmodes/cc-defs.el (c-set-region-active, c-beginning-of-defun-1)
	* progmodes/cc-mode.el (c-make-inherited-keymap): Use plain fboundp.
1442 1443
	* progmodes/cc-defs.el (zmacs-region-stays, zmacs-regions)
	(lookup-syntax-properties): Remove unecessary cc-bytecomp-defvar.
1444

1445 1446 1447
	* progmodes/cc-vars.el (other): Emacs has this widget since
	at least 21.1, so don't (re)define it.

1448 1449 1450
	* eshell/em-cmpl.el (eshell-cmpl-initialize):
	Replace the obsolete alias pcomplete-arg-quote-list.

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

	* progmodes/octave.el (octave-mode-syntax-table): Give `.'
	punctuation syntax.
	(inferior-octave-minimal-columns)
	(inferior-octave-last-column-width): New variables.
	(inferior-octave-track-window-width-change): New function.
	(inferior-octave-mode): Adjust column width so that Octave output,
	for example from 'ls', can fit into the window nicely.

1461 1462 1463 1464 1465
2013-05-31  Dmitry Gutov  <dgutov@yandex.ru>

	* progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
	Highlight expansions inside regexp literals.

1466 1467
2013-05-31  Glenn Morris  <rgm@gnu.org>

1468 1469 1470
	* obsolete/sym-comp.el (symbol-complete):
	Replace obsolete completion-annotate-function.

1471 1472
	* progmodes/cc-vars.el (c-make-macro-with-semi-re): Silence compiler.

1473 1474
2013-05-31  Dmitry Gutov  <dgutov@yandex.ru>

1475 1476
	* progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
	New function, checks if point is inside a literal that allows
1477 1478 1479 1480 1481
	expression expansion.
	(ruby-syntax-propertize-expansion): Use it.
	(ruby-syntax-propertize-function): Bind `case-fold-search' to nil
	around the body.

1482 1483 1484 1485 1486 1487 1488 1489 1490 1491 1492 1493 1494 1495 1496 1497
2013-05-30  Juri Linkov  <juri@jurta.org>

	* isearch.el (isearch-mode-map): Bind `isearch-toggle-invisible'
	to "\M-si".
	(isearch-invisible): New variable.
	(isearch-forward): Doc fix.
	(isearch-mode): Set `isearch-invisible'
	to the value of `search-invisible'.
	(isearch-toggle-case-fold): Doc fix.
	(isearch-toggle-invisible): New command.
	(isearch-query-replace): Let-bind `search-invisible'
	to the value of `isearch-invisible'.
	(isearch-search): Use `isearch-invisible' instead of
	`search-invisible'.  Let-bind `search-invisible'
	to the value of `isearch-invisible'.  (Bug#11378)

1498 1499 1500 1501 1502 1503
2013-05-30  Juri Linkov  <juri@jurta.org>

	* replace.el (perform-replace): Avoid `isearch-range-invisible'
	call when `query-flag' is nil and `search-invisible' is non-nil.
	(Bug#11746)

1504 1505
2013-05-30  Glenn Morris  <rgm@gnu.org>

1506 1507
	* progmodes/gdb-mi.el (gdb-wait-for-pending): Fix typo.

1508 1509 1510 1511
	* progmodes/cc-bytecomp.el (cc-bytecomp-noruntime-functions): New.
	(cc-require): Suppress spurious "noruntime" warnings.
	(cc-require-when-compile): Use fboundp, for sake of compiler.

1512 1513 1514
	* progmodes/cc-mode.el: Move load of cc-vars before that of
	cc-langs (which in turn loads cc-vars), to quieten compiler.

1515 1516 1517 1518 1519 1520 1521 1522 1523 1524
2013-05-30  Stefan Monnier  <monnier@iro.umontreal.ca>

	* paren.el: Simplify the code.
	(show-paren-mode): Always start the timer.
	(show-paren--idle-timer): Rename from show-paren-idle-timer.
	(show-paren--overlay, show-paren--overlay-1): Rename from
	show-paren-overlay and show-paren-overlay-1, and initialize to an
	overlay rather than to nil.
	(show-paren-function): Misc cleanup and simplifications.

1525 1526 1527 1528 1529 1530
2013-05-30  Stefan Monnier  <monnier@iro.umontreal.ca>

	* paren.el (show-paren-data-function): New hook.
	(show-paren--default): New function, extracted from show-paren-function.
	(show-paren-function): Use show-paren-data-function.

1531 1532
2013-05-30  Glenn Morris  <rgm@gnu.org>

Glenn Morris's avatar
Glenn Morris committed
1533 1534 1535 1536 1537 1538
	* ielm.el (ielm-map, ielm-complete-symbol):
	Use completion-at-point rather than obsolete functions.
	(inferior-emacs-lisp-mode): Doc fix.
	Set completion-at-point-functions, rather than
	comint-dynamic-complete-functions.

1539 1540 1541 1542
	* eshell/em-cmpl.el (eshell-complete-lisp-symbol): New function.
	(eshell-cmpl-initialize, eshell-complete-parse-arguments):
	Replace obsolete lisp-complete-symbol with eshell-complete-lisp-symbol.

1543 1544
	* image.el (image-animated-p): Tweak definition.

Glenn Morris's avatar
Glenn Morris committed
1545 1546 1547 1548 1549 1550
	* net/rlogin.el (rlogin-program, rlogin-explicit-args): Default to ssh.
	(rlogin-process-connection-type): Tweak default.  Add set-after.
	(rlogin-host): Doc fix.
	(rlogin): Tweak prompt.
	(rlogin-tab-or-complete): Use completion-at-point rather than alias.

1551 1552 1553 1554
	* net/net-utils.el (nslookup-mode-map, ftp-mode-map):
	* progmodes/tcl.el (inferior-tcl-mode-map):
	Use completion-at-point rather than obsolete alias.

1555 1556
	* emacs-lisp/eieio.el (eieio-eval-default-p): Move before use.

1557 1558 1559
	* minibuffer.el (read-file-name-completion-ignore-case):
	Move before completion--in-region, for eager macro expansion.

1560 1561 1562 1563 1564 1565 1566 1567 1568 1569 1570 1571 1572
2013-05-29  Juri Linkov  <juri@jurta.org>

	* replace.el (occur-engine): Rename `globalcount' to `global-lines'
	for total count of matching lines.  Add `global-matches' for total
	count of matches.  Rename `matches' to `lines' for count of
	matching lines.  Add `matches' for count of matches.
	Rename `lines' to `curr-line' for line count.  Rename `prev-lines'
	to `prev-line' for line number of prev match endpt.
	Increment `matches' for every match.  Print the number of
	matching lines in the header.
	(occur-context-lines): Rename `lines' to `curr-line'.
	Rename `prev-lines' to `prev-line'.  (Bug#14017)

1573 1574 1575 1576 1577 1578 1579 1580 1581
2013-05-29  Juri Linkov  <juri@jurta.org>

	* replace.el (perform-replace): Add `skip-read-only-count',
	`skip-filtered-count', `skip-invisible-count' let-bound to 0.
	Increment them for corresponding conditions and report the number
	of skipped occurrences in the final message.  (Bug#11746)
	(query-replace, query-replace-regexp, query-replace-regexp-eval)
	(replace-string, replace-regexp): Doc fix.

1582 1583
2013-05-29  Stefan Monnier  <monnier@iro.umontreal.ca>

1584 1585
	* emacs-lisp/trace.el (trace--read-args): Provide a default.

1586
	* emacs-lisp/lisp-mode.el (lisp-mode-shared-map): Inherit from
1587
	prog-mode-map (bug#14504).
1588

1589 1590 1591 1592 1593 1594 1595 1596
2013-05-29  Leo Liu  <sdl.web@gmail.com>

	* progmodes/octave.el (octave-indent-comment): Tweak regexps.
	(octave-help): Small simplification.

	* emacs-lisp/sm