ChangeLog 335 KB
Newer Older
Alan Mackenzie's avatar
Alan Mackenzie committed
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 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
2009-12-03  Alan Mackenzie  <acm@muc.de>

Enhance `c-parse-state' to run efficiently in "brace desserts".

	* progmodes/cc-mode.el (c-basic-common-init): Call
	c-state-cache-init.
	(c-neutralize-syntax-in-and-mark-CPP):  Renamed from
	c-extend-and-neutralize-syntax-in-CPP.  Mark each CPP construct by
	placing `category' properties value 'c-cpp-delimiter at its
	boundaries.

	* progmodes/cc-langs.el (c-before-font-lock-function):
	c-extend-and-neutralize-syntax-in-CPP has been renamed
	c-neutralize-syntax-in-and-mark-CPP.

	* progmodes/cc-fonts.el (c-cpp-matchers): Mark template brackets
	with `category' properties now, not `syntax-table' ones.

	* progmodes/cc-engine.el (c-syntactic-end-of-macro): A new
	enhanced (but slower) version of c-end-of-macro that won't land
	inside a literal or on another awkward character.
	(c-state-cache-too-far, c-state-cache-start)
	(c-state-nonlit-pos-interval, c-state-nonlit-pos-cache)
	(c-state-nonlit-pos-cache-limit, c-state-point-min)
	(c-state-point-min-lit-type, c-state-point-min-lit-start)
	(c-state-min-scan-pos, c-state-brace-pair-desert)
	(c-state-old-cpp-beg, c-state-old-cpp-end): New constants and
	buffer local variables.
	(c-state-literal-at, c-state-lit-beg)
	(c-state-cache-non-literal-place, c-state-get-min-scan-pos)
	(c-state-mark-point-min-literal, c-state-cache-top-lparen)
	(c-state-cache-top-paren, c-state-cache-after-top-paren)
	(c-get-cache-scan-pos, c-get-fallback-scan-pos)
	(c-state-balance-parens-backwards, c-parse-state-get-strategy)
	(c-renarrow-state-cache)
	(c-append-lower-brace-pair-to-state-cache)
	(c-state-push-any-brace-pair, c-append-to-state-cache)
	(c-remove-stale-state-cache)
	(c-remove-stale-state-cache-backwards, c-state-cache-init)
	(c-invalidate-state-cache-1, c-parse-state-1)
	(c-invalidate-state-cache): New defuns/defmacros/defsubsts.
	(c-parse-state): Enhanced and refactored.
	(c-debug-parse-state): Amended to deal with all the new variables.

	* progmodes/cc-defs.el (c-<-as-paren-syntax, c-mark-<-as-paren)
	(c->-as-paren-syntax, c-mark->-as-paren, c-unmark-<->-as-paren):
	modify to use category text properties rather than syntax-table
	ones.
	(c-suppress-<->-as-parens, c-restore-<->-as-parens): new defsubsts
	to switch off/on the syntactic paren property of C++ template
	delimiters using the category property.
	(c-with-<->-as-parens-suppressed): Macro to invoke code with
	template delims suppressed.
	(c-cpp-delimiter, c-set-cpp-delimiters, c-clear-cpp-delimiters):
	New constant/macros which apply category properties to the start
	and end of preprocessor constructs.
	(c-comment-out-cpps, c-uncomment-out-cpps): defsubsts which
	"comment out" the syntactic value of characters in preprocessor
	constructs.
	(c-with-cpps-commented-out)
	(c-with-all-but-one-cpps-commented-out): Macros to invoke code
	with characters in all or all but one preprocessor constructs
	"commented out".

65 66 67 68
2009-12-03  Roland Winkler  <Roland.Winkler@physik.uni-erlangen.de>

	* proced.el (proced-filter-alist): Use regexp-quote.

Michael Albinus's avatar
Michael Albinus committed
69 70 71 72 73 74 75 76 77 78 79
2009-12-03  Michael Albinus  <michael.albinus@gmx.de>

	Cleanup.
	* eshell/em-unix.el (top): Require 'esh-opt and 'pcomplete.
	(eshell/su, eshell/sudo): Require 'tramp.  Fix problems reading
	arguments.  Expand `default-directory'.

	* net/tramp.el (tramp-handle-file-remote-p): Expand FILENAME for
	the benefit of returning an expanded localname.
	(tramp-tramp-file-p): Handle the case NAME is not a string.

80 81
2009-12-03  Dan Nicolaescu  <dann@ics.uci.edu>

82 83 84 85 86 87 88 89 90
	Add support for bzr shelve/unshelve.
	* vc-bzr.el (vc-bzr-shelve-map, vc-bzr-shelve-menu-map)
	(vc-bzr-extra-menu-map): New variables.
	(vc-bzr-extra-menu, vc-bzr-extra-status-menu, vc-bzr-shelve)
	(vc-bzr-shelve-apply, vc-bzr-shelve-list)
	(vc-bzr-shelve-get-at-point, vc-bzr-shelve-delete-at-point)
	(vc-bzr-shelve-apply-at-point, vc-bzr-shelve-menu): New functions.
	(vc-bzr-dir-extra-headers): Display shelves.

91 92
	* vc-bzr.el (vc-bzr-print-log): Deal with nil arguments better.

93 94 95 96 97 98
2009-12-03  Stefan Monnier  <monnier@iro.umontreal.ca>

	* textmodes/bibtex.el (bibtex-complete-internal):
	Use completion-in-region.
	(bibtex-text-in-field-bounds): Remove unused var `opoint'.

99 100 101 102 103 104 105 106 107 108
2009-12-03  Dan Nicolaescu  <dann@ics.uci.edu>

	Support applying stashes.  Improve UI.
	* vc-git.el (vc-git-dir-extra-headers): Add tooltips.
	(vc-git-stash-apply, vc-git-stash-pop)
	(vc-git-stash-apply-at-point, vc-git-stash-pop-at-point)
	(vc-git-stash-menu): New functions.
	(vc-git-stash-menu-map): New variable.
	(vc-git-stash-map): Add bindings to popup a menu and to apply stashes.

109 110 111 112 113 114
2009-12-03  Glenn Morris  <rgm@gnu.org>

	* vc.el (log-view-vc-backend, log-view-vc-fileset): Declare.
	(vc-print-log-internal): Fix previous change.
	(vc-revert): Correct pluralization.

Stefan Monnier's avatar
Stefan Monnier committed
115 116
2009-12-03  Stefan Monnier  <monnier@iro.umontreal.ca>

117 118 119 120
	* progmodes/make-mode.el (makefile-special-targets-list): No need for
	it to be an alist any more.
	(makefile-complete): Use completion-in-region.

121 122 123
	* progmodes/octave-mod.el (octave-complete-symbol):
	Use completion-in-region.

Stefan Monnier's avatar
Stefan Monnier committed
124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151
	Misc cleanup.
	* progmodes/idlwave.el (idlwave-comment-hook): Simplify with `or'.
	(idlwave-code-abbrev, idlwave-display-user-catalog-widget)
	(idlwave-complete-class): Don't quote lambda.
	(idlwave-find-symbol-syntax-table, idlwave-mode-syntax-table)
	(idlwave-mode-map): Move initialization into declaration.
	(idlwave-action-and-binding): Use backquotes.
	(idlwave-in-quote, idlwave-reset-sintern, idlwave-complete-in-buffer):
	Simplify.
	(idlwave-is-pointer-dereference): Remove unused var `pos'.
	(idlwave-xml-create-rinfo-list): Remove unused var `entry'.
	(idlwave-convert-xml-clean-sysvar-aliases): Remove unused vars `new',
	`parts', and `all-parts'.
	(idlwave-xml-create-sysvar-alist): Remove unused var `fields'.
	(idlwave-convert-xml-system-routine-info): Remove unused string
	`version-string'.
	(idlwave-display-user-catalog-widget): Use dolist.
	(idlwave-scanning-lib): Declare dynamically-scoped var.
	(idlwave-scan-library-catalogs): Remove unused var `flags'.
	(completion-highlight-first-word-only): Declare to silence bytecomp.
	(idlwave-popup-select): Tighten scope of `resp'.
	(idlwave-find-struct-tag): Remove unused var `beg'.
	(idlwave-after-load-rinfo-hook): Declare.
	(idlwave-sintern-class-info): Remove unused var `taglist'.
	(idlwave-find-class-definition): Remove unused var `list'.
	(idlwave-complete-sysvar-tag-help): Remove unused var `main-base'.
	(idlwave-what-module-find-class): Remove unused var `classes'.

152 153 154 155
2009-12-03  Juanma Barranquero  <lekktu@gmail.com>

	* progmodes/pascal.el: Require CL when compiling (for lexical-let).

156 157 158 159 160
2009-12-03  Stefan Monnier  <monnier@iro.umontreal.ca>

	* hippie-exp.el (try-expand-dabbrev-visible): Preserve point in the
	buffers visited.  Remove redundant current-buffer-saving.

161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185
2009-12-02  Stefan Monnier  <monnier@iro.umontreal.ca>

	Use completion-in-buffer and remove uses of dynamic scoping.
	* progmodes/pascal.el (pascal-str, pascal-all, pascal-pred)
	(pascal-buffer-to-use, pascal-flag): Don't declare.
	(pascal-func-completion, pascal-type-completion, pascal-var-completion)
	(pascal-get-completion-decl, pascal-keyword-completion):
	Add `pascal-str' argument, save-excursion,
	return the found completions, and don't filter with pascal-pred.
	(pascal-completion-cache): New var.
	(pascal-completion): Don't switch buffer any more (it was never
	necessary).  Don't save-excursion any more (it's done by the called
	subroutines).  Use a cache to avoid redundant computations.
	Use complete-with-action rather than pascal-completion-response and
	let it apply the predicate as well.
	(pascal-complete-word): Use completion-in-buffer when
	pascal-toggle-completions is nil.
	(pascal-show-completions): Don't bind pascal-buffer-to-use since it's
	not used any more.
	(pascal-comp-defun): Don't change buffer any more.
	Use complete-with-action rather than pascal-completion-response and
	let it apply the predicate as well.
	(pascal-goto-defun): Change buffer before calling pascal-comp-defun
	when neded.

186 187 188 189 190
2009-12-02  Kenichi Handa  <handa@m17n.org>

	* language/indian.el: Include ZWJ and ZWNJ in the patterns to
	shape for all Indic scripts.

Stefan Monnier's avatar
Stefan Monnier committed
191 192 193 194 195 196 197 198 199
2009-12-02  Stefan Monnier  <monnier@iro.umontreal.ca>

	Use completion-in-buffer.
	* wid-edit.el (widget-field-text-end): New function.
	(widget-field-value-get): Use it.
	(widget-string-complete, widget-file-complete)
	(widget-color-complete): Use it and completion-in-region.
	(widget-complete): Don't narrow the buffer.

200 201
2009-12-02  Glenn Morris  <rgm@gnu.org>

202 203
	* mail/rmail.el (rmail-pop-to-buffer): New function.  (Bug#2282)
	(rmail-select-summary): Use rmail-pop-to-buffer.
204 205
	* mail/rmailsum.el: Replace all pop-to-buffer calls with
	rmail-pop-to-buffer, to prevent horizontal splits.
206

207 208 209 210 211
	* calendar/diary-lib.el (diary-list-entries): Replace superfluous
	save-excursion with save-current-buffer.
	Widen before searching.  (Bug#5093)
	(diary-list-sexp-entries): Remove superfluous save-excursion.

212 213 214 215 216
2009-12-02  Michael Welsh Duggan  <mwd@cert.org>

	* woman.el (woman-make-bufname): Handle man-pages with "." in the
	name.  (Bug#5038)

217 218 219 220 221
2009-12-02  Andreas Politz  <politza@fh-trier.de>  (tiny change)

	* ido.el (ido-file-internal): Handle filenames at point that do
	not have a directory part.  (Bug#5049)

222 223 224 225 226
2009-12-02  Juanma Barranquero  <lekktu@gmail.com>

	* mpc.el (mpc-intersection, mpc-host, mpc-songs-playlist)
	(mpc-songs-jump-to, mpc-resume): Doc fixes.

227 228 229 230 231 232
2009-12-01  Rob Riepel  <riepel@networking.Stanford.EDU>

	* emulation/tpu-extras.el (tpu-cursor-free-mode): Emit message.
	(tpu-set-cursor-free, tpu-set-cursor-bound): Don't emit a message
	any more.

233 234
2009-12-01  Stefan Monnier  <monnier@iro.umontreal.ca>

235 236 237
	* comint.el (comint-insert-input): Ignore clicks to the right of
	the field.  Reported by Bob Nnamtrop <bobnnamtrop@gmail.com>.

238
	* vc.el (vc-print-log-internal): Don't wait for the process to
239 240
	terminate before setting up the major mode.

241 242 243
	* pcmpl-unix.el (pcomplete/cd): Complete more than one argument, just
	in case.

244 245 246
	* pcomplete.el (pcomplete-std-complete): Don't try to complete past
	the last element.

247 248
	* simple.el (normal-erase-is-backspace-mode): Fix thinko in message.

249 250 251 252
2009-12-01  Glenn Morris  <rgm@gnu.org>

	* window.el (window--display-buffer-2): Fix previous changes.

253 254 255 256
2009-12-01  Chong Yidong  <cyd@stupidchicken.com>

	* mail/sendmail.el (mail-setup-hook, mail-send-hook): Doc fixes.

Glenn Morris's avatar
Glenn Morris committed
257 258 259 260
2009-12-01  Glenn Morris  <rgm@gnu.org>

	* Makefile.in (ELCFILES): Add mpc.elc.

Stefan Monnier's avatar
Stefan Monnier committed
261 262 263 264
2009-12-01  Stefan Monnier  <monnier@iro.umontreal.ca>

	* mpc.el: New file.

Glenn Morris's avatar
Glenn Morris committed
265 266
2009-12-01  Glenn Morris  <rgm@gnu.org>

267 268
	* window.el (window-to-use): Define for compiler.

269 270 271
	* emacs-lisp/bytecomp.el (byte-compile-save-excursion): Make message
	consistent with others (no final period).

Glenn Morris's avatar
Glenn Morris committed
272 273 274
	* mail/rmailmm.el (rmail-mime-handle): Doc fix.
	(rmail-mime-show): Downcase the encoding.  (Bug#5070)

275 276 277
2009-12-01  Dan Nicolaescu  <dann@ics.uci.edu>

	Make vc-print-log buttons work.
278
	* log-view.el (log-view-mode-map): Inherit from from widget-keymap.
279

280 281 282 283 284
2009-11-30  Ryan C. Thompson  <rct@thompsonclan.org>  (tiny change)

	* savehist.el (savehist-autosave-interval): Allow setting to nil
	through customize.  (Bug#5056)

285 286 287 288 289 290 291 292
2009-11-30  Juanma Barranquero  <lekktu@gmail.com>

	Fix references to jit-lock properties.
	* progmodes/perl-mode.el (perl-font-lock-syntactic-keywords):
	Refer to jit-lock-defer-multiline, not jit-lock-multiline.
	(perl-font-lock-special-syntactic-constructs):
	Quote jit-lock-defer-multiline property.

293 294 295 296
2009-11-30  Dan Nicolaescu  <dann@ics.uci.edu>

	* vc-git.el (vc-git-registered): Call vc-git-root only once.

297 298 299 300 301 302 303 304
2009-11-30  Juri Linkov  <juri@jurta.org>

	* misearch.el (multi-isearch-search-fun): Always provide a non-nil
	value `buffer' of `multi-isearch-next-buffer-current-function'.
	Use `(current-buffer)' when `buffer' is nil.
	(multi-isearch-next-buffer-from-list): Don't fallback to
	`(current-buffer)' when `buffer' is nil.  (Bug#4947)

305 306 307 308 309 310 311 312 313 314
2009-11-30  Juri Linkov  <juri@jurta.org>

	* misearch.el (multi-isearch-read-buffers): Move canonicalization
	of buffers with `get-buffer' to `multi-isearch-buffers'.
	(multi-isearch-buffers, multi-isearch-buffers-regexp):
	Canonicalize BUFFERS with `get-buffer'.  Doc fix.
	(multi-isearch-files, multi-isearch-files-regexp): Canonicalize
	FILES with `expand-file-name' converting relative file names
	to absolute.  Doc fix.  (Bug#4727)

Juri Linkov's avatar
Juri Linkov committed
315 316 317 318 319 320 321 322 323 324 325
2009-11-30  Juri Linkov  <juri@jurta.org>

	* misearch.el (multi-isearch-read-buffers)
	(multi-isearch-read-matching-buffers): New functions.
	(multi-isearch-buffers, multi-isearch-buffers-regexp):
	Use them in the `interactive' spec.  Doc fix.
	(multi-isearch-read-files, multi-isearch-read-matching-files):
	New functions.
	(multi-isearch-files, multi-isearch-files-regexp):
	Use them in the `interactive' spec.  Doc fix.  (Bug#4725)

Juri Linkov's avatar
Juri Linkov committed
326 327 328 329 330 331 332 333 334 335 336 337 338
2009-11-30  Juri Linkov  <juri@jurta.org>

	* doc-view.el (doc-view-continuous):
	Rename from `doc-view-continuous-mode'.
	(doc-view-menu): Move "Toggle display" to the top.
	Add submenu "Continuous" with radio buttons "Off"/"On"
	and "Save as Default".
	(doc-view-scroll-up-or-next-page)
	(doc-view-scroll-down-or-previous-page)
	(doc-view-next-line-or-next-page)
	(doc-view-previous-line-or-previous-page): Rename
	`doc-view-continuous-mode' to `doc-view-continuous'.  (Bug#4896)

339 340 341 342 343 344 345 346 347
2009-11-30  Juri Linkov  <juri@jurta.org>

	* comint.el (comint-mode-map): Rebind `M-r' from
	`comint-previous-matching-input' to
	`comint-history-isearch-backward-regexp'.
	Unbind `M-s' to allow global key binding `M-s'.
	Add menu items for `comint-history-isearch-backward' and
	`comint-history-isearch-backward-regexp'.  (Bug#3746)

348 349 350 351 352 353 354 355
2009-11-30  Juri Linkov  <juri@jurta.org>

	* replace.el (perform-replace): Let-bind recenter-last-op to nil.
	For def=recenter, replace `recenter' with `recenter-top-bottom'
	that is called with `this-command' and `last-command' let-bound
	to `recenter-top-bottom'.  When the last `def' was not `recenter',
	set `recenter-last-op' to nil.  (Bug#4981)

356 357
2009-11-30  Stefan Monnier  <monnier@iro.umontreal.ca>

358 359 360 361 362 363 364 365 366
	Minor cleanup and simplification.
	* filecache.el (file-cache-add-directory)
	(file-cache-add-directory-recursively)
	(file-cache-add-from-file-cache-buffer)
	(file-cache-delete-file-regexp, file-cache-delete-directory)
	(file-cache-files-matching-internal, file-cache-display): Use dolist.
	(file-cache-temp-minibuffer-message): Delete function.
	(file-cache-minibuffer-complete): Use minibuffer-message instead.

367 368 369
	* progmodes/perl-mode.el (perl-font-lock-special-syntactic-constructs):
	Don't signal an error when bumping into EOB in tr, s, or y.

370 371 372 373 374 375 376 377
2009-11-29  Juri Linkov  <juri@jurta.org>

	* startup.el (fancy-about-text): Fix wording of Guided Tour.
	(Bug#4960)

	* descr-text.el (describe-char-unidata-list): Use lowercase name
	for "Unicode name" like in other tags.

378 379 380 381
2009-11-29  Juri Linkov  <juri@jurta.org>

	* ediff-util.el (ediff-minibuffer-with-setup-hook):
	New compatibility macro.
382
	(ediff-read-file-name): Use it instead of `minibuffer-with-setup-hook'.
383

384 385 386 387 388 389 390 391 392 393
2009-11-29  Juri Linkov  <juri@jurta.org>

	Add defcustom to define the cycling order of `recenter-top-bottom'.
	(Bug#4981)

	* window.el (recenter-last-op): Doc fix.
	(recenter-positions): New defcustom.
	(recenter-top-bottom): Rewrite to use `recenter-positions'.
	(move-to-window-line-top-bottom): Rewrite to use `recenter-positions'.

394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416
2009-11-29  Michael Albinus  <michael.albinus@gmx.de>

	Improve integration of Tramp and ange-ftp in eshell.

	* eshell/em-unix (eshell/whoami): Make it a defun but a defalias.
	(eshell/su): Flatten args.  Apply better args parsing.  Use "cd".
	(eshell/sudo): Flatten args.  Let-bind `default-directory'.

	* eshell/esh-util.el (top): Require also Tramp when compiling.
	(eshell-directory-files-and-attributes): Check for FTP remote
	connection.
	(eshell-parse-ange-ls): Let-bind `ange-ftp-name-format',
	`ange-ftp-ftp-name-arg', `ange-ftp-ftp-name-res'.
	(eshell-file-attributes): Handle ".".  Return `entry'.

	* net/ange-ftp.el (ange-ftp-parse-filename): Use `save-match-data'.
	(ange-ftp-directory-files-and-attributes)
	(ange-ftp-real-directory-files-and-attributes): New defuns.

	* net/tramp.el (tramp-maybe-open-connection): Open the remote
	shell with "exec" when possible.  This prevents trailing prompts
	in `start-file-process'.

417 418
2009-11-28  Stefan Monnier  <monnier@iro.umontreal.ca>

419 420 421 422 423 424 425 426 427
	Try and remove assumptions about point-min==1.
	* nxml/rng-valid.el (rng-validate-mode): Don't hardcode point-min==1.
	(rng-compute-mode-line-string): Show the validation percentage in
	terms of the narrowed text, not the widened text.
	(rng-do-some-validation): Don't catch internal errors when debugging.
	(rng-first-error): Simplify.
	(rng-after-change-function): Remove work around.  AFAIK the bug has
	been fixed a while ago.

428 429 430
	* image-mode.el (image-minor-mode): Exit more gracefully when the image
	cannot be displayed (e.g. when doing C-x C-f some-new-file.svg RET).

431 432
	* man.el (Man-completion-table): Make it easier to enter "<sec> <name>".

433 434 435 436 437 438
	* eshell/em-prompt.el (eshell-prompt-function): Abbreviate pwd, since
	`cd' doesn't always do it for us (bug#5067).

	* pcomplete.el (pcomplete-entries): Revert change installed mistakenly
	on 2009-10-25 as part of some other change (bug#5067).

439 440
2009-11-27  Stefan Monnier  <monnier@iro.umontreal.ca>

441 442 443 444 445 446
	* emacs-lisp/bytecomp.el (byte-compile-warning-types): New type
	`suspicious'.
	(byte-compile-warnings): Use byte-compile-warning-types.
	(byte-compile-save-excursion): Warn about use of set-buffer right
	after save-excursion.

447 448 449
	* progmodes/gud.el (gud-basic-call): Don't only save the buffer but
	the excursion as well.

450 451 452 453 454 455
2009-11-27  Michael Albinus  <michael.albinus@gmx.de>

	* eshell/em-unix.el (eshell/su, eshell/sudo): New defuns,
	providing a Tramp related implementation of "su" and "sudo".
	(eshell-unix-initialize): Add "su" and "sudo".

456 457 458 459 460 461
2009-11-27  Daiki Ueno  <ueno@unixuser.org>

	* net/socks.el (socks-send-command): Convert binary request to
	unibyte before sending.  This fixes mishandling of some port
	numbers such as 129.

462 463
2009-11-27  Stefan Monnier  <monnier@iro.umontreal.ca>

464 465
	* help.el (describe-bindings-internal): Remove `interactive'.

466 467 468
	* man.el (Man-completion-table): Trim a terminating "(".
	Remove the space between name page a section.
	Add the command's description on the `help-echo' property.
469 470
	Remove `process-connection-type' binding since it's unused by
	call-process.
471 472 473
	Provide completion for the "<section> <name>" format as well.
	(Man-default-man-entry): Remove spurious var shadowing the argument.

474 475 476 477 478
2009-11-26  Kevin Ryde  <user42@zip.com.au>

	* log-view.el: Add "Keywords: tools", since its other keywords
	aren't in finder-known-keywords, and following vc.el.

479 480 481 482
	* sha1.el (sha1-string-external): default-directory "/" in case
	otherwise non-existent.  process-connection-type pipe for touch of
	efficiency recommended by elisp manual.  (An aside in Bug#3911.)

483 484 485 486 487 488 489 490 491 492 493 494 495 496 497 498 499 500 501 502 503
2009-11-26  Stefan Monnier  <monnier@iro.umontreal.ca>

	Misc coding convention cleanups.
	* htmlfontify.el (hfy-init-kludge-hook): Rename from
	hfy-init-kludge-hooks.
	(hfy-etags-cmd, hfy-flatten-style, hfy-invisible-name, hfy-face-at)
	(hfy-fontify-buffer, hfy-prepare-index-i, hfy-subtract-maps)
	(hfy-save-kill-buffers, htmlfontify-copy-and-link-dir): Use dolist
	and push.
	(hfy-slant, hfy-weight): Use tables rather than code.
	(hfy-box-to-border-assoc, hfy-box-to-style, hfy-decor)
	(hfy-face-to-style-i, hfy-fontify-buffer): Use `case'.
	(hfy-face-attr-for-class): Initialize `face-spec' directly.
	(hfy-face-to-css): Remove `nconc' with single arg.
	(hfy-p-to-face-lennart): Use `or'.
	(hfy-face-at): Hoist common code.  Remove spurious quotes in `case'.
	(hfy-overlay-props-at, hfy-mark-tag-hrefs): Eta-reduce.
	(hfy-compile-stylesheet, hfy-merge-adjacent-spans)
	(hfy-compile-face-map, hfy-parse-tags-buffer): Use push.
	(hfy-force-fontification): Use run-hooks.

Stefan Monnier's avatar
Stefan Monnier committed
504 505 506 507 508 509 510 511 512 513
2009-11-26  Vivek Dasmohapatra  <vivek@etla.org>

	Various minor fixes.
	* htmlfontify.el (hfy-default-header): Add toggle_invis since
	Javascript belongs in the header, not the body.
	(hfy-javascript): Remove.
	(hfy-fontify-buffer): Don't insert it any more.
	(hfy-face-at): Handle (face0 face1 face2) style face properties.
	Fix bug in invis handling when there were no invis props in a chunk.

514 515 516 517
2009-11-26  Stefan Monnier  <monnier@iro.umontreal.ca>

	* vc-bzr.el (vc-bzr-annotate-command): Make operation asynchronous.

518 519 520 521
2009-11-26  Dan Nicolaescu  <dann@ics.uci.edu>

	* finder.el (finder-mode-map): Add a menu.

522 523 524 525 526 527 528 529 530 531 532
2009-11-26  Michael McNamara  <mac@mail.brushroad.com>

	* verilog-mode.el (verilog-at-struct-p): Support "signed" and
	"unsigned" structs.

	(verilog-leap-to-head, verilog-backward-token): Handle "disable
	fork" statement better.

2009-11-26  Wilson Snyder  <wsnyder@wsnyder.org>

	* verilog-mode.el (verilog-auto-insert-lisp, verilog-delete-auto)
533 534
	(verilog-delete-empty-auto-pair, verilog-library-filenames):
	Fix AUTOINSERTLISP to support insert-file.  Reported by Clay Douglass.
535 536

	(verilog-auto-inst, verilog-auto-star-safe)
537 538
	(verilog-delete-auto-star-implicit, verilog-read-sub-decls):
	Fix removing "// Interfaces" when saving .* expansions.  Reported by
539 540
	Pierre-David Pfister.

541 542
2009-11-26  Glenn Morris  <rgm@gnu.org>

543 544
	* eshell/em-dirs.el (eshell/cd): Don't throw to a tag outside
	the scope.
545

546 547 548 549 550
2009-11-25  Johan Bockgård  <bojohan@gnu.org>

	* vc-annotate.el (vc-annotate-revision-previous-to-line):
	Really use previous revision.

551 552 553 554 555
2009-11-25  Kevin Ryde  <user42@zip.com.au>

	* man.el (Man-completion-table): default-directory "/" in case
	doesn't otherwise exist.  process-environment COLUMNS=999 so as
	not to truncate long names.  process-connection-type pipe to avoid
556 557 558 559
	any chance of hitting the pseudo-tty TIOCGWINSZ.
	(man): completion-ignore-case t for friendliness and since man
	itself is case-insensitive on the command line.
	Further to Bug#3717.
560

561 562
	* arc-mode.el: Add "Keywords: files", so the details in its
	commentary can be reached from finder-by-keyword.
563 564 565
	* textmodes/dns-mode.el: Add "Keywords: comm".  It's only an
	editing mode, but it's comms related and sgml-mode.el has "comm"
	on that basis too.
566
	* textmodes/bibtex-style.el: Add "Keywords: tex".
Glenn Morris's avatar
Glenn Morris committed
567 568
	* international/isearch-x.el, international/ja-dic-cnv.el:
	* international/ja-dic-utl.el, international/kkc.el:
569
	Add "Keywords: i18n", so they can be reached from finder-by-keyword.
570

571 572 573 574 575
2009-11-25  Juri Linkov  <juri@jurta.org>

	* man.el (Man-completion-table): Modify regexp to include
	section names to completion strings.  (Bug#3717)

576 577 578 579 580 581 582 583 584 585 586 587 588 589 590 591
2009-11-25  Juri Linkov  <juri@jurta.org>

	Search recursively in gzipped files.  (Bug#4982)

	* progmodes/grep.el (grep-highlight-matches): Add new options
	`always' and `auto'.  Doc fix.
	(grep-process-setup): Check `grep-highlight-matches' for
	`auto-detect' to determine the need to compute grep defaults.
	Move Windows/DOS specific --colors settings handling
	to `grep-compute-defaults'.  Check `grep-highlight-matches'
	to get the value of "--color=".
	(grep-compute-defaults): Compute `grep-highlight-matches' when it
	has the value `auto-detect'.  Move Windows/DOS specific settings
	from `grep-process-setup'.
	(zrgrep): New command with alias `rzgrep'.

592 593 594 595 596
2009-11-25  Juri Linkov  <juri@jurta.org>

	* doc-view.el (doc-view-mode): Set buffer-local `view-read-only'
	to nil instead of switching off view-mode.  (Bug#4896)

597 598 599 600 601 602 603 604 605 606 607 608 609 610 611 612 613 614 615 616 617 618 619 620
2009-11-25  Juri Linkov  <juri@jurta.org>

	Mouse-wheel scrolling for DocView Continuous mode.  (Bug#4896)

	* mwheel.el (mwheel-scroll-up-function)
	(mwheel-scroll-down-function): New defvars.
	(mwheel-scroll): Funcall `mwheel-scroll-up-function' instead of
	`scroll-up', and `mwheel-scroll-down-function' instead of
	`scroll-down'.

	* doc-view.el (doc-view-scroll-up-or-next-page)
	(doc-view-scroll-down-or-previous-page): Add optional ARG.
	Use this ARG in the call to image-scroll-up/image-scroll-down.
	Change `interactive' spec to "P".  Goto next/previous page only
	when `doc-view-continuous-mode' is non-nil or ARG is nil (for the
	SPC/DEL case).  Doc fix.
	(doc-view-next-line-or-next-page)
	(doc-view-previous-line-or-previous-page): Rename arg to ARG
	for consistency.
	(doc-view-mode): Set buffer-local `mwheel-scroll-up-function' to
	`doc-view-scroll-up-or-next-page', and buffer-local
	`mwheel-scroll-down-function' to
	`doc-view-scroll-down-or-previous-page'.

621 622 623 624 625 626 627 628 629 630 631 632 633 634 635 636 637
2009-11-25  Juri Linkov  <juri@jurta.org>

	Provide additional default values (directories at other Dired
	windows) via M-n in the minibuffer of some Dired commands.

	* dired-aux.el (dired-diff, dired-compare-directories)
	(dired-do-create-files): Use `dired-dwim-target-defaults' to set
	`minibuffer-default' in `minibuffer-with-setup-hook'.
	(dired-dwim-target-directory): Find a window that displays Dired
	buffer instead of failing when the next window is not Dired.
	Use `get-window-with-predicate' to find for the next Dired window.
	(dired-dwim-target-defaults): New function.

	* ediff-util.el (ediff-read-file-name):
	Use `dired-dwim-target-defaults' to set `minibuffer-default'
	in `minibuffer-with-setup-hook'.

638 639 640 641 642 643 644 645 646 647 648 649 650 651 652 653 654 655 656 657 658 659 660 661 662 663 664 665 666
2009-11-25  Juri Linkov  <juri@jurta.org>

	Provide additional default values (file name at point or at the
	current Dired line) via M-n for file reading minibuffers.  (Bug#5010)

	* minibuffer.el (read-file-name-defaults): New function.
	(read-file-name): Reset `minibuffer-default' to nil when
	it duplicates initial input `insdef'.
	Bind `minibuffer-default-add-function' to lambda that
	calls `read-file-name-defaults' in `minibuffer-selected-window'.
	(minibuffer-insert-file-name-at-point): New command.

	* files.el (file-name-at-point-functions): New defcustom.
	(find-file-default): Remove defvar.
	(find-file-read-args): Don't use `find-file-default'.
	Move `minibuffer-with-setup-hook' that sets `minibuffer-default'
	to `read-file-name'.
	(find-file-literally): Use `read-file-name' with
	`confirm-nonexistent-file-or-buffer'.

	* ffap.el (ffap-guess-file-name-at-point): New autoloaded function.

	* dired.el (dired-read-dir-and-switches):
	Move `minibuffer-with-setup-hook' that sets `minibuffer-default'
	to `read-file-name'.
	(dired-file-name-at-point): New function.
	(dired-mode): Add hook `dired-file-name-at-point' to
	`file-name-at-point-functions'.

667 668 669 670 671 672 673
2009-11-25  Stefan Monnier  <monnier@iro.umontreal.ca>

	Really make the *Completions* window soft-dedicated (bug#5030).
	* window.el (window--display-buffer-2): Add `dedicated' argument.
	(display-buffer): Pass it when needed so the dedicated flag is set
	after calling set-window-buffer, which would otherwise reset it.

674 675
2009-11-25  Stefan Monnier  <monnier@iro.umontreal.ca>

676 677
	* progmodes/meta-mode.el (meta-complete-symbol):
	* progmodes/etags.el (complete-tag):
678 679 680
	* mail/mailabbrev.el (mail-abbrev-complete-alias):
	Use completion-in-region.

681 682 683 684
	* dabbrev.el (dabbrev--minibuffer-origin): Use minibuffer-selected-window.
	(dabbrev-completion): Use completion-in-region.
	(dabbrev--abbrev-at-point): Simplify regexp.

685 686 687
	* abbrev.el (abbrev--before-point): Use word-motion functions
	if :regexp is not specified (bug#5031).

688 689
	* subr.el (string-prefix-p): New function.

690 691 692
	* man.el (Man-completion-cache): New var.
	(Man-completion-table): Use it.

693 694 695
	* vc.el (vc-print-log-internal): Make `limit' optional for better
	compatibility (e.g. with vc-annotate.el).

696 697
2009-11-24  Kevin Ryde  <user42@zip.com.au>

698 699
	* emacs-lisp/checkdoc.el (checkdoc-proper-noun-regexp):
	Build value with regexp-opt instead of explicit joining loop.  (My
700 701
	Bug#4927.)

702 703 704
	* emacs-lisp/elint.el (elint-add-required-env): Better error message
	when .el source file not found or other error.

705 706 707 708
2009-11-24  Markus Triska  <markus.triska@gmx.at>

	* linum.el (linum-update-window): Ignore intangible (bug#4996).

709 710
2009-11-24  Stefan Monnier  <monnier@iro.umontreal.ca>

711 712 713 714 715 716 717 718
	Handle the [back] button properly (bug#4979).
	* descr-text.el (describe-text-properties): Add a `buffer' argument.
	Use help-setup-xref, help-buffer, and with-help-window.
	(describe-char): Add `buffer' argument.
	Pass proper command to help-setup-xref.  Don't meddle with
	help-xref-stack-item directly.
	(describe-text-category): Use with-help-window and help-buffer.

719 720 721
	* emacs-lisp/shadow.el (list-load-path-shadows): Setup a major mode
	for the displayed buffer (bug#4887).

722 723 724
	* man.el (Man-completion-table): New function.
	(man): Use it.

725 726
2009-11-24  David Reitter  <david.reitter@gmail.com>

727
	* vc-git.el (vc-git-registered): Use checkout directory (where
728 729 730
	.git is) rather than the file's directory and a relative path spec
	to work around a bug in git.

731 732 733 734 735 736 737 738
2009-11-24  Michael Albinus  <michael.albinus@gmx.de>

	Improve handling of processes on remote hosts.

	* eshell/esh-util.el (eshell-path-env): New defvar.
	(eshell-parse-colon-path): New defun.
	(eshell-file-attributes): Use `eshell-parse-colon-path'.

739 740
	* eshell/esh-ext.el (eshell-search-path):
	Use `eshell-parse-colon-path'.
741 742 743
	(eshell-remote-command): Remove argument HANDLER.
	(eshell-external-command): Check for FTP remote connection.

744 745 746 747
	* eshell/esh-proc.el (eshell-gather-process-output):
	Use `file-truename', in order to start also symlinked files.
	Apply `start-file-process' instead of `start-process'.
	Shorten `command' to the local file name part.
748

749 750
	* eshell/em-cmpl.el (eshell-complete-commands-list):
	Use `eshell-parse-colon-path'.
751 752 753 754 755 756

	* eshell/em-unix.el (eshell/du): Check for FTP remote connection.

	* net/tramp.el (tramp-eshell-directory-change): New defun.  Add it
	to `eshell-directory-change-hook'.

757 758 759
2009-11-24  Tassilo Horn  <tassilo@member.fsf.org>

	* doc-view.el (doc-view-mode): Switch off view-mode explicitly,
760
	because it could be enabled automatically if view-read-only is non-nil.
761

762
2009-11-24  Michael Kifer  <kifer@cs.stonybrook.edu>
763

764 765
	* ediff-vers.el (ediff-rcs-get-output-buffer): Revert the change
	made on 2009-11-22.
766

767 768 769 770 771
2009-11-24  Glenn Morris  <rgm@gnu.org>

	* bookmark.el (bookmark-bmenu-hide-filenames): Remove assignment to
	deleted variable bookmark-bmenu-bookmark-column.

772 773 774
	* cedet/semantic/idle.el (global-semantic-idle-scheduler-mode):
	Move after definition of global-semantic-idle-tag-highlight-mode.

775 776 777 778
2009-11-24  Stefan Monnier  <monnier@iro.umontreal.ca>

	* bookmark.el (bookmark-bmenu-search): Clear echo area when exiting.

779 780 781 782 783 784 785 786
2009-11-23  Ken Brown  <kbrown@cornell.edu>  (tiny change)

	* net/browse-url.el (browse-url-filename-alist): On Windows, add
	two slashes to the "file:" prefix.
	(browse-url-file-url): De-munge Cygwin filenames before passing
	them to Windows browser.
	(browse-url-default-windows-browser): Use call-process.

787 788 789 790
2009-11-23  Juri Linkov  <juri@jurta.org>

	Implement DocView Continuous mode.  (Bug#4896)
	* doc-view.el (doc-view-continuous-mode): New defcustom.
791 792 793
	(doc-view-mode-map): Bind C-n/<down> to
	`doc-view-next-line-or-next-page', C-p/<up> to
	`doc-view-previous-line-or-previous-page'.
794 795 796
	(doc-view-next-line-or-next-page)
	(doc-view-previous-line-or-previous-page): New commands.

797 798 799 800 801 802 803 804 805 806 807 808 809 810 811
2009-11-23  Juri Linkov  <juri@jurta.org>

	Implement Isearch in comint input history.  (Bug#3746)
	* comint.el (comint-mode): Add `comint-history-isearch-setup' to
	`isearch-mode-hook'.
	(comint-history-isearch): New defcustom.
	(comint-history-isearch-backward)
	(comint-history-isearch-backward-regexp): New commands.
	(comint-history-isearch-message-overlay): New buffer-local variable.
	(comint-history-isearch-setup, comint-history-isearch-end)
	(comint-goto-input, comint-history-isearch-search)
	(comint-history-isearch-message, comint-history-isearch-wrap)
	(comint-history-isearch-push-state)
	(comint-history-isearch-pop-state): New functions.

812 813 814 815 816 817 818 819 820 821
2009-11-23  Michael Albinus  <michael.albinus@gmx.de>

	* net/tramp.el (tramp-shell-prompt-pattern): Use \r for carriage
	return.
	(tramp-handle-make-symbolic-link)
	(tramp-handle-dired-compress-file, tramp-handle-expand-file-name):
	Quote file names.
	(tramp-send-command-and-check): New argument DONT-SUPPRESS-ERR.
	(tramp-handle-process-file): Use it.

822 823 824 825 826
2009-11-23  Stefan Monnier  <monnier@iro.umontreal.ca>

	* window.el (move-to-window-line-last-op): Remove.
	(move-to-window-line-top-bottom): Reuse recenter-last-op instead.

827 828
2009-11-23  Deniz Dogan  <deniz.a.m.dogan@gmail.com>  (tiny change)

829
	Make M-r mirror the new cycling behavior of C-l.
830 831 832 833
	* window.el (move-to-window-line-last-op): New var.
	(move-to-window-line-top-bottom): New command.
	(global-map): Bind M-r move-to-window-line-top-bottom.

834 835 836 837 838
2009-11-23  Sven Joachim  <svenjoac@gmx.de>

	* dired-x.el (dired-guess-shell-alist-default):
	Support xz format.  (Bug#4953)

839 840
2009-11-22  Chong Yidong  <cyd@stupidchicken.com>

841 842 843 844 845 846 847 848 849 850 851 852 853 854 855 856 857 858 859 860 861 862 863 864 865 866 867 868 869 870 871 872 873 874 875 876 877 878 879 880 881 882 883 884 885
	* cedet/srecode/map.el (srecode-get-maps):
	* cedet/semantic/wisent/wisent.el (wisent-parse-toggle-verbose-flag):
	* cedet/semantic/wisent/comp.el (wisent-toggle-verbose-flag):
	* cedet/semantic/decorate/mode.el (semantic-decoration-mode)
	(semantic-toggle-decoration-style):
	* cedet/semantic/decorate/include.el
	(semantic-decoration-include-describe)
	(semantic-decoration-unknown-include-describe)
	(semantic-decoration-unparsed-include-describe)
	(semantic-decoration-all-include-summary):
	* cedet/semantic/bovine/c.el (semantic-c-debug-mode-init):
	* cedet/semantic/analyze/complete.el
	(semantic-analyze-possible-completions):
	* cedet/semantic/util-modes.el (semantic-highlight-edits-mode)
	(semantic-show-unmatched-syntax-mode)
	(semantic-show-parser-state-mode, semantic-stickyfunc-mode)
	(semantic-highlight-func-mode):
	* cedet/semantic/util.el (semantic-describe-buffer):
	* cedet/semantic/symref.el (semantic-symref-find-references-by-name)
	(semantic-symref-find-tags-by-name)
	(semantic-symref-find-tags-by-regexp)
	(semantic-symref-find-tags-by-completion)
	(semantic-symref-find-file-references-by-name)
	(semantic-symref-find-text):
	* cedet/semantic/senator.el (senator-copy-tag, senator-kill-tag)
	(senator-yank-tag):
	* cedet/semantic/scope.el (semantic-calculate-scope):
	* cedet/semantic/mru-bookmark.el (semantic-mru-bookmark-mode):
	* cedet/semantic/idle.el (semantic-idle-scheduler-mode)
	(define-semantic-idle-service):
	* cedet/semantic/complete.el (semantic-complete-analyze-inline)
	(semantic-complete-analyze-inline-idle):
	* cedet/semantic/analyze.el (semantic-analyze-current-context):
	* cedet/mode-local.el (describe-mode-local-bindings)
	(describe-mode-local-bindings-in-mode):
	* cedet/ede/make.el (ede-make-check-version):
	* cedet/ede/locate.el (ede-enable-locate-on-project):
	* cedet/cedet-idutils.el (cedet-idutils-expand-filename)
	(cedet-idutils-version-check):
	* cedet/cedet-global.el (cedet-gnu-global-expand-filename)
	(cedet-gnu-global-version-check):
	* cedet/cedet-cscope.el (cedet-cscope-expand-filename)
	(cedet-cscope-version-check): Use called-interactively-p instead
	of interactive-p.

886 887 888
	* cedet/semantic/ia.el (semantic-ia-completion-format-tag-function):
	Use semantic-format-tag-prototype.

889 890 891 892 893 894 895
2009-11-22  Michael Kifer  <kifer@cs.stonybrook.edu>

	* emulation/viper-cmd.el: Use viper-last-command-char instead of
	last-command-char/last-command-event.
	(viper-prefix-arg-value): Do correct conversion of event-char for
	XEmacs.

896 897 898
	* emulation/viper-util.el, emulation/viper.el:
	Use viper-last-command-char instead of
	last-command-char/last-command-event.
899

900 901 902
	* ediff-init.el, ediff-mult.el, ediff-util.el:
	Replace last-command-char and last-command-event
	with (ediff-last-command-char) everywhere.
903 904 905 906 907 908 909

	* ediff-vers.el (ediff-rcs-get-output-buffer): Make sure the buffer is
	created in fundamental mode.

	* ediff.el (ediff-version): Revert the change of interactive-p to
	called-interactively-p.

910 911 912 913 914
2009-11-22  Tassilo Horn  <tassilo@member.fsf.org>

	* progmodes/subword.el (subword-mode-map): Fix subword-mode-map
	generation from word-movement command names.

915 916 917
2009-11-21  Chong Yidong  <cyd@stupidchicken.com>

	* cedet/semantic/complete.el (semantic-complete-read-tag-engine)
918 919
	(semantic-complete-jump-local, semantic-complete-jump):
	Improve prompt string.
920

921 922 923 924
2009-11-21  Jan Djärv  <jan.h.d@swipnet.se>

	* cus-start.el (all): Add native condition for font-use-system-font.

Alan Mackenzie's avatar
Alan Mackenzie committed
925 926
2009-11-21  Nathaniel Flath  <flat0103@gmail.com>

927 928
	* progmodes/cc-menus.el (cc-imenu-java-generic-expression):
	Correct the patch from 2009-11-18.  (Bug#3910)
Alan Mackenzie's avatar
Alan Mackenzie committed
929

Alan Mackenzie's avatar
Alan Mackenzie committed
930 931
<<<<<<< ChangeLog
=======
Alan Mackenzie's avatar
Alan Mackenzie committed
932 933
2009-11-21  Alan Mackenzie  <acm@muc.de>

934 935
	* progmodes/cc-menus.el (cc-imenu-java-generic-expression):
	Update to deal with modern Java constructs.
Alan Mackenzie's avatar
Alan Mackenzie committed
936

Alan Mackenzie's avatar
Alan Mackenzie committed
937
>>>>>>> 1.16811
938 939 940 941 942 943 944 945
2009-11-21  Tassilo Horn  <tassilo@member.fsf.org>

	* progmodes/subword.el: Rename from lisp/subword.el.

	* subword.el: Rename to progmodes/subword.el.

	* Makefile.in (ELCFILES): Adapt to subword.el move.

946 947 948 949 950 951 952 953 954 955 956 957
2009-11-21  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
	    Stefan Monnier  <monnier@iro.umontreal.ca>

	* bookmark.el (bookmark-bmenu-bookmark-column): Remove var.
	(bookmark-bmenu-list): Save name on `bookmark-name-prop' text-prop.
	(bookmark-bmenu-show-filenames): Use push.
	(bookmark-bmenu-hide-filenames): Use local var instead of
	bookmark-bmenu-bookmark-column.  Use pop.  Don't save window-excursion.
	(bookmark-bmenu-bookmark): Use the new `bookmark-name-prop' text-prop.
	(bookmark-bmenu-execute-deletions): Don't bother adding/removing the
	filenames now that the bookmark names are always available.

958 959 960 961 962 963 964 965 966 967 968 969 970 971
2009-11-21  Stefan Monnier  <monnier@iro.umontreal.ca>

	* bookmark.el (bookmark-search-prompt, bookmark-search-timer): Remove.
	(bookmark-search-pattern): Move and leave unbound.
	(bookmark-bmenu-mode-map): Change binding.
	(bookmark-read-search-input): Simplify.
	Don't use text-char-description.  Don't error on non-char events.
	(bookmark-filtered-alist-by-regexp-only): Remove by folding into the
	only caller (i.e. bookmark-bmenu-filter-alist-by-regexp).
	(bookmark-bmenu-search): Don't check we're in a bookmark-list buffer.
	Use a local var for the timer.
	(bookmark-bmenu-cancel-search): Remove by folding into the only caller
	(i.e. bookmark-bmenu-search).

972 973 974 975
2009-11-21  Glenn Morris  <rgm@gnu.org>

	* mail/rmailmm.el (rmail-mime): Decode in fundamental-mode.  (Bug#4993)

976 977
2009-11-20  Ken Brown  <kbrown@cornell.edu>  (tiny change)

978 979
	* net/browse-url.el (browse-url-default-windows-browser):
	Use cygstart for cygwin.
980

981 982 983 984 985 986 987 988
2009-11-20  Karl Fogel  <karl.fogel@red-bean.com>

	* bookmark.el Formatting and doc fixes only:
	(bookmark-search-delay): Shorten doc string to fit in 80 columns.
	(bookmark-bmenu-search): Wrap to fit within 80 columns.
	  Minor grammar and punctuation fixes in doc string.
	(bookmark-read-search-input): Adjust to fit within 80 columns.

989 990 991 992 993 994 995 996
2009-11-20  Tassilo Horn  <tassilo@member.fsf.org>

	* progmodes/cc-cmds.el (c-forward-into-nomenclature)
	(c-backward-into-nomenclature): Adapt to subword renaming.

	* subword.el (subword-forward, subword-backward, subword-mark)
	(subword-kill, subword-backward-kill, subword-transpose)
	(subword-downcase, subword-upcase, subword-capitalize)
997 998 999 1000 1001
	(subword-forward-internal, subword-backward-internal):
	Rename from forward-subword, backward-subword, mark-subword,
	kill-subword, backward-kill-subword, transpose-subwords,
	downcase-subword, upcase-subword, capitalize-subword,
	forward-subword-internal, backward-subword-internal.
1002

1003 1004
2009-11-20  Thierry Volpiatto  <thierry.volpiatto@gmail.com>

1005 1006
	* bookmark.el (bookmark-search-delay, bookmark-search-prompt):
	New options.
1007 1008 1009 1010 1011 1012 1013 1014
	(bookmark-search-pattern, bookmark-search-timer, bookmark-quit-flag):
	New vars.
	(bookmark-read-search-input, bookmark-filtered-alist-by-regexp-only)
	(bookmark-bmenu-filter-alist-by-regexp)
	(bookmark-bmenu-goto-bookmark, bookmark-bmenu-cancel-search): New funs.
	(bookmark-bmenu-search): New command.
	(bookmark-bmenu-mode-map): Bind it.

1015 1016
2009-11-20  Chong Yidong  <cyd@stupidchicken.com>

1017
	* cedet/semantic/complete.el (semantic-complete-inline-map): Doc fix.
1018 1019 1020 1021

	* cedet/semantic/idle.el (define-semantic-idle-service)
	(semantic-idle-summary-mode, semantic-idle-completions): Doc fix.

1022 1023
2009-11-20  Tassilo Horn  <tassilo@member.fsf.org>

1024 1025 1026
	* progmodes/cc-cmds.el: declare-functioned forward-subword and
	backward-subword to quit the byte-compiler.

1027 1028 1029 1030
	* makefile.w32-in: Don't refer cc-subword.elc but subword.elc.

	* Makefile.in: Don't refer cc-subword.elc but subword.elc.

1031
	* progmodes/cc-cmds.el (c-update-modeline)
1032 1033
	(c-forward-into-nomenclature, c-backward-into-nomenclature):
	Refer to subword.el functions instead of cc-subword.el.
1034 1035 1036 1037

	* progmodes/cc-mode.el (subword-mode, c-mode-base-map): Refer to
	subword.el functions instead of cc-subword.el.

1038 1039 1040 1041
	* progmodes/cc-subword.el: Rename to subword.el.
	* subword.el: Rename from progmodes/cc-subword.el.
	(subword-mode-map): Rename from c-subword-mode-map.
	(subword-mode): Rename from c-subword-mode.
1042
	(global-subword-mode): New global minor mode.
1043 1044 1045 1046 1047 1048 1049 1050 1051 1052
	(forward-subword): Rename from c-forward-subword.
	(backward-subword): Rename from c-backward-subword.
	(mark-subword): Rename from c-mark-subword.
	(kill-subword): Rename from c-kill-subword.
	(backward-kill-subword): Rename from c-backward-kill-subword.
	(transpose-subwords): Rename from c-tranpose-subword.
	(downcase-subword): Rename from c-downcase-subword.
	(capitalize-subword): Rename from c-capitalize-subword.
	(forward-subword-internal): Rename from c-forward-subword-internal.
	(backward-subword-internal): Rename from c-backward-subword-internal.
1053

1054 1055
2009-11-20  Dan Nicolaescu  <dann@ics.uci.edu>

1056 1057 1058 1059 1060
	* vc.el (vc-deduce-fileset): Allow non-state changing operations
	from a dired buffer.
	(vc-dired-deduce-fileset): New function.
	(vc-root-diff, vc-print-root-log): Use it.

1061 1062 1063
	* vc-annotate.el (vc-annotate-show-log-revision-at-line): Pass a
	nil LIMIT argument to vc-print-log-internal.

Glenn Morris's avatar
Glenn Morris committed
1064 1065 1066 1067
2009-11-20  Glenn Morris  <rgm@gnu.org>

	* Makefile.in (ELCFILES): Regenerate.

1068 1069 1070 1071 1072 1073 1074 1075 1076 1077 1078
2009-11-20  Chong Yidong  <cyd@stupidchicken.com>

	* cedet/cedet.el (cedet-menu-map): Re-order menu items.

	* cedet/semantic.el: Enable idle-mode menu items only if
	global-semantic-idle-scheduler-mode is enabled.
	(semantic-default-submodes): Doc fix.

	* cedet/semantic/idle.el (global-semantic-idle-scheduler-mode):
	When turning off, disable other idle modes.

Jay Belanger's avatar
Jay Belanger committed
1079 1080
2009-11-20  Jay Belanger  <jay.p.belanger@gmail.com>

Stefan Monnier's avatar
Stefan Monnier committed
1081 1082
	* calc/calc.el (calc-set-mode-line):
	Rename `calc-complement-signed-mode' to `calc-twos-complement-mode'.
Jay Belanger's avatar
Jay Belanger committed
1083 1084 1085
	(math-format-number): Rename `math-format-complement-signed' to
	`math-format-twos-complement'.

Stefan Monnier's avatar
Stefan Monnier committed
1086
	* calc/calc-bin.el (math-format-twos-complement): Rename from
Jay Belanger's avatar
Jay Belanger committed
1087 1088 1089
	math-format-complement-signed.
	(calc-radix): Rename `calc-complement-signed-mode' to
	`calc-twos-complement-mode'.
Stefan Monnier's avatar
Stefan Monnier committed
1090 1091
	(calc-octal-radix, calc-hex-radix): Add an argument for
	two's complement.
Jay Belanger's avatar
Jay Belanger committed
1092

Stefan Monnier's avatar
Stefan Monnier committed
1093 1094
	* calc/calc-embed.el (calc-embedded-mode-vars):
	Rename `calc-complement-signed-mode' to `calc-twos-complement-mode'.
Jay Belanger's avatar
Jay Belanger committed
1095

Stefan Monnier's avatar
Stefan Monnier committed
1096 1097
	* calc/calc-ext.el (calc-init-extensions):
	Rename `calc-complement-signed-mode' to `calc-twos-complement-mode'.
Jay Belanger's avatar
Jay Belanger committed
1098 1099
	(math-format-number-fancy): Let `calc-twos-complement-mode' be nil.

Stefan Monnier's avatar
Stefan Monnier committed
1100 1101
	* calc/calc-units.el (math-build-units-table-buffer):
	Let `calc-twos-complement-mode' be nil.
Jay Belanger's avatar
Jay Belanger committed
1102 1103 1104 1105 1106 1107 1108 1109 1110

	* calc/calc-menu.el (calc-modes-menu): Clean up two's complement
	entries.

	* calc/calc-vec.el (calcFunc-vunpack):
	* calc/calc-aent.el (calc-do-calc-eval):
	* calc/calc-forms.el (math-format-date):
	* calc/calc-graph.el (calc-graph-plot):
	* calc/calc-math.el (math-use-emacs-fn):
Stefan Monnier's avatar
Stefan Monnier committed
1111 1112 1113 1114 1115 1116 1117 1118 1119 1120 1121
	* calc/calccomp.el (math-compose-expr):
	Let `calc-twos-complement-mode' be nil.

2009-11-19  Stefan Monnier  <monnier@iro.umontreal.ca>

	* abbrev.el (abbrev-with-wrapper-hook): (re)move...
	* simple.el (with-wrapper-hook): ...to here.  Add argument `args'.
	* minibuffer.el (completion-in-region-functions): New hook.
	(completion-in-region): New function.
	* emacs-lisp/lisp.el (lisp-complete-symbol):
	* pcomplete.el (pcomplete-std-complete): Use it.
Jay Belanger's avatar
Jay Belanger committed
1122

1123 1124
2009-11-19  Stefan Monnier  <monnier@iro.umontreal.ca>

1125 1126 1127 1128 1129 1130 1131
	* textmodes/tex-mode.el (latex-complete-bibtex-cache)
	(latex-complete-alist): New vars.
	(latex-string-prefix-p, latex-complete-bibtex-keys)
	(latex-complete-envnames, latex-complete-refkeys)
	(latex-complete-data): New functions.
	(latex-complete, latex-indent-or-complete): New commands.

1132 1133 1134 1135
	* window.el (display-buffer-mark-dedicated): New var.
	(display-buffer): Obey it.
	* minibuffer.el (minibuffer-completion-help): Use it.

1136 1137
	* progmodes/sym-comp.el (symbol-complete): Use completion-in-region.

1138 1139 1140 1141
	* filecache.el (file-cache-add-file): Use push and cons.
	(file-cache-delete-file-regexp): Use push.
	(file-cache-complete): Use completion-in-region.

1142 1143
	* simple.el (with-wrapper-hook): Fix thinko.

1144 1145 1146 1147 1148 1149 1150 1151 1152 1153 1154 1155 1156
	* hfy-cmap.el (hfy-rgb-file): Use locate-file.
	(htmlfontify-load-rgb-file): Remove unnused var `ff'.
	Use with-current-buffer and string-to-number.
	(hfy-fallback-colour-values): Use assoc-string.
	* htmlfontify.el (hfy-face-to-css): Remove unused var `style'.
	(hfy-face-at): Remove unused var `found-face'.
	(hfy-compile-stylesheet): Remove unused var `css'.
	(hfy-fontify-buffer): Remove unused vars `in-style', `invis-button',
	and `orig-buffer'.
	(hfy-buffer, hfy-copy-and-fontify-file, hfy-parse-tags-buffer):
	Use with-current-buffer.
	(hfy-text-p): Use expand-file-name and fewer setq.

Stefan Monnier's avatar
Stefan Monnier committed
1157 1158 1159 1160
2009-11-19  Vivek Dasmohapatra  <vivek@etla.org>

	* htmlfontify.el, hfy-cmap.el: New files.

1161 1162 1163 1164 1165 1166 1167 1168
2009-11-19  Juri Linkov  <juri@jurta.org>

	* minibuffer.el (completions-format): New defcustom.
	(completion--insert-strings): Implement vertical format.

	* simple.el (switch-to-completions): Move point to the first
	completion when point was at the beginning of the buffer.

1169 1170 1171 1172 1173 1174
2009-11-19  Juri Linkov  <juri@jurta.org>

	* find-dired.el (find-name-arg): Remove autoload.  (Bug#4387)

	* progmodes/grep.el (rgrep): Require `find-dired' for `find-name-arg'.

1175 1176 1177 1178 1179 1180 1181 1182 1183 1184 1185
2009-11-19  Chong Yidong  <cyd@stupidchicken.com>

	* mail/sendmail.el (mail-yank-prefix): Change default to "> ".
	(mail-signature): Change default to t.
	(mail-from-style): Deprecate `system-default' value.
	(mail-insert-from-field): For default value of mail-from-style,
	default to `angles' unless `angles' needs quoting and `parens'
	does not.
	(mail-citation-prefix-regexp): Use citation regexp from
	message-mode.

1186 1187
2009-11-19  Michael Albinus  <michael.albinus@gmx.de>

Stefan Monnier's avatar
Stefan Monnier committed
1188 1189
	* net/tramp.el (tramp-do-copy-or-rename-file-out-of-band):
	Set variables for computing the prompt for reading password.
1190

1191 1192
2009-11-19  Glenn Morris  <rgm@gnu.org>

1193 1194
	* dired-aux.el (dired-compress-file-suffixes): Add ".xz".  (Bug#4953)

1195 1196
	* textmodes/flyspell.el (sgml-lexical-context): Declare.

1197 1198 1199
	* net/newst-treeview.el (newsticker-treeview-treewindow-width)
	(newsticker-treeview-listwindow-height): Fix custom type.

1200 1201 1202 1203
2009-11-19  Kenichi Handa  <handa@m17n.org>

	* descr-text.el (describe-char-padded-string): Compose with TAB
	only if there's a font for CH.
Stefan Monnier's avatar
Stefan Monnier committed
1204
	(describe-char): Fix the condition for detecting a trivial composition.
1205

Glenn Morris's avatar
Glenn Morris committed
1206
2009-11-18  Nathaniel Flath  <flat0103@gmail.com>
Alan Mackenzie's avatar
Alan Mackenzie committed
1207 1208

	* progmodes/cc-menus.el (cc-imenu-java-generic-expression): A new,
Glenn Morris's avatar
Glenn Morris committed
1209
	more accurate version of the regexp.  (Bug#3910)
Alan Mackenzie's avatar
Alan Mackenzie committed
1210

Glenn Morris's avatar
Glenn Morris committed
1211
2009-11-18  Bernhard Herzog  <bernhard.herzog@intevation.de>  (tiny change)
1212 1213 1214

	* vc-hg.el (vc-hg-diff): Fix last patch: do not change directory.

1215 1216 1217 1218 1219
2009-11-18  Juanma Barranquero  <lekktu@gmail.com>

	* font-setting.el (font-use-system-font): Declare for byte-compiler.
	(font-setting-change-default-font): Fix typo in docstring.

Alan Mackenzie's avatar
Alan Mackenzie committed
1220 1221 1222 1223
2009-11-18  Alan Mackenzie  <acm@muc.de>

	* progmodes/cc-defs.el (c-version): Bump to 5.31.8.

1224 1225
2009-11-17  Jan Djärv  <jan.h.d@swipnet.se>

Stefan Monnier's avatar
Stefan Monnier committed
1226
	* font-setting.el (font-use-system-font): Move ...
1227 1228 1229

	* cus-start.el (all): ... to here.

1230 1231 1232 1233 1234
2009-11-17  Michael Albinus  <michael.albinus@gmx.de>

	* net/tramp.el (tramp-advice-file-expand-wildcards): Simplify.
	Don't set `ad-return-value' if `ad-do-it' doesn't.

1235 1236 1237
	* net/tramp-gvfs.el (tramp-gvfs-handle-write-region): Set file
	modification time.

1238 1239 1240
2009-11-17  Jan Djärv  <jan.h.d@swipnet.se>

	* menu-bar.el: Put "Use system font" in Option-menu.
1241
	(menu-bar-options-save): Add font-use-system-font.
1242 1243 1244 1245

	* loadup.el: If feature system-font-setting or font-render-setting is
	there, load font-setting.

Stefan Monnier's avatar
Stefan Monnier committed
1246
	* Makefile.in (ELCFILES): Add font-settings.el.
1247 1248
	* font-setting.el: New file.

1249 1250 1251 1252
2009-11-17  Glenn Morris  <rgm@gnu.org>

	* vc-svn.el (vc-svn-print-log): Fix typo in previous.

1253 1254 1255 1256 1257 1258
	* net/newst-treeview.el (newsticker--treeview-list-update-faces):
	Preserve point in the list buffer.  (Bug#4939)
	Use point-at-eol.
	(newsticker--treeview-list-update-highlight)
	(newsticker--treeview-tree-update-highlight): Use point-at-bol/eol.

1259 1260 1261 1262 1263 1264 1265 1266 1267 1268 1269
2009-11-16  Jay Belanger  <jay.p.belanger@gmail.com>

	* calc/calc-bin.el (math-symclip, calcFunc-symclip, calc-symclip):
	Remove.

	* calc/calc-ext.el (calc-init-extensions): Remove references to
	symclip.

	* calc/calc-menu.el (calc-arithmetic-menu): Remove `calc-symclip'.

	* calc/calc-map.el (calc-get-operator, calc-b-oper-keys):
1270
	* calc/calc-help.el (calc-b-prefix-help): Remove references to
1271 1272
	`calc-symclip'.

1273 1274
2009-11-16  Kevin Ryde  <user42@zip.com.au>

Stefan Monnier's avatar
Stefan Monnier committed
1275
	* textmodes/flyspell.el (sgml-mode-flyspell-verify):
1276
	Use `sgml-lexical-context' instead of own parse for tag (Bug#4511).
1277

1278 1279 1280 1281
	* emacs-lisp/lisp-mnt.el (lm-keywords): Allow multi-line keywords.
	(lm-keywords-list): Allow comma-only separator like "foo,bar".
	Ignore trailing spaces by omit-nulls to split-string (fixing
	regression from Emacs 21 due to the incompatible split-string
1282
	change).  (Bug #4928.)
1283

1284 1285
2009-11-16  Dan Nicolaescu  <dann@ics.uci.edu>

1286
	* vc.el (vc-log-show-limit): Default to 2000.
1287 1288 1289 1290 1291 1292 1293 1294 1295
	(vc-print-log-internal): Insert buttons to request more entries
	when limiting the output.

	* vc-sccs.el (vc-sccs-print-log):
	* vc-rcs.el (vc-rcs-print-log):
	* vc-cvs.el (vc-cvs-print-log):
	* vc-git.el (vc-git-print-log): Return 'limit-unsupported when
	LIMIT is non-nil.

1296 1297 1298 1299 1300 1301
2009-11-16  Michael Albinus  <michael.albinus@gmx.de>

	* net/tramp-gvfs.el (tramp-gvfs-dbus-event-error): Raise only an
	error when `tramp-gvfs-dbus-event-vector' is set.
	(tramp-gvfs-maybe-open-connection): Loop over `read-event'.

1302 1303 1304 1305
2009-11-16  Stefan Monnier  <monnier@iro.umontreal.ca>

	* vc-rcs.el (vc-rcs-consult-headers): Add missing save-excursion.

1306 1307 1308
2009-11-16  Michael Albinus  <michael.albinus@gmx.de>

	* net/dbus.el (dbus-unregister-service): New defun.
1309
	(dbus-register-property): Register the handlers of
1310 1311 1312
	"org.freedesktop.DBus.Properties" for SERVICE.
	(dbus-property-handler): Fix docstring.

1313 1314 1315 1316 1317 1318
2009-11-16  YAMAMOTO Mitsuharu  <mituharu@math.s.chiba-u.ac.jp>

	* emacs-lisp/bytecomp.el (byte-compile-output-file-form):
	Quote doc string reference in defvaralias as it is not in special form.
	(byte-compile-output-docform): Doc fix.

1319 1320 1321 1322 1323 1324 1325 1326 1327
2009-11-16  Jay Belanger  <jay.p.belanger@gmail.com>

	* calc/calc.el (math-2-word-size, math-half-2-word-size)
	(calc-complement-signed-mode): New variables.
	(calc-set-mode-line): Add indicator for twos-complements.
	(math-format-number): Format twos-complement notation.

	* calc/calc-bin.el (calc-word-size): Reset the variables
	`math-2-word-size' and `math-half-2-word-size'.
1328 1329
	(math-format-complement-signed, math-symclip, calcFunc-symclip)
	(calc-symclip): New functions.
1330 1331 1332

	* calc/calc-aent.el (math-read-token): Read complement signed numbers.

1333 1334
	* calc/calc-embed.el (calc-embedded-mode-vars):
	Add `calc-complement-signed-mode' to the list of modes.
1335 1336

	* calc/calc-map.el (calc-get-operator): Add `calc-symclip'.
1337
	(calc-b-oper-keys): Add `calc-symclip' to list.
1338 1339 1340

	* calc/calc-ext.el (math-read-number-fancy): Read complement
	signed numbers.
1341 1342
	(calc-init-extensions): Add binding for `calc-symclip'.
	Add autoload for `calcFunc-symclip' and `calc-symclip'.
1343 1344 1345

	* calc/calc-menu.el (calc-arithmetic-menu): Add item for
	`calc-symclip'.
1346
	(calc-modes-menu): Add item for twos complement mode.
1347

1348
	* calc/calc-help.el (calc-b-prefix-help): Add help for `calc-symclip'.
1349

1350 1351 1352 1353 1354
2009-11-15  Chong Yidong  <cyd@stupidchicken.com>

	* register.el (jump-to-register, insert-register): Handle Semantic
	tags.  From commented-out advice in semantic/senator.el.

1355 1356
2009-11-15  Dan Nicolaescu  <dann@ics.uci.edu>

1357 1358 1359 1360 1361 1362 1363 1364 1365
	* vc.el (vc-log-show-limit): New variable.
	(vc-print-log, vc-print-root-log): Add new argument LIMIT.  Set it
	when using a prefix argument.
	(vc-print-log-internal): Add new argument LIMIT.

	* vc-svn.el (vc-svn-print-log):
	* vc-mtn.el (vc-mtn-print-log):
	* vc-hg.el (vc-hg-print-log):
	* vc-bzr.el (vc-bzr-print-log): Add new optional argument LIMIT,
1366
	pass it to the log command when set.  Make the BUFFER argument
1367 1368 1369 1370 1371 1372 1373 1374
	non-optional.

	* vc-sccs.el (vc-sccs-print-log):
	* vc-rcs.el (vc-rcs-print-log):
	* vc-git.el (vc-git-print-log):
	* vc-cvs.el (vc-cvs-print-log): Add new optional argument LIMIT,
	ignore it.  Make the BUFFER argument non-optional

1375 1376
	* bindings.el (mode-line-buffer-identification): Do not purecopy.

1377 1378
2009-11-15  Chong Yidong  <cyd@stupidchicken.com>

1379 1380 1381
	* dired.el (dired-mode-map): Move encryption items to "Operate"
	menu (Bug#4703).

1382 1383 1384
	* strokes.el (strokes-update-window-configuration): Make strokes
	buffer current before erasing (Bug#4906).