ChangeLog 272 KB
Newer Older
1 2 3 4 5 6 7 8 9 10 11 12
2011-09-22  Chong Yidong  <cyd@stupidchicken.com>

	* window.el (pop-to-buffer-same-window): New (reinstated) fun.

	* cmuscheme.el (run-scheme, switch-to-scheme):
	* cus-edit.el (customize-group, custom-buffer-create)
	(customize-browse):
	* info.el (info):
	* shell.el (shell):
	* mail/sendmail.el (mail):
	* progmodes/inf-lisp.el (inferior-lisp): Use it (Bug#9532).

13 14 15 16 17
2011-09-22  Richard Stallman  <rms@gnu.org>

	* textmodes/paragraphs.el (forward-sentence): When setting PAR-BEG,
	move back only to line beg, don't move back over blank lines.

18 19 20 21 22
2011-09-22  Michael Albinus  <michael.albinus@gmx.de>

	* files.el (copy-directory): Set directory attributes only in case
	they could be retrieved from the source directory.  (Bug#9565)

23 24 25 26 27 28
2011-09-22  Dima Kogan  <dkogan@secretsauce.net>  (tiny change)

	* progmodes/hideshow.el (hs-looking-at-block-start-p)
	(hs-find-block-beginning, hs-hide-level-recursive):
	Ignore strings as well as comments.  (Bug#9502)

Andrew Schein's avatar
Andrew Schein committed
29 30 31 32 33
2011-09-22  Andrew Schein  <andrew@andrewschein.com>  (tiny change)

	* progmodes/sql.el (sql-comint-postgres):
	Convert port number to a string.  (Bug#9566)

34 35 36 37 38
2011-09-22  Martin Rudalics  <rudalics@gmx.at>

	* window.el (quit-window): Undedicate window when switching to
	previous buffer.  Reported by Thierry Volpiatto
	<thierry.volpiatto@gmail.com>.
39 40
	(special-display-popup-frame): When popping up a new frame reset
	its previous buffers to nil.  Simplify code.
41

42 43 44 45 46
2011-09-21  Michael Albinus  <michael.albinus@gmx.de>

	* net/tramp.el (tramp-handle-shell-command): Set process sentinel
	and process filter, as done also in `shell-command'.

47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63
2011-09-21  Martin Rudalics  <rudalics@gmx.at>

	* window.el (set-window-buffer-start-and-point): Call
	set-window-start with NOFORCE argument t.  Suggested by Thierry
	Volpiatto <thierry.volpiatto@gmail.com>.
	(quit-window): Reword doc-string.  Handle new format of
	quit-restore parameter.  Don't delete window if it has a
	previous buffer we can show instead of the present one.
	(display-buffer-record-window): Rewrite using a new format for
	the quit-restore window parameter
	(special-display-popup-frame, display-buffer-same-window)
	(display-buffer-reuse-window, display-buffer-pop-up-frame)
	(display-buffer-pop-up-window, display-buffer-use-some-window):
	Adapt symbol passed to display-buffer-record-window.
	* help.el (help-window-setup): Handle new format of quit-restore
	parameter.

64 65
2011-09-21  Stefan Monnier  <monnier@iro.umontreal.ca>

66 67
	* faces.el (face-list): Fix docstring (bug#9564).

68 69 70
	* window.el (display-buffer--action-function-custom-type):
	Don't include internal functions in the Custom interface.

71 72 73 74 75 76
2011-09-20  Juri Linkov  <juri@jurta.org>

	* info.el (Info-history-skip-intermediate-nodes): New defcustom.
	(Info-forward-node, Info-backward-node, Info-next-preorder)
	(Info-last-preorder): Use it.  (Bug#9528)

77 78 79 80 81
2011-09-20  Juri Linkov  <juri@jurta.org>

	* info.el (Info-last-preorder): Visit last menu item only when
	`Info-scroll-prefer-subnodes' is non-nil (third test-case of bug#9528).

82 83 84 85 86 87
2011-09-20  Julien Danjou  <julien@danjou.info>

	* password-cache.el (password-cache-remove): Remove entries even if the
	value is nil, so that password with a nil value (negative caching) is
	possible to invalidate.

88 89 90 91 92 93
2011-09-20  Lawrence Mitchell  <wence@gmx.li>

	* progmodes/f90.el (f90-break-line): If breaking inside comment delete
	all whitespace around breakpoint.  (Bug#9553)
	(f90-find-breakpoint): Only break at whitespace inside a comment.

94 95 96 97 98 99
2011-09-20  Stefan Monnier  <monnier@iro.umontreal.ca>

	* minibuffer.el (completion-file-name-table): Keep track of errors.
	(completion-table-with-predicate): Handle the case where pred1 is nil.
	* pcomplete.el (pcomplete-completions-at-point): Simplify.

100 101
2011-09-19  Stefan Monnier  <monnier@iro.umontreal.ca>

102 103 104 105
	* emacs-lisp/debug.el (debugger-args): Give it a docstring.
	(debugger-return-value): Signal an error if the debugging context does
	not await any return value.

106 107 108 109
	* ps-mule.el (ps-mule-plot-string): Don't inf-loop (bug#5108).
	* image-mode.el (image-toggle-display-text)
	(image-toggle-display-image): Stay away from evil `intangible'.

Leo Liu's avatar
Leo Liu committed
110 111 112 113 114
2011-09-19  Leo Liu  <sdl.web@gmail.com>

	* replace.el (occur-revert-arguments): Make it permanent-local.
	(occur-mode): Don't call font-lock-defontify.

115 116 117 118 119
2011-09-19  Chong Yidong  <cyd@stupidchicken.com>

	* net/ldap.el (ldap-search-internal): Don't push empty search
	result (Bug#9508).

120 121 122 123
2011-09-19  Stefan Monnier  <monnier@iro.umontreal.ca>

	* whitespace.el (whitespace-newline-mode): Disable it right (bug#9550).

124 125 126 127 128
2011-09-19  Michael Albinus  <michael.albinus@gmx.de>

	* net/tramp-sh.el (tramp-inline-compress-commands): Add "xz".
	Suggested by Liam Stitt <stittl@cuug.ab.ca>.

129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147
2011-09-18  Juri Linkov  <juri@jurta.org>

	* buff-menu.el (Buffer-menu-mode-map):
	* dired.el (dired-mode-map):
	* emacs-lisp/lisp-mode.el (emacs-lisp-mode-map)
	(lisp-interaction-mode-map):
	* emacs-lisp/package.el (package-menu-mode-map):
	* epa.el (epa-key-list-mode-map):
	* menu-bar.el (menu-bar-showhide-tool-bar-menu)
	(menu-bar-options-menu):
	* outline.el (outline-mode-menu-bar-map):
	* vc/vc-bzr.el (vc-bzr-shelve-menu-map, vc-bzr-extra-menu-map):
	* vc/vc-dir.el (vc-dir-menu-map):
	* vc/vc-git.el (vc-git-stash-menu-map, vc-git-extra-menu-map):
	Capitalize non-function content words in menu item strings.

	* dired.el (dired-mode-map): Add menu item for
	`image-dired-dired-toggle-marked-thumbs'.

148 149 150 151 152 153
2011-09-18  Juri Linkov  <juri@jurta.org>

	* isearch.el (isearch-edit-string): Bind `isearch-new-case-fold'
	to `isearch-case-fold-search' and restore its original value
	after the `isearch-mode' call.

154 155 156 157 158
2011-09-18  Juri Linkov  <juri@jurta.org>

	* progmodes/grep.el (grep-process-setup): Don't check code for 1
	because `zgrep' returns 1 for successful matches (bug#9226).

159 160 161 162 163 164 165
2011-09-18  Juri Linkov  <juri@jurta.org>

	* info.el (Info-extract-menu-node-name): Check the second match
	for empty string (second test-case of bug#9528).
	(Info-last-preorder): Let-bind `Info-history' to nil to not add
	intermediate nodes to the history (first test-case of bug#9528).

166 167 168 169 170
2011-09-18  Juri Linkov  <juri@jurta.org>

	* info.el (Info-mode-syntax-table): New variable.
	(Info-mode): Set `:syntax-table' to `Info-mode-syntax-table'.  (Bug#3312)

171 172 173 174 175 176
2011-09-18  Juri Linkov  <juri@jurta.org>

	* info.el (Info-file-supports-index-cookies): Increment
	line-beginning-position's arg from 3 to 4 because makeinfo outputs
	one more line for long file names (bug#4142).

177 178 179 180 181
2011-09-18  Chong Yidong  <cyd@stupidchicken.com>

	* newcomment.el (comment-normalize-vars): If prompting for
	comment-start, set comment-start-skip too (Bug#8424).

182 183 184 185 186 187 188
2011-09-18  Johan Bockgård  <bojohan@gnu.org>

	* icomplete.el: Fix previous fix of Bug#5849.
	(icomplete-mode): Don't set completion-show-inline-help.
	(icomplete-minibuffer-setup): Set completion-show-inline-help
	locally during icompletion.

189 190
2011-09-18  Chong Yidong  <cyd@stupidchicken.com>

191 192 193
	* woman.el (woman2-process-escapes): Don't delete unrecognized
	escapes (Bug#7843).

194 195 196 197
	* files.el (inhibit-first-line-modes-regexps): Add image files.
	(hack-local-variables-prop-line): Return nil for malformed
	prop-lines (Bug#9044).

198 199 200 201 202
2011-09-18  Michael Albinus  <michael.albinus@gmx.de>

	* net/tramp.el (top): Don't require 'shell.
	(tramp-methods): Fix docstring.
	(tramp-get-remote-tmpdir): New defun, moved from tramp-sh.el.
203 204
	Return complete remote file name.  Handle "smb" case.
	Use `tramp-tmpdir', if defined for the respective method.
205 206 207 208 209 210 211 212 213 214 215 216 217 218 219
	(tramp-make-tramp-temp-file): Adapt call of `tramp-get-remote-tmpdir'.

	* net/tramp-compat.el (top): Require 'shell.

	* net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
	(tramp-maybe-open-connection): Use `tramp-file-name-real-host' for
	`tramp-current-host'.
	(tramp-get-remote-tmpdir): Remove.

	* net/tramp-smb.el (tramp-methods): Add `tramp-remote-shell' and
	`tramp-tmpdir' entries.
	(tramp-smb-errors): Add "NT_STATUS_IMAGE_ALREADY_LOADED".
	(tramp-smb-handle-file-attributes): Ignore errors.
	(tramp-smb-wait-for-output): Check also for process end.

220 221 222 223 224
2011-09-18  Lars Magne Ingebrigtsen  <larsi@gnus.org>

	* mail/smtpmail.el (smtpmail-via-smtp): Ignore errors that arise
	when sending QUIT (bug#9312).

225 226 227 228 229 230 231 232 233 234 235
2011-09-17  Chong Yidong  <cyd@stupidchicken.com>

	* replace.el (occur-mode-map): Rebind occur-edit-mode to "e" (Bug#8463).
	(occur-edit-mode-map): Bind C-c C-c to occur-cease-edit and C-o to
	occur-mode-display-occurrence.
	(occur-edit-mode): Add usage message.
	(occur-cease-edit): New command.
	(occur-after-change-function): Use text properties to find the
	position of the prefix text.
	(occur-engine): Set stickiness of prefix text properties.

Glenn Morris's avatar
Glenn Morris committed
236 237 238 239 240
2011-09-17  Glenn Morris  <rgm@gnu.org>

	* progmodes/etags.el (complete-tag):
	Fix call to completion-in-region.  (Bug#9526)

241 242 243 244 245 246
2011-09-17  Juri Linkov  <juri@jurta.org>

	* textmodes/ispell.el (ispell-word): Add to the error message
	the word, ispell program name and current dictionary (bug#9121).
	(ispell-tex-arg-end): Capitalize "error" in the error message.

247 248 249 250 251
2011-09-17  Andreas Schwab  <schwab@linux-m68k.org>

	* emacs-lisp/bytecomp.el (byte-compile-lapcode): Fix overflow
	check.  (Bug#4251)

252 253 254 255 256
2011-09-17  Juri Linkov  <juri@jurta.org>

	* window.el (window-safe-min-height, window-safe-min-width):
	Fix typos (followup to bug#9522).

257 258 259 260
2011-09-17  Sven Joachim  <svenjoac@gmx.de>

	* window.el (window-min-width, window-state-put): Fix typos (bug#9522).

261 262 263 264 265 266 267
2011-09-16  Eli Zaretskii  <eliz@gnu.org>

	* simple.el (line-move): If goal-column is set, move by logical
	lines, not by display lines.  (Bug#971)
	(next-line, previous-line, goal-column, line-move-visual): Doc fix
	to reflect the above change.

268 269 270 271
2011-09-16  Stefan Monnier  <monnier@iro.umontreal.ca>

	* image.el (imagemagick-register-types): Use regexp-opt.

272 273 274 275 276 277 278
2011-09-15  Chong Yidong  <cyd@stupidchicken.com>

	* window.el (display-buffer-base-action): Rename from
	display-buffer-default-action.  Make default value empty.
	(display-buffer-overriding-action): Convert to defvar.
	(display-buffer-fallback-action): New var.

279 280 281 282 283 284 285 286
2011-09-15  Chong Yidong  <cyd@stupidchicken.com>

	* emacs-lisp/package.el (package-alist): Fix risky-local-variable
	declaration.
	(package--add-to-archive-contents): If there is a duplicate entry
	with an older version, remove it.
	(package-menu-mark-delete, package-menu-mark-install)
	(package-menu-mark-unmark): Make unused args optional.
287 288
	(package-menu-mark-obsolete-for-deletion):
	Use package-menu-get-status instead of a regexp search.
289 290
	(package-menu-get-status): Use tabulated-list-entry.
	(package-menu-mark-upgrades): New command.
291
	(package-menu-mode-map): Bind it to U.  Add it to menu bar.
292 293 294 295 296
	(package-menu-execute): Do installation before deletion.
	(package-menu-refresh, package-menu-execute): Use derived-mode-p
	instead of checking major-mode.
	(package-menu--find-upgrades): New function.

297 298 299 300
2011-09-14  Lars Magne Ingebrigtsen  <larsi@gnus.org>

	* mail/smtpmail.el (smtpmail-send-command): Don't include AUTH
	passwords in the log buffer.
301 302
	(smtpmail-process-filter): Update the process marker so that the
	"broken by peer" status message is inserted in the right place.
303

304 305
2011-09-14  Stefan Monnier  <monnier@iro.umontreal.ca>

306 307 308 309 310
	* textmodes/bibtex.el (bibtex-complete-string-cleanup)
	(bibtex-complete-crossref-cleanup): Adjust to accommodate needs of
	bibtex-completion-at-point-function.
	(bibtex-completion-at-point-function): Use them.

311 312
	* newcomment.el (comment-add, comment-valid-prefix-p): Docfix.

313 314 315 316
	* mpc.el (mpc-constraints-tag-lookup): New function.
	(mpc-constraints-restore): Use it to make jumping to "album=Foo" apply
	also to browser "album|playlist".

317 318 319 320 321 322 323 324
2011-09-14  Juri Linkov  <juri@jurta.org>

	* isearch.el (isearch-fail-pos): Add new arg `msg'.  Doc fix.
	(isearch-edit-string): Use length of `isearch-string' when
	`isearch-fail-pos' returns nil.
	(isearch-message): Remove duplicate code and call
	`isearch-fail-pos' with arg `t'.

325 326
2011-09-14  Chong Yidong  <cyd@stupidchicken.com>

327 328 329
	* replace.el (occur-mode-goto-occurrence): Don't force using other
	window (Bug#9499).

330 331
	* dired-aux.el (dired-do-chmod): Don't provide initial input.

332 333 334 335 336 337 338 339
2011-09-14  Martin Rudalics  <rudalics@gmx.at>

	* window.el (display-buffer-window): Remove.
	(display-buffer-record-window): Use help-setup window parameter
	instead of variable display-buffer-window.
	(display-buffer-function, special-display-buffer-names)
	(special-display-function): Mention help-setup parameter instead
	of display-buffer-window in doc-string.
340 341
	* help.el (help-window-setup): New argument help-window.
	Use help-window-setup parameter instead of display-buffer-window.
342 343 344 345
	Reword some messages.
	(with-help-window): Pass window used for displaying the buffer
	to help-window-setup.  Don't set display-buffer-window.

346 347 348 349 350
2011-09-13  Glenn Morris  <rgm@gnu.org>

	* emacs-lisp/debug.el (debugger-make-xrefs):
	Preserve point.  (Bug#9462)

351 352 353 354
2011-09-13  Chong Yidong  <cyd@stupidchicken.com>

	* window.el (window-deletable-p): Use next-frame.

355 356 357 358 359 360 361 362 363 364 365
2011-09-13  Martin Rudalics  <rudalics@gmx.at>

	* window.el (window-auto-delete): Remove.
	(window-deletable-p): Remove argument FORCE.  Don't deal with
	dedicatedness and previous buffers.
	(switch-to-prev-buffer): Don't delete window.
	(delete-windows-on): Delete a window's frame if and only if the
	window is dedicated.
	(replace-buffer-in-windows): Delete buffer's window or frame if
	and only if window is dedicated.
	(quit-window): Handle quit-restore as before last change.
Juanma Barranquero's avatar
Juanma Barranquero committed
366
	(bury-buffer): Delete window only if window-deletable-p returns t.
367

368 369 370 371 372
2011-09-13  Chong Yidong  <cyd@stupidchicken.com>

	* window.el (window-deletable-p): Never delete the last frame on a
	given terminal.

373 374 375 376
2011-09-13  Glenn Morris  <rgm@gnu.org>

	* help.el (describe-key-briefly): Copy previous standard-output change.

377 378 379 380
2011-09-13  PJ Weisberg  <pj@irregularexpressions.net>  (tiny change)

	* help.el (where-is): Respect non-standard standard-output.  (Bug#9030)

381 382 383 384 385
2011-09-13  Glenn Morris  <rgm@gnu.org>

	* emacs-lisp/lisp-mode.el (lisp-indent-function):
	* progmodes/scheme.el (scheme-indent-function): Doc fixes.

386 387 388 389 390 391 392 393 394 395 396
2011-09-12  Chong Yidong  <cyd@stupidchicken.com>

	* dired-aux.el (dired-mark-read-string): Don't return default
	value on empty input (Bug#9361).
	(dired-do-chxxx): Treat empty input for "touch" as no -t option.
	Omit initial minibuffer contents.
	(dired-do-chmod): Signal an error on empty input.
	(dired-mark-read-string): Don't return default on empty input.

	* files.el (file-modes-symbolic-to-number): Doc fix.

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

	* international/mule-cmds.el (ucs-completions): Remove.
	(read-char-by-name): Use complete-with-action instead; add metadata.

402 403 404 405 406 407 408
2011-09-11  Chong Yidong  <cyd@stupidchicken.com>

	* window.el (display-buffer--action-function-custom-type)
	(display-buffer--action-custom-type): New vars.
	(display-buffer-alist, display-buffer-default-action)
	(display-buffer-overriding-action): Add defcustom types.

409 410
	* frame.el (delete-other-frames): Doc fix (Bug#276).

411 412 413 414
2011-09-11  Lars Magne Ingebrigtsen  <larsi@gnus.org>

	* play/doctor.el (make-doctor-variables): Define `doctor-sent'.

415 416 417 418 419 420 421 422
2011-09-11  Chong Yidong  <cyd@stupidchicken.com>

	Change modes that used same-window-* vars to use switch-to-buffer.

	* progmodes/gdb-mi.el (gdb-restore-windows, gdb-setup-windows):
	Use switch-to-buffer.

	* cus-edit.el (customize-group, custom-buffer-create)
423 424
	(customize-browse, custom-buffer-create-other-window):
	Use switch-to-buffer or switch-to-buffer-other-window.
425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440

	* info.el (info, Info-find-node, Info-revert-find-node, Info-next)
	(Info-prev, Info-up, Info-speedbar-goto-node)
	(info-display-manual): Use switch-to-buffer.
	(Info-speedbar-goto-node): Use switch-to-buffer-other-frame.

	* mail/sendmail.el (mail): Use switch-to-buffer.
	(mail-recover): Use switch-to-buffer-other-window.

	* cmuscheme.el (run-scheme, switch-to-scheme):
	* ielm.el (ielm):
	* shell.el (shell):
	* net/rlogin.el (rlogin):
	* net/telnet.el (telnet, rsh):
	* progmodes/inf-lisp.el (inferior-lisp): Use switch-to-buffer.

441 442 443 444
2011-09-11  Andreas Schwab  <schwab@linux-m68k.org>

	* dired.el (dired-sort-toggle-or-edit): Revert last changes.

445 446
2011-09-11  Lars Magne Ingebrigtsen  <larsi@gnus.org>

447 448
	* dired.el (dired-sort-toggle-or-edit): -o doesn't exist on *BSD,
	so don't mention it (bug#9301).
449
	(dired-sort-toggle-or-edit): Clarify string further.
450

451 452 453
	* faces.el (face-spec-set-match-display): Make `(type graphic)'
	match `x', `w32' and `ns', like the manual says (bug#9029).

454
	* subr.el (eval-after-load): Doc string clarification (bug#9125).
455 456
	(process-kill-buffer-query-function): Mention the buffer name in
	the query.
457

458 459 460
	* image-mode.el (image-next-line): The line parameter is mandatory
	(bug#9258).

461 462 463
	* dired.el (dired-sort-toggle-or-edit): Mention -o and -g, too,
	which can be useful (bug#9301).

464 465
	* textmodes/flyspell.el: Remove obsolete comment (bug#9368).

466 467 468
	* subr.el (match-string): Mention that the current buffer should
	be the same as the search was done in (bug#9282).

469 470 471
	* facemenu.el: Disable the remove-* commands if the mark isn't
	active (bug#9162).

472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 487 488 489
2011-09-10  Chong Yidong  <cyd@stupidchicken.com>

	* buff-menu.el (Buffer-menu-switch-other-window): Use second arg
	of display-buffer.
	(Buffer-menu-2-window): Use switch-to-buffer-other-window.

	* replace.el (occur-mode-goto-occurrence)
	(occur-mode-display-occurrence) Use second arg of pop-to-buffer
	and display-buffer.

	* mail/reporter.el (reporter-submit-bug-report): Use second arg of
	display-buffer.

	* mail/sendmail.el (sendmail-user-agent-compose): Don't bind the
	special-display and same-window variables.
	(mail-other-window): Use switch-to-buffer-other-window.
	(mail-other-frame): USe switch-to-buffer-other-frame.

490 491
	* progmodes/gdb-mi.el (gdb-frame-gdb-buffer):
	Use display-buffer-other-frame.
492 493 494 495 496 497 498 499 500 501
	(gdb-display-gdb-buffer): Use pop-to-buffer.

	* progmodes/gud.el (gud-goto-info): Use info-other-window.

	* progmodes/python.el: Don't set same-window-buffer-names.

	* textmodes/bibtex.el (bibtex-search-entry): Use switch-to-buffer.

	* window.el (display-buffer-alist): Add *Python*.

502 503 504 505 506 507 508 509 510 511 512 513 514 515 516 517 518 519 520 521 522
2011-09-10  Chong Yidong  <cyd@stupidchicken.com>

	* window.el (display-buffer-alist): Add entry for buffers
	previously handled same-window-*.
	(display-buffer-alist, display-buffer-default-action)
	(display-buffer-overriding-action): Mark as risky.
	(display-buffer-alist): Document action function changes.
	(display-buffer--same-window-action)
	(display-buffer--other-frame-action): New variables.
	(switch-to-buffer, display-buffer-other-frame): Use them.
	(display-buffer): Rename reuse-frame entry to reusable-frames.
	(display-buffer-reuse-selected-window): Function deleted.
	(display-buffer-reuse-window): Handle reusable-frames alist entry.
	If it's omitted, check pop-up-frames/display-buffer-reuse-frames.
	(display-buffer-special): New function.
	(display-buffer--maybe-pop-up-frame-or-window): Rename from
	display-buffer-reuse-or-pop-window.  Split off special-display
	part into display-buffer-special.
	(display-buffer-use-some-window): Don't perform any special
	pop-up-frames handling.
	(pop-to-buffer): Use window-normalize-buffer-to-switch-to.
523
	(display-buffer--maybe-same-window): Rename from
524
	display-buffer-maybe-same-window.
525

526 527 528 529 530 531 532 533 534 535
	* info.el: Don't set same-window-regexps.
	(info-setup): New function.
	(info-other-window, info): Call it.

	* cus-edit.el: Don't set same-window-regexps.
	(customize-group): New argument.
	(customize-group-other-window): Use it.
	(customize-face, customize-face-other-window): Likewise.
	(custom-buffer-create-other-window): Use pop-to-buffer directly.

536 537 538 539 540 541 542 543 544 545
	* net/rlogin.el:
	* net/telnet.el:
	* progmodes/gud.el: Don't set same-window-regexps.

	* cmuscheme.el:
	* ielm.el:
	* shell.el:
	* mail/sendmail.el:
	* progmodes/inf-lisp.el: Don't set same-window-buffer-names.

546 547 548 549 550 551
2011-09-10  Juri Linkov  <juri@jurta.org>

	* isearch.el (isearch-edit-string): Remove obsolete mention of
	`C-w' (`isearch-yank-word-or-char') from docstring.
	(isearch-query-replace): Fix typo in docstring (bug#9466).

552 553 554 555 556
2011-09-10  Juri Linkov  <juri@jurta.org>

	* paren.el (show-paren-function): Don't show escaped parens.
	Let-bind `unescaped' to `t' when paren is not escaped.  (Bug#9461)

557 558 559 560 561 562 563 564 565 566 567
2011-09-10  Eli Zaretskii  <eliz@gnu.org>

	* mail/sendmail.el (mml-to-mime, mml-attach-file)
	(mm-default-file-encoding): Remove autoload forms, they are
	replaced with autoload cookies in mml.el and mm-encode.el.
	(mail-add-attachment): New command.
	(mail-mode-map): Add a menu-bar item for mail-add-attachment.
	(mail-mode): Mention mail-insert-file and mail-add-attachment in
	the doc string.
	(mml-to-mime, mml-attach-file, mm-default-file-encoding): Declare.

568 569
2011-09-10  Reuben Thomas  <rrt@sc3d.org>

570 571
	* simple.el (count-words-region): Use buffer if there's no region
	(bug#9429).
572

573 574 575 576 577 578
2011-09-09  Juri Linkov  <juri@jurta.org>

	* wdired.el (wdired-change-to-wdired-mode): Set buffer-local
	`isearch-filter-predicate' to `wdired-isearch-filter-read-only'.
	(wdired-isearch-filter-read-only): New function.  (Bug#6362)

579 580 581 582 583
2011-09-09  Alan Mackenzie  <acm@muc.de>

	* progmodes/cc-mode.el (awk-mode): Prevent `define-derived-mode'
	spuriously generating `awk-mode-syntax-table'.  (Bug #9448).

584 585 586 587 588 589 590 591 592 593 594 595 596 597 598 599 600 601
2011-09-09  Eli Zaretskii  <eliz@gnu.org>

	Fix for Savannah bug#9392.
	* simple.el (mail-encode-mml): New defvar.

	* mail/rmail.el (mail-encode-mml): Add a defvar.
	(rmail-enable-mime-composing): Default to t.
	(rmail-forward): Use MIME method of forwarding only if both
	rmail-enable-mime-composing and rmail-enable-mime are non-nil.
	Set mail-encode-mml non-nil if the MIME method was used.

	* mail/sendmail.el (mml-to-mime): Add autoload form.
	(mail-encode-mml): Add a defvar.
	(mail-mode): Make mail-encode-mml buffer-local and initialize it
	to nil.
	(mail-send): If mail-encode-mml is non-nil, run the outgoing
	message through mml-to-mime, and reset mail-encode-mml to nil.

Glenn Morris's avatar
Glenn Morris committed
602 603 604 605
2011-09-09  Glenn Morris  <rgm@gnu.org>

	* woman.el (woman-if-body): When processing an .el block,
	do not delete the next .el block as well.  (Bug#9447)
606
	(woman-special-characters): Add oq, cq, and hy characters.
Glenn Morris's avatar
Glenn Morris committed
607

608 609 610 611 612
2011-09-08  Martin Rudalics  <rudalics@gmx.at>

	* window.el (window-deletable-p): Make sure window is live before
	invoking window-prev-buffers.

Leo Liu's avatar
Leo Liu committed
613 614 615 616
2011-09-08  Leo Liu  <sdl.web@gmail.com>

	* net/rcirc.el (rcirc-cmd-invite): New rcirc command.  (Bug#9453)

617 618 619 620 621
2011-09-08  Juri Linkov  <juri@jurta.org>

	* progmodes/compile.el (compilation-environment): Make it
	a defcustom (bug#8340).

622 623 624 625 626
2011-09-08  Martin Rudalics  <rudalics@gmx.at>

	* window.el (frame-auto-delete): Rename to window-auto-delete.
	Make it control auto-deletion of windows and/or frames.
	(window-deletable-p): New argument FORCE.  Rewrite conditions
Juanma Barranquero's avatar
Juanma Barranquero committed
627
	for deleting window/frame.  (Bug#9419)
628 629 630
	(switch-to-prev-buffer, replace-buffer-in-windows, quit-window):
	Rewrite handling of case when window/frame can be deleted.
	(delete-windows-on): Call window-deletable-p with new FORCE
Juanma Barranquero's avatar
Juanma Barranquero committed
631
	argument t.  (Bug#9456)
632

633 634 635 636
2011-09-07  Chong Yidong  <cyd@stupidchicken.com>

	* help-mode.el (help-mode): Restore autoload.

637 638 639 640 641 642 643 644 645 646 647
2011-09-07  Juri Linkov  <juri@jurta.org>

	* progmodes/compile.el (compilation-start): Let-bind `thisenv' to
	`compilation-environment'.  Set buffer-local
	`compilation-environment' to `thisenv' later after (funcall mode).
	(Bug#8340)

	* vc/vc-git.el (vc-git-grep): Remove --no-color.  (Bug#9408)
	(vc-git-grep): Prepend "PAGER=" to `compilation-environment'
	instead of replacing its value.  (Bug#8340)

648 649 650 651 652 653 654 655
2011-09-07  Juri Linkov  <juri@jurta.org>

	* progmodes/grep.el (grep-regexp-alist): Calculate column positions
	based on text properties put by `grep-filter' instead of matching
	escape sequences.
	(grep-mode): Set buffer-local `compilation-error-screen-columns'
	to the value of `grep-error-screen-columns' (bug#9438).

656 657 658 659 660
2011-09-07  Juri Linkov  <juri@jurta.org>

	* simple.el (next-error-highlight, next-error-highlight-no-select):
	Doc fix (bug#9432).

661 662 663 664 665
2011-09-07  OKAZAKI Tetsurou  <okazaki.tetsurou@gmail.com>  (tiny change)

	* progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
	Check for null c-opt-block-decls-with-vars-key.  (Bug#9443)

666 667 668 669 670
2011-09-07  Leo Liu  <sdl.web@gmail.com>

	* net/rcirc.el (rcirc-mode): Conditionally initialize
	rcirc-input-ring.

671 672 673 674 675 676
2011-09-07  Stefan Monnier  <monnier@iro.umontreal.ca>

	* emacs-lisp/find-func.el (find-function-C-source): Only set
	find-function-C-source-directory after checking that we found a source
	file there (bug#9440).

677 678 679 680 681
2011-09-06  Alan Mackenzie  <acm@muc.de>

	* isearch.el (isearch-other-meta-char): Wherever a key list is
	unread, "unread" the prefix arg, too.  This fixes bug #8901.

682 683 684 685
2011-09-05  Oleksandr Gavenko  <gavenkoa@gmail.com>  (tiny change)

	* progmodes/grep.el (rgrep): Add "-type d" (bug#9414).

686 687 688 689
2011-09-05  Juri Linkov  <juri@jurta.org>

	* progmodes/grep.el (grep-process-setup): Fix comments (bug#8084).

Juri Linkov's avatar
Juri Linkov committed
690 691 692 693 694 695 696 697 698 699
2011-09-05  Juri Linkov  <juri@jurta.org>

	* progmodes/grep.el (grep-filter): Avoid incomplete processing by
	keeping point where processing of grep matches begins, and
	continue to delete remaining escape sequences from the same point.
	(grep-filter): Make leading zero optional in "0?1;31m" because
	git-grep emits "\033[1;31m" escape sequences unlike expected
	"\033[01;31m" as GNU Grep does (bug#9408).
	(grep-process-setup): Replace obsolete "ml=" with newer "sl=".

700 701 702 703
2011-09-05  Juri Linkov  <juri@jurta.org>

	* subr.el (y-or-n-p): Capitalize "yes".

704 705 706 707 708 709 710 711 712 713 714 715 716 717 718 719
2011-09-04  Michael Albinus  <michael.albinus@gmx.de>

	* net/tramp.el (top): Require 'shell.  Use `tramp-unload-hook' but
	`tramp-cache-unload-hook' where appropriate.
	(tramp-methods): Rename `tramp-remote-sh' to
	`tramp-remote-shell'.  Add `tramp-remote-shell-args'.
	(tramp-handle-shell-command): New defun, moved from tramp-sh.el.

	* net/tramp-sh.el (top): Don't require 'shell.
	(tramp-methods): Add `tramp-remote-shell' and
	`tramp-remote-shell-args' entries.
	(tramp-sh-file-name-handler-alist): Use `tramp-handle-shell-command'.
	(tramp-sh-handle-shell-command): Remove.
	(tramp-find-shell, tramp-open-connection-setup-interactive-shell):
	Use `tramp-remote-shell'.

720 721
2011-09-03  Chong Yidong  <cyd@stupidchicken.com>

722
	* mail/sendmail.el (sendmail-query-once-function): Delete.
723 724 725 726 727
	(sendmail-query-once): Save directly to send-mail-function.
	Update message-send-mail-function too.

	* mail/smtpmail.el (smtpmail-try-auth-methods): Clarify prompt.

728 729 730 731 732 733
2011-09-03  Christoph Scholtes  <cschol2112@googlemail.com>

	* progmodes/python.el (python-mode-map): Use correct function to
	start python interpreter from menu-bar (as reported by Geert
	Kloosterman).
	(inferior-python-mode-map): Fix typo.
734
	(python-shell-map): Remove.
735

736 737 738 739 740 741
2011-09-03  Deniz Dogan  <deniz@dogan.se>

	* net/rcirc.el (rcirc-print): Simplify code for
	rcirc-scroll-show-maximum-output.  There is no need to walk
	through all windows to find the right one.

742 743 744 745
2011-09-03  Christoph Scholtes  <cschol2112@googlemail.com>

	* help.el (help-return-method): Doc fix.

746 747 748 749 750
2011-09-03  Martin Rudalics  <rudalics@gmx.at>

	* window.el (window-deletable-p): Don't return a non-nil value
	when there's a buffer that was shown in the window before.
	(Bug#9419)
751 752
	(display-buffer-pop-up-frame, display-buffer-pop-up-window):
	Set window's previous buffers to nil.
753

754 755 756 757 758 759
2011-09-03  Eli Zaretskii  <eliz@gnu.org>

	* mail/rmailmm.el (rmail-mime-insert-tagline): Insert an extra
	newline before and after the tag line, so it doesn't interfere
	with determining the paragraph direction of bidirectional text.

760 761 762 763
2011-09-03  Leo Liu  <sdl.web@gmail.com>

	* files.el (find-file-not-true-dirname-list): Remove.  (Bug#9422)

764 765
2011-09-02  Chong Yidong  <cyd@stupidchicken.com>

766
	* window.el (pop-to-buffer-1, pop-to-buffer-same-window): Delete.
767 768 769 770 771 772 773 774 775 776 777 778 779 780
	(pop-to-buffer): Change interactive spec.  Pass second argument
	directly to display-buffer.
	(display-buffer): Fix interactive spec.  Use functionp to
	distinguish between a function and a list of functions.

	* abbrev.el (edit-abbrevs):
	* arc-mode.el (archive-extract):
	* autoinsert.el (auto-insert):
	* bookmark.el (bookmark-bmenu-list):
	* files.el (find-file):
	* view.el (view-buffer):
	* progmodes/compile.el (compilation-goto-locus):
	* textmodes/bibtex.el (bibtex-initialize): Use switch-to-buffer.

781 782 783 784 785 786 787 788 789 790 791 792
2011-09-02  Chong Yidong  <cyd@stupidchicken.com>

	* window.el (display-buffer-alist): Doc fix.
	(display-buffer): Add docstring.  Don't treat
	display-buffer-default specially.
	(display-buffer-reuse-selected-window)
	(display-buffer-same-window, display-buffer-maybe-same-window)
	(display-buffer-reuse-window, display-buffer-pop-up-frame)
	(display-buffer-pop-up-window)
	(display-buffer-reuse-or-pop-window)
	(display-buffer-use-some-window): New functions.
	(display-buffer-default-action): Use them.
793
	(display-buffer-default): Delete.
794 795
	(pop-to-buffer-1): Fix choice of actions.

796 797 798 799 800
2011-09-02  Stefan Monnier  <monnier@iro.umontreal.ca>

	* minibuffer.el (completion--insert-strings): Don't get confused by
	completion entries that end with an LF char.

801 802 803 804
2011-09-01  Eli Zaretskii  <eliz@gnu.org>

	* window.el (frame-auto-delete, window-deletable-p): Doc fix.

805 806 807
2011-09-01  Chong Yidong  <cyd@stupidchicken.com>

	* window.el (display-buffer): Restore interactive spec.
808 809
	(display-buffer-same-window, display-buffer-other-window):
	New functions.
810 811
	(pop-to-buffer-1): New function.  Use the above.
	(pop-to-buffer, pop-to-buffer-same-window): Use it.
812
	(pop-to-buffer-other-window, pop-to-buffer-other-frame): Delete.
813 814 815 816

	* view.el (view-buffer-other-window, view-buffer-other-frame):
	Just use pop-to-buffer.

817 818 819 820
2011-09-01  Thierry Volpiatto  <thierry.volpiatto@gmail.com>

	* vc/vc-rcs.el (vc-rcs-responsible-p): Handle directories.  (Bug#9391)

821 822 823 824
2011-09-01  Wilfred Hughes  <wilfred@potatolondon.com>  (tiny change)

	* vc/vc-git.el (vc-git-grep): Use --no-color.  (Bug#9408)

825 826 827 828 829 830 831 832
2011-08-31  Richard Stallman  <rms@gnu.org>

	* mail/rmail.el (rmail-epa-decrypt): Rewrite to take account
	of the separation of rmail-view-buffer from rmail-buffer.
	If you say no to "replace original", the decrypt is in the
	view buffer.  If you say yes, the decrypt goes into the
	rmail buffer also.

833 834 835 836 837 838 839 840 841 842 843 844 845 846 847 848 849 850 851 852 853 854 855 856 857 858 859 860 861 862
2011-08-31  Martin Rudalics  <rudalics@gmx.at>

	* window.el (display-buffer-window): Rewrite doc-string.
	(display-buffer-record-window): New function.
	(display-buffer-macro-specifiers)
	(display-buffer-even-window-sizes, display-buffer-set-height)
	(display-buffer-set-width, display-buffer-in-window)
	(display-buffer-reuse-window, display-buffer-split-specifiers)
	(display-buffer-side-specifiers, display-buffer-split-window-1)
	(display-buffer-split-window, display-buffer-split-atom-window)
	(display-buffer-pop-up-window, display-buffer-pop-up-frame)
	(display-buffer-pop-up-side-window, display-buffer-in-side-window)
	(display-buffer-other-window-means-other-frame)
	(display-buffer-normalize-special)
	(display-buffer-normalize-default)
	(display-buffer-normalize-argument)
	(display-buffer-normalize-alist-1, display-buffer-normalize-alist)
	(display-buffer-normalize-specifiers, display-buffer-frame)
	(display-buffer-same-window, display-buffer-same-frame)
	(display-buffer-other-window)
	(display-buffer-same-frame-other-window)
	(display-buffer-other-frame, pop-to-buffer-same-window)
	(pop-to-buffer-same-frame, pop-to-buffer-other-window)
	(pop-to-buffer-same-frame-other-window, pop-to-buffer-other-frame)
	(switch-to-buffer-same-frame)
	(switch-to-buffer-other-window-same-frame)
	(display-buffer-alist-of-strings-p, display-buffer-alist-add)
	(display-buffer-alist-set-1, display-buffer-alist-set-2)
	(display-buffer-alist-set): Remove.
	(display-buffer-function, special-display-buffer-names)
863 864
	(special-display-regexps, special-display-function):
	In doc-string refer to display-buffer-window and quit-restore
865 866 867 868 869 870 871 872 873 874
	parameter.
	(pop-up-frame-alist, pop-up-frame-function, special-display-p)
	(special-display-frame-alist, special-display-popup-frame)
	(same-window-buffer-names, same-window-regexps, same-window-p)
	(pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
	(split-window-preferred-function, split-height-threshold)
	(split-width-threshold, window-splittable-p)
	(split-window-sensibly, window--try-to-split-window)
	(window--frame-usable-p, even-window-heights)
	(window--even-window-heights, window--display-buffer-1)
875 876
	(window--display-buffer-2, display-buffer-other-frame):
	Restore old Emacs 23 code, order and doc-strings where applicable.
877 878 879 880 881 882 883 884 885 886 887
	(display-buffer-default, display-buffer-assq-regexp): New functions.
	(display-buffer-alist): Rewrite doc-string.
	(display-buffer-default-action)
	(display-buffer-overriding-action): New variables.
	(display-buffer, switch-to-buffer): Rewrite.
	(pop-to-buffer): Restore Emacs 23 behavior but use
	window-normalize-buffer-to-display.
	(switch-to-buffer-other-window, switch-to-buffer-other-frame):
	Restore Emacs 23 behavior but use
	window-normalize-buffer-to-switch-to.
	(pop-to-buffer-same-window): Rewrite.
888 889
	(pop-to-buffer-other-window, pop-to-buffer-other-frame):
	Rewrite using Emacs 23 options.
890

891 892 893 894 895 896 897
2011-08-31  Michael Albinus  <michael.albinus@gmx.de>

	* net/tramp.el (tramp-root-regexp): Remove.
	(tramp-completion-file-name-regexp-unified)
	(tramp-completion-file-name-regexp-separate)
	(tramp-completion-file-name-regexp-url): Don't use leading volume
	letter on win32 systems.  (Bug#5303, Bug#9311)
898 899
	(tramp-drop-volume-letter): Simplify definition.
	Suggested by Stefan Monnier <monnier@iro.umontreal.ca>.
900

901 902 903 904 905
2011-08-30  Stefan Monnier  <monnier@iro.umontreal.ca>

	* subr.el (event-modifiers): Fix "missing modifier" part of docstring
	(bug#9356).

906 907
2011-08-30  Reuben Thomas  <rrt@sc3d.org>  (tiny change)

908
	* vc/pcvs-defs.el (cvs-find-file-and-jump): Docstring typo (bug#9369).
909

910 911 912 913 914
2011-08-29  Juri Linkov  <juri@jurta.org>

	* isearch.el (isearch-done): Don't display message "Mark saved"
	when arg `edit' is non-nil to prevent its flicker in the echo area.

915 916 917 918 919
2011-08-28  Chong Yidong  <cyd@stupidchicken.com>

	* emacs-lisp/package.el (package-menu-mark-delete): Allow marking
	obsolete packages for deletion.

920 921 922
2011-08-28  Christoph Scholtes  <cschol2112@googlemail.com>

	* help-mode.el (help-mode-map): Add special-mode-map to parent.
Juanma Barranquero's avatar
Juanma Barranquero committed
923
	(help-mode): Derive help-mode from special-mode.  Don't invoke
924 925 926 927 928
	view-mode from help-mode.
	(help-xref-override-view-map): Remove.
	(help-make-xrefs): Remove minor-mode-overriding-map-alist since
	view-mode is not used anymore.

929 930 931 932
2011-08-28  Chong Yidong  <cyd@stupidchicken.com>

	* server.el (server-port): Doc fix.

933 934 935 936
	* cus-theme.el (custom-theme-choose-mode): Inherit from
	special-mode (Bug#9124).
	(custom-theme-choose-mode-map): Add special-mode to parent.

937 938 939 940 941 942 943 944 945
2011-08-28  Alan Mackenzie  <acm@muc.de>

	* progmodes/cc-fonts.el
	(c-make-font-lock-BO-decl-search-function): New function.
	(c-basic-matchers-after - "Fontify the clauses after various
	keywords"): Extract the three keyword lists for the 3 erroneous
	constructs from the list of four, and use the new function above
	in place of an old one.

946 947 948 949 950
2011-08-28  Deniz Dogan  <deniz@dogan.se>

	* net/rcirc.el (rcirc-insert-prev-input)
	(rcirc-insert-next-input): Remove unused argument.

951 952 953 954
2011-08-28  Stefan Monnier  <monnier@iro.umontreal.ca>

	* shell.el (shell-parse-pcomplete-arguments): Unquote args (bug#9160).

955 956 957 958 959
2011-08-27  Alan Mackenzie  <acm@muc.de>

	* progmodes/cc-menus.el (cc-imenu-c++-generic-expression): Make it
	handle function pointer parameters properly.

960 961 962 963 964 965
2011-08-27  Martin Rudalics  <rudalics@gmx.at>

	* window.el (display-buffer-reuse-window): Fix case where
	selected window was reused with non-nil OTHER-WINDOW argument.
	(Bug#9381)

966 967 968 969 970
2011-08-27  Deniz Dogan  <deniz@dogan.se>

	* net/rcirc.el (rcirc-check-auth-status): Adding support for
	oftc's NickServ messages.

971 972 973 974
2011-08-27  Glenn Morris  <rgm@gnu.org>

	* saveplace.el (save-place-limit): Make it finite.  (Bug#9352)

975 976 977 978 979
2011-08-26  Chong Yidong  <cyd@stupidchicken.com>

	* emacs-lisp/package.el (package-install): Call package-initialize
	if called interactively.

Leo Liu's avatar
Leo Liu committed
980 981 982 983
2011-08-26  Leo Liu  <sdl.web@gmail.com>

	* emacs-lisp/cl-macs.el (defstruct): Fix format.  (Bug#9357)

984 985 986 987 988
2011-08-25  Juri Linkov  <juri@jurta.org>

	* isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
	`search-whitespace-regexp' (bug#9364).

989 990 991 992 993 994
2011-08-25  Juri Linkov  <juri@jurta.org>

	* isearch.el (isearch-edit-string): Let-bind `search-ring' and
	`regexp-search-ring' to their global values to protect from
	updating by `read-from-minibuffer' (bug#9185).

995 996 997 998 999
2011-08-25  Juri Linkov  <juri@jurta.org>

	* textmodes/ispell.el (ispell-command-loop): Add newline
	at the end of the "Use option `i'..." line.

1000 1001 1002 1003 1004 1005
2011-08-25  Juri Linkov  <juri@jurta.org>

	* battery.el (display-battery-mode): If `battery-status-function'
	or `battery-mode-line-format' is nil, display the message and set
	`display-battery-mode' to nil (bug#9363).

1006 1007 1008 1009 1010
2011-08-25  Eli Zaretskii  <eliz@gnu.org>

	* buff-menu.el (Buffer-menu-buffer+size): Remove calls to
	bidi-string-mark-left-to-right; they are unnecessary now.

1011 1012 1013 1014
2011-08-25  Deniz Dogan  <deniz@dogan.se>

	* net/quickurl.el: Documentation typo fixes.

1015 1016 1017 1018
2011-08-25  Chong Yidong  <cyd@stupidchicken.com>

	* window.el (bury-buffer, quit-window): Use bury-buffer-internal.

Glenn Morris's avatar
Glenn Morris committed
1019 1020
2011-08-25  Glenn Morris  <rgm@gnu.org>

1021 1022
	* emacs-lisp/derived.el (define-derived-mode): Doc fix.

Glenn Morris's avatar
Glenn Morris committed
1023 1024 1025
	* mail/smtpmail.el (smtpmail-smtp-user): Add version: tag.
	(smtpmail-via-smtp): Handle nil response from smtp.

1026 1027 1028 1029 1030 1031 1032 1033 1034 1035 1036 1037 1038
2011-08-24  Juri Linkov  <juri@jurta.org>

	* proced.el (proced-marked): Inherit from `error' instead of
	`font-lock-warning-face'.

	* ibuffer.el (ibuffer-marked-face): Change default face from
	`font-lock-warning-face' to `warning'.
	(ibuffer-deletion-face): Change default face from
	`font-lock-type-face' to `error'.

	* battery.el (battery-update): Use the face `error' instead of
	`font-lock-warning-face' (bug#6117).

1039 1040 1041 1042 1043
2011-08-24  Juri Linkov  <juri@jurta.org>

	* faces.el (success): Change face color from "Green3" to
	"ForestGreen" on light background (bug#9353).

1044 1045
2011-08-24  Chong Yidong  <cyd@stupidchicken.com>

1046 1047
	* window.el (quit-window): Rename from quit-restore-window.
	Use same arglist as old quit-window.
1048 1049 1050 1051
	(frame-auto-delete): Doc fix.

	* view.el (view-mode-exit): Use quit-window.

1052 1053 1054 1055 1056 1057 1058 1059 1060
2011-08-24  Juri Linkov  <juri@jurta.org>

	* isearch.el (isearch-ring-adjust1): Start visiting previous
	search strings from the index 0 (-1 + 1) instead of 1 (0 + 1).
	(isearch-repeat, isearch-edit-string): Call `isearch-ring-adjust1'
	for empty search string (when the last search string is reused
	automatically) to adjust the isearch ring to the last element and
	prepare the correct index for further M-p commands (bug#9185).

1061 1062 1063 1064 1065 1066 1067
2011-08-24  Kenichi Handa  <handa@m17n.org>

	* international/ucs-normalize.el: If decomposition property of
	CHAR is the default one (i.e. a list of CHAR itself), treat it as
	nil.
	(nfd, nfkd): Likewise.

1068 1069 1070 1071 1072 1073 1074 1075
2011-08-24  Stefan Monnier  <monnier@iro.umontreal.ca>

	* mpc.el (mpc--proc-filter): Don't signal mpc-proc-error since signals
	from process filters aren't reliably transmitted to the surrounding
	accept-process-output.
	(mpc-proc-check): New function.
	(mpc-proc-sync): Use it (bug#8293)

1076 1077 1078 1079 1080
2011-08-23  Stefan Monnier  <monnier@iro.umontreal.ca>

	* emacs-lisp/eieio.el (eieio-defmethod, eieio-defgeneric):
	Add compatibility functions (bug#9313).

1081 1082
2011-08-23  Eli Zaretskii  <eliz@gnu.org>

1083 1084
	* cus-start.el (all): Add entry for bidi-paragraph-direction.

1085 1086
	* international/uni-bidi.el: Regenerated.

1087 1088 1089 1090 1091 1092 1093 1094 1095 1096 1097 1098 1099 1100 1101 1102 1103 1104
2011-08-23  Kenichi Handa  <handa@m17n.org>

	* international/charprop.el:
	* international/uni-bidi.el:
	* international/uni-category.el:
	* international/uni-combining.el:
	* international/uni-comment.el:
	* international/uni-decimal.el:
	* international/uni-decomposition.el:
	* international/uni-digit.el:
	* international/uni-lowercase.el:
	* international/uni-mirrored.el:
	* international/uni-name.el:
	* international/uni-numeric.el:
	* international/uni-old-name.el:
	* international/uni-titlecase.el:
	* international/uni-uppercase.el: Regenerate.

1105 1106 1107 1108 1109
2011-08-23  Martin Rudalics  <rudalics@gmx.at>

	* help.el (help-window-setup): Fix message displayed when other
	window is reused.  (Bug#9341)

1110 1111
2011-08-23  Stefan Monnier  <monnier@iro.umontreal.ca>

1112 1113 1114
	* shell.el (shell-completion-vars): Set pcomplete-arg-quote-list.
	* pcomplete.el (pcomplete-quote-argument): Fix thinko (bug#9161).

1115 1116 1117 1118 1119
	* pcomplete.el (pcomplete-parse-comint-arguments): Fix inf-loop.
	Mark obsolete.
	* shell.el (shell-parse-pcomplete-arguments): New function.
	(shell-completion-vars): Use it instead (bug#9160).

1120 1121
2011-08-22  Stefan Monnier  <monnier@iro.umontreal.ca>

1122 1123 1124
	* progmodes/sh-script.el (sh-maybe-here-document): Disable magic in
	strings and comments (bug#9333).

1125 1126 1127 1128
	* emacs-lisp/debug.el (debug-arglist): New function.
	(debug-convert-byte-code): Use it.  Handle lexical byte-codes.
	(debug-on-entry-1): Handle interpreted closures (bug#9120).

1129 1130
2011-08-22  Juri Linkov  <juri@jurta.org>

1131 1132 1133 1134
	* progmodes/compile.el (compilation-mode-font-lock-keywords):
	Revert regexp that highlights output switches to its old
	pre-2010-10-28 value and remove one `?' from it (bug#9319).

1135 1136 1137
	* progmodes/grep.el (grep-process-setup): Use `buffer-modified-p'
	to check for empty output (bug#9226).

1138 1139 1140 1141 1142 1143
2011-08-22  Chong Yidong  <cyd@stupidchicken.com>

	* progmodes/scheme.el (scheme-mode-syntax-table): Don't use
	symbol-constituent as the default, as that stops font-lock from
	working properly (Bug#8843).

1144 1145 1146 1147 1148
2011-08-21  Lars Magne Ingebrigtsen  <larsi@gnus.org>

	* mail/smtpmail.el (smtpmail-via-smtp): Only bind
	`coding-system-for-*' around the process open call to avoid
	auth-source side effects.
1149
	(smtpmail-try-auth-methods): Expand the secret password.
1150 1151
	(smtpmail-query-smtp-server): Allow `quit'-ing out in case the
	probe hangs.
1152

1153 1154
2011-08-21  Chong Yidong  <cyd@stupidchicken.com>

1155 1156
	* term.el (term-mouse-paste): Yank primary selection (Bug#6845).

1157 1158 1159 1160 1161 1162
	* emacs-lisp/find-func.el (find-function-noselect): New arg
	lisp-only.

	* emacs-lisp/edebug.el (edebug-instrument-function): Use it to
	signal an error for built-in functions (Bug#6664).

1163 1164 1165 1166 1167
2011-08-21  Lars Magne Ingebrigtsen  <larsi@gnus.org>

	* mail/smtpmail.el (smtpmail-smtp-user): New variable.
	(smtpmail-try-auth-methods): Use it.

1168 1169
2011-08-21  Chong Yidong  <cyd@stupidchicken.com>

1170 1171 1172 1173 1174 1175
	* font-lock.el (font-lock-fontify-region)
	(font-lock-unfontify-region, font-lock-default-fontify-buffer)
	(font-lock-default-unfontify-buffer)
	(font-lock-default-fontify-region)
	(font-lock-default-unfontify-region): Add docstrings (Bug#8624).

1176 1177
	* progmodes/compile.el (compilation-error-properties):
	Fix confusion between file struct and message struct (Bug#9319).
Chong Yidong's avatar
Chong Yidong committed
1178 1179
	(compilation-error-regexp-alist-alist): Fix 2011-05-09 change to
	`ant' regexp.
1180

1181 1182 1183
	* net/browse-url.el (browse-url-firefox): Don't call
	browse-url-firefox-sentinel unless using -remote (Bug#9328).

1184 1185
2011-08-20  Glenn Morris  <rgm@gnu.org>

1186 1187
	* tutorial.el (help-with-tutorial): Avoid an error on short screens.

1188 1189
	* tutorial.el (tutorial--default-keys): Update some default bindings.

1190 1191
	* files.el (hack-local-variables): Fully ignore case for "mode:".

1192 1193 1194 1195
2011-08-20  Alan Mackenzie  <acm@muc.de>

	Resolve invalid use of a regexp in regexp-opt.

Juanma Barranquero's avatar
Juanma Barranquero committed
1196 1197
	* progmodes/cc-fonts.el (c-complex-decl-matchers): Add in special
	detection for a java annotation.
1198

Juanma Barranquero's avatar
Juanma Barranquero committed
1199
	* progmodes/cc-engine.el (c-forward-decl-or-cast-1): Add in special
1200 1201
	detection for a java annotation.

Juanma Barranquero's avatar
Juanma Barranquero committed
1202 1203
	* progmodes/cc-langs.el (c-prefix-spec-kwds-re): Remove the special
	handling for java.
1204 1205
	(c-modifier-kwds): Remove the regexp "@[A-za-z0-9]+".

1206 1207 1208 1209 1210
2011-08-20  Chong Yidong  <cyd@stupidchicken.com>

	* startup.el (normal-top-level-add-subdirs-to-load-path): Doc fix
	(Bug#9274).

1211 1212 1213 1214 1215 1216 1217 1218 1219 1220 1221 1222 1223 1224 1225 1226 1227 1228 1229
2011-08-20  Alan Mackenzie  <acm@muc.de>

	* Fontify CPP expressions correctly when starting in the middle of
	such a construct.  Mainly for when jit-lock etc. starts a chunk
	here.

	* progmodes/cc-fonts.el (c-font-lock-context): new buffer local
	variable.
	(c-make-font-lock-search-form): new function, extracted from
	c-make-font-lock-search-function.
	(c-make-font-lock-search-function): Use the above function.
	(c-make-font-lock-context-search-function): New function.
	(c-cpp-matchers): Enhance the preprocessor expression case with
	the above function
	(c-font-lock-complex-decl-prepare): Test for being in a CPP form
	which takes an expression.

	* progmodes/cc-langs.el (c-cpp-expr-intro-re): New lang-variable.

1230 1231 1232 1233 1234 1235
2011-08-20  Martin Rudalics  <rudalics@gmx.at>

	* window.el (display-buffer-reuse-window)
	(display-buffer-pop-up-window): Don't reuse or split a side
	window.

Glenn Morris's avatar
Glenn Morris committed
1236 1237 1238
2011-08-19  Glenn Morris  <rgm@gnu.org>

	* files.el (hack-local-variables-prop-line, hack-local-variables):
Juanma Barranquero's avatar
Juanma Barranquero committed
1239
	Downcase "Mode:".  (Bug#9331)
Glenn Morris's avatar
Glenn Morris committed
1240

1241 1242 1243 1244 1245 1246 1247 1248 1249
2011-08-18  Chong Yidong  <cyd@stupidchicken.com>

	* international/characters.el: Add L and R categories.

	* subr.el (bidi-string-mark-left-to-right): Rename from
	string-mark-left-to-right.  Use category search.

	* buff-menu.el (Buffer-menu-buffer+size): Callers changed.

1250 1251 1252 1253 1254 1255 1256 1257 1258 1259 1260 1261 1262 1263 1264
2011-08-18  Juri Linkov  <juri@jurta.org>

	* faces.el (error, warning, success): New faces with definitions
	copied from old default values of `font-lock-warning-face',
	`compilation-warning', `compilation-info' (bug#6117).

	* font-lock.el (font-lock-warning-face): Inherit from `error'.

	* progmodes/compile.el (compilation-error): Inherit from `error'.
	(compilation-warning): Inherit from `warning'.
	(compilation-info): Inherit from `success'.

	* dired.el (dired-marked): Inherit from `warning'.
	(dired-flagged): Inherit from `error'.

1265 1266
2011-08-17  Lars Magne Ingebrigtsen  <larsi@gnus.org>

1267 1268 1269 1270
	* mail/smtpmail.el (auth-source): Require to avoid problems with
	binding variables (bug#9298).  Also clean up some unused
	autoloads.

1271 1272
	* net/network-stream.el (network-stream-open-starttls):
	Support using starttls.el without using gnutls-cli.
1273

1274 1275 1276 1277 1278
2011-08-17  Juri Linkov  <juri@jurta.org>

	* progmodes/grep.el (rgrep): Handle the case when
	`grep-find-command' is a cons cell (bug#9278).

1279 1280 1281 1282 1283 1284
2011-08-17  Martin Rudalics  <rudalics@gmx.at>

	* window.el (display-buffer-pop-up-frame): Run frame creation
	function with BUFFER current (as special-display-popup-frame
	does).  Reported by Drew Adams.

1285 1286 1287 1288 1289 1290 1291 1292 1293 1294
2011-08-17  Daiki Ueno  <ueno@unixuser.org>

	* epa-mail.el: Simplify GnuPG group expansion using
	epg-expand-group.
	(epa-mail-group-alist, epa-mail-group-modtime)
	(epa-mail-gnupg-conf-file, epa-mail-parse-groups)
	(epa-mail-sync-groups, epa-mail-expand-recipient-1)
	(epa-mail-expand-recipients-2, epa-mail-expand-recipients):
	Remove.

Juanma Barranquero's avatar
Juanma Barranquero committed
1295
2011-08-16  Feng Li  <fengli@gmail.com>  (tiny change)
1296 1297 1298

	* calc/calc-ext.el (math-defintegral-2): Remove nested backquote.

1299 1300 1301 1302 1303
2011-08-16  Alan Mackenzie  <acm@muc.de>

	* progmodes/cc-engine.el (c-state-cache-non-literal-place):
	Correct, to avoid the inside of macros.

1304 1305
2011-08-16  Richard Stallman  <rms@gnu.org>

1306 1307 1308 1309 1310 1311 1312 1313
	* epa-mail.el: Handle GnuPG group definitions.
	(epa-mail-group-alist, epa-mail-group-modtime)
	(epa-mail-gnupg-conf-file): New variables.
	(epa-mail-parse-groups, epa-mail-sync-groups)
	(epa-mail-expand-recipient-1, epa-mail-expand-recipients-2)
	(epa-mail-expand-recipients): New functions.
	(epa-mail-encrypt): Call epa-mail-expand-recipients.

1314 1315
	* mail/rmail.el (rmail-epa-decrypt): New command.

Richard M. Stallman's avatar
Richard M. Stallman committed
1316 1317
	* epa.el (epa-decrypt-region): New arg MAKE-BUFFER-FUNCTION.
	Don't bind buffer-read-only, just inhibit-read-only.
1318 1319 1320
	(epa--find-coding-system-for-mime-charset): Fix the non-xemacs case.
	(epa-decrypt-armor-in-region): Make error message clearer.

1321 1322 1323 1324 1325
2011-08-15  Stefan Monnier  <monnier@iro.umontreal.ca>

	* minibuffer.el (completion-pcm--merge-completions): Don't merge "a1b"
	and "a2b" to "ab" for `prefix'.

1326 1327 1328 1329
2011-08-14  Chong Yidong  <cyd@stupidchicken.com>

	* ibuf-ext.el (ibuffer-filter-disable): New arg for deleting
	filter groups.
Chong Yidong's avatar
Chong Yidong committed
1330 1331
	(ibuffer-included-in-filter-p-1): Use it.  Suggested by Rafaël
	Fourquet (Bug#8804).
1332

1333 1334 1335 1336
2011-08-12  Juanma Barranquero  <lekktu@gmail.com>

	* startup.el (argi): Declare as global variable (bug#9275).

1337 1338 1339 1340 1341
2011-08-12  Chong Yidong  <cyd@stupidchicken.com>

	* subr.el (string-mark-left-to-right): Search the entire string
	for RTL script, not just the terminating character.  Doc fix.

1342 1343
2011-08-12  Stefan Monnier  <monnier@iro.umontreal.ca>

1344 1345 1346 1347 1348 1349 1350 1351
	* progmodes/js.el (js-syntax-propertize, js-syntax-propertize-regexp):
	New function.
	(js--regexp-literal, js-syntax-propertize-function): Remove.
	(js-mode): Use js-syntax-propertize to handle multilines (bug#9183).
	(js-mode-map): Don't rebind electric keys.
	(js-insert-and-indent): Remove.
	(js-mode): Setup electric-layout and electric-indent instead.

1352 1353
	* epa-file.el (epa-file-select-keys): Revert to nil default (bug#9280).

1354 1355 1356 1357 1358 1359 1360 1361
2011-08-12  Daiki Ueno  <ueno@unixuser.org>

	* epa.el (epa-progress-callback-function): Fix the logic of
	displaying progress.
	* epa-file.el (epa-file-insert-file-contents): Make progress
	display more user-friendly.
	(epa-file-write-region): Ditto.

1362 1363 1364 1365 1366 1367 1368 1369
2011-08-10  Chong Yidong  <cyd@stupidchicken.com>

	* subr.el (string-mark-left-to-right): New function.

	* buff-menu.el (Buffer-menu-buffer+size): Remove LRM argument.
	Use string-mark-left-to-right.
	(list-buffers-noselect): Caller changed.

1370 1371
	* emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
	Use string-mark-left-to-right.
1372 1373
	(tabulated-list-print): Recenter after moving point.

1374 1375 1376 1377 1378 1379
2011-08-10  Juri Linkov  <juri@jurta.org>

	* progmodes/grep.el (rgrep): Don't bind `process-connection-type'.
	This finishes incomplete reversion of 2011-06-30T01:09:13Z!larsi@gnus.org
	intended by 2011-07-06T15:49:19Z!larsi@gnus.org.

1380 1381 1382 1383 1384
2011-08-09  Chong Yidong  <cyd@stupidchicken.com>

	* hi-lock.el (hi-lock-unface-buffer): Fix interactive spec
	(Bug#7554).

Chong Yidong's avatar
Chong Yidong committed
1385
2011-08-09  Andreas Schwab  <schwab@linux-m68k.org>
Andreas Schwab's avatar
Andreas Schwab committed
1386 1387 1388 1389

	* xt-mouse.el (xterm-mouse-event-read): Try to recover the raw
	character.  (Bug#6594)

1390 1391
2011-08-08  Chong Yidong  <cyd@stupidchicken.com>

1392 1393 1394 1395 1396 1397 1398 1399
	* image-dired.el: Don't use find-file for temporary work (Bug#7895).
	(image-dired--with-db-file): New macro.
	(image-dired-write-tags, image-dired-remove-tag)
	(image-dired-create-gallery-lists, image-dired-write-comments)
	(image-dired-get-comment, image-dired-mark-tagged-files)
	(image-dired-list-tags, image-dired-gallery-generate): Use it.
	(image-dired-gallery-generate): Use insert-file-contents.

1400 1401