ChangeLog 876 KB
Newer Older
1 2
2011-04-01  Stefan Monnier  <monnier@iro.umontreal.ca>

3
	Add lexical binding.
4

5 6 7 8 9 10 11 12 13
	* subr.el (apply-partially): Use new closures rather than CL.
	(--dolist-tail--, --dotimes-limit--): Don't declare dynamic.
	(dolist, dotimes): Use slightly different expansion for lexical code.
	(functionp): Move to C.
	(letrec): New macro.
	(with-wrapper-hook): Use it and apply-partially instead of CL.
	(eval-after-load): Preserve lexical-binding.
	(save-window-excursion, with-output-to-temp-buffer): Turn them
	into macros.
14

15 16 17 18 19 20 21 22 23 24 25 26
	* simple.el (with-wrapper-hook, apply-partially): Move to subr.el.

	* help-fns.el (help-split-fundoc): Return nil if there's nothing else
	than the arglist.
	(help-add-fundoc-usage): Don't add `Not documented'.
	(help-function-arglist): Handle closures, subroutines, and new
	byte-code-functions.
	(help-make-usage): Remove leading underscores.
	(describe-function-1): Handle closures.
	(describe-variable): Use special-variable-p for completion.

	* files.el (lexical-binding): Declare safe.
27

28 29 30 31 32 33 34
	* emacs-lisp/pcase.el: Don't use destructuring-bind.
	(pcase--memoize): Rename from pcase-memoize.  Change weakness.
	(pcase): Add `let' pattern.
	Change memoization so it actually works.
	(pcase-mutually-exclusive-predicates): Add byte-code-function-p.
	(pcase--u1) <guard, pred>: Fix possible shadowing problem.
	<let>: New case.
35

36 37 38 39 40 41
	* emacs-lisp/macroexp.el: Use lexical binding.
	(macroexpand-all-1): Check obsolete macros.  Expand compiler-macros.
	Don't convert ' to #' without checking that it's indeed quoting
	a lambda.

	* emacs-lisp/lisp-mode.el (eval-last-sexp-1):
42
	Use eval-sexp-add-defvars.
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
	(eval-sexp-add-defvars): New fun.

	* emacs-lisp/float-sup.el (pi): Don't declare as dynamically bound.

	* emacs-lisp/eieio.el (byte-compile-file-form-defmethod):
	Don't autoload.
	(eieio-defgeneric-form-primary-only-one): Use `byte-compile' rather
	than the internal `byte-compile-lambda'.
	(defmethod): Don't hide code under quotes.
	(eieio-defmethod): New `code' argument.

	* emacs-lisp/eieio-comp.el: Remove.

	* emacs-lisp/edebug.el (edebug-eval-defun)
	(edebug-eval-top-level-form): Use eval-sexp-add-defvars.
	(edebug-toggle): Avoid `eval'.

	* emacs-lisp/disass.el (disassemble-internal): Handle new
	`closure' objects.
	(disassemble-1): Handle new byte codes.

	* emacs-lisp/cl.el (pushnew): Silence warning.

	* emacs-lisp/cl-macs.el (cl-byte-compile-block)
	(cl-byte-compile-throw): Remove.
	(cl-block-wrapper, cl-block-throw): Use compiler-macros instead.

	* emacs-lisp/cl-extra.el (cl-macroexpand-all): Properly quote CL
	closures.

	* emacs-lisp/cconv.el: New file.

	* emacs-lisp/bytecomp.el: Use lexical binding instead of
	a "bytecomp-" prefix.  Macroexpand everything as a separate phase.
	(byte-compile-initial-macro-environment):
	Handle declare-function here.
	(byte-compile--lexical-environment): New var.
	(byte-stack-ref, byte-stack-set, byte-discardN)
	(byte-discardN-preserve-tos): New lap codes.
	(byte-interactive-p): Don't use any more.
	(byte-compile-push-bytecodes, byte-compile-push-bytecode-const2):
	New macros.
	(byte-compile-lapcode): Use them and handle new lap codes.
	(byte-compile-obsolete): Remove.
	(byte-compile-arglist-signature): Handle new byte-code arg"lists".
	(byte-compile-arglist-warn): Check late def of inlinable funs.
	(byte-compile-cl-warn): Don't silence warnings for compiler-macros
	since they should have been expanded by now.
	(byte-compile--outbuffer): Rename from bytecomp-outbuffer.
	(byte-compile-from-buffer): Remove unused second arg.
	(byte-compile-preprocess): New function.
	(byte-compile-toplevel-file-form): New function to distinguish
	file-form calls from outside from file-form calls from hunk-handlers.
	(byte-compile-file-form): Simplify.
	(byte-compile-file-form-defsubst): Remove.
	(byte-compile-file-form-defmumble): Simplify now that
	byte-compile-lambda always returns a byte-code-function.
	(byte-compile): Preprocess.
	(byte-compile-byte-code-maker, byte-compile-byte-code-unmake):
	Remove, not used any more.
	(byte-compile-arglist-vars, byte-compile-make-lambda-lexenv)
	(byte-compile-make-args-desc): New funs.
	(byte-compile-lambda): Handle lexical functions.  Always return
	a byte-code-function.
	(byte-compile-reserved-constants): New var, to make up room for
	closed-over variables.
	(byte-compile-constants-vector): Obey it.
	(byte-compile-top-level): New args `lexenv' and `reserved-csts'.
	(byte-compile-macroexpand-declare-function): New function.
	(byte-compile-form): Call byte-compile-unfold-bcf to inline immediate
	byte-code-functions.
	(byte-compile-form): Check obsolescence here.
	(byte-compile-inline-lapcode, byte-compile-unfold-bcf): New functions.
	(byte-compile-variable-ref): Remove.
	(byte-compile-dynamic-variable-op): New fun.
	(byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
	(byte-compile-variable-set): New funs.
	(byte-compile-discard): Add 2 args.
	(byte-compile-stack-ref, byte-compile-stack-set)
	(byte-compile-make-closure, byte-compile-get-closed-var): New funs.
	(byte-compile-funarg, byte-compile-funarg-2): Remove, handled in
	macroexpand-all instead.
	(byte-compile-quote-form): Remove.
	(byte-compile-push-binding-init, byte-compile-not-lexical-var-p)
	(byte-compile-bind, byte-compile-unbind): New funs.
	(byte-compile-let): Handle let* and lexical binding.
	(byte-compile-let*): Remove.
	(byte-compile-catch, byte-compile-unwind-protect)
	(byte-compile-track-mouse, byte-compile-condition-case):
	Handle a new :fun-body form, used for lexical scoping.
	(byte-compile-save-window-excursion)
	(byte-compile-with-output-to-temp-buffer): Remove.
	(byte-compile-defun): Simplify.
	(byte-compile-stack-adjustment): New fun.
	(byte-compile-out): Use it.
	(byte-compile-refresh-preloaded): Don't reload byte-compiler files.

	* emacs-lisp/byte-run.el (make-obsolete): Don't set the `byte-compile'
	handler any more.

	* emacs-lisp/byte-opt.el: Use lexical binding.
	(byte-inline-lapcode): Remove (to bytecomp).
	(byte-compile-inline-expand): Pay attention to inlining to/from
	lexically bound code.
	(byte-compile-unfold-lambda): Don't handle byte-code-functions
	any more.
	(byte-optimize-form-code-walker): Don't handle save-window-excursion
	any more and don't call compiler-macros.
	(byte-compile-splice-in-already-compiled-code): Remove.
	(byte-code): Don't inline any more.
	(disassemble-offset): Receive `bytes' as argument rather than via
	dynamic scoping.
	(byte-compile-tag-number): Declare before first use.
	(byte-decompile-bytecode-1): Handle new byte-codes, don't change
	`return' even if make-spliceable.
	(byte-compile-side-effect-and-error-free-ops): Add stack-ref, remove
	obsolete interactive-p.
	(byte-optimize-lapcode): Optimize new lap-codes.
	Don't trip up on new form of `byte-constant' lap code.

	* emacs-lisp/autoload.el (make-autoload): Don't burp on trivial macros.

	* emacs-lisp/advice.el (ad-arglist): Use help-function-arglist.

	* custom.el (custom-initialize-default, custom-declare-variable):
	Use `defvar'.

	* Makefile.in (BIG_STACK_DEPTH, BIG_STACK_OPTS, BYTE_COMPILE_FLAGS):
	New variables.
	(compile-onefile, .el.elc, compile-calc, recompile): Use them.
	(COMPILE_FIRST): Add macroexp and cconv.
	* makefile.w32-in: Mirror changes in Makefile.in.

	* vc/cvs-status.el:
	* vc/diff-mode.el:
	* vc/log-edit.el:
	* vc/log-view.el:
	* vc/smerge-mode.el:
	* textmodes/bibtex-style.el:
	* textmodes/css.el:
	* startup.el:
	* uniquify.el:
	* minibuffer.el: 
	* newcomment.el: 
	* reveal.el: 
	* server.el: 
	* mpc.el: 
	* emacs-lisp/smie.el: 
	* doc-view.el: 
	* dired.el: 
	* abbrev.el: Use lexical binding.

195 196 197 198
2011-04-01  Eli Zaretskii  <eliz@gnu.org>

	* info.el (info-display-manual): New function.

199 200 201 202
2011-03-31  Stefan Monnier  <monnier@iro.umontreal.ca>

	* loadup.el: Load minibuffer after loaddefs, to use define-minor-mode.

203 204 205 206 207
2011-03-31  Tassilo Horn  <tassilo@member.fsf.org>

	* net/rcirc.el (rcirc-handler-001): Only authenticate, if there's
	an entry for that server in rcirc-authinfo. (Bug#8385)

208 209
2011-03-31  Glenn Morris  <rgm@gnu.org>

210 211
	* progmodes/f90.el (f90-find-tag-default): Handle multiple `%'.

212 213
	* generic-x.el (etc-fstab-generic-mode): Add ext4, sysfs keywords.

214 215 216 217 218 219 220 221 222
2011-03-30  Christoph Scholtes  <cschol2112@googlemail.com>

	* progmodes/python.el (python-default-interpreter)
	(python-python-command-args, python-jython-command-args)
	(python-which-shell, python-which-args, python-which-bufname)
	(python-file-queue, python-comint-output-filter-function)
	(python-toggle-shells, python-shell): Remove obsolete defcustoms,
	variables and functions.

223 224 225 226 227 228 229 230 231 232 233 234 235 236
2011-03-30  Stefan Monnier  <monnier@iro.umontreal.ca>

	* minibuffer.el (completion-table-dynamic): Optimize `boundaries'.
	(completion-in-region-mode): New minor mode.
	(completion-in-region): Use it.
	(completion-in-region--data, completion-in-region-mode-map): New vars.
	(completion-in-region--postch): New function.
	(completion--capf-misbehave-funs, completion--capf-safe-funs):
	New vars.
	(completion--capf-wrapper): New function.
	(completion-at-point): Use it to track well-behavedness of
	hook functions.
	(completion-help-at-point): New command.

237 238 239 240 241 242
2011-03-30  Jason Merrill  <jason@redhat.com>  (tiny change)

	* vc/add-log.el (add-change-log-entry): Don't use whitespace
	syntax class to search for whitespace on a single line
	(Message-ID: <4D938140.4030905@redhat.com>).

243 244 245 246 247 248 249
2011-03-30  Leo Liu  <sdl.web@gmail.com>

	* abbrev.el (abbrev-edit-save-to-file, abbrev-edit-save-buffer):
	New commands.
	(edit-abbrevs-map): Bind them here.
	(write-abbrev-file): New optinal arg VERBOSE.  (Bug#5937)

250 251 252 253 254 255 256 257 258 259 260 261 262
2011-03-29  Ken Manheimer  <ken.manheimer@gmail.com>

	* allout.el (allout-hide-by-annotation, allout-flag-region):
	Reduce possibility of overlay leakage by making them volatile.

	* allout-widgets.el (allout-widgets-tally): Define as nil so the
	hash is not shared between buffers.  Mode initialization is
	responsible for giving it a useful starting value.
	(allout-item-span): Reduce possibility of overlay leakage by
	making them volatile.
	(allout-widgets-count-buttons-in-region): Add diagnostic function
	for tracking down button overlay leaks.

263 264 265 266 267
2011-03-29  Leo Liu  <sdl.web@gmail.com>

	* ido.el (ido-read-internal): Use the default history var
	minibuffer-history if no HISTORY is specified.

268 269
2011-03-28  Brian T. Sniffen  <bsniffen@akamai.com>  (tiny change)

270 271
	* net/imap.el (imap-shell-open, imap-process-connection-type):
	Use imap-process-connection-type for 'shell' streams as well as
272 273
	Kerberos, SSL, other subprocesses.

274 275 276 277 278 279
2011-03-28  Leo Liu  <sdl.web@gmail.com>

	* abbrev.el (abbrev-table-empty-p): New function.
	(prepare-abbrev-list-buffer): Place empty abbrev tables after
	nonempty ones.  (Bug#5937)

280 281 282 283
2011-03-27  Jan Djärv  <jan.h.d@swipnet.se>

	* cus-start.el (all): Add boolean ns-auto-hide-menu-bar.

284 285 286 287 288 289
2011-03-27  Leo Liu  <sdl.web@gmail.com>

	* ansi-color.el (ansi-color-names-vector): Allow cons cell value
	for foreground and background colors.
	(ansi-color-make-color-map): Adapt.

Leo Liu's avatar
Leo Liu committed
290 291
2011-03-25  Leo Liu  <sdl.web@gmail.com>

292 293 294
	* midnight.el (midnight-time-float): Remove.  Note it calculates
	the microsecond component incorrectly and seconds-to-time does the
	same job.
295
	Remove redundant (require 'timer).
296

Leo Liu's avatar
Leo Liu committed
297 298 299
	* ido.el (ido-read-internal): Simplify with read-from-minibuffer.
	(ido-completions): Remove unused arguments.  (Bug#8329)

300 301 302 303 304 305 306 307 308 309 310 311 312 313
2011-03-24  Stefan Monnier  <monnier@iro.umontreal.ca>

	* minibuffer.el (completion--flush-all-sorted-completions):
	Remove itself from hook.
	(completion-at-point): Let the functions perform the completion
	immediately and return nil or t.
	* comint.el (comint-dynamic-complete-functions): Now identical to
	completion-at-point-functions.
	(comint-dynamic-list-input-ring): Remove unused var `index'.
	(comint--match-partial-filename, comint--unquote&expand-filename):
	New funs, split from comint-match-partial-filename.
	(comint-dynamic-complete): Use completion-at-point.
	(comint-dynamic-complete-filename): Use comint--match-partial-filename.

314 315 316 317
2011-03-24  Drew Adams  <drew.adams@oracle.com>

	* thingatpt.el: Support `defun'.

Leo Liu's avatar
Leo Liu committed
318 319
2011-03-23  Leo Liu  <sdl.web@gmail.com>

320 321
	* abbrevlist.el: Move to obsolete/abbrevlist.el.

Leo Liu's avatar
Leo Liu committed
322 323
	* help-mode.el (help-mode-finish): Tweak regexp.

324 325
2011-03-23  Glenn Morris  <rgm@gnu.org>

Glenn Morris's avatar
Glenn Morris committed
326 327 328
	* eshell/esh-opt.el (eshell-eval-using-options):
	Do not bind unused local variable `eshell-option-stub'.

329 330
	* progmodes/gdb-mi.el (gdb): Fix typo in previous change.

331 332 333 334 335 336
2011-03-22  Juanma Barranquero  <lekktu@gmail.com>

	* emacs-lisp/derived.el (define-derived-mode): Wrap declaration of
	keymap variable in `with-no-warnings' to avoid a warning when the
	keymap has been already `defconst'ed.

337 338 339 340 341 342
2011-03-22  Leo Liu  <sdl.web@gmail.com>

	* abbrev.el (write-abbrev-file): Use utf-8 for writing if it can
	encode all chars in abbrevs; otherwise use emacs-mule or
	utf-8-emacs.  (Bug#8308)

343 344
2011-03-22  Juanma Barranquero  <lekktu@gmail.com>

345 346 347
	* simple.el (backward-delete-char-untabify):
	Avoid warning about using `delete-backward-char'.

348 349 350 351 352
	* image.el (image-type-file-name-regexps): Make it variable.
	`imagemagick-register-types' modifies it, and the user may want
	to add new extensions for known image types.
	(imagemagick-register-types): Throw error if not using ImageMagick.

353 354 355 356 357 358
2011-03-22  Leo Liu  <sdl.web@gmail.com>

	* net/rcirc.el (rcirc-completion-at-point): Return nil if point is
	located before rcirc-prompt-end-marker.
	(rcirc-complete): Error if point is not after rcirc prompt.
	Handle the case when table is nil.
359
	(rcirc-user-authenticated): Define to fix compiler warning.
360

361 362 363 364 365 366 367
2011-03-22  Chong Yidong  <cyd@stupidchicken.com>

	* custom.el (custom--inhibit-theme-enable): Make it affect only
	custom-theme-set-variables and custom-theme-set-faces.
	(provide-theme): Ignore custom--inhibit-theme-enable.
	(load-theme): Enable the theme explicitly if NO-ENABLE is non-nil.
	(custom-enabling-themes): Delete variable.
368 369
	(enable-theme): Accept only loaded themes as arguments.
	Ignore the special custom-enabled-themes variable.
370 371 372
	(custom-enabled-themes): Forbid themes from setting this.
	Eliminate use of custom-enabling-themes.
	(custom-push-theme): Quote "changed" custom var entry.
373

374 375 376 377 378
2011-03-21  Leo Liu  <sdl.web@gmail.com>

	* ido.el (ido-read-internal): Add ido-selected to history instead
	of user input.

379 380 381 382 383
2011-03-21  Stefan Monnier  <monnier@iro.umontreal.ca>

	* subr.el (deferred-action-list, deferred-action-function):
	Mark obsolete.

384 385
2011-03-21  Leo Liu  <sdl.web@gmail.com>

Leo Liu's avatar
Leo Liu committed
386 387 388
	* vc/log-view.el: Remove (require 'wid-edit), not needed after the
	change on 2011-02-13 (bug#8309).

389 390 391 392 393
	* minibuffer.el (read-file-name-function): Change default value.
	(read-file-name--defaults): Rename from read-file-name-defaults.
	(read-file-name-default): Rename from read-file-name.
	(read-file-name): Call read-file-name-function.

394 395 396 397 398
2011-03-21  Glenn Morris  <rgm@gnu.org>

	* eshell/esh-opt.el (eshell-eval-using-options, eshell-process-args):
	Doc fixes.

Chong Yidong's avatar
Chong Yidong committed
399 400 401 402 403 404 405
2011-03-21  Chong Yidong  <cyd@stupidchicken.com>

	* cus-theme.el: Add missing provide statement.
	(customize-create-theme): Extract theme value correctly.
	(custom-theme-visit-theme): Autoload.
	(customize-create-theme): Prompt before inserting default faces.

406 407 408 409 410
2011-03-20  Jay Belanger  <jay.p.belanger@gmail.com>

	* calc/calc-menu.el (calc-units-menu): Add entries for logarithmic
	units and musical notes.

411 412 413 414 415
2011-03-20  Leo  <sdl.web@gmail.com>

	* ido.el (ido-read-internal): Use completing-read-default.
	(ido-completing-read): Fix compatibility with completing-read.

416 417 418 419 420 421 422
2011-03-20  Christian Ohler  <ohler@gnu.org>

	* emacs-lisp/ert.el (ert-run-tests-batch): Remove unused variable.
	(ert-delete-all-tests): Use `called-interactively-p' rather than
	`interactive-p'.
	(ert--make-xrefs-region): Respect END.

423 424
2011-03-19  Chong Yidong  <cyd@stupidchicken.com>

425 426 427
	* dired-aux.el (dired-create-directory): Signal an error if the
	directory already exists (Bug#8246).

428 429 430 431 432
	* facemenu.el (list-colors-display): Call list-faces-display
	inside with-help-window.
	(list-colors-print): Use display property to align the final
	column, instead of checking window-width.

433 434 435 436 437 438 439
2011-03-19  Eli Zaretskii  <eliz@gnu.org>

	* emerge.el (emerge-metachars): Separate value for ms-dos and
	windows-nt systems.
	(emerge-protect-metachars): Quote correctly for ms-dos and
	windows-nt systems.

440
2011-03-19  Ralph Schleicher  <rs@ralph-schleicher.de>
Ralph Schleicher's avatar
Ralph Schleicher committed
441 442 443 444 445

	* info.el (info-initialize): Replace all uses of `:' with
	path-separator for compatibility with non-Unix systems.
	Cache quoting of path-separator.  (Bug#8258)

446
2011-03-19  Juanma Barranquero  <lekktu@gmail.com>
447 448 449 450 451

	* avoid.el (mouse-avoidance-mode, mouse-avoidance-nudge-dist)
	(mouse-avoidance-threshold, mouse-avoidance-banish-destination)
	(mouse-avoidance-mode): Fix typos in docstrings.

452 453 454 455 456 457 458 459 460 461 462 463 464
2011-03-19  Chong Yidong  <cyd@stupidchicken.com>

	* startup.el (package-subdirectory-regexp): Move from package.el.
	Omit \\` and \\', and let callers add them.

	* emacs-lisp/package.el (package-strip-version)
	(package-load-all-descriptors): Add \\` and \\' to
	package-subdirectory-regexp before using it.
	(package-untar-buffer): New arg DIR; ensure that file untars only
	into this expected directory.  Remove superfluous delete-region.
	(package-unpack): Caller changed.
	(package-tar-file-info): Use package-subdirectory-regexp.

465
2011-03-18  Stefan Monnier  <monnier@iro.umontreal.ca>
466

467 468 469
	* vc/diff-mode.el (diff-mode-map): Shadow problematic bindings from
	diff-mode-shared-map (bug#8284).
	(diff-mode-shared-map): Re-introduce some bindings that were problematic.
470 471 472 473 474 475

2011-03-17  Lars Magne Ingebrigtsen  <larsi@gnus.org>

	* calendar/time-date.el (format-seconds): Use assoc instead of
	assoc-string, since assoc-string doesn't exist in XEmacs.

476 477 478 479 480 481 482 483
2011-03-17  Juanma Barranquero  <lekktu@gmail.com>

	* custom.el (custom-known-themes): Reflow docstring.
	(custom-theme-load-path): Fix typo in docstring.
	(load-theme): Fix typo in error message.
	(custom-available-themes, custom-variable-theme-value):
	Use `let', not `let*'.

484 485 486 487 488 489 490 491 492 493 494 495 496 497 498 499 500 501 502 503 504 505 506 507 508 509 510 511 512 513 514 515 516 517 518 519 520
2011-03-17  Jay Belanger  <jay.p.belanger@gmail.com>

	* calc/README: Mention inclusion of musical notes.

	* calc/calc-units.el (calc-lu-quant): Rename from
	`calc-logunits-quantity'.
	(calcFunc-lupquant): Rename from `calcFunc-powerquant'.
	(calcFunc-lufquant): Rename from `calcFunc-fieldquant'.
	(calc-db): Rename from `calc-dblevel'.
	(calcFunc-dbpower): Rename from `calcFunc-dbpowerlevel'.
	(calcFunc-dbfield): Rename from `calcFunc-dbfieldlevel'.
	(calc-np): Rename from `calc-nplevel'.
	(calcFunc-nppower): Rename from `calcFunc-nppowerlevel'.
	(calcFunc-npfield): Rename from `calcFunc-npfieldlevel'.
	(calc-lu-plus): Rename from `calc-logunits-add'.
	(calcFunc-lupadd): Rename from `calcFunc-lupoweradd'.
	(calcFunc-lufadd): Rename from `calcFunc-lufieldadd'.
	(calc-lu-minus): Rename from `calc-logunits-sub'.
	(calcFunc-lupsub): Rename from `calcFunc-lupowersub'.
	(calcFunc-lufsub): Rename from `calcFunc-lufieldsub'.
	(calc-lu-times): Rename from `calc-logunits-mul'.
	(calcFunc-lupmul): Rename from `calcFunc-lupowermul'.
	(calcFunc-lufmul): Rename from `calcFunc-lufieldmul'.
	(calc-lu-divide): Rename from `calc-logunits-div'.
	(calcFunc-lupdiv): Rename from `calcFunc-lupowerdiv'.
	(calcFunc-lufdiv): Rename from `calcFunc-lufielddiv'.

	* calc/calc-ext.el (calc-init-extensions): Update the names of the
	functions being autoloaded.

	* calc/calc.el (calc-lu-power-reference): Rename from
	`calc-logunits-power-reference'.
	(calc-lu-field-reference): Rename from
	`calc-logunits-field-reference'.

	* calc/calc-help (calc-l-prefix-help): Mention musical note functions.

521 522 523 524 525
2011-03-17  Stefan Monnier  <monnier@iro.umontreal.ca>

	* minibuffer.el (completion-all-sorted-completions):
	Use :completion-cycle-penalty text property if present.

526 527 528 529 530 531
2011-03-16  Ken Manheimer  <ken.manheimer@gmail.com>

	* allout.el (allout-yank-processing): Adjust for new rebulleting
	regime so bullet being yanked is used without prompting the user
	for a choice.

532 533 534 535
2011-03-16  Juanma Barranquero  <lekktu@gmail.com>

	* startup.el (command-line): Warn the user that _emacs is deprecated.

536 537 538 539 540 541 542 543 544 545 546
2011-03-16  Juanma Barranquero  <lekktu@gmail.com>

	* progmodes/delphi.el (delphi-search-path, delphi-indent-level)
	(delphi-verbose, delphi-comment-face, delphi-string-face)
	(delphi-keyword-face, delphi-ignore-changes, delphi-indent-line)
	(delphi-mode-abbrev-table, delphi-debug-buffer, delphi-tab)
	(delphi-find-unit, delphi-find-current-xdef, delphi-fill-comment)
	(delphi-new-comment-line, delphi-font-lock-defaults)
	(delphi-debug-mode-map, delphi-mode-syntax-table, delphi-mode):
	Fix typos in docstrings.

547 548
2011-03-15  Ken Manheimer  <ken.manheimer@gmail.com>

549
	* allout.el (allout-make-topic-prefix, allout-rebullet-heading):
550 551 552
	Invert the roles of character and string values for INSTEAD, so a
	string is used for the more common case of a defaulting prompt.

553 554 555 556 557 558 559 560 561 562 563 564
2011-03-15  Stefan Monnier  <monnier@iro.umontreal.ca>

	* progmodes/ruby-mode.el (ruby-backward-sexp):
	* progmodes/ebrowse.el (ebrowse-draw-file-member-info):
	* play/gamegrid.el (gamegrid-make-face):
	* play/bubbles.el (bubbles--grid-width, bubbles--grid-height)
	(bubbles--colors, bubbles--shift-mode, bubbles--initialize-images):
	* notifications.el (notifications-notify):
	* net/xesam.el (xesam-search-engines):
	* net/quickurl.el (quickurl-list-insert):
	* vc/vc-hg.el (vc-hg-dir-printer): Fix use of case.

565 566 567 568
2011-03-15  Chong Yidong  <cyd@stupidchicken.com>

	* startup.el (command-line): Update package subdirectory regexp.

569 570
2011-03-15  Stefan Monnier  <monnier@iro.umontreal.ca>

571 572 573
	* allout.el (allout-abbreviate-flattened-numbering)
	(allout-mode-deactivate-hook): Fix up obsolescence "date".

574 575 576
	* subr.el (read-char-choice): Only show the cursor after the prompt,
	not after the answer.

577 578 579 580 581
2011-03-15  Kevin Ryde  <user42@zip.com.au>

	* help-fns.el (variable-at-point): Skip leading quotes, if any
	(bug#8253).

582 583 584 585 586
2011-03-15  Stefan Monnier  <monnier@iro.umontreal.ca>

	* emacs-lisp/bytecomp.el (byte-compile-save-excursion): Change the
	warning message.

587 588 589 590 591
2011-03-14  Michael Albinus  <michael.albinus@gmx.de>

	* shell.el (shell): When called interactively, offer to change the
	shell file name on remote hosts.

592 593 594 595 596 597 598 599
2011-03-13  Teodor Zlatanov  <tzz@lifelogs.com>

	* net/ldap.el (ldap-search-internal): Add `auth-source-search'
	integration for LDAP parameters.  The host, base, user or binddn,
	and secret tokens can be specified in a netrc file, for instance.
	This is optional because an `auth-source' parameter must be
	specified in the search attributes.

600 601 602 603
2011-03-13  Juanma Barranquero  <lekktu@gmail.com>

	* help.el (describe-mode): Link to the mode's definition (bug#8185).

604 605 606 607 608 609 610 611 612 613 614 615 616 617 618 619 620
2011-03-12  Stefan Monnier  <monnier@iro.umontreal.ca>

	* ebuff-menu.el (electric-buffer-menu-mode-map): Move initialization
	into declaration.  Remove redundant and harmful binding.

2011-03-12  Eli Zaretskii  <eliz@gnu.org>

	* files.el (file-ownership-preserved-p): Pass `integer' as an
	explicit 2nd argument to `file-attributes'.  If the file's owner
	is the Administrators group on Windows, and the current user is
	Administrator, consider that a match.

	* server.el (server-ensure-safe-dir): Consider server directory
	safe on MS-Windows if its owner is the Administrators group while
	the current Emacs user is Administrator.  Use `=' to compare
	numerical UIDs, since they could be integers or floats.

Juanma Barranquero's avatar
Juanma Barranquero committed
621 622 623 624
2011-03-12  Juanma Barranquero  <lekktu@gmail.com>

	* vc/vc-bzr.el (vc-bzr-state): Handle bzr 2.3.0 (follow-up to bug#8170).

Michael Albinus's avatar
Michael Albinus committed
625 626 627 628 629 630 631 632
2011-03-12  Michael Albinus  <michael.albinus@gmx.de>

	Sync with Tramp 2.2.1.

	* net/tramp-sh.el (tramp-methods): Exchange "%k" marker with options.

	* net/trampver.el: Update release number.

633 634
2011-03-12  Stefan Monnier  <monnier@iro.umontreal.ca>

635 636 637 638 639
	* progmodes/compile.el (compilation--previous-directory): Fix up
	various nil/dead-marker mismatches (bug#8014).
	(compilation-directory-properties, compilation-error-properties):
	Don't call it at a position past the one we're about to change.

640 641 642
	* emacs-lisp/bytecomp.el (byte-compile-make-obsolete-variable):
	Disable obsolescence warnings in the file that declares it.

643 644
2011-03-11  Ken Manheimer  <ken.manheimer@gmail.com>

Juanma Barranquero's avatar
Juanma Barranquero committed
645
	* allout-widgets.el (allout-widgets-tally): Initialize
646 647 648 649
	allout-widgets-tally as a hash table rather than nil to prevent
	mode-line redisplay warnings.
	Also, clarify the module description and fix a comment typo.

650 651 652 653 654
2011-03-11  Juanma Barranquero  <lekktu@gmail.com>

	* help-fns.el (describe-variable): Don't complete keywords.
	Suggested by Teodor Zlatanov <tzz@lifelogs.com>.

655 656
2011-03-10  Chong Yidong  <cyd@stupidchicken.com>

657 658 659 660 661 662
	* emacs-lisp/package.el (package-version-join): Impose a standard
	string representation for pre/alpha/beta version lists.
	(package-unpack-single): Standardize the directory name by passing
	it through package-version-join.
	(package-strip-rcs-id): Accept any version string that does not
	signal an error in version-to-list.
663

664 665 666 667 668
2011-03-10  Michael Albinus  <michael.albinus@gmx.de>

	* simple.el (delete-trailing-whitespace): Return nil for the
	benefit of `write-file-functions'.

669 670
2011-03-10  Glenn Morris  <rgm@gnu.org>

671 672
	* vc/vc-hg.el (vc-hg-pull, vc-hg-merge-branch): Use vc-hg-program.

673 674 675 676
	* vc/vc-git.el (vc-git-program): New option.
	(vc-git-branches, vc-git-pull, vc-git-merge-branch, vc-git-command)
	(vc-git--call): Use it.

677 678
	* eshell/esh-util.el (eshell-condition-case): Doc fix.

Glenn Morris's avatar
Glenn Morris committed
679 680 681
	* cus-edit.el (Custom-newline): If no button at point, look
	for a subgroup button at start-of-line.  (Bug#2298)

682 683
	* mail/rmail.el (rmail-msgend, rmail-msgbeg): Doc fixes.

684 685 686 687 688
2011-03-10  Julien Danjou  <julien@danjou.info>

	* avoid.el (mouse-avoidance-ignore-p): Do not move the cursor if
	`cursor-type' is nil.

689 690 691 692
2011-03-09  Jay Belanger  <jay.p.belanger@gmail.com>

	* calc/calc.el (calc-mode-map): Don't bind "C-_" to `calc-missing-key'.

693 694 695 696 697 698
2011-03-09  Ken Manheimer  <ken.manheimer@gmail.com>

	* allout.el Summary: Change so yank of distinctive-bullet items
	preserves the existing header prefix, rebulleting it if necessary,
	rather than replacing it.  This is necessary for proper operation
	of cooperative addons like allout-widgets.
Juanma Barranquero's avatar
Juanma Barranquero committed
699
	(allout-make-topic-prefix, allout-rebullet-heading): Change
700 701 702 703
	SOLICIT arg to INSTEAD, and interpret additionally a string value
	as alternate bullet to be used, instead of prompting the user for
	a bullet character.

704 705
2011-03-09  Michael Albinus  <michael.albinus@gmx.de>

706 707
	* net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
	Do not use `tramp-file-name-port', because this returns also
708 709
	`tramp-default-port'.

710 711 712 713 714 715
2011-03-09  Deniz Dogan  <deniz.a.m.dogan@gmail.com>

	* net/rcirc.el (rcirc-handler-001): Remove useless
	with-rcirc-process-buffer.
	(rcirc-check-auth-status): Swap arguments to string-match.

Glenn Morris's avatar
Glenn Morris committed
716 717
2011-03-09  Glenn Morris  <rgm@gnu.org>

718 719 720
	* shell.el (shell-mode):
	Set comint-input-ring-size from HISTSIZE.  (Bug#7889)

Glenn Morris's avatar
Glenn Morris committed
721 722 723
	* progmodes/gdb-mi.el (gdb): Improve 2010-12-08 change.
	Check for GDBHISTFILE, HISTSIZE, etc.  (Bug#7889)

724 725 726 727 728
2011-03-08  Chong Yidong  <cyd@stupidchicken.com>

	* emacs-lisp/package.el (package-refresh-contents)
	(package-menu-execute): Use condition-case-no-debug.

729 730 731 732 733 734 735
2011-03-08  Michael Albinus  <michael.albinus@gmx.de>

	* simple.el (shell-command-to-string): Use `process-file'.

	* emacs-lisp/package.el (package-tar-file-info): Handle also
	remote files.

736 737
	* emacs-lisp/package-x.el (package-upload-buffer-internal):
	Use `equal' for upload base check.
738

739 740 741 742 743
2011-03-08  Arni Magnusson  <arnima@hafro.is>  (tiny change)

	* textmodes/texinfo.el (texinfo-environments):
	Add deftypecv, deftypeivar, deftypemethod, deftypeop, html.  (Bug#2783)

744 745
2011-03-08  Glenn Morris  <rgm@gnu.org>

Glenn Morris's avatar
Glenn Morris committed
746 747 748
	* cus-start.el (cursor-in-non-selected-windows):
	Fix :set quoting oddness.  (Bug#8192)

749 750 751
	* font-lock.el (lisp-font-lock-keywords-1): Don't highlight `)'
	in some setf expressions.  (Bug#2159)

752 753 754 755 756
2011-03-08  Chong Yidong  <cyd@stupidchicken.com>

	* custom.el (custom-available-themes): Return themes in
	alphabetical order.

757 758 759 760 761
2011-03-07  Chong Yidong  <cyd@stupidchicken.com>

	* progmodes/cc-cmds.el (c-beginning-of-statement): Fix incorrect
	application of patch from Alan Mackenzie (Bug#7595).

762 763 764 765
2011-03-07  Deniz Dogan  <deniz.a.m.dogan@gmail.com>

	* net/rcirc.el (rcirc-connect): Fix PASS bug.

766 767 768
2011-03-07  Glenn Morris  <rgm@gnu.org>

	* vc/vc.el (vc-next-action): Add missing space to y-or-n-p prompt.
Glenn Morris's avatar
Glenn Morris committed
769
	Give an explicit error if failed to make writable.  (Bug#6146)
770

771 772 773 774 775
2011-03-07  Ed Reingold  <reingold@emr.cs.iit.edu>

	* calendar/cal-hebrew.el (diary-hebrew-yahrzeit):
	Add optional `after-sunset' argument.  (Bug#8190)

776 777 778 779
2011-03-07  Aaron S. Hawley  <aaron.s.hawley@gmail.com>

	* play/morse.el (nato-alphabet, nato-region, denato-region):
	New variable and functions.  (Bug#2288)
780
	(morse-region, unmorse-region): Barf if read-only.
781

782 783 784 785 786
2011-03-06  Stefan Monnier  <monnier@iro.umontreal.ca>

	* progmodes/gud.el (gdb-script-syntax-propertize-function):
	Don't change the syntax of a \n that closes a comment (bug#8169).

787 788 789 790 791 792 793 794 795 796 797 798 799 800
2011-03-06  Chong Yidong  <cyd@stupidchicken.com>

	* emacs-lisp/package-x.el (package-archive-upload-base): Make it a
	defcustom.
	(package--update-file): Doc fix.  Accept relative file names.
	(package--archive-contents-from-file): Remove the argument, since
	it's necessarily always "archive-contents".
	(package-maint-add-news-item): Pass relative file name args to
	package--update-file.
	(package-upload-buffer-internal): Prompt for a destination if
	package-archive-upload-base is invalid.  Create the directory if
	it does not exist.
	(package-upload-buffer, package-upload-file): Doc fix.

801 802 803 804 805
2011-03-06  Chong Yidong  <cyd@stupidchicken.com>

	* isearch.el (isearch-mode-map): Bind C-y to isearch-yank-kill,
	and move isearch-yank-line to M-s C-e (Bug#8183).

806 807 808
2011-03-06  Alan Mackenzie  <acm@muc.de>

	* progmodes/cc-engine.el (c-guess-basic-syntax): Reindent.
809 810
	(c-guess-basic-syntax): Move CASE 19 to a different place,
	correctly to process template-args-cont lines.
811

812 813
2011-03-06  Jay Belanger  <jay.p.belanger@gmail.com>

814 815
	* calc/calc-ext.el (calc-init-extensions):
	Rename calc-logunits-dblevel and calc-logunits-nplevel to calc-dblevel
816 817 818
	and calc-nplevel, respectively.  Add keybindings for calc-spn,
	calc-midi and calc-freq.  Add autoloads for calcFunc-spn,
	calcFunc-midi, calcFunc-freq, calc-spn, calc-midi and calc-freq.
819 820 821 822

	* calc/calc-units.el (calc-dblevel): Rename from
	calc-logunits-dblevel.
	(calc-nplevel): Rename from calc-logunits-nplevel.
823 824 825 826 827 828 829
	(math-midi-round, math-freqp, math-midip, math-spnp)
	(math-spn-to-midi, math-midi-to-spn, math-freq-to-spn)
	(math-midi-to-freq, math-spn-to-freq, calcFunc-spn, calcFunc-midi)
	(calcFunc-freq, calc-freq, calc-midi, calc-spn): New functions.
	(math-notes): New variable.

	* calc/calc.el (calc-note-threshold): New variable.
830

831 832 833 834 835 836 837 838 839 840
2011-03-06  Chong Yidong  <cyd@stupidchicken.com>

	* emacs-lisp/package.el (package-archives): Accept either ordinary
	directory names, in addition to HTTP URLs.
	(package--with-work-buffer): New macro.   Handle normal directories.
	(package-handle-response): Don't display the failing buffer.
	(package-download-single, package-download-tar)
	(package--download-one-archive): Use package--with-work-buffer.
	(package-archive-base): Rename from package-archive-url.

Glenn Morris's avatar
Glenn Morris committed
841 842 843 844 845
2011-03-06  Glenn Morris  <rgm@gnu.org>

	* generic-x.el (generic-unix-modes): Add xmodmap-generic-mode.
	(xmodmap-generic-mode): Respect generic-extras-enable-list.

846 847 848 849
2011-03-06  Daniel Clemente  <dcl441-bugs@yahoo.com>  (tiny change)

	* generic-x.el (xmodmap-generic-mode): New.  (Bug#2065)

Juanma Barranquero's avatar
Juanma Barranquero committed
850 851 852 853 854 855 856
2011-03-06  Juanma Barranquero  <lekktu@gmail.com>

	* allout.el (allout-init, allout-prefixed-keybindings)
	(allout-unprefixed-keybindings):
	* progmodes/prolog.el (prolog-find-term):
	Fix typos in docstrings.

857 858 859 860
2011-03-06  Nikolaj Schumacher  <me@nschum.de>  (tiny change)

	* emacs-lisp/elp.el (elp-results): Fix off-by-one in header.  (Bug#2746)

861 862 863 864
2011-03-06  Kevin Ryde  <user42@zip.com.au>

	* textmodes/sgml-mode.el (sgml-fill-nobreak): Give it a doc.  (Bug#5326)

865 866 867 868 869
2011-03-06  Michael Shields  <shields@msrl.com>  (tiny change)

	* window.el (one-window-p, walk-windows, display-buffer):
	Doc fixes.  (Bug#5567)

870 871 872 873 874
2011-03-06  Jay Belanger  <jay.p.belanger@gmail.com>

	* cus-edit.el (custom-prompt-variable): Use the `custom-get' property
	of the variable if it exists.

Juanma Barranquero's avatar
Juanma Barranquero committed
875 876 877 878 879 880 881 882
2011-03-06  Juanma Barranquero  <lekktu@gmail.com>

	* bookmark.el:
	* desktop.el:
	* emacs-lock.el:
	* ps-print.el:
	* saveplace.el:
	* net/tramp-cache.el:
Juanma Barranquero's avatar
Juanma Barranquero committed
883
	* obsolete/fast-lock.el:
Juanma Barranquero's avatar
Juanma Barranquero committed
884 885 886
	* textmodes/reftex.el:
	Don't set `kill-emacs-hook' on noninteractive sessions (bug#8137).

887 888
2011-03-05  Antoine Levitt  <antoine.levitt@gmail.com>

Juanma Barranquero's avatar
Juanma Barranquero committed
889 890
	* files.el (delete-directory, copy-directory, list-directory):
	Use read-directory-name.
891 892 893 894 895 896 897 898 899 900 901 902 903 904

	* find-file.el (ff-find-the-other-file):
	* net/ange-ftp.el (ange-ftp-make-directory):
	* printing.el (pr-interactive-dir):
	* progmodes/ada-prj.el (ada-prj-load-directory):
	* progmodes/ebnf2ps.el (ebnf-print-directory)
	(ebnf-spool-directory, ebnf-eps-directory)
	(ebnf-syntax-directory):
	* shell.el (shell):
	* speedbar.el (speedbar-create-directory):
	* vc/emerge.el (emerge-merge-directories):
	* vc/vc-dir.el (vc-dir):
	* vc/vc.el (vc-create-tag, vc-retrieve-tag): Likewise.

905 906 907 908 909
2011-03-05  Chong Yidong  <cyd@stupidchicken.com>

	* help-mode.el (help-buffer): If we are to return the current
	buffer, signal an error if it's not in Help mode (Bug#8147).

910 911 912 913 914
2011-03-05  Reuben Thomas  <rrt@sc3d.org>

	* files.el (file-name-version-regexp): Handle backup files of the
	form `foo.js.~HEAD~1~' (Bug#8159).

915 916 917 918 919
2011-03-05  Glenn Morris  <rgm@gnu.org>

	* eshell/esh-var.el: Don't require esh-test when compiling.
	* eshell/em-banner.el, eshell/esh-cmd.el, eshell/esh-mode.el:
	* eshell/esh-var.el, eshell/eshell.el: Move tests to esh-test.
Juanma Barranquero's avatar
Juanma Barranquero committed
920
	* eshell/esh-test.el: Move to ../../test/eshell.el.
921

922 923 924 925 926
2011-03-05  David Engster  <deng@randomsample.de>

	* files.el (save-some-buffers): Report the names of buffers saved
	automatically due to buffer-save-without-query (Bug#8134).

927 928 929 930 931 932
2011-03-05  Deniz Dogan  <deniz.a.m.dogan@gmail.com>

	* net/rcirc.el: Add QuakeNet authentication support.
	(rcirc-authinfo, rcirc-check-auth-status)
	(rcirc-authenticate): Support QuakeNet.

933 934 935 936 937 938 939 940
2011-03-05  Deniz Dogan  <deniz.a.m.dogan@gmail.com>

	* net/rcirc.el: Add functionality to authenticate before
	autojoining channels.
	(rcirc-authenticate-before-join): New option.
	(rcirc-authenticated-hook): New variable.
	(rcirc-connect): Make local variable rcirc-user-authenticated.
	(rcirc-handler-001): Respect rcirc-authenticate-before-join.
Juanma Barranquero's avatar
Juanma Barranquero committed
941 942 943 944
	(rcirc-check-auth-status, rcirc-join-channels-post-auth):
	New functions.
	(rcirc-handler-PRIVMSG, rcirc-handler-NOTICE):
	Call rcirc-check-auth-status.
945

946 947 948 949 950 951 952
2011-03-05  Alex Harsanyi  <AlexHarsanyi@gmail.com>

	* net/soap-client.el (soap-namespace-put-link): Check if the target
	name is fully qualified -- use only the name part.
	(soap-parse-complex-type, soap-parse-sequence): Recognize xsd:all
	types, treated the same as xsd:sequence.  (Bug#8166)

953 954 955 956 957 958
2011-03-05  Eli Zaretskii  <eliz@gnu.org>

	* files.el (find-file-noselect): Don't ask about re-visiting
	non-literally if the file is already visited in image-mode.
	(Bug#8177)

959 960
2011-03-05  Glenn Morris  <rgm@gnu.org>

961 962 963 964 965 966 967 968 969 970 971 972 973 974 975 976 977 978 979 980 981 982 983 984 985 986 987 988 989
	* eshell/esh-mode.el (eshell-kill-buffer-function): New function.
	(eshell-mode): Use eshell-kill-buffer-function.
	Run the -initialize functions independently of the -load-hooks.
	* eshell/esh-proc.el (eshell-kill-process-function): New function.
	(eshell-gather-process-output, eshell-sentinel)
	(eshell-interrupt-process, eshell-kill-process, eshell-quit-process):
	Use eshell-kill-process-function.
	* eshell/em-alias.el (eshell-alias-load-hook):
	* eshell/em-banner.el (eshell-banner-load-hook):
	* eshell/em-cmpl.el (eshell-cmpl-load-hook):
	* eshell/em-dirs.el (eshell-dirs-load-hook):
	* eshell/em-glob.el (eshell-glob-load-hook):
	* eshell/em-hist.el (eshell-hist-load-hook):
	* eshell/em-pred.el (eshell-pred-load-hook):
	* eshell/em-prompt.el (eshell-prompt-load-hook):
	* eshell/em-rebind.el (eshell-rebind-load-hook):
	* eshell/em-script.el (eshell-script-load-hook):
	* eshell/em-smart.el (eshell-smart-load-hook):
	* eshell/em-term.el (eshell-term-load-hook):
	* eshell/em-unix.el (eshell-unix-load-hook):
	* eshell/esh-arg.el (eshell-arg-load-hook):
	* eshell/esh-cmd.el (eshell-cmd-load-hook):
	* eshell/esh-ext.el (eshell-ext-load-hook):
	* eshell/esh-io.el (eshell-io-load-hook):
	* eshell/esh-mode.el (eshell-exit-hook):
	* eshell/esh-proc.el (eshell-proc-load-hook, eshell-kill-hook):
	* eshell/esh-var.el (eshell-var-load-hook):
	Set default hook values to nil.  (Bug#5375)

Glenn Morris's avatar
Glenn Morris committed
990 991 992
	* eshell/esh-module.el (eshell-module-unload-hook)
	(eshell-modules-list): Remove leading * from defcustom docs.

993 994 995 996 997 998 999 1000 1001 1002 1003 1004 1005 1006 1007 1008 1009 1010 1011 1012 1013
	* eshell/esh-util.el (eshell-for): Make it obsolete.
	* eshell/em-alias.el (eshell/alias, eshell-alias-completions):
	* eshell/em-dirs.el (eshell-save-some-last-dir):
	* eshell/em-hist.el (eshell-save-some-history)
	(eshell-hist-parse-modifier):
	* eshell/em-ls.el (eshell-ls-dir, eshell-ls-files)
	(eshell-ls-entries):
	* eshell/em-unix.el (eshell/cat, eshell/du, eshell/su):
	* eshell/esh-cmd.el (eshell-invoke-directly, eshell-do-eval)
	(eshell/which):
	* eshell/esh-ext.el (eshell-find-interpreter):
	* eshell/esh-mode.el (eshell-mode):
	* eshell/esh-module.el (eshell-unload-extension-modules):
	* eshell/esh-proc.el (eshell-process-interact):
	* eshell/esh-test.el (eshell-test):
	* eshell/esh-util.el (eshell-flatten-list, eshell-winnow-list):
	* eshell/esh-var.el (eshell/env, eshell-environment-variables)
	(eshell-variables-list):
	* eshell/eshell.el (eshell-unload-all-modules):
	Replace eshell-for with dolist.

1014 1015 1016 1017
2011-03-04  Glenn Morris  <rgm@gnu.org>

	* vc/vc-bzr.el (vc-bzr-after-dir-status): Handle bzr 2.3.0.  (Bug#8170)

1018 1019 1020 1021
2011-03-04  Tom Tromey  <tromey@redhat.com>

	* progmodes/gud.el (gdb-script-mode): Derive from prog-mode.

Glenn Morris's avatar
Glenn Morris committed
1022 1023
2011-03-04  Glenn Morris  <rgm@gnu.org>

Glenn Morris's avatar
Glenn Morris committed
1024 1025 1026
	* outline.el (outline-regexp): No longer allow nil.
	(outline-heading-end-regexp): Add safety predicate.  (Bug#7619)

Glenn Morris's avatar
Glenn Morris committed
1027 1028 1029
	* net/browse-url.el (browse-url):
	Handle deleted default-directory.  (Bug#6077)

Glenn Morris's avatar
Glenn Morris committed
1030 1031 1032
	* recentf.el (recentf-include-p): In case of a buggy predicate,
	err on the side of including, not excluding.  (Bug#5843)

1033 1034 1035 1036 1037
2011-03-04  Jay Belanger  <jay.p.belanger@gmail.com>

	* calc/calc-units.el (math-to-standard-rec): Don't treat subscripted
	variables as units.

Bob Rogers's avatar
Bob Rogers committed
1038 1039 1040 1041 1042
2011-03-04  Bob Rogers  <rogers@rgrjr.dyndns.org>

	* emacs-lisp/ewoc.el (ewoc-goto-next): Give a more explicit error
	if there is no node.  (Bug#3261)

1043 1044
2011-03-04  Leo  <sdl.web@gmail.com>

1045 1046
	* vc/diff-mode.el (diff-mode): Fix whitespace-style.  (Bug#8139)

1047 1048
	* time.el (display-time-world-list): Fix typo.  (Bug#7571)

Glenn Morris's avatar
Glenn Morris committed
1049
2011-03-04  Zachary Kanfer  <zkanfer@gmail.com>  (tiny change)
1050 1051 1052 1053

	* cus-edit.el (custom-buffer-create-internal):
	Split search string before passing it to `customize-apropos' (bug#8136).

1054 1055 1056 1057 1058
2011-03-04  Drew Adams  <drew.adams@oracle.com>

	* image-dired.el (image-dired-cmd-read-exif-data-options):
	Fix typo in docstring (bug#8156).

1059 1060 1061 1062
2011-03-03  Deniz Dogan  <deniz.a.m.dogan@gmail.com>

	* net/rcirc.el (rcirc-cmd-join): Accept comma-separated input.

1063 1064 1065
2011-03-03  Christian Ohler  <ohler@gnu.org>

	* emacs-lisp/ert.el (ert--explain-equal): New function.
1066
	(ert--explain-equal-rec): Rename from `ert--explain-not-equal'.
1067
	All callers changed.
1068
	(ert--explain-equal-including-properties): Rename from
1069 1070 1071
	`ert--explain-not-equal-including-properties'.  All callers
	changed.

1072 1073 1074 1075 1076 1077 1078
2011-03-03  Christian Ohler  <ohler@gnu.org>

	* emacs-lisp/ert.el (ert--stats-set-test-and-result)
	(ert-char-for-test-result, ert-string-for-test-result)
	(ert-run-tests-batch, ert--print-test-for-ewoc):
	Handle `ert-test-quit'.

1079 1080 1081 1082 1083
2011-03-03  David Abrahams  <dave@boostpro.com>  (tiny change)

	* vc/ediff-init.el (ediff-use-faces, ediff-highlight-all-diffs):
	Move ediff-defvar-local calls after defcustoms.  (Bug#1821)

1084 1085 1086 1087
2011-03-03  Glenn Morris  <rgm@gnu.org>

	* files.el (file-truename): Doc fix.  (Bug#2341)

Bob Rogers's avatar
Bob Rogers committed
1088 1089
2011-03-03  Bob Rogers  <rogers-emacs@rgrjr.dyndns.org>

Juanma Barranquero's avatar
Juanma Barranquero committed
1090
	* vc/vc-dir.el (vc-dir-mode-map): Bind vc-dir-find-file to e (Bug#7349).
Bob Rogers's avatar
Bob Rogers committed
1091

1092 1093 1094 1095 1096
2011-03-03  Vagn Johansen  <gonz808@hotmail.com>  (tiny change)

	* vc/vc-svn.el (vc-svn-after-dir-status): Some MS Windows svn client
	programs output backslashes.  (Bug#7663)

Glenn Morris's avatar
Glenn Morris committed
1097 1098
2011-03-03  Glenn Morris  <rgm@gnu.org>

Glenn Morris's avatar
Glenn Morris committed
1099 1100 1101 1102
	* mail/sendmail.el (mail-mode-map): Remove mail-sent-via.
	(mail-mode): Remove mail-sent-via from the doc.
	(mail-sent-via): Make it obsolete.  (Bug#1776)

Glenn Morris's avatar
Glenn Morris committed
1103 1104 1105
	* progmodes/grep.el (grep-highlight-matches): Doc fix.
	(grep-process-setup): No highlighting without font-lock.  (Bug#8084)

Glenn Morris's avatar
Glenn Morris committed
1106 1107 1108
	* vc/vc-bzr.el (vc-bzr-state-heuristic): Handle dirstate entries
	with no parents.  (Bug#8025)

1109 1110 1111 1112
2011-03-02  Teodor Zlatanov  <tzz@lifelogs.com>

	* password-cache.el (password-in-cache-p): Add autoload.

1113 1114
2011-03-02  Glenn Morris  <rgm@gnu.org>

1115 1116 1117 1118
	* man.el (Man-support-local-filenames): Also handle Red Hat's man.
	* dired-x.el (Man-support-local-filenames): Autoload it.
	(dired-guess-shell-alist-default): Also handle Red Hat's man.

1119 1120 1121 1122
	* dired-x.el (dired-default-directory-alist, dired-default-directory):
	Mark as obsolete.
	(dired-smart-shell-command): Just call dired-current-directory.

Glenn Morris's avatar
Glenn Morris committed
1123 1124 1125 1126
	* dired-x.el (dired-jump-other-window): Add autoload.
	(dired-default-directory-alist, dired-default-directory): Doc fixes.
	(dired-default-directory-alist): Mark as risky.

1127 1128
	* dired-x.el (dired-omit-here-always): Make it obsolete.

1129 1130 1131 1132 1133 1134 1135
2011-03-02  Chong Yidong  <cyd@stupidchicken.com>

	* textmodes/artist.el (artist-curr-go): Default to pen-line.
	(artist-select-op-pen-line): New function.
	(artist-menu-map): New variable.
	(artist-mode-map): Add a menu to the menu-bar.

1136 1137 1138 1139 1140 1141 1142 1143 1144 1145 1146 1147 1148
2011-03-02  Jay Belanger  <jay.p.belanger@gmail.com>

	* calc/calc-math.el (calcFunc-log10): Check for symbolic mode
	when evaluating.

	* calc/calc-units.el (math-conditional-apply, math-conditional-pow):
	New function.
	(math-logunits-add, math-logunits-mul, math-logunits-divide):
	(math-logunits-quant, math-logunits-level):
	Use `math-conditional-apply' and `math-conditional-pow' to evaluate
	functions.
	(math-logunits-level): Extract units from ratio.

1149 1150 1151 1152
2011-03-01  Juanma Barranquero  <lekktu@gmail.com>

	* emacs-lisp/cl-macs.el (lexical-let*): Fix argument name in docstring.

1153 1154
2011-03-01  Glenn Morris  <rgm@gnu.org>

Glenn Morris's avatar
Glenn Morris committed
1155 1156 1157
	* calendar/cal-hebrew.el (calendar-hebrew-birthday)
	(diary-hebrew-birthday): Rename and rework functions added
	in previous change.
1158

1159 1160 1161 1162 1163
2011-03-01  Ed Reingold  <reingold@emr.cs.iit.edu>

	* calendar/cal-hebrew.el (hebrew-calendar-birthday)
	(diary-hebrew-birthday): New functions.

1164 1165 1166 1167 1168
2011-03-01  Glenn Morris  <rgm@gnu.org>

	* dired.el (dired-safe-switches-p): Beef it up.
	(dired-actual-switches): Use it for the safe-local prop.  (Bug#3230)

1169 1170 1171 1172
2011-03-01  Stefan Monnier  <monnier@iro.umontreal.ca>

	* dired.el (dired-safe-switches-p): New function.

1173 1174 1175 1176 1177 1178 1179
2011-03-01  Glenn Morris  <rgm@gnu.org>

	* files.el (dir-locals-collect-variables):
	Add the ability to exclude subdirectories.  (Bug#8100)

	* dired-x.el (dired-omit-here-always): Add `(subdirs . nil)' to locals.

1180 1181 1182 1183 1184
2011-02-28  Christoph Scholtes  <cschol2112@googlemail.com>

	* ido.el (ido-everywhere): Doc fix.
	(ido-mode): Doc fix.

1185 1186 1187 1188
2011-02-28  Glenn Morris  <rgm@gnu.org>

	* dired-x.el (dired-guess-shell-alist-default): Use \\', not $.

1189 1190 1191 1192 1193
2011-02-28  Michael Albinus  <michael.albinus@gmx.de>

	* net/tramp-cmds.el (tramp-append-tramp-buffers): Dump load-path
	shadows.

1194
2011-02-28  Antoine Levitt  <antoine.levitt@gmail.com>
1195 1196 1197

	* dired-x.el (dired-guess-shell-alist-default): Add rar and 7z.

1198 1199 1200 1201 1202
2011-02-28  Juanma Barranquero  <lekktu@gmail.com>

	* emacs-lisp/pcase.el (pcase, pcase--u1, pcase--q1):
	Fix typos in docstrings.

Stephen Berman's avatar
Stephen Berman committed
1203 1204 1205 1206 1207
2011-02-28  Stephen Berman  <stephen.berman@gmx.net>

	* dired-aux.el (dired-update-file-line):
	Fix 2010-11-09 change.  (Bug#8131)

1208
2011-02-28  Eli Zaretskii  <eliz@gnu.org>
1209 1210 1211 1212 1213

	* international/mule-cmds.el (set-default-coding-systems): Use the
	-unix variant of encoding in default-keyboard-coding-system.
	(Bug#8122)

1214 1215 1216 1217
2011-02-27  Chong Yidong  <cyd@stupidchicken.com>

	* facemenu.el (list-colors-display): Use with-help-window (Bug#8048).

Glenn Morris's avatar
Glenn Morris committed
1218
2011-02-27  Prestoo Ten  <prestooten@gmail.com>  (tiny change)
1219 1220 1221

	* term/screen.el: New file (Bug#2650).

1222 1223 1224 1225 1226 1227 1228 1229 1230 1231
2011-02-27  Stefan Monnier  <monnier@iro.umontreal.ca>

	* emacs-lisp/pcase.el (pcase--if): Try to invert test to reduce depth.
	(pcase-mutually-exclusive-predicates): New var.
	(pcase--split-consp, pcase--split-pred): Use it.
	(pcase--split-equal, pcase--split-member): When splitting against
	a pure predicate, run it to know the outcome.
	(pcase--u1): Mark vars that are actually used.
	(pcase--q1): Avoid introducing unused vars.

1232 1233 1234 1235 1236 1237 1238 1239 1240 1241 1242
2011-02-27  Jay Belanger  <jay.p.belanger@gmail.com>

	* calc/calc-ext.el (calc-init-extensions):
	Autoload `calc-l-prefix-help' instead of `calc-ul-prefix-help'.

	* calc/calc-math.el (calcFunc-log10): Don't signal an error in
	symbolic mode.

	* calc/calc-vec.el (calcFunc-subscr): Return nil if the first
	argument is a variable.

1243 1244 1245 1246 1247 1248
2011-02-26  Stefan Monnier  <monnier@iro.umontreal.ca>

	* emacs-lisp/assoc.el: Remove misleading `sort' (bug#8126).
	(aput, adelete, amake): Replace `eval' -> `symbol-value'.
	Suggested by Michael Heerdegen <michael_heerdegen@web.de>.

1249 1250 1251 1252 1253
2011-02-25  Teodor Zlatanov  <tzz@lifelogs.com>

	* password-cache.el (password-in-cache-p): Convenience function to
	check if a key is in the cache, even if the value is nil.

1254 1255 1256 1257 1258 1259 1260 1261 1262 1263
2011-02-25  Jambunathan K  <kjambunathan@gmail.com>

	* emacs-lisp/package-x.el (package--archive-contents-from-url)
	(package--archive-contents-from-file): New functions.
	(package-update-news-on-upload): New var.
	(package-upload-buffer-internal): Extract archive-contents from
	package-archive-upload-base if it is not found at archive-url.
	Obey package-update-news-on-upload.
	(package-upload-buffer, package-upload-file): Doc fix.

1264 1265
2011-02-24  Glenn Morris  <rgm@gnu.org>

1266 1267 1268
	* files-x.el (modify-dir-local-variable): Handle dir-locals from
	the cache, and from non-file sources.

1269 1270 1271 1272
	* help-fns.el (describe-variable): Return consistent results when a
	dir-local from a file came from the cache or did not.  (Bug#8095)
	If a dir-local has no associated file, say it came from a "directory".

1273 1274 1275
	* files.el (hack-dir-local-variables): Fix setting of `dir-name'.
	(hack-local-variables-confirm, hack-local-variables-filter): Doc fix.

Glenn Morris's avatar
Glenn Morris committed
1276 1277
	* files.el (dir-locals-find-file): Doc fix.
	Fix the check for cache elements that have no associated file,
1278
	and the mtime check for those that do.  (Bug#8095)
Glenn Morris's avatar
Glenn Morris committed
1279

Glenn Morris's avatar
Glenn Morris committed
1280 1281 1282
	* dired-x.el (dired-hack-local-variables):
	Handle interrupts during hacking local variables.  (Bug#5216)

1283 1284 1285 1286
	* emacs-lisp/autoload.el (autoload-save-buffers)
	(autoload-find-destination, update-directory-autoloads):
	Avoid prompts when updating autoloads.

1287 1288 1289 1290
2011-02-23  Stefan Monnier  <monnier@iro.umontreal.ca>

	* emacs-lisp/bytecomp.el (byte-compile-disable-print-circle): Obsolete.

1291 1292 1293 1294 1295
2011-02-23  Kenichi Handa  <handa@m17n.org>

	* mail/rmailmm.el (rmail-mime-process-multipart): Do not signal an
	error when a multipart boundary in the nested multipart is found.

1296 1297 1298
	* mail/rmail.el (rmail-start-mail): Decode "encoded-words" of
	header components.

1299 1300
2011-02-23  Glenn Morris  <rgm@gnu.org>

1301 1302 1303 1304 1305 1306 1307
	* dired.el (dired-mode): Call hack-dir-local-variables-non-file-buffer.
	* dired-x.el (dired-omit-mode): Safe if boolean.
	(dired-enable-local-variables): Fix doc and custom type.
	(dired-enable-local-variables, dired-local-variables-file)
	(dired-hack-local-variables): Make obsolete.
	(dired-omit-here-always): Use dir-locals.el instead.

1308 1309
	* files.el (safe-local-eval-forms): Add the write-file-hooks version.

1310 1311 1312 1313 1314
2011-02-22  Stefan Monnier  <monnier@iro.umontreal.ca>

	* help-fns.el (describe-function-1): Don't signal an error just because
	the DOC file disappeared.

Juanma Barranquero's avatar
Juanma Barranquero committed
1315
2011-02-22  Seppo Sade  <sepposade1@gmail.com>  (tiny change)
1316 1317 1318 1319

	* eshell/esh-ext.el (eshell-external-command): Do not restrict
	remote check to "ftp".  (Bug#8089)

1320 1321 1322 1323 1324 1325 1326 1327
2011-02-21  Alan Mackenzie  <acm@muc.de>

	Fix bug #7930.
	* progmodes/cc-engine.el (c-state-literal-at): Prevent positions
	in macros finding their way into c-state-nonlit-pos-cache.
	Strengthen the comments.
	(c-state-dump): New commented out diagnostic routine.

1328 1329 1330 1331 1332
2011-02-21  Michael Albinus  <michael.albinus@gmx.de>

	* net/tramp.el (tramp-rfn-eshadow-setup-minibuffer): Do not use
	`field' property of `rfn-eshadow-overlay'.

1333 1334 1335 1336
2011-02-21  Lars Ingebrigtsen  <larsi@gnus.org>

	* net/netrc.el (netrc-parse): Comment fix.

1337 1338 1339 1340 1341 1342 1343 1344 1345
2011-02-21  Chong Yidong  <cyd@stupidchicken.com>

	* color.el (color-name-to-rgb): Rename from color-rgb->normalize.
	Autoload.  Add optional arg FRAME, and pass it to color-values.
	(color-complement): Caller changed.  Doc fix.
	(color-gradient): Rewrite for better clarity and efficiency.

	* faces.el (color-values): Use cond for clarity.  Doc fix.

1346
	* facemenu.el (color-rgb-to-hsv): Delete; use the version in
1347
	color.el instead.
1348 1349
	(list-colors-sort-key, list-colors-print):
	Use color-normalized-values.
1350 1351 1352 1353 1354 1355 1356 1357 1358 1359 1360 1361 1362 1363 1364

2011-02-20  Drew Adams  <drew.adams@oracle.com>

	* color.el: First part of merge from hexrgb.el.
	(color-rgb-to-hex): Rename from color-rgb->hex.
	(color-rgb-to-hsv): Rename from color-rgb->hsv.  Force hue and
	saturation to zero if the value is too small.
	(color-rgb-to-hsl): Rename from color-rgb->hsl.
	(color-srgb-to-xyz): Rename from color-srgb->xyz.  Doc fix.
	(color-xyz-to-srgb): Rename from color-xyz->srgb.  Doc fix.
	(color-xyz-to-lab): Rename from color-xyz->lab.  Doc fix.
	(color-lab-to-xyz): Rename from color-lab->xyz.  Doc fix.
	(color-lab-to-srgb): Rename from color-lab->srgb.  Doc fix.
	(color-cie-de2000): Doc fix.

Alan Mackenzie's avatar
.  
Alan Mackenzie committed
1365 1366 1367 1368 1369
2011-02-20  Alan Mackenzie  <acm@muc.de>

	* progmodes/cc-cmds.el (c-beginning-of-statement): Avoid loop in
	locating the beginning of a macro.  (Bug#7595)

Glenn Morris's avatar
Glenn Morris committed
1370 1371
2011-02-20  Glenn Morris  <rgm@gnu.org>

Glenn Morris's avatar
Glenn Morris committed
1372 1373 1374
	* edmacro.el (edmacro-eight-bits): Make it a defcustom.
	Don't autoload it.

Glenn Morris's avatar
Glenn Morris committed
1375 1376 1377
	* autorevert.el (auto-revert-mode, auto-revert-tail-mode)
	(global-auto-revert-ignore-buffer): Remove leading "*" from docs.

Juanma Barranquero's avatar
Juanma Barranquero committed
1378 1379
2011-02-19  Dmitry Bolshakov  <dmitry.bolshakov@bridge-quest.com>
            Dima Kogan  <dkogan@cds.caltech.edu>  (tiny change)
1380 1381 1382 1383 1384 1385 1386 1387 1388 1389

	* progmodes/hideshow.el (hs-find-block-beginning)
	(hs-hide-level-recursive): Ignore comments when parsing braces
	(Bug#8036).

2011-02-19  Chong Yidong  <cyd@stupidchicken.com>

	* vc/vc-bzr.el (vc-bzr-bound-branch-p): New function.
	(vc-bzr-pull): Use it.

1390 1391 1392 1393 1394 1395 1396 1397 1398
2011-02-19  Chong Yidong  <cyd@stupidchicken.com>

	* vc/vc-bzr.el (vc-bzr--branch-conf): Function deleted.
	(vc-bzr-branch-conf): New function, similar to vc-bzr--branch-conf
	but returning an alist.  Ignore comments in bzr conffile.
	(vc-bzr-pull, vc-bzr-merge-branch): Use vc-bzr-branch-conf.
	(vc-bzr-error-regex-alist): New var.
	(vc-bzr-merge-branch): Use it to highlight the pull/merge buffer.

1399 1400
	* vc/vc-dispatcher.el (vc-do-async-command):
	Bind inhibit-read-only to t.
1401 1402 1403 1404 1405 1406

	* progmodes/compile.el (compilation--flush-directory-cache):
	Handle the case where cdr of compilation--flush-directory-cache
	points to no buffer, which can occur if we previously switched to
	compilation-mode in a pregenerated buffer.

1407 1408 1409 1410 1411 1412 1413 1414
2011-02-19  Kenichi Handa  <handa@m17n.org>

	* mail/rmailmm.el (rmail-mime-find-header-encoding): Be sure to
	get the header copy into the temporary buffer.
	(rmail-mime-insert-decoded-text): Ignore us-ascii.
	(rmail-show-mime): When rmail-mime-coding-system is nil, set
	buffer-file-coding-system to undecided.

1415
2011-02-19  Eli Zaretskii  <eliz@gnu.org>
1416

1417 1418 1419
	* international/mule-cmds.el (read-char-by-name, ucs-insert):
	Document completion with asterisk and a substring.

1420
2011-02-19  Glenn Morris  <rgm@gnu.org>
1421 1422 1423

	* files.el (find-file-literally): Doc fix.

1424 1425
	* simple.el (rfc822-goto-eoh): Give it a doc-string.

Glenn Morris's avatar
Glenn Morris committed
1426 1427 1428
	* log-edit.el (log-edit-insert-changelog):
	Fix `log-edit-strip-single-file-name' functionality.  (Bug#8057)

Glenn Morris's avatar
Glenn Morris committed
1429 1430
2011-02-19  Glenn Morris  <rgm@gnu.org>

1431 1432 1433 1434
	* dired-x.el: Don't require dired-aux.
	(dired-do-create-files, dired-mark-read-regexp)
	(dired-do-create-files-regexp): Autoload from dired-aux.

1435 1436 1437
	* dired-x.el (dired-find-buffer-nocreate): Merge into dired.el.
	* dired.el (dired-find-buffer-nocreate): Merge dired-x version.

1438 1439 1440
	* dired-x.el (dired-read-shell-command): Merge into dired-aux's version.
	* dired-aux.el (dired-read-shell-command): Merge dired-x's version.

1441 1442 1443 1444
	* dired-x.el (dired-clean-up-after-deletion): Merge into dired.el.
	* dired.el (dired-clean-up-after-deletion): Merge dired-x's version.
	(dired-clean-up-buffers-too): Declare.

1445 1446 1447 1448