ChangeLog 80.1 KB
Newer Older
1 2 3 4 5 6 7 8 9 10
2007-07-12  Paul Pogonyshev  <pogonyshev@gmx.net>

	* progmodes/which-func.el (which-func-modes): Add `python-mode'.

	* progmodes/python.el (python-which-func-length-limit): New var.
	(python-which-func): New function.
	(python-current-defun): Add optional `length-limit' and try to fit
	computed function name to that length.
	(python-mode): Hook `python-which-func' up.

11 12 13 14 15 16 17
2007-07-12  Sean O'Rourke  <sorourke@cs.ucsd.edu>  (tiny change)

	* pcomplete.el (pcomplete-entries): Obey pcomplete-ignore-case.

	* comint.el (comint-dynamic-complete-as-filename):
	Use read-file-name-completion-ignore-case.

Stefan Monnier's avatar
Stefan Monnier committed
18 19
2007-07-12  Stefan Monnier  <monnier@iro.umontreal.ca>

20 21 22
	* comint.el (comint-dynamic-list-filename-completions):
	Use read-file-name-completion-ignore-case.

Stefan Monnier's avatar
Stefan Monnier committed
23 24 25 26 27 28 29 30 31
	* vc-cvs.el: Require CL.
	(vc-cvs-revision-table, vc-cvs-revision-completion-table):
	New functions to provide completion of revision names.

	* vc-cvs.el (vc-functions): Clear up the cache when reloading the file.
	(vc-cvs-annotate-first-line-re): New const.
	(vc-cvs-annotate-process-filter): New fun.
	(vc-cvs-annotate-command): Use them and run the command asynchronously.

32 33 34 35 36 37 38 39 40 41 42 43 44 45 46
2007-07-12  Paul Pogonyshev  <pogonyshev@gmx.net>

	* emacs-lisp/eldoc.el (eldoc-last-data): Revise documentation.
	(eldoc-print-current-symbol-info): Adjust for changed helper
	function signatures.
	(eldoc-get-fnsym-args-string): Add `args' argument.  Use new
	`eldoc-highlight-function-argument'.
	(eldoc-highlight-function-argument): New function.
	(eldoc-get-var-docstring): Format documentation with
	`font-lock-variable-name-face'.
	(eldoc-docstring-format-sym-doc): Add `face' argument and apply it
	where suited.
	(eldoc-fnsym-in-current-sexp): Return a list with argument index.
	(eldoc-beginning-of-sexp): Return number of skipped sexps.

47 48 49 50 51 52 53 54 55 56 57
2007-07-11  Michael Albinus  <michael.albinus@gmx.de>

	* progmodes/compile.el (compilation-start): `start-process' must
	still be redefined when calling `start-process-shell-command'.

	* progmodes/gud.el (gud-file-name): When `default-directory' is a
	remote file name, prepend its remote part to the filename.
	(gud-common-init): When `default-directory' is a remote file name,
	make the filename relative to it.
	Based on a patch by Nick Roberts <nickrob@snap.net.nz>.

58 59 60 61 62 63 64 65 66
2007-07-11  Dan Nicolaescu  <dann@ics.uci.edu>

	* vc-hooks.el (vc-default-mode-line-string): Add a mouse face,
	mouse binding and a tooltip.

2007-07-11  Stefan Monnier  <monnier@iro.umontreal.ca>

	* menu-bar.el (vc-menu-map): New defalias.

Nick Roberts's avatar
Nick Roberts committed
67 68 69 70 71 72
2007-07-10  Jim Meyering  <jim@meyering.net>  (tiny change)

	* emacs-lisp/copyright.el (copyright-current-gpl-version): Set to 3.

	* autoinsert.el (auto-insert-alist): s/2/3/ in the generated comment.

Stefan Monnier's avatar
Stefan Monnier committed
73 74
2007-07-10  Stefan Monnier  <monnier@iro.umontreal.ca>

Stefan Monnier's avatar
Stefan Monnier committed
75 76
	* emacs-lisp/cl.el: Load cl-loaddefs.el quietly.

Stefan Monnier's avatar
Stefan Monnier committed
77 78 79 80 81 82 83
	* vc-arch.el (vc-arch-complete): Remove.
	(vc-arch-revision-completion-table): Use complete-with-action.

	* subr.el (condition-case-no-debug, with-demoted-errors): New macros.
	(complete-with-action): New function.
	(dynamic-completion-table): Use it.

84 85 86 87 88 89 90 91
2007-07-10  Michael Albinus  <michael.albinus@gmx.de>

	* comint.el (make-comint, make-comint-in-buffer)
	(comint-exec-1): Replace `start-process' by `start-file-process'.

	* progmodes/compile.el (compilation-start): Revert redefining
	`start-process'.

92 93
2007-07-10  Stefan Monnier  <monnier@iro.umontreal.ca>

94 95 96 97
	* emacs-lisp/autoload.el (autoload-generate-file-autoloads): Be careful
	with EOLs when generating MD5 checksums.


98 99 100 101 102 103
	* follow.el: Don't change the global map from the follow-mode-map
	defvar, but from the toplevel.  Use easy-menu to unify the Emacs and
	XEmacs code.
	(turn-on-follow-mode, turn-off-follow-mode): Remove interactive spec
	since `follow-mode' should be used instead for that.

104 105 106 107
	* emacs-lisp/easymenu.el (easy-menu-binding): New function.
	(easy-menu-do-define): Use it.
	(easy-menu-do-add-item): Inline into easy-menu-add-item and then remove.

108 109 110 111 112 113
	* progmodes/compile.el (compilation-auto-jump-to-first-error)
	(compilation-auto-jump-to-next): New vars.
	(compilation-auto-jump): New function.
	(compilation-error-properties): Use them to jump to first error.
	(compilation-start): Set the var if requested.

114 115 116
	* emacs-lisp/autoload.el (update-directory-autoloads): Remove
	duplicates without also removing entries from other directories.

Carsten Dominik's avatar
Carsten Dominik committed
117 118 119 120
2007-07-10  Carsten Dominik  <dominik@science.uva.nl>

	* textmodes/org.el (org-agenda-day-view, org-agenda-week-view):
	Remember span as default.
121 122
	(org-columns-edit-value): Rename from `org-column-edit'.
	(org-columns-display-here-title): Rename from
Carsten Dominik's avatar
Carsten Dominik committed
123
	`org-overlay-columns-title'.
124 125 126 127 128 129 130
	(org-columns-remove-overlays): Rename from org-remove-column-overlays.
	(org-columns-get-autowidth-alist): Rename from
	`org-get-columns-autowidth-alist'.
	(org-columns-display-here): Rename from `org-overlay-columns'.
	(org-columns-new-overlay): Rename from `org-new-column-overlay'.
	(org-columns-quit): Rename from `org-column-quit'.
	(org-columns-show-value): Rename from `org-column-show-value'.
Carsten Dominik's avatar
Carsten Dominik committed
131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151
	(org-columns-content, org-columns-widen)
	(org-columns-next-allowed-value)
	(org-columns-edit-allowed, org-columns-store-format)
	(org-columns-uncompile-format, org-columns-redo)
	(org-columns-edit-attributes, org-delete-property)
	(org-set-property, org-columns-update)
	(org-columns-compute, org-columns-eval)
	(org-columns-not-in-agenda, org-columns-compute-all)
	(org-property-next-allowed-value)
	(org-columns-compile-format)
	(org-fill-paragraph-experimental)
	(org-string-to-number, org-property-action)
	(org-columns-move-left, org-columns-new )
	(org-column-number-to-string)
	(org-property-previous-allowed-value)
	(org-at-property-p, org-columns-delete)
	(org-columns-previous-allowed-value)
	(org-columns-move-right, org-columns-narrow)
	(org-property-get-allowed-values)
	(org-verify-version, org-column-string-to-number)
	(org-delete-property-globally): New functions.
152 153 154 155
	(org-columns-current-fmt): Rename from `org-current-columns-fmt'.
	(org-columns-overlays): Rename from `org-column-overlays'.
	(org-columns-map): Rename from `org-column-map'.
	(org-columns-current-maxwidths): Rename from
Carsten Dominik's avatar
Carsten Dominik committed
156 157 158 159 160
	`org-current-columns-maxwidths'.
	(org-columns-begin-marker, org-columns-current-fmt-compiled)
	(org-previous-header-line-format)
	(org-columns-inhibit-recalculation)
	(org-columns-top-level-marker): New variables.
161
	(org-columns-default-format): Rename from `org-default-columns-format'.
Carsten Dominik's avatar
Carsten Dominik committed
162 163
	(org-property-re): New constant.

164
2007-07-10  Guanpeng Xu  <herberteuler@hotmail.com>
Kim F. Storm's avatar
Kim F. Storm committed
165

166
	* subr.el (looking-at-p, string-match-p): New functions.
Kim F. Storm's avatar
Kim F. Storm committed
167

Reiner Steib's avatar
Reiner Steib committed
168 169 170 171 172 173 174
2007-07-09  Reiner Steib  <Reiner.Steib@gmx.de>

	* textmodes/tex-mode.el (tex-fontify-script)
	(tex-font-script-display): New variables to make display of
	superscripts and subscripts customizable.
	(tex-font-lock-suscript, tex-font-lock-match-suscript): Use them.

175 176 177 178 179
2007-07-09  Richard Stallman  <rms@gnu.org>

	* isearch.el (isearch-edit-string): Call to isearch-push-state
	after the search.

180 181 182
2007-07-09  Jan Dj,Ad(Brv  <jan.h.d@swipnet.se>

	* window.el (fit-window-to-buffer): Remove setting of window-min-height
Juanma Barranquero's avatar
Juanma Barranquero committed
183 184
	to 1 as enlarge-window uses the value to resize/shrink windows other
	than WINDOW if needed.
185

186 187 188 189 190 191 192 193
2007-07-08  Katsumi Yamaoka  <yamaoka@jpl.org>

	* cus-start.el (file-coding-system-alist): Fix custom type.

2007-07-08  Chong Yidong  <cyd@stupidchicken.com>

	* longlines.el (longlines-wrap-region): Avoid marking buffer as
	modified.
194 195
	(longlines-auto-wrap, longlines-window-change-function):
	Remove unnecessary calls to set-buffer-modified-p.
196

197 198 199 200
2007-07-08  Katsumi Yamaoka  <yamaoka@jpl.org>

	* cus-start.el (file-coding-system-alist): Fix custom type.

201 202 203 204 205
2007-07-08  Stefan Monnier  <monnier@iro.umontreal.ca>

	* vc-cvs.el (vc-cvs-revert): Use vc-default-revert.
	(vc-cvs-checkout): Remove last arg now unused; simplify.

206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233
2007-07-08  Michael Albinus  <michael.albinus@gmx.de>

	* files.el (file-remote-p): Introduce optional parameter CONNECTED.

	* net/tramp.el:
	* net/tramp-ftp.el:
	* net/tramp-smb.el:
	* net/tramp-uu.el:
	* net/trampver.el: Migrate to Tramp 2.1.

	* net/tramp-cache.el:
	* net/tramp-fish.el:
	* net/tramp-gw.el: New Tramp packages.

	* net/tramp-util.el:
	* net/tramp-vc.el: Removed.

	* net/ange-ftp.el: Add ange-ftp property to 'start-file-process
	(ange-ftp-file-remote-p): Handle optional parameter CONNECTED.

	* net/rcompile.el (remote-compile): Handle Tramp 2.1 arguments.

	* progmodes/compile.el (compilation-start): Redefine
	`start-process' temporarily when `default-directory' is remote.
	Remove case of synchronous compilation, this won't happen ever.
	(compilation-setup): Make local variable `comint-file-name-prefix'
	for remote compilation.

234 235 236 237 238 239 240 241 242
2007-07-08  Martin Rudalics  <rudalics@gmx.at>

	* novice.el (disabled-command-function): Fit window to buffer to
	make last line visible.
	Reported by Stephen Berman <Stephen.Berman at gmx.net>.

	* mouse.el (mouse-drag-track): Reset transient-mark-mode to nil
	when handling the terminating event.

243 244 245 246 247
2007-07-07  Jay Belanger  <jay.p.belanger@gmail.com>

	* calc/calc.el (math-read-number-simple): Remove leading 0s.
	(math-bignum-digit-length): Change to optimal value.

248 249 250
	* calc/calc-bin.el (math-bignum-logb-digit-size)
	(math-bignum-digit-power-of-two): Evaluate when compiled.

251
	* calc/calc-comb.el (math-small-factorial-table)
Juanma Barranquero's avatar
Juanma Barranquero committed
252
	(math-init-random-base, math-prime-test): Remove unnecessary calls
253 254
	to `math-read-number-simple'.

Juanma Barranquero's avatar
Juanma Barranquero committed
255
	* calc/calc-ext.el (math-approx-pi, math-approx-sqrt-e)
256 257 258 259
	(math-approx-gamma-const): Add docstrings.

	* calc/calc-forms.el (math-julian-date-beginning)
	(math-julian-date-beginning-int) New constants.
Juanma Barranquero's avatar
Juanma Barranquero committed
260
	(math-format-date-part, math-parse-standard-date, calcFunc-julian):
261 262 263 264
	Use the new constants.

	* calc/calc-funcs.el (math-gammap1-raw): Add docstring.

Juanma Barranquero's avatar
Juanma Barranquero committed
265 266
	* calc/calc-math.el (math-approx-ln-10, math-approx-ln-2):
	Add docstrings.
267

268 269 270 271 272
2007-07-07  Tom Tromey  <tromey@redhat.com>

	* vc.el (vc-annotate): Jump to line and output message only after the
	process is really all done.

273 274 275 276 277 278 279 280 281
2007-07-07  Stefan Monnier  <monnier@iro.umontreal.ca>

	* vc.el (vc-exec-after): Don't move point from the sentinel.
	Forcefully read all the remaining text in the pipe upon process exit.
	(vc-annotate-display-autoscale, vc-annotate-lines):
	Don't stop at the first unrecognized line.
	(vc-annotate-display-select): Run autoscale after the process is done
	since it depends on the whole result.

Eli Zaretskii's avatar
Eli Zaretskii committed
282 283 284 285 286
2007-07-07  Eli Zaretskii  <eliz@gnu.org>

	* term/w32-win.el (menu-bar-open): New function.
	Bind <f10> to it.

287 288 289 290
2007-07-07  Michael Albinus  <michael.albinus@gmx.de>

	* simple.el (start-file-process): New defun.

291 292
2007-07-07  Stefan Monnier  <monnier@iro.umontreal.ca>

293 294 295
	* files.el (find-file-confirm-nonexistent-file): Rename from
	find-file-confirm-inexistent-file.  Update users.

296 297 298 299 300 301 302 303
	* emacs-lisp/autoload.el (autoload-find-destination): Understand a new
	format of autoload block where the file's time-stamp is replaced by its
	MD5 checksum.
	(autoload-generate-file-autoloads): Use MD5 checksum instead of
	time-stamp for secondary autoloads files.
	(update-directory-autoloads): Remove duplicate entries.
	Use time-less-p for time-stamps, as done in autoload-find-destination.

304 305 306 307 308
2007-07-07  Jay Belanger  <jay.p.belanger@gmail.com>

	* calc/calc.el (math-read-number): Replace number by variable.
	(math-read-number-simple): Properly parse small integers.

309 310 311 312
2007-07-07  Dan Nicolaescu  <dann@ics.uci.edu>

	* vc.el: Fix doc for the checkout function.

Dan Nicolaescu's avatar
Dan Nicolaescu committed
313 314 315 316 317 318 319 320 321 322
2007-07-06  Dan Nicolaescu  <dann@ics.uci.edu>

	* vc-hg.el (vc-hg-root): New function.
	(vc-hg-registered): Use it.
	(vc-hg-diff-tree): New defalias.
	(vc-hg-responsible-p): Likewise.
	(vc-hg-checkout): Comment out, not needed.
	(vc-hg-delete-file, vc-hg-rename-file, vc-hg-could-register)
	(vc-hg-find-version, vc-hg-next-version): New functions.

323 324 325 326 327 328
2007-07-06  Andreas Schwab  <schwab@suse.de>

	* emacs-lisp/lisp-mode.el (eval-last-sexp): Avoid introducing any
	dynamic bindings around the evaluation of the expression.
	Reported by Jay Belanger <jay.p.belanger@gmail.com>.

329 330 331 332 333 334
2007-07-06  Stefan Monnier  <monnier@iro.umontreal.ca>

	* autorevert.el (auto-revert-tail-handler): Use inhibit-read-only.
	Run before-revert-hook.  Suggested by Denis Bueno <denbuen@sandia.gov>.
	Use run-hooks rather than run-mode-hooks.

335 336 337 338 339 340 341 342
2007-07-05  Jay Belanger  <jay.p.belanger@gmail.com>

	* calc/calc-comb.el (math-random-digit): Rename to
	`math-random-three-digit-number'.
	(math-random-digits): Don't depend on representation of integer.

	* calc/calc-bin.el (math-bignum-logb-digit-size)
	(math-bignum-digit-power-of-two): New constants.
Juanma Barranquero's avatar
Juanma Barranquero committed
343 344
	(math-and-bignum, math-or-bignum, math-xor-bignum, math-diff-bignum)
	(math-not-bignum, math-clip-bignum): Use the constants
345 346 347 348
	`math-bignum-digit-power-of-two' and `math-bignum-logb-digit-size'
	instead of their values.
	(math-clip): Use math-small-integer-size instead of its value.

349 350
	* calc/calc.el (math-add-bignum): Replace number by constant.

351 352
2007-07-05  Chong Yidong  <cyd@stupidchicken.com>

353 354
	* wid-edit.el (widget-documentation-string-value-create):
	Insert indentation spaces.
355

Thien-Thi Nguyen's avatar
Thien-Thi Nguyen committed
356 357 358 359
2007-07-05  Thien-Thi Nguyen  <ttn@gnuvola.org>

	* emacs-lisp/byte-opt.el: Revert last change.

360 361 362 363 364 365
2007-07-05  Dan Nicolaescu  <dann@ics.uci.edu>

	* vc-hooks.el (vc-handled-backends): Add HG.

	* vc-hg.el (vc-handled-backends): Remove, done in vc-hooks.el now.

366 367 368 369 370
2007-07-05  Stefan Monnier  <monnier@iro.umontreal.ca>

	* complete.el (PC-do-complete-and-exit): Add support for the new
	`confirm-only' confirmation mode.

371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397
2007-07-05  Chong Yidong  <cyd@stupidchicken.com>

	* cus-edit.el (custom-commands): New variable.
	(custom-tool-bar-map): New variable.  Initialize using
	`custom-commands'.
	(custom-mode): Use `custom-tool-bar-map'.
	(custom-buffer-create-internal): Insert action buttons only if
	tool bar is not used.  Use `custom-commands'.
	(Custom-help, custom-command-apply): New function.
	(custom-command-apply, Custom-set, Custom-save)
	(Custom-reset-current, Custom-reset-saved, Custom-reset-standard):
	Use `custom-command-apply' instead of duplicating code.
	(customize-group-other-window): Call `customize-group' instead of
	duplicating code.
	(customize-face-other-window): Call `customize-face' instead of
	duplicating code.
	(customize-group, customize-face): Add optional args for opening
	in another window.
	(custom-variable-tag): Don't inherit `variable-pitch' face.
	(custom-group-tag): Inherit `variable-pitch' face.
	(custom-variable-value-create): Set documentation indentation.
	(custom-group-value-create): Make group name a link, instead of
	using an extra "go to group" button.
	(custom-prompt-variable, custom-group-set, custom-group-save)
	(custom-group-reset-current, custom-group-reset-saved)
	(custom-group-reset-standard): Minor cleanup.

398 399 400 401 402
2007-07-05  Thien-Thi Nguyen  <ttn@gnuvola.org>

	* Makefile.in (bootstrap-prepare): When copying from
	ldefs-boot.el, make sure loaddefs.el is writeable.

403 404 405
	(bootstrap-prepare): Make $(lisp)/ps-print.el
	and $(lisp)/emacs-lisp/cl-loaddefs.el writable, as well.

406 407 408 409 410 411
2007-07-05  Dan Nicolaescu  <dann@ics.uci.edu>

	* vc-hg.el (vc-hg-internal-status): Inline in `vc-hg-state', the
	only caller, and delete.
	(vc-hg-state): Deal with exceptions and only parse the output on
	successful return.
Dan Nicolaescu's avatar
Dan Nicolaescu committed
412 413
	(vc-hg-internal-log): Inline in `vc-hg-workfile-version', the only
	caller, and delete.
414 415
	(vc-hg-workfile-version): Deal with exceptions and only parse the
	output on successful return.
Dan Nicolaescu's avatar
Dan Nicolaescu committed
416
	(vc-hg-revert): New function.
417

418 419 420 421 422
2007-07-04  Jay Belanger  <jay.p.belanger@gmail.com>

	* calculator.el (calculator-expt): Use more cases to determine
	the value.

Miles Bader's avatar
Miles Bader committed
423
2007-07-03  Dan Nicolaescu  <dann@ics.uci.edu>
Kim F. Storm's avatar
Kim F. Storm committed
424

Miles Bader's avatar
Miles Bader committed
425 426
	* progmodes/gud.el (auto-mode-alist): Match more valid gdb init
	file names.
Kim F. Storm's avatar
Kim F. Storm committed
427

428 429 430 431 432 433 434 435 436 437
2007-07-03  Jay Belanger  <jay.p.belanger@gmail.com>

	* calculator.el (calculator-expt, calculator-integer-p):
	New functions.
	(calculator-fact): Check to see if the factorial will be too
	large before computing it.
	(calculator-initial-operators): Use `calculator-expt' to
	compute "^".
	(calculator-mode): Mention that results which are too large
	will return inf.
438 439
	* calc/calc-comb.el (math-small-factorial-table): Replace list
	by vector.
440

441 442 443 444 445 446
2007-07-03  David Kastrup  <dak@gnu.org>

	* shell.el: On request of the authors, remove their addresses for
	the sake of bug reports, and add the developer list address as
	maintainer information.

447 448 449 450 451 452 453 454 455 456 457
2007-07-03  Richard Stallman  <rms@gnu.org>

	* files.el (make-directory): Doc fix.
	(find-file-confirm-inexistent-file): Make it a defcustom.
	Make nil the default.

2007-07-02  Richard Stallman  <rms@gnu.org>

	* startup.el (command-line): Set buffer-offer-save in *scratch*
	and enable auto-save in it.

Carsten Dominik's avatar
Carsten Dominik committed
458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 487 488 489 490 491 492 493 494 495 496 497 498 499 500
2007-07-02  Carsten Dominik  <dominik@science.uva.nl>

	* textmodes/org.el (orgstruct-mode-map): New variable.
	(orgstruct-mode): New minor mode.
	(turn-on-orgstruct, orgstruct-error, orgstruct-setup)
	(orgstruct-make-binding, org-context-p, org-get-local-variables)
	(org-run-like-in-org-mode): New functions.
	(org-cycle-list-bullet): New command.
	(org-special-properties, org-property-start-re)
	(org-property-end-re): New constants.
	(org-with-point-at): New macro.
	(org-get-property-block, org-entry-properties, org-entry-get)
	(org-entry-delete, org-entry-get-with-inheritance)
	(org-entry-put, org-buffer-property-keys): New functions.
	(org-insert-property-drawer): New command.
	(org-entry-property-inherited-from): New variable.
	(org-column): New face.
	(org-column-overlays, org-current-columns-fmt)
	(org-current-columns-maxwidths, org-column-map): New variables.
	(org-column-menu): New menu.
	(org-new-column-overlay, org-overlay-columns)
	(org-overlay-columns-title, org-remove-column-overlays)
	(org-column-show-value, org-column-quit, org-column-edit): New
	functions.
	(org-columns, org-agenda-columns): New commands.
	(org-get-columns-autowidth-alist): New functions.
	(org-properties): New customize group.
	(org-default-columns-format): New option.
	(org-priority): Realign tags after changing priority.
	(org-preserve-lc): New macro.
	(org-update-checkbox-count): Catch case when there is no headline.
	(org-agenda-quit): Remove any column overlays.
	(org-beginning-of-item-list): Fixed bug when non-item line is
	indented too deep.
	(org-cached-props): New variable.
	(org-cached-entry-get): New function.
	(org-make-tags-matcher): Handle property matches.
	(org-table-recalculate): Swap evaluation order: Field formula
	first, then column formulas, but don't allow them to overwrite the
	field formulas.
	(org-table-eval-formula): New argument untouchable.
	(org-table-put-field-property): New function.

501 502
2007-07-02  Martin Rudalics  <rudalics@gmx.at>

Juanma Barranquero's avatar
Juanma Barranquero committed
503
	* help-mode.el (help-make-xrefs): Skip spaces too when
504 505 506 507 508
	skipping tabs.

	* ffap.el (dired-at-point-prompter): Improve prompt in
	list-directory case.

Miles Bader's avatar
Miles Bader committed
509
2007-07-01  Richard Stallman  <rms@gnu.org>
Kim F. Storm's avatar
Kim F. Storm committed
510

Miles Bader's avatar
Miles Bader committed
511
	* files.el (find-file-visit-truename): Fix safe-local-variable value.
Kim F. Storm's avatar
Kim F. Storm committed
512

513 514 515 516 517 518 519
2007-07-01  Richard Stallman  <rms@gnu.org>

	* cus-start.el (max-mini-window-height): Added.

2007-07-01  Sean O'Rourke  <sorourke@cs.ucsd.edu>  (tiny change)

	* complete.el (partial-completion-mode): Remove advice of
520
	read-file-name-internal.
521 522 523 524
	(PC-do-completion): Rebind minibuffer-completion-table.
	(PC-read-file-name-internal): New function doing what
	read-file-name-internal advice did.

525 526 527 528 529 530 531 532
2007-07-01  Paul Pogonyshev  <pogonyshev@gmx.net>

	* emacs-lisp/byte-opt.el: Set `binding-is-magic'
	property on a few symbols.
	(byte-compile-side-effect-free-dynamically-safe-ops): New defconst.
	(byte-optimize-lapcode): Remove bindings that are not referenced
	and certainly will not effect through dynamic scoping.

533 534 535 536 537 538 539
2007-07-01  Stefan Monnier  <monnier@iro.umontreal.ca>

	* files.el (find-file-confirm-inexistent-file): New var.
	(find-file, find-file-other-window, find-file-other-frame)
	(find-file-read-only, find-file-read-only-other-window)
	(find-file-read-only-other-frame): Use it.

540 541 542 543
2007-06-30  Stefan Monnier  <monnier@iro.umontreal.ca>

	* emacs-lisp/rx.el (rx-constituents): Fix up `anything'.

544 545 546 547 548 549 550
2007-06-29  Juanma Barranquero  <lekktu@gmail.com>

	* generic-x.el (generic-define-mswindows-modes)
	(generic-define-unix-modes, apache-log-generic-mode)
	(bat-generic-mode-keymap, java-manifest-generic-mode)
	(show-tabs-generic-mode): Fix typos in docstrings.

551 552 553
2007-06-29  Ryan Yeske  <rcyeske@gmail.com>

	* net/rcirc.el (rcirc-server-alist): Rename from rcirc-connections.
554
	(rcirc-default-full-name): Rename from rcirc-default-user-full-name.
555 556 557
	(rcirc-clear-activity): Make sure RCIRC-ACTIVITY isn't modified.
	(rcirc-print): Never ignore messages from ourself.

558 559 560 561 562
2007-06-29  Stefan Monnier  <monnier@iro.umontreal.ca>

	* font-lock.el (lisp-font-lock-keywords-2): Recognize the new \(?1:..\)
	syntax as well.  Reported by Juri Linkov <juri@jurta.org>.

563 564 565 566 567
2007-06-28  Jan Dj,Ad(Brv  <jan.h.d@swipnet.se>

	* dnd.el (dnd-get-local-file-name): Set fixcase to t in call to
	replace-regexp-in-string.

568 569 570 571 572
2007-06-28  Stefan Monnier  <monnier@iro.umontreal.ca>

	* emacs-lisp/cl.el: Set edebug and indentation before loading
	cl-loaddefs.el so that its use of dolist doesn't load cl-macs.

573 574 575 576 577
2007-06-28  Andreas Schwab  <schwab@suse.de>

	* Makefile.in ($(lisp)/mh-e/mh-loaddefs.el): Depend on
	$(lisp)/subdirs.el.

578 579 580 581 582 583 584
2007-06-28  Juanma Barranquero  <lekktu@gmail.com>

	* speedbar.el (speedbar-handle-delete-frame): Don't try to delete
	the speedbar frame if nil; that deletes the current frame or
	causes an error if it is the only frame.
	Reported by Angelo Graziosi <Angelo.Graziosi@roma1.infn.it>.

Thien-Thi Nguyen's avatar
Thien-Thi Nguyen committed
585 586 587 588 589 590 591 592
2007-06-28  Kevin Ryde  <user42@zip.com.au>

	* textmodes/nroff-mode.el: Groff \# comments.
	(nroff-mode-syntax-table): \# comment intro,
	plain # as punct per global table.
	(nroff-font-lock-keywords): Add # as a single char escape.
	(nroff-mode): In comment-start-skip, match \#.

593 594 595 596 597 598
2007-06-28  Stefan Monnier  <monnier@iro.umontreal.ca>

	* vc-bzr.el (vc-functions): Clear up the cache when reloading the file.
	(vc-bzr-workfile-version, vc-bzr-could-register): Don't hardcode
	point-min == 1.

Nick Roberts's avatar
Nick Roberts committed
599 600
2007-06-28  Nick Roberts  <nickrob@snap.net.nz>

601 602
	* pcvs-util.el (cvs-strings->string, cvs-string->strings):
	Rename and move to...
Nick Roberts's avatar
Nick Roberts committed
603 604 605 606 607 608 609 610 611

	* subr.el (strings->string, string->strings): ...here.

	* pcvs.el (cvs-reread-cvsrc, cvs-header-msg, cvs-checkout)
	(cvs-mode-checkout, cvs-execute-single-file): Use new function names.

	* progmodes/gud.el (gud-common-init): Call string->strings instead
	of split-string.

612 613 614 615 616 617 618 619 620 621
2007-06-27  Michael Albinus  <michael.albinus@gmx.de>

	* dired-aux.el: Remove `dired-call-process'.
	(dired-check-process): Call `process-file'.

	* wdired.el (wdired-do-perm-changes): Call `process-file'.

	* net/ange-ftp.el (ange-ftp-dired-call-process): Reimplement it as
	`ange-ftp-process-file'.

622 623
2007-06-27  Stefan Monnier  <monnier@iro.umontreal.ca>

624 625 626 627 628 629 630 631 632
	* emacs-lisp/cl.el: Use cl-loaddefs.el rather than manual autoloads.

	* emacs-lisp/cl-extra.el:
	* emacs-lisp/cl-seq.el:
	* emacs-lisp/cl-macs.el: Set generated-autoload-file to cl-loaddefs.el.
	Add autoload cookies on all defs autoloaded manually in cl.el.

	* emacs-lisp/cl-loaddefs.el: New file.

633 634 635 636 637 638 639 640 641 642 643
	* textmodes/texinfmt.el (texinfo-raisesections-alist)
	(texinfo-lowersections-alist): Merge definition and declaration.
	(texinfo-start-of-header, texinfo-end-of-header): Remove.
	(texinfo-format-syntax-table): Merge init into declaration.
	(texinfo-format-parse-line-args, texinfo-format-parse-args)
	(texinfo-format-parse-defun-args, texinfo-format-node)
	(texinfo-push-stack, texinfo-multitable-widths)
	(texinfo-define-info-enclosure, texinfo-alias)
	(texinfo-format-defindex, batch-texinfo-format): Use push.
	(texinfo-footnote-number): Remove duplicate declaration.

644 645
	* ps-print.el: Update with auto-generated autoloads.

646 647
	* ps-mule.el: Set generated-autoload-file to "ps-print.el".

648 649
2007-06-26  Stefan Monnier  <monnier@iro.umontreal.ca>

650 651 652 653 654 655 656 657
	* emacs-lisp/autoload.el (autoload-generated-file): Interpret names
	relative to current dir for file-local settings.
	(autoload-generate-file-autoloads): Add `outfile' arg.
	(update-directory-autoloads): Use it to directly call
	autoload-generate-file-autoloads instead of going through
	update-file-autoloads so we avoid redundant searches and so we can know
	the set of buffers changed so we can save them all.

658 659 660 661 662 663 664 665 666 667 668 669
	* emacs-lisp/autoload.el (autoload-find-destination): Return nil
	rather than throwing `up-to-date'.
	(autoload-generate-file-autoloads): Adjust correspondingly.
	(update-file-autoloads): Be careful to let-bind
	autoload-modified-buffers and adjust to new calling conventions.
	(autoload-modified-buffers): Make it a dynamically scoped var.
	(update-directory-autoloads): Use file-relative-name instead of
	autoload-trim-file-name.
	(autoload-insert-section-header): Don't use autoload-trim-file-name
	since the file is already relative now.
	(autoload-trim-file-name): Remove.

670 671 672 673 674 675 676 677
	* vc-arch.el (vc-arch-add-tagline): Do a slightly cleaner job.
	(vc-arch-complete, vc-arch--version-completion-table)
	(vc-arch-revision-completion-table): New functions to provide
	completion of revision names.
	(vc-arch-trim-find-least-useful-rev, vc-arch-trim-make-sentinel)
	(vc-arch-trim-one-revlib, vc-arch-trim-revlib): New functions
	to let the user trim the revlib.

678 679 680 681 682
	* vc.el: Add new VC operation `revision-completion-table'.
	(vc-default-revision-completion-table): New function.
	(vc-version-diff, vc-version-other-window): Use it to provide
	completion of revision names if the backend provides it.

683 684 685 686 687
	* log-edit.el (log-edit-changelog-entries): Use with-current-buffer.

	* vc-svn.el (vc-svn-repository-hostname): Adjust to non-XML format
	of newer .svn/entries.

David Kastrup's avatar
David Kastrup committed
688 689 690 691 692
2007-06-25  David Kastrup  <dak@gnu.org>

	* calc/calc-poly.el (math-padded-polynomial)
	(math-partial-fractions): Add some function comments.

693 694 695 696 697 698
2007-06-25  Stefan Monnier  <monnier@iro.umontreal.ca>

	* emacs-lisp/autoload.el (autoload-generate-file-autoloads):
	Make `outbuf' optional.
	(update-file-autoloads): Use it.

699 700
2007-06-25  Stefan Monnier  <monnier@iro.umontreal.ca>

701 702 703 704 705
	* emacs-lisp/autoload.el (autoload-modified-buffers): New var.
	(autoload-find-destination): Keep it uptodate.
	(autoload-save-buffers): New fun.
	(update-file-autoloads): Use it.  Re-add the "up to date" message.

706 707 708 709
	* emacs-lisp/autoload.el: Refactor for upcoming changes.
	(autoload-find-destination): New function extracted from
	update-file-autoloads.
	(update-file-autoloads): Use it.
710 711 712 713 714
	(autoload-generate-file-autoloads): New function extracted from
	generate-file-autoloads.  Use file-relative-name.  Delay computation of
	output-start to the first cookie.  Remove done-any, replaced by
	output-start.
	(generate-file-autoloads): Use it.
715

716 717
2007-06-24  Jay Belanger  <jay.p.belanger@gmail.com>

718
	* calc/calc-comb.el (math-init-random-base, math-prime-test):
719 720 721
	Use math-read-number-simple to insert constants.
	(math-prime-test): Redo calculation of sum.

722 723
	* calc/calc-misc.el (math-div2-bignum): Use math-bignum-digit-size.

724
	* calc/calc-math.el (math-scale-bignum-digit-size): Rename from
725 726 727 728 729
	math-scale-bignum-3.
	(math-isqrt-bignum): Use math-scale-bignum-digit-size and
	math-bignum-digit-size.
	(math-isqrt-small): Add another possible initial guess.

Roland Winkler's avatar
Roland Winkler committed
730 731 732 733 734 735 736 737 738 739 740 741
2007-06-23  Roland Winkler  <Roland.Winkler@physik.uni-erlangen.de>

	* textmodes/bibtex.el (bibtex-entry-format): New options
	`whitespace', `braces', and `string'.
	(bibtex-field-braces-alist, bibtex-field-strings-alist)
	(bibtex-field-braces-opt, bibtex-field-strings-opt)
	(bibtex-cite-matcher-alist): New variables.
	(bibtex-font-lock-keywords): Use bibtex-cite-matcher-alist.
	(bibtex-flash-head): Use blink-matching-delay.
	(bibtex-insert-kill, bibtex-mark-entry): Use push-mark.
	(bibtex-format-entry, bibtex-reformat): Handle new options of
	bibtex-entry-format.
742 743
	(bibtex-field-re-init, bibtex-font-lock-cite, bibtex-dist):
	New functions.
Roland Winkler's avatar
Roland Winkler committed
744 745 746 747 748 749 750
	(bibtex-complete-internal): Do not display messages while
	minibuffer is used.  Do not leave around a completions buffer
	that is out of date.
	(bibtex-copy-summary-as-kill): New optional arg.
	(bibtex-font-lock-url): New optional arg no-button.
	(bibtex-find-crossref): Use `bibtex-cite-matcher-alist'.
	(bibtex-url): Allow multiple URLs per entry.
Juanma Barranquero's avatar
Juanma Barranquero committed
751

752 753 754 755 756 757 758 759 760 761
2007-06-23  Stefan Monnier  <monnier@iro.umontreal.ca>

	* emacs-lisp/autoload.el (autoload-generated-file): New function.
	(update-file-autoloads, update-directory-autoloads): Use it.
	(autoload-file-load-name): New function.
	(generate-file-autoloads, update-file-autoloads): Use it.
	(autoload-find-file): Accept non-absolute argument.  Set default-dir.
	(generate-file-autoloads): If the autoloaded form is malformed,
	indicate the problem with a warning instead of aborting.

762 763 764 765 766
2007-06-23  Thien-Thi Nguyen  <ttn@gnuvola.org>

	* simple.el (next-error-recenter): Accept `(4)' as well;
	also, specify `integer' instead of `number'.

Eli Zaretskii's avatar
Eli Zaretskii committed
767 768 769 770 771
2007-06-23  Eli Zaretskii  <eliz@gnu.org>

	* ls-lisp.el (insert-directory): If an invalid regexp error is
	thrown, try using FILE as a literal file name, not a wildcard.

Juanma Barranquero's avatar
Juanma Barranquero committed
772 773 774 775 776
2007-06-23  Juanma Barranquero  <lekktu@gmail.com>

	* ruler-mode.el (ruler-mode): Prevent clobbering the original
	`header-line-format' when reentering ruler mode.

777 778 779
2007-06-23  Eli Zaretskii  <eliz@gnu.org>

	* ls-lisp.el (insert-directory): Don't treat FILE as a wildcard if
Eli Zaretskii's avatar
Eli Zaretskii committed
780
	FILE exists as a file.
781

782 783 784
2007-06-22  Jay Belanger  <jay.p.belanger@gmail.com>

	* calc/calc.el (math-bignum-digit-length)
Juanma Barranquero's avatar
Juanma Barranquero committed
785
	(math-bignum-digit-size, math-small-integer-size):
786
	New constants.
Juanma Barranquero's avatar
Juanma Barranquero committed
787 788 789
	(math-normalize, math-bignum-big, math-make-float)
	(math-div10-bignum, math-scale-left, math-scale-left-bignum)
	(math-scale-right, math-scale-right-bignum, math-scale-rounding)
790
	(math-add, math-add-bignum, math-sub-bignum, math-sub, math-mul)
Juanma Barranquero's avatar
Juanma Barranquero committed
791 792 793
	(math-mul-bignum, math-mul-bignum-digit, math-idivmod)
	(math-quotient, math-div-bignum, math-div-bignum-digit)
	(math-div-bignum-part, math-format-bignum-decimal)
794 795 796
	(math-read-bignum): Use math-bignum-digit-length,
	math-bignum-digit-size and math-small-integer-size.

Jay Belanger's avatar
Jay Belanger committed
797 798 799
	* calc/calc-ext.el (math-fixnum-big): Use the variable
	math-bignum-digit-size.

800 801 802 803
2007-06-23  Dan Nicolaescu  <dann@ics.uci.edu>

	* log-view.el (log-view-mode-menu): New menu.

804 805
2007-06-22  Stefan Monnier  <monnier@iro.umontreal.ca>

806 807 808
	* diff-mode.el (diff-font-lock-keywords): Fix M. Kifer's last change
	differently.

809 810 811
	* vc-hg.el (vc-hg-registered): Add an autoloaded version.
	(vc-hg-log-view-mode): Use log-view-font-lock-keywords.

812 813 814 815 816
2007-06-22  Dan Nicolaescu  <dann@ics.uci.edu>

	* vc-hg.el (vc-hg-print-log): Insert the file name.
	(vc-hg-log-view-mode): Fontify the file name.

817 818
2007-06-22  Jay Belanger  <jay.p.belanger@gmail.com>

Juanma Barranquero's avatar
Juanma Barranquero committed
819 820
	* calc/calc-forms.el (math-format-date-part, calc-parse-standard-date)
	(calcFunc-julian): Fix incorrect number used in calculations.
821

822 823 824 825 826 827
2007-06-22  Thien-Thi Nguyen  <ttn@gnuvola.org>

	* simple.el (next-error-recenter): New defcustom.
	(next-error, next-error-internal): Recenter if specified,
	immediately prior to running `next-error-hook'.

828 829 830
	* progmodes/hideshow.el (hs-show-block): Use line-end-position.
	(hs-hide-block-at-point, hs-hide-comment-region): Likewise.

831 832
	* progmodes/hideshow.el (hs-hide-all): Use progress reporter.

Jay Belanger's avatar
Jay Belanger committed
833 834 835 836 837 838 839
2007-06-22  Jay Belanger  <jay.p.belanger@gmail.com>

	* calc/calc-comb.el (math-small-factorial-table): New variable.
	(calcFunc-fact): Use `math-small-factorial-table'.

	* calc/calc-ext.el (math-defcache): Allow forms to evaluate
	initial values.
Stefan Monnier's avatar
Stefan Monnier committed
840
	(math-approx-pi, math-approx-sqrt-e, math-approx-gamma-const):
Jay Belanger's avatar
Jay Belanger committed
841 842
	New variables to use in caches.

Juanma Barranquero's avatar
Juanma Barranquero committed
843 844
	* calc/calc-forms.el (math-format-date-part, math-parse-standard-date)
	(calcFunc-julian): Use `math-read-number-simple' to insert bignums.
Jay Belanger's avatar
Jay Belanger committed
845

Stefan Monnier's avatar
Stefan Monnier committed
846
	* calc/calc-func.el (math-besJ0, math-besJ1, math-besY0, math-besY1)
Jay Belanger's avatar
Jay Belanger committed
847 848 849 850 851 852
	(math-bernoulli-b-cache): Use math-read-number-simple to insert
	bignums.

	* calc/calc-math.el (math-approx-ln-10, math-approx-ln-2):
	New variables to use in caches.

853 854
2007-06-22  Dan Nicolaescu  <dann@ics.uci.edu>

Stefan Monnier's avatar
Stefan Monnier committed
855
	* vc-bzr.el (vc-bzr-log-view-mode): Add + to the email address regexp.
856

857 858
	* vc-hg.el (vc-hg-log-view-mode): New mode.

859 860 861 862
2007-06-21  Jay Belanger  <jay.p.belanger@gmail.com>

	* calc/calc.el (math-read-number-simple): New function.

Stefan Monnier's avatar
Stefan Monnier committed
863
2007-06-21  Stefan Monnier  <monnier@iro.umontreal.ca>
864 865 866 867

	* vera-mode.el (vera-mode): Fix `commend-end-skip' setting.
	(vera-font-lock-match-item): Fix doc string.
	(vera-in-comment-p): Remove unused function.
Juanma Barranquero's avatar
Juanma Barranquero committed
868
	(vera-skip-forward-literal, vera-skip-backward-literal): Improve code,
869 870 871 872 873 874 875 876
	use `syntax-ppss'.
	(vera-forward-syntactic-ws): Fix argument order.
	(vera-prepare-search): Use `with-syntax-table'.
	(vera-indent-line): Fix doc string.
	(vera-electric-tab): Fix doc string.
	(vera-expand-abbrev): Define alias instead of using `fset'.
	(vera-comment-uncomment-region): Use `comment-start-skip'.

Carsten Dominik's avatar
Carsten Dominik committed
877 878
2007-06-21  Carsten Dominik  <dominik@science.uva.nl>

Juanma Barranquero's avatar
Juanma Barranquero committed
879
	* textmodes/org.el (org-export-with-footnotes): New option.
Stefan Monnier's avatar
Stefan Monnier committed
880
	(org-export-as-html): Fix replacement bug for XEmacs.
881
	(org-agenda-default-appointment-duration): New option.
Carsten Dominik's avatar
Carsten Dominik committed
882

Dan Nicolaescu's avatar
Dan Nicolaescu committed
883 884 885 886 887 888 889 890 891
2007-06-21  Dan Nicolaescu  <dann@ics.uci.edu>

	* vc-hg.el: Add to do items.
	(vc-hg-diff): Add support for comparing different revisions.
	(vc-hg-diff, vc-hg-annotate-command, vc-hg-annotate-time)
	(vc-hg-annotate-extract-revision-at-line)
	(vc-hg-previous-version, vc-hg-checkin): New functions.
	(vc-hg-annotate-re): New constant.

892 893
2007-06-20  Jay Belanger  <jay.p.belanger@gmail.com>

Juanma Barranquero's avatar
Juanma Barranquero committed
894
	* calc/calc.el (math-standard-ops): Fix precedence of multiplication.
895

896 897
2007-06-20  Stefan Monnier  <monnier@iro.umontreal.ca>

898 899 900 901 902 903 904 905 906 907 908 909 910 911 912 913 914 915 916 917
	* log-view.el (log-view-font-lock-keywords): Use `eval' to consult the
	buffer-local value of log-view-*-re if applicable.

	* vc-bzr.el (vc-bzr-dir-state): Use setq rather than set.
	Use vc-bzr-command rather than the ill defined vc-bzr-command*.
	(vc-bzr-command*): Remove both (incompatible) versions.
	(vc-bzr-do-command*): Remove.
	(vc-bzr-with-process-environment, vc-bzr-std-process-invocation):
	Remove by folding into its only caller vc-bzr-command.
	(vc-bzr-command): Always set the environment, even when ineffective.
	(vc-bzr-version): Minor fix up.
	(vc-bzr-admin-dirname): New var.
	(vc-bzr-bzr-dir): Remove.
	(vc-bzr-root-dir): New fun.
	(vc-bzr-registered): Use it.  Add an autoloaded version.
	(vc-bzr-responsible-p): Use vc-bzr-root-dir as well.
	(vc-bzr-view-log-function): Remove.
	(vc-bzr-log-view-mode): New major mode to replace it.
	(vc-bzr-print-log): Only activate the old hack if needed.

918 919 920
	* vc.el (vc-default-log-view-mode): New function.
	(vc-print-log): Add new `log-view-mode' VC operation.

921 922
2007-06-20  Juanma Barranquero  <lekktu@gmail.com>

923 924 925
	* ido.el (ido-find-file-in-dir): Don't signal an error for
	empty directories.

926 927
	* add-log.el (change-log-mode): Set `show-trailing-whitespace'.

928 929 930 931
	* desktop.el (desktop-read): Run `desktop-not-loaded-hook' in the
	directory where the desktop file was found, as the docstring says.
	(desktop-kill): Use `read-directory-name'.

Alan Mackenzie's avatar
Alan Mackenzie committed
932 933 934 935 936
2007-06-20  Alan Mackenzie  <acm@muc.de>

	* progmodes/cc-mode.el (c-remove-any-local-eval-or-mode-variables):
	When removing lines, also remove the \n.  Correction of patch of
	2007-04-21.
937

938 939 940 941 942 943 944 945 946 947
2007-06-20  Martin Rudalics  <rudalics@gmx.at>

	* mouse.el (mouse-drag-mode-line-1): Quit mouse tracking when
	event is not a cons cell.  Do not unread drag-mouse-1 events.
	Select right window in check whether space was stolen from
	window above.

	* help-mode.el (help-make-xrefs): Adjust position of new forward
	button.

948 949 950 951 952 953 954 955 956 957 958 959 960
2007-06-20  Riccardo Murri  <riccardo.murri@gmail.com>

	* vc-bzr.el (vc-bzr-with-process-environment)
	(vc-bzr-std-process-invocation): New macros.
	(vc-bzr-command, vc-bzr-command*): Use them.
	(vc-bzr-with-c-locale): Remove.
	(vc-bzr-dir-state): Replace its use with vc-bzr-command.
	(vc-bzr-buffer-nonblank-p): New function.
	(vc-bzr-state-words): New const.
	(vc-bzr-state): Look for `bzr status` keywords in output.
	Display everything else as a warning message to the user.
	Fix status report with bzr >= 0.15.

961 962 963 964 965 966 967 968
2007-06-20  Dan Nicolaescu  <dann@ics.uci.edu>

	* vc-hg.el (vc-hg-global-switches): Simplify.
	(vc-hg-state): Handle more states.
	(vc-hg-diff): Fix doc-string.
	(vc-hg-register): New function.
	(vc-hg-checkout): Likewise.

969
2007-06-20  Reto Zimmermann  <reto@gnu.org>
970 971 972

	* progmodes/vera-mode.el: New file.

973 974 975 976
2007-06-19  Jay Belanger  <jay.p.belanger@gmail.com>

	* calc/calc.el (calc-multiplication-has-precendence):
	New variable.
Juanma Barranquero's avatar
Juanma Barranquero committed
977
	(math-standard-ops, math-standard-ops-p, math-expr-ops):
978 979 980 981 982 983 984 985
	New functions.
	(math-expr-opers): Define using math-standard-ops rather than
	math-standard-opers.
	* calc/calc-aent.el (calc-do-calc-eval): Let math-expr-opers
	equal the function math-standard-ops rather than the variable
	math-standard-opers.
	(calc-algebraic-entry): Let math-expr-opers equal
	math-standard-ops or math-expr-ops, as appropriate.
Juanma Barranquero's avatar
Juanma Barranquero committed
986
	(math-expr-read-level, math-read-factor): Let math-expr-opers
987 988 989 990 991 992 993 994
	equal math-expr-ops.
	* calc/calc-embed.el (calc-embedded-finish-edit):
	Let math-expr-opers equal the function math-standard-ops
	rather than the variable math-standard-opers.
	* calc/calc-ext.el (math-read-plain-expr)
	(math-format-flat-expr-fancy): Let math-expr-opers equal the
	function math-standard-ops rather than the variable
	math-standard-opers.
Juanma Barranquero's avatar
Juanma Barranquero committed
995
	* calc/calc-lang.el (calc-set-language, math-read-big-rec):
996 997 998 999 1000 1001 1002 1003 1004 1005 1006
	Let math-expr-opers equal the function math-standard-ops rather
	than the variable math-standard-opers.
	* calc/calc-prog.el (calc-read-parse-table): Let math-expr-opers
	equal the function math-standard-ops rather than the variable
	math-standard-opers.
	* calc/calc-yank.el (calc-finish-stack-edit): Let math-expr-opers
	equal the function math-standard-ops rather than the variable
	math-standard-opers.
	* calc/calccomp.el (math-compose-expr): Let math-expr-opers equal
	math-expr-ops.

1007
2007-06-19  Ivan Kanis  <apple@kanis.eu>
Dan Nicolaescu's avatar
Dan Nicolaescu committed
1008 1009 1010

	* vc-hg.el: New file.

Stefan Monnier's avatar
Stefan Monnier committed
1011 1012 1013 1014 1015
2007-06-18  Stefan Monnier  <monnier@iro.umontreal.ca>

	* progmodes/sh-script.el (sh-font-lock-paren): Mark the relevant text
	with font-lock-multiline.

Glenn Morris's avatar
Glenn Morris committed
1016 1017 1018 1019 1020
2007-06-17  Glenn Morris  <rgm@gnu.org>

	* lpr.el (lpr-page-header-switches): Move %s to separate element
	for correct quoting.  Doc fix.

1021 1022 1023 1024 1025 1026 1027 1028 1029 1030 1031 1032 1033
2007-06-17  Stefan Monnier  <monnier@iro.umontreal.ca>

	* textmodes/sgml-mode.el (sgml-xml-guess): Return the result rather
	than setting sgml-xml-mode.
	(sgml-mode, html-mode): Set sgml-xml-mode.
	(sgml-skip-tag-backward): Tell if we skipped over matched tags.
	(sgml-skip-tag-backward, sgml-electric-tag-pair-overlays): New var.
	(sgml-electric-tag-pair-before-change-function)
	(sgml-electric-tag-pair-flush-overlays): New functions.
	(sgml-electric-tag-pair-mode): New minor mode.
	(sgml-font-lock-keywords-2, sgml-get-context, sgml-unclosed-tag-p)
	(sgml-calculate-indent): Use assoc-string.

1034 1035 1036 1037 1038 1039
2007-06-16  Karl Fogel  <kfogel@red-bean.com>

	* thingatpt.el (thing-at-point-email-regexp): Don't require two
	chars before the "@" in an email address.  Andreas Roehler noticed
	this problem.

1040 1041 1042 1043 1044 1045 1046
2007-06-15  Karl Fogel  <kfogel@red-bean.com>

	* thingatpt.el: Add support for email addresses (`email').
	(thing-at-point, bounds-of-thing-at-point): Document `email' support.
	(thing-at-point-email-regexp): New variable.
	(`email'): Put `bounds-of-thing-at-point' and `thing-at-point'
	properties on this symbol, with lambda forms for values.
1047

1048 1049
2007-06-15  Masatake YAMATO  <jet@gyve.org>

1050
	* vc-bzr.el (vc-bzr-root): Cache the output of shell command execution.
1051

1052
	* vc.el (vc-dired-hook): Check the backend returned from
1053 1054
	`vc-responsible-backend' can really handle `subdir'.

1055 1056
2007-06-15  Chong Yidong  <cyd@stupidchicken.com>

1057 1058
	* wid-edit.el (widget-add-documentation-string-button):
	Fix handling of documentation indent.
1059

Kim F. Storm's avatar
Kim F. Storm committed
1060 1061 1062 1063
2007-06-15  Miles Bader  <miles@fencepost.gnu.org>

	* mb-depth.el: New file.

1064 1065 1066 1067
2007-06-15  Masatake YAMATO  <jet@gyve.org>

	* vc.el (vc-dired-mode): Show backend name as part of mode name.

1068 1069 1070 1071 1072 1073 1074 1075 1076 1077 1078 1079 1080 1081
2007-06-14  Chong Yidong  <cyd@stupidchicken.com>

	* wid-edit.el (widget-default-create): Move ?h handling here...
	(widget-default-format-handler): ...from here.
	(widget-docstring, widget-add-documentation-string-button): New funs.
	(documentation-string): Add :visibility-widget property.
	(widget-documentation-string-value-create): Use it.

	* cus-edit.el (custom-split-regexp-maybe): Simplify.
	(custom-buffer-create-internal): Simplify message.
	(custom-variable-tag): Reduce height to normal.
	(custom-variable-value-create, custom-face-value-create)
	(custom-visibility): New widget.
	(custom-visibility): New face.
1082 1083
	(custom-group-value-create):
	Call widget-add-documentation-string-button, using `custom-visibility'.
1084

1085 1086 1087 1088 1089 1090 1091
2007-06-14  Stefan Monnier  <monnier@iro.umontreal.ca>

	* emacs-lisp/bytecomp.el (byte-compile-current-group)
	(byte-compile-nogroup-warn, byte-compile-file): Revert part of last
	change.  Apparently the "warning even if the group is implicit" is
	a feature rather than a bug.

1092
2007-06-14  Michael Kifer  <kifer@cs.stonybrook.edu>
1093

1094
	* viper.el (viper-describe-key-ad, viper-describe-key-briefly-ad):
1095 1096
	Different advices for Emacs and XEmacs.  Compile them conditionally.
	(viper-version): Belated version change.
1097

1098 1099 1100 1101 1102 1103 1104 1105 1106 1107
2007-06-14  Juanma Barranquero  <lekktu@gmail.com>

	* follow.el (follow-all-followers, follow-generic-filter):
	* pcomplete.el (pcomplete-restore-windows):
	* x-dnd.el (x-dnd-maybe-call-test-function, x-dnd-save-state)
	(x-dnd-drop-data):
	* emacs-lisp/edebug.el (edebug-pop-to-buffer, edebug-display):
	* progmodes/python.el (python-complete-symbol):
	* term/mac-win.el (mac-dnd-drop-data): Remove redundant check.

1108 1109 1110 1111 1112 1113 1114 1115 1116 1117 1118 1119 1120 1121 1122 1123 1124 1125 1126 1127 1128 1129 1130 1131 1132 1133 1134 1135 1136 1137 1138 1139 1140 1141 1142 1143 1144 1145 1146 1147 1148 1149 1150 1151 1152 1153 1154 1155 1156 1157 1158 1159 1160 1161 1162 1163
2007-06-13  Ryan Yeske  <rcyeske@gmail.com>

	* rcirc.el (rcirc-format-response-string): Use rcirc-nick-syntax
	around bright and dim regexps. Make sure bright and dim matches
	use word anchors.  Send text through rcirc-markup functions.
	(rcirc-url-regexp): Add single quote character.
	(rcirc-connect): Write logs to disk on auto-save-hook.
	Make server a non-optional argument.
	(rcirc-log-alist): New variable.
	(rcirc-log-directory): Make customizable.
	(rcirc-log-flag): New customizable variable.
	(rcirc-log): New function.
	(rcirc-print): Use above function.
	(rcirc-log-write): New function.
	(rcirc-generate-new-buffer-name): Strip text properties.
	(rcirc-switch-to-buffer-function): Remove variable.
	(rcirc-last-non-irc-buffer): Remove variable.
	(rcirc-non-irc-buffer): Add function.
	(rcirc-next-active-buffer): Use above function.
	(rcirc-keepalive): Send KEEPALIVE ctcp instead of a PING.
	(rcirc-handler-ctcp-KEEPALIVE): Add handler.
	(rcirc-handler-CTCP): Don't print KEEPALIVE responses.
	(rcirc-omit-mode): Add minor-mode.
	(rcirc-mode-map): Change C-c C-o binding.
	(rcirc-mode): Clear mode-line-process. Use a custom
	fill-paragraph-function.  Set up buffer-invisibility-spec.
	(rcirc-response-formats): Remove timestamp code.
	(rcirc-omit-responses): Add variable.
	(rcirc-print): Don't put the overlay arrow on potentially omitted
	lines.  Log line to disk.  Record activity for private messages
	from /dim nicks.  Facify the fill-prefix with rcirc-timestamp face.
	(rcirc-jump-to-first-unread-line): Print message if there is no
	unread text.
	(rcirc-clear-unread): New function.
	(rcirc-markup-text-functions): Add variable.
	(rcirc-markup-timestamp, rcirc-markup-fill): Add functions.
	(rcirc-debug): Don't mess with window configuration.
	(rcirc-send-message): Send message before printing locally.
	Add SILENT argument, do not print message if non-nil.
	(rcirc-visible-buffers): New function and variable.
	(rcirc-window-configuration-change-1): Add function.
	(rcirc-target-buffer): Make sure ACTIONs don't get sent to the
	server buffer.
	(rcirc-clean-up-buffer): Set rcirc-target to nil when finished.
	(rcirc-fill-paragraph): Add function.
	(rcirc-record-activity, rcirc-window-configuration-change-1):
	Only update the activity string if it has actually changed.
	(rcirc-update-activity-string): Remove padding characters from the
	mode-line string.
	(rcirc-disconnect-buffer): New function to be called when a
	channel is parted or the user quits.
	(rcirc-server-name): Warn when the server-name hasn't been set.
	(rcirc-window-configuration-change): Postpone work until
	post-command-hook.
	(rcirc-window-configuration-change-1): Update mode-line and
	overlay arrows here.
Miles Bader's avatar
Miles Bader committed
1164
	(rcirc-authenticate): Fixc hanserv identification.
1165 1166 1167 1168 1169 1170
	(rcirc-default-server): Remove variable.
	(rcirc): Connect according to rcirc-connections.
	(rcirc-connections): Add variable.
	(rcirc-startup-channels-alist): Remove variable.
	(rcirc-startup-channels): Remove function.

1171 1172 1173 1174
2007-06-13  Stefan Monnier  <monnier@iro.umontreal.ca>

	* diff-mode.el (diff-font-lock-keywords): Fix M. Kifer's last change.

1175 1176
2007-06-13  Johan Bockg,Ae(Brd  <bojohan@dd.chalmers.se>  (tiny change)

1177 1178
	* term/xterm.el (terminal-init-xterm): Escape parens in character
	constants.
1179

1180 1181
2007-06-13  Stefan Monnier  <monnier@iro.umontreal.ca>

1182 1183 1184 1185 1186 1187 1188
	* progmodes/sh-script.el: Remove unneeded * from docstrings.
	Use [:alpha:] and [:alnum:] where applicable.
	(sh-quoted-subshell): Rewrite to correctly
	handle nested mixes of `...` and $(...).
	(sh-apply-quoted-subshell): Remove.
	(sh-font-lock-syntactic-keywords): Adjust call to sh-quoted-subshell.

1189 1190
	* vc-arch.el (vc-arch-command): Remove bzr.  It's a different program.

1191 1192 1193 1194 1195
2007-06-13  Michael Kifer  <kifer@cs.stonybrook.edu>

	* ediff-ptch.el (ediff-context-diff-label-regexp): Partially undo
	previous change.

1196 1197 1198
2007-06-12  Tom Tromey  <tromey@redhat.com>

	* subr.el (user-emacs-directory): New defconst.
1199 1200 1201 1202 1203 1204 1205 1206 1207 1208 1209 1210 1211 1212 1213 1214 1215
	* cmuscheme.el (scheme-start-file):
	* shell.el (shell):
	* completion.el (save-completions-file-name):
	* custom.el (custom-theme-directory):
	* term/x-win.el (emacs-session-filename):
	* filesets.el (filesets-menu-cache-file):
	* thumbs.el (thumbs-thumbsdir):
	* server.el (server-auth-dir):
	* image-dired.el (image-dired-dir):
	(image-dired-db-file):
	(image-dired-temp-image-file):
	(image-dired-gallery-dir):
	(image-dired-temp-rotate-image-file):
	* play/gamegrid.el (gamegrid-user-score-file-directory):
	* savehist.el (savehist-file):
	* tutorial.el (tutorial--saved-dir):
	* startup.el (auto-save-list-file-prefix): Use user-emacs-directory.
1216

1217 1218 1219 1220
2007-06-12  Ralf Angeli  <angeli@caeruleus.net>

	* scroll-lock.el (scroll-lock-mode): Doc fix.

1221
2007-06-12  Michael Kifer  <kifer@cs.stonybrook.edu>
Juanma Barranquero's avatar
Juanma Barranquero committed
1222 1223 1224 1225 1226

	* ediff-ptch.el (ediff-context-diff-label-regexp): Spurious parenthesis.

	* ediff-init.el: Doc strings.

1227 1228 1229 1230 1231 1232 1233 1234 1235 1236 1237
2007-06-12  Stefan Monnier  <monnier@iro.umontreal.ca>

	* emacs-lisp/bytecomp.el (byte-compile-current-group): New var.
	(byte-compile-file): Bind it.
	(byte-compile-nogroup-warn): Use it to avoid spurious warnings when the
	group argument is provided implicitly.
	(byte-compile-format-warn, byte-compile-from-buffer)
	(byte-compile-insert-header): Don't hardcode point-min==1.
	(byte-compile-file-form-require): Remove unused var old-load-list.
	(byte-compile-eval): Remove unused vars old-autoloads and hist-nil-new.

1238
2007-06-12  Michael Kifer  <kifer@cs.stonybrook.edu>
Juanma Barranquero's avatar
Juanma Barranquero committed
1239 1240

	* emulation/viper-cmd.el (viper-prefix-arg-com, viper-prefix-arg-value):
Juanma Barranquero's avatar
Juanma Barranquero committed
1241
	Display error messages.
Juanma Barranquero's avatar
Juanma Barranquero committed
1242 1243 1244 1245 1246 1247 1248 1249 1250 1251 1252 1253 1254 1255
	(viper-prev-destructive-command, viper-insert-prev-from-insertion-ring):
	Get rid of cl.el dependencies.

	* emulation/viper-init.el (viper-suppress-input-method-change-message):
	New variable.
	(viper-activate-input-method-action)
	(viper-inactivate-input-method-action):
	Use viper-suppress-input-method-change-message.

	* emulation/viper-kem.el (viper-vi-basic-map): Disable the bindings
	for C-s, C-r.

	* emulation/viper-util.el (viper-set-cursor-color-according-to-state):
	Use viper-replace-overlay-cursor-color instead of
1256
	viper-replace-overlay-cursor-color.
Juanma Barranquero's avatar
Juanma Barranquero committed
1257 1258 1259 1260 1261 1262 1263 1264 1265 1266 1267 1268
	(viper-sit-for-short): Use sit-for with 3 arguments.

	* emulation/viper.el (viper-insert-state-mode-list): Add gud-mode.
	(viper-major-mode-modifier-list): Add viper-comint-mode-modifier-map
	to gud-mode.

	* ediff-mult.el (ediff-meta-buffer-brief-message)
	(ediff-meta-buffer-verbose-message): New variables.
	(ediff-meta-buffer-message): Variable deleted.
	(ediff-verbose-help-enabled): New variable.
	(ediff-toggle-verbose-help-meta-buffer): New function.
	(ediff-redraw-directory-group-buffer): Made aware of short/verbose
1269
	message options
Juanma Barranquero's avatar
Juanma Barranquero committed
1270 1271

	* ediff-ptch.el (ediff-context-diff-label-regexp): Better regexp.
1272
	(ediff-fixup-patch-map): Improve heuristic.
Juanma Barranquero's avatar
Juanma Barranquero committed
1273

1274 1275 1276 1277 1278 1279
2007-06-12  Stefan Monnier  <monnier@iro.umontreal.ca>

	* log-view.el (log-view-file-re, log-view-message-re): Use \(?1:...\).
	(log-view-font-lock-keywords): Simplify.
	(log-view-current-file, log-view-current-tag): Simplify.

1280 1281 1282 1283
2007-06-12  Sam Steingold  <sds@gnu.org>

	* vc-arch.el (vc-arch-command): Also try "baz" and "bzr".

1284 1285 1286 1287 1288 1289 1290
2007-06-12  Juanma Barranquero  <lekktu@gmail.com>

	* desktop.el (desktop-load-locked-desktop): New option.
	(desktop-read): Use it.
	(desktop-truncate, desktop-outvar, desktop-restore-file-buffer):
	Use `when'.

1291 1292 1293 1294 1295 1296 1297 1298 1299
2007-06-12  Davis Herring  <herring@lanl.gov>

	* desktop.el (desktop-save-mode-off): New function.
	(desktop-base-lock-name, desktop-not-loaded-hook): New variables.
	(desktop-full-lock-name, desktop-file-modtime, desktop-owner)
	(desktop-claim-lock, desktop-release-lock): New functions.
	(desktop-kill): Tell `desktop-save' that this is the last save.
	Release the lock afterwards.
	(desktop-buffer-info): New function.
1300
	(desktop-save): Use it.  Run `desktop-save-hook' where the doc
1301 1302 1303
	says to.  Detect conflicts, and manage the lock.
	(desktop-read): Detect conflicts.  Manage the lock.

1304 1305
2007-06-12  Stefan Monnier  <monnier@iro.umontreal.ca>

1306 1307
	* emulation/tpu-mapper.el (tpu-emacs-map-key): Use new keymap names.

1308 1309
	* emulation/tpu-edt.el (tpu-gold-map): Rename from GOLD-map.
	(tpu-lucid-emacs-p): Remove.  Use (featurep 'xemacs) instead.
1310
	(CSI-map, GOLD-CSI-map, GOLD-SS3-map, SS3-map): Delete vars.
1311 1312 1313 1314
	(tpu-gold-map, tpu-global-map): Add all the SS3 and CSI bindings, using
	keysyms rather than byte sequences.
	(tpu-copy-keyfile): Don't force the user to use tpu-mapper.el.

Miles Bader's avatar
Miles Bader committed
1315
2007-06-11  Stefan Monnier  <monnier@iro.umontreal.ca>
1316

Miles Bader's avatar
Miles Bader committed
1317 1318
	* font-lock.el (font-lock-add-keywords): In case font-lock was only
	half-activated, forcefully activate it completely.
1319

Miles Bader's avatar
Miles Bader committed
1320
2007-06-11  Richard Stallman  <rms@gnu.org>
Chong Yidong's avatar
Chong Yidong committed
1321

Miles Bader's avatar
Miles Bader committed
1322
	* cus-edit.el (custom-variable-type): Doc fix.
Chong Yidong's avatar
Chong Yidong committed
1323

Stefan Monnier's avatar
Stefan Monnier committed
1324 1325
2007-06-11  Stefan Monnier  <monnier@iro.umontreal.ca>

1326 1327 1328 1329 1330
	* progmodes/sh-script.el (sh-font-lock-backslash-quote)
	(sh-font-lock-flush-syntax-ppss-cache): New functions.
	(sh-font-lock-syntactic-keywords): Use them to distinguish the
	different possible cases for \'.

1331 1332 1333
	* complete.el (PC-bindings): Don't bind things already bound in the
	parent keymap.

Stefan Monnier's avatar
Stefan Monnier committed
1334 1335
	* textmodes/bibtex-style.el: New file.

Stefan Monnier's avatar
Stefan Monnier committed
1336 1337 1338 1339
2007-06-11  Riccardo Murri  <riccardo.murri@gmail.com>

	* vc-bzr.el: New file.

Stefan Monnier's avatar
Stefan Monnier committed
1340 1341 1342 1343 1344
2007-06-11  Stefan Monnier  <monnier@iro.umontreal.ca>

	* vc-svn.el (vc-svn-program): New var.
	(vc-svn-command): Use it.

1345 1346 1347 1348
2007-06-11  Juanma Barranquero  <lekktu@gmail.com>

	* server.el (server-switch-buffer): Remove redundant check.

1349 1350
2007-06-10  Martin Rudalics  <rudalics@gmx.at>

1351 1352
	* emacs-lisp/bytecomp.el (byte-compile-find-cl-functions):
	Match against file-name-nondirectory.
1353 1354 1355
	Fix text on user customization variables.
	Reported by Johan Bockg,Ae(Brd <bojohan@dd.chalmers.se>.

1356 1357 1358 1359
2007-06-09  Alfred M. Szmidt  <ams@gnu.org>  (tiny change)

	* mail/rmail.el (rmail-movemail-variant-in-use): Fix doc typo.

Juanma Barranquero's avatar
Juanma Barranquero committed
1360 1361 1362 1363
2007-06-09  Davis Herring  <herring@lanl.gov>

	* desktop.el (desktop-minor-mode-table): Doc fix.

1364 1365 1366 1367 1368
2007-06-08  Stefan Monnier  <monnier@iro.umontreal.ca>

	* textmodes/css-mode.el (css-navigation-syntax-table):
	Use set-char-table-range so it also works in the unicode branch.