ChangeLog 827 KB
Newer Older
1 2 3 4 5 6 7 8 9
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).

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

10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28
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.

29 30
2011-02-13  Teodor Zlatanov  <tzz@lifelogs.com>

31 32
	* net/imap.el: Remove file.  All the functionality is in nnimap.el.

33 34
	* net/imap-hash.el: Remove file.

35 36 37 38 39 40 41 42 43
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.

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

52
2011-02-12  Glenn Morris  <rgm@gnu.org>
53

Glenn Morris's avatar
Glenn Morris committed
54 55 56 57
	* emacs-lisp/cl-seq.el (union, nunion, intersection)
	(nintersection, set-difference, nset-difference)
	(set-exclusive-or, nset-exclusive-or): Doc fix.

58 59
	* ediff-ptch.el (ediff-fixup-patch-map): Doc fix.

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

63 64
	* simple.el (next-error): Doc fix.

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

70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87
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.

88 89 90 91 92
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.

93 94 95 96 97
2011-02-12  Tassilo Horn  <tassilo@member.fsf.org>

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

98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116
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.

117 118 119 120 121 122
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.

123 124 125 126 127 128 129 130
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".

131 132 133 134 135
2011-02-11  Deniz Dogan  <deniz.a.m.dogan@gmail.com>

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

136 137 138 139 140
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.

141 142 143 144
2011-02-11  Deniz Dogan  <deniz.a.m.dogan@gmail.com>

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

145 146 147 148
2011-02-11  Glenn Morris  <rgm@gnu.org>

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

149 150 151 152
2011-02-11  Juanma Barranquero  <lekktu@gmail.com>

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

153 154
2011-02-10  Stefan Monnier  <monnier@iro.umontreal.ca>

155 156
	* server.el (server-process-filter): Use pcase.

157 158 159 160 161 162
	* 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.

163 164 165
	* vc/vc-dir.el (vc-dir-refresh): Reorder operations to try and avoid
	bzr locking race condition.

166 167 168
	* emacs-lisp/edebug.el (edebug-instrument-function): Check a marker is
	still valid before using it.

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

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

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

218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240
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.

241 242 243 244 245
2011-02-09  Teodor Zlatanov  <tzz@lifelogs.com>

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

246 247 248 249 250
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.

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

253 254
	* net/rcirc.el (rcirc-ctcp-sender-PING): Simplifying.

255 256 257 258
	* net/rcirc.el (rcirc-cmd-ctcp): Use dedicated function when
	available.
	(rcirc-ctcp-sender-PING): New function.

259 260 261 262 263 264 265
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.

266 267 268 269 270
2011-02-07  Jay Belanger  <jay.p.belanger@gmail.com>

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

271 272
2011-02-07  Ken Manheimer  <ken.manheimer@gmail.com>

273 274 275 276 277 278 279 280 281 282 283
	* 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.

284 285
	* allout.el (allout-listify-exposed): Copy text sans text properties.

286 287
2011-02-07  Michael Albinus  <michael.albinus@gmx.de>

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

290 291 292 293
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
294 295
2011-02-06  Jay Belanger  <jay.p.belanger@gmail.com>

296
	* calc/calc.el (calc-logunits-field-reference): Rename from
Jay Belanger's avatar
Jay Belanger committed
297
	`calc-default-field-reference-level'.
298
	(calc-logunits-power-reference): Rename from
Jay Belanger's avatar
Jay Belanger committed
299 300
	`calc-default-power-reference-level'

301
	* calc/calc-units.el (math-logunits-quant): Rename from
Jay Belanger's avatar
Jay Belanger committed
302
	`math-logunits-level'
303
	(math-logunits-plus): Rename from math-logcombine.
Jay Belanger's avatar
Jay Belanger committed
304
	(calcFunc-luplus, calcFunc-luminus calc-luplus, calc-luminus): Remove.
305 306
	(calcFunc-lufieldadd, calcFunc-lupoweradd, calcFunc-lufieldsub)
	(calcFunc-lufieldsub,calc-logunits-add calc-logunits-sub):
Jay Belanger's avatar
Jay Belanger committed
307
	New functions.
308 309 310
	(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
311 312
	(calcFunc-dbfieldlevel, calcFunc-dbpowerlevel, calcFunc-npfieldlevel)
	(calcFunc-nppowerlevel,calc-logunits-dblevel, calc-logunits-nplevel)
313 314
	(math-logunits-mul, calcFunc-lufieldmul, calcFunc-lupowermul)
	(calc-logunits-mul, math-logunits-divide, calcFunc-lufielddiv)
Jay Belanger's avatar
Jay Belanger committed
315 316 317
	(calcFunc-lupowerdiv,calc-logunits-divide,math-logunits-level):
	New functions.

318
	* calc/calc-help.el (calc-u-prefix-help): Remove "L" reference.
Jay Belanger's avatar
Jay Belanger committed
319 320 321 322 323 324
	(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.

325 326
	* calc/README: Mention logarithmic units.

327 328 329 330 331
2011-02-06  Chong Yidong  <cyd@stupidchicken.com>

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

332 333 334 335
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
336 337 338
	* calendar/diary-lib.el (diary-font-lock-keywords):
	Tweak diary-time-regexp match.  (Bug#7891)

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

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

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

346 347 348 349 350
2011-02-05  Deniz Dogan  <deniz.a.m.dogan@gmail.com>

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

351 352
2011-02-05  Stefan Monnier  <monnier@iro.umontreal.ca>

353 354 355 356 357 358 359 360 361 362 363 364 365 366
	* 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.

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

370 371
2011-02-05  Michael Albinus  <michael.albinus@gmx.de>

372 373
	* net/tramp-smb.el (tramp-smb-errors): Use `regexp-opt'.
	Add "NT_STATUS_IO_TIMEOUT" and "NT_STATUS_NO_SUCH_USER".
374

375 376 377 378 379 380 381 382 383 384
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.

385 386 387 388
2011-02-04  Sam Steingold  <sds@gnu.org>

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

389 390 391 392
2011-02-04  Andreas Schwab  <schwab@linux-m68k.org>

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

393 394 395 396
2011-02-04  Eli Zaretskii  <eliz@gnu.org>

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

397 398 399 400 401
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.

402 403 404 405 406 407 408 409 410
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
411 412
2011-02-03  Glenn Morris  <rgm@gnu.org>

413 414
	* vc/vc-hg.el (vc-hg-command): Doc fix.

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

417 418
	* msb.el: No need to load dired while compiling.

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

422 423 424
	* 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
425 426 427
	* 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
428 429 430 431
	* strokes.el (strokes-fill-current-buffer-with-whitespace):
	Move definition before use.
	(strokes-report-bug): Make it obsolete.

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

444 445 446 447 448 449 450 451 452 453
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
454 455 456 457 458
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.

459 460 461 462
2011-02-01  Julien Danjou  <julien@danjou.info>

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

463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 487 488 489 490 491 492 493 494 495
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.

496 497 498 499 500 501 502 503 504 505
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.

506 507 508 509 510
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).

511 512 513 514 515 516
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.

517 518
2011-01-31  Alan Mackenzie  <acm@muc.de>

519 520
	* progmodes/cc-cmds.el (c-forward-over-illiterals):
	Continue parsing if we encounter a naked # (Bug#7595).
521 522 523
	(c-beginning-of-statement): Avoid loop in locating the beginning
	of a macro.

524 525 526 527
2011-01-31  Chong Yidong  <cyd@stupidchicken.com>

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

528
2011-01-31  Chong Yidong  <cyd@stupidchicken.com>
529 530 531 532

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

533
2011-01-31  Andreas Schwab  <schwab@linux-m68k.org>
534 535 536 537

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

538
2011-01-31  Chong Yidong  <cyd@stupidchicken.com>
539

540 541 542
	* image-dired.el (image-dired-mouse-display-image): No-op if no
	file is found (Bug#7817).

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

545
2011-01-31  Kenichi Handa  <handa@m17n.org>
546

547 548
	* international/quail.el (quail-keyboard-layout-alist):
	Remove superfluous SPC for "pc105-uk" (bug#7927).
549

550
2011-01-31  Glenn Morris  <rgm@gnu.org>
Glenn Morris's avatar
Glenn Morris committed
551 552 553 554

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

555
2011-01-31  Chong Yidong  <cyd@stupidchicken.com>
556 557 558 559

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

560
2011-01-31  Roy Liu  <carsomyr@gmail.com>  (tiny change)
561 562 563 564

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

565 566 567 568 569 570 571 572 573 574
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.

575 576 577 578 579 580 581
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.

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

584
	* net/rcirc.el: New customizable nick completion format. (Bug#6314)
585 586 587
	(rcirc-nick-completion-format): New defcustom.
	(rcirc-complete): Use it.

588 589 590 591 592 593
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.

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

596 597
	* mail/emacsbug.el (report-emacs-bug-insert-to-mailer):
	Check report-emacs-bug-can-use-osx-open and use that if t.
598 599 600 601
	(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.

602 603 604 605 606 607 608 609 610 611 612 613 614 615 616 617
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.

618 619
2011-01-29  Daiki Ueno  <ueno@unixuser.org>

620 621
	* epg.el (epg--status-KEYEXPIRED, epg--status-KEYREVOKED):
	Don't presume KEYEXPIRED and KEYREVOKED to be a fatal error status
622 623
	(Bug#7931).

624 625 626 627 628 629 630 631 632
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.

633 634 635 636 637 638 639 640 641 642 643 644 645
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.

646 647 648 649 650 651 652
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.

653 654
	* vc/vc-bzr.el (vc-bzr-pull, vc-bzr-merge-branch):
	Callers changed.
655

656 657 658
2011-01-28  Leo  <sdl.web@gmail.com>

	* emacs-lisp/advice.el (ad-make-advised-docstring): Don't apply
659
	highlighting to the "this function is advised" message.
660 661 662 663

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

664 665 666 667 668
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).

669 670
2011-01-28  Stefan Monnier  <monnier@iro.umontreal.ca>

671 672 673 674 675 676 677 678 679 680 681 682 683 684 685 686 687 688 689 690 691 692 693 694 695 696 697 698
	* 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.

699 700 701 702 703 704 705 706 707 708 709 710 711 712 713 714 715 716
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.

717 718
2011-01-28  Stefan Monnier  <monnier@iro.umontreal.ca>

719 720 721 722 723 724 725
	* 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.

726 727 728 729 730 731 732 733 734 735 736 737 738 739 740 741 742 743 744 745 746
	* 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.
747
	(compilation-next-error-function): Try and avoid abusing variables.
748
	(compilation--flush-file-structure): New fun.
749
	(compilation-fake-loc): Use it to improve behavior when file is reused.
750 751 752 753
	(debug-ignored-errors): Add "Moved past last ...".
	(compilation--compat-error-properties)
	(compilation--compat-parse-errors): Rename by doubling the "-".

754 755 756 757 758 759 760 761 762 763 764 765 766 767
	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.
768
	(prolog-inferior-mode): Use it, with compilation-shell-minor-mode.
769 770 771 772 773 774 775 776 777 778 779 780
	(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.

781 782 783 784
2011-01-28  Chong Yidong  <cyd@stupidchicken.com>

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

785 786
2011-01-27  Sam Steingold  <sds@gnu.org>

787 788
	* midnight.el (clean-buffer-list-kill-never-buffer-names):
	Remove "*server*" which is never created by emacs server.
789

790 791 792 793 794
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.

795 796
2011-01-27  Stefan Monnier  <monnier@iro.umontreal.ca>

797 798 799
	* progmodes/ruby-mode.el (ruby-syntax-propertize-function):
	Copy change made to ruby-font-lock-syntactic-keywords.

800 801 802 803 804 805 806 807 808 809 810 811 812 813 814 815 816 817
	* 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
818 819 820 821 822
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.

823 824 825 826 827
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
828 829 830 831 832 833 834 835 836 837 838 839
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.
840
	Skip directories.  Find files with only safe local vars.
Glenn Morris's avatar
Glenn Morris committed
841

Glenn Morris's avatar
Glenn Morris committed
842
2011-01-25  Stefan Monnier  <monnier@iro.umontreal.ca>
843 844 845 846

	* 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
847
2011-01-25  Chong Yidong  <cyd@stupidchicken.com>
848 849 850

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

Glenn Morris's avatar
Glenn Morris committed
851 852 853
	* simple.el (line-move-visual): Doc fix (Bug#7594).

2011-01-25  Nobuyoshi Nakada  <nobu@ruby-lang.org>
854 855 856 857 858

	* 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.
859
	(ruby-font-lock-keywords): Highlight literal hash key labels as symbols.
860 861 862 863
	(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
864
2011-01-25  Keitaro Miyazaki  <keitaro.miyazaki@gmail.com>  (tiny change)
865 866 867 868

	* 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
869 870 871
2011-01-25  Glenn Morris  <rgm@gnu.org>

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

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

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

877 878
2011-01-24  Stefan Monnier  <monnier@iro.umontreal.ca>

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

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

885 886 887 888 889 890 891 892
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.
	* calc/calc-units.el (math-standard-units):  Add dB and Np.
	(math-logunits): New variable.
	(math-extract-logunits, math-logcombine, calcFunc-luplus)
	(calcFunc-luminus, calc-luplus, calc-luminus, math-logunit-level)
893 894
	(calcFunc-fieldlevel, calcFunc-powerlevel, calc-level):
	New functions.
895 896 897 898 899 900
	(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 function.
	* calc/calc-ext.el (calc-init-extensions): Autoload new units
	functions. Add keybindings for new units functions.

Glenn Morris's avatar
Glenn Morris committed
901
2011-01-22  Giorgos Keramidas  <keramida@ceid.upatras.gr>  (tiny change)
902 903

	* net/rcirc.el (rcirc-kill-buffer-hook): Flush logs when killing
Glenn Morris's avatar
Glenn Morris committed
904
	rcirc buffers.  (Bug#4940)
905

Glenn Morris's avatar
Glenn Morris committed
906 907 908 909 910 911 912
2011-01-22  Glenn Morris  <rgm@gnu.org>

	* emacs-lisp/copyright.el (copyright-find-copyright): New function,
	split out from copyright-update-year.
	(copyright-update): Don't mess with the GPL version if we don't own the
	copyright.  Update license regexp, and remove no longer needed
	Esperanto stuff.
913
	(copyright-fix-years): Use copyright-find-copyright.
Glenn Morris's avatar
Glenn Morris committed
914

915 916 917 918
2011-01-22  Chong Yidong  <cyd@stupidchicken.com>

	* vc/diff.el (diff-sentinel): Doc fix (Bug#7682).

919 920 921 922 923 924
2011-01-22  Jari Aalto  <jari.aalto@cante.net>

	* play/landmark.el: Change `lm-' prefix to `landmark-' (Bug#7672).
	(lm): Rename to landmark.
	(lm-test-run): Rename to landmark-test-run.

925 926 927 928 929
2011-01-22  Chong Yidong  <cyd@stupidchicken.com>

	* emacs-lisp/re-builder.el (reb-mode-map): Fix logic error in
	"Case sensitive" menu item.

Glenn Morris's avatar
Glenn Morris committed
930
2011-01-22  Roland McGrath  <roland@frob.com>
931 932 933 934

	* comint.el (comint-replace-by-expanded-history-before-point): Fix
	expansion of !$ and !!:N syntax to pick the indicated word (bug#7883).

Glenn Morris's avatar
Glenn Morris committed
935
2011-01-22  Stefan Monnier  <monnier@iro.umontreal.ca>
936 937 938

	* progmodes/js.el (js--regexp-literal): Count backslashes (bug#7882).

Glenn Morris's avatar
Glenn Morris committed
939
2011-01-22  Jari Aalto  <jari.aalto@cante.net>
940

941 942 943
	* emacs-lisp/checkdoc.el (checkdoc-this-string-valid-engine):
	Assume foo(bar) is a manpage reference rather than some unquoted
	symbol (bug#7705).
944

Glenn Morris's avatar
Glenn Morris committed
945
2011-01-22  Stefan Monnier  <monnier@iro.umontreal.ca>
946 947 948 949

	* subr.el (shell-quote-argument): Properly quote \n (bug#7687).
	Suggested by Flo <sensorflo@gmail.com>.

Glenn Morris's avatar
Glenn Morris committed
950
2011-01-22  Glenn Morris  <rgm@gnu.org>
Glenn Morris's avatar
Glenn Morris committed
951 952 953 954

	* progmodes/compile.el (compilation-error-regexp-alist):
	Fix custom type.  (Bug#7812)

955 956 957 958 959 960 961 962 963
2011-01-22  Ken Manheimer  <ken.manheimer@gmail.com>

	* allout.el (allout-prefixed-keybindings): Bind (prefixed) '#' to
	allout-number-siblings, in keeping with what obtained due to
	(now-defunct) allout-keybindings-list.  Ditch repeat binding to
	(prefixed) ?i.
	(allout-before-change-handler): Better expose spots affected by
	undo.

964 965 966 967
2011-01-22  Chong Yidong  <cyd@stupidchicken.com>

	* man.el (Man-highlight-references0): Use make-button (Bug#7881).

968 969 970 971 972 973 974 975
2011-01-22  Phil Hagelberg  <phil@evri.com>

	* pcmpl-unix.el (pcmpl-ssh-config-file): New option.
	(pcmpl-ssh-known-hosts): Rename from pcmpl-ssh-hosts.
	(pcmpl-ssh-config-hosts): New function.
	(pcmpl-ssh-hosts): Use pcmpl-ssh-config-hosts in addition to
	pcmpl-ssh-known-hosts.

Jay Belanger's avatar
Jay Belanger committed
976 977
2011-01-21  Jay Belanger  <jay.p.belanger@gmail.com>

978 979 980 981 982 983 984
	* calc/calc-undo.el (calc-undo): Autoload it.
	* calc/calc-ext.el (calc-init-extensions): Remove keybindings
	and autoload for `calc-undo'.
	* calc/calc.el (calc-mode-map): Add keybindings for `calc-undo'.
	* calc/calc-prog.el:
	* calc/calc-graph.el:
	* calc/calc-map.el: Change `arglist' to `math-arglist' throughout.
Jay Belanger's avatar
Jay Belanger committed
985

986 987 988 989 990
2011-01-21  Štěpán Němec  <stepnem@gmail.com>  (tiny change)

	* calc/calc-ext.el (calc-init-extensions): Map all `undo'
	keybindings to `calc-undo'.

Stefan Monnier's avatar
Stefan Monnier committed
991 992 993 994 995 996 997 998 999 1000 1001 1002
2011-01-20  Stefan Monnier  <monnier@iro.umontreal.ca>

	Don't mess with *temp*.
	* obsolete/spell.el: Move from textmodes/spell.el.
	(spell-string):
	* term.el (term-read-input-ring):
	* startup.el (display-startup-echo-area-message):
	* progmodes/antlr-mode.el (antlr-directory-dependencies):
	* comint.el (comint-read-input-ring): Use with-temp-buffer.
	* international/mule.el (ctext-pre-write-conversion): Don't hardcode
	point-min==1.

1003 1004
2011-01-20  Ken Manheimer  <ken.manheimer@gmail.com>

1005 1006 1007 1008 1009 1010 1011
	* allout.el: (allout-institute-keymap): Use fset instead of
	reapplying defalias.

	(allout-hotspot-key-handler): Check for non-control-modified
	bindings for hotspot characters if there are no control-modified
	versions.

1012 1013 1014 1015 1016 1017 1018 1019
	* allout.el: Summary - migrate to defining allout mode using
	define-minor-mode instead of defun.  Significantly clean-up
	internal keymap provisions, refactoring and, in the process,
	removing a lot of accumulated cruft.

	allout-mode-map is now a keymap by virtue of being a defalias to
	allout-mode-map-value, which contains the actual keymap structure.

Stefan Monnier's avatar
Stefan Monnier committed
1020 1021
	(allout-mode): Use define-minor-mode rather than defun.
	Remove now-unnecessary minor-mode setup activities from the body.
1022 1023 1024 1025 1026 1027 1028 1029 1030
	Specify :keymap as allout-mode-map so the minor-mode-map-alist
	entry will be '(allout-mode . allout-mode-map) - see
	allout-mode-map-value, below.  Adjust docstring to track changes.
	(allout-minor-mode): Remove this defalias, now that we're using
	define-minor-mode.
	(allout-mode-map): Set value to be 'allout-mode-map.  The actual
	keymap is allout-mode-map-value, via defalias.
	(allout-mode-map-value): The variable holding the actual mode
	keymap structure, by virtue of defalias from allout-mode-map.
Stefan Monnier's avatar
Stefan Monnier committed
1031
	(allout-compose-and-institute-keymap): Rename from
1032 1033 1034 1035 1036 1037 1038
	allout-bind-keys, and including the binding-composition
	functionality of the former produce-allout-mode-map and
	allout-setup-mode-map.
	(allout-institute-keymap): Take over the "setup" part of the former
	allout-setup-mode-map.  Reassign allout-mode-map-value value and
	update the defalias.
	(allout-command-prefix) (allout-prefixed-keybindings)
Stefan Monnier's avatar
Stefan Monnier committed
1039 1040
	(allout-unprefixed-keybindings):
	Use allout-compose-and-institute-keymap to process the bindings.
1041 1042 1043
	(allout-unprefixed-keybindings): Remove extraneous '?' question
	marks.
	(allout-prefixed-keybindings): Elide binding to (prefixed) \C-h -
Stefan Monnier's avatar
Stefan Monnier committed
1044 1045 1046
	user can customize if they want to use that binding.
	Bind allout-copy-topic-as-kill to (prefixed) \M-k.
	Bind allout-up-current-level to (prefixed) \C-u.  (I think i mistakenly
1047 1048 1049 1050 1051 1052 1053 1054 1055 1056 1057 1058 1059 1060 1061 1062 1063 1064 1065 1066 1067
	elided that, previously, instead of the one for \C-h.)
	(allout-hotspot-key-handler): Remove attempt to resolve the key
	through the literal key-string lookup on allout-keybindings-list.
	That probably hasn't worked for a Long Time, and removal of
	allout-keybindings-list further simplifies the keybindings
	situation.
	(allout-pre-command-business): Use allout-mode-map-value instead
	of allout-mode-map.
	(allout-preempt-trailing-ctrl-h): Remove.  The user can customize
	the bindings if they want to use a keybinding having a trailing
	\C-h.  No deprecation needed since this feature was never in a
	release.
	(allout-keybindings-list): Remove.  It's not been useful for a
	while.  (See allout-hotspot-key-handler changes, above.)
	(produce-allout-mode-map): Remove.  Consolidate into
	allout-compose-and-institute-keymap.
	(allout-mode-map-adjustments): Remove.  No longer necessary with
	removal of allout-preempt-trailing-ctrl-h.
	(allout-setup-mode-map): Remove.  Consolidate into
	allout-compose-and-institute-keymap and allout-institute-keymap.

1068 1069
2011-01-20  Glenn Morris  <rgm@gnu.org>

1070 1071
	* vc/vc-svn.el (vc-svn-after-dir-status): Tweak previous change.

1072 1073
	* simple.el (read-expression-history): Remove, it's in minibuf.c.

1074 1075 1076 1077 1078 1079 1080 1081 1082 1083 1084
2011-01-20  Chong Yidong  <cyd@stupidchicken.com>

	* subr.el (y-or-n-p): Revert 2011-01-07 change, removing ARGS.

	* files.el (find-alternate-file, basic-save-buffer)
	(basic-save-buffer-2, revert-buffer, recover-file)
	(kill-buffer-ask, abort-if-file-too-large)
	(set-visited-file-name, write-file, backup-buffer)
	(basic-save-buffer, save-some-buffers):
	* dired-aux.el (dired-compress-file): Callers changed.

Glenn Morris's avatar
Glenn Morris committed
1085 1086 1087 1088 1089
2011-01-19  Glenn Morris  <rgm@gnu.org>

	* vc/vc-svn.el (vc-svn-after-dir-status, vc-svn-parse-status):
	Also check the property status.  (Bug#7861)

1090 1091 1092 1093 1094
2011-01-18  Michael Albinus  <michael.albinus@gmx.de>

	* net/tramp.el (tramp-debug-message): Extend function exclude
	list.  Use `regexp-opt'.

1095
2011-01-18  Stefan Monnier  <monnier@iro.umontreal.ca>
1096

1097 1098 1099
	* textmodes/tex-mode.el (tex-font-lock-verb): Make sure \verb
	highlighting doesn't spill over subsequent lines.

1100 1101 1102
	* emacs-lisp/easy-mmode.el (define-minor-mode): Don't re-evaluate the
	keymap expression.  Improve docstring.

1103 1104 1105 1106
	* electric.el (electric-indent-post-self-insert-function):
	Don't auto-indent for indent-to-left-margin, it's too often
	counter-productive.

1107 1108 1109 1110 1111 1112
2011-01-16  Tassilo Horn  <tassilo@member.fsf.org>

	* strokes.el (strokes-read-stroke): Re-fill strokes buffer with
	spaces if the frame was resized, so that the full visible buffer
	serves as canvas for strokes.

1113 1114 1115
2011-01-16  Glenn Morris  <rgm@gnu.org>

	* info-xref.el (info-xref-docstrings): Replace cl function.
1116
	Also skip directories.
1117

Kevin Ryde's avatar
Kevin Ryde committed
1118 1119 1120 1121 1122 1123 1124 1125 1126 1127 1128 1129 1130 1131 1132 1133 1134 1135 1136 1137 1138 1139 1140 1141 1142 1143 1144 1145 1146 1147
2011-01-16  Kevin Ryde  <user42@zip.com.au>

	* info-xref.el: Version 3.
	(info-xref-check, info-xref-check-all): Move commentary details
	into docstrings for better visibility.
	Use compilation-mode for the results buffer.
	(info-xref-output, info-xref-output-error, info-xref-with-output)
	(info-xref-filename, info-xref-in-progress):
	New internals for this.
	(info-xref-check-list, info-xref-check-buffer)
	(info-xref-check-all-custom): Use those.
	(info-xref-output-buffer): Rename from info-xref-results-buffer.
	(info-xref-output-heading): Rename from info-xref-filename-heading.
	(info-xref-good, info-xref-bad, info-xref-xfile-alist)
	(info-xref-filename-heading): Move to output managing section.
	(info-xref-docstrings): New command checking "Info node	`(foo)Bar'"
	(info-xref-lock-file-p, info-xref-with-file): New helpers for it.
	(info-xref-subfile-p): Move to generic section with those two.
	(info-xref-check-node): New function split from
	info-xref-check-buffer, shared by info-xref-docstrings.
	(info-xref-goto-node-p): Move to a checking section with that func.
	(info-xref-unavail): New counter.
	(info-xref-check-node): Use it.
	(info-xref-with-output): Show count of unavailables at end of output.
	(info-xref-all-info-files): Exclude ".*" dotfiles.  Ignore broken
	symlinks.  Exclude .texi files.	 Exclude Emacs backup files.
	(info-xref-check-all-custom): Fix quietening viper-mode and
	gnus-registry-install -- use setq not let so as not to unbind
	after load.

1148 1149 1150 1151 1152
2011-01-16  Juri Linkov  <juri@jurta.org>

	* isearch.el (isearch-abort): Don't quit if search has
	an incomplete regexp (isearch-error is non-nil).  (Bug#7534)

1153 1154 1155 1156 1157 1158 1159 1160
2011-01-15  Mark Diekhans  <markd@soe.ucsc.edu>

	* files.el (backup-buffer): Make last-resort backup file in
	.emacs.d (Bug#6953).

	* subr.el (locate-user-emacs-file): If .emacs.d does not exist,
	make it with permission 700.

1161
2011-01-15  Kenichi Handa  <handa@m17n.org>
1162

1163 1164
	* mail/rmailmm.el (rmail-mime-insert-header):
	Set rmail-mime-coding-system to a cons whose car is the last coding
1165 1166
	system used to decode the header.
	(rmail-mime-find-header-encoding): New function.
1167 1168
	(rmail-mime-insert-decoded-text):
	Override rmail-mime-coding-system if it is a cons.
1169 1170 1171
	(rmail-show-mime): If only a header part was decoded, find the
	coding system while ignoring mm-charset-override-alist.

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

	* subr.el (event-start, event-end): Doc fix (Bug#7826).

1176
2011-01-15  Kenichi Handa  <handa@m17n.org>
1177 1178 1179 1180

	* mail/rmailmm.el (rmail-mime-next-item)
	(rmail-mime-previous-item): Delete them.
	(rmail-mime-shown-mode): Recursively call for children.
1181 1182
	(rmail-mime-hidden-mode): Delete the 2nd arg TOP.
	Callers changed.
1183 1184 1185 1186 1187 1188 1189 1190
	(rmail-mime-raw-mode): Recursively call for children.
	(rmail-mode-map): Change mapping of tab and backtab to
	forward-button and backward-button respectively.
	(rmail-mime-insert-tagline): Always insert "Hide" or "Show"
	button.
	(rmail-mime-update-tagline): New function.
	(rmail-mime-insert-text): Call rmail-mime-update-tagline if the
	body display is changed.
1191
	(rmail-mime-toggle-button): Rename from rmail-mime-image.
1192 1193 1194 1195 1196 1197 1198 1199 1200 1201 1202 1203 1204 1205 1206 1207 1208
	(rmail-mime-image): Delete this button type.
	(rmail-mime-toggle): New button type.
	(rmail-mime-insert-bulk): Call rmail-mime-update-tagline if the
	body display is changed.  Change the save button label to "Save".
	Don't process show/hide button here.
	(rmail-mime-insert-multipart): Call rmail-mime-update-tagline if
	the body display is changed.  Unconditionally call
	rmail-mime-insert for children.
	(rmail-mime-handle): Update `display' vector of the just inserted
	entity.
	(rmail-mime-process): If mail-header-parse-content-type returns
	nil, use "text/plain" as the fallback type.
	(rmail-mime-insert): For raw-mode, recursively call
	rmail-mim-insert for children.
	(rmail-mime): Handle the case that the current buffer is not rmail
	buffer (e.g. in summary buffer).

1209
2011-01-15  Kenichi Handa  <handa@m17n.org>
1210 1211 1212 1213 1214

	* mail/rmailmm.el (rmail-mime-next-item)
	(rmail-mime-previous-item): Skip the body of a non-multipart
	entity if a tagline is shown.

Glenn Morris's avatar
Glenn Morris committed
1215 1216 1217 1218 1219 1220 1221 1222 1223 1224 1225 1226 1227 1228 1229 1230 1231 1232 1233 1234 1235 1236 1237 1238 1239 1240 1241 1242 1243 1244 1245 1246 1247 1248 1249 1250 1251 1252 1253 1254 1255 1256 1257 1258 1259 1260 1261 1262 1263 1264 1265
2011-01-15  Stefan Monnier  <monnier@iro.umontreal.ca>

	* tmm.el (tmm-get-keymap): Skip bindings without labels (bug#7721).
	(tmm-prompt): Simplify.
	(tmm-add-prompt): Remove unused var `win'.

	* whitespace.el (global-whitespace-newline-mode): Fix call (bug#7810)
	to minor mode which used nil accidentally to mean "turn off".

2011-01-15  Michael Albinus  <michael.albinus@gmx.de>

	* net/tramp-sh.el (tramp-find-inline-compress)
	(tramp-get-inline-coding): Quote command after pipe symbol for
	local calls under W32.  (Bug#6784)

2011-01-15  Michael Albinus  <michael.albinus@gmx.de>

	* net/tramp.el (tramp-default-method): Initialize with pscp/plink
	only when running under W32.

2011-01-15  Eli Zaretskii  <eliz@gnu.org>

	* progmodes/grep.el (grep-compute-defaults): Quote the program
	file name after the pipe symbol in Grep templates.  (Bug#6784)
	* jka-compr.el (jka-compr-partial-uncompress): Likewise.

2011-01-15  Lennart Borgman  <lennart.borgman@gmail.com>

	* buff-menu.el (Buffer-menu-buffer-list): New var.
	(Buffer-menu-revert-function, list-buffers-noselect): Use it, so a
	restricted buffer list is not lost on revert (Bug#7749).

2011-01-15  Eric Hanchrow  <eric.hanchrow@gmail.com>

	* net/ldap.el (ldap-search-internal): Discard stderr output.

2011-01-15  Eli Zaretskii  <eliz@gnu.org>

	* files.el (directory-abbrev-alist): Doc fix.  (Bug#7777)

2011-01-15  Stefan Monnier  <monnier@iro.umontreal.ca>

	* vc-bzr.el (vc-bzr-annotate-time): Tweak previous change.

2011-01-15  Kenichi Handa  <handa@m17n.org>

	* mail/rmailmm.el (rmail-mime-insert-bulk): Display an unknown
	part as a plain text.
	(rmail-mime-process-multipart): Set the default content-type to
	nil for unknown multipart subtypes (bug#7651).

1266 1267
2011-01-14  Stefan Monnier  <monnier@iro.umontreal.ca>

1268 1269 1270 1271 1272 1273 1274 1275 1276
	* hexl.el (hexl-mode-old-*): Remove.
	(hexl-mode--old-var-vals): New var to replace them.
	(hexl-mode--minor-mode-p, hexl-mode--setq-local): New funs.
	(hexl-mode, hexl-follow-line, hexl-activate-ruler):
	Use them to set local vars (bug#7846).
	(hexl-mode-exit): Use hexl-mode--old-var-vals to restore state.
	(hexl-backward-short, hexl-backward-word, hexl-scroll-down)
	(hexl-scroll-up, hexl-end-of-1k-page, hexl-end-of-512b-page): Simplify.

1277 1278 1279 1280 1281 1282 1283
	* vc/smerge-mode.el: Resolve comment conflicts more aggressively.
	(smerge-resolve--normalize-re): New var.
	(smerge-resolve--extract-comment, smerge-resolve--normalize): New funs.
	(smerge-resolve): Use them.
	* newcomment.el (comment-only-p): New function.
	(comment-or-uncomment-region): Use it.

Stefan Monnier's avatar
Stefan Monnier committed
1284
2011-01-14  Brent Goodrick  <bgoodr@gmail.com>  (tiny change)
1285 1286 1287 1288

	* abbrev.el (prepare-abbrev-list-buffer): If listing local abbrev
	table, get the value before switching to the output buffer.  (Bug#7733)

Stefan Monnier's avatar
Stefan Monnier committed
1289
2011-01-14  Stefan Monnier  <monnier@iro.umontreal.ca>
1290 1291 1292

	* progmodes/python.el (python-mode): Don't impose font-lock (bug#3628).

1293 1294 1295 1296 1297
2011-01-14  Kim F. Storm  <storm@cua.dk>

	* emulation/cua-base.el (cua--init-keymaps):
	Remap exchange-point-and-mark in cua-global-keymap.

1298 1299 1300 1301 1302
2011-01-14  Tassilo Horn  <tassilo@member.fsf.org>

	* progmodes/sh-script.el (sh-other-keywords): Add ZSH's foreach
	loop keyword.

1303 1304 1305 1306 1307 1308 1309 1310 1311
2011-01-14  Stefan Monnier  <monnier@iro.umontreal.ca>

	* emacs-lisp/easymenu.el: Add :enable (bug#7754), and obey :label.
	Require CL.
	(easy-menu-create-menu, easy-menu-convert-item-1):
	Use :label rather than nil for labels.  Use `case'.
	Add :enable as alias for :active.
	(easy-menu-binding): Obey :label.

1312 1313
2011-01-13  Stefan Monnier  <monnier@iro.umontreal.ca>

1314 1315 1316 1317 1318 1319 1320 1321 1322 1323 1324 1325 1326 1327 1328 1329 1330 1331 1332 1333 1334 1335 1336 1337 1338 1339 1340 1341
	Use run-mode-hooks for major mode hooks (bug#513).
	* textmodes/reftex-toc.el (reftex-toc-mode-map):
	Rename from reftex-toc-map.
	(reftex-toc-mode): Use define-derived-mode.
	* textmodes/reftex-sel.el (reftex-select-shared-map): New map.
	(reftex-select-label-mode-map, reftex-select-bib-mode-map):
	Rename from reftex-select-(label|bib)-map.  Move init into declaration.
	(reftex-select-label-mode, reftex-select-bib-mode):
	Use define-derived-mode.
	* textmodes/reftex-index.el (reftex-index-phrases-mode-map)
	(reftex-index-mode-map): Rename from reftex-index(-phrases)-map.
	Move init into delcaration.
	(reftex-index-mode, reftex-index-phrases-mode):
	Use define-derived-mode.
	* speedbar.el (speedbar-mode-syntax-table): Renaqme from
	speedbar-syntax-table.  Move init into declaration.
	(speedbar-mode-map): Rename from speedbar-key-map.
	Move init into declaration.
	(speedbar-file-key-map): Move init into declaration.
	(speedbar-mode): Use define-derived-mode.
	* recentf.el (recentf-mode): Don't run hook (or message) redundantly.
	* net/rcirc.el (rcirc-mode): Use run-mode-hooks.
	* emacs-lisp/chart.el (chart-mode-map): Rename from chart-map.
	(chart-face-list): Move initialization into declaration.
	(chart-mode): Use define-derived-mode.
	* calculator.el (calculator-mode-map): Move init into declaration.
	(calculator-mode): Use define-derived-mode.

1342 1343 1344
	* mail/mail-utils.el (mail-strip-quoted-names): Make the regexp code
	work for nested comments.

1345 1346 1347 1348 1349 1350 1351 1352 1353 1354 1355 1356 1357 1358 1359 1360 1361 1362 1363 1364 1365 1366 1367 1368 1369 1370 1371 1372 1373 1374 1375 1376 1377 1378 1379 1380 1381 1382
	* progmodes/prolog.el: Use syntax-propertize.  Further code cleanup.
	(prolog-use-prolog-tokenizer-flag): Change default when
	syntax-propertize can be used.
	(prolog-syntax-propertize-function): New var.
	(prolog-mode-variables): Move make-local-variable into `set'.
	Don't make comment-column local since we don't set it.
	Set comment-add (as it was in previous prolog.el).  Use dolist.
	Set syntax-propertize-function.
	(prolog-mode, prolog-inferior-mode):
	Call prolog(-inferior)-menu directly, not through the mode-hook.
	(prolog-buffer-module, prolog-indent-level)
	(prolog-paren-is-the-first-on-line-p, prolog-paren-balance)
	(prolog-comment-limits, prolog-goto-comment-column):
	Use line-(end|beginning)-position.
	(prolog-build-prolog-command): Tighten up regexp.
	(prolog-consult-compile): Move make-local-variable into `set'.
	(prolog-consult-compile-filter, prolog-goto-next-paren)
	(prolog-help-on-predicate, prolog-clause-info)
	(prolog-mark-predicate): Don't let+setq.
	(prolog-indent-line): Use indent-line-to.
	Only call prolog-goto-comment-column if necessary.
	(prolog-indent-level): Use bobp.
	(prolog-first-pos-on-line): Remove, not used any more.
	(prolog-in-string-or-comment): Use syntax-ppss if available.
	(prolog-help-on-predicate): Use read-string.
	(prolog-goto-predicate-info): Simplify.
	(prolog-read-predicate): Use `default' rather than `initial'.
	(prolog-temporary-file): Use make-temp-file to close a security hole.
	(prolog-toggle-sicstus-sd): New command.
	(prolog-electric-underscore, prolog-variables-to-anonymous):
	Use dynamic-scoping as it was meant.
	(prolog-menu): Move menu definitions to top-level.
	Use a toggle-button for Sicstus's source debugger.
	Change "Code" to the more usual "Prolog", and hence change "Prolog"
	to "System".
	(prolog-inferior-menu): Reuse prolog-menu's help menu.
	Move other menu definition to top-level.

1383 1384
2011-01-13  Tassilo Horn  <tassilo@member.fsf.org>

1385 1386 1387
	* doc-view.el (doc-view-open-text): Use meaningful text buffer
	name.  Keep original document's directory as default-directory
	(bug#6446).
1388 1389 1390
	(doc-view-initiate-display): Fall back to normal mode when
	doc-view-mode cannot be enabled, also when extracting the document
	text into a separate buffer (bug#6446).
1391

1392 1393 1394 1395
	* simple.el (shell-command): Don't error out if shell command
	buffer contains text with non-nil read-only property when erasing
	the buffer.

1396 1397 1398 1399 1400 1401
2011-01-13  Kim F. Storm  <storm@cua.dk>

	* ido.el (ido-may-cache-directory): Move "too-big" check later.
	(ido-next-match, ido-prev-match): Fix stray reordering of matching
	items when cycling through the matches.

1402 1403 1404 1405 1406 1407
2011-01-13  Tassilo Horn  <tassilo@member.fsf.org>

	* dired-x.el (dired-omit-verbose): New defcustom that allows
	disabling the omit messages.
	(dired-omit-expunge): Use it.

1408 1409 1410 1411
2011-01-13  Christian Ohler  <ohler@gnu.org>

	* emacs-lisp/ert.el, emacs-lisp/ert-x.el: New files.

1412 1413 1414 1415
2011-01-13  Chong Yidong  <cyd@stupidchicken.com>

	* font-lock.el (font-lock-verbose): Default to nil.

1416 1417 1418 1419 1420 1421 1422 1423 1424 1425 1426 1427 1428 1429 1430 1431
2011-01-13  Chong Yidong  <cyd@stupidchicken.com>

	* simple.el (sendmail-user-agent-compose): Move to sendmail.el.
	(compose-mail): New arg RETURN-ACTION.
	(compose-mail-other-window, compose-mail-other-frame): Likewise.

	* mail/sendmail.el (mail-return-action): New var.
	(mail-mode): Make it buffer-local.
	(mail-bury): Obey it.  Move special Rmail window handling to
	rmail-mail-return.
	(mail, mail-setup): New arg RETURN-ACTION.
	(sendmail-user-agent-compose): Move from simple.el.

	* mail/rmail.el (rmail-mail-return): New function.
	(rmail-start-mail): Pass it to compose-mail.

1432 1433
2011-01-12  Chong Yidong  <cyd@stupidchicken.com>

1434 1435 1436 1437
	* menu-bar.el (menu-bar-custom-menu): Tweak Mule and Customize
	menus.  Add menu item for customize-themes.

	* cus-theme.el (customize-themes):
1438 1439
	* emacs-lisp/package.el (package--list-packages):
	Use switch-to-buffer.
1440

1441 1442 1443 1444
2011-01-11  Johan Bockgård  <bojohan@gnu.org>

	* emacs-lisp/unsafep.el (unsafep): Handle backquoted forms.

1445 1446 1447 1448 1449 1450 1451 1452 1453 1454