ChangeLog 877 KB
Newer Older
1 2
2011-04-02  Glenn Morris  <rgm@gnu.org>

3 4 5 6 7
	* progmodes/grep.el (grep-find-use-xargs): Doc fix.
	(grep-compute-defaults): Check for `-exec COMMAND +' support.
	Set grep-find-use-xargs, grep-find-command, and grep-find-template
	accordingly.  Don't add the null-device if not needed.

8 9
	* files.el (save-some-buffers): Doc fix.

10 11 12 13
2011-04-02  Eli Zaretskii  <eliz@gnu.org>

	* makefile.w32-in (EMACS): Default to ../src/$(BLD)/emacs.exe.

14 15 16 17 18
2011-04-01  Juanma Barranquero  <lekktu@gmail.com>

	* progmodes/idlwave.el (idlwave-one-key-select, idlwave-list-abbrevs):
	Use `dolist' rather than `mapcar'.

19 20
2011-04-01  Stefan Monnier  <monnier@iro.umontreal.ca>

21
	Add lexical binding.
22

23 24 25 26 27 28 29 30 31
	* 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.
32

33 34 35 36 37 38 39 40 41 42 43 44
	* 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.
45

46 47 48 49 50 51 52
	* 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.
53

54 55 56 57 58 59
	* 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):
60
	Use eval-sexp-add-defvars.
61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212
	(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.

213 214 215 216
2011-04-01  Eli Zaretskii  <eliz@gnu.org>

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

217 218 219 220
2011-03-31  Stefan Monnier  <monnier@iro.umontreal.ca>

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

221 222 223 224 225
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)

226 227
2011-03-31  Glenn Morris  <rgm@gnu.org>

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

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

232 233 234 235 236 237 238 239 240
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.

241 242 243 244 245 246 247 248 249 250 251 252 253 254
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.

255 256 257 258 259 260
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>).

261 262 263 264 265 266 267
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)

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

281 282 283 284 285
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.

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

288 289
	* net/imap.el (imap-shell-open, imap-process-connection-type):
	Use imap-process-connection-type for 'shell' streams as well as
290 291
	Kerberos, SSL, other subprocesses.

292 293 294 295 296 297
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)

298 299 300 301
2011-03-27  Jan Djärv  <jan.h.d@swipnet.se>

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

302 303 304 305 306 307
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
308 309
2011-03-25  Leo Liu  <sdl.web@gmail.com>

310 311 312
	* midnight.el (midnight-time-float): Remove.  Note it calculates
	the microsecond component incorrectly and seconds-to-time does the
	same job.
313
	Remove redundant (require 'timer).
314

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

318 319 320 321 322 323 324 325 326 327 328 329 330 331
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.

332 333 334 335
2011-03-24  Drew Adams  <drew.adams@oracle.com>

	* thingatpt.el: Support `defun'.

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

338 339
	* abbrevlist.el: Move to obsolete/abbrevlist.el.

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

342 343
2011-03-23  Glenn Morris  <rgm@gnu.org>

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

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

349 350 351 352 353 354
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.

355 356 357 358 359 360
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)

361 362
2011-03-22  Juanma Barranquero  <lekktu@gmail.com>

363 364 365
	* simple.el (backward-delete-char-untabify):
	Avoid warning about using `delete-backward-char'.

366 367 368 369 370
	* 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.

371 372 373 374 375 376
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.
377
	(rcirc-user-authenticated): Define to fix compiler warning.
378

379 380 381 382 383 384 385
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.
386 387
	(enable-theme): Accept only loaded themes as arguments.
	Ignore the special custom-enabled-themes variable.
388 389 390
	(custom-enabled-themes): Forbid themes from setting this.
	Eliminate use of custom-enabling-themes.
	(custom-push-theme): Quote "changed" custom var entry.
391

392 393 394 395 396
2011-03-21  Leo Liu  <sdl.web@gmail.com>

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

397 398 399 400 401
2011-03-21  Stefan Monnier  <monnier@iro.umontreal.ca>

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

402 403
2011-03-21  Leo Liu  <sdl.web@gmail.com>

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

407 408 409 410 411
	* 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.

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

424 425 426 427 428
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.

429 430 431 432 433
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.

434 435 436 437 438 439 440
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.

441 442
2011-03-19  Chong Yidong  <cyd@stupidchicken.com>

443 444 445
	* dired-aux.el (dired-create-directory): Signal an error if the
	directory already exists (Bug#8246).

446 447 448 449 450
	* 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.

451 452 453 454 455 456 457
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.

458
2011-03-19  Ralph Schleicher  <rs@ralph-schleicher.de>
Ralph Schleicher's avatar
Ralph Schleicher committed
459 460 461 462 463

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

464
2011-03-19  Juanma Barranquero  <lekktu@gmail.com>
465 466 467 468 469

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

470 471 472 473 474 475 476 477 478 479 480 481 482
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.

483
2011-03-18  Stefan Monnier  <monnier@iro.umontreal.ca>
484

485 486 487
	* 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.
488 489 490 491 492 493

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.

494 495 496 497 498 499 500 501
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*'.

502 503 504 505 506 507 508 509 510 511 512 513 514 515 516 517 518 519 520 521 522 523 524 525 526 527 528 529 530 531 532 533 534 535 536 537 538
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.

539 540 541 542 543
2011-03-17  Stefan Monnier  <monnier@iro.umontreal.ca>

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

544 545 546 547 548 549
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.

550 551 552 553
2011-03-16  Juanma Barranquero  <lekktu@gmail.com>

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

554 555 556 557 558 559 560 561 562 563 564
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.

565 566
2011-03-15  Ken Manheimer  <ken.manheimer@gmail.com>

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

571 572 573 574 575 576 577 578 579 580 581 582
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.

583 584 585 586
2011-03-15  Chong Yidong  <cyd@stupidchicken.com>

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

587 588
2011-03-15  Stefan Monnier  <monnier@iro.umontreal.ca>

589 590 591
	* allout.el (allout-abbreviate-flattened-numbering)
	(allout-mode-deactivate-hook): Fix up obsolescence "date".

592 593 594
	* subr.el (read-char-choice): Only show the cursor after the prompt,
	not after the answer.

595 596 597 598 599
2011-03-15  Kevin Ryde  <user42@zip.com.au>

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

600 601 602 603 604
2011-03-15  Stefan Monnier  <monnier@iro.umontreal.ca>

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

605 606 607 608 609
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.

610 611 612 613 614 615 616 617
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.

618 619 620 621
2011-03-13  Juanma Barranquero  <lekktu@gmail.com>

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

622 623 624 625 626 627 628 629 630 631 632 633 634 635 636 637 638
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
639 640 641 642
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
643 644 645 646 647 648 649 650
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.

651 652
2011-03-12  Stefan Monnier  <monnier@iro.umontreal.ca>

653 654 655 656 657
	* 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.

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

661 662
2011-03-11  Ken Manheimer  <ken.manheimer@gmail.com>

Juanma Barranquero's avatar
Juanma Barranquero committed
663
	* allout-widgets.el (allout-widgets-tally): Initialize
664 665 666 667
	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.

668 669 670 671 672
2011-03-11  Juanma Barranquero  <lekktu@gmail.com>

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

673 674
2011-03-10  Chong Yidong  <cyd@stupidchicken.com>

675 676 677 678 679 680
	* 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.
681

682 683 684 685 686
2011-03-10  Michael Albinus  <michael.albinus@gmx.de>

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

687 688
2011-03-10  Glenn Morris  <rgm@gnu.org>

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

691 692 693 694
	* 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.

695 696
	* eshell/esh-util.el (eshell-condition-case): Doc fix.

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

700 701
	* mail/rmail.el (rmail-msgend, rmail-msgbeg): Doc fixes.

702 703 704 705 706
2011-03-10  Julien Danjou  <julien@danjou.info>

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

707 708 709 710
2011-03-09  Jay Belanger  <jay.p.belanger@gmail.com>

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

711 712 713 714 715 716
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
717
	(allout-make-topic-prefix, allout-rebullet-heading): Change
718 719 720 721
	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.

722 723
2011-03-09  Michael Albinus  <michael.albinus@gmx.de>

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

728 729 730 731 732 733
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
734 735
2011-03-09  Glenn Morris  <rgm@gnu.org>

736 737 738
	* shell.el (shell-mode):
	Set comint-input-ring-size from HISTSIZE.  (Bug#7889)

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

742 743 744 745 746
2011-03-08  Chong Yidong  <cyd@stupidchicken.com>

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

747 748 749 750 751 752 753
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.

754 755
	* emacs-lisp/package-x.el (package-upload-buffer-internal):
	Use `equal' for upload base check.
756

757 758 759 760 761
2011-03-08  Arni Magnusson  <arnima@hafro.is>  (tiny change)

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

762 763
2011-03-08  Glenn Morris  <rgm@gnu.org>

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

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

770 771 772 773 774
2011-03-08  Chong Yidong  <cyd@stupidchicken.com>

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

775 776 777 778 779
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).

780 781 782 783
2011-03-07  Deniz Dogan  <deniz.a.m.dogan@gmail.com>

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

784 785 786
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
787
	Give an explicit error if failed to make writable.  (Bug#6146)
788

789 790 791 792 793
2011-03-07  Ed Reingold  <reingold@emr.cs.iit.edu>

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

794 795 796 797
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)
798
	(morse-region, unmorse-region): Barf if read-only.
799

800 801 802 803 804
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).

805 806 807 808 809 810 811 812 813 814 815 816 817 818
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.

819 820 821 822 823
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).

824 825 826
2011-03-06  Alan Mackenzie  <acm@muc.de>

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

830 831
2011-03-06  Jay Belanger  <jay.p.belanger@gmail.com>

832 833
	* calc/calc-ext.el (calc-init-extensions):
	Rename calc-logunits-dblevel and calc-logunits-nplevel to calc-dblevel
834 835 836
	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.
837 838 839 840

	* calc/calc-units.el (calc-dblevel): Rename from
	calc-logunits-dblevel.
	(calc-nplevel): Rename from calc-logunits-nplevel.
841 842 843 844 845 846 847
	(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.
848

849 850 851 852 853 854 855 856 857 858
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
859 860 861 862 863
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.

864 865 866 867
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
868 869 870 871 872 873 874
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.

875 876 877 878
2011-03-06  Nikolaj Schumacher  <me@nschum.de>  (tiny change)

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

879 880 881 882
2011-03-06  Kevin Ryde  <user42@zip.com.au>

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

883 884 885 886 887
2011-03-06  Michael Shields  <shields@msrl.com>  (tiny change)

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

888 889 890 891 892
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
893 894 895 896 897 898 899 900
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
901
	* obsolete/fast-lock.el:
Juanma Barranquero's avatar
Juanma Barranquero committed
902 903 904
	* textmodes/reftex.el:
	Don't set `kill-emacs-hook' on noninteractive sessions (bug#8137).

905 906
2011-03-05  Antoine Levitt  <antoine.levitt@gmail.com>

Juanma Barranquero's avatar
Juanma Barranquero committed
907 908
	* files.el (delete-directory, copy-directory, list-directory):
	Use read-directory-name.
909 910 911 912 913 914 915 916 917 918 919 920 921 922

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

923 924 925 926 927
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).

928 929 930 931 932
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).

933 934 935 936 937
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
938
	* eshell/esh-test.el: Move to ../../test/eshell.el.
939

940 941 942 943 944
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).

945 946 947 948 949 950
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.

951 952 953 954 955 956 957 958
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
959 960 961 962
	(rcirc-check-auth-status, rcirc-join-channels-post-auth):
	New functions.
	(rcirc-handler-PRIVMSG, rcirc-handler-NOTICE):
	Call rcirc-check-auth-status.
963

964 965 966 967 968 969 970
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)

971 972 973 974 975 976
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)

977 978
2011-03-05  Glenn Morris  <rgm@gnu.org>

979 980 981 982 983 984 985 986 987 988 989 990 991 992 993 994 995 996 997 998 999 1000 1001 1002 1003 1004 1005 1006 1007
	* 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
1008 1009 1010
	* eshell/esh-module.el (eshell-module-unload-hook)
	(eshell-modules-list): Remove leading * from defcustom docs.

1011 1012 1013 1014 1015 1016 1017 1018 1019 1020 1021 1022 1023 1024 1025 1026 1027 1028 1029 1030 1031
	* 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.

1032 1033 1034 1035
2011-03-04  Glenn Morris  <rgm@gnu.org>

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

1036 1037 1038 1039
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
1040 1041
2011-03-04  Glenn Morris  <rgm@gnu.org>

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

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

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

1051 1052 1053 1054 1055
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
1056 1057 1058 1059 1060
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)

1061 1062
2011-03-04  Leo  <sdl.web@gmail.com>

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

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

Glenn Morris's avatar
Glenn Morris committed
1067
2011-03-04  Zachary Kanfer  <zkanfer@gmail.com>  (tiny change)
1068 1069 1070 1071

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

1072 1073 1074 1075 1076
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).

1077 1078 1079 1080
2011-03-03  Deniz Dogan  <deniz.a.m.dogan@gmail.com>

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

1081 1082 1083
2011-03-03  Christian Ohler  <ohler@gnu.org>

	* emacs-lisp/ert.el (ert--explain-equal): New function.
1084
	(ert--explain-equal-rec): Rename from `ert--explain-not-equal'.
1085
	All callers changed.
1086
	(ert--explain-equal-including-properties): Rename from
1087 1088 1089
	`ert--explain-not-equal-including-properties'.  All callers
	changed.

1090 1091 1092 1093 1094 1095 1096
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'.

1097 1098 1099 1100 1101
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)

1102 1103 1104 1105
2011-03-03  Glenn Morris  <rgm@gnu.org>

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

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

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

1110 1111 1112 1113 1114
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
1115 1116
2011-03-03  Glenn Morris  <rgm@gnu.org>

Glenn Morris's avatar
Glenn Morris committed
1117 1118 1119 1120
	* 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
1121 1122 1123
	* 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
1124 1125 1126
	* vc/vc-bzr.el (vc-bzr-state-heuristic): Handle dirstate entries
	with no parents.  (Bug#8025)

1127 1128 1129 1130
2011-03-02  Teodor Zlatanov  <tzz@lifelogs.com>

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

1131 1132
2011-03-02  Glenn Morris  <rgm@gnu.org>

1133 1134 1135 1136
	* 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.

1137 1138 1139 1140
	* 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
1141 1142 1143 1144
	* 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.

1145 1146
	* dired-x.el (dired-omit-here-always): Make it obsolete.

1147 1148 1149 1150 1151 1152 1153
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.

1154 1155 1156 1157 1158 1159 1160 1161 1162 1163 1164 1165 1166
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.

1167 1168 1169 1170
2011-03-01  Juanma Barranquero  <lekktu@gmail.com>

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

1171 1172
2011-03-01  Glenn Morris  <rgm@gnu.org>

Glenn Morris's avatar
Glenn Morris committed
1173 1174 1175
	* calendar/cal-hebrew.el (calendar-hebrew-birthday)
	(diary-hebrew-birthday): Rename and rework functions added
	in previous change.
1176

1177 1178 1179 1180 1181
2011-03-01  Ed Reingold  <reingold@emr.cs.iit.edu>

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

1182 1183 1184 1185 1186
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)

1187 1188 1189 1190
2011-03-01  Stefan Monnier  <monnier@iro.umontreal.ca>

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

1191 1192 1193 1194 1195 1196 1197
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.

1198 1199 1200 1201 1202
2011-02-28  Christoph Scholtes  <cschol2112@googlemail.com>

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

1203 1204 1205 1206
2011-02-28  Glenn Morris  <rgm@gnu.org>

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

1207 1208 1209 1210 1211
2011-02-28  Michael Albinus  <michael.albinus@gmx.de>

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

1212
2011-02-28  Antoine Levitt  <antoine.levitt@gmail.com>
1213 1214 1215

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

1216 1217 1218 1219 1220
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
1221 1222 1223 1224 1225
2011-02-28  Stephen Berman  <stephen.berman@gmx.net>

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

1226
2011-02-28  Eli Zaretskii  <eliz@gnu.org>
1227 1228 1229 1230 1231

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

1232 1233 1234 1235
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
1236
2011-02-27  Prestoo Ten  <prestooten@gmail.com>  (tiny change)
1237 1238 1239

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

1240 1241 1242 1243 1244 1245 1246 1247 1248 1249
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.

1250 1251 1252 1253 1254 1255 1256 1257 1258 1259 1260
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.

1261 1262 1263 1264 1265 1266
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>.

1267 1268 1269 1270 1271
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.

1272 1273 1274 1275 1276 1277 1278 1279 1280 1281
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.

1282 1283
2011-02-24  Glenn Morris  <rgm@gnu.org>

1284 1285 1286
	* files-x.el (modify-dir-local-variable): Handle dir-locals from
	the cache, and from non-file sources.

1287 1288 1289 1290
	* 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".

1291 1292 1293
	* 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
1294 1295
	* files.el (dir-locals-find-file): Doc fix.
	Fix the check for cache elements that have no associated file,
1296
	and the mtime check for those that do.  (Bug#8095)
Glenn Morris's avatar
Glenn Morris committed
1297

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

1301 1302 1303 1304
	* emacs-lisp/autoload.el (autoload-save-buffers)
	(autoload-find-destination, update-directory-autoloads):
	Avoid prompts when updating autoloads.

1305 1306 1307 1308
2011-02-23  Stefan Monnier  <monnier@iro.umontreal.ca>

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

1309 1310 1311 1312 1313
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.

1314 1315 1316
	* mail/rmail.el (rmail-start-mail): Decode "encoded-words" of
	header components.

1317 1318
2011-02-23  Glenn Morris  <rgm@gnu.org>

1319 1320 1321 1322 1323 1324 1325
	* 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.

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

1328 1329 1330 1331 1332
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
1333
2011-02-22  Seppo Sade  <sepposade1@gmail.com>  (tiny change)
1334 1335 1336 1337

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

1338 1339 1340 1341 1342 1343 1344 1345
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.

1346 1347 1348 1349 1350
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'.

1351 1352 1353 1354
2011-02-21  Lars Ingebrigtsen  <larsi@gnus.org>

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

1355 1356 1357 1358 1359 1360 1361 1362 1363
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.

1364
	* facemenu.el (color-rgb-to-hsv): Delete; use the version in
1365
	color.el instead.
1366 1367
	(list-colors-sort-key, list-colors-print):
	Use color-normalized-values.
1368 1369 1370 1371 1372 1373 1374 1375 1376 1377 1378 1379 1380 1381 1382

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
1383 1384 1385 1386 1387
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
1388 1389
2011-02-20  Glenn Morris  <rgm@gnu.org>

Glenn Morris's avatar
Glenn Morris committed
1390 1391 1392
	* edmacro.el (edmacro-eight-bits): Make it a defcustom.
	Don't autoload it.

Glenn Morris's avatar
Glenn Morris committed
1393 1394 1395
	* 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
1396 1397
2011-02-19  Dmitry Bolshakov  <dmitry.bolshakov@bridge-quest.com>
            Dima Kogan  <dkogan@cds.caltech.edu>  (tiny change)
1398 1399 1400 1401 1402 1403 1404 1405 1406 1407

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

1408 1409 1410 1411 1412 1413 1414 1415 1416
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.

1417 1418
	* vc/vc-dispatcher.el (vc-do-async-command):
	Bind inhibit-read-only to t.
1419 1420 1421 1422 1423 1424

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

1425 1426 1427 1428 1429 1430 1431 1432
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.

1433
2011-02-19  Eli Zaretskii  <eliz@gnu.org>
1434

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

1438
2011-02-19  Glenn Morris  <rgm@gnu.org>
1439 1440 1441

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

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

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

Glenn Morris's avatar
Glenn Morris committed
1447 1448