ChangeLog 573 KB
Newer Older
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36
2012-06-22  Stefan Monnier  <monnier@iro.umontreal.ca>

	* emacs-lisp/gv.el: New file.
	* subr.el (push, pop): Extend to generalized variables.
	* loadup.el (macroexp): Unload if preloaded and uncompiled (bug#11657).
	* emacs-lisp/cl-lib.el (cl-pop, cl-push, cl--set-nthcdr): Remove.
	* emacs-lisp/cl-macs.el: Require gv.  Use gv-define-setter,
	gv-define-simple-setter, and gv-define-expander.
	Remove setf-methods defined in gv.  Rename cl-setf -> setf.
	(cl-setf, cl-do-pop, cl-get-setf-method): Remove.
	(cl-letf, cl-letf*, cl-define-modify-macro, cl-defsetf)
	(cl-define-setf-expander, cl-struct-setf-expander): Move to cl.el.
	(cl-remf, cl-shiftf, cl-rotatef, cl-callf, cl-callf2): Rewrite with
	gv-letplace.
	(cl-defstruct): Don't define setf-method any more.
	* emacs-lisp/cl.el (flet): Don't autoload.
	(cl--letf, letf, cl--letf*, letf*, cl--gv-adapt)
	(define-setf-expander, defsetf, define-modify-macro)
	(cl-struct-setf-expander): Move from cl-lib.el.
	* emacs-lisp/syntax.el:
	* emacs-lisp/ewoc.el:
	* emacs-lisp/smie.el:
	* emacs-lisp/cconv.el:
	* emacs-lisp/timer.el: Rename cl-setf -> setf, cl-push -> push.
	(timer--time): Use gv-define-simple-setter.
	* emacs-lisp/macroexp.el (macroexp-let2): Rename from macroexp-let²
	to avoid coding-system problems in subr.el.  Adjust all users.
	(macroexp--maxsize, macroexp-small-p): New functions.
	* emacs-lisp/bytecomp.el (byte-compile-file): Don't use cl-letf.
	* scroll-bar.el (scroll-bar-mode):
	* simple.el (auto-fill-mode, overwrite-mode, binary-overwrite-mode)
	(normal-erase-is-backspace-mode): Don't use the `eq' place.
	* winner.el (winner-configuration, winner-make-point-alist)
	(winner-set-conf, winner-get-point, winner-set): Don't abuse letf.
	* files.el (locate-file-completion-table): Avoid list*.

Chong Yidong's avatar
Chong Yidong committed
37 38 39 40 41 42 43
2012-06-22  Chong Yidong  <cyd@gnu.org>

	* dired-aux.el (dired-do-create-files): Doc fix (Bug#11327).
	(dired-create-files): Doc fix (Bug#11329).
	(dired-do-copy): Doc fix (Bug#11334).
	(dired-mark-read-string): Doc fix (Bug#11553).

44 45
	* dired.el (dired-recursive-copies, dired-recursive-deletes):
	Doc fix (Bug#11326).
Chong Yidong's avatar
Chong Yidong committed
46 47 48 49 50
	(dired-make-relative): Doc fix (Bug#11332).  Remove unused arg.
	(dired-dwim-target): Doc fix.

	* wdired.el (wdired-mode): Doc fix.

51 52
2012-06-22  Glenn Morris  <rgm@gnu.org>

53 54 55 56 57
	* pcmpl-rpm.el (pcmpl-rpm-cache): New option.
	(pcmpl-rpm-cache-stamp-file): New constant.
	(pcmpl-rpm-cache-time, pcmpl-rpm-packages): New variables.
	(pcmpl-rpm-packages): Optionally cache list of packages.

58 59 60 61 62
	* pcmpl-rpm.el (pcmpl-rpm): New group.
	(pcmpl-rpm-query-options): New option.
	(pcmpl-rpm-packages): No need to inline it.
	Use pcmpl-rpm-query-options.

63 64 65
	* calendar/calendar.el (calendar-in-read-only-buffer):
	Avoid some needless mode changes.

Chong Yidong's avatar
Chong Yidong committed
66 67 68 69
2012-06-21  Chong Yidong  <cyd@gnu.org>

	* desktop.el (desktop-read): Don't prompt if daemon (Bug#11674).
	(desktop-path): Remove . from the default value (Bug#10977).
70
	(desktop-read): Use user-emacs-directory if desktop-path is nil.
Chong Yidong's avatar
Chong Yidong committed
71

72 73 74 75
2012-06-20  Chong Yidong  <cyd@gnu.org>

	* term.el (term-send-raw-meta): Make C-M-<char> keys work (Bug#8172).

76 77 78 79 80
2012-06-20  David Röthlisberger  <david@rothlis.net>  (tiny change)

	* ido.el (ido-switch-buffer, ido-find-file): Fix up doc of C-j
	(bug#11201).

81 82 83 84 85
2012-06-20  Chong Yidong  <cyd@gnu.org>

	* term.el (term-window-width): Handle the case of a missing right
	fringe (Bug#8837).
	(term-check-size): Use window-text-height (Bug#5445).
86 87
	(term-mode): Use define-derived-mode.  Minor cleanups.
	Set font-lock-defaults (Bug#7692).
88 89
	(term-move-columns, term-insert-char, term-emulate-terminal)
	(term-erase-in-line, term-insert-spaces): Use font-lock-face.
90

91 92
2012-06-20  Michael Albinus  <michael.albinus@gmx.de>

93 94
	* net/ange-ftp.el (ange-ftp-get-passwd):
	Bind `enable-recursive-minibuffers'.
95 96
	(ange-ftp-get-process): Throw if `non-essential' is non-nil.

97 98 99 100
2012-06-19  David Röthlisberger  <david@rothlis.net>  (tiny change)

	* ido.el (ido-find-file): Mention C-d binding in docstring (bug#11244).

101 102 103 104
2012-06-19  Glenn Morris  <rgm@gnu.org>

	* progmodes/python.el (python-mode): Derive from prog-mode.

105 106 107 108 109 110
2012-06-19  Kevin Gallagher  <Kevin.Gallagher@boeing.com>

	* emulation/edt.el (edt-default-menu-bar-update-buffers)
	(edt-user-menu-bar-update-buffers): New functions.
	(edt-default-emulation-setup, edt-user-emulation-setup): Use them.

111 112 113 114 115 116 117
2012-06-19  Chong Yidong  <cyd@gnu.org>

	* subr.el (with-selected-window): Preserve the selected window's
	terminal's top-frame (Bug#4702).

	* window.el (save-selected-window): Likewise.

118 119 120 121 122 123
2012-06-18  Stefan Monnier  <monnier@iro.umontreal.ca>

	* progmodes/python.el (python-rx-constituents): Move backquote.
	(python-skeleton-define, python-define-auxiliary-skeleton):
	Use `declare'.

124 125 126 127 128
2012-06-18  Michael Albinus  <michael.albinus@gmx.de>

	* minibuffer.el (read-file-name-default): Revert the patch from
	2012-06-17.

129 130 131 132 133
2012-06-18  Stefan Monnier  <monnier@iro.umontreal.ca>

	* emacs-lisp/pcase.el (pcase--expand): Warn for unused pattern.
	(pcase--u1, pcase--q1): Don't use apply-partially.

134 135 136 137 138
2012-06-18  Glenn Morris  <rgm@gnu.org>

	* progmodes/python.el (python-proc, python-buffer)
	(python-send-receive, python-send-string): Fix obsolete versions.

139 140 141 142 143
2012-06-18  Martin Rudalics  <rudalics@gmx.at>

	* window.el (special-display-p): Completely remove stringp
	check.  Suggested by Andreas Schwab <schwab@linux-m68k.org>.

144 145 146 147 148 149 150 151 152 153
2012-06-17  Michael Albinus  <michael.albinus@gmx.de>

	* minibuffer.el (read-file-name-default): Bind `non-essential' to `t'.

	* net/tramp.el (tramp-file-name-handler): Catch 'non-essential.

	* net/ange-ftp.el (ange-ftp-gwp-start, ange-ftp-start-process):
	* net/tramp-sh.el (tramp-maybe-open-connection):
	Throw if `non-essential' is non-nil.

154 155 156 157 158
2012-06-17  Martin Rudalics  <rudalics@gmx.at>

	* window.el (special-display-p): Signal an error if BUFFER-NAME
	is not a string (Bug#11713).

Paul Eggert's avatar
Paul Eggert committed
159 160 161 162 163
2012-06-17  Paul Eggert  <eggert@cs.ucla.edu>

	* progmodes/python.el (python-info-beginning-of-backslash):
	Rename from python-info-beginning-of-backlash, as a spelling fix.

164 165 166 167 168
2012-06-17  Chong Yidong  <cyd@gnu.org>

	* term.el (term-emulate-terminal): If term-check-size is called,
	move point to the process mark without resetting point (Bug#4635).

Glenn Morris's avatar
Glenn Morris committed
169
2012-06-17  Glenn Morris  <rgm@gnu.org>
Glenn Morris's avatar
Glenn Morris committed
170 171 172 173

	* international/mule-cmds.el (mule-menu-keymap)
	(set-language-environment, set-locale-environment): Doc tweaks.

174 175 176 177 178 179 180
2012-06-16  Aurelien Aptel  <aurelien.aptel@gmail.com>

	* cus-face.el (custom-face-attributes): Add wave-style underline
	attribute.
	* faces.el (set-face-attribute): Update docstring to describe
	wave-style underline attribute.

181 182 183 184 185
2012-06-16  Chong Yidong  <cyd@gnu.org>

	* term/xterm.el (terminal-init-xterm): Discard input before
	querying background mode (Bug#10959).

186 187 188 189 190
2012-06-16  Stefan Merten  <smerten@oekonux.de>

	* textmodes/rst.el: Added and corrected some comments.
	(rst-re-alist-def): Improve symbol syntax.
	(rst-mode-syntax-table): Correct syntax entries.
191 192 193
	(rst-cvs-header, rst-svn-rev, rst-svn-timestamp)
	(rst-official-version, rst-official-cvs-rev): Update version
	information.
194

195 196 197 198 199
2012-06-15  Juanma Barranquero  <lekktu@gmail.com>

	* makefile.w32-in (COMPILE_FIRST): Synch with makefile.in changes
	in 2008-06-22T13:57:28Z!monnier@iro.umontreal.ca.

Glenn Morris's avatar
Glenn Morris committed
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 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 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 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 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 385 386 387 388 389 390
2012-06-15  Fabián Ezequiel Gallina  <fgallina@cuca>

	* progmodes/python.el: New python.el merge.
	(python-guess-indent): Obsolete var.
	(python-indent-guess-indent-offset): New defcustom.
	(python-indent): Obsolete var.
	(python-indent-offset): New defcustom.
	(python-python-command, python-jython-command): Delete var.
	(python-shell-interpreter): New defcustom.
	(python-pdbtrack-do-tracking-p): Delete var.
	(python-pdbtrack-activate): New defcustom.
	(python-use-skeletons): Obsolete var.
	(python-skeleton-autoinsert): New defcustom.
	(inferior-python-filter-regexp, python-continuation-offset)
	(python-honour-comment-indentation, python-indent-string-contents)
	(python-jython-packages, python-mode-hook)
	(python-pdbtrack-minor-mode-string, python-remove-cwd-from-path)
	(python-shell-prompt-alist)
	(python-source-modes): Delete defcustoms.
	(python-check-buffer-name, python-eldoc-setup-code)
	(python-eldoc-string-code, python-ffap-setup-code)
	(python-ffap-string-code, python-fill-comment-function)
	(python-fill-decorator-function, python-fill-paren-function)
	(python-fill-string-function, python-imenu-include-defun-type)
	(python-imenu-make-tree, python-imenu-subtree-root-label)
	(python-pdbtrack-stacktrace-info-regexp, python-shell-buffer-name)
	(python-shell-compilation-regexp-alist)
	(python-shell-completion-module-string-code)
	(python-shell-completion-pdb-string-code)
	(python-shell-completion-setup-code)
	(python-shell-completion-string-code)
	(python-shell-enable-font-lock, python-shell-exec-path)
	(python-shell-extra-pythonpaths)
	(python-shell-internal-buffer-name, python-shell-interpreter-args)
	(python-shell-process-environment)
	(python-shell-prompt-block-regexp)
	(python-shell-prompt-output-regexp)
	(python-shell-prompt-pdb-regexp, python-shell-prompt-regexp)
	(python-shell-send-setup-max-wait, python-shell-setup-codes)
	(python-shell-virtualenv-path): New defcustoms.
	(brm-menu, eldoc-documentation-function, inferior-python-mode-map)
	(inferior-python-mode-syntax-table, python--prompt-regexp)
	(python-buffer, python-command python-python-command)
	(python-default-template, python-imports, python-indent-index)
	(python-indent-list, python-indent-list-length)
	(python-mode-running, python-pdbtrack-is-tracking-p)
	(python-preoutput-continuation, python-preoutput-leftover)
	(python-preoutput-result, python-preoutput-skip-next-prompt)
	(python-prev-dir/file, python-recursing)
	(python-saved-check-command, python-version-checked)
	(python-which-func-length-limit)
	(view-return-to-alist): Delete vars.
	(python-check-custom-command, python-dotty-syntax-table)
	(python-imenu-index-alist, python-indent-current-level)
	(python-indent-dedenters, python-indent-levels)
	(python-nav-beginning-of-defun-regexp)
	(python-nav-list-defun-positions-cache)
	(python-pdbtrack-buffers-to-kill, python-pdbtrack-tracked-buffer)
	(python-shell-internal-buffer)
	(python-skeleton-available): New vars.
	(def-python-skeleton): Delete macro.
	(python-skeleton-define): New macro.
	(python-define-auxiliary-skeleton, python-rx): New macros.
	(python-insert-class): Delete command.
	(python-skeleton-class): New command.
	(python-insert-def): Delete command.
	(python-skeleton-def): New command.
	(python-insert-for): Delete command.
	(python-skeleton-for): New command.
	(python-insert-if): Delete command.
	(python-skeleton-if): New command.
	(python-insert-try/except, python-insert-try/finally): Delete commands.
	(python-skeleton-try): New command.
	(python-insert-while): Delete command.
	(python-skeleton-while): New command.
	(python-backspace): Delete command.
	(python-indent-dedent-line-backspace): New command.
	(python-electric-colon): Delete command.
	(python-indent-electric-colon): New command.
	(python-guess-indent): Delete command.
	(python-indent-guess-indent-offset): New command.
	(python-shift-left): Delete command.
	(python-indent-shift-left): New command.
	(python-shift-right): Delete command.
	(python-indent-shift-right): New command.
	(python-find-function): Delete command.
	(python-nav-jump-to-defun): New command.
	(python-next-statement): Delete command.
	(python-nav-forward-sentence): New command.
	(python-previous-statement): Delete command.
	(python-nav-backward-sentence): New command.
	(python-fill-paragraph): Delete command.
	(python-fill-paragraph-function): New command.
	(python-send-buffer): Delete command.
	(python-shell-send-buffer): New command.
	(python-send-defun): Delete command.
	(python-shell-send-defun): New command.
	(python-send-region, python-send-region-and-go): Delete commands.
	(python-shell-send-region)
	(python-shell-switch-to-shell): New commands.
	(python-send-string): Delete command.
	(python-shell-send-string): New command.
	(python-switch-to-python): Delete command.
	(python-shell-switch-to-shell): New command.
	(python-describe-symbol): Delete command.
	(python-eldoc-at-point): New command.
	(python--set-prompt-regexp, python-args-to-list)
	(python-after-info-look, python-check-version)
	(python-check-comint-prompt, python-find-imports)
	(python-execute-file, turn-off-pdbtrack, turn-on-pdbtrack)
	(python-unload-function, python-expand-template)
	(python-maybe-jython, python-preoutput-filter)
	(python-pdbtrack-get-source-buffer)
	(python-pdbtrack-grub-for-buffer, python-pdbtrack-overlay-arrow)
	(python-pdbtrack-toggle-stack-tracking)
	(python-pdbtrack-track-stack-file, python-initial-text)
	(python-first-word, python-comment-line-p, python-send-command)
	(python-setup-brm, python-sentinel, python-set-proc)
	(python-skip-out, python-input-filter, python-outdent-p)
	(python-outline-level, python-backslash-continuation-line-p)
	(python-end-of-block, python-end-of-statement, python-mark-block)
	(python-beginning-of-block, python-beginning-of-statement)
	(python-blank-line-p, python-beginning-of-string)
	(python-open-block-statement-p): Delete functions.
	(python-indent-line, python-indent-line-1): Delete functions.
	(python-indent-line): New function.
	(python-indentation-levels): Delete function.
	(python-indent-calculate-levels): New function.
	(python-proc): Delete function.
	(python-shell-get-process): New function.
	(python-send-receive): Delete function.
	(python-shell-send-string-no-output): New function.
	(python-module-path): Delete function.
	(python-ffap-module-path): New function.
	(python-completion-at-point)
	(python-symbol-completions): Delete functions.
	(python-completion-complete-at-point): New function.
	(python-load-file): Delete function.
	(python-shell-send-file): New function.
	(python-calculate-indentation): Delete function.
	(python-indent-calculate-indentation): New function.
	(python-skip-comments/blanks): Delete function.
	(python-util-forward-comment): New function.
	(python-continuation-line-p): Delete function.
	(python-info-continuation-line-p): New function.
	(python-which-func, python-current-defun): Delete function.
	(python-info-current-defun): New function.
	(python-beginning-of-defun): Delete function.
	(python-nav-beginning-of-defun): New function.
	(python-close-block-statement-p)
	(python-block-end-p): Delete function.
	(python-info-closing-block): New function.
	(python-comint-output-filter-function)
	(python-eldoc--get-doc-at-point, python-end-of-defun-function)
	(python-fill-comment, python-fill-decorator, python-fill-paren)
	(python-fill-string, python-imenu-make-element-tree)
	(python-imenu-make-tree, python-imenu-tree-assoc)
	(python-indent-context, python-indent-dedent-line)
	(python-indent-line-function)
	(python-indent-post-self-insert-function)
	(python-indent-toggle-levels)
	(python-info-assignment-continuation-line-p)
	(python-info-beginning-of-backlash)
	(python-info-block-continuation-line-p)
	(python-info-closing-block-message)
	(python-info-line-ends-backslash-p)
	(python-info-looking-at-beginning-of-defun)
	(python-info-ppss-context, python-info-ppss-context-type)
	(python-nav-list-defun-positions, python-nav-read-defun)
	(python-nav-sentence-end, python-nav-sentence-start)
	(python-pdbtrack-comint-output-filter-function)
	(python-pdbtrack-set-tracked-buffer)
	(python-shell-calculate-exec-path)
	(python-shell-calculate-process-environment)
	(python-shell-completion--do-completion-at-point)
	(python-shell-completion--get-completions)
	(python-shell-completion-complete-at-point)
	(python-shell-completion-complete-or-indent)
	(python-shell-get-or-create-process)
	(python-shell-get-process-name)
	(python-shell-internal-get-or-create-process)
	(python-shell-internal-get-process-name)
	(python-shell-internal-send-string, python-shell-make-comint)
	(python-shell-parse-command, python-shell-send-setup-code)
	(python-skeleton-add-menu-items)
	(python-util-clone-local-variables, python-util-position)
	(run-python-internal, python-indentation-levels)
	(python-nav-beginning-of-defun)
	(python-completion-complete-at-point): New functions.
	(run-python): Change arguments.  New API requirements.

391 392
2012-06-15  Stefan Monnier  <monnier@iro.umontreal.ca>

393 394 395 396 397 398
	* emacs-lisp/cl-lib.el (cl--defsubst-expand): Autoload inliner
	(bug#11649).

	* emacs-lisp/macroexp.el (macroexp--compiler-macro): New function.
	(macroexp--expand-all): Use it.

399 400 401 402
	* emacs-lisp/cl-macs.el (cl--transform-function-property): Remove.
	(cl-define-setf-expander, cl-deftype, cl-define-compiler-macro):
	Use `cl-function' instead.

403 404 405 406 407
2012-06-14  Juanma Barranquero  <lekktu@gmail.com>

	* makefile.w32-in (COMPILE_FIRST): Remove subr.el.
	Suggested by Stefan Monnier while discussing bug#11657.

408 409 410 411
2012-06-14  Sam Steingold  <sds@gnu.org>

	* files.el (abort-if-file-too-large): Use `file-size-human-readable'.

Andreas Schwab's avatar
Andreas Schwab committed
412 413 414 415 416 417
2012-06-14  Andreas Schwab  <schwab@linux-m68k.org>

	* play/doctor.el (doctor-doc): Remove parameter and use
	doctor-sent instead of sent.
	(doctor-read-print): Use doctor-sent instead of sent.  (Bug#11708)

418 419
2012-06-13  Stefan Monnier  <monnier@iro.umontreal.ca>

420 421 422 423 424
	* files.el: Require cl-lib.
	(file-name-non-special): Replace case -> cl-case.

	* emacs-lisp/cl-macs.el (cl-defstruct): Don't add print-func.

425 426 427
	* emacs-lisp/edebug.el (edebug-read-function): Remove old incorrect
	mapping from #' to function*.

428 429 430 431 432
2012-06-13  Chong Yidong  <cyd@gnu.org>

	* mouse.el (mouse-drag-track): Do not set the mark if the user
	releases the mouse without selecting anything (Bug#11588).

433 434
2012-06-13  Stefan Monnier  <monnier@iro.umontreal.ca>

435 436 437
	* textmodes/tex-mode.el (latex-indent): Recognize tex-verbatim at EOB
	as well (bug#11646).

438 439
	* loadup.el: Count byte-code functions as well.

440 441 442
	* emacs-lisp/byte-opt.el (featurep): Move compiler-macro...
	* emacs-lisp/bytecomp.el (featurep): ...here (bug#11692).

443 444 445
	* emacs-lisp/autoload.el (make-autoload): Accept nil doc-string-elt
	(bug#11649).  Add cl-defun and cl-defmacro.

446 447 448 449 450
2012-06-13  Drew Adams  <drew.adams@oracle.com>

	* help-mode.el (help-bookmark-make-record, help-bookmark-jump):
	Fix last change.

451 452 453 454 455
2012-06-13  Michael Albinus  <michael.albinus@gmx.de>

	* net/dbus.el (dbus-call-method): Use timeout for `read-event'.
	Otherwise, it blocks in batch mode.

456 457 458 459
2012-06-13  Juanma Barranquero  <lekktu@gmail.com>

	* help-mode.el (bookmark-make-record-default): Declare.

460 461 462 463 464 465 466 467 468 469
2012-06-13  Chong Yidong  <cyd@gnu.org>

	* emacs-lisp/package.el (list-packages): Compute a list of
	packages that are newly-available since the last list-packages
	invocation.
	(package-menu--new-package-list): New var.
	(package-menu--generate, package-menu--print-info)
	(package-menu--status-predicate, package-menu-mark-install):
	Handle new status label "new".

470 471 472 473 474
2012-06-12  Stefan Monnier  <monnier@iro.umontreal.ca>

	* emacs-lisp/cl-macs.el (cl-remf): Fix error in recent
	conversion to backquotes.

475 476 477 478 479 480 481 482 483 484 485 486 487 488 489 490 491 492
2012-06-12  Chong Yidong  <cyd@gnu.org>

	* emacs-lisp/edebug.el (edebug-inhibit-emacs-lisp-mode-bindings):
	Rename from gud-inhibit-global-bindings.

	* emacs-lisp/eieio.el (eieio-pre-method-execution-hooks): Doc fix.

	* nxml/nxml-glyph.el (nxml-glyph-set-functions): Rename abnormal
	hook from nxml-glyph-set-hook.

	* progmodes/cwarn.el (cwarn-mode): Remove redundant variable
	declaration.

	* progmodes/pascal.el (pascal-toggle-completions): Doc fix.

	* textmodes/bibtex.el (bibtex-string-file-path, bibtex-file-path):
	Convert to defcustom.

493 494 495 496 497 498
2012-06-12  Drew Adams  <drew.adams@oracle.com>

	* help-mode.el (help-bookmark-make-record, help-bookmark-jump):
	New functions.
	(help-mode): Use them.

499 500 501 502 503 504
2012-06-11  Glenn Morris  <rgm@gnu.org>

	* progmodes/fortran.el (fortran-font-lock-keywords-3):
	Use preprocessor face for directives.
	(fortran-directive-re): Doc fix.

505 506
2012-06-11  Stefan Monnier  <monnier@iro.umontreal.ca>

507 508 509
	* emacs-lisp/cl-macs.el (cl-parse-loop-clause): Fix error in recent
	conversion to backquotes (bug#11652).

510 511 512 513 514 515 516 517 518 519 520 521 522 523 524
	Fix compiler-expansion of CL's cXXr functions (bug#11673).
	* emacs-lisp/cl-lib.el (cl--defalias): New function.
	(cl-values, cl-values-list, cl-copy-seq, cl-svref, cl-first)
	(cl-second, cl-rest, cl-endp, cl-third, cl-fourth): Use it.
	(cl-plusp, cl-minusp, cl-fifth, cl-sixth, cl-seventh, cl-eighth)
	(cl-ninth, cl-tenth): Mark them as inlinable.
	(cl-caaar, cl-caadr, cl-cadar, cl-caddr, cl-cdaar, cl-cdadr)
	(cl-cddar, cl-cdddr, cl-caaaar, cl-caaadr, cl-caadar, cl-caaddr)
	(cl-cadaar, cl-cadadr, cl-caddar, cl-cadddr, cl-cdaaar, cl-cdaadr)
	(cl-cdadar, cl-cdaddr, cl-cddaar, cl-cddadr, cl-cdddar, cl-cddddr):
	Add a compiler-macro declaration to use cl--compiler-macro-cXXr.
	(cl-list*, cl-adjoin): Don't put an autoload manually.
	* emacs-lisp/cl-macs.el (cl--compiler-macro-adjoin)
	(cl--compiler-macro-list*): Add autoload cookie.
	(cl--compiler-macro-cXXr): New function.
525

526 527 528 529
	* help-fns.el (help-fns--compiler-macro): New function extracted from
	describe-function-1; follow aliases and use `compiler-macro' property.
	(describe-function-1): Use it.

530 531 532 533 534
2012-06-11  Chong Yidong  <cyd@gnu.org>

	* startup.el (fancy-splash-head): Use splash.svg even if librsvg
	is uninstalled, if imagemagick is installed.

535 536 537 538 539 540 541 542 543 544 545 546 547 548 549 550 551 552 553 554
2012-06-11  Stefan Monnier  <monnier@iro.umontreal.ca>

	* emacs-lisp/cl-lib.el: Use lexical-binding.
	(cl-map-extents, cl-maclisp-member): Remove.
	(cl--set-elt, cl--set-nthcdr, cl--set-buffer-substring)
	(cl--set-substring, cl--block-wrapper, cl--block-throw)
	(cl--compiling-file, cl--mapcar-many, cl--do-subst): Use "cl--" prefix.
	* emacs-lisp/cl-extra.el: Use lexical-binding.
	(cl--mapcar-many, cl--map-keymap-recursively, cl--map-intervals)
	(cl--map-overlays, cl--set-frame-visible-p, cl--progv-save)
	(cl--progv-before, cl--progv-after, cl--finite-do, cl--set-getf)
	(cl--do-remf, cl--do-prettyprint): Use "cl--" prefix.
	* emacs-lisp/cl-seq.el: Use lexical-binding.
	(cl--parsing-keywords, cl--check-key, cl--check-test-nokey)
	(cl--check-test, cl--check-match): Use "cl--" prefix and backquotes.
	(cl--alist, cl--sublis-rec, cl--nsublis-rec, cl--tree-equal-rec):
	* emacs-lisp/cl-macs.el (cl--lambda-list-keywords): Use "cl--" prefix.
	* edmacro.el (edmacro-mismatch): Simplify to remove dependence on
	CL's internals.

Michael Albinus's avatar
Michael Albinus committed
555 556 557 558 559 560 561 562 563 564 565 566 567 568 569 570 571 572 573 574 575 576 577 578 579 580 581 582 583 584 585 586
2012-06-11  Michael Albinus  <michael.albinus@gmx.de>

	Sync with Tramp 2.2.6-pre.

	* net/tramp-cache.el (tramp-dump-connection-properties): Let-bind
	`print-length' and `print-level' to nil, in order to avoid
	truncation.  Reported by Christopher Schmidt
	<christopher@ristopher.com>.

	* net/tramp-cmds.el (tramp-cleanup-connection): Delete also process.

	* net/tramp-compat.el (tramp-compat-condition-case-unless-debug):
	New defmacro.
	(tramp-compat-copy-directory): Add optional argument
	COPY-CONTENTS.  It is not handled yet.

	* net/tramp-ftp.el (tramp-disable-ange-ftp): Fix docstring.
	(tramp-ftp-file-name-p): Simplify.

	* net/tramp-gvfs.el (tramp-gvfs-handle-expand-file-name):
	* net/tramp-gw.el (tramp-gw-open-connection): Add hop to
	connection vector.

	* net/tramp-sh.el (tramp-copy-size-limit): Fix docstring.
	(tramp-methods): Do not use `tramp-password-end-of-line'.
	(tramp-completion-function-alist-putty): Handle UNIX case.
	(tramp-remote-path): Add "/opt/bin", "/opt/sbin" and "/opt/local/bin".
	(tramp-do-file-attributes-with-stat)
	(tramp-do-directory-files-and-attributes-with-stat) Return uid and
	gid as real numbers.  They could run out of integer range on cygwin.
	(tramp-do-copy-or-rename-file-out-of-band): Better trace format.
	(tramp-sh-handle-expand-file-name): Handle hops.
587 588 589 590 591 592 593
	(tramp-open-connection-setup-interactive-shell):
	Use `tramp-cleanup'.  Move check for busyboxes ...
	(tramp-find-shell): ... here.  Simplify implementation.
	Set "remote-shell" property also for alternative shells.
	(tramp-remote-coding-commands): Check "test -c /dev/stdout".
	If failing, a regular file would be written otherwise.
	Reported by Dmitry Kurochkin <dmitry.kurochkin@gmail.com>.
Michael Albinus's avatar
Michael Albinus committed
594 595 596 597 598 599 600
	(tramp-find-inline-encoding): Cache the coding commands in the
	process cache.  Apply test command on the remote side, if defined.
	(tramp-find-inline-compress): Cache the compress commands in the
	process cache.
	(tramp-compute-multi-hops): Save `tramp-default-proxies-alist'
	when requested.  Handle hops.
	(tramp-current-connection): New defvar.
601 602
	(tramp-maybe-open-connection): Use `tramp-cleanup'.
	Throw `suppress', if there was a failed connection shortly before.
Michael Albinus's avatar
Michael Albinus committed
603
	Handle user interrupt.  (Bug#10187)
604 605
	(tramp-get-inline-compress, tramp-get-inline-coding):
	Read connection properties from the process cache.
Michael Albinus's avatar
Michael Albinus committed
606 607

	* net/tramp-smb.el (tramp-smb-server-version)
608 609
	(tramp-smb-wrong-passwd-regexp, tramp-smb-actions-with-tar):
	New defconsts.
Michael Albinus's avatar
Michael Albinus committed
610 611 612 613 614 615 616 617 618 619 620 621 622
	(tramp-smb-prompt): Extend for powershell prompt.
	(tramp-smb-file-name-handler-alist): Add handlers for
	`process-file', `shell-command' and `start-file-process'.
	(tramp-smb-winexe-program, tramp-smb-winexe-shell-command)
	(tramp-smb-winexe-shell-command-switch): New defcustoms.
	(tramp-smb-file-name-p): Simplify.
	(tramp-smb-action-with-tar, tramp-smb-handle-process-file)
	(tramp-smb-kill-winexe-function, tramp-smb-call-winexe)
	(tramp-smb-shell-quote-argument): New defuns.
	(tramp-smb-handle-copy-directory): Add COPY-CONTENTS argument.
	Implement using "tar".  By this, time-stamps are preserved.
	(tramp-smb-handle-copy-file): Handle also the case of directories.
	(tramp-smb-do-file-attributes-with-stat)
623 624
	(tramp-smb-get-file-entries, tramp-smb-get-cifs-capabilities):
	Use `tramp-get-connection-buffer').
Michael Albinus's avatar
Michael Albinus committed
625 626
	(tramp-smb-handle-rename-file): Use "rename", when source and
	target are on the same share.
627 628
	(tramp-smb-maybe-open-connection): Handle wrong passwords.
	Use `tramp-smb-server-version'.
Michael Albinus's avatar
Michael Albinus committed
629 630 631
	(tramp-smb-wait-for-output): Remove prompt.

	* net/tramp.el (top): Require 'cl.
632 633
	(tramp-methods, tramp-rsh-end-of-line):
	Remove `tramp-password-end-of-line' from docstring.
Michael Albinus's avatar
Michael Albinus committed
634 635 636 637 638 639 640 641 642 643 644 645 646 647 648 649 650 651 652
	(tramp-save-ad-hoc-proxies): New defcustom.
	(tramp-completion-function-alist): Adapt docstring.
	(tramp-default-password-end-of-line): Remove defcustom.
	(tramp-shell-prompt-pattern): Allow "[]" style prompts.  (Bug#11065)
	(tramp-user-regexp, tramp-file-name-regexp-unified)
	(tramp-file-name-regexp-url): Extend regexp by hop separator.
	(tramp-postfix-hop-format, tramp-postfix-hop-regexp)
	(tramp-remote-file-name-spec-regexp): New defconst.
	(tramp-file-name-structure): Extend structure for hops.
	(tramp-get-method-parameter): Move up.
	(tramp-file-name-p, tramp-dissect-file-name)
	(with-parsed-tramp-file-name): Handle hops.
	(tramp-file-name-hop): New defun.
	(tramp-make-tramp-file-name): New optional arg HOP.
	(tramp-message-show-progress-reporter-message): New defvar.
	(tramp-with-progress-reporter): Use it.  We cannot use
	`tramp-message-show-message' here, because this suppresses also
	error buffers.
	(tramp-error-with-buffer): Suppress buffer view, if
653 654
	`tramp-message-show-message' is nil.
	Use `tramp-get-connection-buffer'.
Michael Albinus's avatar
Michael Albinus committed
655 656 657 658 659 660 661 662 663 664 665 666 667 668 669 670 671
	(tramp-cleanup): New defun.
	(tramp-rfn-eshadow-update-overlay): Let-bind `non-essential' to `t'.
	(tramp-file-name-handler): If `debug-on-error' is set, propagate
	an error unchanged.
	(tramp-completion-handle-file-name-all-completions): Handle hops.
	Fix an error when called from ido.
	(tramp-completion-dissect-file-name): Use better local variable
	name.  Add hop to the vector.
	(tramp-handle-insert-file-contents): Use progress-reporter for the
	whole scenario.
	(tramp-action-password): Let-bind `enable-recursive-minibuffers'
	to `t'.
	(tramp-check-for-regexp): Simplify search.
	(tramp-enter-password): Remove it.  Move implementation ...
	(tramp-action-password): ... here.
	(tramp-mode-string-to-int, tramp-local-host-p)
	(tramp-make-tramp-temp-file, tramp-read-passwd)
672 673
	(tramp-clear-passwd, tramp-time-less-p, tramp-time-diff):
	Set tramp-autoload cookie.
Michael Albinus's avatar
Michael Albinus committed
674 675 676 677 678 679 680 681 682 683 684 685 686 687 688 689 690 691 692 693

	* net/trampver.el: Update release number.

2012-06-11  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
	    Michael Albinus  <michael.albinus@gmx.de>

	* net/tramp.el (tramp-set-completion-function): Fix docstring.
	(tramp-parse-group, tramp-parse-file)
	(tramp-parse-shostkeys-sknownhosts): New defuns.
	(tramp-parse-rhosts, tramp-parse-rhosts-group, tramp-parse-shosts)
	(tramp-parse-shosts-group, tramp-parse-sconfig)
	(tramp-parse-sconfig-group, tramp-parse-shostkeys)
	(tramp-parse-sknownhosts, tramp-parse-hosts)
	(tramp-parse-hosts-group, tramp-parse-passwd, tramp-parse-netrc):
	Use them.
	(tramp-parse-passwd-group, tramp-parse-netrc-group)
	(tramp-parse-putty-group): Don't narrow.
	(tramp-parse-putty): Make a loop.
	(tramp-file-name-handler): Catch the `suppress' signal.

694 695 696 697 698
2012-06-11  Chong Yidong  <cyd@gnu.org>

	* image.el (imagemagick-register-types): Put the ImageMagick entry
	at the end of image-type-file-name-regexps.

699 700 701 702 703
2012-06-11  Johan Bockgård  <bojohan@gnu.org>

	* emacs-lisp/pcase.el (pcase-UPAT, pcase-QPAT): New edebug specs.
	(pcase, pcase-let*, pcase-dolist): Use them.

704 705 706 707 708 709
2012-06-11  Stefan Monnier  <monnier@iro.umontreal.ca>

	* emacs-lisp/pcase.el (pcase--let*): New function.
	(pcase-let*): Use it.  Use pcase--memoize to avoid repeated expansions.
	(pcase--expand): Use macroexp-let².

710 711 712 713 714 715 716 717 718
2012-06-10  Stefan Monnier  <monnier@iro.umontreal.ca>

	* emacs-lisp/timer.el, emacs-lisp/syntax.el, emacs-lisp/smie.el:
	* emacs-lisp/ewoc.el, emacs-lisp/cconv.el, emacs-lisp/bytecomp.el:
	* emacs-lisp/byte-opt.el, emacs-lisp/autoload.el: Convert to cl-lib.
	* emacs-lisp/easymenu.el, emacs-lisp/easy-mmode.el:
	* emacs-lisp/derived.el: Use pcase instead of `cl'.
	* emacs-lisp/cl-lib.el: Get rid of special cl-macs auto load.

719
2012-06-10  Glenn Morris  <rgm@gnu.org>
Chong Yidong's avatar
Chong Yidong committed
720

721 722
	* mail/rmail.el (rmail-yank-current-message): Leave point at
	correct position.  (Bug#11660)
Chong Yidong's avatar
Chong Yidong committed
723

724
2012-06-10  Chong Yidong  <cyd@gnu.org>
725

726
	* allout-widgets.el: Fix code header.
727

728
2012-06-10  Chong Yidong  <cyd@gnu.org>
729

730 731
	* cus-edit.el (customize-changed-options-previous-release):
	Bump to 24.1.
732

733 734 735 736
2012-06-09  Andreas Schwab  <schwab@linux-m68k.org>

	* Makefile.in (BIG_STACK_DEPTH): Enlarge to 2200.

737 738 739 740
2012-06-09  Chong Yidong  <cyd@gnu.org>

	* ebuff-menu.el (electric-buffer-list): Preserve header line.

741 742 743 744 745
2012-06-09  Martin Rudalics  <rudalics@gmx.at>

	* window.el (special-display-popup-frame): Don't use
	window--display-buffer (Bug#11651).

746 747
2012-06-09  Eli Zaretskii  <eliz@gnu.org>

748 749 750 751 752 753
	Fix parallel builds: make sure loaddefs.el is not being written
	while Lisp files are compiled.
	(compile): Don't depend on 'mh-autoloads'.
	(compile-CMD, compile-SH): Depend on 'autoloads'.
	(bootstrap): Don't depend on 'autoloads' and 'mh-autoloads'.

754 755
	* makefile.w32-in (BIG_STACK_DEPTH): Enlarge to 2200.  (Bug#11649)

756 757 758 759 760 761
2012-06-09  Chong Yidong  <cyd@gnu.org>

	* face-remap.el (face-remap-add-relative, face-remap-set-base)
	(buffer-face-set, buffer-face-toggle, buffer-face-mode-invoke):
	Doc fixes (Bug#11225).

762 763 764 765 766 767 768 769 770 771 772 773 774 775 776 777 778 779
2012-06-09  Stefan Monnier  <monnier@iro.umontreal.ca>

	* emacs-lisp/macroexp.el (macroexp--expand-all): Only autoload
	a function if there's a clear indication that it has a compiler-macro.
	* emacs-lisp/byte-run.el (defun-declarations-alist, defmacro, defun)
	(macro-declarations-alist): Add arglist to declaration functions.
	(defun-declarations-alist): Add `obsolete' and `compiler-macro'.
	* emacs-lisp/cl-seq.el (cl-member, cl-assoc):
	* emacs-lisp/cl-lib.el (cl-list*, cl-adjoin):
	* emacs-lisp/cl-extra.el (cl-get): Use the new `declare' statement.
	Also add autoload to find the compiler macro.
	* emacs-lisp/cl-macs.el (eql) [compiler-macro]: Remove.
	(cl--compiler-macro-member, cl--compiler-macro-assoc)
	(cl--compiler-macro-adjoin, cl--compiler-macro-list*)
	(cl--compiler-macro-get): New functions, replacing calls to
	cl-define-compiler-macro.
	(cl-typep) [compiler-macro]: Use macroexp-let².

Glenn Morris's avatar
Glenn Morris committed
780
2012-06-08  Nick Dokos  <nicholas.dokos@hp.com>  (tiny change)
781 782 783 784

	* calendar/icalendar.el (icalendar--parse-vtimezone): Import TZID
	string properly, fixes Bug#11473.

785 786 787 788 789 790 791 792 793 794 795 796 797 798 799 800 801 802 803 804 805 806 807 808 809 810 811 812 813 814 815 816 817 818 819 820 821 822 823 824 825 826 827 828 829 830 831 832 833 834 835 836 837 838 839 840 841 842 843 844 845 846 847 848 849 850 851 852 853 854 855 856 857 858 859 860 861 862
2012-06-08  Chong Yidong  <cyd@gnu.org>

	* faces.el (set-face-attribute): Doc fix.
	(modify-face): Don't use :bold and :italic.
	(error, warning, success): Tweak definitions.

	* cus-edit.el (custom-modified, custom-invalid, custom-rogue)
	(custom-modified, custom-set, custom-changed, custom-themed)
	(custom-saved, custom-button, custom-button-mouse)
	(custom-button-pressed, custom-state, custom-comment-tag)
	(custom-variable-tag, custom-group-tag-1, custom-group-tag)
	(custom-group-subtitle): Use new-style face specs.
	(custom-invalid-face, custom-rogue-face, custom-modified-face)
	(custom-set-face, custom-changed-face, custom-saved-face)
	(custom-button-face, custom-button-pressed-face)
	(custom-documentation-face, custom-state-face)
	(custom-comment-face, custom-comment-tag-face)
	(custom-variable-tag-face, custom-variable-button-face)
	(custom-face-tag-face, custom-group-tag-face-1)
	(custom-group-tag-face): Remove obsolete face alias.

	* epa.el (epa-validity-high, epa-validity-medium)
	(epa-validity-low, epa-mark, epa-field-name, epa-string)
	(epa-field-name, epa-field-body):
	* font-lock.el (font-lock-comment-face, font-lock-string-face)
	(font-lock-keyword-face, font-lock-builtin-face)
	(font-lock-function-name-face, font-lock-variable-name-face)
	(font-lock-type-face, font-lock-constant-face):
	* ido.el (ido-first-match, ido-only-match, ido-subdir)
	(ido-virtual, ido-indicator, ido-incomplete-regexp):
	* speedbar.el (speedbar-button-face, speedbar-file-face)
	(speedbar-directory-face, speedbar-tag-face)
	(speedbar-selected-face, speedbar-highlight-face)
	(speedbar-separator-face):
	* whitespace.el (whitespace-newline, whitespace-space)
	(whitespace-hspace, whitespace-tab, whitespace-trailing)
	(whitespace-line, whitespace-space-before-tab)
	(whitespace-space-after-tab, whitespace-indentation)
	(whitespace-empty):
	* emulation/cua-base.el (cua-global-mark):
	* eshell/em-prompt.el (eshell-prompt):
	* net/newst-plainview.el (newsticker-new-item-face)
	(newsticker-old-item-face, newsticker-immortal-item-face)
	(newsticker-obsolete-item-face, newsticker-date-face)
	(newsticker-statistics-face, newsticker-default-face):
	* net/newst-reader.el (newsticker-feed-face)
	(newsticker-extra-face, newsticker-enclosure-face):
	* net/newst-treeview.el (newsticker-treeview-face)
	(newsticker-treeview-new-face, newsticker-treeview-old-face)
	(newsticker-treeview-immortal-face)
	(newsticker-treeview-obsolete-face)
	(newsticker-treeview-selection-face):
	* net/rcirc.el (rcirc-my-nick, rcirc-other-nick)
	(rcirc-bright-nick, rcirc-server, rcirc-timestamp)
	(rcirc-nick-in-message, rcirc-nick-in-message-full-line)
	(rcirc-prompt, rcirc-track-keyword, rcirc-url, rcirc-keyword):
	* nxml/nxml-outln.el (nxml-heading, nxml-outline-indicator)
	(nxml-outline-active-indicator, nxml-outline-ellipsis):
	* play/mpuz.el (mpuz-unsolved, mpuz-solved, mpuz-trivial)
	(mpuz-text):
	* progmodes/vera-mode.el (vera-font-lock-number)
	(vera-font-lock-function, vera-font-lock-interface):
	* textmodes/table.el (table-cell): Use new-style face specs, and
	don't use the old :bold and :italic attributes.

	* progmodes/ebrowse.el (ebrowse-tree-mark, ebrowse-root-class)
	(ebrowse-member-attribute, ebrowse-default, ebrowse-file-name)
	(ebrowse-member-class, ebrowse-progress): Likewise.
	(ebrowse-tree-mark-face, ebrowse-root-class-face)
	(ebrowse-file-name-face, ebrowse-default-face)
	(ebrowse-member-attribute-face, ebrowse-member-class-face)
	(ebrowse-progress-face): Remove obsolete faces.

	* progmodes/flymake.el (flymake-errline, flymake-warnline):
	Inherit from error and warning faces respectively.

	* textmodes/flyspell.el (flyspell-incorrect, flyspell-duplicate):
	Likewise.
863 864
	(flyspell-incorrect-face, flyspell-duplicate-face):
	Remove obsolete aliases.
865

866 867 868 869 870
2012-06-08  Michael Albinus  <michael.albinus@gmx.de>

	* net/tramp-compat.el (tramp-compat-temporary-file-directory):
	Avoid infloop.

871 872 873 874 875 876 877 878 879
2012-06-08  Stefan Monnier  <monnier@iro.umontreal.ca>

	* startup.el (argv, argi): Make lexically scoped.
	* emacs-lisp/float-sup.el (pi): Use internal-make-var-non-special.
	* emacs-lisp/cl-macs.el: Use lexical-binding.
	Rename cl-bind-* to cl--bind-*.
	* files.el: Don't require `cl' since it doesn't use it.
	* emacs-lisp/pcase.el, emacs-lisp/macroexp.el: Add coding cookie.

880 881 882 883 884 885 886
2012-06-08  Juanma Barranquero  <lekktu@gmail.com>

	* textmodes/texinfmt.el: Fix bug#11640 (reverts part of 2008-07-31T05:33:56Z!dann@ics.uci.edu).
	(texinfo-format-printindex): Use `texinfo-sort-region' in all platforms,
	instead of calling external sort utility.
	(texinfo-sort-region, texinfo-sort-startkeyfun): Restore functions.

887 888 889 890 891 892 893
2012-06-08  Eli Zaretskii  <eliz@gnu.org>

	* descr-text.el (describe-char): Mention how to insert the
	character, if the current input method doesn't support it.
	See the discussion in this thread for the details:
	http://lists.gnu.org/archive/html/emacs-devel/2012-05/msg00533.html.

894 895 896 897 898 899 900 901 902 903 904 905
2012-06-08  Sam Steingold  <sds@gnu.org>

	* bindings.el (global-map): Bind XF86Forward to next-buffer and
	XF86Back to previous-buffer.
	(minibuffer-local-map): Bind them to next-history-element and
	previous-history-element respectively.
	* help-mode.el (help-mode-map): Bind them to help-go-forward and
	help-go-back respectively.
	* info.el (Info-mode-map): Bind them to Info-history-forward and
	Info-history-back respectively.
	These are the keys next to Up on the ThinkPad keyboard.

906 907 908 909 910 911 912 913 914 915 916 917 918 919 920
2012-06-08  Stefan Monnier  <monnier@iro.umontreal.ca>

	Get rid of cl-lexical-let, keeping only lexical-let for compatibility.
	* emacs-lisp/cl-macs.el: Provide itself.
	(cl--labels-convert-cache): New var.
	(cl--labels-convert): New function.
	(cl-flet, cl-labels): New implementation with new semantics, relying on
	lexical-binding.
	* emacs-lisp/cl.el: Mark compatibility aliases as obsolete.
	(cl-closure-vars, cl--function-convert-cache)
	(cl--function-convert): Move from cl-macs.el.
	(lexical-let, lexical-let*, flet, labels): Move from cl-macs.el and
	rename by removing the "cl-" prefix.
	* emacs-lisp/macroexp.el (macroexp-unprogn): New function.

921 922 923 924 925 926 927 928 929 930 931 932 933 934 935 936 937 938 939 940 941 942 943 944 945 946 947 948 949 950 951 952
2012-06-07  Stefan Monnier  <monnier@iro.umontreal.ca>

	* emacs-lisp/cl.el (cl-macroexpand, cl-macro-environment)
	(cl-macroexpand-all, cl-not-hash-table, cl-builtin-gethash)
	(cl-builtin-remhash, cl-builtin-clrhash, cl-builtin-maphash)
	(cl-map-keymap, cl-copy-tree, cl-gethash, cl-puthash, cl-remhash)
	(cl-clrhash, cl-maphash, cl-make-hash-table, cl-hash-table-p)
	(cl-hash-table-count): Add old compatibility aliases.

	* emacs-lisp/cl-macs.el (cl-macro-environment): Remove var.
	Use macroexpand-all-environment instead.
	(cl--old-macroexpand): New var.
	(cl--sm-macroexpand): New function.
	(cl-symbol-macrolet): Use it during macro expansion.
	(cl--function-convert-cache): New var.
	(cl--function-convert): New function, extracted from
	cl-macroexpand-all.
	(cl-lexical-let): Use it.

	* emacs-lisp/cl-lib.el (cl-macro-environment): Remove decl.
	(cl-macroexpand): Move to cl-macs.el and rename to cl--sm-macroexpand.
	(cl-member): Remove old alias.

	* emacs-lisp/cl-extra.el (cl-map-keymap, cl-copy-tree)
	(cl-not-hash-table, cl-builtin-gethash, cl-builtin-remhash)
	(cl-builtin-clrhash, cl-builtin-maphash, cl-gethash, cl-puthash)
	(cl-remhash, cl-clrhash, cl-maphash, cl-make-hash-table)
	(cl-hash-table-p, cl-hash-table-count): Move to cl.el.
	(cl-macroexpand-cmacs): Remove var.
	(cl-macroexpand-all, cl-macroexpand-body): Remove funs.
	Use macroexpand-all instead.

953 954 955 956 957 958 959 960 961 962 963 964 965 966 967 968 969 970 971 972 973 974 975 976 977 978 979
2012-06-07  Stefan Monnier  <monnier@iro.umontreal.ca>

	* emacs-lisp/macroexp.el (macroexp-progn, macroexp-let*, macroexp-if)
	(macroexp-let², macroexp--const-symbol-p, macroexp-const-p)
	(macroexp-copyable-p): New functions and macros.
	* emacs-lisp/edebug.el (edebug-unwrap):
	* emacs-lisp/disass.el (disassemble-internal): Use macroexp-progn.
	* emacs-lisp/pcase.el: Use macroexp-let*, macroexp-if, ...
	(pcase--let*): Remove.
	* emacs-lisp/bytecomp.el (byte-compile-const-symbol-p)
	(byte-compile-constp): Remove.  Use macroexp--const-symbol-p and
	macroexp-const-p instead.
	* emacs-lisp/byte-opt.el: Use macroexp-const-p and macroexp-progn.

	* emacs-lisp/cl-macs.el: Clean up the name space by using "cl--"
	instead of "cl-" for internal definitions.  Use macroexp-const-p.
	(cl-old-bc-file-form): Remove var.
	(cl-const-exprs-p): Remove fun.
	(cl-labels, cl-macrolet): Use backquote.
	(cl-lexical-let): Use cl-symbol-macrolet.  Don't use cl-defun-expander.
	(cl-defun-expander, cl-byte-compile-compiler-macro): Remove fun.
	(cl-define-setf-expander): Rename from cl-define-setf-method.
	* emacs-lisp/cl.el: Adjust alias for define-setf-method.

	* international/mule-cmds.el: Don't require CL.
	(view-hello-file): Don't use `letf'.

980 981
2012-06-07  Stefan Monnier  <monnier@iro.umontreal.ca>

982 983 984 985 986
	* tmm.el (tmm-prompt): Use string-prefix-p.
	(tmm-completion-delete-prompt): Don't affect current-buffer outside.
	(tmm-add-prompt): Use minibuffer-completion-help.
	(tmm-delete-map): Remove.

987 988
	* subr.el (kbd): Make it its own function.

989 990 991 992
2012-06-07  Stefan Merten  <smerten@oekonux.de>

	* textmodes/rst.el: Use `eval-when-compile' for requiring `cl.el'.
	Silence compiler warnings.  Fix versions.
993
	(rst-position-if, rst-position, rst-some, rst-signum): New functions.
994
	(rst-shift-region, rst-adornment-level, rst-compute-tabs)
995
	(rst-indent-line, rst-shift-region, rst-forward-line): Use them.
996 997
	(rst-package-emacs-version-alist): Correct Emacs version to
	represent major merge with upstream.
998
	(rst-transition, rst-adornment, rst-compile-toolsets): Fix versions.
999

1000 1001 1002 1003 1004
2012-06-06  Glenn Morris  <rgm@gnu.org>

	* mail/emacsbug.el (report-emacs-bug): Add relevant EMACS env-vars.
	Only print environment variables if set.

1005 1006 1007 1008 1009 1010 1011 1012 1013
2012-06-06  Stefan Monnier  <monnier@iro.umontreal.ca>

	* emacs-lisp/macroexp.el: Don't require CL since we don't use it.
	(macroexp--cons): Rename from maybe-cons.
	(macroexp--accumulate): Rename from macroexp-accumulate.
	(macroexp--all-forms): Rename from macroexpand-all-forms.
	(macroexp--all-clauses): Rename from macroexpand-all-clauses.
	(macroexp--expand-all): Rename from macroexpand-all-1.

1014 1015 1016 1017 1018
2012-06-06  Sam Steingold  <sds@gnu.org>

	* calendar/calendar.el (calendar-in-read-only-buffer):
	Call `special-mode' to enable the standard read-only keybindings.

1019 1020 1021 1022 1023
2012-06-06  Stefan Monnier  <monnier@iro.umontreal.ca>

	* emacs-lisp/macroexp.el (macroexpand-all-1): Don't spam the output
	with "loading" messages (bug#11635).

1024 1025 1026 1027 1028
2012-06-06  Michael Albinus  <michael.albinus@gmx.de>

	* files.el (enable-remote-dir-locals): New option.
	(hack-dir-local-variables): Use it.  (Bug#1933, Bug#6731)

1029 1030 1031 1032 1033 1034
	* net/tramp-compat.el (tramp-compat-temporary-file-directory):
	Ensure, that the temp directory is local.

	* net/tramp-sh.el (tramp-sh-handle-write-region): Let-bind
	`temporary-file-directory'.

1035 1036 1037
	* progmodes/python.el (python-send-region): Ensure, that the
	temporary file is created also in the remote case.

1038 1039
2012-06-06  Glenn Morris  <rgm@gnu.org>

1040 1041 1042
	* vc/vc-rcs.el (vc-rcs-rcs2log-program): New.
	(vc-rcs-update-changelog): Use it.

Glenn Morris's avatar
Glenn Morris committed
1043 1044
	* emacs-lisp/authors.el (authors-fixed-entries): Remove vcdiff

1045 1046 1047 1048
	* vc/vc-sccs.el (vc-sccs-write-revision): New function.
	(vc-sccs-workfile-unchanged-p): Use vc-sccs-write-revision.
	(vc-sccs-diff): Replace use of the external vcdiff script.

Glenn Morris's avatar
Glenn Morris committed
1049 1050 1051 1052
2012-06-05  Glenn Morris  <rgm@gnu.org>

	* ledit.el: Move to obsolete/.

1053 1054 1055 1056 1057
2012-06-05  Sam Steingold  <sds@gnu.org>

	* calendar/calendar.el (calendar-exit): reinstate the 2012-03-28
	patch (Bug#11140).

1058 1059
2012-06-05  Stefan Monnier  <monnier@iro.umontreal.ca>

1060 1061
	* emacs-list/cust-print.el: Move to obsolete.

1062 1063 1064
	* emacs-lisp/macroexp.el (macroexpand-all-1): Tolerate errors during
	compiler-macro expansion.

1065 1066 1067 1068 1069 1070 1071 1072 1073 1074 1075 1076
	Add native compiler-macro support.
	* emacs-lisp/macroexp.el (macroexpand-all-1):
	Support compiler-macros directly.  Properly follow aliases and apply
	the compiler macros more thoroughly.
	* emacs-lisp/cl.el: Don't copy compiler-macro properties any more since
	macroexpand now properly follows aliases.
	* emacs-lisp/cl-macs.el (toplevel, cl-define-compiler-macro)
	(cl-compiler-macroexpand): Use new prop.
	* emacs-lisp/byte-opt.el (featurep): Optimize earlier.

	* emacs-lisp/cl-lib.el (custom-print-functions): Add alias.

1077 1078 1079 1080 1081 1082 1083
2012-06-05  Martin Rudalics  <rudalics@gmx.at>

	* window.el (get-lru-window, get-mru-window, get-largest-window):
	New argument NOT-SELECTED to avoid picking the selected window.
	(window--display-buffer-1, window--display-buffer-2): Replace by
	new function window--display-buffer
	(display-buffer-same-window, display-buffer-reuse-window)
1084 1085
	(display-buffer-pop-up-frame, display-buffer-pop-up-window):
	Use window--display-buffer.
1086 1087 1088 1089
	(display-buffer-use-some-window): Remove temporary dedication
	hack by calling get-lru-window and get-largest-window with
	NOT-SELECTED argument non-nil.  Call window--display-buffer.

1090 1091 1092 1093 1094
2012-06-05  Glenn Morris  <rgm@gnu.org>

	* vc/vc-sccs.el (vc-sccs-workfile-unchanged-p):
	Replace external vcdiff script.

1095 1096 1097 1098
2012-06-04  Stefan Monnier  <monnier@iro.umontreal.ca>

	* emacs-lisp/cl-lib.el (cl-values, cl-values-list): Fix up last change.

1099 1100
2012-06-04  Chong Yidong  <cyd@gnu.org>

1101 1102
	* image.el (imagemagick-types-inhibit): Revert last change.
	Add INFO and M.
1103
	(imagemagick-enabled-types): Remove CIN and EPS*.
1104

1105 1106 1107 1108 1109 1110 1111 1112 1113
2012-06-04  Stefan Monnier  <monnier@iro.umontreal.ca>

	* emacs-lisp/cl-lib.el: Rename from cl.el.
	* emacs-lisp/cl.el: New compatibility file.
	* emacs-lisp/cl-lib.el, emacs-lisp/cl-seq.el, emacs-lisp/cl-macs.el:
	* emacs-lisp/cl-extra.el: Rename all top-level functions and variables
	to obey the "cl-" prefix.
	* emacs-lisp/macroexp.el (macroexpand-all-1): Adjust to new name.

Glenn Morris's avatar
Glenn Morris committed
1114 1115
2012-06-03  Glenn Morris  <rgm@gnu.org>

1116 1117
	* emacs-lisp/authors.el (authors-aliases): Addition.

Glenn Morris's avatar
Glenn Morris committed
1118 1119 1120
	* cus-start.el (tool-bar-style, tool-bar-max-label-size):
	Fix :version.

Stefan Merten's avatar
Stefan Merten committed
1121 1122 1123 1124 1125 1126 1127 1128 1129 1130
2012-06-03  Stefan Merten  <smerten@oekonux.de>

	* textmodes/rst.el: Add comments.
	(rst-transition, rst-adornment): New faces.
	(rst-adornment-faces-alist): Make default safe to reevaluate.
	Fixes
	http://sourceforge.net/tracker/?func=detail&atid=422030&aid=3479603&group_id=38414.
	Improve customization tags.
	(rst-define-level-faces): Clarify meaning.

1131 1132 1133
2012-06-03  Chong Yidong  <cyd@gnu.org>

	* progmodes/compile.el (compilation-mode-line-fail)
1134 1135
	(compilation-mode-line-run, compilation-mode-line-exit):
	New faces.
1136 1137
	(compilation-start, compilation-handle-exit): Use them (Bug#11032).

1138 1139
2012-06-03  Jack Duthen  <duthen.mac.01@gmail.com>  (tiny change)

1140 1141
	* progmodes/which-func.el (which-func-update-ediff-windows):
	New function.  Use it in ediff-select-hook (Bug#11478).
1142

1143 1144 1145 1146 1147 1148 1149 1150 1151
2012-06-03  Chong Yidong  <cyd@gnu.org>

	* bindings.el: Remove explicit help text from format-mode-line.
	It is now supplied by mode-line-default-help-echo.
	(mode-line-front-space, mode-line-end-spaces)
	(mode-line-misc-info): New variables.
	(mode-line-modes, mode-line-position): Move the default value to
	the variable definition.
	(mode-line-default-help-echo): New defcustom.
1152 1153 1154 1155 1156
	(mode-line-mule-info-help-echo, mode-line-read-only-help-echo)
	(mode-line-modified-help-echo): New functions.
	(mode-line-mule-info, mode-line-modified): Use them.
	(mode-line-eol-desc, propertized-buffer-identification):
	Consistency fixes for help text.
1157 1158 1159
	(mode-line-coding-system-map): Allow using mouse-3 to invoke
	set-buffer-file-coding-system (Bug#289).
	(mode-line-mule-info-help-echo): Update help text.
1160

1161 1162 1163 1164 1165
2012-06-02  Stefan Monnier  <monnier@iro.umontreal.ca>

	* simple.el (execute-extended-command): Set real-this-command
	(bug#11506).

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
2012-06-02  Chong Yidong  <cyd@gnu.org>

	Remove incorrect uses of "modeline" in comments, docstrings, and
	function/variable names (Bug#10329).

	* cus-edit.el (mode-line):
	* dframe.el (dframe-mouse-hscroll):
	* emacs-lisp/re-builder.el:
	* emacs-lisp/easy-mmode.el (define-minor-mode):
	* frame.el (set-frame-name):
	* help.el (lookup-minor-mode-from-indicator):
	* net/rcirc.el (rcirc-activity-string, rcirc-short-buffer-name):
	* progmodes/cc-cmds.el (c-toggle-auto-newline)
	(c-toggle-hungry-state):
	* progmodes/antlr-mode.el (antlr-language-alist):
	* progmodes/idlw-shell.el (idlwave-shell-electric-stop-line-face):
	* progmodes/vhdl-mode.el (vhdl-mode):
	* progmodes/which-func.el (which-func, which-func-cleanup-function):
	* term/ns-win.el (ns-face-at-pos):
	* term/sup-mouse.el (sup-mouse-report):
	* textmodes/flyspell.el (flyspell-mode-line-string):
	* textmodes/ispell.el (ispell-highlight-face):
	* textmodes/reftex-global.el:
	* vc/vc-arch.el (vc-arch-mode-line-string):
	* vc/vc-cvs.el (vc-cvs-mode-line-string):
	* vc/vc-git.el (vc-git-mode-line-string):
	* vc/vc-hooks.el (vc-display-status)
	(vc-default-mode-line-string):
	* vc/vc-mtn.el (vc-mtn-mode-line-string): Doc fixes.

	* ansi-color.el (ansi-color-faces-vector): Change default faces.

	* dired.el (dired-sort-set-mode-line): Rename from
	dired-sort-set-modeline.  All callers changed.

	* eshell/esh-mode.el (eshell-status-in-mode-line): Rename from
	eshell-status-in-modeline.

	* foldout.el (foldout-mode-line-string): Rename from
	foldout-modeline-string.  All callers changed.
	(foldout-update-mode-line): Rename from foldout-update-modeline.

	* subr.el (redraw-modeline): Make into obsolete alias.

	* calendar/timeclock.el (timeclock-mode-line-display): Rename from
	timeclock-modeline-display.  Make old name an alias.
	(timeclock-update-mode-line): Likewise.  All callers changed.
	(timeclock-mode-line-display): No need to check before using
	add-hook.
	(timeclock-relative, timeclock-day-over-hook)
	(timeclock-use-elapsed, timeclock-mode-string)
	(timeclock-mode-line-display): Doc fix, "modeline" -> "mode line".

	* emulation/crisp.el (crisp-mode-mode-line-string): Rename from
	crisp-mode-modeline-string.

	* play/solitaire.el (solitaire-build-mode-line): Rename from
	solitaire-build-modeline.  All callers changed.

	* play/zone.el (zone-hiding-mode-line): Rename from
	zone-hiding-modeline.  All callers changed.
	(zone): Remove unusued `modeline-hidden-level' property.

	* progmodes/xscheme.el (xscheme-mode-line-initialize): Rename from
	xscheme-modeline-initialize.  All callers changed.

	* strokes.el (strokes-lighter): Rename from
	strokes-modeline-string.

	* textmodes/sgml-mode.el (html-face-tag-alist)
	(html-tag-face-alist): Use mode-line face instead of obsolete
	alias modeline.

Stefan Merten's avatar
Stefan Merten committed
1239 1240 1241
2012-06-02  Stefan Merten  <smerten@oekonux.de>

	* textmodes/rst.el: Always require `cl'.
1242
	(rst-mode-map): Fix meaning of C-M-a / C-M-e.
Stefan Merten's avatar
Stefan Merten committed
1243

1244 1245 1246 1247 1248 1249 1250
2012-06-02  Chong Yidong  <cyd@gnu.org>

	* image.el (imagemagick-enabled-types): Rename from
	imagemagick-types-enable.  Add many more types.
	(imagemagick-types-inhibit): Change default to nil.
	(imagemagick-filter-types): Caller changed.

1251 1252
2012-06-01  Stefan Monnier  <monnier@iro.umontreal.ca>

1253 1254 1255 1256 1257
	* emacs-lisp/cl-macs.el: Use backquotes.
	(cl-transform-function-property): Use eval-and-compile rather than
	abusing `require'.
	(defstruct): Use declare-function instead of with-no-warnings.

1258 1259 1260 1261 1262
	* emacs-lisp/bytecomp.el: Fix last change (bug#11594).
	(byte-compile-output-docform): Re-add the print-circle bindings.
	(byte-compile-fix-header): Use #$ just because it's shorter.
	(byte-compile-output-file-form): Remove defun/defmacro.

1263 1264 1265 1266 1267
2012-06-01  Martin Rudalics  <rudalics@gmx.at>

	* simple.el (choose-completion): Remove now obsolete binding for
	owindow.

1268 1269 1270 1271 1272
2012-06-01  Michael Albinus  <michael.albinus@gmx.de>

	* net/tramp.el (tramp-check-for-regexp): Search from buffer end,
	in order to avoid "Stack overflow in regexp matcher".

1273 1274 1275 1276 1277
2012-05-31  Glenn Morris  <rgm@gnu.org>

	* image.el: For clarity, call imagemagick-register-types at
	top-level, rather than relying on a custom :initialize.
	(imagemagick-types-enable): New option.  (Bug#11557)
1278 1279
	(imagemagick-filter-types): New function.  (Bug#7406)
	(imagemagick-register-types): Use imagemagick-filter-types.
1280 1281 1282 1283
	If disabling support, remove elements altogether rather
	than using an impossible regexp.
	(imagemagick-types-inhibit): Give it the default init function.

1284 1285
2012-05-31  Stefan Monnier  <monnier@iro.umontreal.ca>

1286 1287
	* emacs-lisp/bytecomp.el (byte-compile-fix-header):
	Handle arbitrary file name lengths (Bug#11585).
1288

1289
2012-05-31  Martin Rudalics  <rudalics@gmx.at>
Martin Rudalics's avatar
Martin Rudalics committed
1290 1291 1292 1293

	* desktop.el (desktop-read): Clear previous and next buffers for
	all windows and bury *Messages* buffer (bug#11556).

1294 1295 1296 1297 1298 1299 1300 1301 1302 1303 1304 1305 1306 1307 1308
2012-05-31  Stefan Monnier  <monnier@iro.umontreal.ca>

	Add `declare' for `defun'.  Align `defmacro's with it.
	* emacs-lisp/easy-mmode.el (define-minor-mode)
	(define-globalized-minor-mode): Don't autoload the var definitions.
	* emacs-lisp/byte-run.el: Use lexical-binding.
	(defun-declarations-alist, macro-declarations-alist): New vars.
	(defmacro, defun): Use them.
	(make-obsolete, define-obsolete-function-alias)
	(make-obsolete-variable, define-obsolete-variable-alias):
	Use `declare'.
	(macro-declaration-function): Mark obsolete.
	* emacs-lisp/autoload.el: Use lexical-binding.
	(make-autoload): Add `expansion' arg.  Rely more on macro expansion.

1309 1310 1311 1312
2012-05-30  Agustín Martín Domingo  <agustin.martin@hispalinux.es>

	* textmodes/ispell.el (ispell-with-no-warnings):
	Define as a macro.
1313 1314
	(ispell-kill-ispell, ispell-change-dictionary):
	Use `called-interactively-p' for Emacs instead of obsolete
1315 1316
	`interactive-p'.

1317 1318 1319 1320 1321 1322 1323 1324 1325 1326 1327 1328 1329 1330 1331 1332 1333 1334 1335 1336 1337 1338 1339 1340 1341
2012-05-30  Stefan Monnier  <monnier@iro.umontreal.ca>

	* emacs-lisp/byte-run.el (defmacro, defun): Move from C.
	(macro-declaration-function): Move var from C code.
	(macro-declaration-function): Define function with defalias.
	* emacs-lisp/macroexp.el (macroexpand-all-1):
	* emacs-lisp/cconv.el (cconv-convert, cconv-analyse-form):
	* emacs-lisp/byte-opt.el (byte-optimize-form-code-walker): Don't handle
	defun/defmacro any more.
	* emacs-lisp/bytecomp.el (byte-compile-arglist-signature):
	Provide fallback for unknown arglist.
	(byte-compile-arglist-warn): Change calling convention.
	(byte-compile-output-file-form): Move print-vars binding.
	(byte-compile-output-docform): Simplify accordingly.
	(byte-compile-file-form-defun, byte-compile-file-form-defmacro)
	(byte-compile-defmacro-declaration): Remove.
	(byte-compile-file-form-defmumble): Generalize to defalias.
	(byte-compile-output-as-comment): Return byte-positions.
	Simplify callers accordingly.
	(byte-compile-lambda): Use `assert'.
	(byte-compile-defun, byte-compile-defmacro): Remove.
	(byte-compile-file-form-defalias):
	Use byte-compile-file-form-defmumble.
	(byte-compile-defalias-warn): Remove.

1342 1343 1344
2012-05-29  Stefan Merten  <smerten@oekonux.de>

	* textmodes/rst.el: Silence `checkdoc-ispell' errors where
1345
	possible.  Fix authors.  Improve comments.  Improve loading of `cl'.
1346 1347 1348 1349 1350

	(rst-mode-abbrev-table): Merge definition.
	(rst-mode): Make sure `font-lock-defaults' is buffer local.
	(rst-define-key, rst-deprecated-keys, rst-call-deprecated): Refactor.

1351 1352 1353 1354 1355 1356
2012-05-29  Ulf Jasper  <ulf.jasper@web.de>

	* calendar/icalendar.el
	(icalendar-export-region): Export UID properly.

2012-05-29 Leo <sdl.web@gmail.com>
1357 1358
	* calendar/icalendar.el (icalendar-import-format):
	Add `icalendar-import-format-uid' (Bug#11525).
1359 1360 1361 1362
	(icalendar-import-format-uid): New.
	(icalendar--parse-summary-and-rest, icalendar--format-ical-event):
	Export UID.

1363 1364 1365 1366 1367 1368 1369 1370 1371 1372 1373 1374 1375 1376
2012-05-29  Stefan Monnier  <monnier@iro.umontreal.ca>

	* emacs-lisp/pcase.el (pcase--expand): Accept different sets of vars in
	different alternative patterns.
	(pcase-codegen): Be more careful to preserve identity.
	(pcase--u1): Don't forget to mark vars as used.

	* emacs-lisp/bytecomp.el (byte-compile-constp): Treat #'v as a constant.
	(byte-compile-close-variables): Bind byte-compile--outbuffer here...
	(byte-compile-from-buffer): ...rather than here.

	* emacs-lisp/byte-opt.el (byte-compile-inline-expand): Don't re-preprocess
	functions from byte-compile-function-environment.

1377 1378 1379 1380 1381
2012-05-29  Troels Nielsen  <bn.troels@gmail.com>

	* window.el (window-deletable-p): Avoid deleting the root window
	of a frame with an active minibuffer.

1382 1383 1384 1385
2012-05-29  Martin Rudalics  <rudalics@gmx.at>

	* simple.el (choose-completion): Use quit-window (Bug#11567).

1386 1387 1388 1389 1390
2012-05-29  Chong Yidong  <cyd@gnu.org>

	* whitespace.el (whitespace-cleanup): Fix usage of
	whitespace-empty-at-bob-regexp (Bug#11492).

1391 1392 1393 1394 1395
2012-05-29  Aaron S. Hawley  <aaron.s.hawley@gmail.com>

	* vc/vc.el (vc-revert, vc-rollback): Dont kill vc-diff buffer on
	revert (Bug#11488).

1396 1397 1398 1399 1400 1401 1402 1403 1404 1405
2012-05-29  Juri Linkov  <juri@jurta.org>

	* isearch.el (isearch-mode-map): Bind `M-s _' to
	`isearch-toggle-symbol'.  Bind `M-s c' to
	`isearch-toggle-case-fold'.
	(search-map): Bind `M-s _' to `isearch-forward-symbol'.
	(isearch-forward): Add `M-s _' to the docstring.
	(isearch-forward-symbol, isearch-toggle-case-fold)
	(isearch-symbol-regexp): New functions.  (Bug#11381)

1406 1407 1408 1409 1410 1411 1412 1413 1414 1415 1416 1417
2012-05-29  Juri Linkov  <juri@jurta.org>

	* isearch.el (isearch-word): Add docstring.  (Bug#11381)
	(isearch-occur, isearch-search-and-update): If `isearch-word' is
	a function, call it to get the regexp.
	(isearch-message-prefix): If `isearch-word' holds a symbol, use its
	property `isearch-message-prefix' instead of the string "word ".
	(isearch-search-fun-default): For the case of `isearch-word',
	return a lambda that calls re-search-forward/re-search-backward
	with a regexp returned by `word-search-regexp' or by the function
	in `isearch-word'.

1418 1419 1420 1421 1422 1423 1424 1425 1426 1427 1428 1429 1430 1431 1432 1433 1434 1435 1436 1437 1438 1439 1440 1441 1442 1443 1444 1445 1446 1447 1448 1449 1450 1451
2012-05-29  Juri Linkov  <juri@jurta.org>

	* isearch.el (isearch-search-fun-default): New function.
	(isearch-search-fun): Move default part to the new function
	`isearch-search-fun-default'.
	(isearch-search-fun-function): Set the default value to
	`isearch-search-fun-default'.  (Bug#11381)

	* comint.el (comint-history-isearch-end):
	Use `isearch-search-fun-default'.
	(comint-history-isearch-search): Use `isearch-search-fun-default'
	and remove spacial case for `isearch-word'.
	(comint-history-isearch-wrap): Remove spacial case for
	`isearch-word'.

	* hexl.el (hexl-isearch-search-function):
	Use `isearch-search-fun-default'.

	* info.el (Info-isearch-search): Use `isearch-search-fun-default'.
	Use `word-search-regexp' for `isearch-word'.

	* misearch.el (multi-isearch-search-fun):
	Use `isearch-search-fun-default'.

	* simple.el (minibuffer-history-isearch-search):
	Use `isearch-search-fun-default' and remove spacial case for
	`isearch-word'.
	(minibuffer-history-isearch-wrap): Remove spacial case for
	`isearch-word'.

	* textmodes/reftex-global.el (reftex-isearch-wrap-function):
	Remove spacial case for `isearch-word'.
	(reftex-isearch-isearch-search): Use `isearch-search-fun-default'.

1452 1453 1454 1455 1456 1457 1458 1459 1460 1461 1462 1463 1464 1465 1466 1467 1468 1469
2012-05-28  Agustín Martín Domingo  <agustin.martin@hispalinux.es>

	Decrease XEmacs incompatibilities.
	* textmodes/flyspell.el (flyspell-check-pre-word-p):
	Use `string-match'.
	(flyspell-delete-region-overlays): Use alternative definition for
	XEmacs.
	(flyspell-delete-all-overlays): Use `flyspell-delete-region-overlays'.
	(flyspell-word): Use `process-kill-without-query' if XEmacs.
	(flyspell-mode-on): Use `interactive-p' if XEmacs.
	(flyspell-incorrect-face, flyspell-duplicate-face): Do not use
	`define-obsolete-face-alias' under XEmacs, but old method.

	* textmodes/ispell.el (ispell-with-no-warnings): XEmacs alternative
	`with-no-warnings' definition or Emacs alias.
	(ispell-command-loop, ispell-message): Use `ispell-with-no-warnings'.
	(ispell-word): Do not use `region-p' if XEmacs.

1470 1471 1472 1473 1474 1475 1476 1477
2012-05-28  Agustín Martín Domingo  <agustin.martin@hispalinux.es>

	* textmodes/ispell.el (ispell-find-aspell-dictionaries):
	Check for `ispell-dictionary-base-alist' instead of full
	`ispell-dictionary-alist'.
	(ispell-init-process): Show spellchecker when starting new Ispell
	process.

1478 1479 1480 1481 1482
2012-05-28  Stefan Monnier  <monnier@iro.umontreal.ca>

	* progmodes/vhdl-mode.el: Sync with upstream 3.33.28.
	http://www.iis.ee.ethz.ch/~zimmi/emacs/vhdl-mode.html#release-notes-3.33

1483 1484 1485 1486 1487
2012-05-27  Juanma Barranquero  <lekktu@gmail.com>

	* version.el (motif-version-string, gtk-version-string)
	(ns-version-string): Declare.

1488 1489 1490 1491 1492 1493 1494 1495 1496
2012-05-27  Juri Linkov  <juri@jurta.org>

	* emacs-lisp/lisp-mode.el (eval-defun-2): Use `eval-sexp-add-defvars'
	after the `eval-defun-1' specialcaseing
	like in `edebug-eval-defun' (bug#10181).

	* emacs-lisp/edebug.el (edebug-eval-defun): Set `face-documentation'
	like in `eval-defun-1'.

1497
2012-05-27  Eli Zaretskii  <eliz@gnu.org>
1498

1499 1500 1501
	* mail/sendmail.el (mail-yank-region):
	Recognize rmail-yank-current-message in addition to insert-buffer.
	Fixes mail-mode's "C-c C-r" that otherwise does nothing when invoked in
1502 1503 1504
	a *mail* buffer created through rmail-start-mail with sendmail as
	mail-user-agent.

1505 1506 1507 1508 1509 1510 1511
2012-05-27  Chong Yidong  <cyd@gnu.org>

	* net/gnutls.el (gnutls-min-prime-bits): Improve docstring.
	Default to 256 (Bug#11267).

	* help.el (describe-mode): Doc fix.

1512 1513
2012-05-26  Glenn Morris  <rgm@gnu.org>

1514 1515 1516
	* w32-fns.el (w32-init-info): Remove.
	* paths.el (Info-default-directory-list): Add w32-init-info equivalent.

1517 1518 1519
	* info.el (info-initialize): For self-contained NS builds, put the
	included info/ directory at the front.  (Bug#2791)

1520 1521 1522
	* paths.el (Info-default-directory-list): Make it a defcustom,
	mainly so that we can use custom-initialize-delay.

1523 1524
2012-05-26  Stefan Monnier  <monnier@iro.umontreal.ca>

1525 1526
	* subr.el (buffer-has-markers-at): Mark obsolete.

1527
	* subr.el (lambda): Use declare.
1528

1529 1530 1531
	* emacs-lisp/lisp-mode.el (lambda):
	* emacs-lisp/edebug.el (lambda): Move properties to its definition.

1532 1533 1534 1535
2012-05-26  Aaron S. Hawley  <aaron.s.hawley@gmail.com>

	* thingatpt.el (forward-same-syntax): Handle no ARG case.  (Bug#11560)

1536 1537 1538 1539
2012-05-26  Glenn Morris  <rgm@gnu.org>

	* progmodes/cc-mode.el (auto-mode-alist): Fix typo.

1540 1541
2012-05-25  Glenn Morris  <rgm@gnu.org>

1542 1543 1544
	* paths.el: Remove no-byte-compile.
	* loadup.el: No need to load paths.el uncompiled.

1545 1546
	* image.el (imagemagick-types-inhibit): Doc fix.

1547 1548 1549 1550
	* version.el: Remove no-byte-compile and associated formatting.
	* loadup.el: No need to load version.el uncompiled.  AFAICS, this
	is ancient code from when there was an "inc-vers.el".

1551 1552 1553 1554 1555 1556 1557 1558 1559 1560
2012-05-25  Stefan Monnier  <monnier@iro.umontreal.ca>

	* progmodes/gdb-mi.el: Minor style changes.
	(gdb-enable-debug, gdb-speedbar-auto-raise, gdb-many-windows):
	Turn into minor modes.
	(gdb--if-arrow): Rename from gdb-if-arrow, make it hygienic.
	(gdb-mouse-until, gdb-mouse-jump): Adjust uses accordingly.
	(gdb-shell): Remove unneeded let-binding.
	(gdb-get-many-fields): Eliminate O(n²) behavior.

1561 1562 1563 1564 1565
2012-05-25  Eli Zaretskii  <eliz@gnu.org>

	* cus-start.el <vertical-centering-font-regexp>: Avoid warning on
	platforms that don't link in fontset.c.

1566 1567 1568 1569 1570 1571 1572 1573 1574 1575 1576 1577 1578 1579 1580 1581 1582 1583 1584 1585 1586 1587 1588 1589 1590 1591 1592 1593 1594 1595 1596 1597 1598 1599 1600 1601 1602 1603 1604
2012-05-25  Juri Linkov  <juri@jurta.org>

	Use the same diff color scheme as in modern VCSes (bug#10181).

	* vc/diff-mode.el (diff-header, diff-file-header): Remove "green"
	to avoid confusion with `diff-added' that now uses green colors.
	(diff-removed): Use shades of red.
	(diff-added): Use shades of green.
	(diff-changed): Leave just the yellow color.
	(diff-use-changed-face): New variable.
	(diff-font-lock-keywords): Use `diff-use-changed-face' to decide
	how to highlight context diff changes.
	(diff-refine-change): Use shades of yellow.
	(diff-refine-removed): New face that uses shades of red.
	(diff-refine-added): New face that uses shades of green.
	(diff-refine-hunk): Use `diff-refine-change', `diff-refine-added',
	`diff-refine-removed' in the call to `smerge-refine-subst'
	depending on the value of `diff-use-changed-face'.

	* vc/smerge-mode.el (smerge-mine): Use shades of red.
	(smerge-other): Use shades of green.
	(smerge-base): Use shades of yellow.
	(smerge-refined-change): Empty face.
	(smerge-refined-removed): New face that uses shades of red.
	(smerge-refined-added): New face that uses shades of green.
	(smerge-refine-subst): Rename arg `props' to `props-c'.  Add new
	args `props-r' and `props-a', and use them.  Doc fix.
	(smerge-refine): Evaluate `smerge-use-changed-face' and depending
	on its value use different faces `smerge-refined-change',
	`smerge-refined-removed', `smerge-refined-added' in the call to
	`smerge-refine-subst'.

	* vc/ediff-init.el (ediff-current-diff-A, ediff-fine-diff-A):
	Add face condition `min-colors 88' with shades of red.
	(ediff-current-diff-B, ediff-fine-diff-B): Add face condition
	`min-colors 88' with shades of green.
	(ediff-current-diff-C, ediff-fine-diff-C): Add face condition
	`min-colors 88' with shades of yellow.

1605 1606
2012-05-24  Glenn Morris  <rgm@gnu.org>

1607 1608 1609 1610
	* paths.el (prune-directory-list, remote-shell-program): Move to...
	* files.el (prune-directory-list, remote-shell-program): ...here.
	For the latter, delay initialization, prefer ssh, just search PATH.

1611 1612 1613
	* paths.el (term-file-prefix): Move to faces.el (the only user).
	* faces.el (term-file-prefix): Move here, make it a defcustom.

1614 1615
	* paths.el (news-directory, news-path, news-inews-program):
	Move to gnus/nnspool.el.
1616

1617 1618
	* paths.el (gnus-default-nntp-server): Remove (gnus.el defines it).

1619 1620 1621 1622
	* paths.el (rmail-file-name, rmail-spool-directory): Move from here...
	* mail/rmail.el (rmail-file-name, rmail-spool-directory): ... to here.
	Make the latter a defcustom, with a delayed initialization.

1623 1624 1625
	* paths.el (gnus-nntp-service, gnus-local-organization): Remove.
	These were deleted from Gnus itself late 2010.

1626