ChangeLog 530 KB
Newer Older
Eli Zaretskii's avatar
Eli Zaretskii committed
1 2 3 4
2010-06-12  Eli Zaretskii  <eliz@gnu.org>

	* files.el (make-directory): Doc fix (bug#6396).

5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21
2010-06-12  Michael Albinus  <michael.albinus@gmx.de>

	* net/tramp.el (tramp-remote-process-environment): Protect version
	string by apostroph.
	(tramp-shell-prompt-pattern): Do not use a shy group in case of
	XEmacs.
	(tramp-file-name-for-operation): Add `call-process-region'.
	(tramp-set-process-query-on-exit-flag): Fix wrong parentheses.

	* 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.
	(tramp-advice-file-expand-wildcards): Do not use
	`tramp-handle-file-remote-p'.
	(tramp-compat-make-temp-file): Handle the case, that
	`make-temp-file' has no third argument EXTENSION.

22 23
2010-06-11  Juanma Barranquero  <lekktu@gmail.com>

24 25
	* makefile.w32-in (WINS_BASIC): Include new directory vc.

26 27
	* loadup.el ("vc-hooks", "ediff-hook"): Load from lisp/vc/.

28 29 30 31 32 33 34 35 36 37
2010-06-11  Juri Linkov  <juri@jurta.org>

	* finder.el (finder-known-keywords): Add keyword "vc"
	for version control.

	* add-log.el, cvs-status.el, diff.el, diff-mode.el, ediff.el,
	* emerge.el, log-edit.el, log-view.el, pcvs.el, smerge-mode.el,
	* vc-annotate.el, vc-bzr.el, vc-dir.el, vc-dispatcher.el, vc-git.el,
	* vc-hg.el, vc-mtn.el, vc.el: Add keyword "vc".

38 39 40 41 42 43 44 45 46 47 48 49 50
2010-06-11  Juri Linkov  <juri@jurta.org>

	Move version control related files to the "vc" subdirectory.
	* add-log.el, cvs-status.el, diff.el, diff-mode.el, ediff-diff.el,
	* ediff.el, ediff-help.el, ediff-hook.el, ediff-init.el,
	* ediff-merg.el, ediff-mult.el, ediff-ptch.el, ediff-util.el,
	* ediff-vers.el, ediff-wind.el, emerge.el, log-edit.el, log-view.el,
	* pcvs-defs.el, pcvs.el, pcvs-info.el, pcvs-parse.el, pcvs-util.el,
	* smerge-mode.el, vc-annotate.el, vc-arch.el, vc-bzr.el, vc-cvs.el,
	* vc-dav.el, vc-dir.el, vc-dispatcher.el, vc.el, vc-git.el,
	* vc-hg.el, vc-hooks.el, vc-mtn.el, vc-rcs.el, vc-sccs.el, vc-svn.el:
	Move files to the "vc" subdirectory.

51 52 53 54 55
2010-06-11  Chong Yidong  <cyd@stupidchicken.com>

	* comint.el (comint-password-prompt-regexp): Fix 2010-04-10 change
	(Bug#6367).

56 57 58 59
2010-06-11  Stephen Eglen  <stephen@gnu.org>

	* shell.el: Bind `shell-resync-dirs' to M-RET.

60 61 62 63 64
2010-06-10  Michael Albinus  <michael.albinus@gmx.de>

	* notifications.el: Move file from lisp/net, because it is
	supposed to talk locally to the user.

65 66 67 68
2010-06-10  Julien Danjou  <julien@danjou.info>

	* net/notifications.el (notifications-on-action-signal)
	(notifications-on-closed-signal): Pass notification id as first
69
	argument to the callback functions.  Add docstrings.
70 71
	(notifications-notify): Fix docstring.

Glenn Morris's avatar
Glenn Morris committed
72 73 74 75 76
2010-06-10  Glenn Morris  <rgm@gnu.org>

	* emacs-lisp/authors.el (authors-ignored-files)
	(authors-valid-file-names): Add some files.

77 78 79 80 81
2010-06-10  Stefan Monnier  <monnier@iro.umontreal.ca>

	* net/rcirc.el (rcirc-server-alist, rcirc, rcirc-connect): Resolve
	merge conflict, giving preference to the emacs-23 version of the code.

82 83
2010-06-09  Stefan Monnier  <monnier@iro.umontreal.ca>

84 85 86
	* emacs-lisp/advice.el (ad-compile-function):
	Define warning-suppress-types before we let-bind it (bug#6275).

87 88 89 90 91
	* vc-dispatcher.el: Rename mode-line-hook to vc-mode-line-hook;
	declare it, make it buffer-local and permanent-local (bug#6324).
	(vc-resynch-window): Adjust name.
	* vc-hooks.el (vc-find-file-hook): Adjust name.

92 93 94 95
2010-06-09  Michael Albinus  <michael.albinus@gmx.de>

	* net/notifications.el (notifications-notify): Fix docstring.

96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115
2010-06-09  Juanma Barranquero  <lekktu@gmail.com>

	Update to Unicode 6.0.0 beta.
	* international/charprop.el: Update copyright.
	* international/mule-cmds.el (ucs-names): Update character ranges.
	* international/uni-bidi.el:
	* international/uni-category.el:
	* international/uni-combining.el:
	* international/uni-comment.el:
	* international/uni-decimal.el:
	* international/uni-decomposition.el:
	* international/uni-digit.el:
	* international/uni-lowercase.el:
	* international/uni-mirrored.el:
	* international/uni-name.el:
	* international/uni-numeric.el:
	* international/uni-old-name.el:
	* international/uni-titlecase.el:
	* international/uni-uppercase.el: Regenerate.

116 117
2010-06-09  Juanma Barranquero  <lekktu@gmail.com>

118 119 120
	* emacs-lisp/smie.el (comment-string-strip): Declare function.
	(smie-precs-precedence-table): Fix typo in docstring.

121 122
	* vc-mtn.el (log-edit-extract-headers): Declare function.

123 124
	* vc-hg.el (log-edit-extract-headers): Remove duplicate declaration.

125 126 127
	* net/notifications.el (dbus-register-signal): Declare function.
	(notifications-notify): Fix typos and reflow docstring.

128 129 130 131 132 133 134 135 136
2010-06-09  Dan Nicolaescu  <dann@ics.uci.edu>

	Improve VC create/retrieve tag/branch.
	* vc.el (vc-create-tag): Do not read the directory name for VCs
	with repository revision granularity.  Adjust the tag/branch
	prompt.  Reset VC properties.
	(vc-retrieve-tag): Do not read the directory name for VCs
	with repository revision granularity.  Reset VC properties.

137 138
2010-06-09  Julien Danjou  <julien@danjou.info>

139
	* net/notifications.el: New file.
140

141 142
2010-06-09  Dan Nicolaescu  <dann@ics.uci.edu>

143 144 145 146 147 148
	Add optional support for resetting VC properties.
	* vc-dispatcher.el (vc-resynch-window): Add new optional argument,
	call vc-file-clearprops when true.
	(vc-resynch-buffer): Add new optional argument, pass it down.
	(vc-resynch-buffers-in-directory): Likewise.

149 150 151 152 153 154
	Improve support for special markup in the VC commit message.
	* vc-mtn.el (vc-mtn-checkin): Add support for Author: and Date: markup.
	* vc-hg.el (vc-hg-checkin): Add support for Date:.
	* vc-git.el (vc-git-checkin):
	* vc-bzr.el (vc-bzr-checkin): Likewise.

155 156 157 158 159
2010-06-09  Stefan Monnier  <monnier@iro.umontreal.ca>

	* emacs-lisp/smie.el (smie-indent-keyword): Remove special case that
	can be handled with a ((:before "fn") (:prev "=>" parent)) rule.

160 161 162 163 164 165
2010-06-07  Martin Pohlack  <mp26@os.inf.tu-dresden.de>

	* iimage.el: Remove images as soon as the underlying text is modified.
	(iimage-modification-hook): New function.
	(iimage-mode-buffer): Use it.

166 167 168 169 170 171 172 173
2010-06-07  Stefan Monnier  <monnier@iro.umontreal.ca>

	* emacs-lisp/smie.el (smie-indent-offset-rule): Rename from
	smie-indent-offset-after.  Add :prev case.  Make a bit more generic.
	(smie-indent-virtual): Remove `virtual' arg.  Update callers.
	(smie-indent-keyword): Add handling of open-paren keywords.
	(smie-indent-comment-continue): Don't assume comment-continue.

174 175 176 177 178 179 180
2010-06-07  Martin Rudalics  <rudalics@gmx.at>

	* window.el (pop-to-buffer): Remove the conditional that
	compares new-window and old-window, so it will reselect
	the selected window unconditionally.
	http://lists.gnu.org/archive/html/emacs-devel/2010-06/msg00078.html

181 182 183 184 185 186 187 188 189 190
2010-06-07  Stefan Monnier  <monnier@iro.umontreal.ca>

	* emacs-lisp/smie.el (smie-indent-offset-after)
	(smie-indent-forward-token, smie-indent-backward-token): New functions.
	(smie-indent-after-keyword): Use them.
	(smie-indent-fixindent): Only applies to the indentation of the BOL.
	(smie-indent-keyword): Tweak the black magic.
	(smie-indent-comment-continue): Strip comment-continue before use.
	(smie-indent-functions): Indent comments before keywords.

191 192 193 194 195 196
2010-06-06  Juri Linkov  <juri@jurta.org>

	* isearch.el (isearch-lazy-highlight-search): Fix looping
	by checking for empty match.  This syncs this loop with the
	similar loop in `isearch-search'.  (Bug#6362)

197 198 199 200 201 202 203 204
2010-06-05  Juanma Barranquero  <lekktu@gmail.com>

	* net/dbus.el (dbus-register-method): Declare function.
	(dbus-handle-event, dbus-property-handler): Fix typos in docstrings.
	(dbus-introspect): Doc fix.
	(dbus-event-bus-name, dbus-introspect-get-interface)
	(dbus-introspect-get-argument): Reflow docstrings.

205 206 207 208 209 210 211 212 213
2010-06-05  Dan Nicolaescu  <dann@ics.uci.edu>

	vc-log-incoming/vc-log-outgoing fixes for Git.
	* vc-git.el (vc-git-log-view-mode): Fix font lock for
	incoming/outgoing logs.
	(vc-git-log-outgoing, vc-git-log-incoming): Use @{upstream}
	instead of vc-git-compute-remote.
	(vc-git-compute-remote): Remove.

214 215 216 217 218
2010-06-04  Chong Yidong  <cyd@stupidchicken.com>

	* term/common-win.el (x-colors): Add "dark green" and "dark
	turquoise" (Bug#6332).

219 220 221 222 223 224 225 226 227 228 229
2010-06-04  Juri Linkov  <juri@jurta.org>

	* simple.el (kill-new): Fix logic of kill-do-not-save-duplicates.
	Instead of setting `replace' to t and replacing the same string
	with itself, don't do certain actions when
	kill-do-not-save-duplicates is non-nil and string is equal to car
	of kill-ring: don't call menu-bar-update-yank-menu, don't push
	interprogram-paste strings to kill-ring, and don't push the input
	argument `string' to kill-ring.
	http://lists.gnu.org/archive/html/emacs-devel/2010-06/msg00072.html

230 231 232 233
2010-06-04  Juanma Barranquero  <lekktu@gmail.com>

	* subr.el (directory-sep-char): Move from fileio.c and make a defconst.

234 235 236 237 238 239 240 241 242
2010-06-04  Michael Albinus  <michael.albinus@gmx.de>

	* net/tramp-gvfs.el (tramp-gvfs-handle-expand-file-name): Expand "~/".
	(tramp-gvfs-handler-mounted-unmounted)
	(tramp-gvfs-connection-mounted-p): Handle default-location.

	* net/tramp-smb.el (tramp-smb-handle-delete-directory): Don't try to
	move files to trash.

243 244 245 246 247 248 249
2010-06-04  Juanma Barranquero  <lekktu@gmail.com>

	* international/mule-cmds.el (nonascii-insert-offset)
	(nonascii-translation-table): Add obsolescence information.

	* international/mule.el (make-translation-table-from-vector): Doc fix.

250 251 252 253 254 255
2010-06-03  Eric Ludlam  <zappo@gnu.org>

	* cedet/semantic/lex-spp.el
	(semantic-lex-spp-table-write-slot-value): Instead of erroring on
	invalid values during save, just save a nil (Bug#6324).

Glenn Morris's avatar
Glenn Morris committed
256 257 258 259 260
2010-06-03  Glenn Morris  <rgm@gnu.org>

	* desktop.el (desktop-clear-preserve-buffers):
	Add "*Warnings*" buffer.  (Bug#6336)

261 262
2010-06-03  Dan Nicolaescu  <dann@ics.uci.edu>

263 264 265 266 267
	vc-log-incoming/vc-log-outgoing improvements for Git.
	* vc-git.el (vc-git-log-outgoing): Use the same format as the
	short log.
	(vc-git-log-incoming): Likewise.  Run "git fetch" before the log command.

268 269 270 271 272 273
	Add bindings for vc-log-incoming and vc-log-outgoing.
	* vc-hooks.el (vc-prefix-map): Add bindings for vc-log-incoming
	and vc-log-outgoing.
	* vc-dir.el (vc-dir-menu-map): Add menu bindings for vc-log-incoming
	and vc-log-outgoing.

274 275 276 277 278
2010-06-03  Chong Yidong  <cyd@stupidchicken.com>

	* net/rcirc.el (rcirc-sort-nicknames): Remove.
	(rcirc-handler-366): Always sort nicknames.

279 280 281 282
2010-06-03  Juanma Barranquero  <lekktu@gmail.com>

	* emacs-lisp/smie.el (comment-continue): Declare for byte-compiler.

283 284 285 286 287
2010-06-03  Chong Yidong  <cyd@stupidchicken.com>

	* net/rcirc.el (rcirc-nickname<, rcirc-sort-nicknames-join): Doc
	fix.

288 289 290 291 292
2010-06-03  Stefan Monnier  <monnier@iro.umontreal.ca>

	* net/rcirc.el (rcirc-sort-nicknames): Change default.
	(rcirc-sort-nicknames-join): Avoid setq.

293 294 295 296 297 298
2010-06-03  Deniz Dogan  <deniz.a.m.dogan@gmail.com>

	* net/rcirc.el (rcirc-sort-nicknames): New custom.
	(rcirc-nickname<, rcirc-sort-nicknames-join): New funs.
	(rcirc-handler-366): Use them.

299 300 301 302 303 304 305 306 307 308
2010-06-03  Stefan Monnier  <monnier@iro.umontreal.ca>

	Split smie-indent-calculate into more manageable chunks.
	* emacs-lisp/smie.el (smie-indent-virtual, smie-indent-fixindent)
	(smie-indent-comment, smie-indent-after-keyword, smie-indent-keyword)
	(smie-indent-close, smie-indent-comment-continue, smie-indent-bob)
	(smie-indent-exps): Extract from smie-indent-calculate.
	(smie-indent-functions): New var.
	(smie-indent-functions): Use them.

309 310 311 312 313
2010-06-02  Stefan Monnier  <monnier@iro.umontreal.ca>

	* emacs-lisp/smie.el (smie-indent-hanging-p): Use smie-bolp.
	(smie-indent-calculate): Simplify and cleanup.

314 315 316
2010-06-02  Michael Albinus  <michael.albinus@gmx.de>

	* net/tramp-gvfs.el (top): Require url-util.
317 318 319
	(tramp-gvfs-mount-point): Remove.
	(tramp-gvfs-stringify-dbus-message, tramp-gvfs-send-command):
	New defuns.
320 321
	(with-tramp-dbus-call-method): Format trace message.
	(tramp-gvfs-handle-copy-file, tramp-gvfs-handle-rename-file):
322 323
	Implement backup call, when operation on local files fails.
	Use progress reporter.  Flush properties of changed files.
324 325 326 327 328 329 330 331 332 333 334 335 336 337 338
	(tramp-gvfs-handle-make-directory): Make more traces.
	(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): 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.
	(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).

22010-06-02  Dan Nicolaescu  <dann@ics.uci.edu>
339 340 341

	* log-edit.el (log-edit-font-lock-keywords): Make group 4 match lax.

342 343 344 345 346
2010-06-01  Juanma Barranquero  <lekktu@gmail.com>

	* emacs-lisp/eldoc.el: Add completions for new commands left-* and
	right-*.  (Bug#6265)

347 348
2010-06-01  Dan Nicolaescu  <dann@ics.uci.edu>

349 350 351 352 353
	Add support for vc-log-incoming, improve vc-log-outgoing for Git.
	* vc-git.el (vc-git-compute-remote): New function.
	(vc-git-log-outgoing): Use it instead of hard coding a value.
	(vc-git-log-incoming): New function.

354 355 356 357
	Improve state updating for VC tag commands.
	* vc.el (vc-create-tag, vc-retrieve-tag): Call vc-resynch-buffer
	to update the state of all buffers in the directory.

358 359
	* vc-dir.el (vc-dir-update): Remove entries with a nil state (bug#5539).

360 361 362 363 364
2010-06-01  Stefan Monnier  <monnier@iro.umontreal.ca>

	* vc-bzr.el (vc-bzr-revision-completion-table): Apply
	`file-directory-p' to the filename part rather than to the whole text.

Stefan Monnier's avatar
Stefan Monnier committed
365
2010-05-31  Jonathan Marchand  <jonathlela@gmail.com>  (tiny change)
366 367 368 369

	* cedet/ede/cpp-root.el (ede-set-project-variables): Fix feature name
	(bug#6231).

370 371 372 373
2010-05-31  Stefan Monnier  <monnier@iro.umontreal.ca>

	* man.el (Man-completion-table): Let the user type "-k " (bug#6319).

374 375 376 377
2010-05-31  Drew Adams  <drew.adams@oracle.com>

	* files.el (directory-files-no-dot-files-regexp): Doc fix (bug#6298).

378 379 380 381 382
2010-05-31  Juanma Barranquero  <lekktu@gmail.com>

	* subr.el (momentary-string-display): Just use read-event to read
	the exit event (Bug#6238).

Eli Zaretskii's avatar
Eli Zaretskii committed
383 384 385 386
2010-05-30  Eli Zaretskii  <eliz@gnu.org>

	* international/mule.el (define-coding-system): Doc fix (bug#6313).

387 388 389 390 391
2010-05-30  Juanma Barranquero  <lekktu@gmail.com>

	* emulation/cua-base.el: Recognize also `right-word' and `left-word'.
	Suggested by Eli Zaretskii <eliz@gnu.org>.

392 393 394 395 396 397 398
2010-05-30  Stefan Monnier  <monnier@iro.umontreal.ca>

	* minibuffer.el (completion-file-name-table): Don't return a boundary
	past the end of `string' (bug#6299).
	(completion--file-name-table): Delegate to completion-file-name-table
	for the `boundaries' case.

399 400
2010-05-30  Juanma Barranquero  <lekktu@gmail.com>

401 402 403
	* emulation/cua-base.el: Recognize `right-char' and `left-char' as
	movement commands.

404 405 406
	* progmodes/ada-xref.el (ada-prj-ada-project-path-sep): Set from
	`path-separator', but maintain compatibility with Emacs 20.2.

407 408 409 410 411 412 413
2010-05-29  Chong Yidong  <cyd@stupidchicken.com>

	* server.el (server-process-filter): Receive parent-id argument
	from emacsclient.
	(server-create-window-system-frame): New arg.  Pass parent-id as
	frame parameter.

Eli Zaretskii's avatar
Eli Zaretskii committed
414 415
2010-05-29  Eli Zaretskii  <eliz@gnu.org>

416 417 418 419 420 421 422 423 424 425 426 427
	Bidi-sensitive word movement with arrow keys.
	* subr.el (right-arrow-command, left-arrow-command): Move to
	bindings.el.

	* bindings.el (right-char, left-char): Move from subr.el and
	rename from right-arrow-command and left-arrow-command.
	(right-word, left-word): New functions.
	(global-map) <right>: Bind to right-char.
	(global-map) <left>: Bind to left-char.
	(global-map) <C-right>: Bind to right-word.
	(global-map) <C-left>: Bind to left-word.

Eli Zaretskii's avatar
Eli Zaretskii committed
428 429 430 431 432
	* ls-lisp.el (ls-lisp-classify-file): New function.
	(ls-lisp-insert-directory): Call it if switches include -F (bug#6294).
	(ls-lisp-classify): Call ls-lisp-classify-file.
	(insert-directory): Remove blanks from switches.

433 434 435 436 437
2010-05-29  Chong Yidong  <cyd@stupidchicken.com>

	* ansi-color.el: Delete unused escape sequences (Bug#6085).
	(ansi-color-drop-regexp): New constant.
	(ansi-color-apply, ansi-color-filter-region)
438
	(ansi-color-apply-on-region): Delete unrecognized control sequences.
439 440
	(ansi-color-apply): Build string list before calling concat.

441 442 443 444 445 446
2010-05-28  Juri Linkov  <juri@jurta.org>

	* image-dired.el (image-dired-dired-toggle-marked-thumbs):
	Replace LOCALP arg of `dired-get-filename' 'no-dir with nil.
	(Bug#5270)

447 448 449 450 451 452 453 454
2010-05-28  Michael Albinus  <michael.albinus@gmx.de>

	* net/tramp.el (tramp-debug-message): Add `tramp-compat-funcall'
	to ignored backtrace functions.
	(with-progress-reporter): Expand docstring.
	(tramp-handle-delete-file): Implement TRASH argument.
	(tramp-get-remote-trash): New defun.

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
2010-05-28  Michael Albinus  <michael.albinus@gmx.de>

	* net/tramp-compat.el (tramp-compat-delete-file): Use
	`symbol-value' for backward compatibility.

	* net/tramp.el (tramp-handle-make-symbolic-link)
	(tramp-handle-load)
	(tramp-do-copy-or-rename-file-via-buffer)
	(tramp-do-copy-or-rename-file-directly)
	(tramp-do-copy-or-rename-file-out-of-band)
	(tramp-handle-process-file, tramp-handle-call-process-region)
	(tramp-handle-shell-command, tramp-handle-file-local-copy)
	(tramp-handle-insert-file-contents, tramp-handle-write-region)
	(tramp-delete-temp-file-function): Use `delete-file' instead
	of `tramp-compat-delete-file'.

	* net/tramp-fish.el (tramp-fish-handle-delete-directory)
	(tramp-fish-handle-make-symbolic-link)
	(tramp-fish-handle-process-file): Use `delete-file' instead
	of `tramp-compat-delete-file'.

	* net/tramp-ftp.el (tramp-ftp-file-name-handler): Use
	`delete-file' instead of `tramp-compat-delete-file'.

	* net/tramp-gvfs.el (tramp-gvfs-handle-delete-file): Rename arg.
	(tramp-gvfs-handle-write-region): Use `delete-file' instead of
	`tramp-compat-delete-file'.

	* net/tramp-imap.el (tramp-imap-do-copy-or-rename-file): Use
	`delete-file' instead of `tramp-compat-delete-file'.

	* net/tramp-smb.el (tramp-smb-handle-copy-file)
	(tramp-smb-handle-file-local-copy, tramp-smb-handle-rename-file)
	(tramp-smb-handle-write-region): Use `delete-file' instead of
	`tramp-compat-delete-file'.
	(tramp-smb-handle-delete-directory): Use 'trash as arg.

492 493 494
2010-05-27  Chong Yidong  <cyd@stupidchicken.com>

	* dired.el (dired-delete-file): New arg TRASH.
495
	(dired-internal-do-deletions): New arg TRASH.  Use progress reporter.
496 497 498 499 500 501 502 503 504 505 506 507 508 509 510 511 512 513
	(dired-do-flagged-delete, dired-do-delete): Use trash.

	* speedbar.el (speedbar-item-delete): Allow trashing.

	* files.el (delete-directory): New arg TRASH.

	* net/ange-ftp.el (ange-ftp-del-tmp-name, ange-ftp-delete-file)
	(ange-ftp-rename-remote-to-remote)
	(ange-ftp-rename-local-to-remote)
	(ange-ftp-rename-remote-to-local, ange-ftp-load)
	(ange-ftp-compress, ange-ftp-uncompress): Remove optional arg from
	`delete-file'.
	(ange-ftp-delete-directory): Add optional arg to `delete-file', to
	allow trashing.

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

514
	* net/tramp.el (tramp-handle-delete-file): Change FORCE arg to TRASH.
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
	(tramp-handle-make-symbolic-link, tramp-handle-load)
	(tramp-do-copy-or-rename-file-via-buffer)
	(tramp-do-copy-or-rename-file-directly)
	(tramp-do-copy-or-rename-file-out-of-band)
	(tramp-handle-process-file, tramp-handle-call-process-region)
	(tramp-handle-shell-command, tramp-handle-file-local-copy)
	(tramp-handle-insert-file-contents, tramp-handle-write-region)
	(tramp-delete-temp-file-function): Use null TRASH arg in
	tramp-compat-delete-file call.

	* net/tramp-fish.el (tramp-fish-handle-delete-directory)
	(tramp-fish-handle-delete-file)
	(tramp-fish-handle-make-symbolic-link)
	(tramp-fish-handle-process-file): Use null TRASH arg in
	`tramp-compat-delete-file' call.

	* net/tramp-ftp.el (tramp-ftp-file-name-handler): Use null TRASH
	arg in `tramp-compat-delete-file' call.

	* net/tramp-gvfs.el (tramp-gvfs-handle-delete-file): Rename arg.
	(tramp-gvfs-handle-write-region): Use null TRASH arg in
	`tramp-compat-delete-file' call.

	* net/tramp-imap.el (tramp-imap-handle-delete-file): Rename arg.
	(tramp-imap-do-copy-or-rename-file): Use null TRASH arg in
	`tramp-compat-delete-file' call.

	* net/tramp-smb.el (tramp-smb-handle-copy-file)
	(tramp-smb-handle-file-local-copy, tramp-smb-handle-rename-file)
	(tramp-smb-handle-write-region): Use null TRASH arg in
	tramp-compat-delete-file call.
	(tramp-smb-handle-delete-directory): Use tramp-compat-delete-file.
	(tramp-smb-handle-delete-file): Rename arg.

	* diff.el (diff-sentinel):
	* epg.el (epg--make-temp-file, epg-decrypt-string)
	(epg-verify-string, epg-sign-string, epg-encrypt-string):
	* jka-compr.el (jka-compr-partial-uncompress)
	(jka-compr-call-process, jka-compr-write-region):
	* server.el (server-sentinel): Remove optional arg from
	delete-file, reverting 2010-05-03 change.

557 558 559 560 561
2010-05-27  Chong Yidong  <cyd@stupidchicken.com>

	* progmodes/verilog-mode.el (verilog-type-font-keywords): Use
	font-lock-constant-face, not obsolete font-lock-reference-face.

562 563 564 565 566
2010-05-27  Kenichi Handa  <handa@m17n.org>

	* language/hebrew.el (hebrew-shape-gstring): Check if a glyph
	element of GSTRING is nil.

567 568 569 570 571 572 573 574 575 576 577 578 579
2010-05-27  Stefan Monnier  <monnier@iro.umontreal.ca>

	* emacs-lisp/smie.el (smie-forward-token-function)
	(smie-backward-token-function): New vars.
	(smie-backward-sexp, smie-forward-sexp)
	(smie-indent-hanging-p, smie-indent-calculate): Use them.
	(smie-default-backward-token): Rename from smie-backward-token and
	skip comments.
	(smie-default-forward-token): Rename from smie-forward-token and
	skip comments.
	(smie-next-sexp): Handle nil results from next-token.
	(smie-indent-calculate): Add a new case for special `fixindent' comments.

580 581
2010-05-27  Chong Yidong  <cyd@stupidchicken.com>

582 583
	* progmodes/verilog-mode.el (verilog-type-font-keywords):
	Use font-lock-constant-face, not obsolete font-lock-reference-face.
584 585 586 587 588 589

2010-05-27  Masatake YAMATO  <yamato@redhat.com>

	* htmlfontify.el (hfy-face-resolve-face): New function.
	(hfy-face-to-style): Use it (Bug#6279).

Stefan Monnier's avatar
Stefan Monnier committed
590 591 592 593 594
2010-05-26  Stefan Monnier  <monnier@iro.umontreal.ca>

	* progmodes/ada-xref.el (ada-gnat-parse-gpr):
	* emulation/edt.el (edt-load-keys): Avoid (expand-file-name ".").

595 596 597 598
2010-05-26  Glenn Morris  <rgm@gnu.org>

	* emulation/edt.el (edt-load-keys): Use locate-library.

599 600 601 602
2010-05-25  Chong Yidong  <cyd@stupidchicken.com>

	* log-edit.el (log-edit-strip-single-file-name): Default to nil.
	(log-edit-changelog-entries): Doc fix.
Stefan Monnier's avatar
Stefan Monnier committed
603 604
	(log-edit-changelog-insert-entries): Args changed.
	Rename relative filenames in ChangeLog entries.  Delete tabs.
605 606 607 608
	(log-edit-insert-changelog-entries): Reorganize return value of
	`log-edit-changelog-entries' to pass filenames to
	log-edit-changelog-insert-entries.

609 610 611 612 613 614 615 616 617 618 619 620 621 622
2010-05-25  Thierry Volpiatto  <thierry.volpiatto@gmail.com>

	* dired.el (dired-mode-map): Rebind "\C-t\C-t" from
	`image-dired-dired-insert-marked-thumbs' to
	`image-dired-dired-toggle-marked-thumbs'.

	* image-dired.el: Require cl when compiling.
	(image-dired-dired-toggle-marked-thumbs): Rename from
	`image-dired-dired-insert-marked-thumbs'.  Add ARG.  Doc fix.
	Use interactive spec "P".  Set LOCALP arg of `dired-get-filename'
	to 'no-dir.  Skip files whose names don't match
	`image-file-name-regexp'.  When file has a thumbnail overlay,
	delete it.  (Bug#5270)

623 624 625 626 627 628
2010-05-25  Juri Linkov  <juri@jurta.org>

	* image-mode.el (image-mode): Add image-after-revert-hook to
	after-revert-hook.
	(image-after-revert-hook): New function.  (Bug#5669)

629 630 631 632 633
2010-05-25  Juri Linkov  <juri@jurta.org>

	* image.el (image-animated-p): When delay between animated images
	is 0, set it to 10 (0.1 sec).  (Bug#6258)

634 635 636
2010-05-25  Christian Lynbech  <christian.lynbech@tieto.com>  (tiny change)

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

639 640 641 642 643 644 645 646 647
2010-05-25  Michael Albinus  <michael.albinus@gmx.de>

	* net/tramp.el (tramp-progress-reporter-update): New defun.
	(with-progress-reporter): Use it.
	(tramp-process-actions):
	* net/tramp-gvfs.el (tramp-gvfs-handler-askquestion): Preserve
	current message, in order to let progress reporter continue
	afterwards.  (Bug#6257)

648 649 650 651 652
2010-05-25  Glenn Morris  <rgm@gnu.org>

	* net/rcirc.el (rcirc-default-user-name, rcirc-default-full-name):
	Add :version.

Ryan Yeske's avatar
Ryan Yeske committed
653 654
2010-05-25  Ryan Yeske  <rcyeske@gmail.com>

Glenn Morris's avatar
Glenn Morris committed
655
	* net/rcirc.el (rcirc-default-user-name): Change to "user".
Ryan Yeske's avatar
Ryan Yeske committed
656 657
	(rcirc-default-full-name): Change to "unknown".
	(rcirc-user-name-history): Add variable.
Glenn Morris's avatar
Glenn Morris committed
658 659 660 661 662 663

2010-05-25  Ryan Yeske  <rcyeske@gmail.com>
	    Jonathan Rockway  <jon@jrock.us>

	* net/rcirc.el (rcirc-server-alist): Add :pass.
	(rcirc): When prompting for connection parameters, also prompt for
Ryan Yeske's avatar
Ryan Yeske committed
664 665 666 667
	username and password.
	(rcirc-connect): Take a PASS argument.	If PASS is non-nil, send
	value to server when connecting.

668 669
2010-05-25  Stefan Monnier  <monnier@iro.umontreal.ca>

670 671 672 673 674
	* emacs-lisp/smie.el (smie-set-prec2tab): Check override before use.
	(smie-merge-prec2s): Pass the tables as separate args.
	(smie-bnf-precedence-table): Adjust call accordingly.
	(smie-prec2-levels): Set levels at the end.

675 676
	Replace Lisp calls to delete-backward-char by delete-char.
	* bs.el, expand.el, ido.el, image-dired.el, lpr.el, pcomplete.el,
677 678 679 680 681 682 683 684 685 686 687 688 689
	* skeleton.el, term.el, time.el, wid-edit.el, woman.el,
	* calc/calc-graph.el, calc/calc-help.el, calc/calc-incom.el,
	* calc/calc.el, emacs-cl-extra.el, emacs-cl-loaddefs.el,
	* emulation/cua-rect.el, emulation/viper-ex.el, eshell/esh-test.el,
	* eshell/eshell.el, gnus/gnus-uu.el, gnus/nndoc.el, gnus/nnrss.el,
	* gnus/rfc2047.el, gnus/utf7.el, international/utf-7.el,
	* language/ethio-util.el, mh-e/mh-alias.el, mh-e/mh-search.el,
	* net/imap.el, net/rcirc.el, obsolete/complete.el, play/decipher.el,
	* progmodes/ada-mode.el, progmodes/cc-awk.el, progmodes/dcl-mode.el,
	* progmodes/ps-mode.el, progmodes/verilog-mode.el,
	* progmodes/vhdl-mode.el, textmodes/bibtex.el, textmodes/fill.el,
	* textmodes/reftex-auc.el, textmodes/rst.el, textmodes/sgml-mode.el,
	* textmodes/table.el, textmodes/texinfmt.el: Replace Lisp calls to
690 691
	delete-backward-char by calls to delete-char.

Kenichi Handa's avatar
Kenichi Handa committed
692 693 694 695 696 697
2010-05-25  Kenichi Handa  <handa@m17n.org>

	* language/hebrew.el (hebrew-shape-gstring): New function.
	Register it in composition-function-table for all Hebrew combining
	characters.

698 699 700 701 702
2010-05-25  Stefan Monnier  <monnier@iro.umontreal.ca>

	* epa.el (epa--select-keys): Don't explicitly delete the window since
	that can fail (e.g. sole window in frame).  Use dedication instead.

Stefan Monnier's avatar
Stefan Monnier committed
703
2010-05-24  Uday S Reddy  <u.s.reddy@cs.bham.ac.uk>  (tiny change)
704 705 706

	* textmodes/fill.el (fill-region): Don't fill past the end (bug#6201).

707 708 709 710 711 712
2010-05-22  Chong Yidong  <cyd@stupidchicken.com>

	* image.el (image-refresh): Define as an alias for image-flush.

	* image-mode.el (image-toggle-display-image): Caller changed.

713 714 715 716 717 718 719
2010-05-21  Juri Linkov  <juri@jurta.org>

	* progmodes/grep.el (grep-read-files): Fix multi-pattern aliases.
	Remove "all" from grep-files-aliases.  Split grep-files-aliases by
	whitespace, call wildcard-to-regexp on substrings and concat them
	with "\\|".  (Bug#6114)

720 721
2010-05-21  Alan Mackenzie  <acm@muc.de>

Stefan Monnier's avatar
Stefan Monnier committed
722 723 724
	* progmodes/cc-engine.el (c-parse-state-get-strategy):
	Replace parameter `here' with `here-' and `here-plus', which sandwich
	any pertinent CPP construct.
725 726 727 728
	(c-remove-stale-state-cache-backwards): Fix a bug which happens
	when doing (c-parse-state) in a CPP construct: Exclude any "new"
	CPP construct from taking part in the scanning.

729 730 731
2010-05-21  Michael Albinus  <michael.albinus@gmx.de>

	* net/tramp.el (tramp-do-copy-or-rename-file)
Stefan Monnier's avatar
Stefan Monnier committed
732 733
	(tramp-handle-file-local-copy, tramp-maybe-open-connection):
	Tune `with-progress-reporter' messages.
734 735 736 737 738 739 740 741 742
	(tramp-handle-vc-registered):
	* net/tramp-fish.el (tramp-fish-handle-file-local-copy)
	(tramp-fish-handle-insert-file-contents)
	(tramp-fish-maybe-open-connection):
	* net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
	* net/tramp-imap.el (tramp-imap-do-copy-or-rename-file)
	(tramp-imap-handle-insert-file-contents)
	(tramp-imap-handle-file-local-copy): Use `with-progress-reporter'.

743 744
2010-05-21  Juanma Barranquero  <lekktu@gmail.com>

745 746 747
	* add-log.el (change-log-font-lock-keywords):
	Highlight all authors in multi-author entries.

748 749 750 751 752
	* smerge-mode.el (smerge-refine-ignore-whitespace)
	(smerge-refine-weight-hack, smerge-refine, smerge-makeup-conflict):
	Fix typos in docstrings.
	(smerge-resolve, smerge-refine-subst): Reflow docstrings.

Glenn Morris's avatar
Glenn Morris committed
753 754
2010-05-21  Glenn Morris  <rgm@gnu.org>

755 756 757
	* progmodes/fortran.el (fortran-mode):
	* progmodes/f90.el (f90-mode): Derive from prog-mode.

Glenn Morris's avatar
Glenn Morris committed
758 759 760
	* loadup.el [CANNOT_DUMP]: Update for bootstrap-emacs no longer
	having a relative path in src/Makefile.in.

761 762 763 764 765 766 767
2010-05-20  Kevin Ryde  <user42@zip.com.au>

	* help-mode.el (help-make-xrefs): For Info node links turn
	newlines into spaces.  Link node names with newlines are matched
	by help-xref-info-regexp and buttonized, this change ensures they
	can be followed successfully with RET.  (Bug#6206)

768 769 770 771 772
2010-05-20  Juri Linkov  <juri@jurta.org>

	* locate.el (locate): Use pop-to-buffer instead of
	switch-to-buffer-other-window.  (Bug#6204)

773 774 775 776 777
2010-05-20  Juri Linkov  <juri@jurta.org>

	* replace.el (replace-highlight): Fix lazy-highlighting
	for `M-s w str M-% str RET'.

778 779 780 781 782
2009-12-15  Masatake YAMATO  <yamato@redhat.com>

	* isearch.el (isearch-yank-word-or-char): Pull next subword
	when `subword-mode' is activated.  (Bug#6220)

783 784 785 786 787
2010-05-20  Mark A. Hershberger  <mah@everybody.org>

	* isearch.el (isearch-update-post-hook): New hook.
	(isearch-update): Use the new hook.  (Bug#6225)

788 789 790 791 792 793
2010-05-20  Juri Linkov  <juri@jurta.org>

	* isearch.el (isearch-mode-map): Bind more keys to isearch-help-map:
	[f1], [help], and (char-to-string help-char) instead of "\C-h".
	(Bug#6222)

794 795 796 797 798
2010-05-20  Juri Linkov  <juri@jurta.org>

	* isearch.el (isearch-yank-string): Use isearch-process-search-string.
	(Bug#6223)

799 800 801 802 803 804 805 806 807
2010-05-20  Juri Linkov  <juri@jurta.org>

	* dired-x.el (dired-jump, dired-jump-other-window): Add arg
	FILE-NAME to read from the minibuffer when called interactively
	with prefix argument instead of using buffer-file-name.
	http://lists.gnu.org/archive/html/emacs-devel/2010-05/msg00534.html

	* dired.el: Update autoloads.

808 809 810 811 812 813 814 815
2010-05-20  Chong Yidong  <cyd@stupidchicken.com>

	* nxml/nxml-mode.el (nxml-mode-map): Bind C-c / to
	nxml-finish-element, for consistency with SGML mode.

	* progmodes/octave-mod.el (octave-mode-map): Bind C-c / to
	octave-close-block.

816 817 818 819 820 821
2010-05-20  Juanma Barranquero  <lekktu@gmail.com>

	* composite.el: Require cl when compiling.
	(reference-point-alist, compose-gstring-for-graphic)
	(compose-gstring-for-terminal): Fix typos in docstrings.

822 823 824 825 826
2010-05-19  Juri Linkov  <juri@jurta.org>

	* emacs-lisp/cl-macs.el (window-parameter): Add defsetf with
	set-window-parameter.

827 828 829 830 831 832
2010-05-19  Michael Albinus  <michael.albinus@gmx.de>

	* net/tramp.el (tramp-methods): Add `tramp-async-args' attribute
	where appropriate.
	(tramp-maybe-open-connection): Use it.

833 834 835 836 837
2010-05-19  Eli Zaretskii  <eliz@gnu.org>

	* simple.el (move-end-of-line): Make sure we are at line beginning
	before backing up to end of previous line.

838 839
2010-05-19  Michael Albinus  <michael.albinus@gmx.de>

840 841
	* password-cache.el (password-cache-remove): Fix docstring.

842 843 844 845 846 847 848 849 850
	* net/secrets.el: Autoload the widget functions.
	(secrets-search-items, secrets-create-item)
	(secrets-get-attributes, secrets-expand-item): Attributes will be
	stored on the password database without leading ":", as all other
	clients do as well.
	(secrets-mode): Fix docstring.
	(secrets-show-secrets): Provide it as autoloaded command only when
	D-Bus support is available.  Check existence of Secret Service API.

851 852 853 854
2010-05-19  Stefan Monnier  <monnier@iro.umontreal.ca>

	* indent.el (indent-region): Deactivate region (bug#6200).

855 856 857 858
2010-05-19  Glenn Morris  <rgm@gnu.org>

	* vc-dir.el (vc-dir): Don't pop-up-windows.  (Bug#6204)

859 860 861
2010-05-19  Kenichi Handa  <handa@m17n.org>

	* composite.el: Register compose-gstring-for-graphic in
862
	composition-function-table only for combining characters (Mn, Mc, Me).
863

864 865 866 867 868 869
2010-05-18  Jay Belanger  <jay.p.belanger@gmail.com>

	* calc/calc-trail.el (calc-trail-isearch-forward)
	(calc-trail-isearch-backward): Ensure that the new window
	point is set correctly.

870 871 872 873 874
2010-05-18  Stefan Monnier  <monnier@iro.umontreal.ca>

	* subr.el (read-quoted-char): Resolve modifiers after key
	remapping (bug#6212).

875 876 877 878 879 880 881 882 883
2010-05-18  Michael Albinus  <michael.albinus@gmx.de>

	Add visualization code for secrets.
	* net/secrets.el (secrets-mode): New major mode.
	(secrets-show-secrets, secrets-show-collections)
	(secrets-expand-collection, secrets-expand-item)
	(secrets-tree-widget-after-toggle-function)
	(secrets-tree-widget-show-password): New defuns.

884 885
2010-05-18  Stefan Monnier  <monnier@iro.umontreal.ca>

886 887 888 889 890 891
	* emacs-lisp/smie.el (smie-next-sexp): Break inf-loop at BOB.
	(smie-backward-sexp, smie-forward-sexp): Remove boundary condition now
	handled in smie-next-sexp.
	(smie-indent-calculate): Provide a starting indentation (so the
	recursion is well-founded ;-).

892 893 894 895 896 897 898 899 900
	Fix handling of non-associative equal levels.
	* emacs-lisp/smie.el (smie-prec2-levels): Choose distinct levels even
	when it's not needed.
	(smie-op-left, smie-op-right): New functions.
	(smie-next-sexp): New function, extracted from smie-backward-sexp.
	Better handle equal levels to distinguish the associative case from
	the "multi-keyword construct" case.
	(smie-backward-sexp, smie-forward-sexp): Use it.

901 902
2010-05-18  Juanma Barranquero  <lekktu@gmail.com>

903 904
	* progmodes/prolog.el (smie-indent-basic): Declare for byte-compiler.

905 906 907
	* emacs-lisp/smie.el (smie-precs-precedence-table, smie-backward-sexp)
	(smie-forward-sexp, smie-indent-calculate): Fix typos in docstrings.

908 909 910 911 912 913 914 915 916
2010-05-17  Stefan Monnier  <monnier@iro.umontreal.ca>

	Provide a simple generic indentation engine and use it for Prolog.
	* emacs-lisp/smie.el: New file.
	* progmodes/prolog.el (prolog-smie-op-levels)
	(prolog-smie-indent-rules): New var.
	(prolog-mode-variables): Use them to configure SMIE.
	(prolog-indent-line, prolog-indent-level): Remove.

917 918
2010-05-17  Jay Belanger  <jay.p.belanger@gmail.com>

Juanma Barranquero's avatar
Juanma Barranquero committed
919
	* calc/calc-vec.el (math-vector-avg): Put the vector elements in
920 921
	order before computing the averages.

922 923
2010-05-16  Jay Belanger  <jay.p.belanger@gmail.com>

Jay Belanger's avatar
Jay Belanger committed
924
	* calc/calc-vec.el (calc-histogram):
925
	(calcFunc-histogram): Allow vectors as inputs.
Jay Belanger's avatar
Jay Belanger committed
926 927
	(math-vector-avg): New function.

Juanma Barranquero's avatar
Juanma Barranquero committed
928
	* calc/calc-ext.el (math-group-float): Have the number of digits
929 930
	being grouped depend on the radix (Bug#6189).

931 932 933 934 935
2010-05-15  Ken Raeburn  <raeburn@raeburn.org>

	* version.el (emacs-copyright, emacs-version): Don't define here,
	now that emacs.c defines it.

936 937
2010-05-15  Eli Zaretskii  <eliz@gnu.org>

938 939 940
	* international/mule-cmds.el (mule-menu-keymap): Fix definition of
	"Describe Language Environment" menu item.

941 942
	* language/hebrew.el ("Hebrew", "Windows-1255"): Doc fix.

943 944 945 946 947
	Bidi-sensitive movement with arrow keys.
	* subr.el (right-arrow-command, left-arrow-command): New functions.

	* bindings.el (global-map): Bind them to right and left arrow keys.

948 949 950 951 952 953 954 955 956 957 958 959 960 961 962
	Don't override standard definition of convert-standard-filename.
	* files.el (convert-standard-filename): Call
	w32-convert-standard-filename and dos-convert-standard-filename on
	the corresponding systems.

	* w32-fns.el (w32-convert-standard-filename): Rename from
	convert-standard-filename.  Doc fix.

	* dos-fns.el (dos-convert-standard-filename): Doc fix.
	(convert-standard-filename): Don't defalias.
	(register-name-alist, make-register, register-value)
	(set-register-value, intdos): Obsolete aliases for the
	corresponding dos-* functions and variables.
	(dos-intdos): Add a doc string.

963 964 965 966 967 968 969 970 971 972 973
2010-05-15  Jay Belanger  <jay.p.belanger@gmail.com>

	* calc/calc-aent.el (math-read-token, math-find-user-tokens):
	* calc/calc-lang.el (math-read-big-rec, math-lang-read-symbol):
	(math-compose-tex-func):
	* calc/calccomp.el (math-compose-expr):
	* calc/calc-ext.el (math-format-flat-expr-fancy):
	* calc/calc-store.el (calc-read-var-name):
	* calc/calc-units.el (calc-explain-units-rec): Allow Greek letters.

	* calc/calc.el (var-π, var-φ, var-γ): New variables.
Juanma Barranquero's avatar
Juanma Barranquero committed
974
	* calc/calc-aent.el (math-read-replacement-list): Add "micro" symbol.
975
	* calc/calc-units.el (math-unit-prefixes): Add mu for micro.
Juanma Barranquero's avatar
Juanma Barranquero committed
976
	(math-standard-units): Add units.
977

978 979
2010-05-15  Stefan Monnier  <monnier@iro.umontreal.ca>

980
	* progmodes/asm-mode.el (asm-mode):
981 982
	* progmodes/prolog.el (prolog-mode): Use define-derived-mode.

983 984 985 986
	* pcomplete.el (pcomplete-completions-at-point): New function,
	extracted from pcomplete-std-complete.
	(pcomplete-std-complete): Use it.

987 988 989 990 991
2010-05-15  Glenn Morris  <rgm@gnu.org>

	* Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
	Remove references to CVS, RCS and Old directories.

992 993
2010-05-14  Jay Belanger  <jay.p.belanger@gmail.com>

994
	* calc/calc-bin.el (math-format-twos-complement): Group digits when
995 996
	appropriate.

997 998
2010-05-14  Stefan Monnier  <monnier@iro.umontreal.ca>

999 1000 1001 1002 1003 1004 1005
	* progmodes/sh-script.el (sh-mode-default-syntax-table): Remove.
	(sh-mode-syntax-table): Give it a default value instead.
	(sh-header-marker): Make buffer-local.
	(sh-mode): Move make-local-variable to the corresponding setq.
	(sh-add-completer): Avoid gratuitously let-binding a buffer-local var.
	Use complete-with-action.

1006 1007 1008 1009
	* simple.el (prog-mode): New (abstract) major mode.
	* emacs-lisp/lisp-mode.el (emacs-lisp-mode, lisp-mode): Use it.
	* progmodes/sh-script.el (sh-mode): Remove redundant var assignment.

1010 1011 1012 1013 1014 1015 1016 1017 1018
2010-05-14  Juanma Barranquero  <lekktu@gmail.com>

	* progmodes/sql.el (sql-oracle-program): Reflow docstring.
	(sql-oracle-scan-on, sql-sybase-program, sql-product-font-lock)
	(sql-add-product-keywords, sql-highlight-product, sql-set-product)
	(sql-make-alternate-buffer-name, sql-placeholders-filter)
	(sql-escape-newlines-filter, sql-input-sender)
	(sql-send-magic-terminator, sql-sybase): Fix typos in docstrings.

1019 1020
2010-05-13  Chong Yidong  <cyd@stupidchicken.com>

Juanma Barranquero's avatar
Juanma Barranquero committed
1021
	Add TeX open-block and close-block keybindings to SGML, and vice versa.
1022 1023 1024 1025 1026 1027 1028

	* textmodes/tex-mode.el (tex-mode-map): Bind C-c C-t to
	latex-open-block and C-c / to latex-close-block.

	* textmodes/sgml-mode.el (sgml-mode-map): Bind C-c C-o to sgml-tag
	and C-c C-e to sgml-close-tag.

1029 1030 1031
2010-05-13  Michael Albinus  <michael.albinus@gmx.de>

	* net/tramp.el (with-progress-reporter): Create reporter object
1032
	only when the message would be displayed.  Handle nested calls.
1033 1034
	(tramp-handle-load, tramp-handle-file-local-copy)
	(tramp-handle-insert-file-contents, tramp-handle-write-region)
1035 1036
	(tramp-maybe-send-script, tramp-find-shell):
	Use `with-progress-reporter'.
1037 1038 1039 1040 1041 1042 1043 1044
	(tramp-handle-dired-compress-file, tramp-maybe-open-connection):
	Fix message text.

	* net/tramp-smb.el (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'.

1045 1046 1047 1048 1049
2010-05-13  Agustín Martín  <agustin.martin@hispalinux.es>

	* ispell.el (ispell-init-process): Do not kill ispell process
	everytime when spellchecking from the minibuffer (bug#6143).

1050 1051
2010-05-13  Stefan Monnier  <monnier@iro.umontreal.ca>

1052 1053
	* progmodes/sh-script.el (sh-mode): Use define-derived-mode.

1054 1055 1056 1057
	* dos-fns.el: Add "dos-" prefix for namespace control.
	(convert-standard-filename): Define as alias for
	dos-convert-standard-filename but only if applicable.

1058 1059 1060 1061 1062
2010-05-12  Alan Mackenzie  <acm@muc.de>

	* progmodes/cc-cmds.el (c-beginning-of-defun, c-end-of-defun):
	Push the mark at the start of these functions when appropriate.

1063 1064 1065 1066 1067 1068
2010-05-12  Stefan Monnier  <monnier@iro.umontreal.ca>

	* minibuffer.el (completion-cycle-threshold): New custom var.
	(completion--do-completion): Use it.
	(minibuffer-complete): Use cycling if appropriate.

1069 1070 1071 1072 1073
2010-05-11  Juanma Barranquero  <lekktu@gmail.com>

	* dirtrack.el (dirtrackp): Remove defcustom; don't make automatically
	buffer-local (it's an obsolete alias for `dirtrack-mode') (bug#6173).

1074 1075 1076 1077 1078
2010-05-11  Juri Linkov  <juri@jurta.org>

	* scroll-all.el (scroll-all-check-to-scroll):
	Add `scroll-up-command' and `scroll-down-command' (bug#6164).

1079 1080
2010-05-11  Stefan Monnier  <monnier@iro.umontreal.ca>

Stefan Monnier's avatar
Stefan Monnier committed
1081 1082 1083 1084 1085
	* iimage.el (iimage-mode-map): Move initialization into declaration.
	(iimage-mode-buffer): Use with-silent-modifications.
	Simplify calling convention.  Adjust callers.
	(iimage-mode): Don't run hook redundantly.

1086 1087 1088
	* minibuffer.el (completion-pcm--pattern->regex):
	Fix last change (bug#6160).

1089 1090 1091 1092 1093 1094 1095 1096 1097 1098
2010-05-10  Juri Linkov  <juri@jurta.org>

	Remove nodes visited during Isearch from the Info history.
	* info.el (Info-isearch-initial-history)
	(Info-isearch-initial-history-list): New variables.
	(Info-isearch-start): Record initial values of
	Info-isearch-initial-history and Info-isearch-initial-history-list.
	Add Info-isearch-end to isearch-mode-end-hook.
	(Info-isearch-end): New function.

1099 1100 1101
2010-05-10  Michael Albinus  <michael.albinus@gmx.de>

	* net/tramp.el (tramp-do-file-attributes-with-stat): Add space in
1102 1103
	format string, in order to work around a bug in pdksh.
	Reported by Gilles Pion <gpion@lfdj.com>.
1104 1105 1106 1107
	(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.

1108 1109 1110 1111 1112 1113 1114 1115 1116
2010-05-10  Juanma Barranquero  <lekktu@gmail.com>

	Fix use of `filter-buffer-substring' (rework previous change).
	* emulation/cua-base.el (cua--filter-buffer-noprops): New function.
	(cua-repeat-replace-region):
	* emulation/cua-rect.el (cua--extract-rectangle, cua-incr-rectangle):
	* emulation/cua-gmrk.el (cua-copy-region-to-global-mark)
	(cua-cut-region-to-global-mark): Use it.

Michael Mauger's avatar
Michael Mauger committed
1117 1118
2010-05-09  Michael R. Mauger  <mmaug@yahoo.com>

Juanma Barranquero's avatar
Juanma Barranquero committed
1119 1120 1121
	* progmodes/sql.el: Version 2.1.
	(sql-product-alist): Redesign structure of product info.
	(sql-product, sql-user, sql-server, sql-database): Safe variables.
Michael Mauger's avatar
Michael Mauger committed
1122 1123 1124
	(sql-port, sql-port-history): New variables.
	(sql-interactive-product): New variable.
	(sql-send-terminator): New variable.
Juanma Barranquero's avatar
Juanma Barranquero committed
1125
	(sql-imenu-generic-expression): Add "Types" imenu entry.
Michael Mauger's avatar
Michael Mauger committed
1126 1127 1128 1129 1130 1131 1132
	(sql-oracle-login-params, sql-sqlite-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)
	(sql-oracle-scan-on): New variables.
Juanma Barranquero's avatar
Juanma Barranquero committed
1133 1134 1135
	(sql-mode-map): Add C-c C-i to start interactive mode.
	(sql-mode-menu): Update existing menu entries.
	(sql-font-lock-keywords-builder): Compile-time font-lock optimization.
Michael Mauger's avatar
Michael Mauger committed
1136 1137 1138 1139 1140 1141 1142 1143 1144 1145 1146
	(sql-mode-oracle-font-lock-keywords)
	(sql-mode-postgres-font-lock-keywords)
	(sql-mode-ms-font-lock-keywords)
	(sql-mode-sybase-font-lock-keywords)
	(sql-mode-informix-font-lock-keywords)
	(sql-mode-interbase-font-lock-keywords)
	(sql-mode-ingres-font-lock-keywords)
	(sql-mode-solid-font-lock-keywords)
	(sql-mode-mysql-font-lock-keywords)
	(sql-mode-sqlite-font-lock-keywords)
	(sql-mode-db2-font-lock-keywords)
Juanma Barranquero's avatar
Juanma Barranquero committed
1147
	(sql-mode-linter-font-lock-keywords): Update initialization to
Michael Mauger's avatar
Michael Mauger committed
1148 1149 1150 1151 1152 1153 1154 1155
	reduce run-time complexity.
	(sql-add-product, sql-del-product): New functions.
	(sql-set-product-feature, sql-get-product-feature): New functions.
	(sql-product-font-lock): Update product API.
	(sql-add-product-keywords): New function.
	(sql-highlight-product): Update product API.
	(sql-help-list-products): New function.
	(sql-help): Dynamically lists free and non-free products.
Juanma Barranquero's avatar
Juanma Barranquero committed
1156
	(sql-get-login): Correct bug in handling history and added
Michael Mauger's avatar
Michael Mauger committed
1157 1158 1159
	prompt for port.
	(sql-copy-column): Copy without properties.
	(sqli-input-sender): Apply filters to SQLi input.
Juanma Barranquero's avatar
Juanma Barranquero committed
1160 1161
	(sql-query-placeholders-and-send): Obey `sql-oracle-scan-on' setting.
	Implement as a filter.
Michael Mauger's avatar
Michael Mauger committed
1162 1163 1164 1165 1166 1167 1168 1169 1170 1171 1172 1173 1174 1175
	(sql-escape-newlines-filter): Implement as a filter.
	(sql-remove-tabs-filter): New function.
	(sql-send-magic-terminator): New function.
	(sql-send-string): Implement magic terminator.
	(sql-send-region): Use `sql-send-string'.
	(sql-interactive-mode): Use product API.
	(sql-product-interactive): Use product API.
	(sql-oracle, sql-sybase, sql-informix, sql-sqlite, sql-mysql)
	(sql-solid, sql-ingres, sql-ms, sql-postgres, sql-interbase)
	(sql-db2, sql-linter): Use `sql-product-interactive'.
	(sql-connect): New function.
	(sql-connect-oracle, sql-connect-sybase, sql-connect-informix)
	(sql-connect-sqlite, sql-connect-mysql, sql-connect-solid)
	(sql-connect-ingres, sql-connect-ms, sql-connect-postgres)
Juanma Barranquero's avatar
Juanma Barranquero committed
1176 1177
	(sql-connect-interbase, sql-connect-db2, sql-connect-linter):
	Use `sql-connect'.
Michael Mauger's avatar
Michael Mauger committed
1178

1179 1180 1181 1182 1183 1184 1185 1186 1187 1188 1189
2010-05-09  Stefan Monnier  <monnier@iro.umontreal.ca>

	* minibuffer.el (completion-pcm-complete-word-inserts-delimiters):
	New custom variable.
	(completion-pcm--string->pattern): Use it.
	(completion-pcm--pattern->regex, completion-pcm--pattern->string):
	Make it handle any symbol as `any'.
	(completion-pcm--merge-completions): Extract common suffix for the new
	`prefix' symbol as well.
	(completion-substring--all-completions): Use the new `prefix' symbol.

1190 1191 1192 1193 1194 1195 1196 1197 1198 1199 1200 1201 1202 1203 1204 1205 1206 1207 1208 1209 1210 1211 1212 1213 1214 1215 1216 1217 1218
2010-05-09  Michael Albinus  <michael.albinus@gmx.de>

	* net/tramp-compat.el (byte-compile-not-obsolete-vars): Define if
	not bound.
	(tramp-compat-copy-file): Add PRESERVE-SELINUX-CONTEXT.
	(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)
	* net/tramp.el (top, with-progress-reporter)
	(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)
	* net/tramp-cmds.el (tramp-cleanup-all-connections)
	(tramp-reporter-dump-variable, tramp-load-report-modules)
	(tramp-append-tramp-buffers)
	* net/tramp-gvfs.el (tramp-gvfs-handle-file-selinux-context): Use it.

	* net/tramp-imap.el (top): Autoload `epg-make-context'.

1219 1220 1221 1222 1223
2010-05-08  Stefan Monnier  <monnier@iro.umontreal.ca>

	* progmodes/compile.el (compilation-buffer-modtime): Rename from
	buffer-modtime.  Adjust users.

Stefan Monnier's avatar
Stefan Monnier committed
1224
2010-05-08  Chong Yidong  <cyd@stupidchicken.com>
1225

Juanma Barranquero's avatar
Juanma Barranquero committed
1226
	* international/mule.el (auto-coding-alist): Only purecopy
Chong Yidong's avatar
Chong Yidong committed
1227
	car of each item, not the whole list (Bug#6083).
1228

Stefan Monnier's avatar
Stefan Monnier committed
1229
2010-05-08  Chong Yidong  <cyd@stupidchicken.com>
1230 1231 1232 1233

	* progmodes/js.el (js-mode): Make paragraph variables local before
	calling c-setup-paragraph-variables (Bug#6071).

Stefan Monnier's avatar
Stefan Monnier committed
1234
2010-05-08  Eli Zaretskii  <eliz@gnu.org>
1235 1236 1237 1238

	* composite.el (compose-region, reference-point-alist): Fix typos
	in the doc strings.

Juanma Barranquero's avatar
Juanma Barranquero committed
1239
2010-05-08  Alexander Klimov  <alserkli@inbox.ru>  (tiny change)
1240 1241 1242 1243

	* calc/calc-graph.el (calc-graph-plot): Use the proper form for
	gnuplot's "set" command.

Stefan Monnier's avatar
Stefan Monnier committed
1244
2010-05-08  Juanma Barranquero  <lekktu@gmail.com>
Juanma Barranquero's avatar
Juanma Barranquero committed
1245 1246 1247 1248

	* abbrev.el (last-abbrev-text): Doc fix.
	(abbrev-prefix-mark): Don't escape parenthesis.

Stefan Monnier's avatar
Stefan Monnier committed
1249
2010-05-08  Andreas Schwab  <schwab@linux-m68k.org>
1250 1251 1252

	* composite.el (find-composition): Doc fix.

Stefan Monnier's avatar
Stefan Monnier committed
1253
2010-05-08  Juanma Barranquero  <lekktu@gmail.com>
1254 1255 1256 1257 1258 1259 1260 1261 1262 1263 1264 1265 1266 1267 1268 1269

	* progmodes/sql.el (sql-electric-stuff): Fix typo in tag.
	(sql-oracle-program, sql-sqlite-options)
	(sql-query-placeholders-and-send): Doc fixes.
	(sql-set-product, sql-interactive-mode): Reflow docstrings.
	(sql-imenu-generic-expression, sql-buffer)
	(sql-mode-ansi-font-lock-keywords, sql-mode-oracle-font-lock-keywords)
	(sql-mode-postgres-font-lock-keywords, sql-mode-ms-font-lock-keywords)
	(sql-mode-sybase-font-lock-keywords)
	(sql-mode-informix-font-lock-keywords)
	(sql-mode-interbase-font-lock-keywords)
	(sql-mode-ingres-font-lock-keywords, sql-mode-solid-font-lock-keywords)
	(sql-mode-mysql-font-lock-keywords, sql-mode-sqlite-font-lock-keywords)
	(sql-mode-db2-font-lock-keywords, sql-mode-font-lock-keywords)
	(sql-product-feature, sql-highlight-product)
	(comint-line-beginning-position, sql-rename-buffer)
Stefan Monnier's avatar
Stefan Monnier committed
1270 1271
	(sql-toggle-pop-to-buffer-after-send-region sql-oracle)
	(sql-sybase, sql-informix, sql-sqlite, sql-mysql, sql-solid)
1272 1273 1274
	(sql-ingres, sql-ms, sql-postgres, sql-interbase, sql-db2, sql-linter):
	Fix typos in docstrings.

Stefan Monnier's avatar
Stefan Monnier committed
1275
2010-05-08  Juri Linkov  <juri@jurta.org>
1276 1277 1278 1279

	* info.el (Info-fontify-node): Put Info-breadcrumbs to the `display'
	property instead of `invisible' and `after-string' (bug#5998).

Stefan Monnier's avatar
Stefan Monnier committed
1280
2010-05-08  Juri Linkov  <juri@jurta.org>
Juri Linkov's avatar
Juri Linkov committed
1281 1282 1283

	* image-mode.el (image-mode-as-text): Fix typo in docstring.

Stefan Monnier's avatar
Stefan Monnier committed
1284
2010-05-08  Juanma Barranquero  <lekktu@gmail.com>
1285 1286 1287 1288

	* filecache.el (file-cache-add-directory-list)
	(file-cache-add-directory-recursively): Fix typos in docstrings.

Stefan Monnier's avatar
Stefan Monnier committed
1289
2010-05-08  Kenichi Handa  <handa@m17n.org>
1290 1291

	* language/indian.el (gurmukhi-composable-pattern): Fix typo.
1292
	(gujarati-composable-pattern): Fix typo.
1293

Stefan Monnier's avatar
Stefan Monnier committed
1294
2010-05-08  Kenichi Handa  <handa@m17n.org>
1295 1296

	* language/indian.el (oriya-composable-pattern)
Stefan Monnier's avatar
Stefan Monnier committed
1297 1298
	(tamil-composable-pattern, malayalam-composable-pattern):
	Add two-part vowels to "v" (vowel sign).
1299

Stefan Monnier's avatar
Stefan Monnier committed
1300
2010-05-08  Chong Yidong  <cyd@stupidchicken.com>
1301

1302 1303
	* files.el (copy-directory): Handle symlinks (Bug#5982).

Stefan Monnier's avatar
Stefan Monnier committed
1304
2010-05-08  Dan Nicolaescu  <dann@ics.uci.edu>
1305 1306 1307 1308 1309

	* vc-hg.el (vc-hg-state): Use HGRCPATH, not HGRC.
	(vc-hg-working-revision): Likewise.  Use hg parents, not hg parent
	(Bug#5846).

Stefan Monnier's avatar
Stefan Monnier committed
1310
2010-05-08  Glenn Morris  <rgm@gnu.org>
1311

1312 1313
	* emacs-lisp/lisp.el (lisp-completion-at-point): Give it a doc string.

1314 1315
	* minibuffer.el (completion-at-point): Doc fix.

Stefan Monnier's avatar
Stefan Monnier committed
1316 1317 1318 1319 1320 1321 1322
2010-05-08  Stefan Monnier  <monnier@iro.umontreal.ca>

	* electric.el (Electric-command-loop): Minor tweak.

	* ebuff-menu.el (electric-buffer-list): Try and make it behave a bit
	better with dedicated windows.

Stefan Monnier's avatar
Stefan Monnier committed
1323 1324 1325 1326
2010-05-07  Chong Yidong  <cyd@stupidchicken.com>

	* Version 23.2 released.

Juanma Barranquero's avatar
Juanma Barranquero committed
1327
2010-05-07  Deniz Dogan  <deniz.a.m.dogan@gmail.com>  (tiny change)
1328
            Stefan Monnier  <monnier@iro.umontreal.ca>
1329 1330 1331 1332 1333 1334

	Highlight vendor specific properties.
	* textmodes/css-mode.el (css-proprietary-nmstart-re): New var.
	(css-proprietary-property): New face.
	(css-font-lock-keywords): Use them.

1335 1336 1337 1338
2010-05-07  Eli Zaretskii  <eliz@gnu.org>

	* cus-start.el (all): Add native condition for tool-bar-* symbols.

1339 1340
2010-05-07  Stefan Monnier  <monnier@iro.umontreal.ca>

1341 1342 1343
	* textmodes/dns-mode.el (auto-mode-alist): Add entry for .zone files.
	* files.el (auto-mode-alist): Remove redundant entries.

1344 1345 1346 1347
	* files.el (auto-save-mode): Move to simple.el to fix bootstrap.
	* simple.el (auto-save-mode): Move from files.el.
	* minibuffer.el (completion--common-suffix): Fix copy&paste error.

Juanma Barranquero's avatar
Juanma Barranquero committed
1348
2010-05-07  Christian von Roques  <roques@mti.ag>  (tiny change)
1349 1350 1351

	* lisp/epg.el (epg-key-capablity-alist): Add "D" flag (Bug#5592).

Katsumi Yamaoka's avatar
Katsumi Yamaoka committed
1352 1353 1354 1355 1356 1357 1358 1359 1360 1361 1362
2010-05-07  Katsumi Yamaoka  <yamaoka@jpl.org>

	* mail/binhex.el (binhex-decode-region-internal)
	* mail/uudecode.el (uudecode-decode-region-internal)
	* net/dns.el (dns-read-string-name, dns-write, dns-read)
	(dns-read-type, dns-query)
	* pgg-parse.el (pgg-parse-armor)
	* pgg.el (pgg-verify-region)
	* sha1.el (sha1-string-external): Don't run set-buffer-multibyte for
	XEmacs.

Katsumi Yamaoka's avatar
Katsumi Yamaoka committed
1363
	* net/imap.el (imap-disable-multibyte): Redefine it as a macro.
Katsumi Yamaoka's avatar
Katsumi Yamaoka committed
1364

1365 1366
2010-05-07  Juanma Barranquero  <lekktu@gmail.com>

1367 1368
	* progmodes/cperl-mode.el (cperl-mode-unload-function): New function.

1369 1370 1371 1372 1373 1374
	Fix use of `filter-buffer-substring' (4th arg NOPROPS removed).
	* emulation/cua-base.el (cua-repeat-replace-region):
	* emulation/cua-gmrk.el (cua-copy-region-to-global-mark)
	(cua-cut-region-to-global-mark):
	Remove text properties with `set-text-properties'.

1375 1376
2010-05-06  Michael Albinus  <michael.albinus@gmx.de>

1377 1378
	* net/tramp.el (top, with-progress-reporter):
	Use `symbol-function' inside `funcall'.
1379 1380

	* net/tramp-compat.el (tramp-compat-file-attributes)
1381 1382
	(tramp-compat-delete-file, tramp-compat-delete-directory):
	Handle only `wrong-number-of-arguments' error.
1383 1384 1385 1386 1387

	* net/tramp-gvfs.el (tramp-gvfs-handle-copy-file): Fix typo.
	(tramp-gvfs-handle-file-selinux-context): Use `symbol-function'
	inside `funcall'.

1388 1389
2010-05-06  Stefan Monnier  <monnier@iro.umontreal.ca>

1390 1391 1392 1393
	* minibuffer.el (completion--sreverse, completion--common-suffix):
	New functions.
	(completion-pcm--merge-completions): Extract common suffix when safe.

Stefan Monnier's avatar