ChangeLog 299 KB
Newer Older
1 2 3 4 5
2011-10-27  Glenn Morris  <rgm@gnu.org>

	* files.el (set-visited-file-name): If the major-mode changed,
	reload the local variables.  (Bug#9796)

6 7 8 9 10 11 12 13 14 15 16 17
2011-10-27  Chong Yidong  <cyd@gnu.org>

	* subr.el (change-major-mode-after-body-hook): New hook.
	(run-mode-hooks): Run it.

	* emacs-lisp/easy-mmode.el (define-globalized-minor-mode): Use
	change-major-mode-before-body-hook.

	* simple.el (fundamental-mode):
	* emacs-lisp/derived.el (define-derived-mode): Revert 2010-04-28
	change introducing fundamental-mode-hook.

18 19
2011-10-26  Juanma Barranquero  <lekktu@gmail.com>

Juanma Barranquero's avatar
Juanma Barranquero committed
20
	* term/w32-win.el (w32-default-color-map): Declare obsolete.  (Bug#9785)
21

22 23 24 25 26
2011-10-26  Michael Albinus  <michael.albinus@gmx.de>

	* ido.el (ido-file-name-all-completions-1): Do not require
	tramp.el explicitely.  (Bug#7583)

27 28 29 30 31
2011-10-26  Stefan Monnier  <monnier@iro.umontreal.ca>

	* progmodes/octave-mod.el:
	* progmodes/octave-inf.el: Update maintainer.

Chong Yidong's avatar
Chong Yidong committed
32 33 34 35
2011-10-26  Chong Yidong  <cyd@gnu.org>

	* subr.el (with-wrapper-hook): Rewrite doc.

36 37 38
2011-10-25  Michael Albinus  <michael.albinus@gmx.de>

	* net/tramp-sh.el (tramp-sh-handle-file-directory-p): Return t for
39
	filenames "/method:foo:".  (Bug#9793)
40

41 42 43 44 45
2011-10-25  Stefan Monnier  <monnier@iro.umontreal.ca>

	* comint.el (comint-get-old-input-default): Fix use-prompt-regexp case
	(bug#9865).

46 47 48 49
2011-10-24  Glenn Morris  <rgm@gnu.org>

	* emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix.  (Bug#9819)

50 51 52 53 54
2011-10-24  Michael Albinus  <michael.albinus@gmx.de>

	* notifications.el: Add the requirement of a running D-Bus session
	bus to the Commentary.

55 56 57 58 59 60
2011-10-24  Juri Linkov  <juri@jurta.org>

	* isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
	`search-whitespace-regexp' only when `isearch-regexp' is non-nil.
	(Bug#9364)

61 62 63 64 65
2011-10-24  Juri Linkov  <juri@jurta.org>

	* info.el (Info-following-node-name-re): Add newline to the list
	of allowed characters for leading space.  (Bug#9824)

66 67 68 69 70
2011-10-24  Stefan Monnier  <monnier@iro.umontreal.ca>

	* progmodes/octave-inf.el (inferior-octave-mode-map): Fix C-c C-h binding.
	* progmodes/octave-mod.el (octave-help): Remove.

Michael Albinus's avatar
Michael Albinus committed
71 72 73 74 75 76 77 78 79
2011-10-23  Michael Albinus  <michael.albinus@gmx.de>

	Sync with Tramp 2.2.3.

	* net/tramp-cache.el (top): Pacify byte-compiler using
	`init-file-user' and `site-run-file'.

	* net/trampver.el: Update release number.

80 81 82 83 84 85 86 87 88
2011-10-23  Chong Yidong  <cyd@gnu.org>

	* files.el (toggle-read-only): Remove obsolete comment about
	version control.

	* vc/vc-hooks.el (vc-toggle-read-only): Make it an obsolete alias
	for toggle-read-only.  Note that this hasn't called vc-next-action
	since 2008-05-02, though it wasn't documented at the time.

89 90
	* vc/ediff-init.el (ediff-toggle-read-only-function):
	Use toggle-read-only.
91

92 93 94 95 96
2011-10-22  Alan Mackenzie  <bug-cc-mode@gnu.org>

	Fix bug #9560, sporadic wrong indentation; improve instrumentation
	of c-parse-state.

97 98
	* cc-engine.el (c-append-lower-brace-pair-to-state-cache):
	correct faulty logical expression.
99 100 101 102
	(c-parse-state-state, c-record-parse-state-state):
	(c-replay-parse-state-state): New defvar/defuns.
	(c-debug-parse-state): Use new functions.

Martin Rudalics's avatar
Martin Rudalics committed
103 104 105
2011-10-22  Martin Rudalics  <rudalics@gmx.at>

	* mouse.el (mouse-drag-line): Fix minibuffer resizing broken by
106
	last fix.  Use window-in-direction correctly.
Martin Rudalics's avatar
Martin Rudalics committed
107

108 109 110 111
2011-10-21  Chong Yidong  <cyd@gnu.org>

	* progmodes/idlwave.el (idlwave-mode):
	* progmodes/vera-mode.el (vera-mode): No need to set
112 113
	require-final-newline; that's done in prog-mode.
	Suggested by Stefan Monnier.
114

115 116 117 118 119 120 121 122 123 124 125
2011-10-21  Martin Rudalics  <rudalics@gmx.at>

	* mouse.el (mouse-drag-window-above)
	(mouse-drag-move-window-bottom, mouse-drag-move-window-top)
	(mouse-drag-mode-line-1, mouse-drag-header-line)
	(mouse-drag-vertical-line-rightward-window): Remove.
	(mouse-drag-line): New function.
	(mouse-drag-mode-line, mouse-drag-header-line)
	(mouse-drag-vertical-line): Call mouse-drag-line.
	* window.el (window-at-side-p, windows-at-side): New functions.

Ulrich Mueller's avatar
Ulrich Mueller committed
126 127 128 129 130
2011-10-21  Ulrich Mueller  <ulm@gentoo.org>

	* tar-mode.el (tar-grind-file-mode):
	Fix handling of setuid/setgid, handle sticky bit.  (Bug#9817)

131 132 133
2011-10-21  Chong Yidong  <cyd@gnu.org>

	* progmodes/idlwave.el (idlwave-mode):
134 135
	* progmodes/vera-mode.el (vera-mode):
	Use mode-require-final-newline.
136

137 138 139 140
2011-10-20  Glenn Morris  <rgm@gnu.org>

	* vc/vc.el (vc-next-action): Handle removed directories. (Bug#9781)

141 142 143 144
2011-10-20  Christoph Scholtes  <cschol2112@googlemail.com>

	* emulation/cua-base.el (cua-set-mark): Fix case of string.

Chong Yidong's avatar
Chong Yidong committed
145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178
2011-10-20  Chong Yidong  <cyd@gnu.org>

	* emulation/cua-base.el (cua-mode):
	* mail/footnote.el (footnote-mode):
	* mail/mailabbrev.el (mail-abbrevs-mode):
	* net/xesam.el (xesam-minor-mode):
	* progmodes/bug-reference.el (bug-reference-mode):
	* progmodes/cap-words.el (capitalized-words-mode):
	* progmodes/compile.el (compilation-minor-mode)
	(compilation-shell-minor-mode):
	* progmodes/gud.el (gud-tooltip-mode):
	* progmodes/hideif.el (hide-ifdef-mode):
	* progmodes/idlw-shell.el (idlwave-shell-electric-debug-mode):
	* progmodes/subword.el (subword-mode):
	* progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
	* progmodes/which-func.el (which-function-mode):
	* term/tvi970.el (tvi970-set-keypad-mode):
	* term/vt100.el (vt100-wide-mode):
	* textmodes/flyspell.el (flyspell-mode):
	* textmodes/ispell.el (ispell-minor-mode):
	* textmodes/nroff-mode.el (nroff-electric-mode):
	* textmodes/paragraphs.el (use-hard-newlines):
	* textmodes/refill.el (refill-mode):
	* textmodes/reftex.el (reftex-mode):
	* textmodes/rst.el (rst-minor-mode):
	* textmodes/sgml-mode.el (html-autoview-mode)
	(sgml-electric-tag-pair-mode):
	* textmodes/tex-mode.el (latex-electric-env-pair-mode):
	* vc/diff-mode.el (diff-auto-refine-mode, diff-minor-mode):
	* emulation/crisp.el (crisp-mode):
	* emacs-lisp/eldoc.el (eldoc-mode):
	* emacs-lisp/checkdoc.el (checkdoc-minor-mode): Doc fixes for new
	minor mode behavior.

179 180 181 182 183
2011-10-19  Juri Linkov  <juri@jurta.org>

	* descr-text.el (describe-char): Add #x2010 and #x2011 to
	the list of hard-coded chars with escape-glyph face.

184 185 186 187
2011-10-19  Stefan Monnier  <monnier@iro.umontreal.ca>

	* vc/log-edit.el (log-edit-empty-buffer-p): Ignore empty headers.

188 189 190 191 192
2011-10-19  Michael Albinus  <michael.albinus@gmx.de>

	* net/tramp.el (tramp-connectable-p): Make a stronger check on a
	running process.

193 194 195 196 197
2011-10-19  Glenn Morris  <rgm@gnu.org>

	* vc/vc-bzr.el (vc-bzr-after-dir-status):
	Ignore ignored files.  (Bug#9726)

198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 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 259 260 261 262 263 264 265 266 267 268 269 270
2011-10-19  Chong Yidong  <cyd@gnu.org>

	Doc fix for minor modes, stating that an omitted argument enables
	the mode unconditionally when called from Lisp.

	* abbrev.el (abbrev-mode):
	* allout.el (allout-mode):
	* autoinsert.el (auto-insert-mode):
	* autoarg.el (autoarg-mode, autoarg-kp-mode):
	* autorevert.el (auto-revert-mode, auto-revert-tail-mode)
	(global-auto-revert-mode):
	* battery.el (display-battery-mode):
	* composite.el (global-auto-composition-mode)
	(auto-composition-mode):
	* delsel.el (delete-selection-mode):
	* desktop.el (desktop-save-mode):
	* dired-x.el (dired-omit-mode):
	* dirtrack.el (dirtrack-mode):
	* doc-view.el (doc-view-minor-mode):
	* double.el (double-mode):
	* electric.el (electric-indent-mode, electric-pair-mode):
	* emacs-lock.el (emacs-lock-mode):
	* epa-hook.el (auto-encryption-mode):
	* follow.el (follow-mode):
	* font-core.el (font-lock-mode):
	* frame.el (auto-raise-mode, auto-lower-mode, blink-cursor-mode):
	* help.el (temp-buffer-resize-mode):
	* hilit-chg.el (highlight-changes-mode)
	(highlight-changes-visible-mode):
	* hi-lock.el (hi-lock-mode):
	* hl-line.el (hl-line-mode, global-hl-line-mode):
	* icomplete.el (icomplete-mode):
	* ido.el (ido-everywhere):
	* image-file.el (auto-image-file-mode):
	* image-mode.el (image-minor-mode):
	* iswitchb.el (iswitchb-mode):
	* jka-cmpr-hook.el (auto-compression-mode):
	* linum.el (linum-mode):
	* longlines.el (longlines-mode):
	* master.el (master-mode):
	* mb-depth.el (minibuffer-depth-indicate-mode):
	* menu-bar.el (menu-bar-mode):
	* minibuf-eldef.el (minibuffer-electric-default-mode):
	* mouse-sel.el (mouse-sel-mode):
	* msb.el (msb-mode):
	* mwheel.el (mouse-wheel-mode):
	* outline.el (outline-minor-mode):
	* paren.el (show-paren-mode):
	* recentf.el (recentf-mode):
	* reveal.el (reveal-mode, global-reveal-mode):
	* rfn-eshadow.el (file-name-shadow-mode):
	* ruler-mode.el (ruler-mode):
	* savehist.el (savehist-mode):
	* scroll-all.el (scroll-all-mode):
	* scroll-bar.el (scroll-bar-mode):
	* server.el (server-mode):
	* shell.el (shell-dirtrack-mode):
	* simple.el (auto-fill-mode, transient-mark-mode)
	(visual-line-mode, overwrite-mode, binary-overwrite-mode)
	(line-number-mode, column-number-mode, size-indication-mode)
	(auto-save-mode, normal-erase-is-backspace-mode, visible-mode):
	* strokes.el (strokes-mode):
	* time.el (display-time-mode):
	* t-mouse.el (gpm-mouse-mode):
	* tool-bar.el (tool-bar-mode):
	* tooltip.el (tooltip-mode):
	* type-break.el (type-break-mode-line-message-mode)
	(type-break-query-mode):
	* view.el (view-mode):
	* whitespace.el (whitespace-mode, whitespace-newline-mode)
	(global-whitespace-mode, global-whitespace-newline-mode):
	* xt-mouse.el (xterm-mouse-mode): Doc fix.

271 272
	* emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
	Fix autogenerated docstring.
273

274 275 276 277 278 279
2011-10-19  Juri Linkov  <juri@jurta.org>

	* net/browse-url.el (browse-url-can-use-xdg-open): Support LXDE
	by checking environment variables "DESKTOP_SESSION" and
	"XDG_CURRENT_DESKTOP".  (Bug#9779)

280 281 282 283 284 285 286 287 288
2011-10-19  Juri Linkov  <juri@jurta.org>

	* net/browse-url.el (browse-url-browser-function): Add "Chromium".
	(browse-url-chromium-program, browse-url-chromium-arguments):
	New defcustoms.
	(browse-url-default-browser): Check for `browse-url-chromium' and
	call `browse-url-chromium-program'.
	(browse-url-chromium): New command.  (Bug#9779)

289 290 291 292 293 294
2011-10-18  Juanma Barranquero  <lekktu@gmail.com>

	* facemenu.el (list-colors-duplicates): On Windows, detect more
	duplicates by assuming that only colors matching "^System" are
	special "system colors".  (Bug#9722)

295 296 297 298 299
2011-10-18  Stefan Monnier  <monnier@iro.umontreal.ca>

	* vc/log-edit.el (log-edit): Add "Author:" header to encourage people
	to distinguish the author from the committer.

300 301 302 303
2011-10-18  Michael Albinus  <michael.albinus@gmx.de>

	* net/tramp.el (tramp-file-name-handler): Load Tramp packages silently.

304 305 306 307 308 309 310
2011-10-18  Jirka Kosek  <jirka@kosek.cz>  (tiny change)

	* international/mule.el (sgml-html-meta-auto-coding-function):
	Add support for detecting encoding in HTML5 specified only as
	<meta charset="UTF-8">.  Implementation just makes http-equiv and
	content-type parts from HTML4 encoding string optional.  (Bug#9716)

311 312 313 314
2011-10-18  Glenn Morris  <rgm@gnu.org>

	* vc/vc.el (vc-initial-comment): Mark as obsolete.  (Bug#9745)

315 316 317 318
2011-10-18  Chong Yidong  <cyd@gnu.org>

	* faces.el (cursor): Doc fix.

319 320 321 322
2011-10-17  Chong Yidong  <cyd@gnu.org>

	* font-lock.el (font-lock-maximum-size): Mark as obsolete.

323
2011-10-17  Ryan Barrett  <emacs@ryanb.org>  (tiny change)
324 325 326 327

	* dirtrack.el (dirtrack): Support shell buffers with path
	prefixes, e.g. tramp-based remote shells.  (Bug#9647)

328 329 330 331 332
2011-10-17  Teodor Zlatanov  <tzz@lifelogs.com>

	* json.el: Bump version to 1.3 and note change in History.
	(json-alist-p, json-plist-p): Rewrite to avoid recursion.

333 334
2011-10-17  Stefan Monnier  <monnier@iro.umontreal.ca>

335 336 337 338 339
	* comint.el (comint-insert-input, comint-send-input)
	(comint-get-old-input-default, comint-backward-matching-input)
	(comint-next-prompt): Use nil instead of `input' for field property of
	past user input (bug#114).

340 341 342 343
	* minibuffer.el (completion--replace): Inherit surrounding properties
	(bug#114).
	(minibuffer-complete-and-exit): Use it.

344 345 346
	* comint.el (comint--table-subvert): Quote the all-completions output
	(bug#9160).

347 348
2011-10-17  Martin Rudalics  <rudalics@gmx.at>

349
	* ido.el (ido-default-buffer-method): Remove redundant :type entry.
350

351
	* menu-bar.el (menu-bar-file-menu): Add entry for making new
352
	window on right of selected.  (Bug#9350) Reword other window
353 354
	entries and separate them from frame entries.

355 356 357 358 359
2011-10-15  Glenn Morris  <rgm@gnu.org>

	* emacs-lisp/ert.el (ert--explain-equal-rec, ert-select-tests):
	Doc fixes.

360 361
2011-10-15  Chong Yidong  <cyd@stupidchicken.com>

362 363
	* net/network-stream.el (network-stream-open-starttls):
	Improve detection of failure due to lack of TLS support.
364

365 366 367
	* mail/sendmail.el (sendmail-query-once): Tweak prompt message,
	putting the input text in front and in bold.

368 369
2011-10-14  Stefan Monnier  <monnier@iro.umontreal.ca>

370 371
	* pcmpl-unix.el (pcomplete/ssh): SSH does allow ganging.

372 373 374
	* mpc.el (mpc-songs-jump-to): Don't burp if the user clicks in an
	empty buffer.

375 376 377
	* mouse.el (mouse-drag-mode-line-1): Modify the end-event we pushed on
	unread-command-events rather than pushing yet-another event.

378 379 380 381 382 383
2011-10-14  Eli Zaretskii  <eliz@gnu.org>

	* mail/sendmail.el (sendmail-query-once): Improve the wording of
	the explanation of the possible choices.  Make the options passed
	to completing-read shorter.

384 385 386 387 388
2011-10-13  Agustín Martín Domingo  <agustin.martin@hispalinux.es>

	* textmodes/flyspell.el (flyspell-large-region): Make sure
	extended character mode is used if defined (Bug#1339).

389 390 391
2011-10-13  Eli Zaretskii  <eliz@gnu.org>

	* simple.el (what-cursor-position): Fix the display of the
392 393
	character info for LRE, LRO, RLE, and RLO characters by appending
	an invisible PDF.
394

395 396 397 398 399 400
2011-10-13  Stefan Monnier  <monnier@iro.umontreal.ca>

	* emacs-lisp/timer.el (with-timeout): Make sure we cancel the timer
	even in case of error; add debug spec; simplify data flow.
	(with-timeout-handler): Remove.

Michael Albinus's avatar
Michael Albinus committed
401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417
2011-10-12  Michael Albinus  <michael.albinus@gmx.de>

	Fix Bug#6019, Bug#9315.

	* files.el (set-auto-mode): Call `file-name-sans-versions' for the
	complete `buffer-file-name', the local file name part could look
	remotely (for example on VMS).

	* net/ange-ftp.el (ange-ftp-run-real-handler): Make it an alias of
	`tramp-run-real-handler'.
	(ange-ftp-fix-name-for-vms): Handle the case, where `name' is
	already quoted by '"'.

	* net/tramp.el (tramp-rfn-eshadow-update-overlay): Ignore errors.
	Let `file-name-handler-alist' be nil, the local file name part
	could look remotely (for example on VMS).

418 419 420 421 422 423
2011-10-12  Stefan Monnier  <monnier@iro.umontreal.ca>

	* textmodes/flyspell.el (flyspell-word): Move with-local-quit
	from here...
	(flyspell-post-command-hook): ...to here.

424 425 426 427 428 429 430 431
2011-10-11  Stefan Monnier  <monnier@iro.umontreal.ca>

	* mail/sendmail.el (send-mail-function): Don't use sendmail-query-once
	if not needed.
	(sendmail-query-once): Remove OS dependencies.  Make it a 3-way choice
	using completion.  Protect against "slow" callers.
	Remove the "message hack".

432 433 434 435 436 437
2011-10-11  Juri Linkov  <juri@jurta.org>

	* isearch.el (isearch-lazy-highlight-word): New variable.
	(isearch-lazy-highlight-new-loop, isearch-lazy-highlight-search):
	Use it.  (Bug#9727)

438 439 440 441 442
2011-10-11  Glenn Morris  <rgm@gnu.org>

	* progmodes/f90.el (f90-next-statement): Ignore preprocessor lines,
	like f90-previous-statement does.

443 444
2011-10-11  Thierry Volpiatto  <thierry.volpiatto@gmail.com>

Glenn Morris's avatar
Glenn Morris committed
445
	* eshell/eshell.el (eshell-command): History should be saved
446 447
	only in interactive use, to avoid error.

448 449 450 451 452
2011-10-11  Stefan Monnier  <monnier@iro.umontreal.ca>

	* minibuffer.el (completion-file-name-table): Fix last change,
	i.e. ignore normal errors but not the other ones.

453 454 455 456 457
2011-10-10  Martin Rudalics  <rudalics@gmx.at>

	* window.el (special-display-buffer-names)
	(special-display-regexps): Remove some remnants of earlier
	changes from doc-strings.
458 459 460 461 462
	(quit-windows-on): New function.

	* vc/vc.el (vc-revert, vc-rollback):
	* vc/vc-dispatcher.el (vc-finish-logentry): Call quit-windows-on
	instead of deleting windows.  (Bug#4557) (Bug#5310) (Bug#5556)
Martin Rudalics's avatar
Martin Rudalics committed
463
	(Bug#6183) (Bug#7074) (Bug#7447)
464

465 466 467 468 469
2011-10-09  Martin Rudalics  <rudalics@gmx.at>

	* window.el (frame-auto-hide-function): Add version tag.
	(Bug#9699)

470 471 472 473 474
2011-10-09  Michael Albinus  <michael.albinus@gmx.de>

	* net/tramp.el (tramp-file-name-handler): Add 'debug to the error
	condition.

475 476 477 478 479
2011-10-09  Leo Liu  <sdl.web@gmail.com>

	* mail/smtpmail.el (smtpmail-send-data): Add a missing space.
	(Bug#9701)

Glenn Morris's avatar
Glenn Morris committed
480 481 482 483 484
2011-10-08  Glenn Morris  <rgm@gnu.org>

	* progmodes/f90.el (f90-calculate-indent): Give preprocessor lines
	before the first code statement zero indent.  (Bug#9690)

485 486 487 488 489 490 491 492 493 494 495 496
2011-10-08  Chong Yidong  <cyd@stupidchicken.com>

	* simple.el (count-words-region): Always count in the region.
	Report the number of lines and characters too.
	(count-words): New command, which counts in the buffer if the
	region is inactive, as count-words-region used to.
	(count-words--message): New function.  Handle plurals.
	(count-lines-region): Make it an alias for count-words-region.

	* bindings.el (esc-map): Replace count-lines-region with
	count-words-region.

497 498 499 500
2011-10-08  Martin Rudalics  <rudalics@gmx.at>

	* window.el (window--delete): Delete dedicated frame
	unconditionally when argument KILL is non-nil.  (Bug#9699)
501
	(switch-to-buffer): Fix doc-string typo.
502

503 504 505 506
2011-10-08  Thierry Volpiatto  <thierry.volpiatto@gmail.com>

	* lisp/eshell/eshell.el (eshell-command): Avoid using hooks.

507 508 509 510 511
2011-10-07  Chong Yidong  <cyd@stupidchicken.com>

	* bindings.el ([M-left],[M-right]): Bind to left-word and
	right-word respectively.

512 513 514 515
2011-10-07  Glenn Morris  <rgm@gnu.org>

	* cus-start.el (debug-on-quit): Fix custom type.

516 517
2011-10-06  Lars Magne Ingebrigtsen  <larsi@gnus.org>

518 519 520
	* subr.el (define-key-after): Clarify that the function is not
	useful for non-menu keymaps.

521 522
	* progmodes/gdb-mi.el (gdb): Fix typo in doc string.

thierry volpiatto's avatar
thierry volpiatto committed
523 524
2011-10-06  Thierry Volpiatto  <thierry.volpiatto@gmail.com>

525
	* eshell/eshell.el (eshell-command): Enable `eshell-mode' only
thierry volpiatto's avatar
thierry volpiatto committed
526 527
	in current minibuffer (Fix bug with recursive minibuffers).

528 529 530 531
2011-10-06  Chong Yidong  <cyd@stupidchicken.com>

	* progmodes/gdb-mi.el (gdb): Doc fix.

532 533 534 535 536 537
2011-10-05  Martin Rudalics  <rudalics@gmx.at>

	* window.el (frame-auto-hide-function): New option replacing
	frame-auto-delete.  Suggested by Stefan Monnier.
	(window--delete): Call frame-auto-hide-function instead of
	investigating frame-auto-delete.
538 539 540 541 542
	(window-point-1, set-window-point-1): New functions.
	(window-in-direction, record-window-buffer, window-state-get-1)
	(display-buffer-record-window): Use window-point-1 instead of
	window-point.
	(set-window-buffer-start-and-point): Use set-window-point-1.
543

544 545 546 547
2011-10-05  Stefan Monnier  <monnier@iro.umontreal.ca>

	* emacs-lisp/edebug.el: Heed checkdoc recommendations.

Glenn Morris's avatar
Glenn Morris committed
548 549 550 551 552
2011-10-05  Glenn Morris  <rgm@gnu.org>

	* progmodes/perl-mode.el (perl-electric-terminator): Doc fix.
	(perl-calculate-indent): Suppress scan errors.  (Bug#2205)

553 554 555 556 557
2011-10-05  Leo Liu  <sdl.web@gmail.com>

	* subr.el (read-char-choice): Fix argument to buffer-live-p which
	works with buffer object.

558 559 560 561
2011-10-05  Stefan Monnier  <monnier@iro.umontreal.ca>

	* mpc.el (mpc-tool-bar-map): Add labels.

562 563 564 565
2011-10-04  Glenn Morris  <rgm@gnu.org>

	* calendar/holidays.el (calendar-check-holidays): Doc fix.

566 567 568 569 570 571 572 573 574 575
2011-10-04  Martin Rudalics  <rudalics@gmx.at>

	* window.el (window--delete): New function.
	(frame-auto-delete): Resuscitate option.
	(bury-buffer, replace-buffer-in-windows)
	(quit-window): Rewrite using window--delete.
	(display-buffer-pop-up-frame, display-buffer-pop-up-window):
	Pass display-buffer-mark-dedicated to window--display-buffer-2
	(Bug#9639).

576 577
2011-10-03  Stefan Monnier  <monnier@iro.umontreal.ca>

578 579 580 581 582 583 584 585
	* pcmpl-unix.el (pcomplete/scp): Don't assume pcomplete-all-entries
	returns a list (bug#9554).  Add remote file name completion.
	* comint.el (comint--table-subvert): Curry and get quote&unquote
	functions as arguments.
	(comint--complete-file-name-data): Adjust call accordingly.
	* pcomplete.el (pcomplete--table-subvert): Remove.
	(pcomplete-completions-at-point): Use comint--table-subvert instead.

586 587 588 589 590 591 592 593
	* minibuffer.el (completion-table-case-fold): Use currying.
	(completion--styles-type, completion--cycling-threshold-type):
	New constants.
	(completion-styles, completion-category-overrides)
	(completion-cycle-threshold): Use them.
	* pcomplete.el (pcomplete-completions-at-point): Adjust call to
	completion-table-case-fold.

594 595 596 597 598
2011-10-03  Stephen Berman  <stephen.berman@gmx.net>

	* minibuffer.el (completion-category-overrides): Fix type of styles
	and add more user friendly tags (bug#9660).

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

	* international/mule-cmds.el: Fix abuses of apply-partially (bug#9661).
	(mule-input-method-string): New widget.
	(default-input-method, language-info-custom-alist): Use it.

605 606
2011-10-02  Stefan Monnier  <monnier@iro.umontreal.ca>

607 608 609 610 611 612 613 614 615
	* pcomplete.el: Require comint.
	(pcomplete--common-suffix): Remove.
	(pcomplete--common-quoted-suffix): Use comint--common-suffix instead.
	(pcomplete--table-subvert): Sync with comint--table-subvert.
	(pcomplete--entries): Use comint-completion-file-name-table.
	* comint.el (comint-unquote-filename): Simplify.
	(comint-completion-file-name-table): New function (bug#9616).
	(comint--complete-file-name-data): Use it.

616 617 618
	* pcmpl-gnu.el (pcmpl-gnu-with-file-buffer): New macro (bug#9643).
	(pcmpl-gnu-tar-buffer): Remove.
	(pcmpl-gnu-with-file-buffer): Use it to avoid leaving the tar's buffer
619 620
	around.  Make sure pcomplete-suffix-list is only changed temporarily.
	Don't look inside the tar's file if it's too large.
621

622 623
2011-10-01  Chong Yidong  <cyd@stupidchicken.com>

624 625 626 627 628 629 630 631 632 633 634 635 636 637 638 639 640 641 642 643
	* cus-edit.el (custom-mode-map):
	* epa.el (epa-key-list-mode-map):
	* man.el (Man-mode-map):
	* startup.el (splash-screen-keymap):
	* simple.el (special-mode-map): Use scroll-up-command and
	scroll-down-command.

	* progmodes/idlw-help.el (idlwave-help-mode-map):
	* progmodes/ebrowse.el (ebrowse-electric-position-mode-map):
	* net/newst-plainview.el (newsticker-mode-map):
	* emulation/ws-mode.el (wordstar-mode-map):
	* emulation/vi.el (vi-com-map):
	* calc/calc-graph.el (calc-graph-show-dumb):
	* term/sun.el (terminal-init-sun):
	* term/ns-win.el (global-map):
	* progmodes/grep.el (grep-mode-map):
	* progmodes/ebrowse.el (ebrowse-electric-list-mode-map):
	* mail/rmail.el (rmail-mode-map):
	* progmodes/cpp.el (cpp-edit-mode-map): Likewise.

644 645 646
	* custom.el (custom-safe-themes, load-theme): Treat value of t for
	custom-safe-themes as special.

647 648 649 650
2011-10-01  Julien Danjou  <julien@danjou.info>

	* notifications.el (notifications-notify): Fix docstring.

651 652 653 654
2011-10-01  Per Starbäck  <per@starback.se>

	* pcmpl-gnu.el (pcomplete/tar): Fix tar-header-name call.  (Bug#9643)

655 656 657 658
2011-09-30  Martin Rudalics  <rudalics@gmx.at>

	* startup.el (command-line-1): Fix last fix by inserting
	initial-scratch-message into *scratch* before displaying it.
659
	(Bug#9605) and (Bug#9636)
660

661 662 663 664 665 666
2011-09-29  Eli Zaretskii  <eliz@gnu.org>

	* simple.el (line-move): If auto-hscroll-mode is disabled and the
	window is hscrolled, move by logical lines.  (Bug#9607)
	(line-move-visual): Update the doc string to the above effect.

667 668
2011-09-29  Martin Rudalics  <rudalics@gmx.at>

669 670 671
	* window.el (display-buffer-record-window): When WINDOW is the
	selected window use `point' instead of `window-point'.  (Bug#9626)

672 673
	* startup.el (command-line-1): Use insert-before-markers when
	inserting initial-scratch-message.  (Bug#9605)
674

675 676
	* help.el (help-window): Remove variable.

677 678 679 680
2011-09-29  Glenn Morris  <rgm@gnu.org>

	* pcmpl-cvs.el (pcomplete/cvs): Add "status" handler.

681 682 683 684 685
2011-09-29  Juanma Barranquero  <lekktu@gmail.com>

	* descr-text.el (describe-char-categories): Accept category
	descriptions more than one line long.

686 687
2011-09-28  Stefan Monnier  <monnier@iro.umontreal.ca>

688 689
	* simple.el (delete-trailing-whitespace): Fix last change.

690 691 692
	* progmodes/perl-mode.el (perl-syntax-propertize-function):
	Don't confuse "y => 3" as the beginning of a `y' operation.

693 694 695
	* emacs-lisp/debug.el (debug-convert-byte-code): Don't assume the
	object has more than 4 slots (bug#9613).

Juanma Barranquero's avatar
Juanma Barranquero committed
696 697 698 699 700 701
2011-09-28  Juanma Barranquero  <lekktu@gmail.com>

	* subr.el (with-output-to-temp-buffer):
	* net/quickurl.el (quickurl, quickurl-browse-url):
	Fix typos in docstrings.

702 703 704 705 706 707
2011-09-27  Eli Zaretskii  <eliz@gnu.org>

	* minibuffer.el (completion-styles)
	(completion-category-overrides): Cross reference each other in doc
	strings.

Glenn Morris's avatar
Glenn Morris committed
708 709 710 711 712
2011-09-27  Glenn Morris  <rgm@gnu.org>

	* pcmpl-cvs.el (pcmpl-cvs-entries): Update for Emacs 22.1 changes
	to split-string.  (Bug#9606)

713 714 715 716 717
2011-09-27  Lars Magne Ingebrigtsen  <larsi@gnus.org>

	* mail/smtpmail.el (smtpmail-via-smtp): Fix STARTTLS detection
	(bug#9615).

718 719 720 721
2011-09-27  Chong Yidong  <cyd@stupidchicken.com>

	* emacs-lisp/package.el (list-packages): Fix echo area message.

722 723 724 725
2011-09-27  Leo Liu  <sdl.web@gmail.com>

	* ido.el (ido-read-internal): Accept cons cell HIST arg.

726 727 728 729 730
2011-09-25  Michael Albinus  <michael.albinus@gmx.de>

	* net/dbus.el (dbus-unregister-object): Don't release services for
	registered signals.  (Bug#9581)

731 732 733 734 735 736
2011-09-25  Teodor Zlatanov  <tzz@lifelogs.com>

	* progmodes/cfengine.el (cfengine-auto-mode): Add convenience
	function that picks between cfengine 2 and 3 support
	automatically.  Update docs accordingly.

737 738 739 740 741 742 743
2011-09-22  Kenichi Handa  <handa@m17n.org>

	* language/ind-util.el (indian-tml-base-table): Add TAMIL DIGIT
	ZERO.
	(indian-itrans-v5-table-for-tamil): New variable.
	(indian-tml-itrans-v5-hash): Use the above variable (Bug#9336).

744 745 746 747 748 749 750 751 752
2011-09-22  Ken Manheimer  <ken.manheimer@gmail.com>

	* allout.el (allout-this-command-hid-stuff): Buffer-local variable
	that's true if the current command involved collapsing of text.
	It's reset to false at the beginning of the next command.
	(allout-post-command-business): Move the cursor to the beginning
	of entry if the cursor is hidden and collapsing activity just
	happened.

753 754 755 756 757
2011-09-24  Chong Yidong  <cyd@stupidchicken.com>

	* mouse.el (mouse-drag-track): Set scroll-margin to 0 while
	tracking (Bug#9541).

758 759 760 761
2011-09-24  Ulf Jasper  <ulf.jasper@web.de>

	* net/newst-reader.el (newsticker-html-renderer)
	(newsticker-show-news): Automatically
762 763
	load html rendering package if newsticker-html-renderer is set.
	Fixes "Warning: defvar ignored because w3m-fill-column is
764 765 766
	let-bound" and the error "Symbol's value as variable is void:
	w3m-fill-column".

767 768 769 770 771
2011-09-24  Michael Albinus  <michael.albinus@gmx.de>

	* net/dbus.el (dbus-unregister-object): Remove match rule of signals.
	Release services only if they are defined.  (Bug#9581)

772 773
2011-09-23  Richard Stallman  <rms@gnu.org>

774 775 776
	* textmodes/paragraphs.el (forward-sentence): For backwards case,
	distinguish start of paragraph from start of its text.

777 778
	* mail/emacsbug.el (report-emacs-bug-query-existing-bugs): Autoload.

779 780 781 782
	* mail/rmail.el (rmail-view-buffer-kill-buffer-hook): New function.
	(rmail-generate-viewer-buffer): Put that hook on view buffer.
	(rmail-mode-kill-buffer-hook): Override that hook, to kill view buffer.

783 784 785 786 787
2011-09-23  Andreas Schwab  <schwab@linux-m68k.org>

	* international/mule-diag.el (mule-diag): Insert a newline after
	each fontset description.

788 789 790 791 792
2011-09-23  Stefan Monnier  <monnier@iro.umontreal.ca>

	* simple.el (delete-trailing-whitespace):
	Document last change; simplify.

793 794
2011-09-23  Peter J. Weisberg  <pj@irregularexpressions.net>

795 796 797
	* simple.el (delete-trailing-whitespace): Also delete
	extra newlines at the end of the buffer.

798 799 800
	* textmodes/picture.el: Make motion commands obey shift-select-mode.
	(picture-newline): Use forward-line so as to ignore fields.

801 802 803 804
2011-09-23  Stefan Monnier  <monnier@iro.umontreal.ca>

	* subr.el (with-wrapper-hook): Fix edebug spec.

805 806 807 808 809
2011-09-23  Lars Magne Ingebrigtsen  <larsi@gnus.org>

	* simple.el (kill-line): Note effect of `show-trailing-whitespace'
	(bug#4538).

810 811
2011-09-23  Michael Albinus  <michael.albinus@gmx.de>

812 813
	* net/tramp-sh.el (tramp-sh-handle-file-name-all-completions):
	Fix nasty bug using wrong cached values.
814

815 816 817 818
2011-09-23  Alan Mackenzie  <acm@muc.de>

	* progmodes/cc-defs.el (c-version): Increase to 5.31.9.

819 820 821 822 823
2011-09-23  Chong Yidong  <cyd@stupidchicken.com>

	* window.el (pop-to-buffer): Ensure right window is selected if we
	chose another frame.

824 825 826 827 828 829
2011-09-22  Eli Zaretskii  <eliz@gnu.org>

	* simple.el (what-cursor-position): Use get-char-property-change
	and next-single-char-property-change, to be able to show display
	properties that come from overlays as well as text properties.

830 831 832 833 834 835 836 837 838 839 840 841
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).

842 843 844 845 846
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.

847 848 849 850 851
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)

852 853 854 855 856 857
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
858 859 860 861 862
2011-09-22  Andrew Schein  <andrew@andrewschein.com>  (tiny change)

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

863 864 865 866 867
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>.
868 869
	(special-display-popup-frame): When popping up a new frame reset
	its previous buffers to nil.  Simplify code.
870

871 872 873 874 875
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'.

876 877
2011-09-21  Martin Rudalics  <rudalics@gmx.at>

878 879
	* window.el (set-window-buffer-start-and-point):
	Call set-window-start with NOFORCE argument t.  Suggested by Thierry
880 881 882 883 884 885 886 887 888 889 890 891 892
	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.

893 894
2011-09-21  Stefan Monnier  <monnier@iro.umontreal.ca>

895 896
	* faces.el (face-list): Fix docstring (bug#9564).

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

900 901 902 903 904 905
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)

906 907 908 909 910
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).

911 912 913 914 915 916
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.

917 918 919 920 921 922
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.

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

929 930
2011-09-19  Stefan Monnier  <monnier@iro.umontreal.ca>

931 932 933 934
	* 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.

935 936 937 938
	* 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
939 940 941 942 943
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.

944 945 946 947 948
2011-09-19  Chong Yidong  <cyd@stupidchicken.com>

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

949 950 951 952
2011-09-19  Stefan Monnier  <monnier@iro.umontreal.ca>

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

953 954 955 956 957
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>.

958 959 960 961 962 963 964 965 966 967 968 969 970 971 972 973 974 975 976
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'.

977 978 979 980 981 982
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.

983 984 985 986 987
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).

988 989 990 991 992 993 994
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).

995 996 997 998 999
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)

1000 1001 1002 1003 1004 1005
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).

1006 1007 1008 1009 1010
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).

1011 1012 1013 1014 1015 1016 1017
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.

1018 1019
2011-09-18  Chong Yidong  <cyd@stupidchicken.com>

1020 1021 1022
	* woman.el (woman2-process-escapes): Don't delete unrecognized
	escapes (Bug#7843).

1023 1024 1025 1026
	* files.el (inhibit-first-line-modes-regexps): Add image files.
	(hack-local-variables-prop-line): Return nil for malformed
	prop-lines (Bug#9044).

1027 1028 1029 1030 1031
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.
1032 1033
	Return complete remote file name.  Handle "smb" case.
	Use `tramp-tmpdir', if defined for the respective method.
1034 1035 1036 1037 1038 1039 1040 1041 1042 1043 1044 1045 1046 1047 1048
	(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.

1049 1050 1051 1052 1053
2011-09-18  Lars Magne Ingebrigtsen  <larsi@gnus.org>

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

1054 1055 1056 1057 1058 1059 1060 1061 1062 1063 1064
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
1065 1066 1067 1068 1069
2011-09-17  Glenn Morris  <rgm@gnu.org>

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

1070 1071 1072 1073 1074 1075
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.

1076 1077 1078 1079 1080
2011-09-17  Andreas Schwab  <schwab@linux-m68k.org>

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

1081 1082 1083 1084 1085
2011-09-17  Juri Linkov  <juri@jurta.org>

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

1086 1087 1088 1089
2011-09-17  Sven Joachim  <svenjoac@gmx.de>

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

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

1097 1098 1099 1100
2011-09-16  Stefan Monnier  <monnier@iro.umontreal.ca>

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

1101 1102 1103 1104 1105 1106 1107
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.

1108 1109 1110 1111 1112 1113 1114 1115
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.
1116 1117
	(package-menu-mark-obsolete-for-deletion):
	Use package-menu-get-status instead of a regexp search.
1118 1119
	(package-menu-get-status): Use tabulated-list-entry.
	(package-menu-mark-upgrades): New command.
1120
	(package-menu-mode-map): Bind it to U.  Add it to menu bar.
1121 1122 1123 1124 1125
	(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.

1126 1127 1128 1129
2011-09-14  Lars Magne Ingebrigtsen  <larsi@gnus.org>

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

1133 1134
2011-09-14  Stefan Monnier  <monnier@iro.umontreal.ca>

1135 1136 1137 1138 1139
	* 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.

1140 1141
	* newcomment.el (comment-add, comment-valid-prefix-p): Docfix.

1142 1143 1144 1145
	* 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".

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

1154 1155
2011-09-14  Chong Yidong  <cyd@stupidchicken.com>

1156 1157 1158
	* replace.el (occur-mode-goto-occurrence): Don't force using other
	window (Bug#9499).

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

1161 1162 1163 1164 1165 1166 1167 1168
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.
1169 1170
	* help.el (help-window-setup): New argument help-window.
	Use help-window-setup parameter instead of display-buffer-window.
1171 1172 1173 1174
	Reword some messages.
	(with-help-window): Pass window used for displaying the buffer
	to help-window-setup.  Don't set display-buffer-window.

1175 1176 1177 1178 1179
2011-09-13  Glenn Morris  <rgm@gnu.org>

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

1180 1181 1182 1183
2011-09-13  Chong Yidong  <cyd@stupidchicken.com>

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

1184 1185 1186 1187 1188 1189 1190 1191 1192 1193 1194
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
1195
	(bury-buffer): Delete window only if window-deletable-p returns t.
1196

1197 1198 1199 1200 1201
2011-09-13  Chong Yidong  <cyd@stupidchicken.com>

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

1202 1203 1204 1205
2011-09-13  Glenn Morris  <rgm@gnu.org>

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

1206
2011-09-13  PJ Weisberg  <pj@irregularexpressions.net>
1207 1208 1209

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

1210 1211 1212 1213 1214
2011-09-13  Glenn Morris  <rgm@gnu.org>

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

1215 1216 1217 1218 1219 1220 1221 1222 1223 1224 1225
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.

1226 1227 1228 1229 1230
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.

1231 1232 1233 1234 1235 1236 1237
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.

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

1240 1241 1242 1243
2011-09-11  Lars Magne Ingebrigtsen  <larsi@gnus.org>

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

1244 1245 1246 1247 1248 1249 1250 1251
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)
1252 1253
	(customize-browse, custom-buffer-create-other-window):
	Use switch-to-buffer or switch-to-buffer-other-window.
1254 1255 1256 1257 1258 1259 1260 1261 1262 1263 1264 1265 1266 1267 1268 1269

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

1270 1271 1272 1273
2011-09-11  Andreas Schwab  <schwab@linux-m68k.org>

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

1274 1275
2011-09-11  Lars Magne Ingebrigtsen  <larsi@gnus.org>

1276 1277
	* dired.el (dired-sort-toggle-or-edit): -o doesn't exist on *BSD,
	so don't mention it (bug#9301).
1278
	(dired-sort-toggle-or-edit): Clarify string further.
1279

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

1283
	* subr.el (eval-after-load): Doc string clarification (bug#9125).
1284 1285
	(process-kill-buffer-query-function): Mention the buffer name in
	the query.
1286

1287 1288 1289
	* image-mode.el (image-next-line): The line parameter is mandatory
	(bug#9258).

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

1293 1294
	* textmodes/flyspell.el: Remove obsolete comment (bug#9368).

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

1298 1299 1300
	* facemenu.el: Disable the remove-* commands if the mark isn't
	active (bug#9162).

1301 1302 1303 1304 1305 1306 1307 1308 1309 1310 1311 1312 1313 1314 1315 1316 1317 1318
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.

1319 1320
	* progmodes/gdb-mi.el (gdb-frame-gdb-buffer):
	Use display-buffer-other-frame.
1321 1322 1323 1324 1325 1326 1327 1328 1329 1330
	(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*.

1331 1332 1333 1334 1335 1336 1337 1338 1339 1340 1341 1342 1343 1344 1345 1346 1347 1348 1349 1350 1351
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.
1352
	(display-buffer--maybe-same-window): Rename from
1353
	display-buffer-maybe-same-window.
1354

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

1365 1366 1367 1368 1369 1370 1371 1372 1373 1374
	* 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.

1375 1376 1377 1378 1379 1380
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).

1381 1382 1383 1384 1385
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)

1386 1387 1388 1389 1390 1391 1392 1393 1394 1395 1396
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.

1397 1398
2011-09-10  Reuben Thomas  <rrt@sc3d.org>

1399 1400
	* simple.el (count-words-region): Use buffer if there's no region
	(bug#9429).
1401

Juri Linkov's avatar