ChangeLog 157 KB
Newer Older
1 2 3 4
2011-06-23  Richard Stallman  <rms@gnu.org>

	* mail/rmail.el (rmail-retry-ignored-headers): Add message-id.

5 6 7 8 9
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.

10 11 12 13 14 15 16 17 18 19
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>.

20 21 22 23 24
2011-06-22  Leo Liu  <sdl.web@gmail.com>

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

25 26
2011-06-22  Richard Stallman  <rms@gnu.org>

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

30 31 32
	* mail/rmailmm.el (rmail-insert-mime-forwarded-message):
	Copy the buffer currently showing just one message.

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

43 44 45 46 47 48
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.

49 50 51 52 53
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.

54 55 56 57
2011-06-22  Lars Magne Ingebrigtsen  <larsi@gnus.org>

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

61 62 63 64 65
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>.
66
	(split-window): Normalize SIDE argument (Bug#8916).
67 68 69 70 71

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

72 73
2011-06-21  Lars Magne Ingebrigtsen  <larsi@gnus.org>

74 75 76 77 78 79 80 81 82
	* mail/smtpmail.el (smtpmail-via-smtp): Set
	:use-starttls-if-possible so that we always use STARTTLS if the
	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.

83 84 85 86 87 88
	* 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:
	(smtpmail-auth-credentials): Removed.
	(smtpmail-starttls-credentials): Removed.
89 90
	(smtpmail-via-smtp): Check for servers saying they want AUTH after
	MAIL FROM, too.
91

92 93 94 95 96
	* net/network-stream.el (network-stream-open-starttls): Provide
	support for client certificates both for external and built-in
	STARTTLS.
	(auth-source): Require.
	(open-network-stream): Document the :client-certificate keyword.
97 98
	(network-stream-certificate): Change cert-cert to cert and
	cert-key to key.
99

100 101 102 103 104
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.

105 106 107 108 109 110
2011-06-21  Tim Harper  <timcharper@gmail.com>

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

111 112 113 114 115
2011-06-21  Juanma Barranquero  <lekktu@gmail.com>

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

116 117 118 119
2011-06-21  Leo Liu  <sdl.web@gmail.com>

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

120 121 122 123 124 125 126 127 128 129 130 131 132
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.
133 134 135 136 137
	(display-buffer-alist, display-buffer-default-specifiers): Don't
	make new frame unsplittable by default.
	(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.
138

139 140 141 142 143 144 145
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.

146 147 148 149 150
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).

151 152 153 154
2011-06-21  Drew Adams <drew.adams@oracle.com>

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

157 158 159 160 161
2011-06-21  Stefan Monnier  <monnier@iro.umontreal.ca>

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

162 163 164 165 166 167 168
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).

169 170
2011-06-20  Stefan Monnier  <monnier@iro.umontreal.ca>

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

175
	* wid-edit.el: Use lex-bind and move towards completion-at-point.
176 177 178
	(widget-complete): Use new :completion-function property.
	(widget-completions-at-point): New function.
	(default): Use :completion-function instead of :complete.
179 180
	(widget-default-completions): Rename from widget-default-complete;
	Rewrite.
181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211
	(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.

212 213 214 215
2011-06-20  Deniz Dogan  <deniz@dogan.se>

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

216 217 218 219
2011-06-20  Daniel Colascione  <dan.colascione@gmail.com>

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

220 221
2011-06-19  Chong Yidong  <cyd@stupidchicken.com>

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

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

226 227 228 229 230 231 232 233 234 235 236
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
237 238
	display-buffer-normalize-alist.
	Call display-buffer-normalize-alist-1.
239 240 241 242 243 244 245 246
	(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.
247 248
	(window-list-no-nils, window-state-ignored-parameters)
	(window-state-get-1, window-state-get, window-state-put-list)
249 250
	(window-state-put-1, window-state-put-2, window-state-put):
	New functions.
251 252
	(display-buffer-normalize-options): Move special-display-p group
	after pop-up-frame group (Bug#8851) and (Bug#8856).
253

254 255
2011-06-18  Chong Yidong  <cyd@stupidchicken.com>

256 257 258 259 260
	* emacs-lisp/rx.el (rx-constituents): Add support for numbered
	groups (Bug#8776).
	(rx-submatch-n): New function.
	(rx): Document it.

261 262 263 264 265
	* dired-x.el (dired-mark-unmarked-files): Fix interactive spec
	(Bug#8768).

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

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

268 269 270
	* cus-face.el (custom-declare-face): Call custom-theme-recalc face
	anytime existing face settings are present (Bug#8889).

271 272 273 274
	* progmodes/delphi.el (delphi-mode-syntax-table): Use defvar.
	(delphi-mode): Use define-derived-mode to inherit from prog-mode.
	Remove unused argument.

275 276
2011-06-18  Martin Rudalics  <rudalics@gmx.at>

277 278
	* window.el (display-buffer-default-specifiers):
	Remove pop-up-frame.  Add pop-up-window-min-height,
279 280
	pop-up-window-min-width, and another reuse-window specifier
	(Bug#8882).  Reported by Dan Nicolaescu <dann@gnu.org>.
281 282
	(display-buffer-normalize-specifiers-2):
	Handle split-height-threshold and split-width-threshold also when
283 284 285
	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.
286
	(display-buffer-normalize-specifiers-1): Fix thinko.
287

288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303
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.

304 305 306 307 308 309 310 311 312 313 314 315 316 317
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.
318 319
	(display-buffer-normalize-specifiers):
	Call display-buffer-normalize-specifiers-3.
320

321 322 323 324
2011-06-17  Martin Rudalics  <rudalics@gmx.at>

	* window.el (same-window-p): Fix two typos introduced when
	adding with-no-warnings.
325 326 327 328 329 330 331 332 333
	(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.
334 335
	(display-buffer-macro-specifiers): Don't pop up a new frame in the
	other window case.
336

337 338
2011-06-16  Martin Rudalics  <rudalics@gmx.at>

339 340
	* window.el (display-buffer-normalize-specifiers-1):
	Respect current value of pop-up-frames for most reasonable values of
341
	second argument of display-buffer (Bug#8865).
342 343 344 345
	(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).
346 347 348 349
	(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).
350 351
	(enlarge-window, shrink-window): Don't report an error when the
	window can't be resized as requested (Bug#8862).
352

353 354
2011-06-15  Stefan Monnier  <monnier@iro.umontreal.ca>

355 356
	* pcmpl-rpm.el (pcomplete/rpm): Minor simplification.

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

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

361 362
2011-06-15  Alan Mackenzie  <acm@muc.de>

363 364 365
	* 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.
366

367 368
2011-06-15  Lars Magne Ingebrigtsen  <larsi@gnus.org>

369 370 371 372 373
	* 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).

374
	* subr.el (process-live-p): Rename from `process-alive-p' for
375 376
	consistency with other `-live-p' functions.

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

389 390 391 392 393
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):
394
	* progmodes/cfengine.el (cfengine-mode):
395 396
	* progmodes/ld-script.el (ld-script-mode): Likewise.

397 398 399 400 401 402 403 404
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).

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

411 412 413 414
2011-06-13  Glenn Morris  <rgm@gnu.org>

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

415 416
2011-06-13  Martin Rudalics  <rudalics@gmx.at>

417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441
	* 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.
442 443
	(view-mode-exit): Rename second argument to EXIT-ONLY.
	Rewrite using quit-restore-window.
444 445 446 447 448
	(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.

449 450 451 452 453 454 455 456 457 458 459 460 461 462
	* 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)
463 464
	(display-buffer-normalize-specifiers, display-buffer-frame):
	New functions.
465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 487 488
	(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.

489 490 491
2011-06-12  Glenn Morris  <rgm@gnu.org>

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

494 495 496 497 498 499
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.

500 501
	* calendar/calendar.el (calendar-generate-window):
	Use window-iso-combined-p instead of combination of one-window-p and
502 503
	window-safely-shrinkable-p.

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

511 512 513 514
2011-06-12  Daniel Colascione  <dan.colascione@gmail.com>

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

515 516 517 518 519 520 521 522
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.

523 524 525 526 527
2011-06-11  Michael Albinus  <michael.albinus@gmx.de>

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

528 529 530 531 532
2011-06-11  Glenn Morris  <rgm@gnu.org>

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

533 534 535 536 537 538 539 540 541 542 543 544 545
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.
546 547 548 549
	(set-window-text-height): Rewrite doc-string.
	Use normalize-live-window and resize-window.
	(enlarge-window-horizontally, shrink-window-horizontally):
	Rename argument to DELTA.
550 551 552
	(window-buffer-height): New function.
	(fit-window-to-buffer, shrink-window-if-larger-than-buffer):
	Rewrite using new window resize routines.
553 554
	(kill-buffer-and-window, mouse-autoselect-window-select):
	Use ignore-errors instead of condition-case.
555 556 557
	(quit-window): Call delete-frame instead of delete-windows-on
	for the only buffer on frame.

558 559 560 561 562 563 564
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)
565 566
	(switch-to-buffer-other-frame, display-buffer-other-frame):
	Move to window.el.
567 568 569 570 571 572 573 574 575 576 577 578 579 580 581

	* 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.
582 583
	(previous-buffer): Move here from simple.el.
	Call switch-to-prev-buffer.
584 585 586 587 588 589 590 591
	(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.
592 593
	(switch-to-buffer): Move here from buffer.c.
	Use read-buffer-to-switch and normalize-buffer-to-switch-to.
594

595 596 597 598 599 600 601 602 603 604 605 606 607
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.
608 609
	(split-window-above-each-other, split-window-vertically):
	Rename split-window-vertically to split-window-above-each-other and
610 611 612 613 614 615 616 617 618 619 620 621 622 623
	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.

624 625
2011-06-09  Glenn Morris  <rgm@gnu.org>

626 627 628
	* calendar/appt.el (appt-mode-line): New function.
	(appt-check, appt-disp-window): Use it.

629 630 631
	* files.el (hack-one-local-variable-eval-safep):
	Allow minor-modes with explicit +/-1 arguments.

632 633 634 635 636 637 638 639 640
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'.

641 642 643 644 645 646 647 648 649
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.

650 651 652 653 654
2011-06-09  Glenn Morris  <rgm@gnu.org>

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

655 656 657 658 659 660
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.

661 662 663 664 665
2011-06-09  Glenn Morris  <rgm@gnu.org>

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

666 667
2011-06-08  Martin Rudalics  <rudalics@gmx.at>

668 669 670 671
	* window.el (one-window-p): Move down in code.
	Rewrite doc-string.
	(window-current-scroll-bars): Rewrite doc-string.
	Normalize live window argument.
672 673 674 675 676
	(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.

677 678 679 680 681 682 683 684 685 686 687 688 689 690
2011-06-08  Reuben Thomas <rrt@sc3d.org>

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

691 692 693 694
2011-06-08  Ivan Kanis  <gnu@kanis.fr>

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

695 696 697 698 699
2011-06-08  Martin Rudalics  <rudalics@gmx.at>

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

700 701 702 703 704 705 706 707 708 709
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.

710
	* image.el (image-animate-max-time): Move to image-mode.el.
711 712
	(create-animated-image): Remove unnecessary function.
	(image-animate): Rename from image-animate-start.  New arg.
713
	(image-animate-stop): Remove; just use image-animate-timer.
714 715 716
	(image-animate-timer): Use car-safe.
	(image-animate-timeout): Rename argument.

717 718 719
2011-06-07  Martin Rudalics  <rudalics@gmx.at>

	* window.el (get-lru-window, get-largest-window): Move here from
720 721 722 723
	window.c.  Rename first argument to ALL-FRAMES.
	Rephrase doc-strings.
	(get-buffer-window-list): Rewrite using window-list-1.
	Rephrase doc-string.
724 725 726 727 728 729 730 731 732 733
	(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.
734

735 736 737 738 739 740 741 742 743 744 745
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)
746 747
	(window-atom-check, window-side-check, window-check):
	New functions.
748 749 750 751
	(ignore-window-parameters, window-sides, window-sides-vertical)
	(window-sides-slots): New variables.
	(window-size-fixed): Move down in code.  Minor doc-string fix.

752 753 754 755 756 757
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.

758 759 760 761 762
2011-06-05  Deniz Dogan  <deniz@dogan.se>

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

763 764 765 766 767
2011-06-05  Deniz Dogan  <deniz@dogan.se>

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

768 769 770 771 772 773
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.

774 775 776 777 778 779 780 781 782
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.

783 784
2011-06-05  Roland Winkler  <winkler@gnu.org>

785 786
	* textmodes/bibtex.el (bibtex-search-entry-globally):
	New variable.
787 788
	(bibtex-search-entry): Use it.

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

796 797 798 799 800
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.

801 802 803 804 805
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).

806 807 808 809 810
2011-06-04  Michael Albinus  <michael.albinus@gmx.de>

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

811 812 813 814 815 816 817 818 819 820 821 822 823 824 825 826 827 828
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'.

829 830 831 832 833 834
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.

835 836 837 838 839
2011-06-04  Deniz Dogan  <deniz@dogan.se>

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

840 841 842 843
2011-06-02  Stefan Monnier  <monnier@iro.umontreal.ca>

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

844 845 846 847 848 849 850 851 852
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.

853 854 855 856 857 858 859 860
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.

861 862 863 864 865
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.

866 867 868 869 870 871 872 873 874 875 876 877 878 879 880 881 882 883 884 885 886 887 888 889 890 891 892 893
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
894 895
2011-06-01  Stefan Monnier  <monnier@iro.umontreal.ca>

896 897 898 899 900 901 902 903 904 905
	* simple.el (goto-line): Use read-number.
	(overriding-map-is-bound): Remove.
	(saved-overriding-map): Change default.
	(save&set-overriding-map): Rename from ensure-overriding-map-is-bound;
	Take the map as argument.
	(universal-argument, negative-argument, digit-argument): Use it.
	(restore-overriding-map): Adjust.
	(do-auto-fill): Use fill-forward-paragraph.
	(keyboard-quit): Don't signal an error when debug-on-quit is non-nil.

906 907 908 909 910 911
	* minibuffer.el (minibuffer-inactive-mode-map): New var.
	(minibuffer-inactive-mode): New major mode.
	* mouse.el (mouse-drag-region): Remove the "mouse-1 pops up
	the *Messages* buffer" hack.
	(mouse-popup-menubar): Don't burp if the event is a normal key.

Stefan Monnier's avatar
Stefan Monnier committed
912 913 914 915 916 917 918 919 920 921 922 923 924 925
	Miscellaneous tweaks.
	* emacs-lisp/cl-macs.el (dolist, dotimes): Use the same strategy for
	lexical scoping as in subr.el's dolist and dotimes.
	* emacs-lisp/bytecomp.el (byte-compile-unfold-bcf):
	Silence compiler warning.
	* thingatpt.el (forward-whitespace): Trivial coding style fix.
	* subr.el (with-output-to-temp-buffer): Provide an edebug spec.
	* international/ccl.el (ccl-compile): Trivial simplification.
	* help-fns.el (help-do-arg-highlight): Silence compiler warning.
	* emacs-lisp/testcover.el (testcover-end): Remove spurious
	`printflag' argument.
	* emacs-lisp/byte-run.el (make-obsolete, make-obsolete-variable):
	Purecopy the whole obsolescence data.

926 927 928 929 930 931 932
2011-06-01  Leo Liu  <sdl.web@gmail.com>

	* net/rcirc.el (rcirc-decode-coding-system): Revert last change;
	improve doc-string as suggested by Marco Pessotto
	<melmothx@gmail.com>.
	(rcirc-print): Fix last change.

933 934 935 936 937 938 939 940 941 942 943 944
2011-05-31  Stefan Monnier  <monnier@iro.umontreal.ca>

	* minibuffer.el (complete-with-action): Return nil for the metadata and
	boundaries of non-functional tables.
	(completion-table-dynamic): Return nil for the metadata.
	(completion-table-with-terminator): Add default case, using
	complete-with-action.
	(completion--metadata): New function.
	(completion-all-sorted-completions, minibuffer-completion-help): Use it
	to try and avoid pathological performance problems.
	(completion--embedded-envvar-table): Return `category' metadata.

945 946 947 948
2011-05-31  Lars Magne Ingebrigtsen  <larsi@gnus.org>

	* subr.el (process-alive-p): New tiny convenience function.

949 950 951 952 953
2011-05-31  Stefan Monnier  <monnier@iro.umontreal.ca>

	* emacs-lisp/debug.el (debug): Save&restore not just the buffer's
	content but also its previous major mode.

954 955 956 957 958
2011-05-31  Helmut Eller  <eller.helmut@gmail.com>

	* debug.el (debug): Restore the previous content of the
	*Backtrace* buffer when we exit with C-M-c.

959 960 961 962 963 964 965 966 967 968 969 970 971 972 973 974 975 976 977 978 979
2011-05-31  Stefan Monnier  <monnier@iro.umontreal.ca>

	* minibuffer.el: Add metadata method to completion tables.
	(completion-category-overrides): New defcustom.
	(completion-metadata, completion--field-metadata)
	(completion-metadata-get, completion--styles)
	(completion--cycle-threshold): New functions.
	(completion-try-completion, completion-all-completions):
	Add `metadata' argument to choose completion-styles.
	(completion--do-completion): Use metadata to choose cycling.
	(completion-all-sorted-completions): Use metadata for sorting.
	Remove :completion-cycle-penalty which is not needed any more.
	(completion--try-word-completion): Add `metadata' argument.
	(minibuffer-completion-help): Check metadata for annotation function
	and sorting.
	(completion-file-name-table): Return `category' metadata.
	(minibuffer-completing-file-name): Make obsolete.
	* simple.el (minibuffer-completing-symbol): Make obsolete.
	* icomplete.el (icomplete-completions): Pass new `metadata' param to
	completion-try-completion.

980 981 982 983
2011-05-30  Stefan Monnier  <monnier@iro.umontreal.ca>

	* mail/smtpmail.el (smtpmail-send-data): Add progress reporter.

984 985 986
2011-05-30  Leo Liu  <sdl.web@gmail.com>

	* net/rcirc.el (rcirc-debug-buffer): Use visible buffer name.
987 988 989
	(rcirc-print): Decode all incoming messages (bug#8744).
	(rcirc-decode-coding-system): Allow value nil for automatic coding
	system detection.
990

991 992 993 994
2011-06-01  Glenn Morris  <rgm@gnu.org>

	* mail/emacsbug.el (report-emacs-bug-hook): Mailclient ignores From.

Chong Yidong's avatar
Chong Yidong committed
995 996 997 998 999 1000 1001 1002 1003 1004 1005 1006 1007 1008 1009 1010
2011-05-29  Chong Yidong  <cyd@stupidchicken.com>

	* image.el (image-animate-max-time): Allow nil and t values.
	Default to nil.
	(create-animated-image): Doc fix.
	(image-animate-start): Remove second arg; just use
	image-animate-max-time.
	(image-animate-timeout): Doc fix.  Args changed.

	* image-mode.el (image-toggle-display-image): Ensure that the
	image spec passed to the animate timer is the same object as in
	the the buffer's display property (Bug#6981).
	(image-transform-properties): Doc fix.

	* image.el (image-animate-max-time): Default to nil.

1011 1012 1013 1014 1015
2011-05-29  Martin Rudalics  <rudalics@gmx.at>

	* menu-bar.el (kill-this-buffer-enabled-p): Avoid looping over
	entire buffer list (Bug#8184).

1016 1017 1018 1019 1020
2011-05-29  Chong Yidong  <cyd@stupidchicken.com>

	* image.el (imagemagick-types-inhibit)
	(imagemagick-register-types): Doc fix.

1021 1022 1023 1024 1025
2011-05-29  Deniz Dogan  <deniz@dogan.se>

	* net/rcirc.el (rcirc): Use the user's stored encryption method by
	default.

1026 1027 1028 1029 1030
2011-05-29  Chong Yidong  <cyd@stupidchicken.com>

	* select.el: Don't perform clipboard-manager saving in hooks;
	leave the hooks empty.

Leo Liu's avatar
Leo Liu committed
1031 1032 1033 1034 1035 1036 1037 1038
2011-05-28  Leo Liu  <sdl.web@gmail.com>

	* replace.el (occur-menu-map, occur-edit-mode-map): New vars.
	(occur-mode-map): Bind occur-edit-mode.  Use occur-menu-map.
	(occur-edit-mode): New major mode (Bug#8463).
	(occur-after-change-function): New function.
	(occur-engine): Give Occur tags a read-only property.

1039 1040 1041 1042
2011-05-28  Kevin Ryde  <user42@zip.com.au>

	* subr.el (def-edebug-spec): Doc fix (Bug#8430).

1043 1044
2011-05-28  Chong Yidong  <cyd@stupidchicken.com>

1045 1046 1047
	* bindings.el (help-echo): Make the initial non-indicator dash
	empty on graphical terminals (Bug#7295).

1048 1049 1050
	* files.el (auto-mode-alist): Move config rule after the
	in-stripping one (Bug#8547).

1051 1052
	* newcomment.el (comment-end-skip): Doc fix (Bug#8659).

1053 1054 1055
	* startup.el (normal-splash-screen): Remove gratuitous mode-line
	setting (Bug#8740).

1056 1057
2011-05-28  Alp Aker  <aker@pitt.edu>  (tiny change)

Alp Aker's avatar
Alp Aker committed
1058 1059 1060
	* buff-menu.el (Buffer-menu-revert-function, Buffer-menu-sort)
	(Buffer-menu-buffer+size): Use Buffer-menu-buffer-column
	(Bug#8539).
1061

1062 1063
2011-05-28  Chong Yidong  <cyd@stupidchicken.com>

1064

1065 1066
	* emacs-lisp/re-builder.el (re-builder): Improve doc (Bug#8286).

1067 1068 1069 1070 1071 1072 1073
2011-05-28  Dima Kogan  <dkogan@cds.caltech.edu>  (tiny change)

	* progmodes/hideshow.el (hs-looking-at-block-start-p): New fun.
	(hs-hide-block-at-point, hs-find-block-beginning)
	(hs-already-hidden-p, hs-hide-block, hs-show-block): Use it
	(Bug#8279).

1074 1075 1076 1077
2011-05-28  Glenn Morris  <rgm@gnu.org>

	* startup.el (fancy-about-screen): Use standard mode line.  (Bug#8740)

1078 1079
2011-05-28  Chong Yidong  <cyd@stupidchicken.com>

1080 1081 1082
	* help-fns.el (describe-function-1): If the function is a derived
	major mode, print the parent mode.

1083 1084 1085
	* progmodes/cc-mode.el (c-mode, c++-mode, objc-mode, java-mode)
	(idl-mode, pike-mode, awk-mode): Inherit from prog-mode.

1086 1087
2011-05-28  Stefan Monnier  <monnier@iro.umontreal.ca>

1088 1089 1090 1091 1092 1093 1094
	* minibuffer.el (completion--capf-wrapper): Check applicability before
	retuning non-nil for non-exclusive completion data.
	* progmodes/etags.el (tags-completion-at-point-function):
	* info-look.el (info-lookup-completions-at-point): Mark as
	non-exclusive.
	(info-complete): Adjust accordingly.

1095 1096 1097 1098
	* info-look.el: Convert to lexical-binding and completion-at-point.
	(info-lookup-completions-at-point): New function.
	(info-complete): Use it and completion-in-region.

1099 1100 1101 1102 1103 1104
2011-05-28  Drew Adams  <drew.adams@oracle.com>

	* isearch.el: Let M-e start with point at the first mismatched char.
	(isearch-fail-pos): New function.
	(isearch-edit-string): Use it.

1105 1106 1107 1108
2011-05-28  Dmitry Kurochkin  <dmitry.kurochkin@gmail.com>  (tiny change)

	* isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).

1109 1110 1111 1112 1113 1114 1115
2009-11-23  Toby Cubitt  <toby-predictive@dr-qubit.org>

	* emacs-lisp/avl-tree.el: New avl-tree-stack datatype.  Add new
	traversal functions for avl-trees.
	(avl-tree--stack): New struct.
	(avl-tree-stack-p, avl-tree--stack-repopulate): New funs.
	(avl-tree-enter): Add optional `updatefun' arg.
1116 1117
	(avl-tree--do-enter): Add optional `updatefun' arg.
	Change return value.
1118
	(avl-tree-delete): Add optional `test' and `nilflag' args.
1119 1120
	(avl-tree--do-delete): Add `test' and `nilflag' args.
	Change return value.
1121 1122 1123 1124 1125 1126
	(avl-tree-member): Add optional `nilflag'
	(avl-tree-member-p): New function.
	(avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar): New functions.
	(avl-tree-stack, avl-tree-stack-pop, avl-tree-stack-first)
	(avl-tree-stack-empty-p): New functions.

1127 1128 1129 1130 1131 1132 1133 1134 1135 1136 1137 1138
2009-11-23  Toby Cubitt  <toby-predictive@dr-qubit.org>

	* emacs-lisp/avl-tree.el (avl-tree--del-balance): Rename from
	avl-tree--del-balance1 and make it work both ways.
	(avl-tree--del-balance2): Remove.
	(avl-tree--enter-balance): Rename from avl-tree--enter-balance1 and
	make it work both ways.
	(avl-tree--enter-balance2): Remove.
	(avl-tree--switch-dir, avl-tree--dir-to-sign, avl-tree--sign-to-dir):
	New macros.
	(avl-tree--mapc, avl-tree-map): Add direction argument.

1139
2011-05-27  David Michael  <fedora.dm0@gmail.com>  (tiny change)
1140 1141 1142

	* files.el (interpreter-mode-alist): Add rbash (bug#8745).

Chong Yidong's avatar
Chong Yidong committed
1143 1144 1145 1146 1147 1148 1149 1150
2011-05-27  Chong Yidong  <cyd@stupidchicken.com>

	* select.el: Support clipboard managers with built-in function
	x-clipboard-manager-save, via delete-frame-functions and
	kill-emacs-hook.
	(xselect-convert-to-targets): Add MULTIPLE target to list.
	(xselect-convert-to-save-targets): New function.

1151 1152 1153 1154 1155
2011-05-27  Kenichi Handa  <handa@m17n.org>

	* mail/sendmail.el (mail-encode-header): Avoid double encoding by
	let-binding rfc2047-encode-encoded-words to nil.

1156 1157
2011-05-27  Glenn Morris  <rgm@gnu.org>

1158 1159
	* mail/emacsbug.el: Don't require url-util.

1160 1161
	* shell.el (shell-directory-tracker): Case matters.  (Bug#8735)

1162 1163 1164
	* files.el (set-auto-mode):
	Also respect mode: entries at the end of the file.  (Bug#8586)

1165 1166
2011-05-26  Glenn Morris  <rgm@gnu.org>

1167 1168
	* files.el (hack-local-variables-prop-line, hack-local-variables):
	Downcase mode names, as seems to be traditional.
1169
	(hack-local-variables, hack-local-variables-apply): Doc fixes.
1170

1171 1172 1173
	* mail/emacsbug.el (report-emacs-bug): Mention checking From address.
	(report-emacs-bug-hook): Try to validate the From address.  (Bug#8038)

1174 1175 1176 1177 1178
2011-05-25  Julien Danjou  <julien@danjou.info>

	* textmodes/rst.el (rst-define-level-faces): Do not define face
	symbol if it is already defined.

1179 1180 1181 1182 1183 1184 1185
2011-05-24  Vincent Belaïche  <vincentb1@users.sourceforge.net>

	* play/5x5.el (5x5-new-game, 5x5-randomize):
	Reset 5x5-solver-output to nil when a new grid is cast.
	(5x5-log-init, 5x5-log): Use defsubst instead of defmacro to shunt
	these debugging traces, as defmacro breaks the compiled code.

1186 1187 1188 1189
2011-05-24  Dmitry Kurochkin  <dmitry.kurochkin@gmail.com>  (tiny change)

	* isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).

1190 1191 1192 1193 1194 1195 1196 1197 1198
2011-05-24  Leo Liu  <sdl.web@gmail.com>

	* vc/vc-bzr.el (vc-bzr-sha1-program): Rename from sha1-program.
	(vc-bzr-sha1): Adapt.

	* sha1.el: Remove. Function `sha1' is now builtin.

	* bindings.el: Provide sha1 feature.

1199
2011-05-24  Kenichi Handa  <handa@m17n.org>
1200 1201 1202 1203 1204

	* mail/sendmail.el: Require `rfc2047'.
	(mail-insert-from-field): Do not perform RFC2047 encoding.
	(mail-encode-header): New function.
	(sendmail-send-it): Set buffer-file-coding-system of the work
1205 1206
	buffer to the return value of select-message-coding-system.
	Call mail-encode-header.
1207 1208 1209

	* mail/smtpmail.el (smtpmail-send-it): Call mail-encode-header.

1210
2011-05-24  Sean Neakums  <sneakums@zork.net>  (tiny change)
1211

1212 1213
	* mail/supercite.el (sc-default-cite-frame):
	Handle sc-nested-citation-p when sc-cite-blank-lines-p is non-nil.
1214

1215 1216
2011-05-24  Glenn Morris  <rgm@gnu.org>

1217 1218
	* progmodes/python.el (brm-menu): Declare.

1219 1220
	* emulation/viper.el (viper-set-hooks): Declare.

1221 1222 1223 1224 1225 1226 1227
	* play/5x5.el (5x5-log-init, 5x5-log): Evaluate when compiling.
	(5x5-log-init, 5x5-log, 5x5-solver): Doc fixes.
	(math-map-vec, math-sub, math-mul, math-make-intv, math-reduce-vec)
	(math-format-number, math-pow, calcFunc-arrange, calcFunc-cvec)
	(calcFunc-diag, calcFunc-trn, calcFunc-inv, calcFunc-mrow)
	(calcFunc-mcol, calcFunc-vconcat, calcFunc-index): Declare.

1228 1229 1230 1231 1232 1233 1234 1235 1236 1237 1238 1239 1240 1241 1242 1243 1244 1245 1246 1247 1248 1249 1250 1251 1252 1253 1254 1255 1256 1257 1258 1259 1260 1261 1262 1263 1264
2011-05-24  Stefan Monnier  <monnier@iro.umontreal.ca>

	Add an :exit-function for completion-at-point.

	* minibuffer.el (completion--done): New fun.
	(completion--do-completion): Use it.  New arg `expect-exact'.
	(minibuffer-complete, minibuffer-complete-word): Don't output message,
	since completion--do-completion does it for us now.
	(minibuffer-force-complete): Use completion--done and
	completion--replace.  Handle sole-completion case with more care.
	(minibuffer-complete-and-exit): Use new `expect-exact' arg.
	(completion-extra-properties): New var.
	(completion-annotate-function): Make obsolete.
	(minibuffer-completion-help): Adjust accordingly.
	Use completion-list-insert-choice-function.
	(completion-at-point, completion-help-at-point):
	Bind completion-extra-properties.
	(completion-pcm-word-delimiters): Add | (for uniquify, for example).
	* simple.el (completion-list-insert-choice-function): New var.
	(completion-setup-function): Preserve it.
	(choose-completion): Pay attention to it, shuffle the code a bit.
	(choose-completion-string): New arg `insert-function'.

	* textmodes/bibtex.el: Convert to lexical binding.
	(bibtex-mode-map): Use completion-at-point.
	(bibtex-mode): Use define-derived-mode&completion-at-point-functions.
	(bibtex-completion-at-point-function): New fun, from bibtex-complete.
	(bibtex-complete): Define as obsolete alias.
	(bibtex-complete-internal): Remove.
	(bibtex-format-entry): Remove unused sub-group in regexp.
	* shell.el (shell--command-completion-data)
	(shell-environment-variable-completion):
	* pcomplete.el (pcomplete-completions-at-point):
	* comint.el (comint--complete-file-name-data): Use :exit-function
	instead of completion-table-with-terminator so it also works for
	choose-completion.

1265 1266
2011-05-23  Stefan Monnier  <monnier@iro.umontreal.ca>

1267 1268
	* <lots-of-files>.el: Don't quote lambda expressions with `quote'.

1269 1270 1271
	* vc/smerge-mode.el (smerge-refine-subst): Don't deactivate the mark
	(bug#8710).

1272 1273
	* emacs-lisp/lisp.el (up-list): Fix forward movement (bug#8708).

1274 1275 1276 1277 1278 1279
2011-05-23  Ken Manheimer  <ken.manheimer@gmail.com>

	* allout.el (allout-inhibit-auto-fill-on-headline): Create new
	customization variable and implement: If non-nil, auto-fill will
	be inhibited while on topic's header line.

1280 1281 1282 1283 1284 1285 1286 1287 1288 1289 1290 1291 1292 1293 1294 1295
2011-05-23  Vincent Belaïche  <vincentb1@users.sourceforge.net>

	* play/5x5.el: I/ Add an arithmetic solver to suggest positions to
	click on. II/ Make 5x5 multisession. III/ Ensure that random grids
	always have a solution in grid size = 5 cases.
	(5x5-mode-map): Add keybinding to function `5x5-solve-suggest'.
	(5x5-solver-output, 5x5-log-buffer): New vars.
	(5x5-grid, 5x5-x-pos, 5x5-y-pos, 5x5-moves, 5x5-cracking):
	Make these variables buffer local to achieve 5x5 multi-session-ness.
	(5x5): Set 5x5-grid-size only if SIZE is non-negative.
	(5x5-grid-to-vec, 5x5-vec-to-grid, 5x5-log-init, 5x5-log, 5x5-solver)
	(5x5-solve-suggest): New funs.
	(5x5-randomize): Use 5x5-make-move instead of 5x5-flip-cell to
	randomize a grid so that we ensure that there is always a solution.
	(5x5-make-random-grid): Allow other movement than flipping.

1296 1297 1298 1299 1300 1301
2011-05-23  Kevin Ryde  <user42@zip.com.au>

	* emacs-lisp/advice.el (ad-read-advised-function):
	Use `function-called-at-point' as the default default, if it has
	advice and passes PREDICATE.

1302 1303
2011-05-23  Stefan Monnier  <monnier@iro.umontreal.ca>

1304 1305 1306
	* emacs-lisp/bytecomp.el (byte-compile-function-form): Only call
	byte-compile-lambda if it's actually a lambda.

1307 1308 1309
	* emacs-lisp/eieio.el (eieio-defgeneric-form-primary-only-one):
	Fix function quoting.  Use backquote better.

1310 1311 1312 1313 1314
2011-05-22  Yuanle Song  <sylecn@gmail.com>

	* nxml/rng-xsd.el (rng-xsd-check-pattern): Use case-sensitive
	matching (Bug#8516).

1315 1316 1317 1318 1319
2011-01-22  Jari Aalto  <jari.aalto@cante.net>

	* vc/vc-dir.el (vc-default-dir-printer): Give edited tag a
	different face (Bug#8178).

1320 1321 1322 1323 1324
2011-05-22  Chong Yidong  <cyd@stupidchicken.com>

	* vc/diff-mode.el (diff-changed): Don't use terminal specs for
	defface (Bug#8144).

1325 1326
2011-05-22  Stefan Monnier  <monnier@iro.umontreal.ca>

1327 1328 1329 1330
	* emacs-lisp/macroexp.el (macroexpand-all-1): Convert ' to #' for
	funcall as well (bug#8712).  Warn when performing those conversions.
	* emacs-lisp/bytecomp.el (byte-compile-form): Fix error report.

1331 1332
	* progmodes/grep.el (grep-mode): Fix it for good (bug#8684)!

1333 1334 1335 1336 1337 1338
2011-05-22  Glenn Morris  <rgm@gnu.org>

	* files.el (hack-local-variables-prop-line): Small simplifications.
	(hack-local-variables, hack-local-variables-prop-line):
	If MODE-ONLY, return the mode, rather than just `t'.

1339 1340 1341 1342
2011-05-21  Stefan Monnier  <monnier@iro.umontreal.ca>

	* progmodes/grep.el (grep-mode): Fix last change (bug#8684).

1343 1344
2011-05-21  Glenn Morris  <rgm@gnu.org>

1345 1346 1347
	* files.el (hack-local-variables-prop-line, hack-local-variables):
	If only interested in the mode, don't bother doing the other stuff.

Glenn Morris's avatar
Glenn Morris committed
1348 1349 1350
	* image-mode.el (image-after-revert-hook):
	Redraw all frames on which the image is visible.  (Bug#8567)

1351 1352
	* dired-aux.el (dired-touch-initial): Just use current-time.  (Bug#6887)

1353 1354 1355
	* wid-edit.el (widget-checklist-match-inline):
	Fix 2011-04-19 change.  (Bug#8649)

1356 1357
2011-05-20  Stefan Monnier  <monnier@iro.umontreal.ca>

1358 1359 1360
	* emacs-lisp/checkdoc.el (checkdoc-sentencespace-region-engine):
	Also allow singlespace after single-letter capitals followed by a dot.

1361 1362 1363
	* nxml/nxml-mode.el (nxml-electric-slash): Reindent when completion is
	enabled.  Suggested by James Ahlborn <jahlborn@gmail.com> (bug#8704).

Nix's avatar
Nix committed
1364 1365 1366 1367 1368
2011-05-20  Nix  <nix@esperi.org.uk>

	* files.el (basic-save-buffer-2):
	Fix handling of break-hardlink-on-save with non-existent files.

1369 1370 1371
2011-05-19  Deniz Dogan  <deniz@dogan.se>

	* net/rcirc.el (rcirc-mode): Initialize rcirc-urls to nil.
1372
	(rcirc-markup-urls): Check if rcirc-url-regexp is nil.
1373

1374 1375
2011-05-19  Glenn Morris  <rgm@gnu.org>

1376 1377 1378
	* progmodes/f90.el (f90-type-def-re):
	Handle "type, bind(c)".  (Bug#8691)

1379 1380 1381
	* emacs-lisp/autoload.el (batch-update-autoloads):
	Set autoload-excludes by parsing loadup.el rather than Makefiles.

1382 1383 1384 1385 1386
2011-05-18  Michael Albinus  <michael.albinus@gmx.de>

	* net/tramp.el (tramp-process-actions): Set "first-password-request"
	property for the correct connection in case of multihops.

1387 1388
2011-05-18  Glenn Morris  <rgm@gnu.org>

1389
	* emacs-lisp/authors.el (authors-fixed-entries): Remove fakemail.c.
Glenn Morris's avatar
Glenn Morris committed
1390 1391
	* mail/sendmail.el (sendmail-program): Fall back to just "sendmail".

1392 1393 1394 1395 1396 1397