ChangeLog 357 KB
Newer Older
Nick Roberts's avatar
Nick Roberts committed
1 2 3 4 5
2009-12-14  Nick Roberts  <nickrob@snap.net.nz>

	* progmodes/gdb-mi.el (gdb-frame-handler): Only set gud-lat-frame
	when there are values for both file and line. (Bug#5060)

6 7 8 9 10 11 12
2009-12-14  Juri Linkov  <juri@jurta.org>

	* ediff-ptch.el (ediff-context-diff-label-regexp): Don't match
	whitespace after the file name of the first line of unified format,
	because git-diff doesn't output whitespace and file modification time
	after the file name.

13 14 15 16 17 18 19
2009-12-14  David Kastrup  <dak@gnu.org>

	* info.el (Info-hide-cookies-node): Before hiding a cookie,
	check if it already has the `display' property added by
	`Info-display-images-node', and not put the `invisible' property
	in this case.

20 21 22 23 24 25 26 27
2009-12-14  Chong Yidong  <cyd@stupidchicken.com>

	* cedet/semantic/mru-bookmark.el (global-semantic-mru-bookmark-mode)
	(semantic-mru-bookmark-mode): Doc fixes.

	* cedet/semantic/db.el (semanticdb-cache-get): Use error instead
	of assert.

28 29
2009-12-13  Glenn Morris  <rgm@gnu.org>

30 31 32
	* mail/emacsbug.el (message-sort-headers): Define for compiler.
	(report-emacs-bug): In message-mode, sort manually before storing
	original report text.  (Bug#5178)
33 34
	Remove superfluous save-excursion.

35 36 37 38 39
2009-12-12  Michael Albinus  <michael.albinus@gmx.de>

	* net/dbus.el (dbus-property-handler): Filter lambda forms out
	when responding to "GetAll" properties.

40 41 42 43 44
2009-12-12  Chong Yidong  <cyd@stupidchicken.com>

	* simple.el (compose-mail): Remove mail-setup-with-from from
	customization checks.

45 46 47 48 49
2009-12-12  Eli Zaretskii  <eliz@gnu.org>

	* arc-mode.el (archive-rar-summarize): Support Attribute fields in
	RAR archives created on Unix systems.

50 51 52 53 54 55
2009-12-12  Stefan Monnier  <monnier@iro.umontreal.ca>

	* minibuffer.el (minibuffer-local-must-match-filename-map): Re-instate
	the varalias that was accidentally removed by the 2009-11-19 change
	(bug#5186).

56 57 58 59 60 61 62
2009-12-12  Kenichi Handa  <handa@m17n.org>

	* language/indian.el (indian-compose-regexp): New function.
	(malayalam-composable-pattern): Fix the pattern.
	(composition-function-table): Set malayalam-composable-pattern for
	Malayalam characters.

63 64
2009-12-11  Chong Yidong  <cyd@stupidchicken.com>

65 66 67
	* progmodes/bug-reference.el (bug-reference-map): Bind mouse-2
	rather than down-mouse-1, based on follow-link conventions.

68 69 70
	* makefile.w32-in: Ensure that Lisp files in CEDET subdirectories
	are compiled.

71 72
2009-12-11  Michael McNamara  <mac@mail.brushroad.com>

73 74 75 76 77
	* verilog-mode.el (verilog-vmm-begin-re, verilog-vmm-end-re)
	(verilog-vmm-statement-re, verilog-ovm-statement-re)
	(verilog-defun-level-not-generate-re, verilog-calculate-indent)
	(verilog-leap-to-head, verilog-backward-token):
	Fix indenting VMM macros.  Reported by Jonathan Ashbrook.
78 79 80 81

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

	* verilog-mode.el (verilog-auto-lineup, verilog-nameable-item-re):
82 83 84
	Cleanup user-visible spelling and documentation errors.
	One reported by Gary Delp.
	(verilog-submit-bug-report): Mention bug tracking and CC co-author.
85 86 87
	(verilog-read-decls): Fix AUTOWIRE with types declared in a
	package, bug195.  Reported by Pierre-David Pfister.

88 89
2009-12-11  Glenn Morris  <rgm@gnu.org>

90 91
	* progmodes/cc-engine.el (safe-pos-list): Define for compiler.

Glenn Morris's avatar
Glenn Morris committed
92 93 94 95 96 97 98 99 100 101 102 103 104 105
	* mail/emacsbug.el: No longer require sendmail.
	Replace sendmail's `mail-text' by `rfc822-goto-eoh'.  (Bug#5174)
	(report-emacs-bug-orig-text): Doc fix.
	(report-emacs-bug-send-command, report-emacs-bug-send-hook):
	New local variables, to adapt to different mail-user-agents.
	(report-emacs-bug): Fix test for a gnu.org address.
	Use overlays for emphasis, since font-lock defeats 'face property.
	Pretest bugs also end up at the newsgroup these days.
	Stop message-mode stripping text properties.
	Set and use the new buffer-local variables.
	(report-emacs-bug-hook): Add doc-string.
	Remove some unnecessary save-excursions and simplify.
	Use the appropriate hook and send-command.

106 107 108
	* emacs-lisp/lisp-mode.el (emacs-lisp-mode-map): Standardize the
	capitalization of some menu entries.

109 110
2009-12-10  Vinicius Jose Latorre  <viniciusjl@ig.com.br>

Glenn Morris's avatar
Glenn Morris committed
111
	* whitespace.el (whitespace-display-char-on): Ensure
112 113 114 115
	`buffer-display-table' is unique when two or more windows are
	visible.  Reported by Martin Pohlack <mp26@os.inf.tu-dresden.de>.
	New version 12.1.

116 117 118 119 120
2009-12-10  Eli Zaretskii  <eliz@gnu.org>

	* arc-mode.el (archive-rar-summarize): Allow between 6 and 7
	characters in the Attribute field.

121 122 123 124
2009-12-10  Dan Nicolaescu  <dann@ics.uci.edu>

	* vc-svn.el (vc-svn-after-dir-status): Fix regexp.  (Bug#4741)

125 126 127 128 129 130 131 132 133
2009-12-10  Stefan Monnier  <monnier@iro.umontreal.ca>

	Let loaddefs.el adjust to changes in autoload-excludes (bug#5162).
	* emacs-lisp/autoload.el (autoload-generate-file-autoloads):
	Disregard autoload-excludes.
	(update-directory-autoloads): Obey autoload-excludes here instead.
	But don't store its contents in no-autoloads and remove entries that
	refer to excludes files.

134 135
2009-12-10  Glenn Morris  <rgm@gnu.org>

136 137 138
	* mail/feedmail.el (top-level): Move require 'mail-utils to start.
	(expand-mail-aliases): Define for compiler.

139 140 141
	* vc-annotate.el (log-view-vc-backend, log-view-vc-fileset):
	Define for compiler.

142 143 144
	* mail/emacsbug.el (report-emacs-bug): Use whichever send command is
	appropriate for the mail-user-agent in use.

145 146 147 148
2009-12-09  Michael Albinus  <michael.albinus@gmx.de>

	* net/tramp.el (tramp-handle-insert-directory): Suppress error messages.

149 150 151 152 153 154
2009-12-09  Dan Nicolaescu  <dann@ics.uci.edu>

	Fix short log parsing and fontification.
	* vc-bzr.el (vc-bzr-log-view-mode): Match dot in revision number.
	Fix fontification for the [merge] label.

155 156 157 158 159 160
2009-12-09  Vivek Dasmohapatra  <vivek@etla.org>

	Drop some properties to avoid surprises.
	* htmlfontify.el (hfy-ignored-properties): New defcustom.
	(hfy-fontify-buffer): Use it.

161 162
2009-12-09  Stefan Monnier  <monnier@iro.umontreal.ca>

Stefan Monnier's avatar
Stefan Monnier committed
163 164 165 166 167 168 169
	Minor cleanup.
	* ffap.el (ffap-symbol-value): Replace ffap-soft-value.
	Adjust all callers.
	(ffap-locate-file): Remove unused arg `dir-ok' and make other
	args compulsory.  Adjust callers.
	(ffap-gopher-at-point): Remove unused var `name'.

170 171 172 173 174 175 176
	Get rid of the ELCFILES abomination.
	* Makefile.in (update-elclist, ELCFILES, compile-last): Remove.
	(compile-elcfiles): New phony target.
	(compile-main): Compute ELCFILES dynamically.
	(compile-clean): New target to remove left-over elc files.
	(compile, all): Use it.

Kenichi Handa's avatar
Kenichi Handa committed
177 178 179 180
2009-12-09  Kenichi Handa  <handa@etlken>

	* international/mule-diag.el: Require help-mode instead of help-fns.

181 182 183
2009-12-09  Kenichi Handa  <handa@m17n.org>

	* international/mule-cmds.el (ucs-names): Supply a sufficiently
Stefan Monnier's avatar
Stefan Monnier committed
184 185
	fine ranges instead of pre-calculating accurate ranges.
	Iterate with bigger gc-cons-threshold.
186

187 188 189 190 191 192
2009-12-08  Dan Nicolaescu  <dann@ics.uci.edu>

	Add support for stashing a snapshot of the current tree.
	* vc-git.el (vc-git-stash-snapshot): New function.
	(vc-git-stash-map, vc-git-extra-menu-map): Add a mapping for it.

193 194 195 196 197
2009-12-08  Jose E. Marchesi  <jemarch@gnu.org>

	* play/gomoku.el (gomoku-mode-map): Remap `move-(beginning|end)-of-line'
	instead of `(beginning|end)-of-line'.

Glenn Morris's avatar
Glenn Morris committed
198 199
2009-12-08  Glenn Morris  <rgm@gnu.org>

200 201
	* vc-mtn.el (vc-mtn-print-log): Fix typo in previous.

Glenn Morris's avatar
Glenn Morris committed
202 203
	* Makefile.in (ELCFILES): Regenerate.

204 205 206 207 208 209 210 211 212
2009-12-07  Juri Linkov  <juri@jurta.org>

	Don't lazy-highlight the comint output in history Isearch mode.

	* comint.el (comint-history-isearch-search): Instead of
	`comint-line-beginning-position', use `comint-after-pmark-p'
	to check if point if before the process mark, and go to
	`process-mark' in this case.

213 214
2009-12-07  Stefan Monnier  <monnier@iro.umontreal.ca>

215 216 217 218 219
	* textmodes/tex-mode.el (latex-complete)
	(latex-indent-or-complete): Remove.
	(latex-mode): Set completion-at-point-functions instead.

	Provide a standard completion command and hook it into TAB.
220 221
	* minibuffer.el (completion-at-point-functions): New var.
	(completion-at-point): New command.
222
	* indent.el (indent-for-tab-command): Handle the `complete' behavior.
223 224 225 226 227 228 229 230 231
	* progmodes/python.el (python-mode-map): Use completion-at-point.
	(python-completion-at-point): Rename from python-partial-symbol and
	adjust for use in completion-at-point-functions.
	(python-mode): Setup completion-at-point for Python completion.
	* emacs-lisp/lisp.el (lisp-completion-at-point): New function
	extracted from lisp-complete-symbol.
	(lisp-complete-symbol): Use it.
	* emacs-lisp/lisp-mode.el (emacs-lisp-mode): Use define-derived-mode,
	setup completion-at-point for Elisp completion.
232 233
	(emacs-lisp-mode-map, lisp-interaction-mode-map):
	Use completion-at-point.
234
	* ielm.el (ielm-map): Use completion-at-point.
235
	(inferior-emacs-lisp-mode): Setup completion-at-point-functions.
236 237 238
	* progmodes/sym-comp.el: Move to...
	* obsolete/sym-comp.el: Move from progmodes.

239 240 241 242 243 244 245 246 247 248 249 250 251 252
2009-12-07  Eli Zaretskii  <eliz@gnu.org>

	Prevent save-buffer in Rmail buffers from using the coding-system
	of the current message, and from clobbering the encoding mnemonics
	in the mode line (Bug#4623).

	* mail/rmail.el (rmail-swap-buffers): Swap encoding and modified
	flag, too.
	(rmail-message-encoding): New variable.
	(rmail-write-region-annotate): Record the encoding of the current
	message in rmail-message-encoding.
	(rmail-after-save-hook): New function, restores the encoding of
	the current message after the message collection is saved.

253 254 255 256 257 258
2009-12-07  Juri Linkov  <juri@jurta.org>

	* progmodes/grep.el (grep-read-files): Use `completing-read'
	instead of `read-string'.  Set its `collection' arg to
	`read-file-name-internal'.  (Bug#4301)

259 260 261 262 263 264 265 266 267 268 269 270
2009-12-07  Juri Linkov  <juri@jurta.org>

	Correctly restore original Isearch point.  (Bug#4994)

	* isearch.el (isearch-mode): Move `isearch-push-state' after
	`(run-hooks 'isearch-mode-hook)'.
	(isearch-cancel): When `isearch-push-state-function' is defined,
	let-bind `isearch-cmds' to the first state (the last element of
	`isearch-cmds') and call `isearch-top-state' (it calls pop-state
	function and restores the original point).  Otherwise, move point
	to `isearch-opoint'.

271 272 273 274 275 276
2009-12-07  Stefan Monnier  <monnier@iro.umontreal.ca>

	* international/mule-cmds.el (ucs-names): Weed out at compile-time the
	chars that don't have names, so the table can be built much faster at
	run-time.

277 278
2009-12-07  Chong Yidong  <cyd@stupidchicken.com>

279 280 281
	* vc-bzr.el (vc-bzr-annotate-command): More elegant form for last
	change.  Suggested by David Kastrup.

282 283 284
	* simple.el (compose-mail): Check for incompatibilities and warn.
	(compose-mail-user-agent-warnings): New option.

285 286 287 288 289 290 291 292 293 294 295
2009-12-07  Dan Nicolaescu  <dann@ics.uci.edu>

	Support showing a single log entry from vc-annotate.
	* vc.el (print-log): Add a new argument: START-REVISION.
	(vc-print-log-internal): Add a new optional argument and
	pass it to the backend.
	(vc-print-log, vc-print-root-log): Adjust callers.
	* vc-annotate.el (vc-annotate-show-log-revision-at-line): If a
	buffer already displays the requested log entry, use it.
	Otherwise display only the log entry in question.
	* vc-svn.el (vc-svn-print-log):
Glenn Morris's avatar
Glenn Morris committed
296
	* vc-mtn.el (vc-mtn-print-log):
297 298 299 300 301 302 303 304 305
	* vc-hg.el (vc-hg-state):
	* vc-git.el (vc-git-print-log): Add support for new argument START-REVISION.
	(vc-git-show-log-entry): Return t on success.
	* vc-bzr.el (vc-bzr-print-log): Add support new argument START-REVISION.
	(vc-bzr-show-log-entry): Return t on success.
	* vc-rcs.el (vc-rcs-print-log):
	* vc-sccs.el (vc-sccs-print-log):
	* vc-cvs.el (vc-cvs-print-log): Add new argument, ignore it.

Glenn Morris's avatar
Glenn Morris committed
306 307 308 309 310
2009-12-07  Dan Nicolaescu  <dann@ics.uci.edu>

	* ediff-mult.el (ediff-setup-meta-map, ediff-prepare-meta-buffer): Add
	menus to the meta mode.  (Bug#5043)

311
2009-12-07  Michael Kifer <kifer@cs.stonybrook.edu>
312 313

	* ediff-init.el (ediff-event-key): Use event-to-character instead of
314
	event-key.
315 316 317

	* ediff.el (ediff-buffers-internal): Add unwind-protect.

318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334
2009-12-07  Michael Albinus  <michael.albinus@gmx.de>

	Handle prompt rules of ksh in OpenBSD 4.5.  Reported by Raphaël
	Berbain <raphael.berbain@gmail.com>.

	* net/tramp.el (tramp-end-of-output): Move up.  Use `#' and `$'
	characters.
	(tramp-initial-end-of-output): New defconst.
	(tramp-methods, tramp-find-shell)
	(tramp-open-connection-setup-interactive-shell)
	(tramp-maybe-open-connection): Use it.
	(tramp-shell-prompt-pattern, tramp-wait-for-output): Handle
	existence of `#' and `$'.

	* net/tramp-fish.el (tramp-fish-maybe-open-connection): Use
	`tramp-initial-end-of-output'.

335 336 337 338 339 340 341 342 343
2009-12-07  Dan Nicolaescu  <dann@ics.uci.edu>

	Get the background mode from the terminal for xterm, and set
	faces accordingly.
	* term/xterm.el (xterm-set-background-mode): New function.
	(terminal-init-xterm): Use it in case xterm supports background
	color queries.  Recompute faces after getting the background
	color.

344 345 346 347 348
2009-12-07  Ulrich Mueller  <ulm@gentoo.org>

	* emacs-lisp/bytecomp.el (byte-compile-insert-header): Put the version
	number comment back on its own line, for easier parsing.

349 350 351 352 353 354 355
2009-12-07  Stefan Monnier  <monnier@iro.umontreal.ca>

	Make it work for non-file buffers (bug#5102).
	* doc-view.el (doc-view-current-cache-dir):
	Use doc-view-buffer-file-name rather than buffer-file-name.
	(doc-view-mode): Use buffer-name when buffer-file-name is nil.

356 357 358 359 360
2009-12-06  Óscar Fuentes  <ofv@wanadoo.es>

	* vc-bzr.el (vc-bzr-annotate-command): Handle the case where the
	author field is too short.

361 362
2009-12-06  Dan Nicolaescu  <dann@ics.uci.edu>

363 364
	* vc-git.el (vc-git-print-log): Handle a limit argument.
	Display the short log in graph form and with labels.
365 366
	(vc-git-log-view-mode): Handle labels.

367 368 369
	Make vc-revert change VC state from 'added to 'unregistered.
	* vc-git.el (vc-git-revert): Call git reset first.

Ulf Jasper's avatar
Ulf Jasper committed
370 371
2009-12-06  Ulf Jasper  <ulf.jasper@web.de>

372 373 374 375
	* net/newst-backend.el, net/newst-plainview.el:
	* net/newst-reader.el, net/newst-ticker.el:
	* net/newst-treeview.el, net/newsticker.el:
	Require/provide newst-... (instead of newsticker-...).  (Bug#5096)
Ulf Jasper's avatar
Ulf Jasper committed
376

377 378
2009-12-06  Chong Yidong  <cyd@stupidchicken.com>

379 380
	* log-view.el (log-view-mode-map): Bind "=" to log-view-diff too.

381 382 383 384 385
	* vc-bzr.el (vc-bzr-annotate-command): Show author in annotation.
	Handle empty author field (Bug#4144).  Suggested by Óscar Fuentes.
	(vc-bzr-annotate-time, vc-bzr-annotate-extract-revision-at-line):
	Update annotation regexp.

386 387 388
	* simple.el (beginning-of-visual-line): Constrain to field
	boundaries (Bug#5106).

Ulf Jasper's avatar
Ulf Jasper committed
389 390
2009-12-06  Ulf Jasper  <ulf.jasper@web.de>

391
	* xml.el (xml-substitute-numeric-entities): Move
Ulf Jasper's avatar
Ulf Jasper committed
392
	newsticker--decode-numeric-entities in newst-backend.el to
393
	xml-substitute-numeric-entities in xml.el.  (Bug#5008)
Ulf Jasper's avatar
Ulf Jasper committed
394 395
	* net/newst-backend.el (newsticker--parse-generic-feed)
	(newsticker--parse-generic-items)
396
	(newsticker--decode-numeric-entities): Move
Ulf Jasper's avatar
Ulf Jasper committed
397
	newsticker--decode-numeric-entities in newst-backend.el to
398
	xml-substitute-numeric-entities in xml.el.  (Bug#5008)
Ulf Jasper's avatar
Ulf Jasper committed
399

400 401 402 403
2009-12-06  Daniel Colascione  <dan.colascione@gmail.com>

	* progmodes/js.el (js--js-not): Add null to the list of values.

404 405
2009-12-06  Chong Yidong  <cyd@stupidchicken.com>

406
	* ansi-color.el (ansi-color-for-comint-mode): Add :version keyword.
407

408 409 410 411 412 413
2009-12-06  Roland Winkler  <Roland.Winkler@physik.uni-erlangen.de>

	* textmodes/bibtex.el (bibtex-enclosing-field): Exclude entry
	delimiter if it is at the end of the current line.
	(bibtex-generate-url-list): Fix docstring.

414 415 416 417 418 419 420
2009-12-06  Stefan Monnier  <monnier@iro.umontreal.ca>

	* minibuffer.el (minibuffer-complete-and-exit): Don't replace the
	minibuffer's content with itself.
	Fold the confirm-after-completion case into the `confirm' case.
	(completion-pcm-word-delimiters): Add : and / to the delimiters.

421 422 423
2009-12-06  Kevin Ryde  <user42@zip.com.au>

	* ffap.el (ffap-rfc-path): Make this a defcustom since
424
	`ffap-rfc-directories' is also a defcustom.  (Bug#4514.)
425

426
	* info-look.el: Add setup for apropos-mode to use emacs-lisp-mode
427
	manuals, similar to existing setup for help-mode.  (Bug#3913.)
428

429 430 431 432 433 434 435 436 437 438 439
2009-12-05  Juri Linkov  <juri@jurta.org>

	Save and restore dired buffer's point positions too.  (Bug#4880)

	* dired.el (dired-save-positions): Return in the first element
	buffer's position in format (BUFFER DIRED-FILENAME BUFFER-POINT).
	Doc fix.
	(dired-restore-positions): First restore buffer's position.
	While restoring window's positions, check if window still displays
	the original buffer.

440 441
2009-12-05  Chong Yidong  <cyd@stupidchicken.com>

442 443 444
	* bindings.el (complete-symbol): Call semantic-ia-complete-symbol
	if possible.

445 446
	* cedet/semantic/ia.el (semantic-ia-complete-symbol):
	Make argument optional.
447

448 449 450 451
	* shell.el (shell): Require ansi-color (Bug#5113).

	* ansi-color.el (ansi-color-for-comint-mode): Default to t.

452 453
	* hl-line.el (global-hl-line-highlight): Minor doc fix (Bug#4925).

Alan Mackenzie's avatar
Alan Mackenzie committed
454 455 456 457 458
2009-12-05  Alan Mackenzie  <acm@muc.de>

	* progmodes/cc-mode.el (c-before-hack-hook)
	(c-postprocess-file-styles): Revert change 2009-07-18T21:03:43Z!acm@muc.de to permit
	`c-file-style' to work again.  This reversion restores the current
Glenn Morris's avatar
Glenn Morris committed
459
	software to its state in Emacs 23.1.  (Bug#4146)
Alan Mackenzie's avatar
Alan Mackenzie committed
460

461 462 463 464 465
2009-12-05  Kevin Ryde  <user42@zip.com.au>

	* textmodes/sgml-mode.el (sgml-lexical-context): Recognise
	comment-start-skip to comment-end-skip as comment (Bug#4781).

466 467 468 469 470 471 472 473 474
2009-12-05  Juri Linkov  <juri@jurta.org>

	* info.el (Info-find-node-2): Set `Info-current-subfile' to nil
	for virtual nodes.  (Bug#4147)
	(Info-find-node-2): Set `Info-current-node-virtual' to nil
	when moving from a virtual node.
	(Info-mode-menu): Add `Info-virtual-index' to the menu.
	(Info-mode): Add `Info-virtual-index' to the docstring.

475 476 477 478 479 480 481 482 483 484 485 486 487 488 489 490 491 492
2009-12-05  Eric Ludlam  <zappo@gnu.org>

	* cedet/semantic/bovine/c.el (semantic-c-describe-environment):
	Describe project macro symbols.

	* cedet/semantic/complete.el (semantic-complete-do-completion):
	Don't call semantic-collector-current-exact-match.

	* cedet/ede.el (ede-apply-preprocessor-map): Accept lists of
	ede-objects as targets.

	* cedet/ede/pmake.el (ede-proj-makefile-insert-variables): Output
	a target's object list even if compiler vars are already in the
	Makefile.

	* cedet/ede/emacs.el (ede-preprocessor-map): Add config.h to the
	list of headers producing necessary macros.

493 494 495 496 497 498 499 500 501 502 503 504
2009-12-05  Roland Winkler  <Roland.Winkler@physik.uni-erlangen.de>

	* textmodes/bibtex.el (bibtex-map-entries): Use marker to keep
	track of the buffer position of the end of a BibTeX entry as this
	position may change during reformatting.
	(bibtex-format-entry): Remove whitespace before processing
	numerical fields so that we recognize the latter properly.
	(bibtex-reformat): Do not use push which changes the global value
	of bibtex-entry-format.
	(bibtex-field-braces-alist, bibtex-field-strings-alist)
	(bibtex-field-re-init): Replace only space characters by regexp
	for whitespace.
505
	(bibtex-generate-url-list, bibtex-cite-matcher-alist): Fix docstring.
506 507
	(bibtex-initialize): Also update bibtex-strings.
	(bibtex-kill-field): Preserve white space at end of entry.
508 509
	(bibtex-kill-entry, bibtex-yank-pop, bibtex-insert-kill):
	Update bibtex-reference-keys.
510

511 512 513 514 515 516
2009-12-05  Stefan Monnier  <monnier@iro.umontreal.ca>

	* minibuffer.el (completion-pcm--merge-try): Also consider placing
	point after a star, if that's the only place where modifications can
	make progress.

517 518 519 520 521
2009-12-05  Dan Nicolaescu  <dann@ics.uci.edu>

	* vc-dir.el (vc-dir): Use the correct markup for showing keymaps
	in docstrings.

522 523 524 525 526 527 528
2009-12-04  Juri Linkov  <juri@jurta.org>

	* proced.el (proced): Call `(proced-update t)' to update process
	information instead of only running proced-post-display-hook.
	(proced-send-signal): Add a leading space to the buffer name
	" *Marked Processes*" to make this buffer ephemeral.

529 530 531 532 533
2009-12-04  Juri Linkov  <juri@jurta.org>

	* dired.el (dired-auto-revert-buffer): New defcustom.
	(dired-internal-noselect): Use it.

534 535 536 537 538 539 540 541 542 543 544 545 546 547 548 549 550 551 552 553 554 555 556
2009-12-04  Juri Linkov  <juri@jurta.org>

	Change roles of modes and functions in image-mode.el (Bug#5062).

	* image-mode.el: Replace `image-mode-maybe' with `image-mode'
	in `auto-mode-alist'.
	(image-mode-previous-major-mode): New variable.
	(image-minor-mode-map): Rename from `image-mode-text-map'.
	(image-mode): Move graceful error-handling code from
	`image-minor-mode' to here.  On errors call `image-mode-as-text'.
	(image-minor-mode): Remove all image-handling code.
	Replace `image-mode-text-map' with `image-minor-mode-map'.
	Check for `image-type' in mode-line format string.
	(image-mode-maybe): Make obsolete with an alias to `image-mode'.
	(image-mode-as-text): New function with most code from
	`image-mode-maybe'.
	(image-toggle-display-text): Move code that removes image
	properties from `image-toggle-display' to here.
	(image-toggle-display-image): New function with code that adds
	image properties copied from `image-toggle-display'.
	(image-toggle-display): Remove most code with leaving only code
	that toggles between `image-mode-as-text' and `image-mode'.

Ulf Jasper's avatar
Ulf Jasper committed
557 558 559 560 561 562 563 564 565 566 567 568 569 570 571 572 573 574 575 576
2009-12-04  Ulf Jasper  <ulf.jasper@web.de>

	* net/newst-treeview.el
	(newsticker--treeview-list-highlight-start): Restored call to
	save-excursion: Selected item was stuck.
	(newsticker--treeview-list-select): New.
	(newsticker--treeview-item-show-text)
	(newsticker--treeview-item-show)
	(newsticker--treeview-item-update): Use new
	newsticker-treeview-item-mode.
	(newsticker-treeview-update): Keep current item.
	(newsticker-treeview-next-new-or-immortal-item): Doc change.
	(newsticker--treeview-first-feed): Doc change.
	(newsticker-treeview-list-menu)
	(newsticker-treeview-item-menu): Added menu entries.
	(newsticker-treeview-item-mode): New.

	* net/newst-backend.el (newsticker-customize): delete other
	windows.

577 578 579 580 581
2009-12-04  Sam Steingold  <sds@gnu.org>

	* log-view.el (log-view-mode-map): "q" calls quit-window,
	like in all the other non-self-insert buffers.

Stefan Monnier's avatar
Stefan Monnier committed
582 583 584 585 586 587 588 589 590 591 592 593 594
2009-12-04  Stefan Monnier  <monnier@iro.umontreal.ca>

	Minor cleanup.
	* term.el (term-send-raw, term-send-raw-meta): Use read-key-sequence's
	key decoding rather than do it manually via last-input-event +
	ascii-character.
	(term-exec): Use delete-and-extract-region.
	(term-handle-ansi-terminal-messages): Remove unused var `end'.
	(term-process-pager): Remove unused var `i'.
	(term-dynamic-simple-complete): Make obsolete.
	(serial-update-config-menu): Remove unused vars `y' and `str'.
	(term-update-mode-line): Remove unused var `temp'.

595 596 597 598 599 600 601
2009-12-03  Dan Nicolaescu  <dann@ics.uci.edu>

	Limit the number of log entries displayed by default.
	* vc.el (vc-print-log-internal): Fix check for limit-unsupported.
	(vc-print-log, vc-print-root-log): Use vc-log-show-limit when not
	using a prefix argument.

602 603 604 605
2009-12-03  Glenn Morris  <rgm@gnu.org>

	* progmodes/idlwave.el (class): Restore still useful declaration.

Alan Mackenzie's avatar
Alan Mackenzie committed
606 607
2009-12-03  Alan Mackenzie  <acm@muc.de>

Glenn Morris's avatar
Glenn Morris committed
608
	Enhance `c-parse-state' to run efficiently in "brace deserts".
Alan Mackenzie's avatar
Alan Mackenzie committed
609

Stefan Monnier's avatar
Stefan Monnier committed
610 611 612
	* progmodes/cc-mode.el (c-basic-common-init):
	Call c-state-cache-init.
	(c-neutralize-syntax-in-and-mark-CPP):  Rename from
Alan Mackenzie's avatar
Alan Mackenzie committed
613
	c-extend-and-neutralize-syntax-in-CPP.  Mark each CPP construct by
Stefan Monnier's avatar
Stefan Monnier committed
614
	placing `category' properties value 'c-cpp-delimiter at its boundaries.
Alan Mackenzie's avatar
Alan Mackenzie committed
615 616 617 618 619 620 621 622 623 624 625 626 627 628 629 630 631 632 633 634 635 636 637 638 639 640 641 642 643 644 645

	* 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.
Stefan Monnier's avatar
Stefan Monnier committed
646 647
	(c-parse-state): Enhance and refactor.
	(c-debug-parse-state): Amend to deal with all the new variables.
Alan Mackenzie's avatar
Alan Mackenzie committed
648 649 650

	* progmodes/cc-defs.el (c-<-as-paren-syntax, c-mark-<-as-paren)
	(c->-as-paren-syntax, c-mark->-as-paren, c-unmark-<->-as-paren):
Stefan Monnier's avatar
Stefan Monnier committed
651 652
	modify to use category text properties rather than syntax-table ones.
	(c-suppress-<->-as-parens, c-restore-<->-as-parens): New defsubsts
Alan Mackenzie's avatar
Alan Mackenzie committed
653 654 655 656 657 658 659
	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.
Stefan Monnier's avatar
Stefan Monnier committed
660
	(c-comment-out-cpps, c-uncomment-out-cpps): Defsubsts which
Alan Mackenzie's avatar
Alan Mackenzie committed
661 662 663 664 665 666 667
	"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".

668 669 670 671
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
672 673 674 675 676 677 678 679 680 681 682
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.

683 684
2009-12-03  Dan Nicolaescu  <dann@ics.uci.edu>

685 686 687 688 689 690 691 692 693
	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.

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

696 697 698 699 700 701
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'.

702 703 704 705 706 707 708 709 710 711
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.

712 713 714 715 716 717
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
718 719
2009-12-03  Stefan Monnier  <monnier@iro.umontreal.ca>

720 721 722 723
	* progmodes/make-mode.el (makefile-special-targets-list): No need for
	it to be an alist any more.
	(makefile-complete): Use completion-in-region.

724 725 726
	* progmodes/octave-mod.el (octave-complete-symbol):
	Use completion-in-region.

Stefan Monnier's avatar
Stefan Monnier committed
727 728 729 730 731 732 733 734 735 736 737 738 739 740 741 742 743 744 745 746 747 748 749 750 751 752 753 754
	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'.

755 756 757 758
2009-12-03  Juanma Barranquero  <lekktu@gmail.com>

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

759 760 761 762 763
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.

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

789 790 791 792 793
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
794 795 796 797 798 799 800 801 802
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.

803 804
2009-12-02  Glenn Morris  <rgm@gnu.org>

805 806
	* mail/rmail.el (rmail-pop-to-buffer): New function.  (Bug#2282)
	(rmail-select-summary): Use rmail-pop-to-buffer.
807 808
	* mail/rmailsum.el: Replace all pop-to-buffer calls with
	rmail-pop-to-buffer, to prevent horizontal splits.
809

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

815 816 817 818 819
2009-12-02  Michael Welsh Duggan  <mwd@cert.org>

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

820 821 822 823 824
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)

825 826 827 828 829
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.

830 831 832 833 834 835
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.

836 837
2009-12-01  Stefan Monnier  <monnier@iro.umontreal.ca>

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

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

844 845 846
	* pcmpl-unix.el (pcomplete/cd): Complete more than one argument, just
	in case.

847 848 849
	* pcomplete.el (pcomplete-std-complete): Don't try to complete past
	the last element.

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

852 853 854 855
2009-12-01  Glenn Morris  <rgm@gnu.org>

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

856 857 858 859
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
860 861 862 863
2009-12-01  Glenn Morris  <rgm@gnu.org>

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

Stefan Monnier's avatar
Stefan Monnier committed
864 865 866 867
2009-12-01  Stefan Monnier  <monnier@iro.umontreal.ca>

	* mpc.el: New file.

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

870 871
	* window.el (window-to-use): Define for compiler.

872 873 874
	* emacs-lisp/bytecomp.el (byte-compile-save-excursion): Make message
	consistent with others (no final period).

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

878 879 880
2009-12-01  Dan Nicolaescu  <dann@ics.uci.edu>

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

883 884 885 886 887
2009-11-30  Ryan C. Thompson  <rct@thompsonclan.org>  (tiny change)

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

888 889 890 891 892 893 894 895
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.

896 897 898 899
2009-11-30  Dan Nicolaescu  <dann@ics.uci.edu>

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

900 901 902 903 904 905 906 907
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)

908 909 910 911 912 913 914 915 916 917
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
918 919 920 921 922 923 924 925 926 927 928
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
929 930 931 932 933 934 935 936 937 938 939 940 941
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)

942 943 944 945 946 947 948 949 950
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)

951 952 953 954 955 956 957 958
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)

959 960
2009-11-30  Stefan Monnier  <monnier@iro.umontreal.ca>

961 962 963 964 965 966 967 968 969
	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.

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

973 974 975 976 977 978 979 980
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.

981 982 983 984
2009-11-29  Juri Linkov  <juri@jurta.org>

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

987 988 989 990 991 992 993 994 995 996
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'.

997 998 999 1000
2009-11-29  Michael Albinus  <michael.albinus@gmx.de>

	Improve integration of Tramp and ange-ftp in eshell.

Glenn Morris's avatar
Glenn Morris committed
1001
	* eshell/em-unix.el (eshell/whoami): Make it a defun but a defalias.
1002 1003 1004 1005 1006 1007 1008 1009 1010 1011 1012 1013 1014 1015 1016 1017 1018 1019
	(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'.

1020 1021
2009-11-28  Stefan Monnier  <monnier@iro.umontreal.ca>

1022 1023 1024 1025 1026 1027 1028 1029 1030
	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.

1031 1032 1033
	* 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).

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

1036 1037 1038 1039 1040 1041
	* 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).

1042 1043
2009-11-27  Stefan Monnier  <monnier@iro.umontreal.ca>

1044 1045 1046 1047 1048 1049
	* 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.

1050 1051 1052
	* progmodes/gud.el (gud-basic-call): Don't only save the buffer but
	the excursion as well.

1053 1054 1055 1056 1057 1058
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".

1059 1060 1061 1062 1063 1064
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.

1065 1066
2009-11-27  Stefan Monnier  <monnier@iro.umontreal.ca>

1067 1068
	* help.el (describe-bindings-internal): Remove `interactive'.

1069 1070 1071
	* 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.
1072 1073
	Remove `process-connection-type' binding since it's unused by
	call-process.
1074 1075 1076
	Provide completion for the "<section> <name>" format as well.
	(Man-default-man-entry): Remove spurious var shadowing the argument.

1077 1078 1079 1080 1081
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.

1082 1083 1084 1085
	* 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.)

1086 1087 1088 1089 1090 1091 1092 1093 1094 1095 1096 1097 1098 1099 1100 1101 1102 1103 1104 1105 1106
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
1107 1108 1109 1110 1111 1112 1113 1114 1115 1116
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.

1117 1118 1119 1120
2009-11-26  Stefan Monnier  <monnier@iro.umontreal.ca>

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

1121 1122 1123 1124
2009-11-26  Dan Nicolaescu  <dann@ics.uci.edu>

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

1125 1126 1127 1128 1129 1130 1131 1132 1133 1134 1135
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)
1136 1137
	(verilog-delete-empty-auto-pair, verilog-library-filenames):
	Fix AUTOINSERTLISP to support insert-file.  Reported by Clay Douglass.
1138 1139

	(verilog-auto-inst, verilog-auto-star-safe)
1140 1141
	(verilog-delete-auto-star-implicit, verilog-read-sub-decls):
	Fix removing "// Interfaces" when saving .* expansions.  Reported by
1142 1143
	Pierre-David Pfister.

1144 1145
2009-11-26  Glenn Morris  <rgm@gnu.org>

1146 1147
	* eshell/em-dirs.el (eshell/cd): Don't throw to a tag outside
	the scope.
1148

1149 1150 1151 1152 1153
2009-11-25  Johan Bockgård  <bojohan@gnu.org>

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

1154 1155 1156 1157 1158
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
1159 1160 1161 1162
	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.
1163

1164 1165
	* arc-mode.el: Add "Keywords: files", so the details in its
	commentary can be reached from finder-by-keyword.
1166 1167 1168
	* 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.
1169
	* textmodes/bibtex-style.el: Add "Keywords: tex".
Glenn Morris's avatar
Glenn Morris committed
1170 1171
	* international/isearch-x.el, international/ja-dic-cnv.el:
	* international/ja-dic-utl.el, international/kkc.el:
1172
	Add "Keywords: i18n", so they can be reached from finder-by-keyword.
1173

1174 1175 1176 1177 1178
2009-11-25  Juri Linkov  <juri@jurta.org>

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

1179 1180 1181 1182 1183 1184 1185 1186 1187 1188 1189 1190 1191 1192 1193 1194
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'.

1195 1196 1197 1198 1199
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)

1200 1201 1202 1203 1204 1205 1206 1207 1208 1209 1210 1211 1212 1213 1214 1215 1216 1217 1218 1219 1220 1221 1222 1223
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'.

1224 1225 1226 1227 1228 1229 1230 1231 1232 1233 1234 1235 1236 1237 1238 1239 1240
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'.

1241 1242 1243 1244 1245 1246 1247 1248 1249 1250 1251 1252 1253 1254 1255 1256 1257 1258 1259 1260 1261 1262 1263 1264 1265 1266 1267 1268 1269
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'.

1270 1271 1272 1273 1274 1275 1276
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.

1277 1278
2009-11-25  Stefan Monnier  <monnier@iro.umontreal.ca>

1279 1280
	* progmodes/meta-mode.el (meta-complete-symbol):
	* progmodes/etags.el (complete-tag):
1281 1282 1283
	* mail/mailabbrev.el (mail-abbrev-complete-alias):
	Use completion-in-region.

1284 1285 1286 1287
	* dabbrev.el (dabbrev--minibuffer-origin): Use minibuffer-selected-window.
	(dabbrev-completion): Use completion-in-region.
	(dabbrev--abbrev-at-point): Simplify regexp.

1288 1289 1290
	* abbrev.el (abbrev--before-point): Use word-motion functions
	if :regexp is not specified (bug#5031).

1291 1292
	* subr.el (string-prefix-p): New function.

1293 1294 1295
	* man.el (Man-completion-cache): New var.
	(Man-completion-table): Use it.

1296 1297 1298
	* vc.el (vc-print-log-internal): Make `limit' optional for better
	compatibility (e.g. with vc-annotate.el).

1299 1300
2009-11-24  Kevin Ryde  <user42@zip.com.au>

1301
	* emacs-lisp/checkdoc.el (checkdoc-proper-noun-regexp):
1302
	Build value with regexp-opt instead of explicit joining loop.  (Bug#4927)
1303

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

1307 1308 1309 1310
2009-11-24  Markus Triska  <markus.triska@gmx.at>

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

1311 1312
2009-11-24  Stefan Monnier  <monnier@iro.umontreal.ca>

1313 1314 1315 1316 1317 1318 1319 1320
	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.

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

1324 1325 1326
	* man.el (Man-completion-table): New function.
	(man): Use it.

1327 1328
2009-11-24  David Reitter  <david.reitter@gmail.com>

1329
	* vc-git.el (vc-git-registered): Use checkout directory (where
1330 1331 1332
	.git is) rather than the file's directory and a relative path spec
	to work around a bug in git.

1333 1334 1335 1336 1337 1338 1339 1340
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'.

1341 1342
	* eshell/esh-ext.el (eshell-search-path):
	Use `eshell-parse-colon-path'.
1343 1344 1345
	(eshell-remote-command): Remove argument HANDLER.
	(eshell-external-command): Check for FTP remote connection.

1346 1347 1348 1349
	* 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.
1350

1351 1352
	* eshell/em-cmpl.el (eshell-complete-commands-list):
	Use `eshell-parse-colon-path'.
1353 1354 1355 1356 1357 1358

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

1359 1360 1361
2009-11-24  Tassilo Horn  <tassilo@member.fsf.org>

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

1364
2009-11-24  Michael Kifer  <kifer@cs.stonybrook.edu>
1365

1366 1367
	* ediff-vers.el (ediff-rcs-get-output-buffer): Revert the change
	made on 2009-11-22.
1368

1369 1370 1371 1372 1373
2009-11-24  Glenn Morris  <rgm@gnu.org>

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

1374 1375 1376
	* cedet/semantic/idle.el (global-semantic-idle-scheduler-mode):
	Move after definition of global-semantic-idle-tag-highlight-mode.

1377 1378 1379 1380
2009-11-24  Stefan Monnier  <monnier@iro.umontreal.ca>

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

1381 1382 1383 1384 1385 1386 1387 1388
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.

1389 1390 1391 1392
2009-11-23  Juri Linkov  <juri@jurta.org>

	Implement DocView Continuous mode.  (Bug#4896)
	* doc-view.el (doc-view-continuous-mode): New defcustom.
1393 1394 1395
	(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'.
1396