ChangeLog 619 KB
Newer Older
1 2 3 4 5 6 7
2010-09-02  Chong Yidong  <cyd@stupidchicken.com>

	* emacs-lisp/package.el (package--download-one-archive): Ensure
	that archive-contents is valid before saving it.
	(package-activate-1, package-mark-obsolete, define-package)
	(package-compute-transaction, package-list-maybe-add): Use push.

8 9
2010-09-03  Stefan Monnier  <monnier@iro.umontreal.ca>

10 11 12 13 14 15 16 17 18 19 20 21 22 23
	Use SMIE's blink-paren for octave-mode.
	* progmodes/octave-mod.el (octave-font-lock-close-quotes):
	Backslashes do not escape single-quotes, single-quotes do.
	(octave-block-else-regexp, octave-block-end-regexp)
	(octave-block-match-alist): Remove.
	(octave-smie-bnf-table): New var, with old content.
	(octave-smie-op-levels): Use it.
	(octave-smie-closer-alist): New var.
	(octave-mode): Use it.  Setup smie-blink-matching and electric-indent.
	(octave-blink-matching-block-open): Remove.
	(octave-reindent-then-newline-and-indent, octave-electric-semi)
	(octave-electric-space): Let self-insert-command run expand-abbrev and
	blink parens.

24 25 26 27 28 29 30 31
	* electric.el (electricity): New group.
	(electric-indent-chars): New var.
	(electric-indent-post-self-insert-function): New fun.
	(electric-indent-mode): New minor mode.
	(electric-pair-skip-self): New custom.
	(electric-pair-post-self-insert-function): New function.
	(electric-pair-mode): New minor mode.

32 33 34 35 36 37
	* calc/calc-aent.el (calcAlg-blink-matching-check): New fun, to replace
	calcAlg-blink-matching-open.
	(calc-alg-ent-map, calc-alg-ent-esc-map): Initialize in the declaration.
	(calc-do-alg-entry): Only touch the part of the keymap that varies.
	Use the new blink-matching-check-function.

38 39 40 41 42
	Provide blink-matching support to SMIE.
	* emacs-lisp/smie.el (smie-bnf-closer-alist): New function.
	(smie-blink-matching-triggers, smie-blink-matching-inners): New vars.
	(smie-blink-matching-check, smie-blink-matching-open): New functions.

43 44 45
	* simple.el (newline): Fix last change to properly remove itself from
	the hook.

46 47 48 49 50 51 52 53 54 55 56 57
2010-09-02  Stefan Monnier  <monnier@iro.umontreal.ca>

	* simple.el (newline): Eliminate optimization.
	Use post-self-insert-hook to set hard-newline and things before
	running post-self-insert-hook.
	(blink-matching-check-mismatch): New function.
	(blink-matching-check-function): New variable.
	(blink-matching-open): Use them.
	Skip back forward over prefix chars skipped by forward-sexp.
	Don't check if the parens are backslash escaped.
	(blink-paren-post-self-insert-function): Check backslash escaping here.

58 59
2010-09-02  Chong Yidong  <cyd@stupidchicken.com>

60 61
	* emacs-lisp/package.el (package-menu-mode-map):
	Change package-menu-revert bindings to revert-buffer.
62 63 64
	(package-menu-mode): Set revert-buffer-function.
	(package-menu-revert): Doc fix.

65 66 67 68 69 70 71 72
2010-09-02  Agustín Martín  <agustin.martin@hispalinux.es>

	* textmodes/ispell.el (ispell-init-process): Use "~/" as
	`default-directory' unless using Ispell per-directory personal
	dictionaries and not in a mini-buffer under XEmacs.
	(kill-buffer-hook): Do not kill ispell process on exit when
	`ispell-process-directory' is "~/". (Bug#6143)

Jan Djärv's avatar
Jan Djärv committed
73 74
2010-09-02  Jan Djärv  <jan.h.d@swipnet.se>

75 76 77
	* simple.el (kill-new): Call interprogram-cut-function with only
	one argument.

78 79 80 81 82 83 84 85 86 87 88
	* term.el (term-mouse-paste): Don't call x-get-cutbuffer.
	Remove cut buffer from error message.

	* term/x-win.el (x-select-text):
	* term/pc-win.el (x-selection-value):
	* term/ns-win.el (x-selection-value):
	* eshell/em-term.el:
	* w32-fns.el (x-get-selection-value):
	* mouse-sel.el (mouse-sel-set-selection-function):
	* frame.el (display-selections-p): Remove cut-buffer in documentation.

Jan Djärv's avatar
Jan Djärv committed
89 90 91 92 93 94
	* term/x-win.el: Update documentation for x-last-selected-text-*.
	(x-last-selected-text-cut, x-last-selected-text-cut-encoded)
	(x-last-cut-buffer-coding, x-cut-buffer-max): Remove.
	(x-select-text): Remove argument PUSH, update documentation.  Remove
	cut-buffer code.
	(x-selection-value-internal): Was previously x-selection-value.
Jan Djärv's avatar
Jan Djärv committed
95
	(x-selection-value): Rename from x-cut-buffer-or-selection-value.
Jan Djärv's avatar
Jan Djärv committed
96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122
	Update documentation, remove cut-buffer code.  Call
	x-selection-value-internal.
	(x-clipboard-yank): Call x-selection-value-internal.
	(x-initialize-window-system): Remove setting of x-cut-buffer-max.

	* term/pc-win.el (x-last-selected-text):
	x-cut-buffer-or-selection-value renamed to x-selection-value
	(x-select-text): Remove argument PUSH, update documentation.

	* term/ns-win.el (x-setup-function-keys, ns-last-selected-text):
	x-cut-buffer-or-selection-value renamed to x-selection-value
	(x-selection-value): Renamed from x-cut-buffer-or-selection-value.
	(x-select-text): Remove argument PUSH, update documentation.

	* emacs-lisp/cl-macs.el (x-get-cutbuffer, x-get-cut-buffer): Remove.

	* w32-fns.el (x-last-selected-text):
	x-cut-buffer-or-selection-value renamed to x-selection-value.
	(x-cut-buffer-max): Remove.
	(x-select-text): Remove argument PUSH, update documentation.

	* simple.el (interprogram-cut-function): Remove mention of PUSH.

	* select.el (x-get-cut-buffer, x-set-cut-buffer): Remove.

	* mouse-sel.el (mouse-sel-get-selection-function):
	x-cut-buffer-or-selection-value renamed to x-selection-value.
Jan Djärv's avatar
Jan Djärv committed
123
	(x-select-text): Remove optional push.
Jan Djärv's avatar
Jan Djärv committed
124

125 126
2010-09-01  Stefan Monnier  <monnier@iro.umontreal.ca>

127 128 129 130
	* simple.el (blink-paren-function): Move from C to here.
	(blink-paren-post-self-insert-function): New function.
	(post-self-insert-hook): Use it.

131 132 133 134
	* emacs-lisp/pcase.el (pcase-split-memq):
	Fix overenthusiastic optimisation.
	(pcase-u1): Handle the case of a lambda pred.

135 136 137 138 139 140 141 142 143 144 145
2010-08-31  Kenichi Handa  <handa@m17n.org>

	* international/mule-cmds.el (standard-display-european-internal):
	Setup standard-display-table for 8-bit characters by storing 8-bit
	characters in the element vector.

	* disp-table.el (standard-display-8bit): Setup
	standard-display-table for 8-bit characters by storing 8-bit
	characters in the element vector.
	(standard-display-european): Likewise.

146 147 148 149 150
2010-08-31  Masatake YAMATO  <yamato@redhat.com>

	* textmodes/nroff-mode.el (nroff-view): New command.
	(nroff-mode-map): Bind it to C-c C-c.

151 152
2010-08-31  Stefan Monnier  <monnier@iro.umontreal.ca>

153 154
	* emacs-lisp/smie.el (smie-down-list): New command.

155 156 157 158 159 160 161 162 163 164 165 166 167 168 169
	Remove old indentation and navigation code on octave-mode.
	* progmodes/octave-mod.el (octave-mode-map): Remap down-list to
	smie-down-list rather than add a binding for octave-down-block.
	(octave-mark-block, octave-blink-matching-block-open):
	Rely on forward-sexp-function.
	(octave-fill-paragraph): Don't narrow, so you can use
	indent-according-to-mode.
	(octave-block-begin-regexp, octave-block-begin-or-end-regexp): Remove.
	(octave-in-block-p, octave-re-search-forward-kw)
	(octave-re-search-backward-kw, octave-indent-calculate)
	(octave-end-as-array-index-p, octave-block-end-offset)
	(octave-scan-blocks, octave-forward-block, octave-backward-block)
	(octave-down-block, octave-backward-up-block, octave-up-block)
	(octave-before-magic-comment-p, octave-indent-line): Remove.

170 171 172 173 174 175 176 177 178 179 180 181 182 183
2010-08-31  Chong Yidong  <cyd@stupidchicken.com>

	* emacs-lisp/package.el (package--read-archive-file): Just use
	`read', to avoid copying an additional string.
	(package-menu-mode): Set header-line-format here.
	(package-menu-refresh, package-menu-revert): Signal an error if
	not in the Package Menu.
	(package-menu-package-list): New var.
	(package--generate-package-list): Operate on the current buffer;
	don't assume that it is *Packages*, since the user may rename it.
	Allow persistent package listings and sort keys using
	package-menu-package-list and package-menu-package-sort-key.
	(package-menu--version-predicate): Fix version calculation.
	(package-menu-sort-by-column): Don't select the window.
184 185
	(package--list-packages): Create the *Packages* buffer.
	Set package-menu-package-list-key.
186 187 188 189 190
	(list-packages): Sorting by status is now the default.
	(package-buffer-info): Use match-string-no-properties.
	(define-package): Add a &rest argument for future proofing, but
	don't use it yet.
	(package-install-from-buffer, package-install-buffer-internal):
191 192
	Merge into a single function, package-install-from-buffer.
	(package-install-file): Change caller.
193 194 195 196 197

	* finder.el: Load finder-inf using `require'.
	(finder-list-matches): Sorting by status is now the default.
	(finder-compile-keywords): Simpify printing.

Stefan Monnier's avatar
Stefan Monnier committed
198 199 200 201 202 203 204 205 206 207 208 209 210
2010-08-30  Stefan Monnier  <monnier@iro.umontreal.ca>

	* progmodes/octave-mod.el (octave-font-lock-keywords): Use regexp-opt.
	(octave-mode-map): Remove special bindings for forward/backward-block
	and octave-backward-up-block.  Use smie-close-block.
	(octave-continuation-marker-regexp): New var.
	(octave-continuation-regexp): Use it.
	(octave-operator-table, octave-smie-op-levels)
	(octave-operator-regexp, octave-smie-indent-rules): New vars.
	(octave-smie-backward-token, octave-smie-forward-token): New funs.
	(octave-mode): Use SMIE.
	(octave-close-block): Delete.

Eli Zaretskii's avatar
Eli Zaretskii committed
211 212 213 214 215
2010-08-30  Eli Zaretskii  <eliz@gnu.org>

	* menu-bar.el (menu-bar-edit-menu) <"Paste">: Check selection in
	CLIPBOARD, not in PRIMARY.  (Bug#6944)

Stefan Monnier's avatar
Stefan Monnier committed
216 217
2010-08-30  Stefan Monnier  <monnier@iro.umontreal.ca>

218 219 220 221
	* emacs-lisp/smie.el (smie-indent-offset-rule): Let :parent take
	a list of parents.
	(smie-indent-column): Allow indirection through variables.

222 223 224 225 226 227
	* composite.el (save-buffer-state): Delete, unused.
	* font-lock.el (save-buffer-state): Use with-silent-modifications.
	(font-lock-default-fontify-region): Use with-syntax-table.
	* jit-lock.el (with-buffer-unmodified): Remove.
	(with-buffer-prepared-for-jit-lock): Use with-silent-modifications.

Stefan Monnier's avatar
Stefan Monnier committed
228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251
	Use `declare' in defmacros.
	* window.el (save-selected-window):
	* subr.el (with-temp-file, with-temp-message, with-syntax-table):
	* progmodes/python.el (def-python-skeleton):
	* net/dbus.el (dbus-ignore-errors):
	* jka-cmpr-hook.el (with-auto-compression-mode):
	* international/mule.el (with-category-table):
	* emacs-lisp/timer.el (with-timeout):
	* emacs-lisp/lisp-mnt.el (lm-with-file):
	* emacs-lisp/eieio.el (with-slots):
	* emacs-lisp/easymenu.el (easy-menu-define):
	* emacs-lisp/debug.el (debugger-env-macro):
	* emacs-lisp/cl-compat.el (Multiple-value-bind, Multiple-value-setq)
	(Multiple-value-call, Multiple-value-prog1):
	* emacs-lisp/cl-seq.el (cl-parsing-keywords, cl-check-key)
	(cl-check-test-nokey, cl-check-test, cl-check-match): Move indent and
	edebug rule to definition.
	* emacs-lisp/lisp-mode.el (save-selected-window)
	(with-current-buffer, combine-after-change-calls)
	(with-output-to-string, with-temp-file, with-temp-buffer)
	(with-temp-message, with-syntax-table, read-if, eval-after-load)
	(dolist, dotimes, when, unless):
	* emacs-lisp/byte-run.el (inline): Remove indent rule, redundant.

252 253 254 255 256 257 258 259 260
2010-08-29  Chong Yidong  <cyd@stupidchicken.com>

	* finder.el: Require `package'.
	(finder-known-keywords): Tweak descriptions.  Retire `oop' keyword.
	(finder-package-info): Var deleted.
	(finder-keywords-hash, finder--builtins-alist): New vars.
	(finder-compile-keywords): Compute package--builtins and
	finder-keywords-hash instead of finder-keywords-hash, respecting
	the "Package" header.
Stefan Monnier's avatar
Stefan Monnier committed
261 262
	(finder-unknown-keywords, finder-list-matches):
	Use finder-keywords-hash and package--list-packages.
263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289
	(finder-mode): Don't set font-lock-defaults.
	(finder-exit): We don't use "*Finder-package*" and "*Finder
	Category*" buffers anymore.

	* emacs-lisp/package.el (package--builtins-base): Var deleted.
	(package--builtins): Set default value to nil.
	(package-initialize): Load precomputed value of package--builtins
	from finder-inf.el.
	(package-alist, package-compute-transaction)
	(package-download-transaction): Improve docstring.
	(package-read-all-archive-contents): Do not change
	package--builtins here.
	(list-packages): Make package-list-packages an alias for this.
	Sort by status by default.
	(package--list-packages): Add optional PACKAGES arg.
	(describe-package-1): Use font-lock-face property.  For built-in
	packages, insert file commentary.
	(package--generate-package-list): Rename from
	package-list-packages-internal; all callers changed.  Add optional
	PACKAGES arg.  Add alphabetical sort fallbacks.
	(package-menu--version-predicate, package-menu--status-predicate)
	(package-menu--description-predicate)
	(package-menu--name-predicate): New functions.

	* info.el (Info-finder-find-node): Search package-alist instead of
	finder-package-info.

290 291 292 293 294 295
2010-08-29  Chong Yidong  <cyd@stupidchicken.com>

	* subr.el (version-regexp-alist): Don't use "a" and "b" for
	"alpha" and "beta".
	(version-to-list): Handle versions like "10.3d".

296 297 298 299 300
2010-08-28  Stefan Monnier  <monnier@iro.umontreal.ca>

	* emacs-lisp/macroexp.el (macroexpand-all-1): Use pcase.
	(macroexp-accumulate): Use `declare'.

301 302 303 304
2010-08-27  Vinicius Jose Latorre  <viniciusjl@ig.com.br>

	* whitespace.el (whitespace-style): Adjust type declaration.

305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355
2010-08-26  Magnus Henoch  <magnus.henoch@gmail.com>

	* net/tramp-gvfs.el (tramp-gvfs-handle-copy-file): Do not pass
	empty argument to gvfs-copy.

2010-08-26  Chong Yidong  <cyd@stupidchicken.com>

	* net/tramp-compat.el (tramp-compat-delete-file): Rewrite to
	handle new TRASH arg of `delete-file'.

2010-08-26  Christian Lynbech  <christian.lynbech@tieto.com>  (tiny change)

	* net/tramp.el (tramp-handle-insert-directory): Don't use
	`forward-word', its default syntax could be changed.

2010-08-26  Toru TSUNEYOSHI  <t_tuneyosi@hotmail.com>
            Michael Albinus  <michael.albinus@gmx.de>

	Implement compression for inline methods.

	* net/tramp.el (tramp-inline-compress-start-size): New defcustom.
	(tramp-copy-size-limit): Allow also nil.
	(tramp-inline-compress-commands): New defconst.
	(tramp-find-inline-compress, tramp-get-inline-compress)
	(tramp-get-inline-coding): New defuns.
	(tramp-get-remote-coding, tramp-get-local-coding): Remove,
	replaced by `tramp-get-inline-coding'.
	(tramp-handle-file-local-copy, tramp-handle-write-region)
	(tramp-method-out-of-band-p): Use `tramp-get-inline-coding'.

2010-08-26  Noah Lavine  <noah549@gmail.com>  (tiny change)

	Detect ssh 'ControlMaster' argument automatically in some cases.

	* net/tramp.el (tramp-detect-ssh-controlmaster): New defun.
	(tramp-default-method): Use it.

2010-08-26  Karel Klíč  <kklic@redhat.com>

	* net/tramp.el (tramp-file-name-for-operation):
	Add file-selinux-context.

2010-08-26  Łukasz Stelmach  <lukasz.stelmach@iem.pw.edu.pl>  (tiny change)

	* play/cookie1.el (read-cookie): Fix off-by-one error (bug#6921).

2010-08-26  Chong Yidong  <cyd@stupidchicken.com>

	* simple.el (beginning-of-buffer, end-of-buffer): Doc fix
	(Bug#6907).

356 357 358 359 360 361 362
2010-08-26  Nathan Weizenbaum  <nweiz@cressida.sea.corp.google.com>  (tiny change)

	* progmodes/js.el: Make indentation more customizable (Bug#6914).
	(js-paren-indent-offset, js-square-indent-offset)
	(js-curly-indent-offset): New options.
	(js--proper-indentation): Use them.

363 364 365 366 367
2010-08-26  Daniel Colascione  <dan.colascione@gmail.com>

	* progmodes/sh-script.el (sh-get-indent-info): Use syntax-ppss
	instead of inspecting font-lock properties (Bug#6916).

368 369 370 371 372 373 374
2010-08-26  David Reitter  <david.reitter@gmail.com>

	* server.el (server-visit-files): Run pre-command-hook and
	post-command-hook for each buffer while it is current
	(Bug#6910).
	(server-execute): Do not run hooks here.

Michael Albinus's avatar
Michael Albinus committed
375 376 377 378
2010-08-26  Michael Albinus  <michael.albinus@gmx.de>

	Sync with Tramp 2.1.19.

Michael Albinus's avatar
Michael Albinus committed
379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 487 488 489 490 491 492 493 494 495 496 497 498 499 500 501 502 503 504 505 506 507 508 509 510 511 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 549 550 551 552 553 554 555 556 557 558 559 560 561 562 563 564 565 566 567 568 569 570 571 572 573 574 575 576 577 578 579 580 581 582 583
	* net/tramp-cmds.el (tramp-cleanup-all-connections)
	(tramp-reporter-dump-variable, tramp-load-report-modules)
	(tramp-append-tramp-buffers): Use `tramp-compat-funcall'.
	(tramp-bug): Recommend setting of `tramp-verbose' to 9.

	* net/tramp-compat.el (top): Do not autoload
	`tramp-handle-file-remote-p'.  Load tramp-util.el and tramp-vc.el
	only when `start-file-process' is not bound.
	(byte-compile-not-obsolete-vars): Define if not bound.
	(tramp-compat-funcall): New defmacro.
	(tramp-compat-line-beginning-position)
	(tramp-compat-line-end-position)
	(tramp-compat-temporary-file-directory)
	(tramp-compat-make-temp-file, tramp-compat-file-attributes)
	(tramp-compat-copy-file, tramp-compat-copy-directory)
	(tramp-compat-delete-file, tramp-compat-delete-directory)
	(tramp-compat-number-sequence, tramp-compat-process-running-p):
	Use it.
	(tramp-advice-file-expand-wildcards): Do not use
	`tramp-handle-file-remote-p'.
	(tramp-compat-make-temp-file): Simplify fallback implementation.
	(tramp-compat-copy-file): Add PRESERVE-SELINUX-CONTEXT.
	(tramp-compat-copy-tree): Remove function.
	(tramp-compat-delete-file): New defun.
	(tramp-compat-delete-directory): Provide implementation for older
	Emacsen.
	(tramp-compat-file-attributes): Handle only
	`wrong-number-of-arguments' error.

	* net/tramp-fish.el (tramp-fish-handle-copy-file): Add
	PRESERVE_SELINUX_CONTEXT.
	(tramp-fish-handle-delete-file): Add TRASH arg.
	(tramp-fish-handle-directory-files-and-attributes):
	Do not use `tramp-fish-handle-file-attributes.
	(tramp-fish-handle-file-local-copy)
	(tramp-fish-handle-insert-file-contents)
	(tramp-fish-maybe-open-connection): Use `with-progress-reporter'.

	* net/tramp-gvfs.el (top): Require url-util.
	(tramp-gvfs-mount-point): Remove.
	(tramp-gvfs-file-name-handler-alist): Add `file-selinux-context'
	and `set-file-selinux-context'.
	(tramp-gvfs-stringify-dbus-message, tramp-gvfs-send-command)
	(tramp-gvfs-handle-file-selinux-context)
	(tramp-gvfs-handle-set-file-selinux-context): New defuns.
	(with-tramp-dbus-call-method): Format trace message.
	(tramp-gvfs-handle-copy-file): Handle PRESERVE-SELINUX-CONTEXT.
	(tramp-gvfs-handle-copy-file, tramp-gvfs-handle-rename-file):
	Implement backup call, when operation on local files fails.  Use
	progress reporter.  Flush properties of changed files.
	(tramp-gvfs-handle-delete-file): Add TRASH arg.  Use
	`tramp-compat-delete-file'.
	(tramp-gvfs-handle-expand-file-name): Expand "~/".
	(tramp-gvfs-handle-make-directory): Make more traces.
	(tramp-gvfs-handle-write-region): Protect deleting tmpfile.
	(tramp-gvfs-url-file-name): Hexify file name in url.
	(tramp-gvfs-fuse-file-name): Take also prefix (like dav shares)
	into account for the resulting file name.
	(tramp-gvfs-handler-askquestion): Preserve current message, in
	order to let progress reporter continue afterwards.  (Bug#6257)
	Return dummy mountpoint, when the answer is "no".  See
	`tramp-gvfs-maybe-open-connection'.
	(tramp-gvfs-handler-mounted-unmounted)
	(tramp-gvfs-connection-mounted-p): Test also for new mountspec
	attribute "default_location".  Set "prefix" property.  Handle
	default-location.
	(tramp-gvfs-mount-spec): Return both prefix and mountspec.
	(tramp-gvfs-maybe-open-connection): Test, whether mountpoint
	exists.  Raise an error, if not (due to a corresponding answer
	"no" in interactive questions, for example). Use
	`tramp-compat-funcall'.

	* net/tramp-imap.el (top): Autoload `epg-make-context'.
	(tramp-imap-handle-copy-file): Add PRESERVE-SELINUX-CONTEXT.
	(tramp-imap-do-copy-or-rename-file)
	(tramp-imap-handle-insert-file-contents)
	(tramp-imap-handle-file-local-copy): Use `with-progress-reporter'.
	(tramp-imap-handle-delete-file): Add TRASH arg.

	* net/tramp-smb.el (tramp-smb-handle-copy-file): Add
	PRESERVE-SELINUX-CONTEXT.
	(tramp-smb-handle-copy-file)
	(tramp-smb-handle-file-local-copy, tramp-smb-handle-rename-file)
	(tramp-smb-handle-write-region, tramp-smb-maybe-open-connection):
	Use `with-progress-reporter'.
	(tramp-smb-handle-delete-file): Add TRASH arg.

	* net/tramp.el (tramp-methods): Move hostname to the end in all
	ssh `tramp-login-args'.  Add `tramp-async-args' attribute where
	appropriate.
	(tramp-verbose): Describe verbose level 9.
	(tramp-completion-function-alist)
	(tramp-file-name-regexp, tramp-chunksize)
	(tramp-local-coding-commands, tramp-remote-coding-commands)
	(with-connection-property, tramp-completion-mode-p)
	(tramp-action-process-alive, tramp-action-out-of-band)
	(tramp-check-for-regexp, tramp-file-name-p, tramp-equal-remote)
	(tramp-exists-file-name-handler): Fix docstring.
	(tramp-remote-process-environment): Use `format' instead of
	`concat'.  Protect version string by apostroph.
	(tramp-shell-prompt-pattern): Do not use a shy group in case of
	XEmacs.
	(tramp-file-name-regexp-unified)
	(tramp-completion-file-name-regexp-unified): On W32 systems, do
	not regard the volume letter as remote filename.  (Bug#5447)
	(tramp-perl-file-attributes)
	(tramp-perl-directory-files-and-attributes): Don't pass "$3".
	(tramp-vc-registered-read-file-names): Read input as
	here-document, otherwise the command could exceed maximum length
	of command line.
	(tramp-file-name-handler-alist): Add `file-selinux-context' and
	`set-file-selinux-context'.
	(tramp-debug-message): Add `tramp-compat-funcall' to ignored
	backtrace functions.
	(tramp-error-with-buffer): Don't show the connection buffer when
	we are in completion mode.
	(tramp-progress-reporter-update, tramp-remote-selinux-p)
	(tramp-handle-file-selinux-context)
	(tramp-handle-set-file-selinux-context, tramp-process-sentinel)
	(tramp-connectable-p, tramp-open-shell, tramp-get-remote-trash):
	New defuns.
	(with-progress-reporter): New defmacro.
	(tramp-debug-outline-regexp): New defconst.
	(top, tramp-rfn-eshadow-setup-minibuffer)
	(tramp-rfn-eshadow-update-overlay, tramp-handle-set-file-times)
	(tramp-handle-dired-compress-file, tramp-handle-shell-command)
	(tramp-completion-mode-p, tramp-check-for-regexp)
	(tramp-open-connection-setup-interactive-shell)
	(tramp-compute-multi-hops, tramp-read-passwd, tramp-clear-passwd)
	(tramp-time-diff, tramp-coding-system-change-eol-conversion)
	(tramp-set-process-query-on-exit-flag, tramp-unload-tramp):
	Use `tramp-compat-funcall'.
	(tramp-handle-make-symbolic-link): Flush file properties.
	(tramp-handle-load, tramp-handle-file-local-copy)
	(tramp-handle-insert-file-contents, tramp-handle-write-region)
	(tramp-handle-vc-registered, tramp-maybe-send-script)
	(tramp-find-shell): Use `with-progress-reporter'.
	(tramp-do-file-attributes-with-stat): Add space in format string,
	in order to work around a bug in pdksh.  Reported by Gilles Pion
	<gpion@lfdj.com>.
	(tramp-handle-verify-visited-file-modtime): Do not send a command
	when the connection is not established.
	(tramp-handle-set-file-times): Simplify the check for utc.
	(tramp-handle-directory-files-and-attributes)
	(tramp-get-remote-path): Use `copy-tree'.
	(tramp-completion-handle-file-name-all-completions): Ensure, that
	non remote files are still checked.  Oops.
	(tramp-handle-copy-file, tramp-do-copy-or-rename-file): Handle
	PRESERVE-SELINUX-CONTEXT.
	(tramp-do-copy-or-rename-file): Add progress reporter.
	(tramp-do-copy-or-rename-file-directly): Do not use
	`tramp-handle-file-remote-p'.
	(tramp-do-copy-or-rename-file-out-of-band):
	Use `tramp-compat-delete-directory'.
	(tramp-do-copy-or-rename-file-out-of-band)
	(tramp-compute-multi-hops, tramp-maybe-open-connection):
	Use `format-spec-make'.
	(tramp-handle-delete-file): Add TRASH arg.
	(tramp-handle-dired-uncache): Flush directory cache, not only file
	cache.
	(tramp-handle-expand-file-name)
	(tramp-completion-handle-file-name-all-completions)
	(tramp-completion-handle-file-name-completion): Use
	`tramp-connectable-p'.
	(tramp-handle-start-file-process): Set connection property "vec".
	Use it, in order to invalidate file caches.  Check only for
	`remote-tty' process property.
	Implement tty setting.  (Bug#4604, Bug#6360)
	(tramp-file-name-for-operation): Add `call-process-region' and
	`set-file-selinux-context'.
	(tramp-find-foreign-file-name-handler)
	(tramp-advice-make-auto-save-file-name)
	(tramp-set-auto-save-file-modes): Remove superfluous check for
	`stringp'.  This is done inside `tramp-tramp-file-p'.
	(tramp-file-name-handler): Trace 'quit.  Catch the error for some
	operations when we are in completion mode.  This gives the user
	the chance to correct the file name in the minibuffer.
	(tramp-completion-mode-p): Use `non-essential'.
	(tramp-handle-file-name-all-completions): Backward/ XEmacs
	compatibility: Use `completion-ignore-case' if
	`read-file-name-completion-ignore-case' does not exist.
	(tramp-get-debug-buffer): Use `tramp-debug-outline-regexp'.
	(tramp-find-shell, tramp-open-connection-setup-interactive-shell):
	`tramp-open-shell'.
	(tramp-action-password): Hide password prompt before next run.
	(tramp-process-actions): Widen connection buffer for the trace.
	(tramp-open-connection-setup-interactive-shell): Set `remote-tty'
	process property.  Trace stty settings if `tramp-verbose' >= 9.
	Apply workaround for IRIX64 bug.  Move argument of last
	`tramp-send-command' where it belongs to.
	(tramp-maybe-open-connection): Use `async-args' and `gw-args' in
	front of `login-args'.
	(tramp-get-ls-command, tramp-get-ls-command-with-dired): Run tests
	on "/dev/null" instead of "/".
	(tramp-get-ls-command-with-dired): Make test for "--dired"
	stronger.
	(tramp-set-auto-save-file-modes): Adapt version check.
	(tramp-set-process-query-on-exit-flag): Fix wrong parentheses.
	(tramp-handle-process-file): Call the program in a subshell, in
	order to preserve working directory.
	(tramp-handle-shell-command): Don't use hard-wired "/bin/sh" but
	`tramp-remote-sh' from `tramp-methods'.
	(tramp-get-ls-command): Make test for "--color=never" stronger.
	(tramp-check-for-regexp): Use (forward-line 1).

Michael Albinus's avatar
Michael Albinus committed
584 585
	* net/trampver.el: Update release number.

586 587 588 589 590 591 592 593 594 595 596 597 598 599
2010-08-26  Chong Yidong  <cyd@stupidchicken.com>

	* help.el (help-map): Bind `C-h P' to describe-package.

	* menu-bar.el (menu-bar-describe-menu): Add describe-package.

	* emacs-lisp/package.el (package-refresh-contents): Catch errors
	when downloading archives.
	(describe-package-1): Add package commentary.
	(package-install-button-action): New function.
	(package-menu-mode-map): Bind ? to package-menu-describe-package.
	(package-menu-view-commentary): Function removed.
	(package-list-packages-internal): Hide the `package' package too.

Kenichi Handa's avatar
Kenichi Handa committed
600 601 602 603 604 605 606 607
2010-08-25  Kenichi Handa  <handa@m17n.org>

	* language/misc-lang.el ("Arabic"): New language environment.
	Setup composition-function-table for Arabic characters.

	* international/fontset.el (setup-default-fontset): Fix typo for
	arabic OTF spec (fini->fina).

608 609 610 611 612
2010-08-25  Jan Djärv  <jan.h.d@swipnet.se>

	* menu-bar.el (menu-bar-set-tool-bar-position): Set frame parameter
	on all frames.

613 614 615 616 617 618 619 620 621 622 623 624 625 626 627 628 629 630 631
2010-08-24  Vinicius Jose Latorre  <viniciusjl@ig.com.br>

	* whitespace.el: Allow cleaning up blanks without blank
	visualization (Bug#6651).  Adjust help window for
	whitespace-toggle-options (Bug#6479).  Allow to use fill-column
	instead of whitespace-line-column (from EmacsWiki).  New version
	13.1.
	(whitespace-style): Added new value 'face.  Adjust docstring.
	(whitespace-space, whitespace-hspace, whitespace-tab): Adjust
	foreground property face.
	(whitespace-line-column): Adjust docstring and type declaration.
	(whitespace-style-value-list, whitespace-toggle-option-alist)
	(whitespace-help-text): Adjust const initialization.
	(whitespace-toggle-options, global-whitespace-toggle-options):
	Adjust docstring.
	(whitespace-display-window, whitespace-interactive-char)
	(whitespace-style-face-p, whitespace-color-on): Adjust code.
	(whitespace-help-scroll): New fun.

632 633 634 635 636
2010-08-24  Chong Yidong  <cyd@stupidchicken.com>

	* emacs-lisp/package.el (list-packages): Alias for
	package-list-packages.

637 638
2010-08-24  Kevin Ryde  <user42@zip.com.au>

639 640 641
	* textmodes/flyspell.el (flyspell-check-tex-math-command): Doc fix
	(Bug#5651).

642 643
	* progmodes/ruby-mode.el (ruby): Add defgroup.

644 645 646 647 648 649 650 651 652 653 654 655 656 657 658 659 660 661 662 663
2010-08-24  Chong Yidong  <cyd@stupidchicken.com>

	* progmodes/python.el: Add Ipython support (Bug#5390).
	(python-shell-prompt-alist)
	(python-shell-continuation-prompt-alist): New options.
	(python--set-prompt-regexp): New function.
	(inferior-python-mode, run-python, python-shell): Require
	ansi-color.  Use python--set-prompt-regexp to set the comint
	prompt based on the Python interpreter.
	(python--prompt-regexp): New var.
	(python-check-comint-prompt)
	(python-comint-output-filter-function): Use it.
	(run-python): Use a pipe (Bug#5694).

2010-08-24  Fabian Ezequiel Gallina  <galli.87@gmail.com>  (tiny change)

	* progmodes/python.el (python-send-region): Send a different
	Python command if Ipython is in use.
	(python-check-version): Use a Python command to find the version.

664 665 666 667 668
2010-08-24  Chong Yidong  <cyd@stupidchicken.com>

	* mouse.el (mouse-yank-primary): Avoid setting primary when
	deactivating the mark (Bug#6872).

669 670 671 672 673
2010-08-23  Chris Foote <chris@foote.com.au>  (tiny change)

	* progmodes/python.el (python-block-pairs): Allow use of "finally"
	with "else" (Bug#3991).

674 675 676 677 678 679 680 681 682 683
2010-08-23  Michael Albinus  <michael.albinus@gmx.de>

	* net/dbus.el: Accept UNIX domain sockets as bus address.
	(top): Don't initialize `dbus-registered-objects-table' anymore,
	this is done in dbusbind,c.
	(dbus-check-event): Adapt test for bus.
	(dbus-return-values-table, dbus-unregister-service)
	(dbus-event-bus-name, dbus-introspect, dbus-register-property):
	Adapt doc string.

684 685 686 687
2010-08-23  Juanma Barranquero  <lekktu@gmail.com>

	* ido.el (ido-use-virtual-buffers): Fix typo in docstring.

688 689 690 691 692 693 694
2010-08-22  Juri Linkov  <juri@jurta.org>

	* simple.el (read-extended-command): New function with the logic
	for `completing-read' moved to Elisp from `execute-extended-command'.
	Use `function-called-at-point' in `minibuffer-default-add-function'
	to get a command name for M-n (bug#5364, bug#5214).

695 696 697 698 699
2010-08-22  Chong Yidong  <cyd@stupidchicken.com>

	* startup.el (command-line-1): Issue warning for ignored arguments
	--unibyte, etc (Bug#6886).

700 701 702 703 704 705
2010-08-22  Leo  <sdl.web@gmail.com>

	* net/rcirc.el (rcirc-add-or-remove): Accept a list of elements.
	(ignore, bright, dim, keyword): Split list of nicknames before
	passing to rcirc-add-or-remove (Bug#6894).

706 707 708 709
2010-08-22  Chong Yidong  <cyd@stupidchicken.com>

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

710
2010-08-22  Leo  <sdl.web@gmail.com>
711

712
	Fix buffer-list rename&refresh after killing a buffer in ido.
713 714 715 716 717
	* lisp/ido.el: Revert Óscar's.
	(ido-kill-buffer-at-head): Exit the minibuffer with ido-exit=refresh.
	Remember the buffers at head, rather than their name.
	* lisp/iswitchb.el (iswitchb-kill-buffer): Re-make the list.

718
2010-08-22  Kirk Kelsey  <kirk.kelsey@0x4b.net>  (tiny change)
719 720 721 722 723
            Stefan Monnier  <monnier@iro.umontreal.ca>

	* progmodes/make-mode.el (makefile-fill-paragraph): Account for the
	extra backslash added to each line (bug#6890).

724
2010-08-22  Stefan Monnier  <monnier@iro.umontreal.ca>
725 726 727

	* subr.el (read-key): Don't echo keystrokes (bug#6883).

728
2010-08-22  Glenn Morris  <rgm@gnu.org>
729 730 731

	* menu-bar.el (menu-bar-games-menu): Add landmark.

732
2010-08-22  Glenn Morris  <rgm@gnu.org>
733

Glenn Morris's avatar
Glenn Morris committed
734 735 736
	* align.el (align-regexp): Make group and spacing arguments
	use the interactive defaults when non-interactive.  (Bug#6698)

737 738 739 740 741
	* mail/rmail.el (rmail-forward): Replace mail-text-start with its
	expansion, so as not to need sendmail.
	(mail-text-start): Remove declaration.
	(rmail-retry-failure): Require sendmail.

742
2010-08-22  Chong Yidong  <cyd@stupidchicken.com>
743 744 745

	* subr.el (read-key): Don't hide the menu-bar entries (bug#6881).

746
2010-08-22  Michael Albinus  <michael.albinus@gmx.de>
747

748 749
	* progmodes/flymake.el (flymake-start-syntax-check-process):
	Use `start-file-process' in order to let it run also on remote hosts.
750

751
2010-08-22  Kenichi Handa  <handa@m17n.org>
752 753 754

	* files.el: Add `word-wrap' as safe local variable.

755
2010-08-22  Glenn Morris  <rgm@gnu.org>
756 757 758

	* woman.el (woman-translate): Case matters.  (Bug#6849)

759
2010-08-22  Chong Yidong  <cyd@stupidchicken.com>
760 761 762

	* simple.el (kill-region): Doc fix (Bug#6787).

763
2010-08-22  Glenn Morris  <rgm@gnu.org>
Glenn Morris's avatar
Glenn Morris committed
764 765 766 767

	* calendar/diary-lib.el (diary-header-line-format):
	Fit it to the window, not the frame.

768
2010-08-22  Andreas Schwab  <schwab@linux-m68k.org>
769 770 771

	* subr.el (ignore-errors): Add debug declaration.

772
2010-08-22  Geoff Gole  <geoffgole@gmail.com>  (tiny change)
773 774 775 776

	* whitespace.el (whitespace-color-off): Remove post-command-hook
	locally.

777 778 779 780
2010-08-21  Stefan Monnier  <monnier@iro.umontreal.ca>

	* vc/add-log.el (add-log-file-name): Don't get confused by symlinks.

781 782 783 784 785
2010-08-21  Chong Yidong  <cyd@stupidchicken.com>

	* cus-edit.el (custom-group-value-create): Add extra newline
	before end line (Bug#6876).

786 787 788 789 790 791 792 793 794
2010-08-21  Chong Yidong  <cyd@stupidchicken.com>

	* mouse.el (mouse-save-then-kill): Don't save region to kill ring
	when extending it.  Before killing on the second click, check if
	the buffer is the correct one.  Doc fix.
	(mouse-secondary-save-then-kill): Allow usage without first
	calling mouse-start-secondary, by defaulting to point.  Don't save
	an empty secondary selection.  Doc fix.

795 796
2010-08-21  Vinicius Jose Latorre  <viniciusjl@ig.com.br>

Vinicius Jose Latorre's avatar
Vinicius Jose Latorre committed
797 798
	* whitespace.el: Fix slow cursor movement (Bug#6172).  Reported by
	Christoph Groth <cwg@falma.de> and Liu Xin <x_liu@neusoft.com>.
799
	New version 13.0.
800 801 802 803 804 805
	(whitespace-empty-at-bob-regexp, whitespace-empty-at-eob-regexp):
	Adjust initialization.
	(whitespace-bob-marker, whitespace-eob-marker)
	(whitespace-buffer-changed): New vars.
	(whitespace-cleanup, whitespace-color-on, whitespace-color-off)
	(whitespace-empty-at-bob-regexp, whitespace-empty-at-eob-regexp)
806 807
	(whitespace-post-command-hook, whitespace-display-char-on):
	Adjust code.
808
	(whitespace-looking-back, whitespace-buffer-changed): New funs.
809
	(whitespace-space-regexp, whitespace-tab-regexp): Fun eliminated.
810

811 812
2010-08-19  Stefan Monnier  <monnier@iro.umontreal.ca>

813 814 815
	* files.el (locate-file-completion-table): Only list the .el and .elc
	extensions if there's no other choice (bug#5955).

Stefan Monnier's avatar
Stefan Monnier committed
816 817 818 819 820
	* facemenu.el (facemenu-self-insert-data): New var.
	(facemenu-post-self-insert-function, facemenu-set-self-insert-face):
	New functions.
	(facemenu-add-face): Use them.

821 822
	* simple.el (blink-matching-open): Obey forward-sexp-function.

823 824
2010-08-18  Stefan Monnier  <monnier@iro.umontreal.ca>

825 826 827
	* simple.el (prog-mode-map): New var.
	(prog-indent-sexp): New command.

828 829
	* progmodes/octave-mod.el (octave-mode-menu): Make toggle buttons.

830 831
	* progmodes/prolog.el (smie): Require.

832 833 834 835 836 837 838 839 840 841 842 843 844 845 846 847
	* emacs-lisp/smie.el (smie-default-backward-token)
	(smie-default-forward-token): Strip properties.
	(smie-next-sexp): Be more careful with associative operators.
	(smie-forward-sexp-command): Generalize.
	(smie-backward-sexp-command): Simplify.
	(smie-closer-alist): New var.
	(smie-close-block): New command.
	(smie-indent-debug-log): New var.
	(smie-indent-offset-rule): Add a few more cases.
	(smie-indent-column): New function.
	(smie-indent-after-keyword): Use it.
	(smie-indent-keyword): Use it.
	Fix up the opener code's point position.
	(smie-indent-comment): Only applies at BOL.
	(smie-indent-debug): New command.

848 849 850
	* emacs-lisp/autoload.el (make-autoload): Preload the macros's
	declarations that are useful before running the macro.

Glenn Morris's avatar
Glenn Morris committed
851 852 853 854 855
2010-08-18  Joakim Verona  <joakim@verona.se>

	* image.el (imagemagick-types-inhibit): New variable.
	(imagemagick-register-types): New function.
	* image-mode.el (image-transform-properties): New function.
856 857
	(image-transform-set-scale, image-transform-fit-to-height)
	(image-transform-set-rotation, image-transform-set-resize)
Glenn Morris's avatar
Glenn Morris committed
858 859
	(image-transform-fit-to-width, image-transform-fit-to-height):
	New functions.
860 861
	(image-toggle-display-image): Support image transforms.

862 863 864 865 866
2010-08-18  Katsumi Yamaoka  <yamaoka@jpl.org>

	* image.el (create-animated-image): Don't add heuristic mask to image
	(Bug#6839).

867 868
2010-08-18  Jan Djärv  <jan.h.d@swipnet.se>

869 870
	* term/ns-win.el (ns-get-pasteboard, ns-set-pasteboard):
	Use QCLIPBOARD instead of QPRIMARY (Bug#6677).
871

872 873
2010-08-17  Stefan Monnier  <monnier@iro.umontreal.ca>

874 875
	* emacs-lisp/lisp.el (up-list): Obey forward-sexp-function if set.

876 877 878 879 880 881 882 883 884 885 886 887 888 889 890 891 892 893 894 895 896
	Font-lock '...' strings, plus various simplifications and fixes.
	* progmodes/octave-mod.el (octave-font-lock-keywords): Use regexp-opt.
	(octave-font-lock-close-quotes): New function.
	(octave-font-lock-syntactic-keywords): New var.
	(octave-mode): Use it.  Set beginning-of-defun-function.
	(octave-mode-map): Don't override the <foo>-defun commands.
	(octave-mode-menu): Pass it directly to easy-menu-define;
	remove (now generic) <foo>-defun commands; use info-lookup-symbol.
	(octave-block-match-alist): Fix up last change so that
	octave-close-block uses the more specific keyword.
	(info-lookup-mode): Silence byte-compiler.
	(octave-beginning-of-defun): Not interactive any more.
	Optimize slightly.
	(octave-end-of-defun, octave-mark-defun, octave-in-defun-p): Remove.
	(octave-indent-defun, octave-send-defun): Use mark-defun instead.
	(octave-completion-at-point-function): Make sure point is within
	beg..end.
	(octave-reindent-then-newline-and-indent):
	Use reindent-then-newline-and-indent.
	(octave-add-octave-menu): Remove.

897 898
2010-08-17  Jan Djärv  <jan.h.d@swipnet.se>

899 900 901 902 903 904
	* mail/emacsbug.el (report-emacs-bug-insert-to-mailer)
	(report-emacs-bug-can-use-xdg-email): New functions.
	(report-emacs-bug): Set can-xdg-email to result of
	report-emacs-bug-can-use-xdg-email.  If can-xdg-email bind
	\C-cm to report-emacs-bug-insert-to-mailer and add help text
	about it.
Glenn Morris's avatar
Glenn Morris committed
905

906 907 908 909 910 911 912 913 914 915 916 917 918 919
	* net/browse-url.el (browse-url-default-browser): Add cond
	for browse-url-xdg-open.
	(browse-url-can-use-xdg-open, browse-url-xdg-open): New functions.

2010-08-17  Glenn Morris  <rgm@gnu.org>

	* progmodes/cc-engine.el (c-new-BEG, c-new-END)
	(c-fontify-recorded-types-and-refs): Define for compiler.
	* progmodes/cc-mode.el (c-new-BEG, c-new-END): Move definitions
	before use.

	* calendar/icalendar.el (icalendar--convert-recurring-to-diary):
	Fix format call.

920 921 922 923 924 925 926 927 928
2010-08-17  Michael Albinus  <michael.albinus@gmx.de>

	* net/tramp.el (tramp-handle-make-symbolic-link): Flush file
	properties.
	(tramp-handle-process-file): Call the program in a subshell, in
	order to preserve working directory.
	(tramp-action-password): Hide password prompt before next run.
	(tramp-process-actions): Widen connection buffer for the trace.

929 930 931 932 933 934 935 936
2010-08-16  Deniz Dogan  <deniz.a.m.dogan@gmail.com>

	* net/rcirc.el (rcirc-log-process-buffers): New option.
	(rcirc-print): Use it.
	(rcirc-generate-log-filename): New function.
	(rcirc-log-filename-function): Change default to
	rcirc-generate-log-filename (Bug#6828).

937 938 939 940 941 942 943
2010-08-16  Chong Yidong  <cyd@stupidchicken.com>

	* simple.el (deactivate-mark): If select-active-regions is `only',
	only set selection for temporarily active regions.

	* cus-start.el: Change defcustom for select-active-regions.

944 945 946
2010-08-15  Chong Yidong  <cyd@stupidchicken.com>

	* mouse.el (mouse--drag-set-mark-and-point): New function.
947 948
	(mouse-drag-track): Use LOCATION arg to push-mark.
	Use mouse--drag-set-mark-and-point to take click-count into
949 950
	consideration when updating point and mark (Bug#6840).

951 952 953 954 955
2010-08-15  Chong Yidong  <cyd@stupidchicken.com>

	* progmodes/compile.el (compilation-error-regexp-alist-alist):
	Give the Ruby rule a lower priority than Gnu (Bug#6778).

956 957
2010-08-14  Štěpán Němec  <stepnem@gmail.com>  (tiny change)

958 959
	* font-lock.el (lisp-font-lock-keywords-2):
	Add combine-after-change-calls, condition-case-no-debug,
960 961
	with-demoted-errors, and with-silent-modifications (Bug#6025).

962 963 964
2010-08-14  Kevin Ryde  <user42@zip.com.au>

	* emacs-lisp/copyright.el (copyright-update-year)
965 966
	(copyright-update): Temporary switch-to-buffer to ensure the
	buffer change being queried is visible (Bug#5394).
967

968 969 970 971 972
2010-08-14  Tom Tromey  <tromey@redhat.com>

	* progmodes/etags.el (tags-file-name): Mark safe if stringp
	(Bug#6733).

973 974 975 976 977
2010-08-14  Eli Zaretskii  <eliz@gnu.org>

	* mouse.el (mouse-yank-primary): Fix mouse-2 on MS-Windows and
	MS-DOS.  (Bug#6689)

978 979 980 981 982 983
2010-08-13  Jan Djärv  <jan.h.d@swipnet.se>

	* menu-bar.el (menu-bar-set-tool-bar-position): New function.
	(menu-bar-showhide-tool-bar-menu-customize-enable-left)
	(menu-bar-showhide-tool-bar-menu-customize-enable-right)
	(menu-bar-showhide-tool-bar-menu-customize-enable-top)
984 985
	(menu-bar-showhide-tool-bar-menu-customize-enable-bottom):
	Call menu-bar-set-tool-bar-position.
986

987 988
2010-08-12  Stefan Monnier  <monnier@iro.umontreal.ca>

989 990 991 992 993 994
	* progmodes/octave-mod.el (octave-mode-syntax-table): Use the new "c"
	comment style (bug#6834).
	* progmodes/scheme.el (scheme-mode-syntax-table):
	* emacs-lisp/lisp-mode.el (lisp-mode-syntax-table): Remove spurious
	"b" flag in "' 14b" syntax.

995 996 997 998 999 1000 1001 1002 1003 1004 1005
	* progmodes/octave-mod.el (octave-mode-map): Remove special bindings
	for (un)commenting the region and performing completion.
	(octave-mode-menu): Use standard commands for help and completion.
	(octave-mode-syntax-table): Support %{..%} comments (sort of).
	(octave-mode): Use define-derived-mode.
	Set completion-at-point-functions and don't set columns.
	Don't disable adaptive-fill-regexp.
	(octave-describe-major-mode, octave-comment-region)
	(octave-uncomment-region, octave-comment-indent)
	(octave-indent-for-comment): Remove.
	(octave-indent-calculate): Rename from calculate-octave-indent.
Stefan Monnier's avatar
Stefan Monnier committed
1006
	(octave-indent-line, octave-fill-paragraph): Update caller.
1007 1008 1009 1010 1011 1012 1013
	(octave-initialize-completions): No need to make an alist.
	(octave-completion-at-point-function): New function.
	(octave-complete-symbol): Use it.
	(octave-insert-defun): Use define-skeleton.

	* progmodes/octave-mod.el (octave-mode): Set comment-add.
	(octave-mode-map): Use comment-dwim (bug#6829).
1014

1015 1016 1017 1018 1019
2010-08-12  Antoine Levitt  <antoine.levitt@gmail.com>  (tiny change)

	* cus-edit.el (custom-save-variables, custom-save-faces): Fix up
	indentation of inserted comment.

1020 1021 1022 1023 1024 1025 1026
2010-08-11  Jan Djärv  <jan.h.d@swipnet.se>

	* faces.el (region): Add type gtk that uses gtk colors.

	* dynamic-setting.el (dynamic-setting-handle-config-changed-event):
	Handle theme-name change.

1027 1028 1029 1030 1031 1032
2010-08-10  Michael R. Mauger  <mmaug@yahoo.com>

	* progmodes/sql.el: Version 2.5
	(sql-product-alist): Add :prompt-cont-regexp property for several
	database products.
	(sql-prompt-cont-regexp): New variable.
1033 1034
	(sql-output-newline-count, sql-output-by-send):
	New variables.  Record number of newlines in input text.
1035 1036 1037 1038 1039 1040 1041
	(sql-send-string): Handle multiple filters and count newlines.
	(sql-send-magic-terminator): Count terminator newline.
	(sql-interactive-remove-continuation-prompt): Filters output to
	remove continuation prompts; one for each newline.
	(sql-interactive-mode): Set up new variables, prompt regexp and
	output filter.
	(sql-mode-sqlite-font-lock-keywords): Correct some keywords.
1042
	(sql-make-alternate-buffer-name): Correct buffer name in edge cases.
1043

1044 1045 1046 1047
2010-08-10  Stefan Monnier  <monnier@iro.umontreal.ca>

	* emacs-lisp/pcase.el: New file.

1048 1049 1050 1051 1052
2010-08-10  Michael Albinus  <michael.albinus@gmx.de>

	* net/tramp.el (tramp-vc-registered-read-file-names): Read input
	as here-document, otherwise the command could exceed maximum
	length of command line.
1053 1054
	(tramp-handle-vc-registered): Call script accordingly.
	Reported by Toru TSUNEYOSHI <t_tuneyosi@hotmail.com>.
1055

1056 1057 1058 1059 1060
2010-08-10  Kenichi Handa  <handa@m17n.org>

	* language/hebrew.el: Exclude U+05C3 (Hebrew SOF PASUQ) from the
	composable pattern.

1061 1062 1063 1064 1065 1066 1067 1068 1069 1070
2010-08-09  Chong Yidong  <cyd@stupidchicken.com>

	* emacs-lisp/package.el (package-version-split)
	(package--version-first-nonzero, package-version-compare):
	Functions removed.
	(package-directory-list, package-load-all-descriptors)
	(package--built-in, package-activate, define-package)
	(package-installed-p, package-compute-transaction)
	(package-read-all-archive-contents)
	(package--add-to-archive-contents, package-buffer-info)
1071 1072
	(package-tar-file-info, package-list-packages-internal):
	Use version-to-list and version-list-*.
1073

1074 1075
	* emacs-lisp/package-x.el (package-upload-buffer-internal):
	Use version-to-list.
1076 1077
	(package-upload-buffer-internal): Use version-list-<=.

1078 1079
2010-08-09  Kenichi Handa  <handa@m17n.org>

Kenichi Handa's avatar
Kenichi Handa committed
1080
	* language/hebrew.el: Exclude U+05BD (Hebrew MAQAF) from the
1081 1082
	composable pattern.

1083 1084
2010-08-08  Chong Yidong  <cyd@stupidchicken.com>

1085 1086 1087
	* tutorial.el (tutorial--default-keys): C-d is now bound to
	delete-forward-char (Bug#6826).

1088 1089 1090
	* mouse.el (mouse-drag-track): Remove accidentally-removed check
	for `double' value of mouse-1-click-follows-link (Bug#6807).

1091 1092 1093 1094 1095 1096 1097 1098 1099 1100
2010-08-08  Johan Bockgård  <bojohan@gnu.org>

	* replace.el (replace-highlight): Bind isearch-forward and
	isearch-error, ensuring that highlighting is updated if the user
	switches the search direction (Bug#6808).

	* isearch.el (isearch-lazy-highlight-forward): New var.
	(isearch-lazy-highlight-new-loop, isearch-lazy-highlight-search):
	(isearch-lazy-highlight-update): Use it.

1101
2010-08-08  Kenichi Handa  <handa@m17n.org>
1102

Juanma Barranquero's avatar
Juanma Barranquero committed
1103 1104
	* international/mule.el (define-charset): Store NAME as :base property.
	(ctext-non-standard-encodings-table): Pay attention to charset aliases.
1105 1106
	(ctext-pre-write-conversion): Sort ctext-standard-encodings by the
	current priority.  Force using the designation of the specific
Juanma Barranquero's avatar
Juanma Barranquero committed
1107
	charset by adding `charset' text property.  Improve the whole algorithm.
1108

1109
2010-08-08  Juanma Barranquero  <lekktu@gmail.com>
1110 1111 1112 1113 1114

	* emulation/pc-select.el (pc-selection-mode-hook)
	(copy-region-as-kill-nomark, beginning-of-buffer-mark)
	(pc-selection-mode): Fix typos in docstrings.

1115
2010-08-08  Kenichi Handa  <handa@m17n.org>
1116 1117 1118 1119

	* language/cyrillic.el: Don't add "microsoft-cp1251" to
	ctext-non-standard-encodings-alist here.

Juanma Barranquero's avatar
Juanma Barranquero committed
1120 1121
	* international/mule.el (ctext-non-standard-encodings-alist):
	Add "koi8-r" and "microsoft-cp1251".
1122 1123 1124
	(ctext-standard-encodings): New variable.
	(ctext-non-standard-encodings-table): List only elements for
	non-standard encodings.
1125
	(ctext-pre-write-conversion): Adjust for the above change.
1126 1127 1128 1129 1130 1131
	Check ctext-standard-encodings.

	* international/mule-conf.el (compound-text): Doc fix.
	(ctext-no-compositions): Doc fix.
	(compound-text-with-extensions): Doc fix.

1132
2010-08-08  Stefan Monnier  <monnier@iro.umontreal.ca>
1133 1134 1135

	* simple.el (exchange-dot-and-mark): Mark obsolete, finally.

Juanma Barranquero's avatar
Juanma Barranquero committed
1136
2010-08-08  Juanma Barranquero  <lekktu@gmail.com>
1137

1138 1139 1140
	* progmodes/which-func.el (which-func-format): Split help-echo text
	into lines, like other mode-line tooltips.

1141 1142 1143
	* server.el (server-start): When using TCP sockets, force IPv4
	and use a literal 127.0.0.1 for localhost.  (Related to bug#6781.)

Juanma Barranquero's avatar
Juanma Barranquero committed
1144
2010-08-08  Stefan Monnier  <monnier@iro.umontreal.ca>
1145 1146 1147

	* bindings.el (complete-symbol): Run completion-at-point as a fallback.

Juanma Barranquero's avatar
Juanma Barranquero committed
1148
2010-08-08  Juanma Barranquero  <lekktu@gmail.com>
1149 1150 1151 1152 1153 1154

	* term.el (term-delimiter-argument-list): Reflow docstring.
	(term-read-input-ring, term-write-input-ring, term-send-input)
	(term-bol, term-erase-in-display, serial-supported-or-barf):
	Fix typos in docstrings.

Juanma Barranquero's avatar
Juanma Barranquero committed
1155
2010-08-08  Stefan Monnier  <monnier@iro.umontreal.ca>
1156 1157 1158

	* bindings.el (function-key-map): Add a S-tab => backtab fallback.

Juanma Barranquero's avatar
Juanma Barranquero committed
1159
2010-08-08  Juanma Barranquero  <lekktu@gmail.com>
1160 1161 1162

	* dabbrev.el (dabbrev-completion): Fix typo in docstring.

Juanma Barranquero's avatar
Juanma Barranquero committed
1163
2010-08-08  MON KEY  <monkey@sandpframing.com>  (tiny change)
1164 1165 1166 1167

	* emacs-lisp/syntax.el (syntax-ppss-toplevel-pos):
	Fix typo in docstring (bug#6747).

1168
2010-08-08  Leo  <sdl.web@gmail.com>
1169 1170 1171 1172

	* eshell/esh-io.el (eshell-get-target): Better detection of
	read-only file (Bug#6762).

1173
2010-08-08  Juanma Barranquero  <lekktu@gmail.com>
Juanma Barranquero's avatar
Juanma Barranquero committed
1174 1175 1176 1177

	* align.el (align-default-spacing): Doc fix.
	(align-region-heuristic, align-regexp): Fix typos in docstrings.

1178
2010-08-08  Stephen Peters <speters@itasoftware.com>
Ulf Jasper's avatar
Ulf Jasper committed
1179

1180
	* calendar/icalendar.el
Ulf Jasper's avatar
Ulf Jasper committed
1181 1182 1183 1184 1185
	(icalendar--split-value): Fixed splitting regexp. (Bug#6766)
	(icalendar--get-weekday-numbers): New
	(icalendar--convert-recurring-to-diary): Handle multiple byday
	values in weekly rules. (Bug#6766)

1186 1187 1188 1189 1190 1191
2010-08-08  Ulf Jasper  <ulf.jasper@web.de>

	* calendar/icalendar.el (icalendar-uid-format): Doc fix.
	(icalendar--create-uid, icalendar-export-region)
	(icalendar--parse-summary-and-rest): Code formatting.

1192 1193 1194 1195 1196 1197 1198 1199 1200 1201 1202 1203 1204 1205
2010-08-08  Jay Belanger  <jay.p.belanger@gmail.com>

	* calc/calc.el (calc-trail-mode,calc-refresh): Use `face' property
	to italicize headers.
	(calc-highlight-selections-with-faces): New variable.
	(calc-selected-face, calc-nonselected-face): New faces.

	* calc/calccomp.el (math-comp-highlight-string): Use
	`calc-highlight-selections-with-faces' to determine how to highlight
	sub-formulas.

	* calc/calc-sel.el (calc-show-selections): Change message to when
	using faces to highlight selections.

1206 1207
2010-08-07  Michael R. Mauger  <mmaug@yahoo.com>

Juanma Barranquero's avatar
Juanma Barranquero committed
1208 1209 1210
	* progmodes/sql.el (sql-mode-sqlite-font-lock-keywords):
	Add SQLite 3 keywords, functions and datatypes.
	(sql-interactive-mode): Remove `comint-process-echoes' set to t
1211 1212
	(Bug#6686).

1213 1214 1215 1216 1217 1218 1219 1220 1221 1222 1223 1224 1225 1226 1227
2010-08-07  Chong Yidong  <cyd@stupidchicken.com>

	* simple.el (select-active-regions): Move to keyboard.c.
	(deactivate-mark): Used saved-region-selection.
	(select-active-region): Function removed.
	(activate-mark, set-mark, push-mark-command)
	(handle-shift-selection): Don't call it.
	(keyboard-quit): Avoid adding the region to the window selection.

	* mouse.el (mouse-drag-track): Remove hacks to deal with old
	select-active-regions implementation.
	(mouse-yank-at-click): Doc fix.

	* cus-start.el: Add custom declaration for select-active-regions.

1228 1229
2010-08-07  Eli Zaretskii  <eliz@gnu.org>

1230 1231
	* simple.el (delete-forward-char): Doc fix.

1232 1233 1234
	* tutorial.el (help-with-tutorial): Hack safe file-local variables
	after reading the tutorial.

1235 1236 1237 1238 1239 1240
2010-08-06  Alan Mackenzie  <bug-cc-mode@gnu.org>

	* progmodes/cc-cmds.el (c-mask-paragraph, c-fill-paragraph): Fix
	for the case that a C style comment has its delimiters alone on
	their respective lines.

1241 1242
2010-08-06  Michael Albinus  <michael.albinus@gmx.de>

Juanma Barranquero's avatar
Juanma Barranquero committed
1243
	* net/tramp.el (tramp-handle-start-file-process): Set connection
1244 1245 1246 1247 1248 1249
	property "vec".
	(tramp-process-sentinel): Use it for flushing the cache.  We
	cannot do it via the process buffer, the buffer could be deleted
	already when running the sentinel.

2010-08-06  Jürgen Hötzel  <juergen@archlinux.org>  (tiny change)
1250 1251 1252 1253

	* comint.el (comint-mode): Make directory tracking functions
	functional on remote files.  (Bug#6764)

1254 1255 1256 1257
2010-08-06  Dan Nicolaescu  <dann@ics.uci.edu>

	* vc/diff-mode.el (diff-mode-shared-map): Bind g to revert-buffer.

1258 1259 1260 1261 1262 1263 1264 1265
2010-08-05  Eli Zaretskii  <eliz@gnu.org>

	* emacs-lisp/find-gc.el (find-gc-source-files): Rename
	unexec.c => unexcoff.c.

	* emacs-lisp/authors.el (authors-fixed-entries): Rename
	unexec.c => unexcoff.c.

1266 1267 1268 1269 1270 1271 1272 1273
2010-08-05  Michael Albinus  <michael.albinus@gmx.de>

	* net/tramp.el (tramp-handle-dired-uncache): Flush directory
	cache, not only file cache.
	(tramp-process-sentinel): New defun.
	(tramp-handle-start-file-process): Use it, in order to invalidate
	file caches.

1274 1275 1276 1277
2010-08-03  Leo  <sdl.web@gmail.com>

	* server.el (server-start): Simplify loop.

1278 1279
2010-08-02  Stefan Monnier  <monnier@iro.umontreal.ca>

1280 1281 1282
	* frame.el (screen-height, screen-width, set-screen-width)
	(set-screen-height): Remove ancient compatibility aliases.

1283 1284 1285
	* textmodes/fill.el (justify-current-line): Don't add 1 to nspaces
	when justifying.  It seems useless and harmful for ncols=1 (bug#6738).

1286 1287 1288
	* emacs-lisp/timer.el (timer-event-handler): Protect against timers
	that change current buffer.

1289 1290 1291 1292 1293
2010-08-01  YAMAMOTO Mitsuharu  <mituharu@math.s.chiba-u.ac.jp>

	* mouse.el (mouse-fixup-help-message): Match "mouse-2" only at the
	beginning of the string.  Use `string-match-p'.  (Bug#6765)

1294 1295 1296 1297
2010-08-01  Jan Djärv  <jan.h.d@swipnet.se>

	* cus-start.el (x-gtk-use-system-tooltips): New variable.

Chong Yidong's avatar
Chong Yidong committed
1298 1299
2010-08-01  Chong Yidong  <cyd@stupidchicken.com>

1300
	* emacs-lisp/package.el (package--list-packages): Fix column alignment.
Chong Yidong's avatar
Chong Yidong committed
1301
	(package--builtins): Tweak descriptions.
1302 1303 1304 1305
	(package-print-package): Upcase descriptions if necessary.
	Show all built-in packages in font-lock-builtin-face.
	(package-list-packages-internal): Omit "emacs" package.
	Show status of built-in packages as "built-in".
Chong Yidong's avatar
Chong Yidong committed
1306

1307 1308 1309 1310 1311 1312 1313
2010-07-31  Chong Yidong  <cyd@stupidchicken.com>

	* mouse.el (mouse-save-then-kill): Doc fix.  Deactivate mark
	before killing to preserve the primary selection (Bug#6701).

	* term/x-win.el (x-select-text): Doc fix.

1314 1315 1316 1317
2010-07-31  Nathaniel Flath  <flat0103@gmail.com>

	Enhance Java Mode to handle Java 5.0 (Tiger) and Java 6 (Mustang).
	The following functions were modified or created:
1318 1319 1320 1321 1322 1323 1324 1325 1326 1327 1328 1329 1330 1331 1332 1333 1334

	* progmodes/cc-vars.el (c-offsets-alist, c-inside-block-syms)
	(objc-font-lock-extra-types):
	* progmodes/cc-mode.el (c-basic-common-init):
	* progmodes/cc-langs.el (c-make-mode-syntax-table)
	(c++-make-template-syntax-table)
	(c-identifier-syntax-modifications, c-symbol-start, c-operators)
	(c-<-op-cont-regexp, c->-op-cont-regexp, c-class-decl-kwds)
	(c-brace-list-decl-kwds, c-modifier-kwds, c-prefix-spec-kwds-re)
	(c-type-list-kwds, c-decl-prefix-re, c-opt-type-suffix-key):
	* progmodes/cc-fonts.el (c-make-inverse-face)
	(c-basic-matchers-after):
	* progmodes/cc-engine.el (c-forward-keyword-clause)
	(c-forward-<>-arglist, c-forward-<>-arglist-recur)
	(c-forward-name, c-forward-type, c-forward-decl-or-cast-1)
	(c-guess-continued-construct, c-guess-basic-syntax):

1335 1336
2010-07-31  Jan Djärv  <jan.h.d@swipnet.se>

1337
	* faces.el (face-all-attributes): Improve documentation (Bug#6767).
1338

1339 1340 1341 1342 1343 1344 1345
2010-07-31  Eli Zaretskii  <eliz@gnu.org>

	* files.el (bidi-paragraph-direction): Define safe local values.

	* language/hebrew.el ("Hebrew"): Add TUTORIAL.he to
	language-info-alist.  Remove outdated FIXME in a comment.

1346 1347 1348 1349 1350
2010-07-31  Alan Mackenzie  <acm@muc.de>

	* progmodes/cc-cmds.el (c-mask-paragraph): Fix bug #6688:
	Auto-fill broken in C/C++ modes.

1351 1352 1353 1354 1355
2010-07-29  Jan Djärv  <jan.h.d@swipnet.se>

	* menu-bar.el (menu-bar-showhide-tool-bar-menu-customize-enable-left)
	(menu-bar-showhide-tool-bar-menu-customize-disable)
	(menu-bar-showhide-tool-bar-menu-customize-enable-right)
1356 1357
	(menu-bar-showhide-tool-bar-menu-customize-enable-bottom)
	(menu-bar-showhide-tool-bar-menu-customize-enable-top): New functions
1358 1359 1360
	(menu-bar-showhide-tool-bar-menu): If tool bar is moveable,
	make a menu for Options => toolbar that can move it.

1361 1362 1363 1364 1365 1366 1367 1368 1369 1370 1371 1372
2010-07-29  Chong Yidong  <cyd@stupidchicken.com>

	* emacs-lisp/package-x.el (package--make-rss-entry):
	(package-maint-add-news-item, package--update-news)
	(package-upload-buffer-internal): New arg ARCHIVE-URL.

	* emacs-lisp/package.el (package-archive-url): Rename from
	package-archive-id.
	(package-install): Doc fix.
	(package-download-single, package-download-tar, package-install)
	(package-menu-view-commentary): Callers changed.

1373 1374 1375 1376 1377 1378 1379 1380 1381 1382 1383
2010-07-29  Michael Albinus  <michael.albinus@gmx.de>

	* net/tramp.el (tramp-handle-start-file-process): Check only for
	`remote-tty' process property.
	(tramp-open-shell): Don't check for tty.
	(tramp-open-connection-setup-interactive-shell): Set `remote-tty'
	process property.

	* progmodes/gdb-mi.el (gdb-init-1): Check also for tty on a remote
	host.

1384 1385 1386 1387 1388 1389 1390 1391 1392 1393 1394 1395 1396
2010-07-28  Chong Yidong  <cyd@stupidchicken.com>

	* emacs-lisp/package.el (package-load-list, package-archives)
	(package-archive-contents, package-user-dir)
	(package-directory-list, package--builtins, package-alist)
	(package-activated-list, package-obsolete-alist): Mark as risky.

2010-07-28  Phil Hagelberg  <phil@evri.com>

	Add support for non-default package repositories.
	* emacs-lisp/package.el (package-archive-base): Var deleted.
	(package-archives): New variable.
	(package-archive-contents): Doc fix.
1397
	(package-load-descriptor): Do nothing if descriptor file is missing.
1398 1399 1400 1401 1402 1403 1404 1405 1406 1407 1408 1409 1410 1411 1412
	(package--write-file-no-coding): New function.
	(package-unpack-single): Use it.
	(package-archive-id): New function.
	(package-download-single, package-download-tar)
	(package-menu-view-commentary): Use it.
	(package-installed-p): Make second argument optional.
	(package-read-all-archive-contents): New function.
	(package-initialize): Use it.
	(package-read-archive-contents): Add ARCHIVE argument.
	(package--add-to-archive-contents): New function.
	(package-install): Don't call package-read-archive-contents.
	(package--download-one-archive): Store archive file in a
	subdirectory of package-user-dir.
	(package-menu-execute): Remove spurious line movement.

1413 1414 1415 1416
2010-07-28  Jan Djärv  <jan.h.d@swipnet.se>

	* cus-start.el (tool-bar-style): Add text-image-horiz.

1417 1418 1419 1420 1421
2010-07-28  Michael Albinus  <michael.albinus@gmx.de>

	* progmodes/gud.el (gud-common-init): Check for remoteness of
	`file', and not of `default-directory'.

1422 1423 1424 1425 1426 1427 1428 1429 1430 1431 1432 1433 1434 1435
2010-07-28  Michael Albinus  <michael.albinus@gmx.de>

	* net/tramp.el (tramp-methods): Move hostname to the end in all
	ssh `tramp-login-args'.
	(tramp-verbose): Describe verbose level 9.
	(tramp-open-shell): Check for tty if `tramp-verbose' >= 9.
	(tramp-open-connection-setup-interactive-shell): Trace stty
	settings if `tramp-verbose' >= 9.
	(tramp-handle-start-file-process): Implement tty setting.
	(Bug#4604, Bug#6360)

	* net/tramp-cmds.el (tramp-bug): Recommend setting of
	`tramp-verbose' to 9.

1436 1437 1438 1439 1440 1441
2010-07-27  Aaron S. Hawley  <ashawley@burlingtontelecom.net>

	* emacs-lisp/re-builder.el (reb-re-syntax, reb-lisp-mode)
	(reb-lisp-syntax-p, reb-change-syntax, reb-cook-regexp):
	Remove references to package `lisp-re' (bug#4369).

1442 1443 1444 1445 1446 1447 1448
2010-07-27  Tom Tromey  <tromey@redhat.com>

	* progmodes/js.el (js-mode):
	* progmodes/make-mode.el (makefile-mode):
	* progmodes/simula.el (simula-mode):
	* progmodes/tcl.el (tcl-mode): Derive from prog-mode.

Juanma Barranquero's avatar
Juanma Barranquero committed
1449
2010-07-27  Juanma Barranquero  <lekktu@gmail.com>
1450 1451 1452

	* help-fns.el (find-lisp-object-file-name): Doc fix (bug#6494).

1453 1454
	* cedet/semantic/db-file.el (object-write): Fix typo in docstring.

1455 1456 1457 1458
	* time.el (display-time-day-and-date): Remove spurious * in docstring.
	(display-time-world-buffer-name, display-time-world-mode-map):
	Fix typos in docstrings.

Juanma Barranquero's avatar
Juanma Barranquero committed
1459
2010-07-27  Shyam Karanatt  <shyam@swathanthran.in>  (tiny change)
1460 1461 1462 1463 1464

	* image-mode.el (image-display-size): New function.
	(image-forward-hscroll, image-next-line, image-eol, image-eob)
	(image-mode-fit-frame): Use it (Bug#6639).

Juanma Barranquero's avatar
Juanma Barranquero committed
1465
2010-07-27  Chong Yidong  <cyd@stupidchicken.com>
1466 1467 1468 1469

	* dired.el (dired-buffers-for-dir): Handle list values of
	dired-directory (Bug#6636).

1470 1471 1472 1473 1474
2010-07-26  Sam Steingold  <sds@gnu.org>

	* mouse.el (mouse-yank-primary, mouse-yank-secondary):
	Do not call `x-get-selection' the second time, reuse the value.

1475 1476 1477
2010-07-26  Daiki Ueno  <ueno@unixuser.org>

	* epa-mail.el (epa-mail-mode-map): Add alternative key bindings
1478
	which consist of control chars only.  Suggested by Richard Stallman.
1479

1480 1481 1482 1483 1484 1485
2010-07-25  Daiki Ueno  <ueno@unixuser.org>

	* epa-file.el (epa-file-insert-file-contents): Check if LOCAL-FILE
	exists before passing an error to find-file-not-found-functions
	(bug#6723).

1486 1487 1488 1489 1490 1491 1492 1493 1494 1495 1496 1497 1498 1499
2010-07-23  Lukas Huonker  <l.huonker@gmail.com>

	* play/tetris.el (tetris-tty-colors, tetris-x-colors, tetris-blank):
	Remove leading nil element, adjust values.
	(tetris-shapes, tetris-shape-scores):
	Change representation of shapes and remove some redundancy.
	(tetris-get-shape-cell, tetris-shape-width, tetris-draw-next-shape)
	(tetris-draw-shape, tetris-erase-shape, tetris-test-shape):
	Adjust for working with new representation of shapes.
	(tetris-shape-rotations): New function.
	(tetris-move-bottom, tetris-move-left, tetris-move-right)
	(tetris-rotate-prev, tetris-rotate-next):
	Adjust for working with the new version of tetris-test-shape.

1500 1501 1502 1503 1504 1505 1506 1507 1508 1509 1510
2010-07-23  Markus Triska  <markus.triska@gmx.at>

	* progmodes/ps-mode.el: Use comint (bug#5954).
	(ps-run-mode-map): Adapt for comint-mode; omit "\r", [return]..
	(ps-mode-other-newline): Simplify.
	(ps-run-mode): Derive from comint-mode instead of
	fundamental-mode, yielding input history etc.
	(ps-run-start, ps-run-quit, ps-run-clear, ps-run-region)
	(ps-run-send-string): Adapt for comint-mode.
	(ps-run-newline): Remove now unneeded function.

1511 1512 1513 1514 1515
2010-07-23  Michael Albinus  <michael.albinus@gmx.de>

	* net/tramp.el (tramp-methods): Move hostname to the end in all
	plink `tramp-login-args'.

1516 1517 1518 1519 1520 1521
2010-07-23  Michael Albinus  <michael.albinus@gmx.de>

	* net/tramp.el (tramp-open-shell): New defun.
	(tramp-find-shell, tramp-open-connection-setup-interactive-shell):
	Use it.

1522 1523 1524 1525 1526 1527
2010-07-23  Michael Albinus  <michael.albinus@gmx.de>

	* net/tramp.el (tramp-file-name-regexp-unified)
	(tramp-completion-file-name-regexp-unified): On W32 systems, do
	not regard the volume letter as remote filename.  (Bug#5447)

1528 1529 1530 1531 1532
2010-07-23  Juanma Barranquero  <lekktu@gmail.com>

	* custom.el (custom-declare-variable): Give a clearer error message
	when the docstring is missing (bug#6476).

1533 1534 1535 1536 1537 1538 1539 1540 1541 1542 1543 1544
2010-07-22  Michael R. Mauger  <mmaug@yahoo.com>

	* progmodes/sql.el: Version 2.4.  Improved Login prompting.
	(sql-login-params): New widget definition.
	(sql-oracle-login-params, sql-mysql-login-params)
	(sql-solid-login-params, sql-sybase-login-params)
	(sql-informix-login-params, sql-ingres-login-params)
	(sql-ms-login-params, sql-postgres-login-params)
	(sql-interbase-login-params, sql-db2-login-params)
	(sql-linter-login-params): Use it.
	(sql-sqlite-login-params): Use it; Define "database" parameter as
	a file name.
Juanma Barranquero's avatar
Juanma Barranquero committed
1545
	(sql-sqlite-program): Change to "sqlite3".
1546 1547 1548 1549 1550 1551 1552
	(sql-comint-sqlite): Make sure database name is complete.
	(sql-for-each-login): New function.
	(sql-connect, sql-save-connection): Use it.
	(sql-get-login-ext): New function.
	(sql-get-login): Use it.
	(sql-make-alternate-buffer-name): Handle :file parameters.

1553 1554 1555 1556 1557
2010-07-22  Juanma Barranquero  <lekktu@gmail.com>

	* dired.el (dired-no-confirm): Document value t and fix defcustom to
	accept it (bug#6597).  Suggested by Drew Adams <drew.adams@oracle.com>.

1558 1559 1560 1561
2010-07-22  Teemu Likonen  <tlikonen@iki.fi>  (tiny change)

	* dired.el (dired-mode-map): Use command remapping (bug#6632).

1562 1563 1564 1565
2010-07-22  Lawrence Mitchell  <wence@gmx.li>

	* term/vt100.el (vt100-wide-mode): Fix :init-value keyword (bug#6620).

1566 1567 1568 1569 1570 1571
2010-07-21  Michael Albinus  <michael.albinus@gmx.de>

	* net/tramp.el (tramp-get-ls-command)
	(tramp-get-ls-command-with-dired): Run tests on "/dev/null"
	instead of "/".

1572 1573 1574 1575 1576 1577 1578 1579 1580 1581 1582 1583 1584 1585 1586 1587
2010-07-20  Michael R. Mauger  <mmaug@yahoo.com>

	* progmodes/sql.el: Version 2.3.
	(sql-connection-alist): Changed keys from symbols to strings;
	enhanced the widget definition.
	(sql-mode-menu): Added submenu to select connections.
	(sql-interactive-mode-menu): Added "Save Connection" item.
	(sql-add-product): Fixed menu item.
	(sql-get-product-feature): Improved error handling.
	(sql--alt-buffer-part, sql--alt-if-not-empty): Removed.
	(sql-make-alternate-buffer-name): Simplified.
	(sql-product-interactive): Handle missing product.
	(sql-connect): Support string keys, minor improvements.
	(sql-save-connection): New function.
	(sql-connection-menu-filter): New function.

1588 1589 1590 1591 1592 1593 1594
2010-07-20  Michael Albinus  <michael.albinus@gmx.de>

	* net/tramp.el (tramp-file-name-handler): Trace 'quit.
	(tramp-open-connection-setup-interactive-shell): Apply
	workaround for IRIX64 bug.  Move argument of last
	`tramp-send-command' where it belongs to.

1595 1596 1597 1598 1599 1600 1601
2010-07-20  Michael Albinus  <michael.albinus@gmx.de>

	* net/tramp.el (tramp-perl-file-attributes)
	(tramp-perl-directory-files-and-attributes): Don't pass "$3".
	(tramp-maybe-open-connection): Use `async-args' and `gw-args' in
	front of `login-args'.

1602 1603 1604 1605 1606 1607
2010-07-19  Juanma Barranquero  <lekktu@gmail.com>

	* time.el (display-time-world-mode): Define with `define-derived-mode'.
	Set `show-trailing-whitespace' to nil.
	(display-time-world-display): Simplify.

1608 1609 1610
2010-07-18  Alan Mackenzie  <acm@muc.de>

	Enhance `c-file-style' in file/directory local variables.
Juanma Barranquero's avatar
Juanma Barranquero committed
1611
	* progmodes/cc-mode.el (c-count-cfss): New function.
1612 1613 1614 1615
	(c-before-hack-hook): Call `c-set-style' differently according to
	whether c-file-style was set in file or directory local
	variables.

1616 1617 1618 1619 1620 1621 1622 1623 1624 1625 1626 1627 1628
2010-07-18  Michael R. Mauger  <mmaug@yahoo.com>

	* progmodes/sql.el: Version 2.2.
	(sql-product, sql-user, sql-database, sql-server, sql-port): Use
	defcustom :safe keyword rather than putting safe-local-variable
	property.
	(sql-password): Use defcustom :risky keyword rather than putting
	risky-local-variable property.
	(sql-oracle-login-params, sql-sqlite-login-params)
	(sql-solid-login-params, sql-sybase-login-params)
	(sql-informix-login-params, sql-ingres-login-params)
	(sql-ms-login-params, sql-postgres-login-params)
	(sql-interbase-login-params, sql-db2-login-params)
Juanma Barranquero's avatar
Juanma Barranquero committed
1629
	(sql-linter-login-params): Add `port' option.
1630 1631 1632 1633 1634 1635 1636 1637 1638
	(sql-get-product-feature): Added NO-INDIRECT parameter.
	(sql-comint-oracle, sql-comint-sybase)
	(sql-comint-informix, sql-comint-sqlite, sql-comint-mysql)
	(sql-comint-solid, sql-comint-ingres, sql-comint-ms)
	(sql-comint-postgres, sql-comint-interbase, sql-comint-db2)
	(sql-comint-linter): Renamed sql-connect-* functions to
	sql-comint-*.
	(sql-product-alist, sql-mode-menu): Renamed as above and
	:sqli-connect-func to :sqli-comint-func.
Juanma Barranquero's avatar
Juanma Barranquero committed
1639
	(sql-connection): New variable.
1640 1641 1642 1643
	(sql-interactive-mode): Set it.
	(sql-connection-alist): New variable.
	(sql-connect): New function.
	(sql--alt-buffer-part, sql--alt-if-not-empty)
Juanma Barranquero's avatar
Juanma Barranquero committed
1644
	(sql-make-alternate-buffer-name): Improved alternative buffer name.
1645

1646 1647 1648 1649 1650
2010-07-17  Thierry Volpiatto  <thierry.volpiatto@gmail.com>

	* image-mode.el (image-bookmark-make-record): Do not set context
	in an image (Bug#6650).

1651 1652 1653 1654 1655 1656