ChangeLog 845 KB
Newer Older
1 2 3 4 5
2011-02-28  Christoph Scholtes  <cschol2112@googlemail.com>

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

6 7 8 9
2011-02-28  Glenn Morris  <rgm@gnu.org>

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

10 11 12 13 14
2011-02-28  Michael Albinus  <michael.albinus@gmx.de>

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

15 16 17 18
2011-02-28  Antoine Levitt  <antoine.levitt@gmail.com>  (tiny change)

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

19 20 21 22 23
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
24 25 26 27 28
2011-02-28  Stephen Berman  <stephen.berman@gmx.net>

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

29
2011-02-28  Eli Zaretskii  <eliz@gnu.org>
30 31 32 33 34

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

35 36 37 38
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
39
2011-02-27  Prestoo Ten  <prestooten@gmail.com>  (tiny change)
40 41 42

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

43 44 45 46 47 48 49 50 51 52
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.

53 54 55 56 57 58 59 60 61 62 63
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.

64 65 66 67 68 69
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>.

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

75 76 77 78 79 80 81 82 83 84
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.

85 86
2011-02-24  Glenn Morris  <rgm@gnu.org>

87 88 89
	* files-x.el (modify-dir-local-variable): Handle dir-locals from
	the cache, and from non-file sources.

90 91 92 93
	* 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".

94 95 96
	* 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
97 98
	* files.el (dir-locals-find-file): Doc fix.
	Fix the check for cache elements that have no associated file,
99
	and the mtime check for those that do.  (Bug#8095)
Glenn Morris's avatar
Glenn Morris committed
100

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

104 105 106 107
	* emacs-lisp/autoload.el (autoload-save-buffers)
	(autoload-find-destination, update-directory-autoloads):
	Avoid prompts when updating autoloads.

108 109 110 111
2011-02-23  Stefan Monnier  <monnier@iro.umontreal.ca>

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

112 113 114 115 116
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.

117 118 119
	* mail/rmail.el (rmail-start-mail): Decode "encoded-words" of
	header components.

120 121
2011-02-23  Glenn Morris  <rgm@gnu.org>

122 123 124 125 126 127 128
	* 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.

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

131 132 133 134 135
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.

136 137 138 139 140
2011-02-22  Seppo Sade <sepposade1@gmail.com>  (tiny change)

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

141 142 143 144 145 146 147 148
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.

149 150 151 152 153
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'.

154 155 156 157
2011-02-21  Lars Ingebrigtsen  <larsi@gnus.org>

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

158 159 160 161 162 163 164 165 166
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.

167
	* facemenu.el (color-rgb-to-hsv): Delete; use the version in
168
	color.el instead.
169 170
	(list-colors-sort-key, list-colors-print):
	Use color-normalized-values.
171 172 173 174 175 176 177 178 179 180 181 182 183 184 185

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
186 187 188 189 190
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
191 192
2011-02-20  Glenn Morris  <rgm@gnu.org>

Glenn Morris's avatar
Glenn Morris committed
193 194 195
	* edmacro.el (edmacro-eight-bits): Make it a defcustom.
	Don't autoload it.

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

199 200 201 202 203 204 205 206 207 208 209 210
2011-02-19  Dmitry Bolshakov <dmitry.bolshakov@bridge-quest.com>
            Dima Kogan <dkogan@cds.caltech.edu>  (tiny change)

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

211 212 213 214 215 216 217 218 219
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.

220 221
	* vc/vc-dispatcher.el (vc-do-async-command):
	Bind inhibit-read-only to t.
222 223 224 225 226 227

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

228 229 230 231 232 233 234 235
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.

236
2011-02-19  Eli Zaretskii  <eliz@gnu.org>
237

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

241
2011-02-19  Glenn Morris  <rgm@gnu.org>
242 243 244

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

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

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

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

252 253 254 255
	* 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.

256 257 258
	* dired-x.el (dired-find-buffer-nocreate): Merge into dired.el.
	* dired.el (dired-find-buffer-nocreate): Merge dired-x version.

259 260 261
	* 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.

262 263 264 265
	* 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.

266 267 268 269
	* dired-x.el (dired-initial-position): Merge into dired.el's version.
	* dired.el (dired-initial-position): Merge dired-x's version here.
	(dired-find-subdir): Declare.

270 271 272 273 274
	* dired-x.el (dired-omit-new-add-entry): Merge into dired-add-entry.
	* dired-aux.el (dired-add-entry): Give it a doc-string.
	Merge dired-x's dired-omit handling here.
	(dired-omit-mode, dired-omit-regexp, dired-omit-localp): Declare.

Glenn Morris's avatar
Glenn Morris committed
275 276 277
	* international/mule-diag.el (list-input-methods-1):
	Indent all lines of multi-line doc-strings.  (Bug#8066)

278 279 280 281 282 283 284
2011-02-18  Chong Yidong  <cyd@stupidchicken.com>

	Fix 2011-02-02 changes.

	* apropos.el (apropos-print): Call apropos-mode before setting up
	buffer variables.  Use inhibit-read-only.

285 286
	* emacs-lisp/package.el (package--list-packages):
	Call package-menu-mode before setting up buffer variables.
287 288 289 290

	* play/solitaire.el (solitaire): Call solitaire-mode before
	setting up buffer variables.  Use inhibit-read-only.

291 292 293 294 295
2011-02-18  Lawrence Mitchell  <wence@gmx.li>

	* progmodes/sh-script.el (sh-syntax-propertize-here-doc): (bug#8053)
	Bind case-fold-search to nil when looking for end of here-doc.

296 297
2011-02-18  Eli Zaretskii  <eliz@gnu.org>

298 299
	* image-mode.el (image-toggle-display-image):
	Set find-file-literally non-nil in buffers visiting binary image
300 301
	files.  (Bug#8047)

302 303 304 305
2011-02-18  Stefan Monnier  <monnier@iro.umontreal.ca>

	* files.el (cd): Make completion obey cd-path (bug#7924).

306 307
2011-02-18  Glenn Morris  <rgm@gnu.org>

Glenn Morris's avatar
Glenn Morris committed
308 309 310 311 312 313
	* progmodes/prolog.el: Don't require compile when compiling.
	(compilation-shell-minor-mode, compilation-error-regexp-alist)
	(compilation-forget-errors, compilation-fake-loc)
	(compilation-parse-errors-function, compilation-error-list): Declare.
	(prolog-inferior-mode): Require 'compile.

314 315
	* emulation/cua-base.el (pc-selection-mode): Declare.

316 317 318 319 320 321 322 323 324
	* emacs-lisp/eieio-custom.el: Set generated-autoload-file.
	(customize-object): Add autoload cookie.
	* emacs-lisp/eieio-opt.el: Set generated-autoload-file.
	(eieio-browse, describe-class, eieio-describe-class)
	(eieio-describe-constructor, describe-generic, eieio-describe-generic)
	(eieio-help-mode-augmentation-maybee): Add autoload cookies.
	* emacs-lisp/eieio.el: Regenerate with automatic autoloads.
	* Makefile.in (autoloads): Make eieio.el writable.

325 326 327 328 329 330 331 332 333 334 335 336 337 338
	* dired-x.el (dired-clean-up-after-deletion, dired-do-relsymlink)
	(dired-do-relsymlink-regexp, dired-find-buffer-nocreate): Use #'.
	(dired-hack-local-variables): Use inhibit-read-only.
	(dired-guess-default): Simplify.
	(dired-make-relative-symlink): Use dotimes.
	(dired-simultaneous-find-file): Use dolist.
	(dired-mark-sexp): Remove unneeded `if'.  Use line-end-position.
	(dired-x-hands-off-my-keys): Doc fix.
	(dired-x-bind-find-file): Doc fix.  Use remapping.
	(after-init-hook): No need to add dired-x-bind-find-file.
	(dired-x-find-file, dired-x-find-file-other-window): Doc fixes.
	No need to call expand-file-name.
	(dired-filename-at-point): Remove unused locals `end', `filename'.

339 340 341 342
2011-02-18  Stefan Monnier  <monnier@iro.umontreal.ca>

	* emacs-lisp/pcase.el (pcase--u1): Understand non-linear patterns.

Christian Ohler's avatar
Christian Ohler committed
343 344 345 346 347 348 349 350 351 352
2011-02-18  Christian Ohler  <ohler@gnu.org>

	* emacs-lisp/ert.el (ert--setup-results-buffer)
	(ert-results-pop-to-backtrace-for-test-at-point)
	(ert-results-pop-to-messages-for-test-at-point)
	(ert-results-pop-to-should-forms-for-test-at-point)
	(ert-results-pop-to-timings): Revert parts of change 2011-02-02T17:59:44Z!sds@gnu.org that
	were incorrect and unnecessary.  This should make `make check'
	pass again.

353 354 355 356 357 358
2011-02-17  Ken Manheimer  <ken.manheimer@gmail.com>

	* lisp/allout-widgets.el: (allout-widgets-icons-light-subdir)
	(allout-widgets-icons-dark-subdir): Track relocations of icons
	* lisp/allout.el: Remove commentary about remove encryption
	passphrase mnemonic support and verification.
359 360 361
	(allout-encrypt-string): (allout-encrypt-string): Recognize epg
	failure to decrypt gpg2 armored text using gpg1, and indicate that
	the gpg version *might* be the problem in the error message.
362

363 364 365 366 367 368
2011-02-17  Deniz Dogan  <deniz.a.m.dogan@gmail.com>

	* net/rcirc.el (rcirc-float-time): New function.
	(rcirc-keepalive, rcirc-handler-ctcp-KEEPALIVE)
	(rcirc-ctcp-sender-PING): Use it.

369 370
2011-02-17  Glenn Morris  <rgm@gnu.org>

371 372 373 374 375 376 377 378 379 380
	* speedbar.el (speedbar-ignored-modes, speedbar-file-unshown-regexp)
	(speedbar-update-flag, speedbar-fetch-etags-command)
	(speedbar-fetch-etags-arguments):
	* term.el (term-buffer-maximum-size, term-input-chunk-size)
	(term-completion-autolist, term-completion-addsuffix)
	(term-completion-recexact, term-completion-fignore):
	* term/sup-mouse.el (sup-mouse-fast-select-window):
	* term/x-win.el (x-select-request-type):
	Convert some defvars with "*" to defcustoms.

381 382
	* shell.el (shell-delimiter-argument-list): Set it to nil.  (Bug#8027)

Glenn Morris's avatar
Glenn Morris committed
383 384 385
	* vc/vc.el (vc-default-previous-version):
	Remove alias that points nowhere.  (Bug#4496)

Glenn Morris's avatar
Glenn Morris committed
386 387 388 389 390 391
	* dired-x.el (dired-clean-up-after-deletion):
	kill-buffer does not need save-excursion.
	(dired-do-run-mail): Doc fix.
	(dired-filename-at-point): Doc fix.
	Use looking-at, and skip-chars rather than re search.

392 393
	* dired-x.el (dired-filename-at-point): Fix 8-year old typo.

394 395
2011-02-16  Ken Manheimer  <ken.manheimer@gmail.com>

396 397 398 399
	* allout-widgets.el: New allout extension that shows allout
	outline structure with graphical widgets.  'allout-widgets'
	customize group is an 'allout' subgroup, for easy discovery.

400 401 402 403 404 405 406 407 408
	* allout.el: Include PGP and GnuPG in Keywords, and other
	commentary refinements.
	(allout-abbreviate-flattened-numbering): Rename to
	allout-flattened-numbering-abbreviation, and
	define-obsolete-variable-alias the old name.
	(allout-flattened-numbering-abbreviation): Rename from
	allout-abbreviate-flattened-numbering.
	(allout-mode-p): Include among autoloads, for use by other modes
	with impunity.
409 410
	(allout-listify-exposed):
	Use allout-flattened-numbering-abbreviation.
411 412 413
	(allout-encrypt-string): Use set-buffer-multibyte directly.
	(allout-set-buffer-multibyte): Remove.

414 415 416 417
2011-02-16  Deniz Dogan  <deniz.a.m.dogan@gmail.com>

	* simple.el (just-one-space): Remove useless `or' call.

418 419
2011-02-16  Alex Harsanyi  <AlexHarsanyi@gmail.com>

420
	* net/soap-client.el (soap-well-known-xmlns, soap-local-xmlns)
421 422 423 424
	(soap-default-xmlns, soap-target-xmlns, soap-multi-refs)
	(soap-decoded-multi-refs, soap-current-wsdl)
	(soap-encoded-namespaces): Rename CL-style *...* variables.

425 426 427 428 429 430 431
2011-02-16  Michael Albinus  <michael.albinus@gmx.de>

	* net/soap-client.el: Add "comm" and "hypermedia" to the
	keywords.  Reflow too long lines.

	* net/soap-inspect.el: Ditto.  Require 'cl.

432 433 434 435 436
2011-02-16  Bastien Guerry  <bzg@altern.org>

	* play/doctor.el (doctor-mode): Bugfix: escape the "," character
	in a `doctor-type' argument.

Michael Albinus's avatar
Michael Albinus committed
437 438 439 440 441
2011-02-16  Alex Harsanyi  <AlexHarsanyi@gmail.com>

	* net/soap-client.el:
	* net/soap-inspect.el: New files.

Leo Liu's avatar
Leo Liu committed
442 443 444 445 446
2011-02-16  Leo  <sdl.web@gmail.com>

	* dired-x.el (dired-mode-map, dired-extra-startup):
	Remove dired-copy-filename-as-kill since it's already in dired.el.

Glenn Morris's avatar
Glenn Morris committed
447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464
2011-02-16  Glenn Morris  <rgm@gnu.org>

	* dired-x.el (dired-bind-jump, dired-bind-man, dired-bind-info):
	Doc fixes.  Add :set property, replacing top-level calls.
	(dired-vm-read-only-folders, dired-vm): Doc fix (drop v. old VM 4).
	(dired-guess-shell-gnutar): Test tar version rather than system-type.
	(dired-extra-startup, dired-man, dired-info): Doc fixes.
	(dired-clean-up-after-deletion): Use when and dolist.
	(dired-jump): Use unless and when.
	(dired-virtual): Use line-end-position.
	(dired-default-directory-alist): Rename from default-directory-alist.
	(dired-default-directory): Update for above name change.
	(dired-vm): Drop VM < 5 and simplify.
	(dired-buffer-more-recently-used-p): Rewrite.
	(dired-filename-at-point): Use when and or.
	(dired-x-read-filename-at-point): Rename from read-filename-at-point.
	Update callers.

465 466 467 468
2011-02-15  Glenn Morris  <rgm@gnu.org>

	* dired-x.el: Use easymenu for menu items.  Fix item capitalization.

469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486
2011-02-14  Chong Yidong  <cyd@stupidchicken.com>

	* vc/vc-git.el (vc-git-root-log-format): New option for
	customizing log format.
	(vc-git-print-log, vc-git-log-outgoing, vc-git-log-incoming)
	(vc-git-log-view-mode): Use it.
	(vc-git-expanded-log-entry): New function.
	(vc-git-log-view-mode): Use it.  Truncate lines in root log.

	* vc/vc-hg.el (vc-hg-root-log-template): New option for
	customizing log format.
	(vc-hg-print-log): Use it.
	(vc-hg-expanded-log-entry): New function.
	(vc-hg-log-view-mode): Use vc-hg-root-log-template and
	vc-hg-expanded-log-entry.  Truncate lines in root log.

	* vc/vc-bzr.el (vc-bzr-log-view-mode): Truncate lines in root log.

487 488
	* vc/log-view.el (log-view-mode-menu):
	Add log-view-toggle-entry-display.
489

Glenn Morris's avatar
Glenn Morris committed
490 491 492 493 494 495 496 497 498 499
2011-02-14  Glenn Morris  <rgm@gnu.org>

	* dired-x.el: Don't require man when compiling.
	(dired-omit-extensions, dired-local-variables-file)
	(dired-x-hands-off-my-keys): Make them defcustoms.
	(Man-support-local-filenames, Man-getpage-in-background): Declare.
	(vm-visit-folder): Declare rather than defining.
	(dired-x-help-address, dired-x-variable-list): Remove.
	(dired-x-submit-report): Make it an obsolete alias.

500 501 502 503
2011-02-14  Juanma Barranquero  <lekktu@gmail.com>

	* makefile.w32-in (TRAMP_SRC): Remove tramp-imap.el.

Ted Zlatanov's avatar
Ted Zlatanov committed
504 505
2011-02-13  Teodor Zlatanov  <tzz@lifelogs.com>

Katsumi Yamaoka's avatar
Katsumi Yamaoka committed
506
	* net/imap.el: Bring it back.
Ted Zlatanov's avatar
Ted Zlatanov committed
507

508 509 510 511 512
2011-02-13  Alan Mackenzie  <acm@muc.de>

	* progmodes/cc-fonts.el (c-font-lock-declarations): Remove a
	narrow-to-region call that cuts context off the end (Bug#7722).

513 514
	* progmodes/cc-engine.el (c-forward-<>-arglist-recur):
	Refactor nested if-forms with a simple cond.
515 516
	(c-forward-<>-arglist): Revert 2011-01-31 change.

517 518 519 520 521 522 523 524 525 526 527 528 529 530 531 532 533 534 535
2011-02-13  Chong Yidong  <cyd@stupidchicken.com>

	* vc/log-view.el: New command log-view-toggle-entry-display for
	toggling log entries between concise and detailed forms.
	(log-view-toggle-entry-display): New command.
	(log-view-mode-map): Bind RET to it.
	(log-view-expanded-log-entry-function): New variable.
	(log-view-current-entry, log-view-inside-comment-p)
	(log-view-current-tag): New functions.
	(log-view-toggle-mark-entry): Use log-view-current-entry and
	log-view-end-of-defun instead of searching directly with
	log-view-message-re.
	(log-view-end-of-defun): Likewise.  Add optional ARG for
	compatibility with end-of-defun.
	(log-view-end-of-defun): Ignore comments and VC buttons.

	* vc/vc-bzr.el (vc-bzr-expanded-log-entry): New function.
	(vc-bzr-log-view-mode): Use log-view-expanded-log-entry-function.

536 537
2011-02-13  Teodor Zlatanov  <tzz@lifelogs.com>

538 539
	* net/imap.el: Remove file.  All the functionality is in nnimap.el.

540 541
	* net/imap-hash.el: Remove file.

542 543 544 545 546 547 548 549 550
2011-02-13  Michael Albinus  <michael.albinus@gmx.de>

	* Makefile.in (TRAMP_SRC): Remove tramp-imap.el.

	* net/tramp.el (tramp-read-passwd): Simplify `auth-source-search'
	call.

	* net/tramp-imap.el: Remove file.

551 552 553 554 555 556 557 558
2011-02-13  Chong Yidong  <cyd@stupidchicken.com>

	* vc/vc.el (vc-print-log-setup-buttons): Instead of using the
	widget library for buttons, just use button.el.

	* vc/log-view.el (log-view-mode-map): Don't inherit from
	widget-keymap.

559
2011-02-12  Glenn Morris  <rgm@gnu.org>
560

Glenn Morris's avatar
Glenn Morris committed
561 562 563 564
	* emacs-lisp/cl-seq.el (union, nunion, intersection)
	(nintersection, set-difference, nset-difference)
	(set-exclusive-or, nset-exclusive-or): Doc fix.

565 566
	* ediff-ptch.el (ediff-fixup-patch-map): Doc fix.

Glenn Morris's avatar
Glenn Morris committed
567 568 569
	* faces.el (face-attr-match-p): Handle the obsolete :bold and
	:italic props, so that frame-set-background-mode works.  (Bug#7966)

570 571
	* simple.el (next-error): Doc fix.

572 573 574 575 576
2011-02-12  Thierry Volpiatto  <thierry.volpiatto@gmail.com>

	* dired-aux.el (dired-create-files): Adapt destination name to
	match the new behavior of copy-directory.

577 578 579 580 581 582 583 584 585 586 587 588 589 590 591 592 593 594
2011-02-12  Chong Yidong  <cyd@stupidchicken.com>

	* mail/mail-utils.el (mail-dont-reply-to-names): New variable,
	from rmail-dont-reply-to-names.  Callers changed.
	(mail-dont-reply-to): Rename from mail-dont-reply-to.
	(rmail-dont-reply-to): Make it an obsolete alias.

	* mail/rmail.el (rmail-default-dont-reply-to-names): Default to
	nil, and make obsolete (Bug#7888).
	(rmail-dont-reply-to-names): Alias to mail-dont-reply-to-names.

	* mail/rmailsum.el (rmail-summary-sort-by-correspondent): Doc fix.

	* mail/rmailsort.el (rmail-sort-by-correspondent)
	(rmail-select-correspondent): Doc fix.  Use mail-dont-reply-to.

	* mail/rmail.el (rmail-reply): Use mail-dont-reply-to.

595 596 597 598 599
2011-02-12  Thierry Volpiatto  <thierry.volpiatto@gmail.com>

	* files.el (copy-directory): New argument COPY-CONTENTS for
	copying directory contents into another existing directory.

600 601 602 603 604
2011-02-12  Tassilo Horn  <tassilo@member.fsf.org>

	* minibuffer.el (completion-table-case-fold): New function for
	creating a case-insensitive completion table.

605 606 607 608 609 610 611 612 613 614 615 616 617 618 619 620 621 622 623
2011-02-12  Teodor Zlatanov  <tzz@lifelogs.com>

	* net/tramp.el (tramp-default-method): Also check if
	`auth-source-search' is bound.
	(tramp-read-passwd): Use `auth-source-search' instead of
	`auto-source-user-or-password'.

	* net/tramp-imap.el: Autoload `auto-source-search' instead of
	`auto-source-user-or-password.
	(tramp-imap-passphrase-callback-function): Use it.

	* net/imap-hash.el: Autoload `auto-source-search' instead of
	`auto-source-user-or-password.
	(imap-hash-open-connection): Use it.

	* mail/smtpmail.el: Autoload `auto-source-search' instead of
	`auto-source-user-or-password.
	(smtpmail-try-auth-methods): Use it.

624 625 626 627 628 629
2011-02-12  Phil Hagelberg  <phil@hagelb.org>

	* emacs-lisp/package.el: Allow packages to be reinstalled.
	(package--write-file-no-coding): Remove EXCL arg.
	(package-unpack-single): Don't use it.

630 631 632 633 634 635 636 637
2011-02-12  Karl Pflästerer  <k@rl.pflaesterer.de>  (tiny change)

	* vc/vc-svn.el: Adapt to Subversion change, with no .svn directory
	in each sub directory.
	(vc-svn-registered): Use vc-svn-root.
	(vc-svn-root): New function.  Make vc-svn-responsible-p an alias.
	(vc-svn-repository-hostname): Use "svn info".

638 639 640 641 642
2011-02-11  Deniz Dogan  <deniz.a.m.dogan@gmail.com>

	* simple.el (delete-trailing-whitespace): New optional buffer
	bound parameters.

643 644 645 646 647
2011-02-11  Bastien Guerry  <bzg@altern.org>

	* files.el (basic-save-buffer): save unmodified buffers when
	the file pointed by buffer-file-name doesn't exist.

648 649 650 651
2011-02-11  Deniz Dogan  <deniz.a.m.dogan@gmail.com>

	* net/rcirc.el (defun-rcirc-join): Accept multiple channels.

652 653 654 655
2011-02-11  Glenn Morris  <rgm@gnu.org>

	* emacs-lisp/cl-specs.el (multiple-value-bind): Fix debug spec.

656 657 658 659
2011-02-11  Juanma Barranquero  <lekktu@gmail.com>

	* net/rcirc.el (rcirc-send-ctcp): Remove spurious arg to `format'.

660 661
2011-02-10  Stefan Monnier  <monnier@iro.umontreal.ca>

662 663
	* server.el (server-process-filter): Use pcase.

664 665 666 667 668 669
	* emacs-lisp/smie.el (smie-blink-matching-open): Don't use `pos' in two
	conflicting ways.
	(smie-indent--parent): Extend to "parent of arg".
	(smie-indent-inside-string): New function.
	(smie-indent-functions): Use it.

670 671 672
	* vc/vc-dir.el (vc-dir-refresh): Reorder operations to try and avoid
	bzr locking race condition.

673 674 675
	* emacs-lisp/edebug.el (edebug-instrument-function): Check a marker is
	still valid before using it.

676 677 678
	* progmodes/grep.el (grep-mode-font-lock-keywords): Adjust to
	`message' -> `compilation-message' rename (bug#8004).

679 680 681 682 683 684 685 686 687 688 689 690 691 692 693 694 695 696 697 698 699 700 701 702 703 704 705 706 707 708 709 710 711 712 713 714 715 716 717
	Move keymap initialization into declaration.
	* textmodes/enriched.el (enriched-mode-map):
	* textmodes/bib-mode.el (bib-mode-map):
	* term/lk201.el (lk201-function-map):
	* tar-mode.el (tar-mode-map):
	* replace.el (occur-mode-map):
	* progmodes/idlwave.el (idlwave-rinfo-mouse-map, idlwave-rinfo-map):
	* progmodes/idlw-help.el (idlwave-help-mode-map):
	* progmodes/gdb-mi.el (gdb-memory-format-menu, gdb-memory-unit-menu):
	* play/solitaire.el (solitaire-mode-map):
	* play/snake.el (snake-mode-map, snake-null-map):
	* play/pong.el (pong-mode-map):
	* play/handwrite.el (menu-bar-handwrite-map):
	* play/gametree.el (gametree-mode-map):
	* net/rcirc.el (rcirc-mode-map, rcirc-browse-url-map
	(rcirc-multiline-minor-mode-map, rcirc-track-minor-mode-map):
	* net/newst-plainview.el (newsticker-menu, newsticker-mode-map)
	(newsticker--url-keymap):
	* net/net-utils.el (nslookup-mode-map, ftp-mode-map):
	* menu-bar.el (menu-bar-file-menu, menu-bar-i-search-menu)
	(menu-bar-search-menu, menu-bar-replace-menu, menu-bar-goto-menu)
	(menu-bar-edit-menu, menu-bar-custom-menu)
	(menu-bar-showhide-fringe-ind-menu, menu-bar-showhide-fringe-menu)
	(menu-bar-showhide-scroll-bar-menu, menu-bar-showhide-menu)
	(menu-bar-line-wrapping-menu, menu-bar-options-menu)
	(menu-bar-games-menu, menu-bar-encryption-decryption-menu)
	(menu-bar-tools-menu, menu-bar-describe-menu)
	(menu-bar-search-documentation-menu, menu-bar-manuals-menu)
	(menu-bar-help-menu):
	* mail/rmailsum.el (rmail-summary-mode-map):
	* kmacro.el (kmacro-step-edit-map):
	* ibuffer.el (ibuffer-mode-groups-popup, ibuffer-mode-map)
	(ibuffer-mode-operate-map):
	* hi-lock.el (hi-lock-menu, hi-lock-map):
	* emulation/vip.el (vip-mode-map):
	* emacs-lisp/re-builder.el (reb-lisp-mode-map):
	* bookmark.el (bookmark-bmenu-mode-map):
	* help-mode.el (help-mode-map): Move initialization into declaration.

718 719 720 721 722 723 724
2011-02-10  Deniz Dogan  <deniz.a.m.dogan@gmail.com>

	* net/rcirc.el: Add PRIVMSG and CTCP functions.
	(rcirc-send-privmsg, rcirc-send-ctcp): New functions.
	(rcirc-keepalive, rcirc-cmd-ctcp, rcirc-ctcp-sender-PING)
	(rcirc-cmd-me, rcirc-authenticate): Use them.

725 726 727 728 729 730 731 732 733 734 735 736 737 738 739 740 741 742 743 744 745 746 747
2011-02-10  Ken Manheimer  <ken.manheimer@gmail.com>

	* allout.el: Synopsis: Change allout user configuration so
	auto-activation is controlled solely by customization
	`allout-auto-activation'.

	(allout-auto-activation-helper) (allout-setup): New autoloads
	implement new custom set procedure for allout-auto-activation.
	Also, explicitly invoke
	(allout-setup) after allout-auto-activation is custom-defined, to
	effect the settings in emacs sessions besides the few where
	allout-auto-activation customization is donea.
	(allout-auto-activation): Use allout-auto-activation-helper to
	:set.  Revise the docstring.
	(allout-init): Reduce functionality to just customizing
	allout-auto-activation, and mark obsolete.
	(allout-mode): Respect string values for allout-auto-activation.
	Run allout-after-copy-or-kill-hook without any args.
	(allout-mode) (allout-layout) (allout-default-layout)
	(outlineify-sticky): Adjust docstring for new scheme.
	(allout-after-copy-or-kill-hook): No arguments - hook implementers
	should concentrate on the kill ring.

748 749 750 751 752
2011-02-09  Teodor Zlatanov  <tzz@lifelogs.com>

	* password-cache.el (password-cache-remove): Accept secrets that are
	not strings.

753 754 755 756 757
2011-02-09  Stefan Monnier  <monnier@iro.umontreal.ca>

	* progmodes/sh-script.el (sh-font-lock-open-heredoc): Fix case
	of here-doc that immediately follows a comment.

758 759
2011-02-09  Deniz Dogan  <deniz.a.m.dogan@gmail.com>

760 761
	* net/rcirc.el (rcirc-ctcp-sender-PING): Simplifying.

762 763 764 765
	* net/rcirc.el (rcirc-cmd-ctcp): Use dedicated function when
	available.
	(rcirc-ctcp-sender-PING): New function.

766 767 768 769 770 771 772
2011-02-08  Stefan Monnier  <monnier@iro.umontreal.ca>

	* obsolete/pc-select.el: Rename from emulation/pc-select.el (bug#7940).
	Remove the mark/nomark handling, and activate shift-select-mode instead.

	* obsolete/pc-mode.el: Rename from emulation/pc-mode.el.

773 774 775 776 777
2011-02-07  Jay Belanger  <jay.p.belanger@gmail.com>

	* calc/calc-units.el (math-logunits-quant): Add support for
	non-logarithmic units.

778 779
2011-02-07  Ken Manheimer  <ken.manheimer@gmail.com>

780 781 782 783 784 785 786 787 788 789 790
	* allout.el (allout-after-copy-or-kill-hook): New hook for
	extension-specific processing of killed text.
	(allout-mode): Include new allout-after-copy-or-kill-hook among
	mentioned hooks.
	(allout-kill-line) (allout-kill-topic): Ensure that processing
	after kill happens even if barf-if-buffer-read-only is raised.
	Include new allout-after-copy-or-kill-hook among that subsequent
	processing.
	(allout-deannotate-hidden): Actually remove the annotation text
	properties.

791 792
	* allout.el (allout-listify-exposed): Copy text sans text properties.

793 794
2011-02-07  Michael Albinus  <michael.albinus@gmx.de>

795
	* net/dbus.el (dbus-list-activatable-names): Add optional argument BUS.
796

797 798 799 800
2011-02-07  Deniz Dogan  <deniz.a.m.dogan@gmail.com>

	* net/rcirc.el (rcirc-handler-317): New function (Bug#6507).

Jay Belanger's avatar
Jay Belanger committed
801 802
2011-02-06  Jay Belanger  <jay.p.belanger@gmail.com>

803
	* calc/calc.el (calc-logunits-field-reference): Rename from
Jay Belanger's avatar
Jay Belanger committed
804
	`calc-default-field-reference-level'.
805
	(calc-logunits-power-reference): Rename from
Jay Belanger's avatar
Jay Belanger committed
806 807
	`calc-default-power-reference-level'

808
	* calc/calc-units.el (math-logunits-quant): Rename from
Jay Belanger's avatar
Jay Belanger committed
809
	`math-logunits-level'
810
	(math-logunits-plus): Rename from math-logcombine.
Jay Belanger's avatar
Jay Belanger committed
811
	(calcFunc-luplus, calcFunc-luminus calc-luplus, calc-luminus): Remove.
812 813
	(calcFunc-lufieldadd, calcFunc-lupoweradd, calcFunc-lufieldsub)
	(calcFunc-lufieldsub,calc-logunits-add calc-logunits-sub):
Jay Belanger's avatar
Jay Belanger committed
814
	New functions.
815 816 817
	(calcFunc-fieldquant): Rename from `calcFunc-fieldlevel'.
	(calcFunc-powerquant): Rename from `calcFunc-powerlevel'.
	(calc-logunits-quantity): Rename from `calc-level'.
Jay Belanger's avatar
Jay Belanger committed
818 819
	(calcFunc-dbfieldlevel, calcFunc-dbpowerlevel, calcFunc-npfieldlevel)
	(calcFunc-nppowerlevel,calc-logunits-dblevel, calc-logunits-nplevel)
820 821
	(math-logunits-mul, calcFunc-lufieldmul, calcFunc-lupowermul)
	(calc-logunits-mul, math-logunits-divide, calcFunc-lufielddiv)
Jay Belanger's avatar
Jay Belanger committed
822 823 824
	(calcFunc-lupowerdiv,calc-logunits-divide,math-logunits-level):
	New functions.

825
	* calc/calc-help.el (calc-u-prefix-help): Remove "L" reference.
Jay Belanger's avatar
Jay Belanger committed
826 827 828 829 830 831
	(calc-ul-prefix-help): Remove.
	(calc-l-prefix-help): New function.
	(calc-full-help): Add reference to `calc-l-prefix-help'.

	* calc/calc-ext.el (calc-init-extensions): Update autoloads.

832 833
	* calc/README: Mention logarithmic units.

834 835 836 837 838
2011-02-06  Chong Yidong  <cyd@stupidchicken.com>

	* mail/emacsbug.el (report-emacs-bug-hook): Remove the check for
	non-ASCII characters (Bug#7925).

839 840 841 842
2011-02-05  Glenn Morris  <rgm@gnu.org>

	* emacs-lisp/cl-macs.el (return-from): Fix doc typo.

Glenn Morris's avatar
Glenn Morris committed
843 844 845
	* calendar/diary-lib.el (diary-font-lock-keywords):
	Tweak diary-time-regexp match.  (Bug#7891)

Glenn Morris's avatar
Glenn Morris committed
846 847 848
	* progmodes/f90.el (f90-find-tag-default): New function.  (Bug#7919)
	(f90-mode): Use it for mode's `find-tag-default-function' property.

849 850
	* ibuf-ext.el (ibuffer-filter-disable): Make it work.  (Bug#7969)

851 852
	* faces.el (set-face-attribute): Doc fix.  (Bug#2659)

853 854 855 856 857
2011-02-05  Deniz Dogan  <deniz.a.m.dogan@gmail.com>

	* net/rcirc.el (rcirc-handler-JOIN): Reset mode-line-process
	(Bug#6386).

858 859
2011-02-05  Stefan Monnier  <monnier@iro.umontreal.ca>

860 861 862 863 864 865 866 867 868 869 870 871 872 873
	* progmodes/sh-script.el (sh-here-doc-open-re): Don't rely on the
	font-lock-syntax-table remappings.
	(sh-here-doc-markers, sh-here-doc-re): Remove.
	(sh-font-lock-close-heredoc): Remove.
	(sh-syntax-propertize-here-doc): New function.
	(sh-font-lock-open-heredoc): Set the sh-here-doc-marker property
	instead of the sh-here-doc-re.
	(sh-font-lock-paren): Don't do anything in comments or strings.
	Handle line continuations.  Accept a few more chars.
	Don't rely on the font-lock-syntax-table remappings.
	`esac' is not a valid pattern.
	(sh-syntax-propertize-function): Handle here-docs differently, so we
	don't bother syntax-propertizing the insides.

874 875 876
	* progmodes/sh-script.el (sh-font-lock-paren, sh-kw, sh-prev-thing):
	Handle new bashisms ";&" and ";;&" (bug#7947).

877 878
2011-02-05  Michael Albinus  <michael.albinus@gmx.de>

879 880
	* net/tramp-smb.el (tramp-smb-errors): Use `regexp-opt'.
	Add "NT_STATUS_IO_TIMEOUT" and "NT_STATUS_NO_SUCH_USER".
881

882 883 884 885 886 887 888 889 890 891
2011-02-05  Era Eriksson  <era+tramp@iki.fi>  (tiny change)

	* net/tramp.el (tramp-postfix-method-format)
	(tramp-postfix-method-regexp, tramp-prefix-domain-format)
	(tramp-prefix-domain-regexp, tramp-postfix-user-format)
	(tramp-postfix-user-regexp, tramp-prefix-port-format)
	(tramp-prefix-port-regexp, tramp-postfix-host-format)
	(tramp-postfix-host-regexp, tramp-handle-substitute-in-file-name):
	Doc fix.

892 893 894 895
2011-02-04  Sam Steingold  <sds@gnu.org>

	* mouse.el (mouse-buffer-menu-mode-groups): Add a "GDB" group.

896 897 898 899
2011-02-04  Andreas Schwab  <schwab@linux-m68k.org>

	* international/mule-util.el (with-coding-priority): Doc fix.

900 901 902 903
2011-02-04  Eli Zaretskii  <eliz@gnu.org>

	* arc-mode.el (archive-mode-map): Fix a typo in last change.

904 905 906 907 908
2011-02-03  Sam Steingold  <sds@gnu.org>

	* progmodes/gdb-mi.el (gdb-breakpoints-list-handler-custom):
	Do not error out when `func' is nil.

909 910 911 912 913 914 915 916 917
2011-02-03  Michael Albinus  <michael.albinus@gmx.de>

	* net/tramp-sh.el (tramp-remote-path): Add default settings for
	`tramp-default-remote-path' to the docstring.
	(tramp-get-remote-path): Suppress error message when `getconf
	PATH' fails.

	* net/tramp-smb.el (tramp-smb-errors): Add "NT_STATUS_UNSUCCESSFUL".

Glenn Morris's avatar
Glenn Morris committed
918 919
2011-02-03  Glenn Morris  <rgm@gnu.org>

920 921
	* vc/vc-hg.el (vc-hg-command): Doc fix.

922 923
	* term/w32-win.el (libpng-version): Declare for compiler.

924 925
	* msb.el: No need to load dired while compiling.

Glenn Morris's avatar
Glenn Morris committed
926 927 928
	* emacs-lisp/elint.el (elint-standard-variables):
	Remove a couple of built-ins that now have doc-strings.

929 930 931
	* hi-lock.el, ps-bdf.el, ps-mule.el, ps-print.el, ps-samp.el:
	`require' is automatically `eval-and-compile'd.

Glenn Morris's avatar
Glenn Morris committed
932 933 934
	* net/rcirc.el (rcirc-nick-completion-format): Add :version tag.
	(rcirc-log-directory, rcirc-log-flag): Move definitions before use.

Glenn Morris's avatar
Glenn Morris committed
935 936 937 938
	* strokes.el (strokes-fill-current-buffer-with-whitespace):
	Move definition before use.
	(strokes-report-bug): Make it obsolete.

939 940 941 942 943 944 945 946 947 948 949 950
2011-02-02  Sam Steingold  <sds@gnu.org>

	* apropos.el (apropos-print): Now that `apropos-mode' inherits
	from `special-mode', entering it makes the buffer read-only, so
	call it only when everything has been already inserted.
	* emacs-lisp/ert.el (ert--setup-results-buffer)
	(ert-results-pop-to-backtrace-for-test-at-point)
	(ert-results-pop-to-messages-for-test-at-point)
	(ert-results-pop-to-timings): Ditto.
	* emacs-lisp/package.el (package--list-packages): Ditto.
	* play/solitaire.el (solitaire): Ditto.

951 952 953 954 955 956 957 958 959 960
2011-02-02  Chong Yidong  <cyd@stupidchicken.com>

	* progmodes/compile.el: Make all faces inherit.
	(compilation-warning): Inherit from font-lock-variable-name-face.
	(compilation-info): Inherit from font-lock-type-face.
	(compilation-line-number): Reassign to font-lock-keyword-face.
	(compilation-column-number): Reassign to font-lock-doc-face.
	(compilation-leave-directory-face): Reassign to
	font-lock-builtin-face.

Eli Zaretskii's avatar
Eli Zaretskii committed
961 962 963 964 965
2011-02-02  Eli Zaretskii  <eliz@gnu.org>

	* dired.el (dired-insert-directory): Don't invoke `ls' when
	ls-lisp.el is used to emulate it.

966 967 968 969
2011-02-01  Julien Danjou  <julien@danjou.info>

	* color.el (color-gradient): Add a color-gradient function.

970 971 972 973 974 975 976 977 978 979 980 981 982 983 984 985 986 987 988 989 990 991 992 993 994 995 996 997 998 999 1000 1001 1002
2011-02-01  Sam Steingold  <sds@gnu.org>

	* simple.el (special-mode-map): Bind "h" to `describe-mode';
	bind "z" to `kill-this-buffer'.
	(completion-list-mode-map): Bind "z" to `kill-this-buffer'.
	* apropos.el (apropos-mode-map): Inherit from `special-mode-map'.
	(apropos-mode): Inherit from `special-mode'.
	* arc-mode.el (archive-mode-map): Inherit from `special-mode-map'.
	* bookmark.el (bookmark-bmenu-mode): Define using
	`define-derived-mode' inheriting from `special-mode'.
	* dired.el (dired-mode-map): Inherit from `special-mode-map'.
	* image-mode.el (image-mode-map): Ditto.
	* replace.el (occur-mode): Define using
	`define-derived-mode' inheriting from `special-mode'.
	* tar-mode.el (tar-mode): Inherit from `special-mode'.
	* calendar/diary-lib.el (diary-fancy-display-mode):
	Inherit from `special-mode-map'.
	* emacs-lisp/ert.el (ert-simple-view-mode, ert-results-mode):
	Inherit from `special-mode'.
	* emacs-lisp/package.el (package-menu-mode-map): Copy from
	`special-mode-map'.
	(package-menu-mode): Define using `define-derived-mode'
	inheriting from `special-mode'.
	* erc/erc-list.el (erc-list-menu-mode): Inherit from `special-mode'.
	* net/xesam.el (xesam-mode): Inherit from `special-mode'.
	(xesam-mode-map): Define separately.
	* play/solitaire.el (solitaire-mode): Inherit from `special-mode'.
	* progmodes/compile.el (compilation-minor-mode-map)
	(compilation-mode-map): Inherit from `special-mode-map'.
	* vc/diff-mode.el (diff-mode-shared-map):
	Inherit from `special-mode-map'.
	* vc/log-view.el (log-view-mode-map): Add a comment.

1003 1004 1005 1006 1007 1008 1009 1010 1011 1012
2011-02-01  Chong Yidong  <cyd@stupidchicken.com>

	* custom.el (load-theme): Define return value.  Drop use of
	unsafep; call custom-theme-load-confirm for non-known-safe themes.
	(custom-theme-load-confirm): Scroll in the correct window.
	(custom-enabled-themes): Add custom-safe-themes to :set-after.

	* cus-theme.el (custom-theme-checkbox-toggle): Don't activate the
	checkbox if load-theme fails.

1013 1014 1015 1016 1017
2011-02-01  Stefan Monnier  <monnier@iro.umontreal.ca>

	* progmodes/compile.el (compilation-next-error): Check there's
	a message before using it (bug#7941).

1018 1019 1020 1021 1022 1023
2011-02-01  Jay Belanger  <jay.p.belanger@gmail.com>

	* calc/calc-mtx.el (math-lud-pivot-check): New function.
	(math-do-matrix-lud): Use `math-lud-pivot-check' to check the size
	of potential pivots.

1024 1025
2011-01-31  Alan Mackenzie  <acm@muc.de>

1026 1027
	* progmodes/cc-cmds.el (c-forward-over-illiterals):
	Continue parsing if we encounter a naked # (Bug#7595).
1028
	(c-beginning-of-statement): Avoid loop in locating the beginning
Alan Mackenzie's avatar
.  
Alan Mackenzie committed
1029
	of a macro.  (Not actually committed until 2011-02-20, see above).
1030

1031 1032 1033 1034
2011-01-31  Chong Yidong  <cyd@stupidchicken.com>

	* files.el (copy-directory): Fix arguments to recursive call.

1035
2011-01-31  Chong Yidong  <cyd@stupidchicken.com>
1036 1037 1038 1039

	* files.el (copy-directory): If destination is an existing
	directory, copy into a subdirectory there.

1040
2011-01-31  Andreas Schwab  <schwab@linux-m68k.org>
1041 1042 1043 1044

	* emacs-lisp/shadow.el (load-path-shadows-find): Ignore leim-list
	files.

1045
2011-01-31  Chong Yidong  <cyd@stupidchicken.com>
1046

1047 1048 1049
	* image-dired.el (image-dired-mouse-display-image): No-op if no
	file is found (Bug#7817).

1050 1051
	* mouse.el (mouse-menu-non-singleton): Doc fix (Bug#7801).

1052
2011-01-31  Kenichi Handa  <handa@m17n.org>
1053

1054 1055
	* international/quail.el (quail-keyboard-layout-alist):
	Remove superfluous SPC for "pc105-uk" (bug#7927).
1056

1057
2011-01-31  Glenn Morris  <rgm@gnu.org>
Glenn Morris's avatar
Glenn Morris committed
1058 1059 1060 1061

	* msb.el (msb-menu-bar-update-buffers): Update for changed
	argument handling of menu-bar-select-frame.  (Bug#7902)

1062
2011-01-31  Chong Yidong  <cyd@stupidchicken.com>
1063 1064 1065 1066

	* progmodes/cc-engine.el (c-forward-<>-arglist-recur): Set a limit
	to the recursion depth (Bug#7722).

1067
2011-01-31  Roy Liu  <carsomyr@gmail.com>  (tiny change)
1068 1069 1070 1071

	* term/ns-win.el (ns-find-file): Expand ns-input-file with
	command-line-default-directory (Bug#7872).

1072 1073 1074 1075 1076 1077 1078 1079 1080 1081
2011-01-31  Stefan Monnier  <monnier@iro.umontreal.ca>

	* progmodes/compile.el (compilation--flush-directory-cache):
	New function, extracted from compilation--remove-properties.
	(compilation--remove-properties, compilation--parse-region): Use it.
	(compilation--previous-directory): Handle one more case.
	(compilation-enable-debug-messages): Remove.
	(compilation-parse-errors, compilation--flush-parse): Just remove the
	left over debug messages.

1082 1083 1084 1085 1086 1087 1088
2011-01-31  Sam Steingold  <sds@gnu.org>

	* progmodes/compile.el (compilation-enable-debug-messages):
	Add a variable to make the parsing messages introduced in
	2011-01-28T22:12:05Z!monnier@iro.umontreal.ca optional.
	(compilation-parse-errors, compilation--flush-parse): Use it.

1089 1090
2011-01-31  Deniz Dogan  <deniz.a.m.dogan@gmail.com>

1091
	* net/rcirc.el: New customizable nick completion format.  (Bug#6314)
1092 1093 1094
	(rcirc-nick-completion-format): New defcustom.
	(rcirc-complete): Use it.

1095 1096 1097 1098 1099 1100
2011-01-31  Deniz Dogan  <deniz.a.m.dogan@gmail.com>

	* net/rcirc.el: Clean log filenames (Bug#7933).
	(rcirc-log-write): Use convert-standard-filename.
	(rcirc-log-filename-function): Documentation updates.

1101 1102
2011-01-30  Jan Djärv  <jan.h.d@swipnet.se>

1103 1104
	* mail/emacsbug.el (report-emacs-bug-insert-to-mailer):
	Check report-emacs-bug-can-use-osx-open and use that if t.
1105 1106 1107 1108
	(report-emacs-bug-can-use-osx-open): New function.
	(report-emacs-bug): Rename can-xdg-email to can-insert-mail.
	Check report-emacs-bug-can-use-osx-open also for can-insert-mail.

1109 1110 1111 1112 1113 1114 1115 1116 1117 1118 1119 1120 1121 1122 1123 1124
2011-01-29  Chong Yidong  <cyd@stupidchicken.com>

	* vc/vc-dispatcher.el (vc-set-async-update): New function for
	updating Dired or VC-dir buffers after async command completes.

	* vc/vc-bzr.el (vc-bzr-async-command): Return the process buffer.
	(vc-bzr-pull, vc-bzr-merge-branch): Use vc-set-async-update.

	* vc/vc-git.el (vc-git-merge-branch): Add FETCH_HEAD to branch
	completions if it exists.  Use vc-set-async-update.
	(vc-git-pull): Use vc-set-async-update.

	* vc/vc-hg.el (vc-hg-pull): Fix default-contents arg to
	read-shell-command.  Use vc-set-async-update.
	(vc-hg-merge-branch): Use vc-set-async-update.

1125 1126
2011-01-29  Daiki Ueno  <ueno@unixuser.org>

1127 1128
	* epg.el (epg--status-KEYEXPIRED, epg--status-KEYREVOKED):
	Don't presume KEYEXPIRED and KEYREVOKED to be a fatal error status
1129 1130
	(Bug#7931).

1131 1132 1133 1134 1135 1136 1137 1138 1139
2011-01-29  Stefan Monnier  <monnier@iro.umontreal.ca>

	* progmodes/compile.el: Avoid an N² behavior in grep.
	(compilation--previous-directory): New fun.
	(compilation--previous-directory-cache): New var.
	(compilation--remove-properties): Flush it.
	(compilation-directory-properties, compilation-error-properties):
	Use the new fun to speed up looking for the current directory.

1140 1141 1142 1143 1144 1145 1146 1147 1148 1149 1150 1151 1152
2011-01-29  Chong Yidong  <cyd@stupidchicken.com>

	* vc/vc-hg.el (vc-hg-history): New var.
	(vc-hg-pull): Perform default pull if called via Lisp by vc-pull.
	(vc-hg-merge-branch): New function.

	* vc/vc.el (vc-pull): Make vc-update an alias for this, instead of
	the other way around.

	* vc/vc-git.el (vc-git-branches, vc-git-pull)
	(vc-git-merge-branch): New functions.
	(vc-git-history): New var.

1153 1154 1155 1156 1157 1158 1159
2011-01-28  Chong Yidong  <cyd@stupidchicken.com>

	* vc/vc-dispatcher.el (vc-do-async-command): New function.

	* vc/vc-bzr.el (vc-bzr-async-command): Convert into a wrapper for
	vc-do-async-command.

1160 1161
	* vc/vc-bzr.el (vc-bzr-pull, vc-bzr-merge-branch):
	Callers changed.
1162

1163 1164 1165
2011-01-28  Leo  <sdl.web@gmail.com>

	* emacs-lisp/advice.el (ad-make-advised-docstring): Don't apply
1166
	highlighting to the "this function is advised" message.
1167 1168 1169 1170

	* help-mode.el (help-mode-finish): Apply highlighting here, to
	avoid clobbering by substitute-command-keys (Bug#6304).

1171 1172 1173 1174 1175
2011-01-28  Chong Yidong  <cyd@stupidchicken.com>

	* woman.el (woman0-roff-buffer): Process roff escape sequences
	occurring prior to the first request (Bug#7843).

1176 1177
2011-01-28  Stefan Monnier  <monnier@iro.umontreal.ca>

1178 1179 1180 1181 1182 1183 1184 1185 1186 1187 1188 1189 1190 1191 1192 1193 1194 1195 1196 1197 1198 1199 1200 1201 1202 1203 1204 1205
	* progmodes/compile.el: Don't use font-lock any more.
	(compilation-error-regexp-alist-alist): Change handling of makepp
	so it preserves the warning/error distinction on subsequent files.
	Simplify various rules.
	(compilation-directory-properties): Use font-lock-face.
	Add a compilation-message property.
	(compilation-internal-error-properties): Use font-lock-face.
	Don't set the compilation-debug property here.
	(compilation--put-prop, compilation--remove-properties)
	(compilation--parse-region, compilation--ensure-parse)
	(compilation--ensure-parse): New functions.
	(compilation-parse-errors): New function, largely inspired of
	compilation-mode-font-lock-keywords.  Set compilation-debug here.
	(compilation--parsed): New var.
	(compilation--flush-parse): Use compilation--ensure-parse.
	(compilation-start): Don't call font-lock.
	(compilation-turn-on-font-lock): Remove.
	(compilation-setup): Don't set font-lock-extra-managed-props not change
	other font-lock settings, other than keywords.
	Don't activate font-lock-mode.
	Set change-major-mode-hook and before-change-functions.
	(compilation--unsetup): Remove properties and hooks.
	(compilation-next-single-property-change): New function.
	(compilation-next-error): Use it to parse when needed.
	(compile-goto-error): Parse buffer as needed.
	(compilation--compat-error-properties): Don't need a dummy `face'
	property any more.

1206 1207 1208 1209 1210 1211 1212 1213 1214 1215 1216 1217 1218 1219 1220 1221 1222 1223
2011-01-28  Stefan Monnier  <monnier@iro.umontreal.ca>

	* progmodes/compile.el: Use accessors for clarity and fix omake hack.
	(compilation-process-setup-function): Fix docstring's false promises.
	(compilation-error-regexp-alist-alist): Catch omake's continuous
	recompilation message and avoid reuse of old markers.
	(compilation-parse-errors-function): Declare obsolete.
	(compilation-buffer-modtime): Remove.
	(compilation--make-cdrloc, compilation--loc->col)
	(compilation--loc->line, compilation--loc->file-struct)
	(compilation--loc->marker, compilation--loc->visited)
	(compilation--make-file-struct, compilation--file-struct->file-spec)
	(compilation--file-struct->formats)
	(compilation--file-struct->loc-tree): New macros.  Use them.
	(compilation--message): New defstruct.  Use them.
	(compilation-next-error-function): Don't mess with timestamps to try
	and guess when to reparse.

1224 1225
2011-01-28  Stefan Monnier  <monnier@iro.umontreal.ca>

1226 1227 1228 1229 1230 1231 1232
	* textmodes/tex-mode.el: Get rid of compilation-parse-errors-function
	(tex-old-error-file-name): New function,
	extracted from tex-compilation-parse-errors.
	(tex-compilation-parse-errors): Remove.
	(tex-error-regexp-alist): New var.
	(tex-shell): Use it to avoid compilation-parse-errors-function.

1233 1234 1235 1236 1237 1238 1239 1240 1241 1242 1243 1244 1245 1246 1247 1248 1249 1250 1251 1252 1253
	* progmodes/grep.el (grep-regexp-alist): Tighten regexp.
	(grep-mode-font-lock-keywords): Remove regexp that seems like
	a left-over from before we used compile.el.
	(grep-mode-font-lock-keywords): Call syntax-ppss-flush-cache when
	modifying the buffer within with-silent-modifications.

	* progmodes/compile.el: Cleanup text-properties namespace by using
	`compilation-message' instead of `message', `compilation-directory'
	instead of `directory', and `compilation-debug' instead of `debug'.
	(compilation-last-buffer, compilation-parsing-end)
	(compilation-error-list, compilation-old-error-list): Move to the
	compatibility part of the code.
	(compilation-error-properties): If `file' is a function, let it return
	a file name.
	(compilation-mode-font-lock-keywords): Be more conservative with the
	omake "^ *" pattern prefix, to try and minimize the risk of
	pathologically slow regexp matching.
	(compilation-start): Use inhibit-read-only.
	(compilation--unsetup): New function.
	(compilation-shell-minor-mode, compilation-minor-mode): Use it.
	(compilation-filter): Minor tweaks.
1254
	(compilation-next-error-function): Try and avoid abusing variables.
1255
	(compilation--flush-file-structure): New fun.
1256
	(compilation-fake-loc): Use it to improve behavior when file is reused.
1257 1258 1259 1260
	(debug-ignored-errors): Add "Moved past last ...".
	(compilation--compat-error-properties)
	(compilation--compat-parse-errors): Rename by doubling the "-".

1261 1262 1263 1264 1265 1266 1267 1268 1269 1270 1271 1272 1273 1274
	Port features from the previous prolog.el to the new one.
	* progmodes/prolog.el (prolog-system): Add GNU and ECLiPSe options.
	(prolog-program-name, prolog-program-switches, prolog-consult-string)
	(prolog-compile-string, prolog-prompt-regexp): Get rid of the <foo>-i
	variable and use a function to compute the value dynamically.
	(prolog-prompt-regexp): Add regexp for GNU Prolog.
	(prolog-continued-prompt-regexp): Remove, unused.
	(prolog-find-value-by-system): Try and use the value of prolog-system
	in the *prolog* buffer if it helps.
	(prolog-mode-keybindings-common): Bind C-c C-z unconditionally...
	(prolog-zip-on): ..and check prolog-system and version here instead.
	(prolog-inferior-self-insert-command): New command.
	(prolog-inferior-mode-map): Use it.
	(prolog-inferior-error-regexp-alist): New var.
1275
	(prolog-inferior-mode): Use it, with compilation-shell-minor-mode.
1276 1277 1278 1279 1280 1281 1282 1283 1284 1285 1286 1287
	(prolog-input-filter): Use derived-mode-p.
	(prolog-inferior-guess-flavor): New function.
	(prolog-ensure-process): Use it.  Use make-comint-in-buffer rather than
	make-comint to avoid running comint-mode twice.
	(prolog-inferior-buffer): New fun.
	(prolog-old-process-region, prolog-old-process-file):
	Don't call prolog-bsts here...
	(prolog-build-prolog-command): ...do it here instead.
	(prolog-old-process-region, prolog-old-process-file):
	Use compilation-fake-loc and compilation-forget-errors.
	(prolog-consult-compile-region): Use bolp.

1288 1289 1290 1291
2011-01-28  Chong Yidong  <cyd@stupidchicken.com>

	* image-mode.el (image-display-size): Doc fix (Bug#7820).

1292 1293
2011-01-27  Sam Steingold  <sds@gnu.org>

1294 1295
	* midnight.el (clean-buffer-list-kill-never-buffer-names):
	Remove "*server*" which is never created by emacs server.
1296

1297 1298 1299 1300 1301
2011-01-27  Deniz Dogan  <deniz.a.m.dogan@gmail.com>

	* vc/vc-bzr.el (vc-bzr-diff): Don't pass --diff-options unless
	there are some diff switches.

1302 1303
2011-01-27  Stefan Monnier  <monnier@iro.umontreal.ca>

1304 1305 1306
	* progmodes/ruby-mode.el (ruby-syntax-propertize-function):
	Copy change made to ruby-font-lock-syntactic-keywords.

1307 1308 1309 1310 1311 1312 1313 1314 1315 1316 1317 1318 1319 1320 1321 1322 1323 1324
	* htmlfontify.el: Make it obey the font-lock-face text property.
	Miscellaneous cleanup such as:
	- Don't hide expressions after a closing paren.
	- Move initial setq into let.
	- Hoist common parts out of ifs.
	(hfy-p-to-face, hfy-p-to-face-lennart): Remove.
	(hfy-face-at): Use get-text-property instead.
	(hfy-prop-invisible-p): Use invisible-p if available.
	(htmlfontify-manual): Use \\[...].
	(hfy-html-quote-regex): Use [...].
	(hfy-combined-face-spec): Simplify.
	(hfy-compile-face-map): Don't presume point-min==1.
	(hfy-css-name, hfy-buffer, htmlfontify-buffer): Use \' rather than $ to
	match end of string.
	(hfy-text-p): η-reduce.
	(hfy-tags-for-file): Receive cache-hash directly.
	(hfy-mark-tag-names): Adjust call.

Glenn Morris's avatar
Glenn Morris committed
1325 1326 1327 1328 1329
2011-01-27  Glenn Morris  <rgm@gnu.org>

	* msb.el (msb-after-load-hooks): Make it an obsolete alias.
	(msb-after-load-hook): Remove eval-after-load wackiness.

1330 1331 1332 1333 1334
2011-01-25  Sam Steingold  <sds@gnu.org>

	* vc/vc-svn.el (vc-svn-diff): Use `diff-command' instead of the
	literal "diff" (important for windows-nt).

Glenn Morris's avatar
Glenn Morris committed
1335 1336 1337 1338 1339 1340 1341 1342 1343 1344 1345 1346
2011-01-25  Glenn Morris  <rgm@gnu.org>

	* emacs-lisp/copyright.el (copyright-at-end-flag)
	(copyright-names-regexp): Add safety properties.
	(copyright-year-ranges): New option.
	(copyright-find-end): New function, split from copyright-update-year.
	(copyright-update-year): Use copyright-find-end.
	(copyright-fix-years): Optionally, convert years to ranges.
	Handle years continued over comment lines.
	Do not mess with the fill-prefix.
	Do not call copyright-update.
	(copyright-update-directory): Optionally, fix years rather than update.
1347
	Skip directories.  Find files with only safe local vars.
Glenn Morris's avatar
Glenn Morris committed
1348

Glenn Morris's avatar
Glenn Morris committed
1349
2011-01-25  Stefan Monnier  <monnier@iro.umontreal.ca>
1350 1351 1352 1353

	* files.el (file-name-non-special): Only change buffer-file-name after
	insert-file-contents if it's `visit'ing the file (bug#7854).

Glenn Morris's avatar
Glenn Morris committed
1354
2011-01-25  Chong Yidong  <cyd@stupidchicken.com>
1355 1356 1357

	* dired.el (dired-revert): Doc fix (Bug#7758).

Glenn Morris's avatar
Glenn Morris committed
1358 1359 1360
	* simple.el (line-move-visual): Doc fix (Bug#7594).

2011-01-25  Nobuyoshi Nakada  <nobu@ruby-lang.org>
1361 1362 1363 1364 1365

	* progmodes/ruby-mode.el (ruby-here-doc-beg-match): Fix for
	here-doc which ends with an underscore.
	(ruby-mode-set-encoding): Skip shebang line always.
	(ruby-mode-map): Bind C-c C-c to comment-region.
1366
	(ruby-font-lock-keywords): Highlight literal hash key labels as symbols.
1367 1368 1369 1370
	(ruby-forward-sexp): Stop after literal hash key labels.
	(ruby-font-lock-syntactic-keywords): Highlight regexp after open
	bracket.

Glenn Morris's avatar
Glenn Morris committed
1371
2011-01-25  Keitaro Miyazaki  <keitaro.miyazaki@gmail.com>  (tiny change)
1372 1373 1374 1375

	* emacs-lisp/re-builder.el (reb-mode-map): Set case-fold-search in
	the correct buffer (Bug#7650).

Glenn Morris's avatar
Glenn Morris committed
1376 1377 1378
2011-01-25  Glenn Morris  <rgm@gnu.org>

	* comint.el (comint-mode): Doc fix.  (Bug#7897)
Glenn Morris's avatar
Glenn Morris committed
1379

1380 1381
	* simple.el (do-auto-fill): Give it a doc string.

Glenn Morris's avatar
Glenn Morris committed
1382 1383
	* button.el (make-text-button): Doc fix.  (See bug#7881)

1384 1385
2011-01-24  Stefan Monnier  <monnier@iro.umontreal.ca>

1386 1387 1388
	* progmodes/perl-mode.el (perl-syntax-propertize-special-constructs):
	Don't move backward, so as not to fall in an inf-loop (bug#7736).

1389 1390 1391
	* progmodes/ruby-mode.el (ruby-syntax-propertize-function): (bug#7735)
	Handle ?" and friends differently (e.g. don't use backrefs).

1392 1393 1394 1395
2011-01-24  Jay Belanger  <jay.p.belanger@gmail.com>

	* calc/calc.el (calc-default-power-reference-level)
	(calc-default-field-reference-level): New variables.
1396
	* calc/calc-units.el (math-standard-units): Add dB and Np.
1397 1398 1399
	(math-logunits): New variable.
	(math-extract-logunits, math-logcombine, calcFunc-luplus)
	(calcFunc-luminus, calc-luplus, calc-luminus, math-logunit-level)
1400 1401
	(calcFunc-fieldlevel, calcFunc-powerlevel, calc-level):
	New functions.
1402 1403 1404 1405
	(math-find-base-units-rec): Add entry for ln(10).
	* calc/calc-help.el (calc-u-prefix-help): Add logarithmic help.
	(calc-ul-prefix-help): New functi