ChangeLog 506 KB
Newer Older
1 2
2010-05-25  Stefan Monnier  <monnier@iro.umontreal.ca>

3 4 5 6 7
	* 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.

8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24
	Replace Lisp calls to delete-backward-char by delete-char.
	* bs.el, expand.el, ido.el, image-dired.el, lpr.el, pcomplete.el,
	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
	delete-backward-char by calls to delete-char.

Kenichi Handa's avatar
Kenichi Handa committed
25 26 27 28 29 30
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
31
2010-05-24  Uday S Reddy  <u.s.reddy@cs.bham.ac.uk>  (tiny change)
32 33 34

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

Stefan Monnier's avatar
Stefan Monnier committed
35 36 37 38 39
2010-05-24  Stefan Monnier  <monnier@iro.umontreal.ca>

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

40 41 42 43 44 45
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.

46 47 48 49 50 51 52
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)

53 54
2010-05-21  Alan Mackenzie  <acm@muc.de>

Stefan Monnier's avatar
Stefan Monnier committed
55 56 57
	* progmodes/cc-engine.el (c-parse-state-get-strategy):
	Replace parameter `here' with `here-' and `here-plus', which sandwich
	any pertinent CPP construct.
58 59 60 61
	(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.

62 63 64
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
65 66
	(tramp-handle-file-local-copy, tramp-maybe-open-connection):
	Tune `with-progress-reporter' messages.
67 68 69 70 71 72 73 74 75
	(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'.

76 77
2010-05-21  Juanma Barranquero  <lekktu@gmail.com>

78 79 80
	* add-log.el (change-log-font-lock-keywords):
	Highlight all authors in multi-author entries.

81 82 83 84 85
	* 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
86 87
2010-05-21  Glenn Morris  <rgm@gnu.org>

88 89 90
	* progmodes/fortran.el (fortran-mode):
	* progmodes/f90.el (f90-mode): Derive from prog-mode.

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

94 95 96 97 98 99 100
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)

101 102 103 104 105
2010-05-20  Juri Linkov  <juri@jurta.org>

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

106 107 108 109 110
2010-05-20  Juri Linkov  <juri@jurta.org>

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

111 112 113 114 115
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)

116 117 118 119 120
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)

121 122 123 124 125 126
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)

127 128 129 130 131
2010-05-20  Juri Linkov  <juri@jurta.org>

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

132 133 134 135 136 137 138 139 140
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.

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

149 150 151 152 153 154
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.

155 156 157 158 159
2010-05-19  Juri Linkov  <juri@jurta.org>

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

160 161 162 163 164 165
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.

166 167 168 169 170
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.

171 172
2010-05-19  Michael Albinus  <michael.albinus@gmx.de>

173 174
	* password-cache.el (password-cache-remove): Fix docstring.

175 176 177 178 179 180 181 182 183
	* 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.

184 185 186 187
2010-05-19  Stefan Monnier  <monnier@iro.umontreal.ca>

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

188 189 190 191
2010-05-19  Glenn Morris  <rgm@gnu.org>

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

192 193 194
2010-05-19  Kenichi Handa  <handa@m17n.org>

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

197 198 199 200 201 202
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.

203 204 205 206 207
2010-05-18  Stefan Monnier  <monnier@iro.umontreal.ca>

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

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

217 218
2010-05-18  Stefan Monnier  <monnier@iro.umontreal.ca>

219 220 221 222 223 224
	* 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 ;-).

225 226 227 228 229 230 231 232 233
	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.

234 235
2010-05-18  Juanma Barranquero  <lekktu@gmail.com>

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

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

241 242 243 244 245 246 247 248 249
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.

250 251
2010-05-17  Jay Belanger  <jay.p.belanger@gmail.com>

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

255 256
2010-05-16  Jay Belanger  <jay.p.belanger@gmail.com>

Jay Belanger's avatar
Jay Belanger committed
257
	* calc/calc-vec.el (calc-histogram):
258
	(calcFunc-histogram): Allow vectors as inputs.
Jay Belanger's avatar
Jay Belanger committed
259 260
	(math-vector-avg): New function.

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

264 265 266 267 268
2010-05-15  Ken Raeburn  <raeburn@raeburn.org>

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

269 270
2010-05-15  Eli Zaretskii  <eliz@gnu.org>

271 272 273
	* international/mule-cmds.el (mule-menu-keymap): Fix definition of
	"Describe Language Environment" menu item.

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

276 277 278 279 280
	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.

281 282 283 284 285 286 287 288 289 290 291 292 293 294 295
	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.

296 297 298 299 300 301 302 303 304 305 306
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
307
	* calc/calc-aent.el (math-read-replacement-list): Add "micro" symbol.
308
	* calc/calc-units.el (math-unit-prefixes): Add mu for micro.
Juanma Barranquero's avatar
Juanma Barranquero committed
309
	(math-standard-units): Add units.
310

311 312
2010-05-15  Stefan Monnier  <monnier@iro.umontreal.ca>

313
	* progmodes/asm-mode.el (asm-mode):
314 315
	* progmodes/prolog.el (prolog-mode): Use define-derived-mode.

316 317 318 319
	* pcomplete.el (pcomplete-completions-at-point): New function,
	extracted from pcomplete-std-complete.
	(pcomplete-std-complete): Use it.

320 321 322 323 324
2010-05-15  Glenn Morris  <rgm@gnu.org>

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

325 326
2010-05-14  Jay Belanger  <jay.p.belanger@gmail.com>

327
	* calc/calc-bin.el (math-format-twos-complement): Group digits when
328 329
	appropriate.

330 331
2010-05-14  Stefan Monnier  <monnier@iro.umontreal.ca>

332 333 334 335 336 337 338
	* 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.

339 340 341 342
	* 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.

343 344 345 346 347 348 349 350 351
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.

352 353
2010-05-13  Chong Yidong  <cyd@stupidchicken.com>

Juanma Barranquero's avatar
Juanma Barranquero committed
354
	Add TeX open-block and close-block keybindings to SGML, and vice versa.
355 356 357 358 359 360 361

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

362 363 364
2010-05-13  Michael Albinus  <michael.albinus@gmx.de>

	* net/tramp.el (with-progress-reporter): Create reporter object
365
	only when the message would be displayed.  Handle nested calls.
366 367
	(tramp-handle-load, tramp-handle-file-local-copy)
	(tramp-handle-insert-file-contents, tramp-handle-write-region)
368 369
	(tramp-maybe-send-script, tramp-find-shell):
	Use `with-progress-reporter'.
370 371 372 373 374 375 376 377
	(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'.

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

383 384
2010-05-13  Stefan Monnier  <monnier@iro.umontreal.ca>

385 386
	* progmodes/sh-script.el (sh-mode): Use define-derived-mode.

387 388 389 390
	* dos-fns.el: Add "dos-" prefix for namespace control.
	(convert-standard-filename): Define as alias for
	dos-convert-standard-filename but only if applicable.

391 392 393 394 395
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.

396 397 398 399 400 401
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.

402 403 404 405 406
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).

407 408 409 410 411
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).

412 413
2010-05-11  Stefan Monnier  <monnier@iro.umontreal.ca>

Stefan Monnier's avatar
Stefan Monnier committed
414 415 416 417 418
	* 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.

419 420 421
	* minibuffer.el (completion-pcm--pattern->regex):
	Fix last change (bug#6160).

422 423 424 425 426 427 428 429 430 431
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.

432 433 434
2010-05-10  Michael Albinus  <michael.albinus@gmx.de>

	* net/tramp.el (tramp-do-file-attributes-with-stat): Add space in
435 436
	format string, in order to work around a bug in pdksh.
	Reported by Gilles Pion <gpion@lfdj.com>.
437 438 439 440
	(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.

441 442 443 444 445 446 447 448 449
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
450 451
2010-05-09  Michael R. Mauger  <mmaug@yahoo.com>

Juanma Barranquero's avatar
Juanma Barranquero committed
452 453 454
	* 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
455 456 457
	(sql-port, sql-port-history): New variables.
	(sql-interactive-product): New variable.
	(sql-send-terminator): New variable.
Juanma Barranquero's avatar
Juanma Barranquero committed
458
	(sql-imenu-generic-expression): Add "Types" imenu entry.
Michael Mauger's avatar
Michael Mauger committed
459 460 461 462 463 464 465
	(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
466 467 468
	(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
469 470 471 472 473 474 475 476 477 478 479
	(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
480
	(sql-mode-linter-font-lock-keywords): Update initialization to
Michael Mauger's avatar
Michael Mauger committed
481 482 483 484 485 486 487 488
	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
489
	(sql-get-login): Correct bug in handling history and added
Michael Mauger's avatar
Michael Mauger committed
490 491 492
	prompt for port.
	(sql-copy-column): Copy without properties.
	(sqli-input-sender): Apply filters to SQLi input.
Juanma Barranquero's avatar
Juanma Barranquero committed
493 494
	(sql-query-placeholders-and-send): Obey `sql-oracle-scan-on' setting.
	Implement as a filter.
Michael Mauger's avatar
Michael Mauger committed
495 496 497 498 499 500 501 502 503 504 505 506 507 508
	(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
509 510
	(sql-connect-interbase, sql-connect-db2, sql-connect-linter):
	Use `sql-connect'.
Michael Mauger's avatar
Michael Mauger committed
511

512 513 514 515 516 517 518 519 520 521 522
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.

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

552 553 554 555 556
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
557
2010-05-08  Chong Yidong  <cyd@stupidchicken.com>
558

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

Stefan Monnier's avatar
Stefan Monnier committed
562
2010-05-08  Chong Yidong  <cyd@stupidchicken.com>
563 564 565 566

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

Stefan Monnier's avatar
Stefan Monnier committed
567
2010-05-08  Eli Zaretskii  <eliz@gnu.org>
568 569 570 571

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

Juanma Barranquero's avatar
Juanma Barranquero committed
572
2010-05-08  Alexander Klimov  <alserkli@inbox.ru>  (tiny change)
573 574 575 576

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

Stefan Monnier's avatar
Stefan Monnier committed
577
2010-05-08  Juanma Barranquero  <lekktu@gmail.com>
Juanma Barranquero's avatar
Juanma Barranquero committed
578 579 580 581

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

Stefan Monnier's avatar
Stefan Monnier committed
582
2010-05-08  Andreas Schwab  <schwab@linux-m68k.org>
583 584 585

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

Stefan Monnier's avatar
Stefan Monnier committed
586
2010-05-08  Juanma Barranquero  <lekktu@gmail.com>
587 588 589 590 591 592 593 594 595 596 597 598 599 600 601 602

	* 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
603 604
	(sql-toggle-pop-to-buffer-after-send-region sql-oracle)
	(sql-sybase, sql-informix, sql-sqlite, sql-mysql, sql-solid)
605 606 607
	(sql-ingres, sql-ms, sql-postgres, sql-interbase, sql-db2, sql-linter):
	Fix typos in docstrings.

Stefan Monnier's avatar
Stefan Monnier committed
608
2010-05-08  Juri Linkov  <juri@jurta.org>
609 610 611 612

	* 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
613
2010-05-08  Juri Linkov  <juri@jurta.org>
Juri Linkov's avatar
Juri Linkov committed
614 615 616

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

Stefan Monnier's avatar
Stefan Monnier committed
617
2010-05-08  Juanma Barranquero  <lekktu@gmail.com>
618 619 620 621

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

Stefan Monnier's avatar
Stefan Monnier committed
622
2010-05-08  Kenichi Handa  <handa@m17n.org>
623 624

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

Stefan Monnier's avatar
Stefan Monnier committed
627
2010-05-08  Kenichi Handa  <handa@m17n.org>
628 629

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

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

635 636
	* files.el (copy-directory): Handle symlinks (Bug#5982).

Stefan Monnier's avatar
Stefan Monnier committed
637
2010-05-08  Dan Nicolaescu  <dann@ics.uci.edu>
638 639 640 641 642

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

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

647 648
	* minibuffer.el (completion-at-point): Doc fix.

Stefan Monnier's avatar
Stefan Monnier committed
649 650 651 652 653 654 655
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
656 657 658 659
2010-05-07  Chong Yidong  <cyd@stupidchicken.com>

	* Version 23.2 released.

Juanma Barranquero's avatar
Juanma Barranquero committed
660
2010-05-07  Deniz Dogan  <deniz.a.m.dogan@gmail.com>  (tiny change)
661
            Stefan Monnier  <monnier@iro.umontreal.ca>
662 663 664 665 666 667

	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.

668 669 670 671
2010-05-07  Eli Zaretskii  <eliz@gnu.org>

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

672 673
2010-05-07  Stefan Monnier  <monnier@iro.umontreal.ca>

674 675 676
	* textmodes/dns-mode.el (auto-mode-alist): Add entry for .zone files.
	* files.el (auto-mode-alist): Remove redundant entries.

677 678 679 680
	* 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
681
2010-05-07  Christian von Roques  <roques@mti.ag>  (tiny change)
682 683 684

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

Katsumi Yamaoka's avatar
Katsumi Yamaoka committed
685 686 687 688 689 690 691 692 693 694 695
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
696
	* net/imap.el (imap-disable-multibyte): Redefine it as a macro.
Katsumi Yamaoka's avatar
Katsumi Yamaoka committed
697

698 699
2010-05-07  Juanma Barranquero  <lekktu@gmail.com>

700 701
	* progmodes/cperl-mode.el (cperl-mode-unload-function): New function.

702 703 704 705 706 707
	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'.

708 709
2010-05-06  Michael Albinus  <michael.albinus@gmx.de>

710 711
	* net/tramp.el (top, with-progress-reporter):
	Use `symbol-function' inside `funcall'.
712 713

	* net/tramp-compat.el (tramp-compat-file-attributes)
714 715
	(tramp-compat-delete-file, tramp-compat-delete-directory):
	Handle only `wrong-number-of-arguments' error.
716 717 718 719 720

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

721 722
2010-05-06  Stefan Monnier  <monnier@iro.umontreal.ca>

723 724 725 726
	* minibuffer.el (completion--sreverse, completion--common-suffix):
	New functions.
	(completion-pcm--merge-completions): Extract common suffix when safe.

727 728 729 730
	* 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.

731 732 733 734 735 736 737 738 739 740 741 742 743
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'.

744 745 746 747 748 749 750 751 752
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)
753 754
	(ange-ftp-load, ange-ftp-compress, ange-ftp-uncompress):
	Force file deletion.
755 756 757 758 759 760 761 762 763 764 765 766 767 768 769 770 771

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

772 773
	* net/tramp-ftp.el (tramp-ftp-file-name-handler):
	Use `tramp-compat-delete-file'.
774 775 776 777 778 779 780 781 782 783 784 785

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

786 787
2010-05-05  Stefan Monnier  <monnier@iro.umontreal.ca>

Stefan Monnier's avatar
Stefan Monnier committed
788 789 790 791 792
	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.

793 794 795 796 797 798 799 800 801 802
	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.
803 804 805 806 807 808
	* 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.

809 810 811 812 813
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.

814 815 816 817 818 819 820 821 822 823 824 825 826
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).

827 828 829 830 831 832 833 834 835 836 837 838 839 840 841 842 843 844 845
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.

846 847
2010-05-02  Stefan Monnier  <monnier@iro.umontreal.ca>

848 849 850
	* simple.el (with-wrapper-hook): Move.
	(buffer-substring-filters): Mark obsolete.
	(filter-buffer-substring-functions): New variable.
Juanma Barranquero's avatar
Juanma Barranquero committed
851
	(filter-buffer-substring): Use it.  Remove unused arg `noprops'.
852

853 854 855 856 857 858 859 860 861 862 863 864 865 866 867 868 869 870 871 872 873
	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.

874 875 876 877 878 879 880 881 882 883 884 885 886 887 888 889 890 891 892 893 894 895 896 897 898 899 900 901 902 903 904 905 906 907 908 909 910 911 912 913
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.

914
2010-05-01  Toru TSUNEYOSHI  <t_tuneyosi@hotmail.com>
915
            Michael Albinus  <michael.albinus@gmx.de>
916 917 918 919 920 921 922 923

	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.
924
	(tramp-get-remote-coding, tramp-get-local-coding): Remove,
925
	replaced by `tramp-get-inline-coding'.
926 927 928
	(tramp-handle-file-local-copy, tramp-handle-write-region)
	(tramp-method-out-of-band-p): Use `tramp-get-inline-coding'.

929 930
2010-05-01  Stefan Monnier  <monnier@iro.umontreal.ca>

931 932 933
	* bindings.el (mode-line-abbrev-mode, mode-line-auto-fill-mode):
	Remove unused functions.

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

937 938 939 940 941
	* 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.

942 943
2010-04-30  Chong Yidong  <cyd@stupidchicken.com>

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

946 947 948 949 950
2010-04-30  Eli Zaretskii  <eliz@gnu.org>

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

951 952
2010-04-29  Chong Yidong  <cyd@stupidchicken.com>

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

956 957 958 959 960 961 962 963 964 965 966
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.

967 968 969 970 971
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).

972 973 974 975 976 977
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.

978 979 980 981 982 983 984 985 986 987 988 989 990 991 992 993 994 995 996
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.

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

1003 1004 1005 1006 1007 1008
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'.

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

1014 1015 1016 1017 1018 1019 1020 1021 1022 1023
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.

1024 1025
2010-04-27  Stefan Monnier  <monnier@iro.umontreal.ca>

1026 1027 1028 1029 1030 1031
	* 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).

1032 1033
	* emacs-lisp/lisp.el (lisp-complete-symbol): Fail gracefully.

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

1040 1041 1042 1043 1044 1045
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>
1046 1047 1048 1049 1050 1051

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

1052 1053 1054 1055 1056
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.

1057 1058 1059 1060 1061
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
1062 1063 1064 1065 1066 1067 1068 1069 1070 1071 1072 1073 1074 1075
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.

1076 1077 1078 1079 1080 1081 1082 1083 1084 1085 1086
	* 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.

1087 1088
2010-04-23  Stefan Monnier  <monnier@iro.umontreal.ca>

1089 1090 1091 1092 1093
	* 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.

1094 1095
	* progmodes/compile.el (compilation-start): Abbreviate default directory.

Michael Albinus's avatar
Michael Albinus committed
1096 1097 1098 1099
2010-04-23  Michael Albinus  <michael.albinus@gmx.de>

	Implement SELINUX backends.

1100 1101
	* net/tramp.el (tramp-file-name-handler-alist):
	Add `file-selinux-context' and `set-file-selinux-context'.
Michael Albinus's avatar
Michael Albinus committed
1102 1103
	(tramp-handle-file-selinux-context)
	(tramp-handle-set-file-selinux-context): New defuns.
1104 1105
	(tramp-handle-copy-file, tramp-do-copy-or-rename-file):
	Handle PRESERVE-SELINUX-CONTEXT.
Michael Albinus's avatar
Michael Albinus committed
1106

1107 1108
	* 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
1109 1110 1111 1112 1113 1114 1115
	(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):
1116 1117
	* net/tramp-smb.el (tramp-smb-handle-copy-file):
	Add PRESERVE-SELINUX-CONTEXT.
Michael Albinus's avatar
Michael Albinus committed
1118

1119 1120 1121 1122 1123 1124 1125 1126 1127 1128 1129 1130
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.

1131 1132 1133 1134 1135 1136 1137
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.

1138 1139
2010-04-22  Michael Albinus  <michael.albinus@gmx.de>

1140 1141 1142 1143
	* net/tramp.el (tramp-handle-copy-file): Add new optional
	parameter `preserve-selinux-context'.
	(tramp-file-name-for-operation): Add `set-file-selinux-context'.

1144 1145
2010-04-22  Michael Albinus  <michael.albinus@gmx.de>

1146 1147 1148
	* 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
1149 1150 1151 1152 1153 1154 1155 1156 1157 1158 1159
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.

1160 1161 1162 1163
2010-04-21  Stefan Monnier  <monnier@iro.umontreal.ca>

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

1164 1165 1166 1167 1168 1169 1170 1171 1172 1173 1174 1175 1176 1177 1178 1179 1180 1181 1182
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.

1183 1184 1185 1186 1187 1188 1189 1190
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.

1191 1192 1193 1194 1195 1196 1197 1198 1199 1200 1201 1202 1203 1204
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
1205 1206 1207 1208 1209 1210 1211 1212 1213 1214 1215 1216
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.

1217 1218
2010-04-21  Stefan Monnier  <monnier@iro.umontreal.ca>

Stefan Monnier's avatar
Stefan Monnier committed
1219 1220
	Make the log-edit comments use RFC822 format throughout.

1221 1222 1223 1224 1225 1226 1227 1228 1229 1230 1231 1232 1233 1234 1235 1236 1237 1238 1239 1240 1241 1242 1243 1244 1245 1246 1247 1248 1249 1250 1251 1252 1253 1254
	* vc.el (vc-checkin, vc-modify-change-comment):
	Adjust to new vc-start/finish-logentry.
	(vc-find-conflicted-file): New command.
	(vc-transfer-file): Adjust to new vc-checkin.
	(vc-next-action): Improve scoping.

	* vc-hg.el (vc-hg-log-edit-mode): Remove.
	(vc-hg-checkin): Remove extra arg.  Use log-edit-extract-headers.

	* vc-git.el (vc-git-log-edit-mode): Remove.
	(vc-git-checkin): Remove extra arg.  Use log-edit-extract-headers.
	(vc-git-commits-coding-system): Rename from git-commits-coding-system.

	* vc-dispatcher.el (vc-log-edit): Shorten names for log-edit-show-files.
	(vc-start-logentry): Remove argument `extra'.
	(vc-finish-logentry): Remove extra args.

	* vc-bzr.el (vc-bzr-log-edit-mode): Remove.
	(vc-bzr-checkin): Remove extra arg.  Use log-edit-extract-headers.
	(vc-bzr-conflicted-files): New function.

	* log-edit.el (log-edit-extra-flags)
	(log-edit-before-checkin-process): Remove.
	(log-edit-summary, log-edit-header, log-edit-unknown-header): New faces.
	(log-edit-headers-alist): New var.
	(log-edit-header-contents-regexp): New const.
	(log-edit-match-to-eoh): New function.
	(log-edit-font-lock-keywords): Use them.
	(log-edit): Insert a "Summary:" header as default.
	(log-edit-mode): Mark font-lock rules as case-insensitive.
	(log-edit-done): Cleanup headers.
	(log-view-process-buffer): Remove.
	(log-edit-extract-headers): New function to replace it.

1255 1256 1257 1258
2010-04-20  Juanma Barranquero  <lekktu@gmail.com>

	* subr.el (default-direction-reversed): Remove obsolescence info.

1259 1260
2010-04-20  Stefan Monnier  <monnier@iro.umontreal.ca>

1261 1262 1263
	* vc-dispatcher.el (vc-finish-logentry): Don't mess so badly with the
	windows/frames.

1264 1265 1266 1267
	* emacs-lisp/lisp.el (lisp-completion-at-point): Complete around point.
	I.e. include text after point in the completion region.
	Also, return nil when we're not after/in a symbol.

1268 1269 1270
	* international/mule-cmds.el (view-hello-file): Don't fiddle with the
	default enable-multibyte-characters.

1271 1272
2010-04-19  Stefan Monnier  <monnier@iro.umontreal.ca>

1273 1274 1275 1276 1277
	* international/mule.el: Help the user choose a valid coding-system.
	(read-buffer-file-coding-system): New function.
	(set-buffer-file-coding-system): Use it.  Prompt the user if the
	coding-system cannot encode all the chars.

1278 1279 1280 1281 1282
	* vc-bzr.el: Use standard *vc* and *vc-diff* buffers.
	(vc-bzr-shelve-show, vc-bzr-shelve-apply)
	(vc-bzr-shelve-apply-and-keep, vc-bzr-shelve-snapshot):
	Don't use *vc-bzr-shelve*.

Stefan Monnier's avatar
Stefan Monnier committed
1283
2010-04-19  Chong Yidong  <cyd@stupidchicken.com>
1284

Stefan Monnier's avatar
Stefan Monnier committed
1285 1286
	* cedet/ede/pmake.el (ede-proj-makefile-insert-variables):
	Don't destroy list before using it.
1287

Stefan Monnier's avatar
Stefan Monnier committed
1288
2010-04-19  Dan Nicolaescu  <dann@ics.uci.edu>
1289 1290 1291 1292 1293

	Fix the version number for added files.
	* vc-hg.el (vc-hg-working-revision): Check if the file is
	registered after hg parent fails (Bug#5961).

Stefan Monnier's avatar
Stefan Monnier committed
1294
2010-04-19  Glenn Morris  <rgm@gnu.org>
Glenn Morris's avatar
Glenn Morris committed
1295 1296 1297 1298

	* htmlfontify.el (htmlfontify-buffer)
	(htmlfontify-copy-and-link-dir): Autoload entry points.

Stefan Monnier's avatar
Stefan Monnier committed
1299
2010-04-19  Magnus Henoch  <magnus.henoch@gmail.com>
1300 1301 1302 1303

	* vc-hg.el (vc-hg-annotate-extract-revision-at-line): Expand file
	name relative to the project root (Bug#5960).

Stefan Monnier's avatar
Stefan Monnier committed
1304
2010-04-19  Glenn Morris  <rgm@gnu.org>
1305 1306 1307

	* vc-git.el (vc-git-print-log): Doc fix.

Stefan Monnier's avatar
Stefan Monnier committed
1308
2010-04-19  Óscar Fuentes  <ofv@wanadoo.es>
1309 1310 1311

	* ido.el (ido-file-internal): Fix 2009-12-02 change.

Stefan Monnier's avatar
Stefan Monnier committed
1312
2010-04-19  Christoph  <cschol2112@googlemail.com>  (tiny change)
1313 1314 1315 1316

	* progmodes/grep.el (grep-compute-defaults): Fix handling of host
	default settings (Bug#5928).

Stefan Monnier's avatar
Stefan Monnier committed
1317
2010-04-19  Glenn Morris  <rgm@gnu.org>
Glenn Morris's avatar
Glenn Morris committed
1318 1319 1320

	* progmodes/fortran.el (fortran-match-and-skip-declaration):
	New function.
Glenn Morris's avatar
Glenn Morris committed
1321
	(fortran-font-lock-keywords-3): Use it.  (Bug#1385)
Glenn Morris's avatar
Glenn Morris committed
1322

Stefan Monnier's avatar
Stefan Monnier committed
1323
2010-04-19  Kenichi Handa  <handa@m17n.org>
1324 1325 1326 1327 1328 1329 1330 1331 1332

	* language/indian.el (malayalam-composable-pattern): Fix previous
	change (add U+0D4D "SIGN VIRAMA").
	(oriya-composable-pattern): Add U+0B30 and fix typo in the regexp.
	(tamil-composable-pattern): Fix typo in the regexp.
	(telugu-composable-pattern): Fix U+0C4D and typo in the regexp.
	(kannada-composable-pattern): Fix U+0CB0 and typo in the regexp.
	(malayalam-composable-pattern): Fix U+0D4D and typo in the regexp.

Stefan Monnier's avatar
Stefan Monnier committed
1333
2010-04-19  Chong Yidong  <cyd@stupidchicken.com>
1334 1335 1336 1337

	* textmodes/tex-mode.el (latex-mode): Revert 2008-03-03 change to
	paragraph-separate (Bug#5821).

Stefan Monnier's avatar
Stefan Monnier committed
1338
2010-04-19  Juri Linkov  <juri@jurta.org>
1339 1340 1341 1342 1343 1344 1345 1346 1347 1348 1349 1350 1351 1352 1353 1354

	Put breadcrumbs on overlay instead of inserting to buffer (bug#5809).

	* info.el (Info-find-node-2): Comment out code that skips
	breadcrumbs line.
	(Info-mouse-follow-link): New command.
	(Info-link-keymap): New keymap.
	(Info-breadcrumbs): Rename from `Info-insert-breadcrumbs'.
	Return a string with links instead of inserting breadcrumbs
	to the Info buffer.
	(Info-fontify-node): Comment out code that inserts breadcrumbs.
	Instead of putting the `invisible' text property over the Info
	header, make an overlay over the Info header with the `invisible'
	property and `after-string' set to the string returned by
	`Info-breadcrumbs'.

Stefan Monnier's avatar
Stefan Monnier committed
1355
2010-04-19  Chong Yidong  <cyd@stupidchicken.com>
1356 1357 1358 1359

	* help.el (help-window-setup-finish): Doc fix (Bug#5830).
	Reported by monkey@sandpframing.com.

1360 1361
2010-04-19  Stefan Monnier  <monnier@iro.umontreal.ca>

1362 1363 1364 1365
	* tmm.el (tmm-prompt): Remove obsolete call to x-popup-menu.
	(tmm-get-keymap): Add key-binding shortcuts now that they're not
	available in the "keyseq cache" any more.