ChangeLog 129 KB
Newer Older
1 2 3 4 5 6 7
2011-06-07  Martin Rudalics  <rudalics@gmx.at>

	* window.el (get-lru-window, get-largest-window): Move here from
	window.c.  Rename first argument to ALL-FRAMES.  Rephrase
	doc-strings.
	(get-buffer-window-list): Rewrite using window-list-1.  Rephrase
	doc-string.
8 9 10 11 12 13 14 15 16 17
	(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.
18

19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35
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)
	(window-atom-check, window-side-check, window-check): New
	functions.
	(ignore-window-parameters, window-sides, window-sides-vertical)
	(window-sides-slots): New variables.
	(window-size-fixed): Move down in code.  Minor doc-string fix.

36 37 38 39 40 41
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.

42 43 44 45 46
2011-06-05  Deniz Dogan  <deniz@dogan.se>

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

47 48 49 50 51
2011-06-05  Deniz Dogan  <deniz@dogan.se>

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

52 53 54 55 56 57
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.

58 59 60 61 62 63 64 65 66
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.

67 68 69 70 71 72
2011-06-05  Roland Winkler  <winkler@gnu.org>

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

73 74 75 76 77 78 79
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.

80 81 82 83 84
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.

85 86 87 88 89
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).

90 91 92 93 94
2011-06-04  Michael Albinus  <michael.albinus@gmx.de>

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

95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112
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'.

113 114 115 116 117 118
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.

119 120 121 122 123
2011-06-04  Deniz Dogan  <deniz@dogan.se>

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

124 125 126 127
2011-06-02  Stefan Monnier  <monnier@iro.umontreal.ca>

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

128 129 130 131 132 133 134 135 136
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.

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

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

150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177
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
178 179
2011-06-01  Stefan Monnier  <monnier@iro.umontreal.ca>

180 181 182 183 184 185 186 187 188 189
	* 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.

190 191 192 193 194 195
	* 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
196 197 198 199 200 201 202 203 204 205 206 207 208 209
	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.

210 211 212 213 214 215 216
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.

217 218 219 220 221 222 223 224 225 226 227 228
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.

229 230 231 232
2011-05-31  Lars Magne Ingebrigtsen  <larsi@gnus.org>

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

233 234 235 236 237
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.

238 239 240 241 242
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.

243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263
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.

264 265 266 267
2011-05-30  Stefan Monnier  <monnier@iro.umontreal.ca>

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

268 269 270
2011-05-30  Leo Liu  <sdl.web@gmail.com>

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

275 276 277 278
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
279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294
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.

295 296 297 298 299
2011-05-29  Martin Rudalics  <rudalics@gmx.at>

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

300 301 302 303 304
2011-05-29  Chong Yidong  <cyd@stupidchicken.com>

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

305 306 307 308 309
2011-05-29  Deniz Dogan  <deniz@dogan.se>

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

310 311 312 313 314
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
315 316 317 318 319 320 321 322
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.

323 324 325 326
2011-05-28  Kevin Ryde  <user42@zip.com.au>

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

327 328
2011-05-28  Chong Yidong  <cyd@stupidchicken.com>

329 330 331
	* bindings.el (help-echo): Make the initial non-indicator dash
	empty on graphical terminals (Bug#7295).

332 333 334
	* files.el (auto-mode-alist): Move config rule after the
	in-stripping one (Bug#8547).

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

337 338 339
	* startup.el (normal-splash-screen): Remove gratuitous mode-line
	setting (Bug#8740).

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

Alp Aker's avatar
Alp Aker committed
342 343 344
	* buff-menu.el (Buffer-menu-revert-function, Buffer-menu-sort)
	(Buffer-menu-buffer+size): Use Buffer-menu-buffer-column
	(Bug#8539).
345

346 347
2011-05-28  Chong Yidong  <cyd@stupidchicken.com>

348

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

351 352 353 354 355 356 357
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).

358 359 360 361
2011-05-28  Glenn Morris  <rgm@gnu.org>

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

362 363
2011-05-28  Chong Yidong  <cyd@stupidchicken.com>

364 365 366
	* help-fns.el (describe-function-1): If the function is a derived
	major mode, print the parent mode.

367 368 369
	* progmodes/cc-mode.el (c-mode, c++-mode, objc-mode, java-mode)
	(idl-mode, pike-mode, awk-mode): Inherit from prog-mode.

370 371
2011-05-28  Stefan Monnier  <monnier@iro.umontreal.ca>

372 373 374 375 376 377 378
	* 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.

379 380 381 382
	* 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.

383 384 385 386 387 388
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.

389 390 391 392
2011-05-28  Dmitry Kurochkin  <dmitry.kurochkin@gmail.com>  (tiny change)

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

393 394 395 396 397 398 399
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.
400 401
	(avl-tree--do-enter): Add optional `updatefun' arg.
	Change return value.
402
	(avl-tree-delete): Add optional `test' and `nilflag' args.
403 404
	(avl-tree--do-delete): Add `test' and `nilflag' args.
	Change return value.
405 406 407 408 409 410
	(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.

411 412 413 414 415 416 417 418 419 420 421 422
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.

423
2011-05-27  David Michael  <fedora.dm0@gmail.com>  (tiny change)
424 425 426

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

Chong Yidong's avatar
Chong Yidong committed
427 428 429 430 431 432 433 434
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.

435 436 437 438 439
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.

440 441
2011-05-27  Glenn Morris  <rgm@gnu.org>

442 443
	* mail/emacsbug.el: Don't require url-util.

444 445
	* shell.el (shell-directory-tracker): Case matters.  (Bug#8735)

446 447 448
	* files.el (set-auto-mode):
	Also respect mode: entries at the end of the file.  (Bug#8586)

449 450
2011-05-26  Glenn Morris  <rgm@gnu.org>

451 452
	* files.el (hack-local-variables-prop-line, hack-local-variables):
	Downcase mode names, as seems to be traditional.
453
	(hack-local-variables, hack-local-variables-apply): Doc fixes.
454

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

458 459 460 461 462
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.

463 464 465 466 467 468 469
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.

470 471 472 473
2011-05-24  Dmitry Kurochkin  <dmitry.kurochkin@gmail.com>  (tiny change)

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

474 475 476 477 478 479 480 481 482
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.

483
2011-05-24  Kenichi Handa  <handa@m17n.org>
484 485 486 487 488

	* 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
489 490
	buffer to the return value of select-message-coding-system.
	Call mail-encode-header.
491 492 493

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

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

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

499 500
2011-05-24  Glenn Morris  <rgm@gnu.org>

501 502
	* progmodes/python.el (brm-menu): Declare.

503 504
	* emulation/viper.el (viper-set-hooks): Declare.

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

512 513 514 515 516 517 518 519 520 521 522 523 524 525 526 527 528 529 530 531 532 533 534 535 536 537 538 539 540 541 542 543 544 545 546 547 548
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.

549 550
2011-05-23  Stefan Monnier  <monnier@iro.umontreal.ca>

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

553 554 555
	* vc/smerge-mode.el (smerge-refine-subst): Don't deactivate the mark
	(bug#8710).

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

558 559 560 561 562 563
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.

564 565 566 567 568 569 570 571 572 573 574 575 576 577 578 579
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.

580 581 582 583 584 585
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.

586 587
2011-05-23  Stefan Monnier  <monnier@iro.umontreal.ca>

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

591 592 593
	* emacs-lisp/eieio.el (eieio-defgeneric-form-primary-only-one):
	Fix function quoting.  Use backquote better.

594 595 596 597 598
2011-05-22  Yuanle Song  <sylecn@gmail.com>

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

599 600 601 602 603
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).

604 605 606 607 608
2011-05-22  Chong Yidong  <cyd@stupidchicken.com>

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

609 610
2011-05-22  Stefan Monnier  <monnier@iro.umontreal.ca>

611 612 613 614
	* 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.

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

617 618 619 620 621 622
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'.

623 624 625 626
2011-05-21  Stefan Monnier  <monnier@iro.umontreal.ca>

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

627 628
2011-05-21  Glenn Morris  <rgm@gnu.org>

629 630 631
	* 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
632 633 634
	* image-mode.el (image-after-revert-hook):
	Redraw all frames on which the image is visible.  (Bug#8567)

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

637 638 639
	* wid-edit.el (widget-checklist-match-inline):
	Fix 2011-04-19 change.  (Bug#8649)

640 641
2011-05-20  Stefan Monnier  <monnier@iro.umontreal.ca>

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

645 646 647
	* 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
648 649 650 651 652
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.

653 654 655
2011-05-19  Deniz Dogan  <deniz@dogan.se>

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

658 659
2011-05-19  Glenn Morris  <rgm@gnu.org>

660 661 662
	* progmodes/f90.el (f90-type-def-re):
	Handle "type, bind(c)".  (Bug#8691)

663 664 665
	* emacs-lisp/autoload.el (batch-update-autoloads):
	Set autoload-excludes by parsing loadup.el rather than Makefiles.

666 667 668 669 670
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.

671 672
2011-05-18  Glenn Morris  <rgm@gnu.org>

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

676 677 678 679 680 681 682 683 684 685 686 687 688 689 690 691 692 693
	Rationalize calendar handling of day and month abbrev-arrays.
	* calendar/calendar.el (calendar-customized-p): New function.
	(calendar-abbrev-construct, calendar-make-alist): Change what it does.
	(calendar-day-name-array, calendar-month-name-array): Doc fix.
	Add :set function.
	(calendar-abbrev-length, calendar-day-abbrev-array)
	(calendar-month-abbrev-array): Make defcustoms, with appropriate :set.
	(calendar-day-abbrev-array, calendar-month-abbrev-array):
	Elements may no longer be nil.
	(calendar-day-name, calendar-month-name):
	Update for changed nature of abbrev arrays.
	* calendar/diary-lib.el (diary-name-pattern):
	Update for changed nature of abbrev arrays.
	(diary-mark-entries-1): Update calendar-make-alist calls.
	(diary-font-lock-date-forms): Doc fix for changed abbrev arrays.
	* calendar/cal-html.el (cal-html-day-abbrev-array):
	Simply inherit from calendar-day-abbrev-array.

694 695 696 697 698
2011-05-17  Stefan Monnier  <monnier@iro.umontreal.ca>

	* progmodes/grep.el (grep-mode): Disable default
	compilation-directory-matcher setting (bug#8684).

699 700 701 702 703 704
2011-05-17  Michael Albinus  <michael.albinus@gmx.de>

	* net/tramp.el (tramp-handle-insert-file-contents): Use "dd"
	instead of "head" and "tail".  There were problems with SunOS 5.9,
	and it performs better.

Glenn Morris's avatar
Glenn Morris committed
705 706
2011-05-17  Glenn Morris  <rgm@gnu.org>

707 708
	* mail/mail-utils.el (mail-dont-reply-to): Silence compiler.

709 710 711
	* progmodes/idlw-shell.el (idlwave-shell-complete-filename):
	Replace obsolete function.

712 713
	* shell.el (pcomplete-parse-arguments-function): Declare.

Glenn Morris's avatar
Glenn Morris committed
714 715 716 717 718 719 720 721
	* calendar/appt.el (appt-message-warning-time, appt-display-mode-line)
	(appt-display-diary, appt-display-interval, appt-prev-comp-time)
	(appt-check): Doc fixes.
	(appt-disp-window-function, appt-delete-window-function):
	Remove needless special case in custom :type.
	(appt-display-count): Default to 0, not nil.
	(appt-check): Reset appt-display-count to 0, not nil.

722
2011-05-17  Juanma Barranquero  <lekktu@gmail.com>
Andreas Schwab's avatar
Andreas Schwab committed
723

724 725
	* progmodes/python.el (python-font-lock-keywords):
	Add the Python 3.X keyword "nonlocal" (bug#8639).
Andreas Schwab's avatar
Andreas Schwab committed
726

727 728 729 730
2011-05-16  Stefan Monnier  <monnier@iro.umontreal.ca>

	* emacs-lisp/eieio.el (defmethod): Fix quoting of code (bug#8677).

731 732 733 734 735 736 737 738 739 740 741
2011-05-16  Kevin Ryde  <user42@zip.com.au>

	* info-look.el (makefile-automake-mode): New setups, looking in
	automake manual, then makefile-mode.
	(makefile-mode): Remove automake manual, have it just in
	makefile-automake-mode since there's various things different or
	not relevant to plain make.
	(makefile-mode): Remove "other-modes" non-existent automake-mode,
	believe a hypothetical automake-mode would go to makefile-mode,
	not the other way around.

742 743
2011-05-15  Chong Yidong  <cyd@stupidchicken.com>

744 745 746
	* vc/diff-mode.el (diff-fixup-modifs): Locate correct position for
	hunk-end tags (Bug#8672).

747 748 749
	* vc/vc-annotate.el (vc-annotate-mode-map): Bind = to
	vc-annotate-show-diff-revision-at-line (Bug#8671).

750 751
2011-05-14  Glenn Morris  <rgm@gnu.org>

752 753
	* vc/add-log.el (add-change-log-entry): Don't start adding a new entry
	in the middle of an existing one with multiple authors.  (Bug#8645)
754 755
	(change-log-font-lock-keywords): Also handle multiple author lines
	with leading tabs.  (Bug#8644)
756

Glenn Morris's avatar
Glenn Morris committed
757 758 759
	* calendar/appt.el (appt-check): Rename some local variables.
	Some simplification/reordering.

760 761 762 763 764
	* mail/feedmail.el (feedmail-confirm-outgoing-timeout)
	(feedmail-sendmail-f-doesnt-sell-me-out)
	(feedmail-queue-slug-suspect-regexp, feedmail-debug)
	(feedmail-debug-sit-for, feedmail-queue-express-hook)
	(feedmail-queue-runner-message-sender): Set :version.
765 766
	(bbdb-search, bbdb-records, smtp-via-smtp, smtp-server)
	(bbdb-dwim-net-address, vm-mail): Declare.
767 768 769 770 771
	(feedmail-binmail-gnulinuxish-template):
	Rename from feedmail-binmail-linuxish-template.
	(feedmail-buffer-to-smtp, feedmail-vm-mail-mode):
	Use insert-buffer-substring.

772 773 774 775 776 777 778 779 780 781
2011-05-14  Bill Carpenter  <bill@carpenter.org>

	* mail/feedmail.el (feedmail-patch-level): Increase.
	(feedmail-debug): New custom group.
	(feedmail-confirm-outgoing-timeout)
	(feedmail-sendmail-f-doesnt-sell-me-out)
	(feedmail-queue-slug-suspect-regexp, feedmail-debug)
	(feedmail-debug-sit-for, feedmail-queue-express-hook): New options.
	(feedmail-sender-line, feedmail-from-line)
	(feedmail-fiddle-headers-upwardly, feedmail-enable-spray)
782
	(feedmail-spray-this-address)
783 784 785 786 787 788 789 790 791 792 793 794 795 796 797 798 799 800 801 802 803 804 805 806 807 808 809 810 811 812 813 814 815 816 817 818 819 820 821 822 823 824 825 826 827 828 829 830 831 832 833 834 835 836 837 838 839 840 841 842 843 844 845 846 847 848 849 850 851 852 853 854 855 856 857 858 859 860 861 862 863 864
	(feedmail-spray-address-fiddle-plex-list)
	(feedmail-queue-use-send-time-for-date)
	(feedmail-queue-use-send-time-for-message-id)
	(feedmail-last-chance-hook, feedmail-queue-runner-mode-setter)
	(feedmail-buffer-eating-function):
	Doc fixes.
	(feedmail-spray-via-bbdb, feedmail-buffer-to-smtp)
	(feedmail-vm-mail-mode, feedmail-message-action-scroll-up)
	(feedmail-message-action-scroll-down): New functions.
	(feedmail-queue-directory, feedmail-queue-draft-directory):
	Use expand-file-name.
	(feedmail-prompt-before-queue-standard-alist): Add scroll entries.
	Remove C-v help entry.
	(feedmail-queue-buffer-file-name): New variable.
	(feedmail-mail-send-hook-splitter, feedmail-buffer-to-binmail)
	(feedmail-buffer-to-smtpmail, feedmail-queue-express-to-draft)
	(feedmail-message-action-send-strong, feedmail-message-action-edit)
	(feedmail-message-action-draft, feedmail-message-action-draft-strong)
	(feedmail-message-action-queue, feedmail-message-action-queue-strong)
	(feedmail-message-action-toggle-spray)
	(feedmail-run-the-queue-no-prompts)
	(feedmail-run-the-queue-global-prompt, feedmail-queue-reminder)
	(feedmail-look-at-queue-directory, feedmail-queue-subject-slug-maker)
	(feedmail-create-queue-filename, feedmail-rfc822-time-zone):
	(feedmail-fiddle-header, feedmail-give-it-to-buffer-eater)
	(feedmail-envelope-deducer, feedmail-fiddle-from)
	(feedmail-fiddle-sender, feedmail-default-date-generator)
	(feedmail-fiddle-date, feedmail-fiddle-message-id)
	(feedmail-fiddle-spray-address)
	(feedmail-fiddle-list-of-spray-fiddle-plexes)
	(feedmail-fiddle-list-of-fiddle-plexes)
	(feedmail-fill-to-cc-function, feedmail-fill-this-one)
	(feedmail-one-last-look, feedmail-fqm-p): Add debug calls.
	(feedmail-queue-runner-message-sender, feedmail-binmail-template):
	Change default.  Doc fix.
	(feedmail-queue-runner-cleaner-upper): Use feedmail-say-chatter.
	(feedmail-binmail-linuxish-template): New constant.
	(feedmail-buffer-to-sendmail): Doc fix.  Add debug call.
	Respect feedmail-sendmail-f-doesnt-sell-me-out.
	(feedmail-send-it): Add debug call.
	Use feedmail-queue-buffer-file-name, and
	feedmail-send-it-immediately-wrapper.
	(feedmail-message-action-send): Add debug call.
	Use feedmail-send-it-immediately-wrapper.
	(feedmail-queue-express-to-queue): Add debug call.
	Run feedmail-queue-express-hook.
	(feedmail-message-action-help): Add debug call.  Use feedmail-p-h-b-n.
	(feedmail-message-action-help-blat):
	Rename from feedmail-queue-send-edit-prompt-help-first.
	(feedmail-run-the-queue): Add debug call.  Set buffer-file-type.
	Check line-endings.  Handle errors better.
	(feedmail-queue-reminder-brief, feedmail-queue-reminder-medium):
	Doc fix.  Add debug call.
	(feedmail-queue-send-edit-prompt): Doc fix.  Add debug call.
	Use feedmail-queue-send-edit-prompt-inner.
	(feedmail-queue-runner-prompt, feedmail-scroll-buffer): New functions.
	(feedmail-queue-send-edit-prompt-inner): New function, extracted
	from feedmail-queue-send-edit-prompt.
	(feedmail-queue-send-edit-prompt-help)
	(feedmail-queue-send-edit-prompt-help-later): Remove functions.
	(feedmail-tidy-up-slug): Add debug call.
	Respect feedmail-queue-slug-suspect-regexp.
	(feedmail-queue-subject-slug-maker): Use buffer-substring-no-properties.
	(feedmail-dump-message-to-queue): Add debug call.
	Expand queue-directory.
	(feedmail-dump-message-to-queue): Change message slightly.
	Use feedmail-say-chatter.
	(feedmail-rfc822-date): Add debug call.  Bind system-time-locale.
	(feedmail-send-it-immediately-wrapper): New function.
	(feedmail-send-it-immediately): Add debug calls.  Use let not let*.
	Insert empty string rather than newline.  Handle full-frame case.
	Use catch/throw.  Use feedmail-say-chatter.
	(feedmail-fiddle-from): Try mail-host-address.
	(feedmail-default-message-id-generator): Doc fix.
	Bind system-time-locale.  Handle missing end.
	(feedmail-fiddle-x-mailer): Add debug call.
	Handle feedmail-x-mailer-line being nil.
	(feedmail-accume-n-nuke-header, feedmail-deduce-address-list):
	Add debug call.  Use buffer-substring-no-properties.
	(feedmail-say-debug, feedmail-say-chatter): New functions.
	(feedmail-find-eoh): Give an explicit error.

865 866
2011-05-13  Ulf Jasper  <ulf.jasper@web.de>

867
	* net/newst-treeview.el (newsticker-treeview-face): Change default
868
	family from helvetica to sans.
869
	(newsticker-treeview-tool-bar-map): Move tool-bar icons to
870 871
	etc/images/newsticker.

872
	* net/newst-reader.el (newsticker-feed-face): Change default
873 874 875 876 877
	family from helvetica to sans.

	* net/newst-plainview.el (newsticker-new-item-face)
	(newsticker-old-item-face, newsticker-immortal-item-face)
	(newsticker-obsolete-item-face, newsticker-date-face)
878
	(newsticker-statistics-face): Change default family from
879
	helvetica to sans.
880
	(newsticker--plainview-tool-bar-map): Move tool-bar icons to
881 882 883 884 885 886
	etc/images/newsticker.

	* net/newst-backend.el (newsticker--do-run-auto-mark-filter),
	(newsticker--process-auto-mark-filter-match): : Tell user about
	auto-marking.

887 888 889 890 891 892 893 894 895 896 897 898 899 900 901 902
2011-05-13  Didier Verna  <didier@xemacs.org>

	Common Lisp indentation improvements on defmethod and lambda-lists.
	* cl-indent.el: Advertise the changes and remove obsolete TODO entries.
	(lisp-lambda-list-keyword-parameter-indentation)
	(lisp-lambda-list-keyword-parameter-alignment)
	(lisp-lambda-list-keyword-alignment): New customizable user options.
	(lisp-indent-defun-method): Improve docstring.
	(extended-loop-p): Fix comment.
	(lisp-indent-lambda-list-keywords-regexp): New variable.
	(lisp-indent-lambda-list): New function.
	(lisp-indent-259): Use it.
	(lisp-indent-defmethod): Support for more than one
	method qualifier and properly indent methods lambda-lists.
	(defgeneric): Provide a missing common-lisp-indent-function property.

903 904 905 906 907
2011-05-13  Stefan Monnier  <monnier@iro.umontreal.ca>

	* thingatpt.el (bounds-of-thing-at-point): Return nil rather than
	bounds for the empty string (bug#8667).

908 909
2011-05-13  Glenn Morris  <rgm@gnu.org>

910 911
	* mail/feedmail.el (feedmail-buffer-to-sendmail): Require sendmail.

Glenn Morris's avatar
Glenn Morris committed
912
	* mail/sendmail.el (sendmail-program): Try executable-find first.
913
	(sendmail-send-it): `sendmail-program' cannot be unbound.
Glenn Morris's avatar
Glenn Morris committed
914

915
	* calendar/appt.el (appt-make-list): Simplify.
916
	(appt-time-msg-list): Doc fix.
917
	(appt-check): Change mode-line message at the time of the appointment.
918

919 920 921 922 923
2011-05-12  Andreas Schwab  <schwab@linux-m68k.org>

	* progmodes/ld-script.el (ld-script-keywords)
	(ld-script-builtins): Update keywords list.

924 925
2011-05-12  Stefan Monnier  <monnier@iro.umontreal.ca>

926 927
	* progmodes/grep.el (grep-filter): Don't trip on partial lines.

928 929 930 931 932
	* shell.el (shell-completion-vars): New function.
	(shell-mode):
	* simple.el (read-shell-command): Use it.
	(blink-matching-open): No need for " [...]" in minibuffer-message.

Glenn Morris's avatar
Glenn Morris committed
933 934 935 936 937
2011-05-12  Glenn Morris  <rgm@gnu.org>

	* calendar/appt.el (appt-now-displayed): Remove pointless variable.
	(appt-check): Simplify.

938
2011-05-12  Eli Zaretskii  <eliz@gnu.org>
939 940 941 942

	* smerge-mode.el (smerge-resolve): Use null-device rather than a
	literal "/dev/null".

943
2011-05-12  Stefan Monnier  <monnier@iro.umontreal.ca>
944 945 946 947

	* emacs-lisp/lisp.el (lisp-complete-symbol, lisp-completion-at-point):
	Fix typo.

948
2011-05-12  Ralph Schleicher  <rs@ralph-schleicher.de>
949

950 951
	* progmodes/which-func.el (which-function):
	Use add-log-current-defun instead of add-log-current-defun-function,
952 953
	which might not be defined (Bug#8260).

Glenn Morris's avatar
Glenn Morris committed
954 955 956 957 958
2011-05-12  Glenn Morris  <rgm@gnu.org>

	* emacs-lisp/bytecomp.el (byte-compile-file-form-defmumble):
	Let byte-compile-initial-macro-environment always take precedence.

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

	* net/rcirc.el: Add support for SSL/TLS connections.
	(rcirc-server-alist): New field `encryption'.
	(rcirc): Check `encryption' settings.
	(rcirc-connect): New arg `encryption'.  Use open-network-stream.
	Merge make-local-variable into `set'.
	(rcirc--connection-open-p): New function.
	(rcirc-send-string, rcirc-clean-up-buffer): Use it to handle case where
	the process is not a network process (e.g. running gnutls-cli).
	(set-rcirc-decode-coding-system, set-rcirc-encode-coding-system):
	Make rcirc-(en|de)code-coding-system local here.
	(rcirc-mode): Merge make-local-variable into `set'.
	(rcirc-parent-buffer): Make permanent buffer-local.
	(rcirc-multiline-minor-mode): Don't do it here.
	(rcirc-switch-to-server-buffer): Don't switch to a random buffer if
	there's no server buffer.

977 978
2011-05-11  Glenn Morris  <rgm@gnu.org>

979 980
	* newcomment.el (comment-kill): Prefix "unused" local.

981 982
	* term/w32console.el (get-screen-color): Declare.

983 984 985
	* emacs-lisp/bytecomp.el (byte-compile-arglist-warn):
	Handle symbol elements of byte-compile-initial-macro-environment.

986 987
2011-05-10  Leo Liu  <sdl.web@gmail.com>

988 989
	* bookmark.el (bookmark-bmenu-mode-map):
	Bind bookmark-bmenu-search to `/'.
Leo Liu's avatar
Leo Liu committed
990

991
	* mail/footnote.el: Convert to utf-8 encoding.
Leo Liu's avatar
Leo Liu committed
992 993 994 995
	(footnote-unicode-string, footnote-unicode-regexp): New variable.
	(Footnote-unicode): New function.
	(footnote-style-alist): Add unicode style to the list.
	(footnote-style): Doc fix.
996

997 998 999 1000 1001 1002 1003 1004 1005 1006 1007 1008 1009
2011-05-10  Jim Meyering  <meyering@redhat.com>

	Fix doubled-word typos.
	* international/quail.el (quail-insert-kbd-layout): and and -> and
	* kermit.el: and and -> and
	* net/ldap.el (ldap-search-internal): to to -> to
	* progmodes/vhdl-mode.el (vhdl-offsets-alist): Likewise.
	* progmodes/js.el (js-mode): and and -> and
	* textmodes/artist.el (artist-move-to-xy): at at -> at
	(artist-draw-region-trim-line-endings): if if -> if
	And Safetyc -> Safety.
	* textmodes/reftex-dcr.el (reftex-view-crossref): at at -> at a

1010
2011-05-10  Glenn Morris  <rgm@gnu.org>
1011
            Stefan Monnier  <monnier@iro.umontreal.ca>
1012 1013 1014 1015

	* files.el (hack-one-local-variable-eval-safep):
	Consider "eval: (foo-mode)" to be safe.  (Bug#8613)

Glenn Morris's avatar
Glenn Morris committed
1016 1017 1018 1019 1020 1021 1022 1023
2011-05-10  Glenn Morris  <rgm@gnu.org>

	* calendar/diary-lib.el (diary-list-entries-hook)
	(diary-mark-entries-hook, diary-nongregorian-listing-hook)
	(diary-nongregorian-marking-hook, diary-list-entries)
	(diary-include-other-diary-files, diary-mark-entries)
	(diary-mark-included-diary-files): Doc fixes.

1024 1025 1026 1027
2011-05-09  Juanma Barranquero  <lekktu@gmail.com>

	* misc.el: Require tabulated-list.el during compilation.

1028 1029
2011-05-09  Chong Yidong  <cyd@stupidchicken.com>

1030 1031
	* progmodes/compile.el (compilation-start):
	Run compilation-filter-hook for the async case too.
1032 1033
	(compilation-filter-hook): Doc fix.

Deniz Dogan's avatar
Deniz Dogan committed
1034 1035 1036 1037 1038
2011-05-09  Deniz Dogan  <deniz@dogan.se>

	* wdired.el: Remove outdated installation comment.  Fix usage
	comment.

1039 1040 1041 1042 1043 1044 1045
2011-05-09  Juanma Barranquero  <lekktu@gmail.com>

	* misc.el: Implement new command `list-dynamic-libraries'.
	(list-dynamic-libraries--loaded-only-p): New variable.
	(list-dynamic-libraries--refresh): New function.
	(list-dynamic-libraries): New command.

1046 1047
2011-05-09  Chong Yidong  <cyd@stupidchicken.com>

1048 1049
	* progmodes/compile.el (compilation-error-regexp-alist-alist):
	Fix the ant regexp to handle end-line and end-column info from jikes.
1050 1051 1052
	Re-introduce maven regexp.  Give the ruby-Test::Unit regexp a
	higher priority to avoid clobbering by gnu.

1053 1054 1055 1056 1057
2011-05-08  Chong Yidong  <cyd@stupidchicken.com>

	* cus-face.el (custom-declare-face): Call custom-theme-recalc-face
	if the face has existing theme settings (Bug#8454).

1058 1059
2011-05-08  Ralph Schleicher  <rs@ralph-schleicher.de>

1060 1061
	* progmodes/perl-mode.el (perl-imenu-generic-expression):
	Only match variables declared via `my' or `our' (Bug#8261).
1062

1063 1064 1065
	* net/browse-url.el (browse-url-of-dired-file): Allow browsing of
	special file names `.' and `..' (Bug#8259).

1066 1067
2011-05-08  Chong Yidong  <cyd@stupidchicken.com>

1068 1069
	* progmodes/grep.el (grep-mode-font-lock-keywords):
	Remove buffer-changing entries.
1070 1071 1072 1073 1074 1075 1076 1077
	(grep-filter): New function.
	(grep-mode): Add it to compilation-filter-hook.

	* progmodes/compile.el (compilation-filter-hook)
	(compilation-filter-start): New defvars.
	(compilation-filter): Call compilation-filter-hook prior to
	updating the process mark.

1078 1079 1080 1081
2011-05-08  Stefan Monnier  <monnier@iro.umontreal.ca>

	* emacs-lisp/eieio.el (defmethod): Fix typo in last change.

1082 1083
2011-05-07  Eli Zaretskii  <eliz@gnu.org>

1084 1085 1086
	* mail/sendmail.el (send-mail-function): On MS-Windows, default to
	mailclient-send-it even if window-system is nil.  (Bug#8595)

1087 1088
	* term/w32console.el (terminal-init-w32console):
	Call get-screen-color and use its output to set the frame
1089 1090
	background-mode.  (Bug#8597)

1091 1092 1093 1094 1095 1096 1097 1098 1099
2011-05-07  Stefan Monnier  <monnier@iro.umontreal.ca>

	Make bytecomp.el understand that defmethod defines funs (bug#8631).
	* emacs-lisp/eieio.el (eieio--defalias, eieio--defgeneric-init-form):
	New functions.
	(defgeneric, eieio--defmethod): Use them.
	(eieio-defgeneric): Remove.
	(defmethod): Call defgeneric in a way visible to the byte-compiler.

1100 1101
2011-05-07  Glenn Morris  <rgm@gnu.org>

Glenn Morris's avatar
Glenn Morris committed
1102 1103 1104 1105
	* calendar/timeclock.el (timeclock-log-data): Remove unused local.
	Use let rather than let*.
	(timeclock-find-discrep): Remove unused local.

1106 1107
	* calendar/diary-lib.el (diary-comment-start): Doc fix.

1108 1109
	* calendar/appt.el (appt-time-msg-list): Doc fix.

1110 1111 1112 1113 1114 1115
2011-05-06  Noah Friedman  <friedman@splode.com>

	* apropos.el (apropos-print-doc): Only use
	emacs-lisp-docstring-fill-column when it is bound to an integer,
	per that variable's documentation.

1116 1117 1118
2011-05-06  Stefan Monnier  <monnier@iro.umontreal.ca>

	* lpr.el (print-region-1): Echo lpr-program's output, so error messages
1119
	and warnings are not silently discarded (e.g. use -d instead of -P).
1120

1121 1122
2011-05-06  Glenn Morris  <rgm@gnu.org>

1123 1124 1125 1126
	* calendar/appt.el (appt-message-warning-time): Doc fix.
	(appt-warning-time-regexp): New option.
	(appt-make-list): Respect appt-message-warning-time.

Glenn Morris's avatar
Glenn Morris committed
1127 1128 1129 1130 1131
	* calendar/diary-lib.el (diary-comment-start, diary-comment-end):
	New options.
	(diary-add-to-list): Strip comments from the displayed string.
	(diary-mode): Set comment-start and comment-end.

1132 1133 1134
	* vc/diff-mode.el (smerge-refine-subst): Declare.
	(diff-refine-hunk): Don't require smerge-mode when compiling.

1135 1136 1137 1138
2011-05-06  Juanma Barranquero  <lekktu@gmail.com>

	* simple.el (list-processes): Return nil as the docstring says.

1139 1140 1141 1142 1143 1144 1145 1146
2011-05-05  Michael Albinus  <michael.albinus@gmx.de>

	* net/ange-ftp.el (ange-ftp-binary-file-name-regexp): Set default
	to "".
	(ange-ftp-write-region, ange-ftp-insert-file-contents)
	(ange-ftp-copy-file-internal): Use only `ange-ftp-binary-file' for
	determining of binary transfer.  (Bug#7383)

1147 1148
2011-05-05  Michael Albinus  <michael.albinus@gmx.de>

1149 1150
	* net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
	Fix port computation bug.  (Bug#8618)
1151

Glenn Morris's avatar
Glenn Morris committed
1152 1153
2011-05-05  Glenn Morris  <rgm@gnu.org>

1154 1155
	* allout-widgets.el (allout-widgets-mode-inhibit): Declare before use.

Glenn Morris's avatar
Glenn Morris committed
1156 1157 1158
	* simple.el (shell-dynamic-complete-functions)
	(comint-dynamic-complete-functions): Declare.

Glenn Morris's avatar
Glenn Morris committed
1159 1160 1161 1162 1163 1164
	* net/network-stream.el (gnutls-negotiate):
	* simple.el (tabulated-list-print): Fix declarations.

	* progmodes/gud.el (syntax-symbol, syntax-point):
	Remove unnecessary and incorrect declarations.

Glenn Morris's avatar
Glenn Morris committed
1165 1166 1167
	* emacs-lisp/check-declare.el (check-declare-scan):
	Handle byte-compile-initial-macro-environment in bytecomp.el

1168 1169 1170 1171 1172 1173 1174 1175 1176 1177
2011-05-05  Stefan Monnier  <monnier@iro.umontreal.ca>

	Fix earlier half-done eieio-defmethod change (bug#8338).
	* emacs-lisp/eieio.el (eieio--defmethod): Rename from eieio-defmethod.
	Streamline and change calling convention.
	(defmethod): Adjust accordingly and simplify.
	(eieio-defclass): Fix broken calls to eieio-defmethod and redirect to
	new eieio--defmethod.
	(slot-boundp): Minor CSE simplification.

1178 1179 1180 1181 1182
2011-05-05  Milan Zamazal  <pdm@zamazal.org>

	* progmodes/glasses.el (glasses-separate-capital-groups): New option.
	(glasses-make-readable): Use glasses-separate-capital-groups.

1183 1184 1185 1186 1187 1188
2011-05-05  Juanma Barranquero  <lekktu@gmail.com>

	* emacs-lisp/warnings.el (warning-level-aliases): Reflow docstring.
	(warning-series): Doc fix.
	(display-warning): Don't try to create the buffer if we just found it.

1189 1190 1191 1192 1193 1194
2011-05-04  Chong Yidong  <cyd@stupidchicken.com>

	* emacs-lisp/autoload.el (generated-autoload-file): Set to nil.
	(autoload-find-generated-file): New function.
	(generate-file-autoloads): Bind generated-autoload-file to
	buffer-file-name.
1195 1196
	(update-file-autoloads, update-directory-autoloads):
	Use autoload-find-generated-file.  If called interactively, prompt for
1197 1198 1199
	output file (Bug#7989).
	(batch-update-autoloads): Doc fix.

1200 1201 1202 1203
2011-05-04  Juanma Barranquero  <lekktu@gmail.com>

	* term/w32-win.el (dynamic-library-alist): Add `gnutls'.

Glenn Morris's avatar
Glenn Morris committed
1204 1205
2011-05-04  Glenn Morris  <rgm@gnu.org>

1206 1207 1208 1209 1210 1211 1212
	* calendar/diary-lib.el (diary-fancy-date-pattern): Turn it into a
	function, so it follows changes in calendar-date-style.
	(diary-fancy-date-matcher): New function.
	(diary-fancy-font-lock-keywords): Use diary-fancy-date-matcher.
	(diary-fancy-font-lock-fontify-region-function):
	Use diary-fancy-date-pattern as a function.

Glenn Morris's avatar
Glenn Morris committed
1213 1214 1215
	* calendar/diary-lib.el (diary-fancy-date-pattern): Do not use
	non-numbers for `year' etc pseudo-variables.  (Bug#8583)

1216 1217 1218 1219 1220 1221 1222 1223 1224 1225
2011-05-04  Teodor Zlatanov  <tzz@lifelogs.com>

	* net/gnutls.el (gnutls-negotiate): Use CL-style keyword arguments
	instead of positional arguments.  Allow :keylist and :crlfiles
	arguments.
	(open-gnutls-stream): Call it.

	* net/network-stream.el (network-stream-open-starttls): Adjust to
	call `gnutls-negotiate' with :process and :hostname arguments.

1226 1227
2011-05-04  Stefan Monnier  <monnier@iro.umontreal.ca>

1228 1229 1230 1231 1232 1233
	* minibuffer.el (completion--message): New function.
	(completion--do-completion, minibuffer-complete)
	(minibuffer-force-complete, minibuffer-complete-word): Use it.
	(completion--do-completion): Don't ignore completion-auto-help when in
	icomplete-mode.

1234 1235 1236 1237 1238 1239
	* whitespace.el (whitespace-trailing-regexp): Don't rely on the
	internal encoding (e.g. tibetan zero is not whitespace).
	(global-whitespace-mode): Prefer save-current-buffer.
	(whitespace-trailing-regexp): Remove useless save-match-data.
	(whitespace-empty-at-bob-regexp): Minor simplification.

1240 1241 1242 1243
2011-05-03  Chong Yidong  <cyd@stupidchicken.com>

	* emacs-lisp/autoload.el (generated-autoload-file): Doc fix (Bug#7989).

1244 1245 1246
2011-05-03  Agustín Martín Domingo  <agustin.martin@hispalinux.es>

	* textmodes/ispell.el (ispell-add-per-file-word-list):
1247
	Use `concat' to create string for insertion.
1248

1249 1250 1251 1252 1253 1254
2011-05-03  Stefan Monnier  <monnier@iro.umontreal.ca>

	* textmodes/bibtex.el (bibtex-fill-field-bounds, bibtex-fill-entry):
	Avoid open-line which runs post-self-insert-hook.
	(bibtex-fill-entry): Remove unused `end' var.

1255 1256
2011-05-03  Dirk Ullrich  <dirk.ullrich@googlemail.com>  (tiny change)

1257 1258
	* textmodes/ispell.el (ispell-add-per-file-word-list):
	Protect against `nil' value of `comment-start' (Bug#8579).
1259

1260 1261 1262
2011-05-03  Leo Liu  <sdl.web@gmail.com>

	* isearch.el (isearch-yank-pop): New command.
1263
	(isearch-mode-map): Bind it to `M-y'.
1264 1265
	(isearch-forward): Mention it.

1266 1267
2011-05-03  Stefan Monnier  <monnier@iro.umontreal.ca>

1268 1269 1270 1271 1272
	* simple.el (minibuffer-complete-shell-command): Remove.
	(minibuffer-local-shell-command-map): Use completion-at-point.
	(read-shell-command): Setup completion vars here instead.
	(read-expression-map): Bind TAB to symbol completion.

1273 1274 1275
	* textmodes/ispell.el (lookup-words): Use with-temp-buffer; signal
	error directly rather via storing it into `results'.

Leo Liu's avatar
Leo Liu committed
1276 1277 1278 1279
2011-05-02  Leo Liu  <sdl.web@gmail.com>

	* vc/diff.el: Fix description.

1280 1281 1282 1283
2011-05-02  Lars Magne Ingebrigtsen  <larsi@gnus.org>

	* server.el (server-eval-at): New function.

1284 1285 1286 1287 1288 1289
2011-05-01  Lars Magne Ingebrigtsen  <larsi@gnus.org>

	* net/network-stream.el (open-network-stream): Take a :nowait
	parameter and pass it on to `make-network-process'.
	(network-stream-open-plain): Ditto.

1290 1291 1292 1293 1294
2011-04-30  Andreas Schwab  <schwab@linux-m68k.org>

	* faces.el (face-spec-set-match-display): Don't match toolkit
	options on terminal frames.

1295 1296
2011-04-29  Stefan Monnier  <monnier@iro.umontreal.ca>

1297 1298 1299
	* progmodes/pascal.el: Use lexical binding.
	(pascal-mode-map): Remove author preferences.

1300 1301 1302
	* pcomplete.el (pcomplete-std-complete): Don't abuse
	completion-at-point.

1303 1304
2011-04-28  Juanma Barranquero  <lekktu@gmail.com>

1305 1306 1307
	* calc/calccomp.el (math-comp-to-string-flat-term): Simplify by
	removing code that has been dead since 1991 or so.

1308 1309 1310
	* startup.el (command-line): When warning about "_emacs", use a
	delayed warning to allow the user to filter it out.

1311 1312 1313 1314 1315
2011-04-28  Deniz Dogan  <deniz@dogan.se>

	* net/rcirc.el (rcirc-handler-353): Fix bug for channels which the
	user has not joined.

1316 1317 1318 1319 1320
2011-04-28  Stefan Monnier  <monnier@iro.umontreal.ca>

	* pcomplete.el (pcomplete-completions-at-point): Return nil if there
	aren't any completions at point.

1321 1322 1323 1324 1325
2011-04-28  Juanma Barranquero  <lekktu@gmail.com>

	* subr.el (display-delayed-warnings): New function.
	(delayed-warnings-hook): New variable.

1326 1327
2011-04-28  Stefan Monnier  <monnier@iro.umontreal.ca>

1328 1329 1330 1331
	* minibuffer.el (completion-at-point, completion-help-at-point):
	Don't presume that a given completion-at-point-function will always
	use the same calling convention.

1332 1333 1334 1335 1336 1337 1338 1339
	* pcomplete.el (pcomplete-completions-at-point):
	Obey pcomplete-ignore-case.  Don't call pcomplete-norm-func unless
	pcomplete-seen is non-nil.
	(pcomplete-comint-setup): Also recognize the new comint/shell
	completion functions.
	(pcomplete-do-complete): Don't call pcomplete-norm-func unless
	pcomplete-seen is non-nil.

Juanma Barranquero's avatar
Juanma Barranquero committed
1340
2011-04-27  Niels Giesen  <niels.giesen@gmail.com>
1341

Juanma Barranquero's avatar
Juanma Barranquero committed
1342
	* calendar/icalendar.el (diary-lib): Add require statement.
1343
	(icalendar--create-uid): Read out a uid from a text-property on
Juanma Barranquero's avatar
Juanma Barranquero committed
1344
	the first character in the entry.  This allows for code to add its
1345 1346 1347 1348 1349
	own uid to the entry.
	(icalendar--convert-float-to-ical): Add export of
	`diary-float'-entries save for those with the optional DAY
	argument.

1350 1351