ChangeLog 174 KB
Newer Older
1 2
2011-07-01  Paul Eggert  <eggert@cs.ucla.edu>

3 4 5
	* calendar/timeclock.el (timeclock-seconds-to-time):
	Defalias to seconds-to-time, since they're the same thing.

6 7
	* allout-widgets.el (allout-elapsed-time-seconds): Use float-time.

8 9
2011-06-30  Lars Magne Ingebrigtsen  <larsi@gnus.org>

10 11 12
	* textmodes/flyspell.el (flyspell-word): Consider words that
	differ only in case as potential doublons (bug#5687).

13 14 15 16
	* net/soap-client.el (soap-invoke, soap-wsdl-resolve-references):
	Remove two rather uninteresting debugging-like messages to make
	debbugs.el more silent.

17 18 19
	* comint.el (comint-password-prompt-regexp): Accept "Response" as
	a password-like phrase.

20 21 22 23 24 25 26 27 28 29 30 31
2011-06-30  Mastake YAMATO  <yamato@redhat.com>

	* progmodes/cc-guess.el: New file.

	* progmodes/cc-langs.el (c-mode-menu): Added "Style..." submenu.

	* progmodes/cc-styles.el (cc-choose-style-for-mode): New function
	derived from `c-basic-common-init'.

	* progmodes/cc-mode.el (top-level): Require cc-guess.
	(c-basic-common-init): Use `cc-choose-style-for-mode'.

32 33 34 35
2011-06-30  Lawrence Mitchell  <wence@gmx.li>

	* progmodes/js.el (js-mode): Don't stomp on global settings (bug#8933).

36 37
2011-06-30  Alan Mackenzie  <acm@muc.de>

38 39
	* progmodes/cc-engine.el (c-guess-continued-construct):
	Correct the handling of template-args-cont, particularly for when font
40 41
	lock is disabled.  Name this case as "CASE G".

42 43 44 45 46 47 48 49 50 51 52 53 54 55
2011-06-30  Ken Manheimer  <ken.manheimer@gmail.com>

	* allout.el (allout-yank-processing): Fix injection of extra space
	between bullet and non-whitespace character in first topic when
	pasting, ensuring that the actual spacing in the pasted topic
	following the bullet char is preserved.  This extra space was
	causing pasted encrypted topics to get a decrypted status even
	when the content was actually still encrypted.  Now the decryption
	status from before the paste is preserved.

	(allout-flag-region): Set all allout overlays so they evaporate
	when reduced to zero length (evanescent), to prevent overlay
	leakage.

56 57
2011-06-30  Glenn Morris  <rgm@gnu.org>

58 59
	* w32-fns.el (w32-charset-info-alist): Declare.

60 61
	* find-dired.el (find-grep-options): Simplify.

62 63
	* term/ns-win.el (ns-set-resource): Declare.

64 65
	* ses.el (row, col): Declare dynamic variables honestly.

66 67
	* textmodes/reftex-parse.el (index-tags): Declare.

68 69 70 71 72 73
2011-06-30  Chong Yidong  <cyd@stupidchicken.com>

	* cus-edit.el (customize-push-and-save): New function.

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

74 75
	* custom.el (load-theme): New arg NO-CONFIRM.
	Use customize-push-and-save (Bug#8720).
76 77 78 79 80
	(custom-enabled-themes): Doc fix.

	* cus-theme.el (customize-create-theme)
	(custom-theme-merge-theme): Callers to load-theme changed.

81 82
2011-06-30  Lars Magne Ingebrigtsen  <larsi@gnus.org>

83 84 85
	* thingatpt.el (thing-at-point-short-url-regexp): Require that
	short URLs have at least one dot in them (bug #7614).

86 87 88
	* progmodes/grep.el (rgrep): Bind `process-connection-type' to
	nil, because using a pty is apparently too slow (bug #895).

89 90 91 92 93
2011-06-29  Lars Magne Ingebrigtsen  <larsi@gnus.org>

	* mail/sendmail.el (sendmail-query-once): New function.
	(sendmail-query-once-function): New variable.

Glenn Morris's avatar
Glenn Morris committed
94 95
2011-06-29  Glenn Morris  <rgm@gnu.org>

96 97
	* files.el (auto-mode-alist): Add .f03, .f08 for f90-mode.

Glenn Morris's avatar
Glenn Morris committed
98 99 100 101
	* ses.el (top-level): Require cl when compiling.
	(ses-set-localvars): Fix error statement.
	Call it at compile time to silence a storm of warnings.

102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133
2011-06-29  Martin Rudalics  <rudalics@gmx.at>

	* window.el (normalize-live-buffer): Rename to
	window-normalize-buffer.
	(normalize-live-frame): Rename to window-normalize-frame.
	(normalize-any-window): Rename to window-normalize-any-window.
	(normalize-live-window): Rename to window-normalize-live-window.
	(make-window-atom): Rename to window-make-atom.
	(window-resize-reset): Rename to window--resize-reset.
	(window-resize-reset-1): Rename to window--resize-reset-1.
	(resize-mini-window): Rename to window--resize-mini-window.
	(resize-subwindows-skip-p): Rename to
	window--resize-subwindows-skip-p.
	(resize-subwindows-normal): Rename to
	window--resize-subwindows-normal.
	(resize-subwindows): Rename to window--resize-subwindows.
	(resize-other-windows): Rename to window--resize-siblings.
	(resize-this-window): Rename to window--resize-this-window.
	(resize-root-window): Rename to window--resize-root-window.
	(resize-root-window-vertically): Rename to
	window--resize-root-window-vertically.
	(normalize-buffer-to-display): Rename to
	window-normalize-buffer-to-display.
	(normalize-buffer-to-switch-to): Rename to
	window-normalize-buffer-to-switch-to.
	Correspondingly update all callers of the functions listed
	above.
	(display-buffer-alist, display-buffer-normalize-arguments)
	(display-buffer-normalize-options, display-buffer)
	(display-buffer-alist-set): Use "function" instead of
	"fun-with-args".

134 135 136 137 138 139
2011-06-28  Chong Yidong  <cyd@stupidchicken.com>

	* mail/emacsbug.el (report-emacs-bug): Handle non-gnu bug
	addresses more clearly.  Add hyperlinks for bug-gnu-emacs and
	debbugs.gnu.org.  Mention acknowledgment email.

140 141 142 143 144
2011-06-28  Lars Magne Ingebrigtsen  <larsi@gnus.org>

	* mail/smtpmail.el (smtpmail-send-it): Leave off changing the
	buffer multibyteness, since it shouldn't matter.

145 146 147 148 149 150 151 152 153 154 155 156
2011-06-28  Martin Rudalics  <rudalics@gmx.at>

	* window.el (display-buffer-in-side-window): Handle dedicated
	windows as in display-buffer-reuse-window.
	(display-buffer-normalize-alist): Use value of override
	specifier.
	(display-buffer-normalize-specifiers): Use value of
	other-window-means-other-frame specifier.
	(display-buffer-alist): Rewrite some texts in widgets.
	(display-buffer): Spread arguments when calling function
	specified by fun-with-args.

157 158
2011-06-28  Deniz Dogan  <deniz@dogan.se>

159 160
	* emacs-lisp/lisp-mode.el (emacs-lisp-mode-syntax-table):
	Unnest `let'.
161

162 163
	* textmodes/css-mode.el (css-font-lock-keywords): Fix grouped
	selectors (Bug#5732).
164
	(css-proprietary-nmstart-re): Use `regexp-opt'.
165

166 167 168 169 170 171
2011-06-27  Jari Aalto  <jari.aalto@cante.net>

	* eshell/em-ls.el: Display `ls -l' dates in ISO format (Bug#8440).
	(eshell-ls-date-format): New defcustom.
	(eshell-ls-file): Use it.

172 173 174 175
2011-06-27  Stefan Monnier  <monnier@iro.umontreal.ca>

	* help-fns.el (describe-variable): Fix message for terminal-local vars.

176 177 178 179 180 181
2011-06-27  Katsumi Yamaoka  <yamaoka@jpl.org>

	* net/ange-ftp.el: Allow loading .gz files (Bug#6923).
	(ange-ftp-make-tmp-name): New arg.
	(ange-ftp-file-local-copy): Use it.

182 183 184 185 186
2011-06-27  Jambunathan K  <kjambunathan@gmail.com>

	* tar-mode.el (tar-untar-buffer): Set coding-system-for-write to
	no-conversion (Bug#8870).

187 188 189 190 191 192 193 194 195 196 197
2011-06-27  Martin Rudalics  <rudalics@gmx.at>

	* window.el (window-right, window-left, window-child)
	(window-child-count, window-last-child)
	(window-iso-combination-p, walk-window-tree-1)
	(window-atom-check-1, window-tree-1, delete-window)
	(window-state-get-1, display-buffer-even-window-sizes): Adapt to
	new naming conventions - window-vchild, window-hchild,
	window-next and window-prev are now called window-top-child,
	window-left-child, window-next-sibling and window-prev-sibling
	respectively.
198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215
	(resize-window-reset): Rename to window-resize-reset.
	(resize-window-reset-1): Rename to window-resize-reset-1.
	(resize-window): Rename to window-resize.
	(window-min-height, window-min-width)
	(resize-mini-window, resize-this-window, resize-root-window)
	(resize-root-window-vertically, adjust-window-trailing-edge)
	(enlarge-window, shrink-window, maximize-window)
	(minimize-window, delete-window, quit-restore-window)
	(split-window, balance-windows, balance-windows-area-adjust)
	(balance-windows-area, window-state-put-2)
	(display-buffer-even-window-sizes, display-buffer-set-height)
	(display-buffer-set-width, set-window-text-height)
	(fit-window-to-buffer): Rename all "resize-window" prefixed
	calls to use the "window-resize" prefix convention.
	(display-buffer-alist): Fix symbol for label specifier.
	(display-buffer-reuse-window): Set reuse-dedicated to cdr of
	corresponding specifier.
	Reported by Juanma Barranquero <lekktu@gmail.com>.
216

217 218 219 220 221 222 223
2011-06-27  Vincent Belaïche  <vincentb1@users.sourceforge.net>

	* ses.el (ses-destroy-cell-variable-range): Fix heading comment
	convention.
	(ses-call-printer): Does not pass an empty string to formatter when the
	cell is empty to keep from barking printer Calc math-format-value.

224 225
2011-06-27  Richard Stallman  <rms@gnu.org>

226 227 228
	* battery.el (battery-mode-line-limit): New variable.
	(battery-update): Handle it.

229 230 231
	* mail/rmailmm.el (rmail-mime-process-multipart):
	Handle truncated messages.

Glenn Morris's avatar
Glenn Morris committed
232 233 234 235 236
2011-06-27  Glenn Morris  <rgm@gnu.org>

	* progmodes/flymake.el (flymake-err-line-patterns):
	Allow for column numbers in the ant/javac pattern.  (Bug#8866)

237 238
2011-06-27  Vincent Belaïche  <vincentb1@users.sourceforge.net>

Glenn Morris's avatar
Glenn Morris committed
239
	* ses.el (ses-relocate-range): Keep rest of arguments for ses-range.
240 241 242 243
	(ses--clean-!, ses--clean-_): New functions.
	(ses-range): Add configurability of readout order, and conversion
	to Calc vector.

244 245 246 247
	* ses.el (ses-repair-cell-reference-all): New function.
	(ses-cell-symbol): Set macro as safe, so that it can be used in
	formulas.

248 249
	* ses.el:  Update cycle detection algorithm.
	(ses-localvars): Add ses--Dijkstra-attempt-nb and
Glenn Morris's avatar
Glenn Morris committed
250
	ses--Dijkstra-weight-bound, and initial values thereof when applicable.
251 252 253 254
	(ses-set-localvars): New function.
	(ses-make-cell): Add property-list as a cell element.
	(ses-cell-property-get-fun, ses-cell-property-get)
	(ses-cell-property-delq-fun, ses-cell-property-set-fun)
Glenn Morris's avatar
Glenn Morris committed
255 256
	(ses-cell-property-pop-fun, ses-cell-property-get-handle-fun):
	New functions.
257 258 259 260 261 262 263 264 265 266 267 268 269 270 271
	(ses-cell-property-set, ses-cell-property-pop)
	(ses-cell-property-get-handle): New macro.
	(ses-cell-property-handle-car, ses-cell-property-handle-setcar):
	New aliases, used for code readability.
	(ses-calculate-cell, ses-update-cells): Use Dijkstra algorithm for
	cycle detection.
	(ses-self-reference-early-detection): New defcustom.
	(ses-formula-references): Robustify against self-refering cells.
	(ses-mode): Use ses-set-localvars.
	(ses-command-hook): Add call to ses-initialize-Dijkstra-attempt
	before lauching the update processing.
	(ses-initialize-Dijkstra-attempt): New function.
	(ses-recalculate-cell): Update for cycle detection based on
	Dijkstra algorithm.

272 273
	* ses.el: Fix commenting and indenting convention.

274 275 276 277
2011-06-27  Stefan Monnier  <monnier@iro.umontreal.ca>

	* bs.el (bs-cycle-next): Complete last change.

278 279 280 281
2011-06-27  Drew Adams  <drew.adams@oracle.com>

	* faces.el (list-faces-display): Add help-mode-map to output (bug#8939).

282 283
2011-06-27  Lars Magne Ingebrigtsen  <larsi@gnus.org>

284 285
	* net/network-stream.el (network-stream-open-starttls):
	Don't re-get capabilities unless we've reestablished connection.
286 287
	(network-stream-open-starttls): Fix stupid typo with gnutls-clii.

288 289 290 291
	* mail/smtpmail.el (smtpmail-via-smtp): Bind coding-system-for-*
	to binary to possibly avoid line encoding issues on Windows (among
	other things).

292 293 294 295 296 297 298 299 300 301 302 303 304
2011-06-26  Lars Magne Ingebrigtsen  <larsi@gnus.org>

	* net/network-stream.el (open-network-stream): Return an :error
	saying what the problem was, if possible.

	* mail/smtpmail.el (smtpmail-via-smtp): Report the error from the
	server.

	* net/network-stream.el (network-stream-open-starttls): If we
	wanted to use STARTTLS, and the server offered it, but we weren't
	able to because we had no STARTTLS support, then close the connection.
	(open-network-stream): Return an :error element, if present.

305 306
2011-06-26  Chong Yidong  <cyd@stupidchicken.com>

307 308 309 310
	* hl-line.el (hl-line-sticky-flag): Doc fix.
	(global-hl-line-sticky-flag): New option (Bug#8323).
	(global-hl-line-highlight): Obey it.

311 312
	* vc/vc.el (vc-revert-show-diff): Default to t.

313 314
2011-06-26  Ken Manheimer  <ken.manheimer@gmail.com>

315 316
	* allout-widgets.el (allout-widgets-post-command-business):
	Stop decorating intermediate isearch matches.  They're not being
317 318 319
	undecorated when an isearch is continued past, and isearch
	automatically collapses them.  This leads to "widget leaks", where
	decorated items accumulate in collapsed areas.  Lines with lots of
320 321
	hidden widgets can slow down cursor travel, substantially.
	Too much complicated machinery would be needed to ensure undecoration,
322 323 324 325 326 327 328
	so we're doing without this nicety.

	(allout-widgets-tally-string): Don't try to do a hash-table-count
	of allout-widgets-tally when it's nil.  This eliminates spurious "Error
	during redisplay: (wrong-type-argument hash-table-p nil)" warnings in
	*Messages* when allout-widgets-maintain-tally is t.

329 330 331 332
2011-06-26  Martin Rudalics  <rudalics@gmx.at>

	* window.el (display-buffer-normalize-argument): Rename to
	display-buffer-normalize-arguments.  Handle special meaning of
333 334 335
	LABEL argument.  Respect special-display-function when popping up
	a new frame.  Fix code searching for a window showing the buffer
	on another frame.
336 337
	(display-buffer-normalize-specifiers):
	Call display-buffer-normalize-arguments.
338 339 340 341 342 343 344 345 346
	(display-buffer-in-window): Don't undedicate the window if its
	buffer remains the same.
	Reported by Drew Adams <drew.adams@oracle.com>.
	(display-buffer-alist): Add choice for same-window macro
	specfier.
	(display-buffer): Mention special meaning of LABEL argument in
	doc-string.  Fix quoting.  Don't pop up a new frame even as
	fallback.

347 348 349 350 351
2011-06-26  Juanma Barranquero  <lekktu@gmail.com>

	* bs.el (bs-cycle-next): Pass current buffer to `bury-buffer' to
	avoid deleting the current window in some cases (bug#8911).

352 353 354 355 356
2011-06-26  Andreas Schwab  <schwab@linux-m68k.org>

	* emacs-lisp/smie.el (smie-bnf->prec2): Fix last change.
	(Bug#8934)

357 358
2011-06-26  Lars Magne Ingebrigtsen  <larsi@gnus.org>

359 360
	* net/network-stream.el (network-stream-open-starttls):
	Use built-in TLS support if `gnutls-available-p' is true.
361 362
	(network-stream-open-tls): Ditto.

363 364 365 366
2011-06-26  Leo Liu  <sdl.web@gmail.com>

	* register.el (registerv): New struct.
	(registerv-make): New function.
367 368
	(jump-to-register, describe-register-1, insert-register):
	Support the jump-func, print-func and insert-func slot of a registerv
369 370
	struct.  (Bug#8415)

371 372
2011-06-26  Chong Yidong  <cyd@stupidchicken.com>

373 374 375 376 377
	* vc/vc.el (vc-revert-show-diff): New defcustom.
	(vc-diff-internal): New arg specifying diff buffer.
	(vc-revert): Obey vc-revert-show-diff.  If we show a diff, don't
	reuse an existing *vc-diff* buffer (Bug#8927).

378 379
	* progmodes/cperl-mode.el (cperl-mode): Derive from prog-mode.

380 381 382 383 384 385 386 387 388 389 390
2011-06-26  Glenn Morris  <rgm@gnu.org>

	* progmodes/f90.el (f90-critical-indent): New option.
	(f90-font-lock-keywords-2, f90-blocks-re, f90-end-block-re)
	(f90-start-block-re, f90-mode-abbrev-table): Add block, critical.
	(f90-mode): Doc fix.
	(f90-looking-at-critical, f90-looking-at-end-critical): New funcs.
	(f90-no-block-limit, f90-calculate-indent, f90-end-of-block)
	(f90-beginning-of-block, f90-next-block, f90-indent-region)
	(f90-match-end): Handle block, critical.

391 392
2011-06-25  Glenn Morris  <rgm@gnu.org>

393 394 395 396 397 398 399
	* calendar/diary-lib.el (diary-included-files): Doc fix.
	(diary-include-files): New function, extracted from
	diary-include-other-diary-files and diary-mark-included-diary-files.
	(diary-include-other-diary-files, diary-mark-included-diary-files):
	Just call diary-include-files.
	(diary-mark-entries): Reset diary-included-files on first call.

400 401 402 403
	* calendar/diary-lib.el (diary-mark-entries)
	(diary-mark-included-diary-files):
	Visit included diary-files in temp buffers.

404 405 406 407 408 409
	* progmodes/f90.el (f90-keywords-re, f90-font-lock-keywords-1)
	(f90-blocks-re, f90-program-block-re, f90-end-block-re)
	(f90-start-block-re, f90-imenu-generic-expression)
	(f90-looking-at-program-block-start, f90-no-block-limit):
	Add support for submodules.

410 411
	* progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
	(f90-procedures-re, f90-constants-re): Add some F2008 stuff.
412

413
2011-06-25  Eli Zaretskii  <eliz@gnu.org>
414 415 416

	* net/ange-ftp.el (ange-ftp-insert-file-contents): Let-bind
	buffer-file-type before setting its value, to avoid disastrous
417
	global effects on decoding files for DOS/Windows systems.  (Bug#8780)
418

419 420 421 422 423 424 425 426 427 428
2011-06-25  Juanma Barranquero  <lekktu@gmail.com>

	* allout.el (allout-unload-function): Pass -1 to `allout-mode'.

	* ses.el (ses-unload-function):
	* emacs-lisp/re-builder.el (re-builder-unload-function): Simplify.

	* proced.el (proced-unload-function):
	* progmodes/cperl-mode.el (cperl-mode-unload-function): Remove.

429 430 431 432 433
2011-06-25  Andreas Rottmann  <a.rottmann@gmx.at>

	* server.el (server-create-window-system-frame): Add parameters arg.
	(server-process-filter): Doc fix.  Handle frame-parameters.

434 435 436 437 438 439 440 441 442 443
2011-06-25  Juanma Barranquero  <lekktu@gmail.com>

	Fix bug#8730, bug#8781.

	* loadhist.el (unload--set-major-mode): New function.
	(unload-feature): Use it.

	* progmodes/python.el (python-after-info-look): Add autoload cookie.
	(python-unload-function): New function.

444 445 446 447
2011-06-25  Stefan Monnier  <monnier@iro.umontreal.ca>

	* mail/rmail.el (rmail-show-message-1): Use restore-buffer-modified-p.

448 449 450 451 452
2011-06-25  Giuseppe Scrivano  <gscrivano@gnu.org>

	* net/browse-url.el (browse-url-firefox-program): Add icecat to
	the candidates list.

453 454 455 456
2011-06-24  Juanma Barranquero  <lekktu@gmail.com>

	* progmodes/verilog-mode.el (verilog-mode): Fix test for bound variable.

457 458 459 460 461 462 463
2011-06-23  Richard Stallman  <rms@gnu.org>

	* mail/rmail.el: Going to grep hit in Rmail buffer finds the message.
	(rmail-variables): Set next-error-move-function.
	(rmail-what-message): Take argument POS.
	(rmail-next-error-move): New function.

464 465 466 467 468
2011-06-23  Stefan Monnier  <monnier@iro.umontreal.ca>

	* emacs-lisp/smie.el (smie-bnf->prec2): Give more understandable error
	messages for adjacent non-terminals.

469 470 471
2011-06-23  Richard Stallman  <rms@gnu.org>

	* mail/rmail.el (rmail-retry-ignored-headers): Add message-id.
472
	(rmail-show-message-1): Preserve buffer modified flag.
473 474 475
	(rmail-start-mail): Don't specify use of rmail-mail-return;
	that's done by mail-bury now.
	(rmail-mail-return): Handle arg NEWBUF.
476

477 478 479 480 481
2011-06-23  Michael Albinus  <michael.albinus@gmx.de>

	* net/tramp-sh.el (tramp-method-out-of-band-p): Check, whether
	SIZE is a number.

482 483 484 485 486 487 488 489 490 491
2011-06-23  Martin Rudalics  <rudalics@gmx.at>

	* window.el (get-lru-window, get-mru-window)
	(get-largest-window): Never return a minibuffer window.
	(display-buffer-pop-up-window): Fix a bug that could lead to
	reusing the minibuffer window.
	(display-buffer): Pass original specifier argument to
	display-buffer-function instead of the normalized one.
	Reported by Thierry Volpiatto <thierry.volpiatto@gmail.com>.

492 493 494 495 496
2011-06-22  Leo Liu  <sdl.web@gmail.com>

	* minibuffer.el (completing-read-function)
	(completing-read-default): Move from minibuf.c

497 498
2011-06-22  Richard Stallman  <rms@gnu.org>

499 500 501
	* mail/sendmail.el (mail-bury): If Rmail is in use, return nicely
	to Rmail even if not started by a special Rmail command.

502 503 504
	* mail/rmailmm.el (rmail-insert-mime-forwarded-message):
	Copy the buffer currently showing just one message.

505 506 507 508 509 510 511 512 513 514
2011-06-22  Roland Winkler  <winkler@gnu.org>

	* textmodes/bibtex.el (bibtex-entry-update): Use mapc.
	(bibtex-clean-entry): First delete the old key so that a
	customized algorithm for generating the new key does not get
	confused by the old key.
	(bibtex-url): Obey regexp of first step.
	(bibtex-search-entries): Do not use add-to-list with local
	list-var.

515 516 517 518 519 520
2011-06-22  Lars Magne Ingebrigtsen  <larsi@gnus.org>

	* mail/smtpmail.el (smtpmail-try-auth-methods): If the user has
	stored a user name, then query for the password first, instead of
	waiting for SMTP to give an error message and the trying again.

521 522 523 524 525
2011-06-22  Lawrence Mitchell  <wence@gmx.li>

	* net/browse-url.el (browse-url-xdg-open): Use 0, rather than nil
	BUFFER in call-process.

526 527 528 529
2011-06-22  Lars Magne Ingebrigtsen  <larsi@gnus.org>

	* mail/smtpmail.el (smtpmail-via-smtp): Make sure we don't send
	QUIT twice.
530 531
	(smtpmail-try-auth-methods): Require user name and password from
	auth-source.
532

533 534 535 536 537
2011-06-22  Martin Rudalics  <rudalics@gmx.at>

	* window.el (display-buffer-default-specifiers)
	(display-buffer-alist): Remove entries for pop-up-frame-alist.
	Suggested by Katsumi Yamaoka <yamaoka@jpl.org>.
538
	(split-window): Normalize SIDE argument (Bug#8916).
539 540 541 542 543

	* frame.el (pop-up-frame-alist, pop-up-frame-function)
	(special-display-frame-alist, special-display-popup-frame):
	Remove duplicate declarations.  These are now in window.el.

544 545
2011-06-21  Lars Magne Ingebrigtsen  <larsi@gnus.org>

546 547
	* mail/smtpmail.el (smtpmail-via-smtp):
	Set :use-starttls-if-possible so that we always use STARTTLS if the
548 549 550 551 552 553 554
	server supports it.  SMTP servers that support STARTTLS commonly
	require it.

	* net/network-stream.el (network-stream-open-starttls): Support
	upgrading to STARTTLS always, even if we don't have built-in support.
	(open-network-stream): Add the :always-query-capabilies keyword.

555 556 557 558
	* mail/smtpmail.el: Rewritten to do opportunistic STARTTLS
	upgrades with `open-network-stream', and rely solely on
	auth-source for all credentials.  Big changes throughout the file,
	but in particular:
559 560
	(smtpmail-auth-credentials): Remove.
	(smtpmail-starttls-credentials): Remove.
561 562
	(smtpmail-via-smtp): Check for servers saying they want AUTH after
	MAIL FROM, too.
563

564 565
	* net/network-stream.el (network-stream-open-starttls):
	Provide support for client certificates both for external and built-in
566 567 568
	STARTTLS.
	(auth-source): Require.
	(open-network-stream): Document the :client-certificate keyword.
569 570
	(network-stream-certificate): Change cert-cert to cert and
	cert-key to key.
571

572 573 574 575 576
2011-06-21  Michael Albinus  <michael.albinus@gmx.de>

	* net/tramp-cache.el (top): Don't load the persistency file when
	"emacs -Q" has been called.

577 578
2011-06-21  Tim Harper  <timcharper@gmail.com>

579 580
	* term/ns-win.el (ns-initialize-window-system):
	Set application-specific `ApplePressAndHoldEnabled' system
581 582
	resource to NO as it is not yet supported by the NS port.

583 584 585 586 587
2011-06-21  Juanma Barranquero  <lekktu@gmail.com>

	* misc.el (list-dynamic-libraries--refresh): Compute header here...
	(list-dynamic-libraries): ...not here.

588 589 590 591
2011-06-21  Leo Liu  <sdl.web@gmail.com>

	* subr.el (sha1): Implement sha1 using secure-hash.

592 593 594 595 596 597 598 599 600 601 602 603 604
2011-06-21  Martin Rudalics  <rudalics@gmx.at>

	* window.el (display-buffer-alist): In default value do not
	enforce searching a window on any but the selected frame.
	Reported by Katsumi Yamaoka <yamaoka@jpl.org>.
	(display-buffer-select-window): Remove function.
	(display-buffer-in-window): When a window on another frame gets
	reused, do not select it any more but just raise its frame if
	necessary (Bug#8851) and (Bug#8856).
	(display-buffer-normalize-options): Handle pop-up-frames related
	options more faithfully.
	(pop-to-buffer): Don't rely on `display-buffer' selecting the
	window if it is on another frame.
605 606
	(display-buffer-alist, display-buffer-default-specifiers):
	Don't make new frame unsplittable by default.
607 608 609
	(display-buffer-normalize-argument): Fix doc-string typo and use
	'same-frame-other-window instead of 'other-window when associating
	with display-buffer-macro-specifiers.
610

611 612 613 614 615 616 617
2011-06-21  Vincent Belaïche  <vincent.b.1@hotmail.fr>

	* play/5x5.el (5x5-solve-rotate-left, 5x5-solve-rotate-right):
	New functions.
	(5x5-mode-map, 5x5-mode-menu): Bind them.
	(5x5-draw-grid): Tweak the solver's rendering.

618 619 620 621 622
2011-06-21  Stefan Monnier  <monnier@iro.umontreal.ca>

	* progmodes/compile.el (compilation-error-regexp-alist-alist): Rename
	`caml' to `python-tracebacks-and-caml'; allow leading tabs (bug#8585).

623
2011-06-21  Drew Adams  <drew.adams@oracle.com>
624 625 626

	* menu-bar.el: Use function variable instead of switch-to-buffer.
	(menu-bar-select-buffer-function): New variable.
627
	(menu-bar-update-buffers): Use it (bug#8876).
628

629 630 631 632 633
2011-06-21  Stefan Monnier  <monnier@iro.umontreal.ca>

	* emacs-lisp/bytecomp.el (add-to-list): Add handler to check the
	variable's status.

634 635 636 637 638 639 640
2011-06-20  Jan Djärv  <jan.h.d@swipnet.se>

	* x-dnd.el (x-dnd-version-from-flags)
	(x-dnd-more-than-3-from-flags): New functions that handle long-as-cons
	and long as number (Bug#8899).
	(x-dnd-handle-xdnd): Call functions above (Bug#8899).

641 642
2011-06-20  Stefan Monnier  <monnier@iro.umontreal.ca>

643
	* minibuffer.el (completion-metadata): Add `metadata' to the alist.
644 645 646
	(completion-try-completion, completion-all-completions): Compute the
	metadata argument if it's missing; make it optional (bug#8795).

647
	* wid-edit.el: Use lex-bind and move towards completion-at-point.
648 649 650
	(widget-complete): Use new :completion-function property.
	(widget-completions-at-point): New function.
	(default): Use :completion-function instead of :complete.
651 652
	(widget-default-completions): Rename from widget-default-complete;
	Rewrite.
653 654 655 656 657 658 659 660 661 662 663 664 665 666 667 668 669 670 671 672 673 674 675 676 677 678 679 680 681 682 683
	(widget-string-complete, widget-file-complete, widget-color-complete):
	Remove functions.
	(file, symbol, function, variable, coding-system, color):
	* international/mule-cmds.el (default-input-method, charset)
	(language-info-custom-alist):
	* cus-edit.el (face): Use new property :completions.

	* progmodes/pascal.el (pascal-completions-at-point): New function.
	(pascal-mode): Use it.
	(pascal-mode-map): Use completion-at-point.
	(pascal-toggle-completions): Make obsolete.
	(pascal-complete-word, pascal-show-completions):
	* progmodes/octave-mod.el (octave-complete-symbol):
	Redefine as obsolete alias.
	* progmodes/octave-inf.el (inferior-octave-completion-at-point):
	Signal absence of completion info for old Octave,
	(inferior-octave-complete): Redefine as obsolete alias.
	* progmodes/meta-mode.el: Use lexical-binding and completion-at-point.
	(meta-completions-at-point): Rename from meta-complete-symbol and
	adapt it for use on completion-at-point-functions.
	(meta-common-mode): Use it.
	(meta-looking-at-backward, meta-match-buffer): Remove.
	(meta-complete-symbol): Redefine as obsolete alias.
	(meta-common-mode-map): Use completion-at-point.
	* progmodes/make-mode.el: Use lexical-binding and completion-at-point.
	(makefile-mode-map): Use completion-at-point.
	(makefile-completions-at-point): Rename from makefile-complete and
	adapt it for use on completion-at-point-functions.
	(makefile-mode): Use it.
	(makefile-complete): Redefine as obsolete alias.

684 685 686 687
2011-06-20  Deniz Dogan  <deniz@dogan.se>

	* net/rcirc.el: Delete trailing whitespaces once and for all.

688 689 690 691
2011-06-20  Daniel Colascione  <dan.colascione@gmail.com>

	* emacs-lisp/syntax.el (syntax-ppss): Further improve docstring.

692 693
2011-06-19  Chong Yidong  <cyd@stupidchicken.com>

694 695
	* files.el (auto-mode-alist): Entry for m2-mode (Bug#8852).

696 697
	* info.el (Info-apropos-toc-nodes): Minor doc fix (Bug#8833).

698 699 700 701 702 703 704 705 706 707 708
2011-06-19  Martin Rudalics  <rudalics@gmx.at>

	* window.el (display-buffer-other-window-means-other-frame):
	Call display-buffer-normalize-alist.
	(display-buffer-normalize-specifiers-1): Rename to
	display-buffer-normalize-argument.  New argument other-frame.
	Rewrite.
	(display-buffer-normalize-specifiers-2): Rename to
	display-buffer-normalize-options.
	(display-buffer-normalize-alist-1): New function.
	(display-buffer-normalize-specifiers-3): Rename to
709 710
	display-buffer-normalize-alist.
	Call display-buffer-normalize-alist-1.
711 712 713 714 715 716 717 718
	(display-buffer-normalize-options-inhibit): New variable.
	(display-buffer-normalize-specifiers): Rewrite calling
	display-buffer-normalize-alist,
	display-buffer-normalize-argument, and
	display-buffer-normalize-options.  Don't call the latter if
	display-buffer-normalize-options-inhibit is non-nil.
	(frame-auto-delete): New option.
	(window-deletable-p): Use frame-auto-delete.
719 720
	(window-list-no-nils, window-state-ignored-parameters)
	(window-state-get-1, window-state-get, window-state-put-list)
721 722
	(window-state-put-1, window-state-put-2, window-state-put):
	New functions.
723 724
	(display-buffer-normalize-options): Move special-display-p group
	after pop-up-frame group (Bug#8851) and (Bug#8856).
725

726 727
2011-06-18  Chong Yidong  <cyd@stupidchicken.com>

728 729 730 731 732
	* emacs-lisp/rx.el (rx-constituents): Add support for numbered
	groups (Bug#8776).
	(rx-submatch-n): New function.
	(rx): Document it.

733 734 735 736 737
	* dired-x.el (dired-mark-unmarked-files): Fix interactive spec
	(Bug#8768).

	* replace.el (occur-mode-map): Set occur-edit-mode binding to "e".

738 739
	* textmodes/fill.el (default-justification): Add :safe (Bug#8879).

740 741 742
	* cus-face.el (custom-declare-face): Call custom-theme-recalc face
	anytime existing face settings are present (Bug#8889).

743 744 745 746
	* progmodes/delphi.el (delphi-mode-syntax-table): Use defvar.
	(delphi-mode): Use define-derived-mode to inherit from prog-mode.
	Remove unused argument.

747 748
2011-06-18  Martin Rudalics  <rudalics@gmx.at>

749 750
	* window.el (display-buffer-default-specifiers):
	Remove pop-up-frame.  Add pop-up-window-min-height,
751 752
	pop-up-window-min-width, and another reuse-window specifier
	(Bug#8882).  Reported by Dan Nicolaescu <dann@gnu.org>.
753 754
	(display-buffer-normalize-specifiers-2):
	Handle split-height-threshold and split-width-threshold also when
755 756 757
	pop-up-windows is unset.  Add a reuse-window specifier for the
	case popping up a new window fails.
	(special-display-popup-frame): Remove double quoting.
758
	(display-buffer-normalize-specifiers-1): Fix thinko.
759

760 761 762 763 764 765 766 767 768 769 770 771 772 773 774 775
2011-06-17  Stefan Monnier  <monnier@iro.umontreal.ca>

	* shell.el (shell-completion-vars): Set pcomplete-termination-string
	according to comint-completion-addsuffix.

	* pcomplete.el: Convert to lexical binding and fix bug#8819.
	(pcomplete-suffix-list): Mark as obsolete.
	(pcomplete-completions-at-point): Capture pcomplete-norm-func and
	pcomplete-seen in the closure.
	(pcomplete-comint-setup): Setup completion-at-point as well.
	(pcomplete--entries): New function.
	(pcomplete--env-regexp): New var.
	(pcomplete-entries): Rewrite to work with partial-completion and
	without relying on pcomplete-suffix-list.
	(pcomplete-pare-list): Remove, unused.

776 777 778 779 780 781 782 783 784 785 786 787 788 789
2011-06-17  Martin Rudalics  <rudalics@gmx.at>

	* window.el (display-buffer-alist): Set pop-up-window-min-height
	and pop-up-window-min-width in default value.  Reported by
	Thierry Volpiatto <thierry.volpiatto@gmail.com>.  New specifier
	other-window-means-other-frame.
	(display-buffer-macro-specifiers): Comment out entry for
	other-window specifier.
	(display-buffer-other-window-means-other-frame): New function.
	(display-buffer-normalize-specifiers-1): New arguments
	buffer-name and label.  Treat other-window case specially.
	(display-buffer-normalize-specifiers-2): Treat other-window case
	specially.
	(display-buffer-normalize-specifiers-3): New function.
790 791
	(display-buffer-normalize-specifiers):
	Call display-buffer-normalize-specifiers-3.
792

793 794 795 796
2011-06-17  Martin Rudalics  <rudalics@gmx.at>

	* window.el (same-window-p): Fix two typos introduced when
	adding with-no-warnings.
797 798 799 800 801 802 803 804 805
	(display-buffer-normalize-specifiers-1): Don't check
	pop-up-frames for 'unset initialization.
	(display-buffer-normalize-specifiers-2): Major rewrite using
	special-display-p and same-window-p (Bug#8851) and (Bug#8856).
	(pop-up-frames, display-buffer-reuse-frames)
	(display-buffer-mark-dedicated): Don't initialize to 'unset.
	Suggested by David Engster <deng@randomsample.de>.
	(even-window-heights): Initialize to 'unset.
	(display-buffer-alist-set): Handle new 'unset initializations.
806 807
	(display-buffer-macro-specifiers): Don't pop up a new frame in the
	other window case.
808

809 810
2011-06-16  Martin Rudalics  <rudalics@gmx.at>

811 812
	* window.el (display-buffer-normalize-specifiers-1):
	Respect current value of pop-up-frames for most reasonable values of
813
	second argument of display-buffer (Bug#8865).
814 815 816 817
	(switch-to-buffer-same-frame, switch-to-buffer-other-window)
	(switch-to-buffer-other-window-same-frame)
	(switch-to-buffer-other-frame): Fix doc-strings.  Reported by Drew
	Adams (Bug#8875).
818 819 820 821
	(display-buffer): Don't check noninteractive when calling
	display-buffer-pop-up-frame.
	(display-buffer-pop-up-frame): Never pop up a frame in
	noninteractive mode (Bug#8857).
822 823
	(enlarge-window, shrink-window): Don't report an error when the
	window can't be resized as requested (Bug#8862).
824

825 826
2011-06-15  Stefan Monnier  <monnier@iro.umontreal.ca>

827 828
	* pcmpl-rpm.el (pcomplete/rpm): Minor simplification.

829 830
	* emacs-lisp/debug.el (debug): Don't leave the buffer in Debugger.

831 832
	* abbrev.el (define-abbrev-table): Don't add a table multiple times.

833 834
2011-06-15  Alan Mackenzie  <acm@muc.de>

835 836 837
	* progmodes/cc-fonts.el (c-font-lock-declarations): 1: Whilst checking
	for declarators, disable knr checking to speed up for normal files.
	2: Refactor, replacing a sequence of nested if forms by a cond form.
838

839 840
2011-06-15  Lars Magne Ingebrigtsen  <larsi@gnus.org>

841 842 843 844 845
	* net/network-stream.el (open-network-stream): Add the keyword
	:always-query-capabilities for the case where you want to force a
	`plain' network connection, but the protocol still requires the
	capabilitiy command (i.e., SMTP and EHLO).

846
	* subr.el (process-live-p): Rename from `process-alive-p' for
847 848
	consistency with other `-live-p' functions.

849 850 851 852 853 854 855 856 857 858 859 860
2011-06-15  Stefan Monnier  <monnier@iro.umontreal.ca>

	* window.el (same-window-buffer-names, same-window-regexps)
	(special-display-frame-alist, special-display-popup-frame)
	(special-display-function, special-display-buffer-names)
	(special-display-regexps, pop-up-frame-alist)
	(pop-up-frame-function, pop-up-frames, display-buffer-reuse-frames)
	(pop-up-windows, split-window-preferred-function)
	(split-height-threshold, split-width-threshold, even-window-heights)
	(display-buffer-mark-dedicated): Don't encourage the use of
	display-buffer-alist from Elisp code.

861 862 863 864 865
2011-06-15  Dan Nicolaescu  <dann@ics.uci.edu>

	* progmodes/python.el (python-mode): Derive from prog-mode.
	* progmodes/ps-mode.el (ps-mode):
	* progmodes/mixal-mode.el (mixal-mode):
866
	* progmodes/cfengine.el (cfengine-mode):
867 868
	* progmodes/ld-script.el (ld-script-mode): Likewise.

869 870 871 872 873 874 875 876
2011-06-15  Martin Rudalics  <rudalics@gmx.at>

	* window.el (display-buffer-alist): Trim default value to avoid
	popping up a new frame (Bug#8857) or reusing an arbitrary window
	on another frame.
	(display-buffer): Do not fall back on popping up a new frame in
	batch mode (Bug#8857).

877 878 879 880 881 882
2011-06-14  Chong Yidong  <cyd@stupidchicken.com>

	* cus-theme.el (describe-theme-1): Use custom-theme-p.
	(custom-theme-summary): New function.
	(customize-themes): Use it.

883 884 885 886
2011-06-13  Glenn Morris  <rgm@gnu.org>

	* cus-dep.el (custom-make-dependencies): Use up command-line-args-left.

887 888
2011-06-13  Martin Rudalics  <rudalics@gmx.at>

889 890 891 892 893 894 895 896 897 898 899 900 901 902 903 904 905 906 907 908 909 910 911 912 913
	* help.el (help-window): Remove variable.
	(help-window-point-marker, temp-buffer-max-height)
	(temp-buffer-resize-mode, help-window-select): Rewrite doc-strings.
	(help-print-return-message): Don't set help-window.
	(resize-temp-buffer-window): Rewrite cod eand doc-string.
	(help-window-setup-finish): Remove.
	(help-window-display-message, help-window-setup)
	(with-help-window): Major rewrite based on new
	display-buffer-window variable.

	* help-mode.el (help-mode-finish): Remove help-window related
	code.

	* view.el (view-exits-all-viewing-windows): Remove reference to
	view-return-to-alist in doc-string.
	(view-return-to-alist): Make obsolete.
	(view-buffer): Call pop-to-buffer-same-window and remove
	undo-window code.
	(view-buffer-other-window): Call pop-to-buffer-other-window and
	simplify code.  Ignore second argument.
	(view-buffer-other-frame): Call pop-to-buffer-other-frame and
	simplify code.  Ignore second argument.
	(view-return-to-alist-update): Make obsolete.
	(view-mode-enter): Rename second argument to QUIT-RESTORE.
	Rewrite using quit-restore window parameters.
914 915
	(view-mode-exit): Rename second argument to EXIT-ONLY.
	Rewrite using quit-restore-window.
916 917 918 919 920
	(View-exit, View-exit-and-edit, View-leave, View-quit)
	(View-quit-all, View-kill-and-leave): Call view-mode-exit with
	appropriate arguments.
	(view-end-message): Use quit-restore window parameter.

921 922 923 924 925 926 927 928 929 930 931 932 933 934
	* window.el (display-buffer-function): Rewrite doc-string.
	(display-buffer-window, display-buffer-alist): New variables.
	(display-buffer-split-specifiers)
	(display-buffer-side-specifiers)
	(display-buffer-macro-specifiers): New constants.
	(display-buffer-even-window-sizes, display-buffer-set-height)
	(display-buffer-set-width, display-buffer-select-window)
	(display-buffer-in-window, display-buffer-reuse-window)
	(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, normalize-buffer-to-display)
	(display-buffer-normalize-specifiers-1)
	(display-buffer-normalize-specifiers-2)
935 936
	(display-buffer-normalize-specifiers, display-buffer-frame):
	New functions.
937 938 939 940 941 942 943 944 945 946 947 948 949 950 951 952 953 954 955 956 957 958 959 960
	(display-buffer): Major rewrite.
	(display-buffer-other-window, display-buffer-other-frame)
	(pop-to-buffer, switch-to-buffer-other-window)
	(switch-to-buffer-other-frame): Rewrite.
	(display-buffer-same-window, display-buffer-same-frame)
	(display-buffer-same-frame-other-window)
	(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): New functions.
	(same-window-p, special-display-p): Rewrite disabling warnings.
	Make obsolete.
	(pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
	(display-buffer-mark-dedicated): Initialize to symbol 'unset.
	Make obsolete
	(same-window-buffer-names, same-window-regexps)
	(special-display-frame-alist, special-display-popup-frame)
	(special-display-function, special-display-buffer-names)
	(special-display-regexps, pop-up-frame-alist)
	(pop-up-frame-function, split-window-preferred-function)
	(split-height-threshold, split-width-threshold)
	(even-window-heights): Make obsolete.

961 962 963
2011-06-12  Glenn Morris  <rgm@gnu.org>

	* term/xterm.el (terminal-init-xterm): `version' may be nil.  (Bug#8838)
964
	Misc simplifications.
965

966 967 968 969 970 971
2011-06-12  Martin Rudalics  <rudalics@gmx.at>

	* window.el (window-safely-shrinkable-p): Restore function which
	was inadvertently removed in change from 2011-06-11.  Declare as
	obsolete.

972 973
	* calendar/calendar.el (calendar-generate-window):
	Use window-iso-combined-p instead of combination of one-window-p and
974 975
	window-safely-shrinkable-p.

976 977 978 979 980 981 982
2011-06-12  Glenn Morris  <rgm@gnu.org>

	* progmodes/fortran.el (fortran-mode-syntax-table):
	* progmodes/f90.el (f90-mode-syntax-table):
	Set % to punctuation.  (Bug#8820)
	(f90-find-tag-default): Remove, no longer needed.

983 984 985 986
2011-06-12  Daniel Colascione  <dan.colascione@gmail.com>

	* emacs-lisp/syntax.el (syntax-ppss): Clarify which items are invalid.

987 988 989 990 991 992 993 994
2011-06-11  Chong Yidong  <cyd@stupidchicken.com>

	* image.el (image-animated-p): Return animation delay in seconds.
	Avoid bit manipulation in Lisp; use `delay' entry in the metadata.
	(image-animate-timeout): Remove DELAY argument.  Don't assume
	every subimage has the same delay; get it from image-animated-p.
	(image-animate): Caller changed.

995 996 997 998 999
2011-06-11  Michael Albinus  <michael.albinus@gmx.de>

	* net/tramp.el (tramp-debug-message): Add `tramp-with-progress-reporter'
	to ignored backtrace functions.

1000 1001 1002 1003 1004
2011-06-11  Glenn Morris  <rgm@gnu.org>

	* calendar/appt.el (appt-disp-window-function): Doc fix.
	(appt-check): Handle overlapping appointments.  (Bug#8337)

1005 1006 1007 1008 1009 1010 1011 1012 1013 1014 1015 1016 1017
2011-06-11  Martin Rudalics  <rudalics@gmx.at>

	* window.el (window-tree-1, window-tree): New functions, moving
	the latter to window.el.
	(bw-get-tree, bw-get-tree-1, bw-find-tree-sub)
	(bw-find-tree-sub-1, bw-l, bw-t, bw-r, bw-b, bw-dir, bw-eqdir)
	(bw-refresh-edges): Remove.
	(balance-windows-1, balance-windows-2): New functions.
	(balance-windows): Rewrite in terms of window tree functions,
	balance-windows-1 and balance-windows-2.
	(bw-adjust-window): Remove.
	(balance-windows-area-adjust): New function with functionality of
	bw-adjust-window but using resize-window.
1018 1019 1020 1021
	(set-window-text-height): Rewrite doc-string.
	Use normalize-live-window and resize-window.
	(enlarge-window-horizontally, shrink-window-horizontally):
	Rename argument to DELTA.
1022 1023 1024
	(window-buffer-height): New function.
	(fit-window-to-buffer, shrink-window-if-larger-than-buffer):
	Rewrite using new window resize routines.
1025 1026
	(kill-buffer-and-window, mouse-autoselect-window-select):
	Use ignore-errors instead of condition-case.
1027 1028 1029
	(quit-window): Call delete-frame instead of delete-windows-on
	for the only buffer on frame.

1030 1031 1032 1033 1034 1035 1036
2011-06-10  Martin Rudalics  <rudalics@gmx.at>

	* loadup.el (top-level): Load window before files for the sake
	of replace-buffer-in-windows.

	* files.el (read-buffer-to-switch)
	(switch-to-buffer-other-window)
1037 1038
	(switch-to-buffer-other-frame, display-buffer-other-frame):
	Move to window.el.
1039 1040 1041 1042 1043 1044 1045 1046 1047 1048 1049 1050 1051 1052 1053

	* simple.el (get-next-valid-buffer, last-buffer, next-buffer)
	(previous-buffer): Move to window.el.

	* bindings.el (unbury-buffer): Move to window.el.

	* window.el (delete-other-windows-vertically): Move after
	definition of delete-other-windows.
	(other-window, delete-windows-on, replace-buffer-in-windows):
	Move here from window.c.
	(record-window-buffer, unrecord-window-buffer)
	(set-window-buffer-start-and-point, switch-to-prev-buffer)
	(switch-to-next-buffer): New functions.
	(get-next-valid-buffer, last-buffer, next-buffer): Move here
	from simple.el.  Call switch-to-next-buffer.
1054 1055
	(previous-buffer): Move here from simple.el.
	Call switch-to-prev-buffer.
1056 1057 1058 1059 1060 1061 1062 1063
	(bury-buffer): Move here from buffer.c.  Switch to previous
	buffer when window cannot be deleted.
	(unbury-buffer): Move here from bindings.el.
	(ctl-x-map): Move binding for other-window from window.c to
	here.
	(read-buffer-to-switch, switch-to-buffer-other-window)
	(switch-to-buffer-other-frame): Move here from files.el.
	(normalize-buffer-to-switch-to): New functions.
1064 1065
	(switch-to-buffer): Move here from buffer.c.
	Use read-buffer-to-switch and normalize-buffer-to-switch-to.
1066

1067 1068 1069 1070 1071 1072 1073 1074 1075 1076 1077 1078 1079
2011-06-10  Martin Rudalics  <rudalics@gmx.at>

	* window.el (window-min-height, window-min-width): Move here
	from window.c.  Add defcustoms and rewrite doc-strings.
	(resize-mini-window, resize-window): New functions.
	(adjust-window-trailing-edge, enlarge-window, shrink-window):
	Move here from window.c.
	(maximize-window, minimize-window): New functions.
	(delete-window, delete-other-windows, split-window): Move here
	from window.c.
	(window-split-min-size): New function.
	(split-window-keep-point): Mention split-window-above-each-other
	instead of split-window-vertically.
1080 1081
	(split-window-above-each-other, split-window-vertically):
	Rename split-window-vertically to split-window-above-each-other and
1082 1083 1084 1085 1086 1087 1088 1089 1090 1091 1092 1093 1094 1095
	provide defalias for old definition.
	(split-window-side-by-side, split-window-horizontally): Rename
	split-window-horizontally to split-window-side-by-side and provide
	defalias for the old definition.
	(ctl-x-map): Move bindings for delete-window,
	delete-other-windows and enlarge-window here from window.c.
	Replace bindings for split-window-vertically and
	split-window-horizontally by bindings for
	split-window-above-each-other and split-window-side-by-side.

	* cus-start.el (all): Remove entries for window-min-height and
	window-min-width.  Add entries for window-splits and
	window-nest.

1096 1097
2011-06-09  Glenn Morris  <rgm@gnu.org>

1098 1099 1100
	* calendar/appt.el (appt-mode-line): New function.
	(appt-check, appt-disp-window): Use it.

1101 1102 1103
	* files.el (hack-one-local-variable-eval-safep):
	Allow minor-modes with explicit +/-1 arguments.

1104 1105 1106 1107 1108 1109 1110 1111 1112
2011-06-09  Teodor Zlatanov  <tzz@lifelogs.com>

	* term/xterm.el (xterm): Add defgroup.
	(xterm-extra-capabilities): Add defcustom to supply known xterm
	capabilities, skip querying them, or query them (default).
	(terminal-init-xterm): Use it.
	(terminal-init-xterm-modify-other-keys): New function to set up
	modifyOtherKeys support to simplify `terminal-init-xterm'.

1113 1114 1115 1116 1117 1118 1119 1120 1121
2011-06-09  Martin Rudalics  <rudalics@gmx.at>

	* window.el (resize-window-reset, resize-window-reset-1)
	(resize-subwindows-skip-p, resize-subwindows-normal)
	(resize-subwindows, resize-other-windows, resize-this-window)
	(resize-root-window, resize-root-window-vertically)
	(window-deletable-p, window-or-subwindow-p)
	(frame-root-window-p): New functions.

1122 1123 1124 1125 1126
2011-06-09  Glenn Morris  <rgm@gnu.org>

	* net/ange-ftp.el (ange-ftp-switches-ok): New function.
	(ange-ftp-get-files): Use it.

1127 1128 1129 1130 1131 1132
2011-06-09  Alexander Klimov  <alserkli@inbox.ru>  (tiny change)

	* mail/sendmail.el (mail-recover-1, mail-recover):
	* files.el (recover-file, recover-session):
	Handle dired-listing-switches not being just a single short option.

1133 1134 1135 1136 1137
2011-06-09  Glenn Morris  <rgm@gnu.org>

	* calendar/appt.el (appt-display-message, appt-disp-window):
	Handle lists of appointments.

1138 1139
2011-06-08  Martin Rudalics  <rudalics@gmx.at>

1140 1141 1142 1143
	* window.el (one-window-p): Move down in code.
	Rewrite doc-string.
	(window-current-scroll-bars): Rewrite doc-string.
	Normalize live window argument.
1144 1145 1146 1147 1148
	(walk-windows, get-window-with-predicate, count-windows):
	Rewrite doc-string.  Use window-list-1.
	(window-in-direction-2, window-in-direction, get-mru-window):
	New functions.

1149
2011-06-08  Reuben Thomas  <rrt@sc3d.org>
1150 1151 1152 1153 1154 1155 1156 1157 1158 1159 1160 1161 1162

	* progmodes/flymake.el (flymake-compilation-prevents-syntax-check):
	Doc fix (Bug#8713).

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

	* repeat.el (repeat-on-final-keystroke): Fix type (Bug#8696).

2011-06-08  Juanma Barranquero  <lekktu@gmail.com>

	* loadhist.el (unload-feature-special-hooks):
	Add `comint-output-filter-functions'.

1163 1164 1165 1166
2011-06-08  Ivan Kanis  <gnu@kanis.fr>

	* calendar/appt.el (appt-check): Move some initializations into the let.

1167 1168 1169 1170 1171
2011-06-08  Martin Rudalics  <rudalics@gmx.at>

	* window.el (window-height): Defalias to window-total-height.
	(window-width): Defalias to window-body-width.

1172 1173 1174 1175 1176 1177 1178 1179 1180 1181
2011-06-07  Chong Yidong  <cyd@stupidchicken.com>

	* image-mode.el (image-toggle-animation): New command.
	(image-mode-map): Bind it to RET.
	(image-mode): Update message.
	(image-toggle-display-image): Avoid a spurious cache flush.
	(image-transform-rotation): Doc fix.
	(image-transform-properties): Return quickly in the normal case.
	(image-animate-loop): Rename from image-animate-max-time.

1182
	* image.el (image-animate-max-time): Move to image-mode.el.
1183 1184
	(create-animated-image): Remove unnecessary function.
	(image-animate): Rename from image-animate-start.  New arg.
1185
	(image-animate-stop): Remove; just use image-animate-timer.
1186 1187 1188
	(image-animate-timer): Use car-safe.
	(image-animate-timeout): Rename argument.

1189 1190 1191
2011-06-07  Martin Rudalics  <rudalics@gmx.at>

	* window.el (get-lru-window, get-largest-window): Move here from
1192 1193 1194 1195
	window.c.  Rename first argument to ALL-FRAMES.
	Rephrase doc-strings.
	(get-buffer-window-list): Rewrite using window-list-1.
	Rephrase doc-string.
1196 1197 1198 1199 1200 1201 1202 1203 1204 1205
	(window-safe-min-height, window-safe-min-width): New constants.
	(window-size-ignore, window-min-size, window-min-size-1)
	(window-sizable, window-sizable-p, window-size-fixed-1)
	(window-size-fixed-p, window-min-delta-1, window-min-delta)
	(window-max-delta-1, window-max-delta, window-resizable)
	(window-resizable-p, window-total-height, window-total-width)
	(window-body-width): New functions.
	(window-full-height-p, window-full-width-p): Rewrite using
	window-total-size.
	(window-body-height): Rewrite using window-body-size.
1206

1207 1208 1209 1210 1211 1212 1213 1214 1215 1216 1217
2011-06-06  Martin Rudalics  <rudalics@gmx.at>

	* window.el (window-right, window-left, window-child)
	(window-child-count, window-last-child, window-any-p)
	(normalize-live-buffer, normalize-live-frame)
	(normalize-any-window, normalize-live-window)
	(window-iso-combination-p, window-iso-combined-p)
	(window-iso-combinations)
	(walk-window-tree-1, walk-window-tree, walk-window-subtree)
	(windows-with-parameter, window-with-parameter)
	(window-atom-root, make-window-atom, window-atom-check-1)
1218 1219
	(window-atom-check, window-side-check, window-check):
	New functions.
1220 1221 1222 1223
	(ignore-window-parameters, window-sides, window-sides-vertical)
	(window-sides-slots): New variables.
	(window-size-fixed): Move down in code.  Minor doc-string fix.

1224 1225 1226 1227 1228 1229
2011-06-05  Andreas Schwab  <schwab@linux-m68k.org>

	* comint.el (comint-dynamic-complete-as-filename)
	(comint-dynamic-complete-filename): Correctly call
	completion-in-region.

1230 1231 1232 1233 1234
2011-06-05  Deniz Dogan  <deniz@dogan.se>

	* net/rcirc.el (rcirc-prompt-for-encryption): Fix bug introduced
	in last change.

1235 1236 1237 1238 1239
2011-06-05  Deniz Dogan  <deniz@dogan.se>

	* net/rcirc.el (rcirc-prompt-for-encryption): New function.
	(rcirc): Use it to prompt for encryption.

1240 1241 1242 1243 1244 1245
2011-06-05  Roland Winkler  <winkler@gnu.org>

	* textmodes/bibtex.el (bibtex-search-buffer): New variable.
	(bibtex-search-entries): New command bound to C-c C-a.
	(bibtex-display-entries): New function.

1246 1247 1248 1249 1250 1251 1252 1253 1254
2011-06-05  Roland Winkler  <winkler@gnu.org>

	* textmodes/bibtex.el (bibtex-generate-url-list): Fix docstring.
	(bibtex-insert-kill): After yanking insert newline if necessary.
	(bibtex-initialize): Call bibtex-string-files-init only once.
	(bibtex-mode): Do not call easy-menu-add.
	(bibtex-validate-globally): Use save-excursion in bibtex buffers.
	(bibtex-yank): Set arg properly if nil.

1255 1256
2011-06-05  Roland Winkler  <winkler@gnu.org>

1257 1258
	* textmodes/bibtex.el (bibtex-search-entry-globally):
	New variable.
1259 1260
	(bibtex-search-entry): Use it.

1261 1262 1263 1264 1265 1266 1267
2011-06-05  Roland Winkler  <winkler@gnu.org>

	* textmodes/bibtex.el (bibtex-entry-format): New option
	sort-fields.
	(bibtex-format-entry, bibtex-reformat): Honor this option.
	(bibtex-parse-entry): Return fields in proper order.

1268 1269 1270 1271 1272
2011-06-05  Juanma Barranquero  <lekktu@gmail.com>

	* doc-view.el (doc-view-remove-if): Move computation of result out
	of `dolist' to silence misleading lexical-binding warning.

1273 1274 1275 1276 1277
2011-06-04  Chong Yidong  <cyd@stupidchicken.com>

	* emacs-lisp/timer.el (timer-activate): Remove unused arg.
	(timer-activate, timer-activate-when-idle): Doc fix (Bug#8793).

1278 1279 1280 1281 1282
2011-06-04  Michael Albinus  <michael.albinus@gmx.de>

	* net/tramp-sh.el (tramp-find-shell): Apply workaround also for
	"SunOS 5.10".

1283 1284 1285 1286 1287 1288 1289 1290 1291 1292 1293 1294 1295 1296 1297 1298 1299 1300
2011-06-04  Michael Albinus  <michael.albinus@gmx.de>

	* net/tramp.el (tramp-set-completion-function, tramp-parse-rhosts)
	(tramp-parse-shosts, tramp-parse-sconfig, tramp-parse-shostkeys)
	(tramp-parse-hosts, tramp-parse-passwd, tramp-parse-netrc)
	(tramp-parse-putty):
	* net/tramp-sh.el (tramp-completion-function-alist-rsh)
	(tramp-completion-function-alist-ssh)
	(tramp-completion-function-alist-telnet)
	(tramp-completion-function-alist-su)
	(tramp-completion-function-alist-putty): Set `tramp-autoload'
	cookie.

	* net/tramp-ftp.el:
	* net/tramp-sh.el:
	* net/tramp-smb.el: Set `tramp-autoload' cookie, and eval after
	load "tramp.el" `tramp-set-completion-function'.

1301 1302 1303 1304 1305 1306
2011-06-04  Stefan Monnier  <monnier@iro.umontreal.ca>

	* shell.el: Require and use pcomplete.
	(shell-dynamic-complete-functions): Add pcomplete-completions-at-point.
	(shell-completion-vars): Set pcomplete-default-completion-function.

1307 1308 1309 1310 1311
2011-06-04  Deniz Dogan  <deniz@dogan.se>

	* iswitchb.el (iswitchb-window-buffer-p): Use `member' instead of
	`memq' (Bug#8799).

1312 1313 1314 1315
2011-06-02  Stefan Monnier  <monnier@iro.umontreal.ca>

	* subr.el (make-progress-reporter): Add "..." by default (bug#8785).

1316 1317 1318 1319 1320 1321 1322 1323 1324
2011-06-02  Juanma Barranquero  <lekktu@gmail.com>

	* bs.el (bs--mark-unmark, bs--nth-wrapper):
	* mpc.el (mpc-select-extend, mpc-songpointer-context):
	* vc/log-view.el (log-view-beginning-of-defun):
	* vc/smerge-mode.el (smerge-apply-resolution-patch)
	(smerge-refine-forward, smerge-refine-chopup-region):
	Silence warning for unused `dotimes' counter variables.

1325 1326 1327 1328 1329 1330 1331 1332
2011-06-02  Stefan Monnier  <monnier@iro.umontreal.ca>

	* net/tramp.el (tramp-with-progress-reporter): Rename from
	with-progress-reporter.  Use `declare'.
	* net/tramp-smb.el:
	* net/tramp-sh.el:
	* net/tramp-gvfs.el: Update all uses.

1333 1334 1335 1336 1337
2011-06-02  Jay Belanger  <jay.p.belanger@gmail.com>

	* calc/calc.el (calc-kill-stack-buffer): Make sure that the trail
	buffer isn't killed before making it current.

1338 1339 1340 1341 1342 1343 1344 1345 1346 1347 1348 1349 1350 1351 1352 1353 1354 1355 1356 1357 1358 1359 1360 1361 1362 1363 1364 1365
2011-06-01  Stefan Monnier  <monnier@iro.umontreal.ca>

	Silence various byte-compiler warnings.
	* emacs-lisp/byte-run.el (make-obsolete-variable): New argument
	`access-type' and new obsolescence format.
	* emacs-lisp/bytecomp.el (byte-compile-warn-obsolete): Adjust to
	new format.
	(byte-compile-check-variable): New `access-type' argument.
	Only warn if the access-type is obsolete.
	(byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
	(byte-compile-variable-set): Adjust callers.
	* help-fns.el (describe-variable): Adjust to new obsolescence format.
	* mail/sendmail.el (mail-mailer-swallows-blank-line): Only mark
	setting it as obsolete.
	* simple.el (minibuffer-completing-symbol):
	* font-lock.el (font-lock-beginning-of-syntax-function): Only mark read
	access as obsolete.
	* minibuffer.el (minibuffer-completing-file-name): Don't make it
	obsolete yet.
	* international/quail.el (quail-mouse-choose-completion): Remove unused
	code referring to obsolete var.
	(quail-choose-completion-string): Remove.
	* server.el (server-clients-with, server-kill-buffer-query-function)
	(server-kill-emacs-query-function): Silence "unused `proc'" warnings.
	* proced.el (proced-send-signal):
	* emacs-lisp/lisp.el (lisp-complete-symbol):
	Replace completion-annotate-function with completion-extra-properties.

Stefan Monnier's avatar
Stefan Monnier committed
1366 1367
2011-06-01  Stefan Monnier  <monnier@iro.umontreal.ca>

1368 1369 1370 1371 1372 1373 1374