ChangeLog 794 KB
Newer Older
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16
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)
	(calcFunc-fieldlevel, calcFunc-powerlevel, calc-level): New
	functions.
	(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
17 18 19 20 21 22 23
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.
24
	(copyright-fix-years): Use copyright-find-copyright.
Glenn Morris's avatar
Glenn Morris committed
25

26 27 28 29
2011-01-22  Chong Yidong  <cyd@stupidchicken.com>

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

30 31 32 33 34 35
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.

36 37 38 39 40
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
41
2011-01-22  Roland McGrath  <roland@frob.com>
42 43 44 45

	* 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
46
2011-01-22  Stefan Monnier  <monnier@iro.umontreal.ca>
47 48 49

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

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

52 53 54
	* emacs-lisp/checkdoc.el (checkdoc-this-string-valid-engine):
	Assume foo(bar) is a manpage reference rather than some unquoted
	symbol (bug#7705).
55

Glenn Morris's avatar
Glenn Morris committed
56
2011-01-22  Stefan Monnier  <monnier@iro.umontreal.ca>
57 58 59 60

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

Glenn Morris's avatar
Glenn Morris committed
61
2011-01-22  Glenn Morris  <rgm@gnu.org>
Glenn Morris's avatar
Glenn Morris committed
62 63 64 65

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

66 67 68 69 70 71 72 73 74
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.

75 76 77 78
2011-01-22  Chong Yidong  <cyd@stupidchicken.com>

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

79 80 81 82 83 84 85 86
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
87 88
2011-01-21  Jay Belanger  <jay.p.belanger@gmail.com>

89 90 91 92 93 94 95
	* 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
96

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

114 115
2011-01-20  Ken Manheimer  <ken.manheimer@gmail.com>

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

123 124 125 126 127 128 129 130
	* 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
131 132
	(allout-mode): Use define-minor-mode rather than defun.
	Remove now-unnecessary minor-mode setup activities from the body.
133 134 135 136 137 138 139 140 141
	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
142
	(allout-compose-and-institute-keymap): Rename from
143 144 145 146 147 148 149
	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
150 151
	(allout-unprefixed-keybindings):
	Use allout-compose-and-institute-keymap to process the bindings.
152 153 154
	(allout-unprefixed-keybindings): Remove extraneous '?' question
	marks.
	(allout-prefixed-keybindings): Elide binding to (prefixed) \C-h -
Stefan Monnier's avatar
Stefan Monnier committed
155 156 157
	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
158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178
	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.

179 180
2011-01-20  Glenn Morris  <rgm@gnu.org>

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

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

185 186 187 188 189 190 191 192 193 194 195
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
196 197 198 199 200
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)

201 202 203 204 205
2011-01-18  Michael Albinus  <michael.albinus@gmx.de>

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

206
2011-01-18  Stefan Monnier  <monnier@iro.umontreal.ca>
207

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

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

214 215 216 217
	* electric.el (electric-indent-post-self-insert-function):
	Don't auto-indent for indent-to-left-margin, it's too often
	counter-productive.

218 219 220 221 222 223
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.

224 225 226
2011-01-16  Glenn Morris  <rgm@gnu.org>

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

Kevin Ryde's avatar
Kevin Ryde committed
229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258
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.

259 260 261 262 263
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)

264 265 266 267 268 269 270 271
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.

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

274 275
	* mail/rmailmm.el (rmail-mime-insert-header):
	Set rmail-mime-coding-system to a cons whose car is the last coding
276 277
	system used to decode the header.
	(rmail-mime-find-header-encoding): New function.
278 279
	(rmail-mime-insert-decoded-text):
	Override rmail-mime-coding-system if it is a cons.
280 281 282
	(rmail-show-mime): If only a header part was decoded, find the
	coding system while ignoring mm-charset-override-alist.

283
2011-01-15  Chong Yidong  <cyd@stupidchicken.com>
284 285 286

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

287
2011-01-15  Kenichi Handa  <handa@m17n.org>
288 289 290 291

	* mail/rmailmm.el (rmail-mime-next-item)
	(rmail-mime-previous-item): Delete them.
	(rmail-mime-shown-mode): Recursively call for children.
292 293
	(rmail-mime-hidden-mode): Delete the 2nd arg TOP.
	Callers changed.
294 295 296 297 298 299 300 301
	(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.
302
	(rmail-mime-toggle-button): Rename from rmail-mime-image.
303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319
	(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).

320
2011-01-15  Kenichi Handa  <handa@m17n.org>
321 322 323 324 325

	* 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
326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376
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).

377 378
2011-01-14  Stefan Monnier  <monnier@iro.umontreal.ca>

379 380 381 382 383 384 385 386 387
	* 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.

388 389 390 391 392 393 394
	* 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
395
2011-01-14  Brent Goodrick  <bgoodr@gmail.com>  (tiny change)
396 397 398 399

	* 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
400
2011-01-14  Stefan Monnier  <monnier@iro.umontreal.ca>
401 402 403

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

404 405 406 407 408
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.

409 410 411 412 413
2011-01-14  Tassilo Horn  <tassilo@member.fsf.org>

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

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

423 424
2011-01-13  Stefan Monnier  <monnier@iro.umontreal.ca>

425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452
	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.

453 454 455
	* mail/mail-utils.el (mail-strip-quoted-names): Make the regexp code
	work for nested comments.

456 457 458 459 460 461 462 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
	* 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.

494 495
2011-01-13  Tassilo Horn  <tassilo@member.fsf.org>

496 497 498
	* doc-view.el (doc-view-open-text): Use meaningful text buffer
	name.  Keep original document's directory as default-directory
	(bug#6446).
499 500 501
	(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).
502

503 504 505 506
	* simple.el (shell-command): Don't error out if shell command
	buffer contains text with non-nil read-only property when erasing
	the buffer.

507 508 509 510 511 512
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.

513 514 515 516 517 518
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.

519 520 521 522
2011-01-13  Christian Ohler  <ohler@gnu.org>

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

523 524 525 526
2011-01-13  Chong Yidong  <cyd@stupidchicken.com>

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

527 528 529 530 531 532 533 534 535 536 537 538 539 540 541 542
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.

543 544
2011-01-12  Chong Yidong  <cyd@stupidchicken.com>

545 546 547 548
	* menu-bar.el (menu-bar-custom-menu): Tweak Mule and Customize
	menus.  Add menu item for customize-themes.

	* cus-theme.el (customize-themes):
549 550
	* emacs-lisp/package.el (package--list-packages):
	Use switch-to-buffer.
551

552 553 554 555
2011-01-11  Johan Bockgård  <bojohan@gnu.org>

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

556 557 558 559 560 561 562 563 564 565 566 567 568 569 570 571 572 573 574 575 576 577 578 579 580 581 582 583 584 585 586 587 588
2011-01-11  Stefan Monnier  <monnier@iro.umontreal.ca>

	* progmodes/prolog.el: Fix up coding convention and such.
	(prolog-indent-width): Use the same default as in
	previous prolog.el rather than tab-width which depends on which buffer
	is current when the file is loaded.
	(prolog-electric-newline-flag): Only enable if electric-indent-mode
	is not available.
	(prolog-emacs): Remove.  Use (featurep 'xemacs) instead.
	(prolog-known-systems): Remove.
	(prolog-mode-syntax-table, prolog-inferior-mode-map):
	Move initialization into declaration.
	(prolog-mode-map): Move initialization into declaration.
	Remove system-specific mode-map vars, since they referred to the same
	keymap anyway.
	(prolog-mode-variables): Obey the user's preference w.r.t
	adaptive-fill-mode.  Prefer symbol-value to `eval'.
	(prolog-mode-keybindings-edit): Add compatibility bindings.
	(prolog-mode): Use define-derived-mode.  Don't handle mercury here.
	(mercury-mode-map): New var.
	(mercury-mode, prolog-inferior-mode): Use define-derived-mode.
	(prolog-ensure-process, prolog-process-insert-string)
	(prolog-consult-compile): Use with-current-buffer.
	(prolog-guess-fill-prefix): Simplify data flow.
	(prolog-replace-in-string): New function to use instead of
	replace-in-string.
	(prolog-enable-sicstus-sd): Don't abuse `eval'.
	(prolog-uncomment-region): Use `uncomment-region' when available.
	(prolog-electric-colon, prolog-electric-dash): Use `eolp'.
	(prolog-int-to-char, prolog-char-to-int): New functions to use instead
	of int-to-char and char-to-int.
	(prolog-mode-hook, prolog-inferior-mode-hook): Don't force font-lock.

589 590 591 592
2011-01-11  Stefan Bruda  <stefan@bruda.ca>

	* progmodes/prolog.el: Replace by a whole new file.

593 594 595 596 597 598
2011-01-11  Stefan Monnier  <monnier@iro.umontreal.ca>

	* subr.el (eval-after-load): Fix timing for features (bug#7769).
	(declare-function, undefined, insert-for-yank)
	(replace-regexp-in-string): Follow checkdoc's recommendations.

599 600 601 602 603
2011-01-10  Stefan Monnier  <monnier@iro.umontreal.ca>

	* calendar/diary-lib.el (diary-mode): Refresh *Calendar* after
	refreshing the diary buffer.

604 605
2011-01-10  Ken Manheimer  <ken.manheimer@gmail.com>

606
	* allout.el: Add 2011 to the file copyright.
607 608 609 610
	(allout-encrypt-string): Prevent encryption from adding an extra
	newline at the end of the topic body.
	(allout-version): Increment to 2.3.

611 612
2011-01-10  Michael Albinus  <michael.albinus@gmx.de>

613 614
	* net/dbus.el (dbus-unregister-service): Complete doc.
	Fix call of dbus-error signal.
615
	(dbus-register-property): Use `dont-register' keyword.
616

617 618 619 620 621 622 623
2011-01-10  Jan Moringen  <jan.moringen@uni-bielefeld.de>

	* net/dbus.el (dbus-unregister-service): Translate returned
	integer into a symbol.
	(dbus-register-property): Use `dbus-register-service' to do the
	name registration.

624 625
2011-01-09  Chong Yidong  <cyd@stupidchicken.com>

626 627
	* progmodes/idlw-help.el (idlwave-help-link): Inherit from link face.
	Suggested by Joakim Verona.
628

629 630
	* comint.el (comint-highlight-prompt): Inherit minibuffer-prompt.

631 632 633 634 635 636 637
	* wid-edit.el (visibility): Replace :on-image and :off-image
	widget properties with :on-glyph and :off-glyph, for consistency
	with the `visibility' widget.
	(widget-toggle-value-create, widget-visibility-value-create):
	Merge into a single function `widget-toggle-value-create'.

	* cus-edit.el (custom-variable-value-create, custom-visibility)
638 639
	(custom-face-edit-value-create, custom-face-value-create):
	Replace :on-image and :off-image widget properties with :on-glyph and
640 641
	:off-glyph, for consistency with the `visibility' widget.

642 643 644 645
2011-01-09  Andreas Schwab  <schwab@linux-m68k.org>

	* net/ldap.el (ldap-search-internal): Don't use eval.

646 647
2011-01-09  Chong Yidong  <cyd@stupidchicken.com>

648 649
	* subr.el (read-char-choice): Use read-key.

650 651 652 653 654
	* custom.el (custom-safe-themes): Rename from
	custom-safe-theme-files.  Add :risky tag.
	(load-theme, custom-theme-load-confirm): Save sha1 hashes to
	custom-safe-themes, not filenames.  Suggested by Stefan Monnier.

655 656 657 658 659 660 661 662 663 664 665 666 667
2011-01-09  Chong Yidong  <cyd@stupidchicken.com>

	* tool-bar.el (tool-bar-setup): Remove Help button.  Remove label
	from Search and add a label to Undo.

	* vc/vc-dir.el (vc-dir-tool-bar-map): Rearrange, removing
	inappropriate buttons and adding :vert-only tags.

	* progmodes/compile.el (compilation-mode-tool-bar-map): Adjust to
	removal of Help tool-bar button.  Remove Undo button for space.

	* info.el (info-tool-bar-map): Add :vert-only tags.

668 669 670 671 672
2011-01-08  Tassilo Horn  <tassilo@member.fsf.org>

	* doc-view.el (doc-view-mode-p): Check for png or imagemagick
	image backend support.  Either of them is fine.

673 674
2011-01-08  Chong Yidong  <cyd@stupidchicken.com>

675 676
	* subr.el (y-or-n-p): Doc fix.

677 678 679 680 681
	* custom.el (custom-safe-theme-files): New defcustom.
	(custom-theme-load-confirm): New function.
	(load-theme): Load theme using `load', confirming with
	custom-theme-load-confirm if necessary.

682 683 684 685 686 687 688 689 690 691 692 693 694
	* subr.el (read-char-choice): New function, factored out from
	dired-query and hack-local-variables-confirm.

	* dired-aux.el (dired-query):
	* files.el (hack-local-variables-confirm): Use it.

	* dired-aux.el (dired-compress-file):
	* files.el (abort-if-file-too-large, find-alternate-file)
	(set-visited-file-name, write-file, backup-buffer)
	(basic-save-buffer, basic-save-buffer-2, save-some-buffers)
	(delete-directory, revert-buffer, recover-file, kill-buffer-ask):
	Use new format string args for y-or-n-p and yes-or-no-p.

Andreas Schwab's avatar
Andreas Schwab committed
695 696 697 698 699
2011-01-08  Andreas Schwab  <schwab@linux-m68k.org>

	* progmodes/compile.el (compilation-error-regexp-alist-alist)
	[gcc-include]: Tighten file name match, add match for column
	number.  (Bug#7806)
700
	[gnu]: Remove unused group.
Andreas Schwab's avatar
Andreas Schwab committed
701

702 703
2011-01-08  Glenn Morris  <rgm@gnu.org>

704 705
	* makefile.w32-in (EMACSOPT): Add --no-site-lisp.

706 707
	* makefile.w32-in (EMACSOPT): -batch implies --no-init-file.

708 709 710 711 712 713
2011-01-07  Sam Steingold  <sds@gnu.org>

	* w32-fns.el (w32-shell-name): Use `shell-file-name' instead of
	the `explicit-shell-file-name' because that is the
	non-interactive shell.

714 715 716 717
2011-01-07  Chong Yidong  <cyd@stupidchicken.com>

	* subr.el (y-or-n-p): Accept format string args.

718 719 720 721
2011-01-07  Glenn Morris  <rgm@gnu.org>

	* Makefile.in (EMACSOPT): Add --no-site-lisp.

722 723
2011-01-06  Ken Manheimer  <ken.manheimer@gmail.com>

724
	* allout.el (allout-back-to-current-heading): Ensure return to
725
	the visible containing topic, rather than a collapsed one.
726
	(allout-view-change-hook): Remove hook that was deprecated long ago.
727 728 729 730 731
	(allout-exposure-change-hook): Remove documentation remarks
	concerning removed allout-view-change-hook.
	(allout-flag-region): Remove invocation of and documentation
	remarks concerning allout-view-change-hook.

Glenn Morris's avatar
Glenn Morris committed
732 733 734 735 736 737
2011-01-06  Glenn Morris  <rgm@gnu.org>

	* vc/vc-bzr.el (vc-bzr-annotate-command, vc-bzr-annotate-time)
	(vc-bzr-annotate-extract-revision-at-line):
	Handle authors with embedded spaces.  (Bug#7792)

738 739 740 741 742 743 744
2011-01-05  Tassilo Horn  <tassilo@member.fsf.org>

	* doc-view.el (doc-view-image-width): New variable.
	(doc-view-enlarge, doc-view-insert-image): Prefer imagemagick
	backend for PNG images, and do dynamic rescaling instead of
	reconverting the whole doc.

745 746 747 748
2011-01-05  Glenn Morris  <rgm@gnu.org>

	* emacs-lisp/rx.el (rx-repeat): Replace CL function.

749 750
2011-01-04  Ken Manheimer  <ken.manheimer@gmail.com>

Glenn Morris's avatar
Glenn Morris committed
751
	* allout.el: Reconcile with changes in line movement behavior for
752 753 754 755 756 757 758 759 760 761 762 763 764 765 766
	long text lines that cross more than a single physical window
	line, ie when truncate-lines is nil.
	(allout-next-visible-heading): Provide for change in line-move
	behavior on long lines when truncate-lines is nil.  In that case,
	line-move can wind up on the same textual line when it moves to
	the next window line, and moving to the bullet position after the
	move yields zero advancement.  Add logic to detect and compensate
	for the lack of progress.
	(allout-current-topic-collapsed-p): move-end-of-line respect for
	field boundaries is different when operating with body lines
	shorter than window width versus ones greater than window width,
	which can yield false negatives in this function.  Avoid
	difference by applying move-end-of-line while field-text-motion is
	inhibited.

767 768 769 770 771
2011-01-04  Glenn Morris  <rgm@gnu.org>

	* textmodes/rst.el (rst-compile-toolsets):
	Add pdf and s5 to option alist.

772 773
2011-01-04  Jan Moringen  <jan.moringen@uni-bielefeld.de>

774
	* net/dbus.el (dbus-register-property): Add optional parameter
775 776
	dont-register-service.  Updated docstring accordingly.

777 778 779 780 781
2011-01-04  Andreas Schwab  <schwab@linux-m68k.org>

	* textmodes/rst.el (rst-compile-pdf-preview)
	(rst-compile-slides-preview): Remove extra line.

Glenn Morris's avatar
Glenn Morris committed
782 783 784 785 786 787 788 789 790
2011-01-04  Glenn Morris  <rgm@gnu.org>

	* textmodes/rst.el (rst-compile-toolsets): Make it a defcustom.
	Add `pdf' and `s5' entries.  Use `prog.py' if found, otherwise
	default to `prog' without a .py extension.
	(rst-compile-pdf-preview, rst-compile-slides-preview):
	Use program names from rst-compile-toolsets, rather than hard-coding.
	(rst-portable-mark-active-p): Fix presumed typo.

791
2011-01-02  Eli Zaretskii  <eliz@gnu.org>
792

793
	* term/w32-win.el (dynamic-library-alist): Set up correctly for
794 795
	libpng versions both before and after 1.4.0.  (Bug#7716)

796
2011-01-02  Eli Zaretskii  <eliz@gnu.org>
797

798 799 800
	* time.el (display-time-mode): Mention display-time-interval in
	the doc string.  (Bug#7713)

801
2011-01-02  Kenichi Handa  <handa@m17n.org>
802 803 804 805

	* mail/rmailmm.el (rmail-mime-parse): Perform parsing in
	condition-case and return an error message string if something
	goes wrong.
806
	(rmail-show-mime): Adjust for the above change.  Insert the
807 808
	header by rmail-mime-insert-header.

809
2011-01-02  Kenichi Handa  <handa@m17n.org>
810 811 812 813 814 815 816

	* mail/rmailmm.el: New key bindings for rmail-mime-next-item,
	rmail-mime-previous-item, and rmail-mime-toggle-hidden.
	(rmail-mime-mbox-buffer)
	(rmail-mime-view-buffer, rmail-mime-coding-system): New variables.
	(rmail-mime-entity): Argument changed.  All codes handling an
	entity object are changed.
817
	(rmail-mime-entity-header, rmail-mime-entity-body): Adjust for
818 819 820 821 822 823 824 825 826
	the above change.
	(rmail-mime-entity-children, rmail-mime-entity-handler)
	(rmail-mime-entity-tagline): New functions.
	(rmail-mime-message-p): New function.
	(rmail-mime-save): Bind rmail-mime-mbox-buffer.
	(rmail-mime-entity-segment, rmail-mime-next-item)
	(rmail-mime-previous-item, rmail-mime-shown-mode)
	(rmail-mime-hidden-mode, rmail-mime-raw-mode)
	(rmail-mime-toggle-raw, rmail-mime-toggle-hidden)
827 828
	(rmail-mime-insert-tagline, rmail-mime-insert-header):
	New functions.
829 830 831 832 833 834 835 836
	(rmail-mime-text-handler): Call rmail-mime-insert-text.
	(rmail-mime-insert-decoded-text): New function.
	(rmail-mime-insert-text): Call rmail-mime-insert-decoded-text.
	(rmail-mime-insert-image): Argument changed.  Caller changed.
	(rmail-mime-image): Call rmail-mime-toggle-hidden.
	(rmail-mime-set-bulk-data): New funciton.
	(rmail-mime-insert-bulk): Argument changed.
	(rmail-mime-multipart-handler): Return t.
837 838
	(rmail-mime-process-multipart): Argument changed.
	Handle "multipart/alternative" here.
839 840 841 842 843 844 845 846 847 848 849 850 851
	(rmail-mime-process): Argument changed.
	(rmail-mime-parse): Bind rmail-mime-mbox-buffer.
	(rmail-mime-insert): Argument changed.  Handle raw display mode.
	(rmail-mime): Argument changed.  Handle toggling of raw display
	mode.
	(rmail-show-mime): Bind rmail-mime-mbox-buffer and
	rmail-mime-view-buffer.
	(rmail-insert-mime-forwarded-message): Likewise.
	(rmail-search-mime-message): Likewise.  Don't bind rmail-buffer.

	* mail/rmail.el (rmail-show-message-1): If rmail-enable-mime is
	non-nil, handle the header in rmail-show-mime-function.

852
2011-01-02  Leo  <sdl.web@gmail.com>
853

854
	* help-fns.el (describe-variable): Fix previous change.
855

856
2011-01-02  Juri Linkov  <juri@jurta.org>
857 858 859 860 861 862

	* isearch.el (isearch-lazy-highlight-error): New variable.
	(isearch-lazy-highlight-new-loop): Compare `isearch-error' and
	`isearch-lazy-highlight-error'.  Set `isearch-lazy-highlight-error'
	to the current value of `isearch-error' (Bug#7468).

863
2011-01-02  Chong Yidong  <cyd@stupidchicken.com>
864 865 866 867

	* help-fns.el (describe-variable): Don't emit trailing whitespace
	(Bug#7511).

868
2011-01-02  Chong Yidong  <cyd@stupidchicken.com>
869 870 871 872

	* textmodes/rst.el (rst-compile-pdf-preview)
	(rst-compile-slides-preview): Use make-temp-file (Bug#7646).

873
2011-01-02  Kevin Gallagher  <Kevin.Gallagher@boeing.com>
874 875 876 877

	* emulation/edt-mapper.el: Override mapping of function keys so
	that the later call to read-key-sequence works.

878
2011-01-02  Eli Zaretskii  <eliz@gnu.org>
879 880 881 882

	* mail/smtpmail.el (smtpmail-send-it): Write queued mail body with
	Unix EOLs.  (Bug#7589)

883 884 885 886 887 888 889 890 891 892 893 894 895 896 897 898 899 900 901 902 903 904 905 906
2011-01-02  Leo  <sdl.web@gmail.com>

	* eshell/em-hist.el (eshell-previous-matching-input): Signal error
	if point is not behind eshell-last-output-end (Bug#7585).

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

	* files.el (file-local-variables-alist):
	Make permanent-local (bug#7767).

2011-01-02  Glenn Morris  <rgm@gnu.org>

	* version.el (emacs-copyright): Set short copyright year to 2011.

2011-01-02  Mark Lillibridge  <mark.lillibridge@hp.com>  (tiny change)

	* mail/mail-utils.el (mail-strip-quoted-names): Avoid clobbering
	an existing temp buffer.  (Bug#7746)

2011-01-02  Glenn Morris  <rgm@gnu.org>

	* mail/mail-utils.el (mail-mbox-from): Handle From: headers with
	multiple addresses.  (Bug#7760)

907 908
2011-01-01  Ken Manheimer  <ken.manheimer@gmail.com>

909
	* allout.el (allout-auto-fill): Do not infinitely recurse - use
910 911 912 913
	do-auto-fill if everything points back to allout-auto-fill.
	(allout-mode-deactivate-hook): Declare obsolete, in favor of
	standard-formed minor-mode deactivate hook, allout-mode-off-hook.

914 915 916 917 918
2010-12-31  Michael Albinus  <michael.albinus@gmx.de>

	* net/tramp-sh.el (tramp-methods): Add recursive options to "scpc"
	and "scpx".

919 920 921 922 923 924 925 926 927 928 929 930
2010-12-30  Tassilo Horn  <tassilo@member.fsf.org>

	* doc-view.el (doc-view-set-doc-type): New function refactored
	from doc-view-mode.
	(doc-view-fallback-mode): New function.
	(doc-view-mode): Use it.
	(doc-view-mode-maybe): New function that checks if doc-view-mode
	can be used and falls back to the next best mode otherwise.

	* files.el (auto-mode-alist): Use doc-view-mode-maybe for PDF,
	DVI, OpenDocument, and MS Office files.

931 932 933 934
2010-12-30  Andreas Schwab  <schwab@linux-m68k.org>

	* emacs-lisp/rx.el (rx-syntax): Fix typo.

935 936 937 938 939 940
2010-12-30  Tassilo Horn  <tassilo@member.fsf.org>

	* doc-view.el (doc-view-toggle-display): Perform rassq-delete-all
	on a copy of auto-mode-alist, because that deletes with side
	effects.

941 942
2010-12-30  Tassilo Horn  <tassilo@member.fsf.org>

943 944
	* doc-view.el (doc-view-mode, doc-view-toggle-display):
	Use normal-mode without doc-view-mode bindings in auto-mode-alist as
945 946
	fallback instead of hard coding fundamental mode.

947 948 949 950 951
2010-12-30  Tassilo Horn  <tassilo@member.fsf.org>

	* doc-view.el (doc-view-doc->txt): Handle OpenDocument (or MS
	Office) files also for searching.

952 953 954 955 956 957 958 959 960 961
2010-12-30  Tassilo Horn  <tassilo@member.fsf.org>

	* doc-view.el: Implement viewing of OpenDocument (and Microsoft
	Office) files.  Not yet enabled via auto-mode-list.
	(doc-view-unoconv-program): New custom variable.
	(doc-view-mode-p): Handle new odf document type.
	(doc-view-odf->pdf): New conversion function.
	(doc-view-convert-current-doc): Call it for odf files.
	(doc-view-mode): Recognize newly supported file extensions.

962 963 964 965 966 967 968 969 970 971 972 973 974 975 976
2010-12-30  Michael Albinus  <michael.albinus@gmx.de>

	* net/tramp.el (tramp-default-method-alist)
	(tramp-default-user-alist)
	(tramp-local-host-regexp, tramp-prefix-domain-format)
	(tramp-prefix-domain-regexp): Set tramp-autoload cookie.

	* net/tramp-ftp.el:
	* net/tramp-gvfs.el:
	* net/tramp-gw.el:
	* net/tramp-imap.el:
	* net/tramp-sh.el:
	* net/tramp-smb.el: Add tramp-autoload cookie for initialisation
	code of `tramp-default-method-alist' and `tramp-default-user-alist'.

977 978 979 980 981 982
2010-12-29  Karl Fogel  <kfogel@red-bean.com>

	* saveplace.el (save-place-alist-to-file): Save list sorted and
	pretty-printed, so that it is mergeable by line-based text merging,
	as suggested by Iain Dalton <iain.dalton {_AT_} gmail.com>.

983 984
2010-12-28  Ken Manheimer  <ken.manheimer@gmail.com>

985
	* allout.el (allout-v18/19-file-var-hack): Obsolete, remove.
986 987 988 989 990 991 992 993 994 995 996 997
	(allout-mode): Argument "toggle" => "force".
	Refine the docstring.
	Remove special provisions for reactivation, besides the 'force'
	argument.
	Consolidate layout provisions coce directly into the activation
	condition branch, now that we've removed those provisions.
	(allout-unload-function): Explicitly activate the mode before
	deactivating, if it's initially deactivated.
	(allout-set-buffer-multibyte): Properly prevent byte-compiler
	warnings for version of function used only where
	set-buffer-multibyte is unavailable.

998 999 1000 1001 1002 1003
2010-12-28  Chong Yidong  <cyd@stupidchicken.com>

	* tool-bar.el (tool-bar-setup): Remove :enable conditions, which
	are handled by the menu-bar entries.  As before, don't use
	:visibile to avoid changing the tool-bar.

1004 1005 1006 1007
2010-12-27  Michael Albinus  <michael.albinus@gmx.de>

	* net/secrets.el (secrets-delete-alias): New defun.

1008 1009 1010 1011 1012
2010-12-27  Michael Albinus  <michael.albinus@gmx.de>

	* net/tramp.el (tramp-default-user-alist): Do not add "ssh" based
	methods, otherwise ~/.ssh/config would be ignored.

1013 1014 1015 1016 1017 1018 1019 1020 1021 1022 1023 1024 1025 1026
2010-12-26  Stefan Monnier  <monnier@iro.umontreal.ca>

	* emacs-lisp/rx.el: Make it a superset of sregex.
	(rx-constituents): Add `any => "."', mark `repeat' as taking any number
	of args, add `regex' alias.
	(rx-info): Add arg to distinguish head and standalone forms.
	(rx-check, rx-form): Pass the corresponding arg.
	(rx-**): Simplify.
	(rx-repeat): Make it work for any number of args.
	(rx-syntax): Make it accept syntax chars as is.
	* obsolete/sregex.el: Move from emacs-lisp/.
	* emacs-lisp/re-builder.el: Remove sregex support.
	* emacs-lisp/edebug.el (sregexq, rx): Remove redundant defs.

1027 1028 1029 1030 1031
2010-12-25  Eli Zaretskii  <eliz@gnu.org>

	* mouse.el (mouse-yank-primary): On MS-Windows, try the (emulated)
	PRIMARY first, then the clipboard.  (Bug#7699)

Stefan Monnier's avatar
Stefan Monnier committed
1032 1033 1034 1035 1036
2010-12-22  Stefan Monnier  <monnier@iro.umontreal.ca>

	* emacs-lisp/bytecomp.el (byte-compile-output-docform): Fix up use of
	print-number-table.

1037 1038
2010-12-21  Chong Yidong  <cyd@stupidchicken.com>

1039 1040 1041
	* help-fns.el (find-lisp-object-file-name): Locate .emacs from
	.emacs.elc (Bug#7530).

1042 1043 1044
	* wid-edit.el (widget-image-find): Remove bogus :ascent spec from
	image spec (Bug#7480).

Daiki Ueno's avatar
Daiki Ueno committed
1045 1046 1047
2010-12-21  Daiki Ueno  <ueno@unixuser.org>

	* obsolete/pgg-parse.el, obsolete/pgg-pgp5.el, obsolete/pgg-pgp.el,
1048 1049
	* obsolete/pgg-gpg.el, obsolete/pgg-def.el, obsolete/pgg.el:
	Move from lisp/.
Daiki Ueno's avatar
Daiki Ueno committed
1050

1051 1052 1053 1054 1055
2010-12-20  Leo  <sdl.web@gmail.com>

	* dnd.el (dnd-get-local-file-name): Unhex of file name shall
	always be performed (Bug#7680).

1056 1057
2010-12-20  Chong Yidong  <cyd@stupidchicken.com>

1058 1059 1060
	* menu-bar.el (menu-bar-kill-ring-save): Make obsolete.
	(menu-bar-edit-menu): Bind "Copy" to kill-ring-save.  Don't use
	mouse-region-match.
1061

1062
	* color.el: Move from gnus/.
1063

1064 1065
	* vc/diff.el (diff-better-file-name): Function deleted.
	abbreviating file names causes problems with shell-quote-argument.
1066 1067 1068 1069 1070 1071 1072 1073 1074 1075
	(diff-no-select): Just use expand-file-name.

	* tool-bar.el (tool-bar--image-expression): New function.
	(tool-bar-local-item, tool-bar--image-exp): Use it.
	(tool-bar-setup): Initialize tool-bar-separator-image-expression.
	Use :enable instead of :visible to avoid changing the tool-bar
	configuration unnecessarily.

	* info.el (info-tool-bar-map): Add separators.

1076 1077 1078 1079
2010-12-17  Ken Brown  <kbrown@cornell.edu>

	* loadup.el: Use version numbers in Cygwin build.

1080 1081 1082 1083 1084
2010-12-17  Ryan Twitchell  <metatheorem@gmail.com>  (tiny change)

	* ido.el (ido-file-internal): Ask for confirmation before
	overwriting an existing file (Bug#1238).

1085 1086 1087 1088 1089 1090
2010-12-16  Chong Yidong  <cyd@stupidchicken.com>

	* tool-bar.el (tool-bar-setup): Add separators.

	* menu-bar.el (featurep): Use menu-bar-separator.

1091 1092 1093 1094 1095 1096 1097 1098 1099 1100 1101 1102 1103 1104 1105 1106 1107 1108 1109 1110 1111 1112 1113 1114 1115 1116 1117 1118 1119 1120 1121 1122 1123 1124 1125 1126 1127 1128 1129 1130 1131
2010-12-16  Ken Manheimer  <ken.manheimer@gmail.com>

	Migrate allout encryption provisions from pgg to epg.

	* allout.el (allout-toggle-current-subtree-encryption)
	(allout-toggle-subtree-encryption): Adjust docstrings to reflect
	defaulting policy and other changes.  Change fetch-pass to keymode-cue,
	for simpler universal argument interpretation.
	(allout-toggle-subtree-encryption):  Adjust docstring to describe
	changed encryption provisions.  Change fetch-pass to keymode-cue, for
	simpler universal argument interpretation.  Remove provisions for
	handling key type and identity - they'll all be within
	allout-encrypt-string or epg/epg or even contained all the way in gpg.
	(allout-encrypt-string): Include keymode-cue, for optionally prompting
	for keypair recipients (universal argument > 1) and, in addition,
	associating the specified recipients with the outline (universal
	argument > 4) using a file local variable setting for
	'epa-file-encrypt-to'.
	Require epa, for recipients handling.
	Change how regexp filtering elements are named.
	Describe the problem with caching of incorrect symmetric-decryption
	keys.
	Use the epa-passphrase-callback-function, in case the user is using
	GnuPG v1.
	Support saving of the selected keypair recipients when invoked with a
	keymode-cue > 4.
	Remove obsolete arguments 'fetch-pass', 'target-cache-id', 'retried'.
	Require 'epa.
	Establish epg-context with armoring and default epg-protocol.
	Remove all passphrase cache, verification, and hinting code.
	(allout-passphrase-verifier-handling, allout-passphrase-hint-handling):
	No longer used, delete.
	(allout-mode): Adjust docstring to describe changed encryption
	provisions.  Describe the problem with caching of incorrect
	symmetric-decryption keys.
	(allout-obtain-passphrase, allout-epg-passphrase-callback-function)
	(allout-make-passphrase-state, allout-passphrase-state-passphrase)
	(allout-encrypted-key-info, allout-update-passphrase-mnemonic-aids)
	(allout-get-encryption-passphrase-verifier, allout-verify-passphrase):
	Obsolete, remove.

1132 1133 1134 1135 1136
2010-12-16  Daiki Ueno  <ueno@unixuser.org>

	* epa-file.el (epa-file-select-keys): Accept 'silent to inhibit
	key selection prompt; make 'silent as default (Bug#7487).

1137 1138
2010-12-16  Leo  <sdl.web@gmail.com>

1139 1140
	* eshell/eshell.el (eshell-directory-name):
	Use locate-user-emacs-file (Bug#7578).
1141

1142 1143 1144 1145
2010-12-15  Glenn Morris  <rgm@gnu.org>

	* loadup.el (symbol-file-load-history-loaded): Remove; unused.

1146 1147 1148 1149 1150 1151 1152
2010-12-15  Jari Aalto  <jari.aalto@cante.net>
            Scott Evans <gse@antisleep.com>

	* rect.el (rectange--default-line-number-format)
	(rectangle-number-line-callback): New functions.
	(rectangle-number-lines): New command, bound to C-x r N (Bug#4382).

1153 1154 1155 1156 1157 1158
2010-12-15  Chong Yidong  <cyd@stupidchicken.com>

	* rect.el (operate-on-rectangle-lines, string-rectangle-string):
	Delete unused variables.
	(move-to-column-force): Remove function obsolete since 21.2.

1159 1160 1161 1162 1163 1164
2010-12-14  Michael Albinus  <michael.albinus@gmx.de>

	* net/tramp.el (tramp-temp-buffer-file-name): Make it permanent-local.
	(tramp-handle-insert-file-contents): Do not set permanent-local
	property.

1165 1166
	* net/tramp-cache.el (tramp-persistency-file-name):
	Use `locate-user-emacs-file' if fboundp.
1167 1168 1169 1170 1171

	* net/tramp-sh.el (tramp-methods): Add "ksu".
	(tramp-default-user-alist): Add "ksu".  Use `regexp-opt' for
	method list.

1172 1173
2010-12-14  Glenn Morris  <rgm@gnu.org>

Glenn Morris's avatar
Glenn Morris committed
1174 1175 1176 1177
	* progmodes/js.el: Doc't require font-lock, etags, or easymenu.
	(find-tag-marker-ring): Declare.
	(js-find-symbol): Require etags.

Glenn Morris's avatar
Glenn Morris committed
1178 1179 1180 1181 1182 1183 1184 1185
	* mail/sendmail.el: Don't require rmail or mailalias when compiling.
	Require mail-utils.
	(mail-alias-file): Don't autoload.  Doc fix.
	(mail-bury-selects-summary, mail-send-nonascii): Don't autoload.
	(mail-mailer-swallows-blank-line): Default to nil.  Doc fix.
	Mark as obsolete, and risky.
	(mail-setup): Simplify.

1186 1187 1188
	* mail/mailalias.el (build-mail-aliases): Make it interactive.
	* mail/sendmail.el (build-mail-aliases): Update autoload.

1189 1190 1191 1192
	* dired.el (dired-trivial-filenames, dired-chown-program)
	(dired-auto-revert-buffer): Remove autoload cookies.
	* mail/sendmail.el (mail-recover-1): Require 'dired.

1193 1194 1195 1196 1197
	* dired.el (dired-subdir-switches, dired-chown-program)
	(dired-use-ls-dired, dired-chmod-program, dired-touch-program):
	Make into defcustoms.
	(dired-chown-program): Simplify initialization.

1198 1199
	* mail/mail-utils.el: No need to require lisp-mode, it's in loadup.

1200 1201 1202 1203
2010-12-13  Romain Francoise  <romain@orebokech.com>

	* net/gnutls.el (gnutls-negotiate): Fix setting of default trustfiles.

1204 1205 1206 1207 1208 1209
2010-12-13  Lars Magne Ingebrigtsen  <larsi@gnus.org>

	* net/netrc.el (netrc-point-at-eol): Remove the unused
	netrc-point-at-old and netrc-bound-and-true-p bindings.
	(netrc-parse): Cache the netrc contents.

Stefan Monnier's avatar
Stefan Monnier committed
1210
2010-12-13  Eli Zaretskii  <eliz@gnu.org>
1211 1212 1213 1214

	* subr.el (posn-col-row): Evaluate header-line-format in the
	context of the POSITION window's buffer.

Stefan Monnier's avatar
Stefan Monnier committed
1215
2010-12-13  Glenn Morris  <rgm@gnu.org>
Glenn Morris's avatar
Glenn Morris committed
1216 1217 1218 1219

	* subr.el (member-ignore-case, run-mode-hooks, insert-for-yank-1)
	(with-silent-modifications): Doc fixes.

Stefan Monnier's avatar
Stefan Monnier committed
1220
2010-12-13  Michael Albinus  <michael.albinus@gmx.de>
1221 1222

	* net/tramp.el (tramp-action-password, tramp-process-actions):
1223
	Revert previous from.  Use `save-restriction'.
1224

Stefan Monnier's avatar
Stefan Monnier committed
1225
2010-12-13  Stephen Berman  <stephen.berman@gmx.net>
Stephen Berman's avatar
Stephen Berman committed
1226 1227 1228 1229

	* calendar/diary-lib.el (diary-list-sexp-entries):
	Handle case of no newline at end of file.  (Bug#7536)

Stefan Monnier's avatar
Stefan Monnier committed
1230
2010-12-13  Glenn Morris  <rgm@gnu.org>
1231 1232 1233

	* mail/smtpmail.el (smtpmail-send-it): Revert previous change.

Stefan Monnier's avatar
Stefan Monnier committed
1234
2010-12-13  Michael Albinus  <michael.albinus@gmx.de>
1235

Stefan Monnier's avatar
Stefan Monnier committed
1236
	* net/tramp.el (tramp-action-password): Delete region, do not narrow.
1237
	(tramp-process-actions): Do not widen.
1238

Stefan Monnier's avatar
Stefan Monnier committed
1239 1240
	* net/tramp-sh.el (tramp-sh-handle-start-file-process):
	Protect buffer-modified value.  (Bug#7557)
1241

Stefan Monnier's avatar
Stefan Monnier committed
1242
2010-12-13   Jan Moringen  <jmoringe@techfak.uni-bielefeld.de>
1243 1244 1245 1246

	* log-edit.el (log-edit-changelog-entries):
	Regexp quote filename.  (Bug#7505)

Stefan Monnier's avatar
Stefan Monnier committed
1247
2010-12-13  Tom Breton  <tehom@panix.com>
1248 1249 1250 1251

	* cus-edit.el (custom-save-all):
	Bind print-length and print-level to nil.  (Bug#7581)

Stefan Monnier's avatar
Stefan Monnier committed
1252
2010-12-13  Glenn Morris  <rgm@gnu.org>
1253

Glenn Morris's avatar
Glenn Morris committed
1254 1255 1256
	* mouse.el (mouse-menu-major-mode-map, mouse-menu-bar-map):
	Run hooks to update menu contents.  (Bug#7586)

1257 1258 1259
	* mail/smtpmail.el (smtpmail-send-it): Avoid colons in the queued
	file names, for the sake of MS Windows.  (Bug#7588)

Stefan Monnier's avatar
Stefan Monnier committed
1260
2010-12-13  Stefan Monnier  <monnier@iro.umontreal.ca>
1261 1262 1263 1264

	* diff-mode.el (diff-refine-hunk): Make it work when the hunk contains
	empty lines without a leading space.

Stefan Monnier's avatar
Stefan Monnier committed
1265
2010-12-13  Leo  <sdl.web@gmail.com>
1266

Glenn Morris's avatar
Glenn Morris committed
1267 1268
	* dired-aux.el (dired-do-redisplay): Postpone dired-after-readin-hook
	while mapping over marks (Bug#6810).
1269

Stefan Monnier's avatar
Stefan Monnier committed
1270
2010-12-13  Chong Yidong  <cyd@stupidchicken.com>
1271 1272 1273 1274 1275 1276

	* image-dired.el (image-dired-db-file)
	(image-dired-temp-image-file, image-dired-gallery-dir)
	(image-dired-temp-rotate-image-file): Set default values relative
	to image-dired-dir (Bug#7518).

Stefan Monnier's avatar
Stefan Monnier committed
1277
2010-12-13  Lawrence Mitchell  <wence@gmx.li>
1278 1279 1280 1281

	* format.el (format-decode-run-method): Pass args FROM and TO, not
	point-min and point-max, to shell-command-on-region (Bug#7488).

Stefan Monnier's avatar
Stefan Monnier committed
1282
2010-12-13  Jan Djärv  <jan.h.d@swipnet.se>
1283 1284 1285

	* frame.el (blink-cursor-mode): Make default t for ns.

Stefan Monnier's avatar
Stefan Monnier committed
1286
2010-12-13  Bob Rogers  <rogers-emacs@rgrjr.dyndns.org>
1287 1288 1289

	* vc-dir.el (vc-dir-query-replace-regexp): Doc fix (Bug#7501).

Stefan Monnier's avatar
Stefan Monnier committed
1290
2010-12-13  Chong Yidong  <cyd@stupidchicken.com>
1291

1292 1293 1294 1295 1296 1297 1298
	* comint.el (comint-dynamic-list-input-ring)
	(comint-dynamic-complete-filename)
	(comint-replace-by-expanded-filename)
	(comint-dynamic-simple-complete)
	(comint-dynamic-list-filename-completions)
	(comint-dynamic-list-completions): Doc fix (Bug#7499).

1299 1300 1301
	* subr.el (posn-x-y, posn-object-x-y, posn-object-width-height):
	Doc fix (Bug#7471).

Stefan Monnier's avatar
Stefan Monnier committed
1302
2010-12-13  Martin Rudalics  <rudalics@gmx.at>
1303 1304 1305 1306

	* dired.el (dired-pop-to-buffer): Bind pop-up-frames to nil
	(Bug#7533).

Stefan Monnier's avatar
Stefan Monnier committed
1307
2010-12-13  W. Martin Borgert <debacle@debian.org>  (tiny change)
1308 1309 1310 1311

	* files.el (auto-mode-alist): Handle .dbk (DocBook) with xml-mode.
	(Bug#7491).

Stefan Monnier's avatar
Stefan Monnier committed
1312
2010-12-13  Eli Zaretskii  <eliz@gnu.org>
1313 1314 1315 1316

	* files.el (file-relative-name): Handle UNC file names on
	DOS/Windows.  (Bug#4674)

Stefan Monnier's avatar
Stefan Monnier committed
1317
2010-12-13  Daiki Ueno  <ueno@unixuser.org>
Daiki Ueno's avatar
Daiki Ueno committed
1318 1319 1320 1321 1322 1323

	* epg.el (epg-digest-algorithm-alist): Replace "RMD160" with
	"RIPEMD160" (Bug#7490).  Reported by Daniel Kahn Gillmor.
	(epg-context-set-passphrase-callback): Mention that the callback
	is not called when used with GnuPG 2.x.

Stefan Monnier's avatar
Stefan Monnier committed
1324
2010-12-13  Glenn Morris  <rgm@gnu.org>
Glenn Morris's avatar
Glenn Morris committed
1325 1326 1327 1328 1329

	* ps-print.el (ps-line-lengths-internal, ps-nb-pages):
	Ensure ps-footer-font-size-internal is initialized.
	Call ps-get-page-dimensions before trying to use ps-font-for-text.

Stefan Monnier's avatar
Stefan Monnier committed
1330
2010-12-13  Kenichi Handa  <handa@m17n.org>
1331 1332 1333 1334 1335 1336 1337 1338

	* mail/rmailmm.el (rmail-mime-parse): Call rmail-mime-process
	within condition-case.
	(rmail-show-mime): Don't use condition-case.
	(rmail-search-mime-message): New function.
	(rmail-search-mime-message-function): Set to
	rmail-search-mime-message.

Stefan Monnier's avatar
Stefan Monnier committed
1339
2010-12-13  Leo  <sdl.web@gmail.com>
1340

1341
	* ido.el (ido-common-initialization): New function.  (bug#3274)
1342 1343 1344
	(ido-mode): Use it.
	(ido-completing-read): Call it.

1345 1346 1347 1348 1349 1350 1351 1352
2010-12-12  Karl Fogel  <kfogel@red-bean.com>

	* bookmark.el (bookmark-name-from-full-record): Rename back to
	this original name from `bookmark-name-from-record' reverting part
	of 2010-12-08T08:09:27Z!kfogel@red-bean.com / kfogel@red-bean.com-20101208080927-5j9jqnb2xvcw4ogm.
	As Drew Adams pointed out, there was no reason to cause churn for
	third-party callers.

1353 1354 1355 1356 1357
2010-12-12  Alan Mackenzie  <acm@muc.de>

	* progmodes/cc-engine.el (c-forward-type): Before scanning a
	template arglist, check that the current language supports this.

1358 1359
2010-12-11  Glenn Morris  <rgm@gnu.org>

Glenn Morris's avatar
Glenn Morris committed
1360 1361 1362 1363 1364 1365
	* vc/vc-bzr.el (vc-bzr-state-heuristic): Also check that the executable
	state of the file matches.  (Bug#7544)
	(vc-bzr-register, vc-bzr-checkin)
	(vc-bzr-annotate-extract-revision-at-line): Doc fixes.
	(vc-directory-exclusion-list): Remove unnecessary eval-after-load.

1366 1367
	* textmodes/sgml-mode.el (sgml-xml-guess): Add .xhtml extension.

1368 1369 1370 1371
2010-12-11  Karel Klíč  <kklic@redhat.com>

	* files.el (auto-mode-alist): Use html-mode for *.xhtml.  (Bug#7606)