ChangeLog 515 KB
Newer Older
Eli Zaretskii's avatar
Eli Zaretskii committed
1 2
2010-05-29  Eli Zaretskii  <eliz@gnu.org>

3 4 5 6 7 8 9 10 11 12 13 14
	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
15 16 17 18 19
	* 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.

20 21 22 23 24 25
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)

26 27 28 29 30 31 32 33
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.

34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70
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.

71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137
2010-05-27  Chong Yidong  <cyd@stupidchicken.com>

	* dired.el (dired-delete-file): New arg TRASH.
	(dired-internal-do-deletions): New arg TRASH.  Use progress
	reporter.
	(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'.

	* net/tramp.el (tramp-handle-delete-file): Change FORCE arg to
	TRASH.
	(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.

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

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

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

148 149 150 151 152
2010-05-27  Kenichi Handa  <handa@m17n.org>

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

153 154 155 156 157 158 159 160 161 162 163 164 165
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.

Stefan Monnier's avatar
Stefan Monnier committed
166 167 168 169 170
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 ".").

171 172 173 174
2010-05-26  Glenn Morris  <rgm@gnu.org>

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

175 176 177 178
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
179 180
	(log-edit-changelog-insert-entries): Args changed.
	Rename relative filenames in ChangeLog entries.  Delete tabs.
181 182 183 184
	(log-edit-insert-changelog-entries): Reorganize return value of
	`log-edit-changelog-entries' to pass filenames to
	log-edit-changelog-insert-entries.

185 186 187 188 189 190 191 192 193 194 195 196 197 198
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)

199 200 201 202 203 204
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)

205 206 207 208 209
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)

210 211 212
2010-05-25  Christian Lynbech  <christian.lynbech@tieto.com>  (tiny change)

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

215 216 217 218 219 220 221 222 223
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)

224 225 226 227 228
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
229 230 231 232 233 234 235 236 237 238 239
2010-05-25  Ryan Yeske  <rcyeske@gmail.com>

	* net/rcirc.el (rcirc-server-alist): Add :pass.
	(rcirc-default-user-name): Change to "user".
	(rcirc-default-full-name): Change to "unknown".
	(rcirc-user-name-history): Add variable.
	(rcirc): When prompting for connection paramaters, also prompt for
	username and password.
	(rcirc-connect): Take a PASS argument.	If PASS is non-nil, send
	value to server when connecting.

240 241
2010-05-25  Stefan Monnier  <monnier@iro.umontreal.ca>

242 243 244 245 246
	* 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.

247 248
	Replace Lisp calls to delete-backward-char by delete-char.
	* bs.el, expand.el, ido.el, image-dired.el, lpr.el, pcomplete.el,
249 250 251 252 253 254 255 256 257 258 259 260 261
	* 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
262 263
	delete-backward-char by calls to delete-char.

Kenichi Handa's avatar
Kenichi Handa committed
264 265 266 267 268 269
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.

Stefan Monnier's avatar
Stefan Monnier committed
270
2010-05-24  Uday S Reddy  <u.s.reddy@cs.bham.ac.uk>  (tiny change)
271 272 273

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

Stefan Monnier's avatar
Stefan Monnier committed
274 275 276 277 278
2010-05-24  Stefan Monnier  <monnier@iro.umontreal.ca>

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

279 280 281 282 283 284
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.

285 286 287 288 289 290 291
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)

292 293
2010-05-21  Alan Mackenzie  <acm@muc.de>

Stefan Monnier's avatar
Stefan Monnier committed
294 295 296
	* progmodes/cc-engine.el (c-parse-state-get-strategy):
	Replace parameter `here' with `here-' and `here-plus', which sandwich
	any pertinent CPP construct.
297 298 299 300
	(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.

301 302 303
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
304 305
	(tramp-handle-file-local-copy, tramp-maybe-open-connection):
	Tune `with-progress-reporter' messages.
306 307 308 309 310 311 312 313 314
	(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'.

315 316
2010-05-21  Juanma Barranquero  <lekktu@gmail.com>

317 318 319
	* add-log.el (change-log-font-lock-keywords):
	Highlight all authors in multi-author entries.

320 321 322 323 324
	* 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
325 326
2010-05-21  Glenn Morris  <rgm@gnu.org>

327 328 329
	* progmodes/fortran.el (fortran-mode):
	* progmodes/f90.el (f90-mode): Derive from prog-mode.

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

333 334 335 336 337 338 339
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)

340 341 342 343 344
2010-05-20  Juri Linkov  <juri@jurta.org>

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

345 346 347 348 349
2010-05-20  Juri Linkov  <juri@jurta.org>

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

350 351 352 353 354
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)

355 356 357 358 359
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)

360 361 362 363 364 365
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)

366 367 368 369 370
2010-05-20  Juri Linkov  <juri@jurta.org>

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

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

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

388 389 390 391 392 393
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.

394 395 396 397 398
2010-05-19  Juri Linkov  <juri@jurta.org>

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

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

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

410 411
2010-05-19  Michael Albinus  <michael.albinus@gmx.de>

412 413
	* password-cache.el (password-cache-remove): Fix docstring.

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

423 424 425 426
2010-05-19  Stefan Monnier  <monnier@iro.umontreal.ca>

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

427 428 429 430
2010-05-19  Glenn Morris  <rgm@gnu.org>

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

431 432 433
2010-05-19  Kenichi Handa  <handa@m17n.org>

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

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

442 443 444 445 446
2010-05-18  Stefan Monnier  <monnier@iro.umontreal.ca>

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

447 448 449 450 451 452 453 454 455
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.

456 457
2010-05-18  Stefan Monnier  <monnier@iro.umontreal.ca>

458 459 460 461 462 463
	* 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 ;-).

464 465 466 467 468 469 470 471 472
	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.

473 474
2010-05-18  Juanma Barranquero  <lekktu@gmail.com>

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

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

480 481 482 483 484 485 486 487 488
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.

489 490
2010-05-17  Jay Belanger  <jay.p.belanger@gmail.com>

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

494 495
2010-05-16  Jay Belanger  <jay.p.belanger@gmail.com>

Jay Belanger's avatar
Jay Belanger committed
496
	* calc/calc-vec.el (calc-histogram):
497
	(calcFunc-histogram): Allow vectors as inputs.
Jay Belanger's avatar
Jay Belanger committed
498 499
	(math-vector-avg): New function.

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

503 504 505 506 507
2010-05-15  Ken Raeburn  <raeburn@raeburn.org>

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

508 509
2010-05-15  Eli Zaretskii  <eliz@gnu.org>

510 511 512
	* international/mule-cmds.el (mule-menu-keymap): Fix definition of
	"Describe Language Environment" menu item.

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

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

520 521 522 523 524 525 526 527 528 529 530 531 532 533 534
	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.

535 536 537 538 539 540 541 542 543 544 545
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
546
	* calc/calc-aent.el (math-read-replacement-list): Add "micro" symbol.
547
	* calc/calc-units.el (math-unit-prefixes): Add mu for micro.
Juanma Barranquero's avatar
Juanma Barranquero committed
548
	(math-standard-units): Add units.
549

550 551
2010-05-15  Stefan Monnier  <monnier@iro.umontreal.ca>

552
	* progmodes/asm-mode.el (asm-mode):
553 554
	* progmodes/prolog.el (prolog-mode): Use define-derived-mode.

555 556 557 558
	* pcomplete.el (pcomplete-completions-at-point): New function,
	extracted from pcomplete-std-complete.
	(pcomplete-std-complete): Use it.

559 560 561 562 563
2010-05-15  Glenn Morris  <rgm@gnu.org>

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

564 565
2010-05-14  Jay Belanger  <jay.p.belanger@gmail.com>

566
	* calc/calc-bin.el (math-format-twos-complement): Group digits when
567 568
	appropriate.

569 570
2010-05-14  Stefan Monnier  <monnier@iro.umontreal.ca>

571 572 573 574 575 576 577
	* 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.

578 579 580 581
	* 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.

582 583 584 585 586 587 588 589 590
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.

591 592
2010-05-13  Chong Yidong  <cyd@stupidchicken.com>

Juanma Barranquero's avatar
Juanma Barranquero committed
593
	Add TeX open-block and close-block keybindings to SGML, and vice versa.
594 595 596 597 598 599 600

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

601 602 603
2010-05-13  Michael Albinus  <michael.albinus@gmx.de>

	* net/tramp.el (with-progress-reporter): Create reporter object
604
	only when the message would be displayed.  Handle nested calls.
605 606
	(tramp-handle-load, tramp-handle-file-local-copy)
	(tramp-handle-insert-file-contents, tramp-handle-write-region)
607 608
	(tramp-maybe-send-script, tramp-find-shell):
	Use `with-progress-reporter'.
609 610 611 612 613 614 615 616
	(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'.

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

622 623
2010-05-13  Stefan Monnier  <monnier@iro.umontreal.ca>

624 625
	* progmodes/sh-script.el (sh-mode): Use define-derived-mode.

626 627 628 629
	* dos-fns.el: Add "dos-" prefix for namespace control.
	(convert-standard-filename): Define as alias for
	dos-convert-standard-filename but only if applicable.

630 631 632 633 634
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.

635 636 637 638 639 640
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.

641 642 643 644 645
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).

646 647 648 649 650
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).

651 652
2010-05-11  Stefan Monnier  <monnier@iro.umontreal.ca>

Stefan Monnier's avatar
Stefan Monnier committed
653 654 655 656 657
	* 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.

658 659 660
	* minibuffer.el (completion-pcm--pattern->regex):
	Fix last change (bug#6160).

661 662 663 664 665 666 667 668 669 670
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.

671 672 673
2010-05-10  Michael Albinus  <michael.albinus@gmx.de>

	* net/tramp.el (tramp-do-file-attributes-with-stat): Add space in
674 675
	format string, in order to work around a bug in pdksh.
	Reported by Gilles Pion <gpion@lfdj.com>.
676 677 678 679
	(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.

680 681 682 683 684 685 686 687 688
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
689 690
2010-05-09  Michael R. Mauger  <mmaug@yahoo.com>

Juanma Barranquero's avatar
Juanma Barranquero committed
691 692 693
	* 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
694 695 696
	(sql-port, sql-port-history): New variables.
	(sql-interactive-product): New variable.
	(sql-send-terminator): New variable.
Juanma Barranquero's avatar
Juanma Barranquero committed
697
	(sql-imenu-generic-expression): Add "Types" imenu entry.
Michael Mauger's avatar
Michael Mauger committed
698 699 700 701 702 703 704
	(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
705 706 707
	(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
708 709 710 711 712 713 714 715 716 717 718
	(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
719
	(sql-mode-linter-font-lock-keywords): Update initialization to
Michael Mauger's avatar
Michael Mauger committed
720 721 722 723 724 725 726 727
	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
728
	(sql-get-login): Correct bug in handling history and added
Michael Mauger's avatar
Michael Mauger committed
729 730 731
	prompt for port.
	(sql-copy-column): Copy without properties.
	(sqli-input-sender): Apply filters to SQLi input.
Juanma Barranquero's avatar
Juanma Barranquero committed
732 733
	(sql-query-placeholders-and-send): Obey `sql-oracle-scan-on' setting.
	Implement as a filter.
Michael Mauger's avatar
Michael Mauger committed
734 735 736 737 738 739 740 741 742 743 744 745 746 747
	(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
748 749
	(sql-connect-interbase, sql-connect-db2, sql-connect-linter):
	Use `sql-connect'.
Michael Mauger's avatar
Michael Mauger committed
750

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

762 763 764 765 766 767 768 769 770 771 772 773 774 775 776 777 778 779 780 781 782 783 784 785 786 787 788 789 790
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'.

791 792 793 794 795
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
796
2010-05-08  Chong Yidong  <cyd@stupidchicken.com>
797

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

Stefan Monnier's avatar
Stefan Monnier committed
801
2010-05-08  Chong Yidong  <cyd@stupidchicken.com>
802 803 804 805

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

Stefan Monnier's avatar
Stefan Monnier committed
806
2010-05-08  Eli Zaretskii  <eliz@gnu.org>
807 808 809 810

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

Juanma Barranquero's avatar
Juanma Barranquero committed
811
2010-05-08  Alexander Klimov  <alserkli@inbox.ru>  (tiny change)
812 813 814 815

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

Stefan Monnier's avatar
Stefan Monnier committed
816
2010-05-08  Juanma Barranquero  <lekktu@gmail.com>
Juanma Barranquero's avatar
Juanma Barranquero committed
817 818 819 820

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

Stefan Monnier's avatar
Stefan Monnier committed
821
2010-05-08  Andreas Schwab  <schwab@linux-m68k.org>
822 823 824

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

Stefan Monnier's avatar
Stefan Monnier committed
825
2010-05-08  Juanma Barranquero  <lekktu@gmail.com>
826 827 828 829 830 831 832 833 834 835 836 837 838 839 840 841

	* 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
842 843
	(sql-toggle-pop-to-buffer-after-send-region sql-oracle)
	(sql-sybase, sql-informix, sql-sqlite, sql-mysql, sql-solid)
844 845 846
	(sql-ingres, sql-ms, sql-postgres, sql-interbase, sql-db2, sql-linter):
	Fix typos in docstrings.

Stefan Monnier's avatar
Stefan Monnier committed
847
2010-05-08  Juri Linkov  <juri@jurta.org>
848 849 850 851

	* 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
852
2010-05-08  Juri Linkov  <juri@jurta.org>
Juri Linkov's avatar
Juri Linkov committed
853 854 855

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

Stefan Monnier's avatar
Stefan Monnier committed
856
2010-05-08  Juanma Barranquero  <lekktu@gmail.com>
857 858 859 860

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

Stefan Monnier's avatar
Stefan Monnier committed
861
2010-05-08  Kenichi Handa  <handa@m17n.org>
862 863

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

Stefan Monnier's avatar
Stefan Monnier committed
866
2010-05-08  Kenichi Handa  <handa@m17n.org>
867 868

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

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

874 875
	* files.el (copy-directory): Handle symlinks (Bug#5982).

Stefan Monnier's avatar
Stefan Monnier committed
876
2010-05-08  Dan Nicolaescu  <dann@ics.uci.edu>
877 878 879 880 881

	* 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
882
2010-05-08  Glenn Morris  <rgm@gnu.org>
883

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

886 887
	* minibuffer.el (completion-at-point): Doc fix.

Stefan Monnier's avatar
Stefan Monnier committed
888 889 890 891 892 893 894
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
895 896 897 898
2010-05-07  Chong Yidong  <cyd@stupidchicken.com>

	* Version 23.2 released.

Juanma Barranquero's avatar
Juanma Barranquero committed
899
2010-05-07  Deniz Dogan  <deniz.a.m.dogan@gmail.com>  (tiny change)
900
            Stefan Monnier  <monnier@iro.umontreal.ca>
901 902 903 904 905 906

	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.

907 908 909 910
2010-05-07  Eli Zaretskii  <eliz@gnu.org>

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

911 912
2010-05-07  Stefan Monnier  <monnier@iro.umontreal.ca>

913 914 915
	* textmodes/dns-mode.el (auto-mode-alist): Add entry for .zone files.
	* files.el (auto-mode-alist): Remove redundant entries.

916 917 918 919
	* 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
920
2010-05-07  Christian von Roques  <roques@mti.ag>  (tiny change)
921 922 923

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

Katsumi Yamaoka's avatar
Katsumi Yamaoka committed
924 925 926 927 928 929 930 931 932 933 934
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
935
	* net/imap.el (imap-disable-multibyte): Redefine it as a macro.
Katsumi Yamaoka's avatar
Katsumi Yamaoka committed
936

937 938
2010-05-07  Juanma Barranquero  <lekktu@gmail.com>

939 940
	* progmodes/cperl-mode.el (cperl-mode-unload-function): New function.

941 942 943 944 945 946
	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'.

947 948
2010-05-06  Michael Albinus  <michael.albinus@gmx.de>

949 950
	* net/tramp.el (top, with-progress-reporter):
	Use `symbol-function' inside `funcall'.
951 952

	* net/tramp-compat.el (tramp-compat-file-attributes)
953 954
	(tramp-compat-delete-file, tramp-compat-delete-directory):
	Handle only `wrong-number-of-arguments' error.
955 956 957 958 959

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

960 961
2010-05-06  Stefan Monnier  <monnier@iro.umontreal.ca>

962 963 964 965
	* minibuffer.el (completion--sreverse, completion--common-suffix):
	New functions.
	(completion-pcm--merge-completions): Extract common suffix when safe.

966 967 968 969
	* emacs-lisp/easy-mmode.el (define-minor-mode):
	Make :variable more flexible.
	* files.el (auto-save-mode): Use it to define using define-minor-mode.

970 971 972 973 974 975 976 977 978 979 980 981 982
2010-05-05  Juri Linkov  <juri@jurta.org>

	Add `slow' and `history' tags to the desktop data.

	* info.el (Info-virtual-nodes) [*Index*]: Add `slow' tag.
	(Info-virtual-files) [*Apropos*]: Add `slow' tag.
	(Info-finder-find-node): Require `finder.el' to be able
	to restore node from the desktop.
	(Info-desktop-buffer-misc-data): Save all nodes.  Save additional
	data `Info-history' and `slow' tag in the assoc list.
	(Info-restore-desktop-buffer): Don't restore nodes with the
	`slow' tag.  Restore `Info-history'.

983 984 985 986 987 988 989 990 991
2010-05-05  Michael Albinus  <michael.albinus@gmx.de>

	Add FORCE argument to `delete-file'.

	* net/ange-ftp.el (ange-ftp-del-tmp-name): Make it a defun,
	forcing to delete the temporary file.
	(ange-ftp-delete-file): Add FORCE arg.
	(ange-ftp-rename-remote-to-remote)
	(ange-ftp-rename-local-to-remote, ange-ftp-rename-remote-to-local)
992 993
	(ange-ftp-load, ange-ftp-compress, ange-ftp-uncompress):
	Force file deletion.
994 995 996 997 998 999 1000 1001 1002 1003 1004 1005 1006 1007 1008 1009 1010

	* net/tramp-compat.el (tramp-compat-delete-file): New defun.

	* net/tramp.el (tramp-handle-delete-file): Add FORCE arg.
	(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 `tramp-compat-delete-file'.

	* net/tramp-fish.el (tramp-fish-handle-delete-file): Add FORCE arg.
	(tramp-fish-handle-make-symbolic-link)
	(tramp-fish-handle-process-file): Use `tramp-compat-delete-file'.

1011 1012
	* net/tramp-ftp.el (tramp-ftp-file-name-handler):
	Use `tramp-compat-delete-file'.
1013 1014 1015 1016 1017 1018 1019 1020 1021 1022 1023 1024

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

	* net/tramp-imap.el (tramp-imap-handle-delete-file): Add FORCE arg.
	(tramp-imap-do-copy-or-rename-file): Use `tramp-compat-delete-file'.

	* net/tramp-smb.el (tramp-smb-handle-delete-file): Add FORCE arg.
	(tramp-smb-handle-copy-file, tramp-smb-handle-file-local-copy)
	(tramp-smb-handle-rename-file, tramp-smb-handle-write-region): Use
	`tramp-compat-delete-file'.

1025 1026
2010-05-05  Stefan Monnier  <monnier@iro.umontreal.ca>

Stefan Monnier's avatar
Stefan Monnier committed
1027 1028 1029 1030 1031
	Minor cleanups.
	* subr.el (add-minor-mode): Use push.
	* mail/supercite.el (sc-electric-mode): Use more descriptive arg name.
	* emulation/edt.el (edt-select-mode): Simplify.

1032 1033 1034 1035 1036 1037 1038 1039 1040 1041
	Use define-minor-mode in more cases.
	* term/tvi970.el (tvi970-set-keypad-mode):
	* simple.el (auto-fill-mode, overwrite-mode, binary-overwrite-mode)
	(normal-erase-is-backspace-mode):
	* scroll-bar.el (scroll-bar-mode): Use it and define-minor-mode.
	(set-scroll-bar-mode-1): (Re)move to its sole caller.
	(get-scroll-bar-mode): New function.
	* emacs-lisp/cl-macs.el (eq): Handle a non-variable first arg.

	Use define-minor-mode for less obvious cases.
1042 1043 1044 1045 1046 1047
	* emacs-lisp/easy-mmode.el (define-minor-mode): Add :variable keyword.
	* emacs-lisp/cl-macs.el (terminal-parameter, eq): Add setf method.
	* international/iso-ascii.el (iso-ascii-mode):
	* frame.el (auto-raise-mode, auto-lower-mode):
	* composite.el (global-auto-composition-mode): Use define-minor-mode.

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

	* net/tramp.el (tramp-methods): Remove "-q" from `tramp-login-args'
	in order to see error messages for failed logins.

1053 1054 1055 1056 1057 1058 1059 1060 1061 1062 1063 1064 1065
2010-05-03  Chong Yidong  <cyd@stupidchicken.com>

	* 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, jka-compr-load):

	* server.el (server-sentinel): Use delete-file's new FORCE arg
	(Bug#6070).

1066 1067 1068 1069 1070 1071 1072 1073 1074 1075 1076 1077 1078 1079 1080 1081 1082 1083 1084
2010-05-03  Stefan Monnier  <monnier@iro.umontreal.ca>

	Use define-minor-mode where applicable.
	* view.el (view-mode):
	* type-break.el (type-break-query-mode)
	(type-break-mode-line-message-mode):
	* textmodes/reftex.el (reftex-mode):
	* term/vt100.el (vt100-wide-mode):
	* tar-mode.el (tar-subfile-mode):
	* savehist.el (savehist-mode):
	* ibuf-ext.el (ibuffer-auto-mode):
	* composite.el (auto-composition-mode):
	* progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
	Use define-minor-mode.
	(vhdl-mode): Use static mode-line format.
	(vhdl-mode-line-update): Delete.
	(vhdl-create-mode-menu, vhdl-activate-customizations)
	(vhdl-hs-minor-mode): Don't bother calling it.

1085 1086
2010-05-02  Stefan Monnier  <monnier@iro.umontreal.ca>

1087 1088 1089
	* simple.el (with-wrapper-hook): Move.
	(buffer-substring-filters): Mark obsolete.
	(filter-buffer-substring-functions): New variable.
Juanma Barranquero's avatar
Juanma Barranquero committed
1090
	(filter-buffer-substring): Use it.  Remove unused arg `noprops'.
1091

1092 1093 1094 1095 1096 1097 1098 1099 1100 1101 1102 1103 1104 1105 1106 1107 1108 1109 1110 1111 1112
	Use a mode-line spec rather than a static string in Semantic.
	* cedet/semantic/util-modes.el:
	(semantic-minor-modes-format): New var to replace...
	(semantic-minor-modes-status): Remove.
	(semantic-mode-line-update): Construct a mode-line spec rather than
	a static string so that mouse buttons can be used on individual minor
	modes and so that semantic-mode-line-update only needs to be called
	when global settings are changed.
	(semantic-add-minor-mode, semantic-toggle-minor-mode-globally):
	Call semantic-mode-line-update.
	(semantic-toggle-minor-mode-globally): Don't assume mode is on
	minor-mode-alist, check semantic-minor-mode-alist as well.
	(semantic-stickyfunc-mode, semantic-show-parser-state-auto-marker)
	(semantic-show-parser-state-marker, semantic-show-parser-state-mode)
	(semantic-show-unmatched-syntax-mode, semantic-highlight-edits-mode):
	* cedet/semantic/mru-bookmark.el (semantic-mru-bookmark-mode):
	* cedet/semantic/idle.el (semantic-idle-scheduler-mode)
	(define-semantic-idle-service, semantic-idle-summary-mode):
	* cedet/semantic/decorate/mode.el (semantic-decoration-mode):
	Don't call semantic-mode-line-update any more.

1113 1114 1115 1116 1117 1118 1119 1120 1121 1122 1123 1124 1125 1126 1127 1128 1129 1130 1131 1132 1133 1134 1135 1136 1137 1138 1139 1140 1141 1142 1143 1144 1145 1146 1147 1148 1149 1150 1151 1152
2010-05-02  Stefan Monnier  <monnier@iro.umontreal.ca>

	Use define-minor-mode in CEDET where applicable.

	* cedet/srecode/mode.el (srecode-minor-mode,global-srecode-minor-mode):
	Use define-minor-mode.

	* cedet/semantic/util-modes.el (semantic-add-minor-mode):
	Remove unused arg `keymap' and code redundant with define-minor-mode.
	(semantic-toggle-minor-mode-globally): Only handle arg -1 and 1.
	(semantic-stickyfunc-mode, global-semantic-show-unmatched-syntax-mode)
	(semantic-highlight-func-mode, global-semantic-show-parser-state-mode)
	(global-semantic-highlight-edits-mode, semantic-highlight-edits-mode)
	(semantic-show-unmatched-syntax-mode, semantic-show-parser-state-mode)
	(global-semantic-stickyfunc-mode, global-semantic-highlight-func-mode):
	Use define-minor-mode.
	(semantic-stickyfunc-mode-setup, semantic-highlight-edits-mode-setup)
	(semantic-show-unmatched-syntax-mode-setup)
	(semantic-show-parser-state-mode-setup)
	(semantic-highlight-func-mode-setup): Inline into sole caller.

	* cedet/semantic/mru-bookmark.el (global-semantic-mru-bookmark-mode)
	(semantic-mru-bookmark-mode): Use define-minor-mode.
	(semantic-mru-bookmark-mode-setup): Inline into sole caller.

	* cedet/semantic/idle.el (define-semantic-idle-service):
	Use define-minor-mode and inline setup function into its sole caller.
	(semantic-idle-scheduler-mode-setup)
	(semantic-idle-summary-mode-setup): Inline into sole caller.
	(global-semantic-idle-scheduler-mode, semantic-idle-scheduler-mode):
	Use define-minor-mode.

	* cedet/semantic/decorate/mode.el (global-semantic-decoration-mode)
	(semantic-decoration-mode): Use define-minor-mode.
	(semantic-decoration-mode-setup): Inline into sole caller.

	* cedet/ede/dired.el (ede-dired-minor-mode): Initialize in declaration.
	(ede-dired-minor-mode): Use define-minor-mode and derived-mode-p.
	(ede-dired-add-to-target): Use dolist.

1153
2010-05-01  Toru TSUNEYOSHI  <t_tuneyosi@hotmail.com>
1154
            Michael Albinus  <michael.albinus@gmx.de>
1155 1156 1157 1158 1159 1160 1161 1162

	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.
1163
	(tramp-get-remote-coding, tramp-get-local-coding): Remove,
1164
	replaced by `tramp-get-inline-coding'.
1165 1166 1167
	(tramp-handle-file-local-copy, tramp-handle-write-region)
	(tramp-method-out-of-band-p): Use `tramp-get-inline-coding'.

1168 1169
2010-05-01  Stefan Monnier  <monnier@iro.umontreal.ca>

1170 1171 1172
	* bindings.el (mode-line-abbrev-mode, mode-line-auto-fill-mode):
	Remove unused functions.

1173 1174 1175
	* emacs-lisp/lisp-mode.el (lisp-mode): Use define-derived-mode.
	Set find-tag-default-function as a variable rather than a property.

1176 1177 1178 1179 1180
	* minibuffer.el (tags-completion-at-point-function): Move to etags.el.
	* progmodes/etags.el (tags-completion-at-point-function):
	Remove left over interactive spec.  Add autoloading stub.
	(complete-tag): Use tags-completion-at-point-function.

1181 1182
2010-04-30  Chong Yidong  <cyd@stupidchicken.com>

1183
	* minibuffer.el (tags-completion-at-point-function): Fix return value.
1184

1185 1186 1187 1188 1189
2010-04-30  Eli Zaretskii  <eliz@gnu.org>

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

1190 1191
2010-04-29  Chong Yidong  <cyd@stupidchicken.com>

1192 1193
	* ido.el (ido-init-completion-maps): Remove C-v binding.
	(ido-minibuffer-setup): Don't set cua-inhibit-cua-keys (Bug#5765).
1194

1195 1196 1197 1198 1199 1200 1201 1202 1203 1204 1205
2010-04-29  Chong Yidong  <cyd@stupidchicken.com>

	* minibuffer.el (tags-completion-at-point-function): New function.
	(completion-at-point-functions): Use it.

	* cedet/semantic.el (semantic-completion-at-point-function): New function.
	(semantic-mode): Use semantic-completion-at-point-function for
	completion-at-point-functions instead.

	* progmodes/etags.el (complete-tag): Revert last change.

1206 1207 1208 1209 1210
2010-04-29  Alan Mackenzie  <acm@muc.de>

	* progmodes/cc-mode.el (c-extend-region-for-CPP): Fix an
	off-by-one error (in end of macro position).

1211 1212 1213 1214 1215 1216
2010-04-29  Stefan Monnier  <monnier@iro.umontreal.ca>

	* net/browse-url.el (browse-url-firefox-program): Use iceweasel if
	firefox is absent.  Don't autoload.
	(browse-url-galeon-program): Don't autoload.

1217 1218 1219 1220 1221 1222 1223 1224 1225 1226 1227 1228 1229 1230 1231 1232 1233 1234 1235
2010-04-28  Chong Yidong  <cyd@stupidchicken.com>

	* bindings.el (complete-symbol): Move into minibuffer.el.

	* minibuffer.el (complete-tag): Move from etags.el.  If tags
	completion cannot be performed, return nil instead of signalling
	an error.
	(completion-at-point): Make it an alias for complete-symbol.
	(complete-symbol): Move from bindings.el, and replace with the
	body of completion-at-point.

	* progmodes/etags.el (complete-tag): Move to minibuffer.el.

	* cedet/semantic.el (semantic-mode): When enabled, add
	semantic-ia-complete-symbol to completion-at-point-functions.

	* cedet/semantic/ia.el (semantic-ia-complete-symbol): Return nil
	if Semantic is not active.

1236 1237 1238 1239 1240 1241
2010-04-28  Michael Albinus  <michael.albinus@gmx.de>

	* net/tramp.el (tramp-remote-selinux-p): New defun.
	(tramp-handle-file-selinux-context)
	(tramp-handle-set-file-selinux-context): Use it.

1242 1243 1244 1245 1246 1247
2010-04-28  Sam Steingold  <sds@gnu.org>

	* progmodes/bug-reference.el (bug-reference-url-format): Mark as
	`safe-local-variable' if the value is a string or a symbol with
	the property `bug-reference-url-format'.

1248 1249 1250 1251 1252
2010-04-28  Chong Yidong  <cyd@stupidchicken.com>

	* progmodes/bug-reference.el (bug-reference-url-format): Revert
	2010-04-27 change due to security risk.

1253 1254 1255 1256 1257 1258 1259 1260 1261 1262
2010-04-28  Stefan Monnier  <monnier@iro.umontreal.ca>

	Make it possible to locally disable a globally enabled mode.
	* simple.el (fundamental-mode): Run fundamental-mode-hook.
	* emacs-lisp/derived.el (define-derived-mode): Use fundamental-mode
	rather than kill-all-local-variables so it runs fundamental-mode-hook.
	* emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
	Use fundamental-mode-hook to run MODE-enable-in-buffers earlier, so
	that subsequent hooks get a chance to disable it.

1263 1264
2010-04-27  Stefan Monnier  <monnier@iro.umontreal.ca>

1265 1266 1267 1268 1269 1270
	* emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
	Avoid re-enabling a minor mode after the user turned the minor mode
	off if MODE-enable-in-buffers is run twice (typically once from
	fundamental-mode's after-change-major-mode-hook and a second time from
	run-mode-hook's own after-change-major-mode-hook).

1271 1272
	* emacs-lisp/lisp.el (lisp-complete-symbol): Fail gracefully.

1273 1274 1275 1276 1277 1278
2010-04-27  Sam Steingold  <sds@gnu.org>

	* progmodes/bug-reference.el (bug-reference-url-format): Mark as
	`safe-local-variable' if the value is a string or a function, as
	documented and implemented on 2010-04-02.

1279 1280 1281 1282 1283 1284
2010-04-27  Juanma Barranquero  <lekktu@gmail.com>

	* ido.el (ido-buffer-internal): Bind `ido-use-virtual-buffers' to nil
	when method is 'kill.

2010-04-27  Agustín Martín  <agustin.martin@hispalinux.es>
1285 1286 1287 1288 1289 1290

	* ispell.el (ispell-init-process): Fix personal dictionary condition
	in default directory check.
	(ispell-init-process,ispell-kill-ispell,kill-buffer-hook):
	Kill ispell process when killing its associated buffer.

1291 1292 1293 1294 1295
2010-04-27  Jan Djärv  <jan.h.d@swipnet.se>

	* desktop.el (desktop-kill): ask-if-new: Ask if desktop file exists,
	but we aren't using it.

1296 1297 1298 1299 1300
2010-04-25  Jan Djärv  <jan.h.d@swipnet.se>

	* tool-bar.el (tool-bar-local-item-from-menu): Revert unintended
	checkin in 2010-04-23T16:26:11Z!monnier@iro.umontreal.ca.

Glenn Morris's avatar
Glenn Morris committed
1301 1302 1303 1304 1305 1306 1307 1308 1309 1310 1311 1312 1313 1314
2010-04-24  Glenn Morris  <rgm@gnu.org>

	* emacs-lisp/authors.el (authors-obsolete-files-regexps):
	Ignore VCS-ignore files, and deleted nextstep preferences files.
	(authors-ignored-files): Ignore deleted cedet test files, and "*.el".
	(authors-ambiguous-files): New list.
	(authors-valid-file-names): Add some deleted files.
	(authors-renamed-files-alist): Add font-setting.el, edt-user.doc.
	(authors-disambiguate-file-name): New function.  (Bug#5501)
	(authors-canonical-file-name): Doc fix.
	Don't warn about obsolete files.
	(authors-canonical-file-name, authors-scan-el):
	Use authors-disambiguate-file-name.

1315 1316 1317 1318 1319 1320 1321 1322 1323 1324 1325
	* hfy-cmap.el (htmlfontify-load-rgb-file, hfy-fallback-colour-values):
	Add autoload cookies.
	(htmlfontify-unload-rgb-file, hfy-fallback-colour-values): Add docs.
	(generated-autoload-file): Set file-local value to "htmlfontify.el".
	* htmlfontify.el (caddr, cadddr): Remove fallback definitions.
	They have definitions / compiler macros in cl.el.
	(htmlfontify-load-rgb-file, hfy-fallback-colour-values):
	Replace manual autoloads with generated ones.
	(htmlfontify-unload-rgb-file): Remove autoload.
	* Makefile.in (autoloads): Ensure htmlfontify.el is writable.

1326 1327
2010-04-23  Stefan Monnier  <monnier@iro.umontreal.ca>

1328 1329 1330 1331 1332
	* emacs-lisp/bytecomp.el (byte-compile-set-default): New function.
	(byte-compile-setq-default): Optimize for the
	single-var case and don't call byte-compile-form in this case to avoid
	inf-loop with byte-compile-set-default.

1333 1334
	* progmodes/compile.el (compilation-start): Abbreviate default directory.

Michael Albinus's avatar
Michael Albinus committed
1335 1336 1337 1338
2010-04-23  Michael Albinus  <michael.albinus@gmx.de>

	Implement SELINUX backends.

1339 1340
	* net/tramp.el (tramp-file-name-handler-alist):
	Add `file-selinux-context' and `set-file-selinux-context'.
Michael Albinus's avatar
Michael Albinus committed
1341 1342
	(tramp-handle-file-selinux-context)
	(tramp-handle-set-file-selinux-context): New defuns.
1343 1344
	(tramp-handle-copy-file, tramp-do-copy-or-rename-file):
	Handle PRESERVE-SELINUX-CONTEXT.
Michael Albinus's avatar
Michael Albinus committed
1345

1346 1347
	* net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
	Add `file-selinux-context' and `set-file-selinux-context'.
Michael Albinus's avatar
Michael Albinus committed
1348 1349 1350 1351 1352 1353 1354
	(tramp-gvfs-handle-file-selinux-context)
	(tramp-gvfs-handle-set-file-selinux-context): New defuns.
	(tramp-gvfs-handle-copy-file): Handle PRESERVE-SELINUX-CONTEXT.

	* net/ange-ftp.el (ange-ftp-copy-file):
	* net/tramp-fish.el (tramp-fish-handle-copy-file):
	* net/tramp-imap.el (tramp-imap-handle-copy-file):
1355 1356
	* net/tramp-smb.el (tramp-smb-handle-copy-file):
	Add PRESERVE-SELINUX-CONTEXT.
Michael Albinus's avatar
Michael Albinus committed
1357

1358 1359 1360 1361 1362 1363 1364 1365 1366 1367 1368 1369
2010-04-22  Michael Albinus  <michael.albinus@gmx.de>

	Synchronize with Tramp repository.

	* net/tramp.el (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.
	(with-progress-reporter): New defmacro.
	(tramp-do-copy-or-rename-file, tramp-handle-dired-compress-file)
	(tramp-maybe-open-connection): Use it.

1370 1371 1372 1373 1374 1375 1376
2010-04-22  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.

1377 1378
2010-04-22  Michael Albinus  <michael.albinus@gmx.de>

1379 1380 1381 1382
	* net/tramp.el (tramp-handle-copy-file): Add new optional
	parameter `preserve-selinux-context'.
	(tramp-file-name-for-operation): Add `set-file-selinux-context'.

1383 1384
2010-04-22  Michael Albinus  <michael.albinus@gmx.de>

1385 1386 1387
	* net/tramp.el (tramp-completion-handle-file-name-all-completions):
	Ensure, that non remote files are still checked.  Oops.

Michael Albinus's avatar
Michael Albinus committed
1388 1389 1390 1391 1392 1393 1394 1395 1396 1397 1398
2010-04-21  Michael Albinus  <michael.albinus@gmx.de>

	Fix Bug#5840.

	* icomplete.el (icomplete-completions): Use `non-essential'.

	* net/tramp.el (tramp-connectable-p): New defun.
	(tramp-handle-expand-file-name)
	(tramp-completion-handle-file-name-all-completions)
	(tramp-completion-handle-file-name-completion): Use it.

1399 1400 1401 1402
2010-04-21  Stefan Monnier  <monnier@iro.umontreal.ca>

	* emacs-lisp/lisp.el (lisp-completion-at-point): Try and handle errors.

1403 1404 1405 1406 1407 1408 1409 1410 1411 1412 1413 1414 1415 1416 1417 1418 1419 1420 1421
2010-04-21  Jan Djärv  <jan.h.d@swipnet.se>

	* vc-dir.el (vc-dir-tool-bar-map): Add :label on some tool bar items.

	* tool-bar.el (tool-bar-setup): Add :label on some tool bar items.

	* loadup.el: Load dynamic-setting.el if feature dynamic-setting
	is present.

	* info.el (info-tool-bar-map): Add labels.

	* cus-start.el (all): Add tool-bar-style and tool-bar-max-label-size.

	* cus-edit.el (custom-commands): Add labels for tool bar.
	(custom-buffer-create-internal, Custom-mode): Adjust for
	labels in custom-commands.

	* dynamic-setting.el: Renamed from font-setting.el.

1422 1423 1424 1425 1426 1427 1428 1429
2010-04-21  John Wiegley  <jwiegley@gmail.com>

	* ido.el (ido-init-completion-maps): For ido-switch-buffer, C-o
	toggles the use of virtual buffers.
	(ido-buffer-internal): Guard `ido-use-virtual-buffers' global
	value.
	(ido-toggle-virtual-buffers): New function.

1430 1431 1432 1433 1434 1435 1436 1437 1438 1439 1440 1441 1442 1443
2010-04-21  Juanma Barranquero  <lekktu@gmail.com>

	Use `define-derived-mode'; fix window selection; doc fixes.
	* play/tetris.el (tetris, tetris-update-speed-function)
	(tetris-tty-colors, tetris-x-colors, tetris-move-bottom)
	(tetris-move-left, tetris-move-right, tetris-rotate-prev)
	(tetris-rotate-next, tetris-end-game, tetris-start-game)
	(tetris-pause-game): Fix typos in docstrings.
	(tetris-mode-map, tetris-null-map):
	Move initialization into declaration.
	(tetris-mode): Define with `define-derived-mode';
	set show-trailing-whitespace to nil.
	(tetris): Prefer window already displaying the "*Tetris*" buffer.

Karel Klíc's avatar
Karel Klíc committed
1444 1445 1446 1447 1448 1449 1450 1451 1452 1453 1454 1455
2010-04-21  Karel Klíč  <kklic@redhat.com>

	* files.el (backup-buffer): Handle SELinux context, and return it
	if a backup was made by renaming.
	(backup-buffer-copy): Set SELinux context to the target file.
	(basic-save-buffer): Set SELinux context of the newly written file.
	(basic-save-buffer-1): Now it also returns any SELinux context.
	(basic-save-buffer-2): Set SELinux context of the newly created file,
	and return it.
	* net/tramp.el (tramp-file-name-for-operation):
	Add file-selinux-context.