ChangeLog 196 KB
Newer Older
1 2
2011-07-06  Lars Magne Ingebrigtsen  <larsi@gnus.org>

3 4
	* dired-aux.el (dired-kill-line): Add a doc string.

5 6 7
	* dabbrev.el (dabbrev-abbrev-char-regexp): Note that nil defaults
	to "\\sw\\|\\s_" (bug#358).

8 9 10 11 12 13
	* dired.el (dired-mode): Clarify "unmark or unflag" (bug#8770).
	(dired-unmark-backward): Ditto.
	(dired-flag-backup-files): Ditto.

	* dired-x.el (dired-mark-sexp): Ditto.

14 15 16 17 18 19 20 21 22 23
2011-07-06  Richard Stallman  <rms@gnu.org>

	* mail/rmailmm.el: Give entity a new slot, TRUNCATED.
	(rmail-mime-entity): New arg TRUNCATED.
	(rmail-mime-entity-truncated, rmail-mime-entity-set-truncated):
	New functions.
	(rmail-mime-save): Warn if entity is truncated.
	(rmail-mime-toggle-hidden): Likewise, for showing.
	(rmail-mime-process-multipart): Record when an entity is truncated.

24 25 26
	* mail/rmailmm.el (rmail-search-mime-message): Don't get confused
	if ENTITY is a string.

27 28
2011-07-06  Lars Magne Ingebrigtsen  <larsi@gnus.org>

29 30 31 32
	* emacs-lisp/lisp-mode.el (eval-defun-1): Update the documentation
	of faces when `M-C-x'-ing their definitions (bug#8378).  Also
	clean up the code slightly.

33 34 35
	* progmodes/grep.el (rgrep): Don't bind `process-connection-type',
	because that makes the colours go away.

36 37
	* mail/sendmail.el (send-mail-function): Change the default to
	`sendmail-query-once'.
38
	(sendmail-query-once): Add an autoload cookie.
39

40 41 42 43 44 45
	* net/network-stream.el (network-stream-open-starttls): Try using
	a plain connection even if the server offered STARTTLS, and we
	kinda wanted to use it, if Emacs doesn't have any STARTTLS
	capability.  This should make smtpmail.el work in slightly more
	configurations.

46 47 48 49 50 51
2011-07-06  Michael Albinus  <michael.albinus@gmx.de>

	* net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
	New defun.
	* net/tramp-cmds.el (tramp-append-tramp-buffers): Use it.

52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100
2011-07-06  Michael R. Mauger  <mmaug@yahoo.com>

	* progmodes/sql.el: Version 3.0
	(sql-product-alist): Added product :completion-object,
	:completion-column, and :statement attributes.
	(sql-mode-menu, sql-interactive-mode-map): Fixed List entries.
	(sql-mode-syntax-table): Mark all punctuation.
	(sql-font-lock-keywords-builder): Temporarily removed fallback on
	ansi keywords.
	(sql-regexp-abbrev, sql-regexp-abbrev-list): New functions.
	(sql-mode-oracle-font-lock-keywords): Improved.
	(sql-oracle-show-reserved-words): New function for development.
	(sql-product-font-lock): Simplify for source code buffers.
	(sql-product-syntax-table, sql-product-font-lock-syntax-alist):
	New functions.
	(sql-highlight-product): Set product specific syntax table.
	(sql-mode-map): Added statement movement functions.
	(sql-ansi-statement-starters, sql-oracle-statement-starters): New
	variable.
	(sql-statement-regexp, sql-beginning-of-statement)
	(sql-end-of-statement, sql-signum): New functions.
	(sql-buffer-live-p, sql=find-sqli-buffer): Added CONNECTION
	parameter.
	(sql-show-sqli-buffer): Bug fix.
	(sql-interactive-mode): Store connection data as buffer local.
	(sql-connect): Added NEW-NAME parameter.  Redesigned interaction
	with sql-interactive-mode.
	(sql-save-connection): Save buffer local settings.
	(sql-connection-menu-filter): Changed menu entry name.
	(sql-product-interactive): Bug fix.
	(sql-preoutput-hold): New variable.
	(sql-interactive-remove-continuation-prompt): Bug fixes.
	(sql-debug-redirect): New variable.
	(sql-str-literal): New function.
	(sql-redirect, sql-redirect-one, sql-redirect-value, sql-execute):
	Redesigned.
	(sql-oracle-save-settings, sql-oracle-restore-settings)
	(sql-oracle-list-all, sql-oracle-list-table): New functions.
	(sql-completion-object, sql-completion-column)
	(sql-completion-sqlbuf): New variables.
	(sql-build-completions-1, sql-build-completions)
	(sql-try-completion): New functions.
	(sql-read-table-name): Use them.
	(sql-contains-names): New buffer local variable.
	(sql-list-all, sql-list-table): Use it.
	(sql-oracle-completion-types): New variable.
	(sql-oracle-completion-object, sql-sqlite-completion-object)
	(sql-postgres-completion-object): New functions.

101 102 103 104
2011-07-06  Glenn Morris  <rgm@gnu.org>

	* window.el (pop-to-buffer): Doc fix.

105
2011-07-06  Markus Heiser  <markus.heiser@darmarit.de>  (tiny change)
106 107 108

	* progmodes/gud.el (gud-pdb-marker-regexp): Accept \r char (Bug#5653).

109
2011-07-06  Chong Yidong  <cyd@stupidchicken.com>
Michael Albinus's avatar
Michael Albinus committed
110

111
	* window.el (special-display-popup-frame): Doc fix (Bug#8853).
112

113
	* info.el (Info-directory-toc-nodes): Minor doc fix (Bug#8833).
114

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

	* button.el (button): Inherit from link face.  Suggested by Dan
	Nicolaescu.

120 121
2011-07-05  Stefan Monnier  <monnier@iro.umontreal.ca>

122 123 124 125
	* progmodes/gdb-mi.el: Fit in 80 columns.
	(gdb-setup-windows, gdb-restore-windows): Avoid other-window and
	switch-to-buffer.

126 127 128
	* progmodes/which-func.el (which-func-ff-hook): Don't output a message
	if imenu is simply not configured (bug#8941).

129 130 131 132 133 134
2011-07-05  Ken Manheimer  <ken.manheimer@gmail.com>

	* allout.el (allout-post-undo-hook): New allout outline-change
	event hook to signal undo activity.
	(allout-post-command-business): Run allout-post-undo-hook if an
	undo just occurred.
135 136 137
	(allout-after-copy-or-kill-hook, allout-mode): Minor docstring changes.
	* allout-widgets.el (allout-widgets-after-undo-function):
	Ensure the integrity of the current item's decoration after it has been
138 139 140 141
	in the vicinity of an undo.
	(allout-widgets-mode): Include allout-widgets-after-undo-function
	on the new allout-post-undo-hook.

142 143 144 145 146 147 148
2011-07-05  Stefan Monnier  <monnier@iro.umontreal.ca>

	* emacs-lisp/lisp-mode.el (lisp-interaction-mode-abbrev-table):
	Let define-derived-mode define it.
	* emacs-lisp/derived.el (define-derived-mode): Try to avoid creating
	cycles of abbrev-table inheritance (bug#8998).

149 150 151 152 153 154 155 156 157 158 159 160
2011-07-05  Roland Winkler  <winkler@gnu.org>

	* textmodes/bibtex.el: Add support for biblatex.
	(bibtex-BibTeX-entry-alist, bibtex-biblatex-entry-alist)
	(bibtex-BibTeX-field-alist, bibtex-biblatex-field-alist)
	(bibtex-dialect-list, bibtex-dialect, bibtex-no-opt-remove-re)
	(bibtex-entry-alist, bibtex-field-alist): New variables.
	(bibtex-entry-field-alist): Obsolete alias for
	bibtex-BibTeX-entry-alist.
	(bibtex-entry-alist, bibtex-field-alist): New widgets.
	(bibtex-set-dialect): New command.
	(bibtex-entry-type, bibtex-entry-head)
161 162
	(bibtex-entry-maybe-empty-head, bibtex-any-valid-entry-type):
	Bind via bibtex-set-dialect.
163 164 165 166 167
	(bibtex-Article, bibtex-Book, bibtex-Booklet, bibtex-InBook)
	(bibtex-InCollection, bibtex-InProceedings, bibtex-Manual)
	(bibtex-MastersThesis, bibtex-Misc, bibtex-PhdThesis)
	(bibtex-Proceedings, bibtex-TechReport, bibtex-Unpublished):
	Define via bibtex-set-dialect.
168 169
	(bibtex-name-in-field, bibtex-remove-OPT-or-ALT):
	Obey bibtex-no-opt-remove-re.
170 171 172 173 174
	(bibtex-vec-push, bibtex-vec-incr): New functions.
	(bibtex-format-entry, bibtex-field-list)
	(bibtex-print-help-message, bibtex-validate)
	(bibtex-search-entries): Use new format of bibtex-entry-alist.

175 176 177 178 179 180 181 182 183 184 185
2011-07-05  Stefan Monnier  <monnier@iro.umontreal.ca>

	* progmodes/compile.el (compilation-goto-locus):
	* net/tramp-cmds.el (tramp-append-tramp-buffers):
	* bs.el (bs-cycle-next, bs-cycle-previous):
	* bookmark.el (bookmark-bmenu-list, bookmark-bmenu-2-window):
	* bindings.el (mode-line-other-buffer):
	* autoinsert.el (auto-insert):
	* arc-mode.el (archive-extract):
	* abbrev.el (edit-abbrevs): Fix some uses of switch-to-buffer.

186 187 188 189 190 191
2011-07-05  Juanma Barranquero  <lekktu@gmail.com>

	* emacs-lock.el (emacs-lock-mode): Fix typo in variable name.
	Fix check of `emacs-lock-unlockable-modes'.
	Coerce true values of `emacs-lock--try-unlocking' to t.

192 193 194 195 196
2011-07-05  Juanma Barranquero  <lekktu@gmail.com>

	* obsolete/old-emacs-lock.el: Rename from emacs-lock.el.
	* emacs-lock.el: New file.

197 198 199 200 201
2011-07-05  Julien Danjou  <julien@danjou.info>

	* textmodes/rst.el (rst-define-level-faces): Use `facep' rather
	than `boundp' to check if face is set.

Juanma Barranquero's avatar
Juanma Barranquero committed
202 203 204 205 206
2011-07-05  Juanma Barranquero  <lekktu@gmail.com>

	* register.el (registerv-make):
	* window.el (window-min-height): Fix typos in docstrings.

207 208
2011-07-05  Jan Djärv  <jan.h.d@swipnet.se>

Juanma Barranquero's avatar
Juanma Barranquero committed
209
	* dynamic-setting.el (dynamic-setting-handle-config-changed-event):
210 211
	Update doc string.

212 213 214 215 216 217
2011-07-04  Juanma Barranquero  <lekktu@gmail.com>

	* server.el (server-execute): Catch quit and call
	`server-return-error' to pass the error back to emacsclient and
	close the connection (bug#8942).

218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251
2011-07-04  Ken Manheimer  <ken.manheimer@gmail.com>

	* allout.el (allout-encrypt-unencrypted-on-saves): Do not provide
	insecure exception for current topic.  Also note that auto-saves
	are handled differently.

	(allout-auto-save-temporarily-disabled), (allout-just-did-undo):
	State variables for tracking auto-save inhibition situation.

	(allout-write-contents-hook-handler): Rename from
	'allout-write-file-hook-handler', and describe how it depends on
	write-contents-functions sensitivity to non-nil value to prevent
	file write.

	(allout-auto-save-hook-handler): Remove.  auto-save does not check
	this in individual buffers, only in the starting buffer, so this
	is not the right way for us to inhibit auto-save in a buffer
	according to its condition.

	(allout-mode): Use new allout-write-contents-hook-handler, and
	only with write-contents-functions.  Remove auto-save provisions -
	they're implemented elsewhere.

	(allout-before-change-handler): If undo is in progress, note that
	for attention of allout-post-command-business.

	(allout-post-command-business): If the command we're following was
	an undo, check for change in the status of encrypted items and
	adjust auto-save inhibitions accordingly.

	(allout-toggle-subtree-encryption): Adjust auto-save inhibition
	according to whether there are or aren't any plain-text topics
	pending encryption.

252 253
	(allout-inhibit-auto-save-info-for-decryption):
	Adjust buffer-saved-size and some allout state to inhibit auto-saves if
254 255 256 257 258 259 260 261 262 263
	there are plain-text topics pending encryption.

	(allout-maybe-resume-auto-save-info-after-encryption): Adjust
	buffer-saved-size and some allout state to not inhibit auto-saves
	if there are no longer any plain-text topics pending encryption.

	(allout-next-topic-pending-encryption),
	(allout-encrypt-decrypted): No longer provide for exemption of the
	current topic.

264 265 266 267 268 269 270 271 272
2011-07-04  Juri Linkov  <juri@jurta.org>

	Add 7z operations to delete and save changed members (bug#8968).
	* arc-mode.el (archive-7z-expunge, archive-7z-update):
	New defcustoms.
	(archive-7z-write-file-member): New function.
	(archive-7z-summarize): Fix the number of dashes in the
	listing output.

273 274 275 276 277
2011-07-04  Stefan Monnier  <monnier@iro.umontreal.ca>

	* pcmpl-linux.el (pcomplete-pare-list): Re-add, from pcomplete.el
	(bug#8958).

278 279
2011-07-04  Chong Yidong  <cyd@stupidchicken.com>

280 281 282
	* bindings.el: Ignore next-buffer and previous-buffer in
	minibuffer-local-map.

283 284 285
	* font-lock.el (font-lock-builtin-face): Change light background
	color to dark slate blue (Bug#6693).

286 287 288 289
2011-07-04  Wang Diancheng  <dcwang@kingbase.com.cn>  (tiny change)

	* progmodes/gdb-mi.el (gdb): Use completion-at-point.

290 291 292 293 294 295
2011-07-04  Stefan Monnier  <monnier@iro.umontreal.ca>

	* files.el (find-file): Use pop-to-buffer-same-window (bug#8911).
	* emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
	Add switch-to-buffer.

296 297 298 299 300
2011-07-04  Lars Magne Ingebrigtsen  <larsi@gnus.org>

	* isearch.el (isearch-search-fun-function): Clarify further the
	meaning of the function returned.

301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318
2011-07-04  Michael Albinus  <michael.albinus@gmx.de>

	* net/tramp-cmds.el (tramp-cleanup-this-connection): New command.

	* net/tramp-sh.el (tramp-color-escape-sequence-regexp): New defconst.
	(tramp-sh-handle-insert-directory, tramp-convert-file-attributes):
	Use it.
	(tramp-remote-path): Add "/bin" and "/usr/bin".  On busyboxes,
	`tramp-default-remote-path' does not exist.
	(tramp-send-command-and-read): New optional argument NOERROR.
	(tramp-open-connection-setup-interactive-shell)
	(tramp-get-remote-path, tramp-get-remote-stat): Use it.
	(tramp-get-remote-readlink): Do not mask with `ignore-errors'.
	(tramp-process-sentinel): Flush also process' connection property.
	(tramp-sh-handle-start-file-process): Do not set process
	sentinel.  It is done now ...
	(tramp-maybe-open-connection): ... here.  (Bug#8929)

319 320 321 322 323 324 325
2011-07-04  MON KEY  <monkey@sandpframing.com>

	* play/animate.el (animate-string): Doc fixes and allow changing
	the buffer name (bug#5417).

2011-07-04  Lars Magne Ingebrigtsen  <larsi@gnus.org>

326
	* play/animate.el (animation-buffer-name): Rename from *animate*.
327

328 329
2011-07-04  Paul Eggert  <eggert@cs.ucla.edu>

330 331 332
	* emacs-lisp/timer.el: Use time-date fns rather than rolling our own.
	This is simpler and helps future-proof the code.
	(timer-until): Use time-subtract and float-time.
333
	(timer--time-less-p): Use time-less-p.
334

335 336
2011-07-04  Juanma Barranquero  <lekktu@gmail.com>

337 338 339
	* type-break.el (timep): Use the value of `float-time' to avoid a
	byte-compiler warning.

340 341
	* server.el (server-eval-and-print): Return any result, even nil.

342 343 344 345 346 347 348 349 350
2011-07-03  Paul Eggert  <eggert@cs.ucla.edu>

	* type-break.el: Accept time formats that the builtins accept.
	(timep, type-break-time-difference): Accept any format that
	float-time accepts, rather than insisting on (HIGH LOW USECS) format.
	This is simpler and helps future-proof the code.
	(type-break-time-difference): Round rather than ignoring
	subseconds components.

351 352 353 354 355
2011-07-03  Lars Magne Ingebrigtsen  <larsi@gnus.org>

	* info.el (Info-apropos-matches): Make non-interactive, since it
	doesn't seem to do anything useful as a command (bug#8829).

356 357 358
2011-07-03  Chong Yidong  <cyd@stupidchicken.com>

	* frame.el (frame-background-mode, frame-set-background-mode):
359
	Move from faces.el.
360 361 362 363 364 365 366
	(frame-default-terminal-background): New function.

	* custom.el (custom-push-theme): Don't record faces in `changed'
	theme; this doesn't work correctly for per-frame face settings.
	(disable-theme): Use face-set-after-frame-default to reset faces.
	(custom--frame-color-default): New function.

367 368
2011-07-03  Lars Magne Ingebrigtsen  <larsi@gnus.org>

369
	* dired.el (dired-flagging-regexp): Remove unused variable
370 371
	(bug#8769).

372 373 374 375 376 377
2011-03-29  Kevin Ryde  <user42@zip.com.au>

	* progmodes/compile.el (compilation-error-regexp-alist-alist):
	`perl-Test2' extend to match possible "fail #N" rep count
	(bug#8377).

378 379
2011-07-03  Lars Magne Ingebrigtsen  <larsi@gnus.org>

380 381 382
	* mail/feedmail.el (feedmail-buffer-to-smtpmail):
	`smtpmail-via-smtp' now returns the error instead of nil.

383 384 385
	* isearch.el (isearch-search-fun-function): Clarify the doc string
	(bug#8101).

386
2011-07-03  Richard Kim  <emacs18@gmail.com>  (tiny change)
387 388 389 390

	* textmodes/texnfo-upd.el (texinfo-insert-menu): Don't insert
	unnecessary spaces (bug#8987).

391 392 393 394 395 396 397 398 399 400
2011-07-03  Lars Magne Ingebrigtsen  <larsi@gnus.org>

	* net/network-stream.el (open-network-stream): Use the
	:end-of-capability command thoughout.

2011-07-03  Wolfgang Jenkner  <wjenkner@inode.at>  (tiny change)

	* net/network-stream.el (open-network-stream): Add the
	:end-of-capability command parameter, used by pop3.el.

401 402
2011-07-03  Lars Magne Ingebrigtsen  <larsi@gnus.org>

403 404
	* dired.el (dired-map-over-marks): Refill the doc string (bug#6814).

405 406 407
	* fringe.el (fringe-query-style): Remove redundant text " (type ?
	for list)" (bug#6475).

408 409 410 411
	* files.el (file-expand-wildcards): Ignore non-readable
	sub-directories while trying to find matches instead of signalling
	an error (bug#6297).

412 413 414
	* man.el (Man-reference-regexp): Allow matching possible
	word-wrapped references (bug#6289).

415 416 417 418 419 420
	* vc/vc.el (vc-modify-change-comment): Change *VC-log* to *vc-log*
	for consistency with the other vc buffers (bug#6197).
	(vc-checkin): Ditto.

	* vc/vc-arch.el: Fix comments to match the *VC-log* name change.

421 422
	* longlines.el (longlines-mode): Document what ARG does (bug#6150).

423 424
2011-07-02  Lars Magne Ingebrigtsen  <larsi@gnus.org>

425 426 427
	* custom.el (defcustom): Clarify that :set is only used in the
	Customize user interface (bug#6089).

428 429 430 431
	* progmodes/flymake.el (flymake-mode): If the buffer isn't
	associated with a file, refuse to run instead of erroring out
	(bug#6084).

432 433 434 435
	* textmodes/fill.el (fill-region): Remove the "Ordinarily" from
	the doc string, since it appears that using `fill-column' always
	controls the width (bug#7845).

436 437 438
	* simple.el (shell-command-on-region): Say where the error output
	went if `shell-command-default-error-buffer' is set (bug#6857).

439 440 441 442 443 444 445 446 447
2011-07-02  Ken Manheimer  <ken.manheimer@gmail.com>

	* allout.el (allout-yank-processing): Adjust cursor position for
	backwards-deleted space.

	(allout-rebullet-heading): Register changes with
	allout-exposure-changed-hook, so the modified topic is properly
	decorated.

448 449
2011-07-02  Lars Magne Ingebrigtsen  <larsi@gnus.org>

450 451 452
	* minibuffer.el (completion-in-region): Document PREDICATE
	(bug#7136).

453 454 455
	* info-look.el (info-lookup-add-help): Clarify that ARGS is a list
	of keyword/argument pairs (bug#6904).

456 457
	* replace.el (multi-occur):
	Mention `multi-occur-in-matching-buffers' in the doc string (bug#7566).
458

459 460 461 462 463
2011-07-02  Drew Adams  <drew.adams@oracle.com>

	* dired.el (dired-mark-if): Make the message about whether it's
	marking or unmarking clearer (bug#8523).

464 465 466 467 468 469
2011-07-02  Lars Magne Ingebrigtsen  <larsi@gnus.org>

	* disp-table.el (display-table-print-array): New function.
	(describe-display-table): Use it to print the vectors more pretty
	(Bug#8859).

470 471 472 473 474 475 476
2011-07-02  Martin Rudalics  <rudalics@gmx.at>

	* window.el (window-state-get-1): Don't assign clone numbers.
	Add clone-of item to list of window parameters.
	(window-state-put-2): Don't process clone numbers.
	(display-buffer-alist): Fix doc-string.

477 478 479 480 481 482 483 484 485 486 487 488 489 490 491 492
2011-07-02  Stefan Monnier  <monnier@iro.umontreal.ca>

	* subr.el (remq): Don't allocate if it's not needed.
	(keymap--menu-item-binding, keymap--menu-item-with-binding)
	(keymap--merge-bindings): New functions.
	(keymap-canonicalize): Use them to refine the canonicalization.
	* minibuffer.el (minibuffer-local-completion-map)
	(minibuffer-local-must-match-map): Move initialization from C.
	(minibuffer-local-filename-completion-map): Move initialization from C;
	don't inherit from anything here.
	(minibuffer-local-filename-must-match-map): Make obsolete.
	(completing-read-default): Use make-composed-keymap to combine
	minibuffer-local-filename-completion-map with either
	minibuffer-local-must-match-map or
	minibuffer-local-filename-completion-map.

493 494
2011-07-01  Glenn Morris  <rgm@gnu.org>

495 496
	* type-break.el (type-break-time-sum): Use dolist.

497 498 499
	* textmodes/flyspell.el (flyspell-word-search-backward):
	Replace CL function.

500 501
2011-07-01  Stefan Monnier  <monnier@iro.umontreal.ca>

502 503 504 505
	* mouse.el (mouse--strip-first-event): New function.
	(function-key-map): Use it to map fringe clicks to normal clicks
	by default.

506 507 508
	* vc/vc-bzr.el (vc-bzr-revision-keywords): Update.
	(vc-bzr-revision-completion-table): Add support for annotate and date.

509 510 511
	* emacs-lisp/derived.el (define-derived-mode): Make abbrev-table
	inherit from parent.

512 513
2011-07-01  Lars Magne Ingebrigtsen  <larsi@gnus.org>

514
	* dired-aux.el (dired-diff): Doc fixup (bug#8816).
515
	(dired-show-file-type): Doc fixup (bug#8818).
516

517 518 519
	* dired.el (dired-mode): Fix up the doc string as suggested by
	Drew Adams (bug#8817).

520 521 522 523
	* progmodes/flymake.el (flymake-find-file-hook): Add an `autoload'
	cookie, since the manual says that it should be possible to add
	this function to `find-file-hook' (bug#8709).

524 525 526 527 528 529 530 531 532 533 534 535
2011-07-01  Teodor Zlatanov  <tzz@lifelogs.com>

	* progmodes/cfengine.el: Moved all cfengine3.el functionality
	here.  Noted Ted Zlatanov as the maintainer.
	(cfengine-common-settings, cfengine-common-syntax): New functions
	to set up common things between `cfengine-mode' and
	`cfengine3-mode'.
	(cfengine3-mode): New mode.
	(cfengine3-defuns cfengine3-defuns-regex
	(cfengine3-class-selector-regex cfengine3-category-regex)
	(cfengine3-vartypes cfengine3-font-lock-keywords)
	(cfengine3-beginning-of-defun, cfengine3-end-of-defun)
536
	(cfengine3-indent-line): Add from cfengine3.el.
537

538 539 540 541 542 543
2011-07-01  Michael Albinus  <michael.albinus@gmx.de>

	* net/tramp.el (tramp-encoding-command-interactive): New defcustom.

	* net/tramp-sh.el (tramp-maybe-open-connection): Use it.

544 545 546 547 548 549 550 551 552 553 554 555 556 557 558 559
2011-07-01  Martin Rudalics  <rudalics@gmx.at>

	* window.el (same-window-buffer-names, same-window-regexps)
	(same-window-p, special-display-frame-alist)
	(special-display-popup-frame, special-display-function)
	(special-display-buffer-names, special-display-regexps)
	(special-display-p, 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, window-splittable-p)
	(split-window-sensibly, window-safely-shrinkable-p):
	Un-obsolete.
	(display-buffer): Don't spread args with function specifier
	because special-display-popup-frame won't like it.

560 561
2011-07-01  Paul Eggert  <eggert@cs.ucla.edu>

Paul Eggert's avatar
Paul Eggert committed
562 563 564 565
	Time-stamp simplifications and fixes.
	These improve accuracy slightly, and future-proof the code
	against some potential changes to current-time format.

566 567 568
	* woman.el (woman-decode-buffer, WoMan-log-end): Log fractional secs
	by using time-since and float-time.

569 570 571 572
	* vc/ediff-util.el (ediff-calc-command-time): Use time-since
	and float-time.  Say "NNN.NNN seconds" rather than "NNN seconds
	+ NNN microseconds".

573 574
	* type-break.el (type-break-time-sum): Rewrite using time-add.

575 576 577
	* play/hanoi.el (hanoi-current-time-float): Remove.
	All uses replaced by float-time.

578 579 580 581
	* nxml/rng-maint.el (rng-time-function): Rewrite using time-subtract.
	This yields a more-accurate answer.
	(rng-time-to-float): Remove; no longer needed.

582 583
	* emacs-lisp/timer.el (timer-relative-time): Use time-add.

584 585 586
	* calendar/timeclock.el (timeclock-seconds-to-time):
	Defalias to seconds-to-time, since they're the same thing.

587
	* emacs-lisp/elp.el (elp-elapsed-time):
588
	* emacs-lisp/benchmark.el (benchmark-elapse):
589 590
	* allout-widgets.el (allout-elapsed-time-seconds): Use float-time.

591 592 593 594 595 596
2011-07-01  Stefan Monnier  <monnier@iro.umontreal.ca>

	* window.el (bury-buffer): Don't iconify the only frame.
	(switch-to-buffer): Revert to Emacs<23 behavior, i.e. do not fallback
	to pop-to-buffer.  Use pop-to-buffer-same-frame if you don't like that.

597 598
2011-07-01  Chong Yidong  <cyd@stupidchicken.com>

599 600
	* eshell/em-smart.el (eshell-smart-display-navigate-list):
	Add mouse-yank-primary.
601

602 603 604 605
2011-07-01  Teodor Zlatanov  <tzz@lifelogs.com>

	* progmodes/cfengine3.el: New file to support CFEngine 3.x.

606 607 608 609 610 611
2011-07-01  Stefan Monnier  <monnier@iro.umontreal.ca>

	* emacs-lisp/find-func.el (find-library--load-name): New fun.
	(find-library-name): Use it to find relative load names when provided
	absolute file name (bug#8803).

612 613
2011-06-30  Lars Magne Ingebrigtsen  <larsi@gnus.org>

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

617 618 619 620
	* net/soap-client.el (soap-invoke, soap-wsdl-resolve-references):
	Remove two rather uninteresting debugging-like messages to make
	debbugs.el more silent.

621 622 623
	* comint.el (comint-password-prompt-regexp): Accept "Response" as
	a password-like phrase.

624 625 626 627
2011-06-30  Mastake YAMATO  <yamato@redhat.com>

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

628
	* progmodes/cc-langs.el (c-mode-menu): Add "Style..." submenu.
629 630 631 632 633 634 635

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

636 637 638 639
2011-06-30  Lawrence Mitchell  <wence@gmx.li>

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

640 641
2011-06-30  Alan Mackenzie  <acm@muc.de>

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

646 647 648 649 650 651 652 653 654 655 656 657 658 659
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.

660 661
2011-06-30  Glenn Morris  <rgm@gnu.org>

662 663
	* w32-fns.el (w32-charset-info-alist): Declare.

664 665
	* find-dired.el (find-grep-options): Simplify.

666 667
	* term/ns-win.el (ns-set-resource): Declare.

668 669
	* ses.el (row, col): Declare dynamic variables honestly.

670 671
	* textmodes/reftex-parse.el (index-tags): Declare.

672 673 674 675 676 677
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.

678 679
	* custom.el (load-theme): New arg NO-CONFIRM.
	Use customize-push-and-save (Bug#8720).
680 681 682 683 684
	(custom-enabled-themes): Doc fix.

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

685 686
2011-06-30  Lars Magne Ingebrigtsen  <larsi@gnus.org>

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

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

693 694 695 696 697
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
698 699
2011-06-29  Glenn Morris  <rgm@gnu.org>

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

Glenn Morris's avatar
Glenn Morris committed
702 703 704 705
	* 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.

706 707 708 709 710 711 712 713 714 715 716 717 718 719 720 721 722 723 724 725 726 727 728 729 730 731 732 733 734 735 736 737
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".

738 739 740 741 742 743
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.

744 745 746 747 748
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.

749 750 751 752 753 754 755 756 757 758 759 760
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.

761 762
2011-06-28  Deniz Dogan  <deniz@dogan.se>

763 764
	* emacs-lisp/lisp-mode.el (emacs-lisp-mode-syntax-table):
	Unnest `let'.
765

766 767
	* textmodes/css-mode.el (css-font-lock-keywords): Fix grouped
	selectors (Bug#5732).
768
	(css-proprietary-nmstart-re): Use `regexp-opt'.
769

770 771 772 773 774 775
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.

776 777 778 779
2011-06-27  Stefan Monnier  <monnier@iro.umontreal.ca>

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

780 781 782 783 784 785
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.

786 787 788 789 790
2011-06-27  Jambunathan K  <kjambunathan@gmail.com>

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

791 792 793 794 795 796 797 798 799 800 801
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.
802 803 804 805 806 807 808 809 810 811 812 813 814 815 816 817 818 819
	(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>.
820

821 822 823 824 825 826 827
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.

828 829
2011-06-27  Richard Stallman  <rms@gnu.org>

830 831 832
	* battery.el (battery-mode-line-limit): New variable.
	(battery-update): Handle it.

833 834 835
	* mail/rmailmm.el (rmail-mime-process-multipart):
	Handle truncated messages.

Glenn Morris's avatar
Glenn Morris committed
836 837 838 839 840
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)

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

Glenn Morris's avatar
Glenn Morris committed
843
	* ses.el (ses-relocate-range): Keep rest of arguments for ses-range.
844 845 846 847
	(ses--clean-!, ses--clean-_): New functions.
	(ses-range): Add configurability of readout order, and conversion
	to Calc vector.

848 849 850 851
	* ses.el (ses-repair-cell-reference-all): New function.
	(ses-cell-symbol): Set macro as safe, so that it can be used in
	formulas.

852
	* ses.el: Update cycle detection algorithm.
853
	(ses-localvars): Add ses--Dijkstra-attempt-nb and
Glenn Morris's avatar
Glenn Morris committed
854
	ses--Dijkstra-weight-bound, and initial values thereof when applicable.
855 856 857 858
	(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
859 860
	(ses-cell-property-pop-fun, ses-cell-property-get-handle-fun):
	New functions.
861 862 863 864 865 866 867 868 869 870 871 872 873 874 875
	(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.

876 877
	* ses.el: Fix commenting and indenting convention.

878 879 880 881
2011-06-27  Stefan Monnier  <monnier@iro.umontreal.ca>

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

882 883 884 885
2011-06-27  Drew Adams  <drew.adams@oracle.com>

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

886 887
2011-06-27  Lars Magne Ingebrigtsen  <larsi@gnus.org>

888 889
	* net/network-stream.el (network-stream-open-starttls):
	Don't re-get capabilities unless we've reestablished connection.
890 891
	(network-stream-open-starttls): Fix stupid typo with gnutls-clii.

892 893 894 895
	* mail/smtpmail.el (smtpmail-via-smtp): Bind coding-system-for-*
	to binary to possibly avoid line encoding issues on Windows (among
	other things).

896 897 898 899 900 901 902 903 904 905 906 907 908
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.

909 910
2011-06-26  Chong Yidong  <cyd@stupidchicken.com>

911 912 913 914
	* hl-line.el (hl-line-sticky-flag): Doc fix.
	(global-hl-line-sticky-flag): New option (Bug#8323).
	(global-hl-line-highlight): Obey it.

915 916
	* vc/vc.el (vc-revert-show-diff): Default to t.

917 918
2011-06-26  Ken Manheimer  <ken.manheimer@gmail.com>

919 920
	* allout-widgets.el (allout-widgets-post-command-business):
	Stop decorating intermediate isearch matches.  They're not being
921 922 923
	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
924 925
	hidden widgets can slow down cursor travel, substantially.
	Too much complicated machinery would be needed to ensure undecoration,
926 927 928 929 930 931 932
	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.

933 934 935 936
2011-06-26  Martin Rudalics  <rudalics@gmx.at>

	* window.el (display-buffer-normalize-argument): Rename to
	display-buffer-normalize-arguments.  Handle special meaning of
937 938 939
	LABEL argument.  Respect special-display-function when popping up
	a new frame.  Fix code searching for a window showing the buffer
	on another frame.
940 941
	(display-buffer-normalize-specifiers):
	Call display-buffer-normalize-arguments.
942 943 944 945 946 947 948 949 950
	(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.

951 952 953 954 955
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).

956 957 958 959 960
2011-06-26  Andreas Schwab  <schwab@linux-m68k.org>

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

961 962
2011-06-26  Lars Magne Ingebrigtsen  <larsi@gnus.org>

963 964
	* net/network-stream.el (network-stream-open-starttls):
	Use built-in TLS support if `gnutls-available-p' is true.
965 966
	(network-stream-open-tls): Ditto.

967 968 969 970
2011-06-26  Leo Liu  <sdl.web@gmail.com>

	* register.el (registerv): New struct.
	(registerv-make): New function.
971 972
	(jump-to-register, describe-register-1, insert-register):
	Support the jump-func, print-func and insert-func slot of a registerv
973 974
	struct.  (Bug#8415)

975 976
2011-06-26  Chong Yidong  <cyd@stupidchicken.com>

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

982 983
	* progmodes/cperl-mode.el (cperl-mode): Derive from prog-mode.

984 985 986 987 988 989 990 991 992 993 994
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.

995 996
2011-06-25  Glenn Morris  <rgm@gnu.org>

997 998 999 1000 1001 1002 1003
	* 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.

1004 1005 1006 1007
	* calendar/diary-lib.el (diary-mark-entries)
	(diary-mark-included-diary-files):
	Visit included diary-files in temp buffers.

1008 1009 1010 1011 1012 1013
	* 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.

1014 1015
	* progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
	(f90-procedures-re, f90-constants-re): Add some F2008 stuff.
1016

1017
2011-06-25  Eli Zaretskii  <eliz@gnu.org>
1018 1019 1020

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

1023 1024 1025 1026 1027 1028 1029 1030 1031 1032
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.

1033 1034 1035 1036 1037
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.

1038 1039 1040 1041 1042 1043 1044 1045 1046 1047
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.

1048 1049 1050 1051
2011-06-25  Stefan Monnier  <monnier@iro.umontreal.ca>

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

1052 1053 1054 1055 1056
2011-06-25  Giuseppe Scrivano  <gscrivano@gnu.org>

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

1057 1058 1059 1060
2011-06-24  Juanma Barranquero  <lekktu@gmail.com>

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

1061 1062 1063 1064 1065 1066 1067
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.

1068 1069 1070 1071 1072
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.

1073 1074 1075
2011-06-23  Richard Stallman  <rms@gnu.org>

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

1081 1082 1083 1084 1085
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.

1086 1087 1088 1089 1090 1091 1092 1093 1094 1095
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>.

1096 1097 1098 1099 1100
2011-06-22  Leo Liu  <sdl.web@gmail.com>

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

1101 1102
2011-06-22  Richard Stallman  <rms@gnu.org>

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

1106 1107 1108
	* mail/rmailmm.el (rmail-insert-mime-forwarded-message):
	Copy the buffer currently showing just one message.

1109 1110 1111 1112 1113 1114 1115 1116 1117 1118
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.

1119 1120 1121 1122 1123 1124
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.

1125 1126 1127 1128 1129
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.

1130 1131 1132 1133
2011-06-22  Lars Magne Ingebrigtsen  <larsi@gnus.org>

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

1137 1138 1139 1140 1141
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>.
1142
	(split-window): Normalize SIDE argument (Bug#8916).
1143 1144 1145 1146 1147

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

1148 1149
2011-06-21  Lars Magne Ingebrigtsen  <larsi@gnus.org>

1150 1151
	* mail/smtpmail.el (smtpmail-via-smtp):
	Set :use-starttls-if-possible so that we always use STARTTLS if the
1152 1153 1154 1155 1156 1157 1158
	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.

1159 1160 1161 1162
	* 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:
1163 1164
	(smtpmail-auth-credentials): Remove.
	(smtpmail-starttls-credentials): Remove.
1165 1166
	(smtpmail-via-smtp): Check for servers saying they want AUTH after
	MAIL FROM, too.
1167

1168 1169
	* net/network-stream.el (network-stream-open-starttls):
	Provide support for client certificates both for external and built-in
1170 1171 1172
	STARTTLS.
	(auth-source): Require.
	(open-network-stream): Document the :client-certificate keyword.
1173 1174
	(network-stream-certificate): Change cert-cert to cert and
	cert-key to key.
1175

1176 1177 1178 1179 1180
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.

1181 1182
2011-06-21  Tim Harper  <timcharper@gmail.com>

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

1187 1188 1189 1190 1191
2011-06-21  Juanma Barranquero  <lekktu@gmail.com>

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

1192 1193 1194 1195
2011-06-21  Leo Liu  <sdl.web@gmail.com>

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

1196 1197 1198 1199 1200 1201 1202 1203 1204 1205 1206 1207 1208
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.
1209 1210
	(display-buffer-alist, display-buffer-default-specifiers):
	Don't make new frame unsplittable by default.
1211 1212 1213
	(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.
1214

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

1222 1223 1224 1225 1226
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).

1227
2011-06-21  Drew Adams  <drew.adams@oracle.com>
1228 1229 1230

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

1233 1234 1235 1236 1237
2011-06-21  Stefan Monnier  <monnier@iro.umontreal.ca>

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

1238 1239 1240 1241 1242 1243 1244
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).

1245 1246
2011-06-20  Stefan Monnier  <monnier@iro.umontreal.ca>

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

1251
	* wid-edit.el: Use lex-bind and move towards completion-at-point.
1252 1253 1254
	(widget-complete): Use new :completion-function property.
	(widget-completions-at-point): New function.
	(default): Use :completion-function instead of :complete.
1255 1256
	(widget-default-completions): Rename from widget-default-complete;
	Rewrite.
1257 1258 1259 1260 1261 1262 1263 1264 1265 1266 1267 1268 1269 1270 1271 1272 1273 1274 1275 1276 1277 1278 1279 1280 1281 1282 1283 1284 1285 1286 1287
	(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.

1288 1289 1290 1291
2011-06-20  Deniz Dogan  <deniz@dogan.se>

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

1292 1293 1294 1295
2011-06-20  Daniel Colascione  <dan.colascione@gmail.com>

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

1296 1297
2011-06-19  Chong Yidong  <cyd@stupidchicken.com>

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

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

1302 1303 1304 1305 1306 1307 1308 1309 1310 1311 1312
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
1313 1314
	display-buffer-normalize-alist.
	Call display-buffer-normalize-alist-1.
1315 1316 1317 1318 1319 1320 1321 1322
	(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.
1323 1324
	(window-list-no-nils, window-state-ignored-parameters)
	(window-state-get-1, window-state-get, window-state-put-list)
1325 1326
	(window-state-put-1, window-state-put-2, window-state-put):
	New functions.
1327 1328