ChangeLog 94.5 KB
Newer Older
1 2 3 4
2007-07-22  Stefan Monnier  <monnier@iro.umontreal.ca>

	* textmodes/tex-mode.el (tex-font-script-display): Change default to 0.2.

5 6 7 8 9 10 11 12 13 14 15
2007-07-22  Dan Nicolaescu  <dann@ics.uci.edu>

	* vc-cvs.el (vc-cvs-mode-line-string): Add support for tooltips
	for branches and new files.

	* vc-hooks.el (vc-default-mode-line-string): Move mouse-face and
	local-map handling ...
	(vc-mode-line): ... here. Improve handling of help-echo.

	* vc.el (mode-line-string): Document help-echo usage.

Michael Albinus's avatar
Michael Albinus committed
16 17 18 19 20 21
2007-07-22  Michael Albinus  <michael.albinus@gmx.de>

	Sync with Tramp 2.1.10.

	* tramp.el (tramp-get-ls-command): Fyx typo.

22
	* trampver.el: Update release number.
Michael Albinus's avatar
Michael Albinus committed
23

24 25 26 27 28 29
2007-07-22  Jan Dj,Ad(Brv  <jan.h.d@swipnet.se>

	* startup.el (command-line-x-option-alist): Use x-handle-no-bitmap-icon,

	* term/x-win.el (x-handle-no-bitmap-icon): New function.

30 31 32 33 34 35 36
2007-07-22  Martin Rudalics  <rudalics@gmx.at>

	* add-log.el (change-log-fill-parenthesized-list): New function.
	(change-log-indent): Call change-log-fill-parenthesized-list.
	(change-log-fill-paragraph): Bind fill-indent-according-to-mode to
	t.  Have lines with leading asterisk start a paragraph.

37 38 39 40 41 42 43 44 45
2007-07-21  Jay Belanger  <jay.p.belanger@gmail.com>

	* calc/calc-math.el (math-emacs-precision)
	(math-largest-emacs-expt, math-smallest-emacs-expt):
	New variables.
	(math-use-emacs-fn): New function.
	(math-exp-raw): Evaluate with `math-use-emacs-fn', when
	appropriate.

46 47 48 49 50 51 52 53 54
2007-07-21  Thien-Thi Nguyen  <ttn@gnuvola.org>

	* image-dired.el (image-dired-sane-db-file): New func.
	(image-dired-write-tags, image-dired-remove-tag)
	(image-dired-list-tags, image-dired-write-comments)
	(image-dired-get-comment, image-dired-mark-tagged-files)
	(image-dired-create-gallery-lists): Call new func.
	Reported by Dieter Wilhelm <dieter@duenenhof-wilhelm.de>.

Dan Nicolaescu's avatar
Dan Nicolaescu committed
55 56 57 58 59 60 61 62 63 64
2007-07-21  Dan Nicolaescu  <dann@ics.uci.edu>

	* vc-hg.el (vc-hg-dir-state): Fix loop.
	(vc-hg-print-log): Fix expected return value for vc-hg-command.
	(vc-hg-next-version, vc-hg-delete-file, vc-hg-rename-file)
	(vc-hg-register, vc-hg-create-repo, vc-hg-checkin)
	(vc-hg-revert): Likewise.
	(vc-hg-revision-table, vc-hg-revision-completion-table): New
	functions.

65 66 67 68 69
2007-07-20  Stefan Monnier  <monnier@iro.umontreal.ca>

	* add-log.el (change-log-resolve-conflict): Don't lose data if the
	merge fails.

70 71
2007-07-20  Dan Nicolaescu  <dann@ics.uci.edu>

72 73
	* progmodes/compile.el (compilation-auto-jump-to-first-error):
	Add group and version.
74

75 76
2007-07-20  Stefan Monnier  <monnier@iro.umontreal.ca>

77
	* add-log.el (add-log-file-name): Use file-relative-name.
78 79
	(add-change-log-entry): Delay reading add-log-(full-name|mailing-address)
	to after we've switched to the ChangeLog buffer so we get the right value.
80 81
	(add-change-log-entry, add-log-current-defun, change-log-merge):
	Use derived-mode-p rather than checking major-mode directly.
82

83 84 85
	* pcvs.el (cvs-mode-add-change-log-entry-other-window): Use a directory
	name for buffer-file-name if it refers to a directory.

86 87
	* vc-arch.el (vc-arch-diff): Fix last change.

88 89 90 91 92
	* progmodes/compile.el (compilation-start): Remember the original
	directory in a buffer-local compilation-directory.
	(compile): Set the global value of compilation-directory.
	(recompile): Use compilation-directory even in the compilation buffer.

93 94 95 96
2007-07-20  Dan Nicolaescu  <dann@ics.uci.edu>

	* vc-hg.el (vc-hg-diff): Use vc-hg-command.

97 98 99 100 101 102 103 104 105 106 107 108
2007-07-20  Vinicius Jose Latorre  <viniciusjl@ig.com.br>

	* ps-print.el: Problem with foreground and background color when
	printing a buffer with and without faces.  Reported by Christian
	Schlauer <cs-muelleimer-rubbish.bin@arcor.de>.
	(ps-print-version): New version 6.7.5.
	(ps-default-fg): Change default value to nil, so black color is used
	when a face does not specify a foreground color.
	(ps-default-bg): Change default value to nil, so white color is used
	for background color.
	(ps-begin-job): Fix code.

109 110 111 112 113 114 115 116 117 118
2007-07-20  Eli Zaretskii  <eliz@gnu.org>

	* makefile.w32-in (install-lisp-SH): Don't create subdirectories
	in $(INSTALL_DIR)/lisp/ if they already exist.

2007-07-20  Dhruva Krishnamurthy  <dhruvakm@gmail.com>  (tiny change)

	* makefile.w32-in (install-lisp-CMD): Don't create subdirectories
	in $(INSTALL_DIR)/lisp/ if they already exist.

119 120
2007-07-20  Stefan Monnier  <monnier@iro.umontreal.ca>

121 122
	* progmodes/vera-mode.el (vera-re-search-forward)
	(vera-re-search-backward): Remove use of store-match-data.
123
	(vera-mode-map): Move initialization into declaration.
124

125 126 127
	* progmodes/flymake.el (flymake-buildfile-dirs): Remove.
	(flymake-find-buildfile): Use locate-dominating-file.

128 129 130 131
	* vc.el (vc-delistify): Use mapconcat.
	(vc-do-command): Minor simplification.
	(vc-expand-dirs): Use push.

132 133 134
	* vc-mcvs.el (vc-mcvs-create-repo):
	* vc-cvs.el (vc-cvs-create-repo): Remove.

135 136 137
	* vc-hooks.el (vc-find-root): Fix case where `file' is the current
	directory and the root as well.

138 139
2007-07-20  Dan Nicolaescu  <dann@ics.uci.edu>

140 141 142
	* vc-hooks.el (vc-default-workfile-unchanged-p): Pass a list
	instead of a file.

143 144
	* vc-hg.el (vc-hg-print-log): Deal with multiple file arguments.
	(vc-hg-registered): Replace if with when.
145
	(vc-hg-state): Deal with nonexistent files and handle removed files.
146 147 148
	(vc-hg-dir-state, vc-hg-dired-state-info): New functions.
	(vc-hg-checkout): Re-enable.
	(vc-hg-create-repo): Fix typos.
149
	(vc-hg-print-log): Fix for multiple files.
150
	(vc-hg-workfile-unchanged-p): New function.
151 152

	* vc.el: Fix typo.
153 154
	(vc-print-log): Fix call to print-log.
	(vc-default-comment-history): Likewise.
155 156
	(vc-directory-exclusion-list): Add .hg and .bzr.
	(vc-diff-internal): Pass a list instead of a file.
157 158 159 160 161

	* vc-mcvs.el (vc-mcvs-create-repo): Fix typos.

	* vc-bzr.el (vc-bzr-create-repo): New function.

162 163 164 165 166
2007-07-19  Stefan Monnier  <monnier@iro.umontreal.ca>

	* vc-hooks.el (vc-find-root): Walk up the tree to find an existing
	`file' from which to start the search.

Eric S. Raymond's avatar
Eric S. Raymond committed
167 168
2007-07-19  Eric S. Raymond  <esr@snark.thyrsus.com>

169
	* vc-cvs.el: vc-cvs-checkin had some reference problems, now fixed.
170

Eric S. Raymond's avatar
Eric S. Raymond committed
171
2007-07-19  Stefan Monnier  <monnier@iro.umontreal.ca>
172

173 174
	* files.el (locate-dominating-file): New function.

175 176 177 178 179
2007-07-18  Michael Albinus  <michael.albinus@gmx.de>

	* progmodes/grep.el (grep-host-defaults-alist): New defvar.
	(grep-compute-defaults): Use it.

Stefan Monnier's avatar
Stefan Monnier committed
180 181 182 183
2007-07-18  Stefan Monnier  <monnier@iro.umontreal.ca>

	* uniquify.el: Docstring fixes.

184 185 186 187
2007-07-18  Eric S. Raymond  <esr@snark.thyrsus.com>

	* vc-hooks.el: Generalize stay-local-p to operate on lists of
	files.  Change two keybindings to point to new function names.
188
	* vc-arch.el, vc-bzr.el, vc-cvs.el, vc-hg.el, vc-mcvs.el, vc-rcs.el,
189 190
	vc-sccs.el, vc-svn.el: These now implement the NewVC-fileset.
	* vc.el: Adapted for NewVC-fileset, but no functional changes yet.
Juanma Barranquero's avatar
Juanma Barranquero committed
191

192
2007-07-18  Juanma Barranquero  <lekktu@gmail.com>
193

Juanma Barranquero's avatar
Juanma Barranquero committed
194 195 196 197 198 199 200
	* follow.el (follow-mode-hook, follow-mode-off-hook, follow-mode)
	(follow-delete-other-windows-and-split, follow-recenter)
	(follow-windows-aligned-p, follow-point-visible-all-windows-p)
	(follow-redisplay, follow-estimate-first-window-start)
	(follow-xemacs-scrollbar-support, follow-intercept-process-output):
	Fix typos in docstrings.

201 202 203 204 205 206 207
2007-07-18  Martin Rudalics  <rudalics@gmx.at>

	* add-log.el (change-log-mode): Use fill-nobreak-predicate to
	avoid that filling introduces lines with a single asterisk.

	* kmacro.el (kmacro-end-macro): When ignoring empty macro
	avoid incorrect kmacro-ring-empty-p messages.
Juanma Barranquero's avatar
Juanma Barranquero committed
208
	Reported by Michael Schierl <schierlm@gmx.de>.
209

210 211 212 213 214 215 216 217 218 219 220
2007-07-17  Michael Albinus  <michael.albinus@gmx.de>

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

	* recentf.el (recentf-keep-default-predicate): Adapt call of
	`file-remote-p'.

	* progmodes/grep.el (grep-probe): Use `process-file'.
	(grep-compute-defaults): Handle variables host specific.

Juanma Barranquero's avatar
Juanma Barranquero committed
221
	* net/ange-ftp.el (ange-ftp-file-remote-p): Handle optional
222 223 224 225 226 227 228 229 230 231 232 233 234
	parameter IDENTIFICATION.

	* net/tramp.el (tramp-handle-file-remote-p): Handle optional
	parameter IDENTIFICATION.
	(tramp-handle-set-file-times): New defun.  Replaces `tramp-touch'.
	(tramp-file-name-handler-alist, tramp-file-name-for-operation):
	Add entry for `set-file-times'.
	(tramp-do-copy-or-rename-file-via-buffer)
	(tramp-do-copy-or-rename-file-out-of-band): Use `set-file-times'.
	(tramp-handle-unhandled-file-name-directory): Rewrite.
	(tramp-convert-file-attributes): Add error handling when inode is
	extraordinary big.
	(tramp-get-inode): Change parameter from FILE to VEC.
Juanma Barranquero's avatar
Juanma Barranquero committed
235 236
	(tramp-handle-start-file-process): Use (current-buffer) if BUFFER
	is nil.  This is according to the specification.  Goto (point-max)
237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258
	when ready.
	(tramp-handle-shell-command): Rewrite completely, using
	`process-file' and `start-file-process'.
	(tramp-methods, tramp-find-shell)
	(tramp-open-connection-setup-interactive-shell)
	(tramp-maybe-open-connection): Guard against $PROMPT_COMMAND shell
	var.  Reported by Steve Youngs <steve@sxemacs.org>.

	* net/tramp-fish.el (tramp-fish-file-name-handler-alist): Add
	entry for `set-file-times'.  Rename `start-process' into
	`start-file-process'.  Remove `call-process' entry.
	(tramp-fish-handle-set-file-times): New defun.
	(tramp-fish-handle-executable-find): Use `process-file'.
	(tramp-fish-handle-process-file): New defun.  Replaces
	`tramp-fish-handle-call-process'.
	(tramp-fish-do-copy-or-rename-file-directly): Use
	`set-file-times'.
	(tramp-fish-get-file-entries): Change `tramp-get-inode' parameter.

	* net/tramp-smb.el (tramp-smb-handle-file-attributes): Change
	`tramp-get-inode' parameter.

259 260 261 262 263 264 265
2007-07-17  Stefan Monnier  <monnier@iro.umontreal.ca>

	* vc-bzr.el (vc-bzr-version, vc-bzr-at-least-version)
	(vc-bzr-post-command-function): Remove.  Version 0.8 is already old
	nowadays, and by the time Emacs-23 comes out, nobody will even remember
	it has ever existed.

Dan Nicolaescu's avatar
Dan Nicolaescu committed
266 267 268 269
2007-07-17  Dan Nicolaescu  <dann@ics.uci.edu>

	* vc.el: Undo previous change.

Eli Zaretskii's avatar
Eli Zaretskii committed
270 271 272 273
2007-07-16  Eli Zaretskii  <eliz@gnu.org>

	* makefile.w32-in (clean): Don't delete *~.

274 275
2007-07-16  Stefan Monnier  <monnier@iro.umontreal.ca>

276 277 278 279 280
	* textmodes/tex-mode.el (tex-verbatim-environments):
	Add safe-local-variable property.
	(tex-font-lock-syntactic-keywords): Lookup tex-verbatim-environments
	when starting font-lock rather than when loading tex-mode.el.

281 282 283 284
	* progmodes/sh-script.el (sh-font-lock-quoted-subshell): Skip over the
	whole $( rather than just the $.  Rename from sh-quoted-subshell.
	(sh-font-lock-syntactic-keywords): Adjust call accordingly.

285 286
2007-07-16  Thien-Thi Nguyen  <ttn@gnuvola.org>

287 288 289 290 291
	* bookmark.el (bookmark-maybe-sort-alist): Don't modify
	bookmark-alist.  Instead, if not sorting, simply return it.
	(bookmark-bmenu-list): Call bookmark-maybe-sort-alist
	for its return value, not for its side effect.

292 293 294 295
	* emacs-lisp/lisp-mode.el (calculate-lisp-indent): In the
	case of alignment under a constant symbol, find and consider
	the sexp actually at indentation to be the "last sexp".

296
2007-07-16  Drew Adams  <drew.adams@oracle.com>
297 298 299 300

	* mouse.el (mouse-yank-secondary): Better error message if no
	secondary selection.

301 302
2007-07-16  Dan Nicolaescu  <dann@ics.uci.edu>

303 304
	* vc-hooks.el (vc-handled-backends): Move BZR later in the list.

305 306 307 308 309
	* term/xterm.el (xterm-turn-on-modify-other-keys)
	(xterm-turn-off-modify-other-keys): New functions.
	(terminal-init-xterm): Enable the modifyOtherKeys feature if the
	terminal supports it.

310 311 312 313 314
2007-07-16  Thien-Thi Nguyen  <ttn@gnuvola.org>

	* bookmark.el (bookmark-show-all-annotations):
	Make sure each inserted annotation ends with newline.

315 316 317 318 319 320 321
2007-07-15  Juri Linkov  <juri@jurta.org>

	* delsel.el (delete-selection-pre-hook):
	* emulation/cua-base.el (cua-paste): Before a yank command,
	check also whether last-command is one of mouse-save-then-kill,
	mouse-secondary-save-then-kill, mouse-set-region, mouse-drag-region.

Michael Albinus's avatar
Michael Albinus committed
322
2007-07-15  Michael Albinus  <michael.albinus@gmx.de>
323 324 325 326

	* recentf.el (recentf-keep-default-predicate): New defun.
	(recentf-keep): Use it as initial value.

327 328 329 330 331 332
2007-07-15  Karl Fogel  <kfogel@red-bean.com>

	* bookmark.el: Revert 2007-07-13T18:16:17Z!kfogel@red-bean.com,
	thus restoring bookmark bindings to three slots under C-x r.  See
	http://lists.gnu.org/archive/html/emacs-devel/2007-07/msg00705.html.

333 334
2007-07-15  Jeff Miller  <jmiller@cablespeed.com>  (tiny change)

335
	* calendar/calendar.el (calendar-goto-bahai-date): Autoload it.
336

337 338 339 340 341 342 343 344 345
2007-07-15  Jason Rumney  <jasonr@gnu.org>

	* w32-fns.el (set-default-process-coding-system): Use dos line ends
	for input to cmdproxy on all versions of Windows.
	Use dos line ends for input to plink.

	* comint.el (comint-simple-send): Concat newline before sending.
	(comint-password-prompt-regexp): Recognize plink's passphrase prompt.

346 347 348 349 350
2007-07-14  Stefan Monnier  <monnier@iro.umontreal.ca>

	* emacs-lisp/autoload.el (generated-autoload-file): Autoload the
	safe-local-variable setting.

David Kastrup's avatar
David Kastrup committed
351 352 353 354
2007-07-14  David Kastrup  <dak@gnu.org>

	* emacs-lisp/advice.el (defadvice): Doc fix.

Juanma Barranquero's avatar
Juanma Barranquero committed
355 356 357 358
2007-07-14  Juanma Barranquero  <lekktu@gmail.com>

	* subr.el (when, unless): Doc fix.

Miles Bader's avatar
Miles Bader committed
359
2007-07-13  Dan Nicolaescu  <dann@ics.uci.edu>
Kim F. Storm's avatar
Kim F. Storm committed
360

Miles Bader's avatar
Miles Bader committed
361
	* replace.el (match): Use yellow1 instead of yellow.
Kim F. Storm's avatar
Kim F. Storm committed
362

Miles Bader's avatar
Miles Bader committed
363
	* progmodes/gdb-ui.el (breakpoint-enabled): Use red1 instead of
364
	red.
Kim F. Storm's avatar
Kim F. Storm committed
365

Miles Bader's avatar
Miles Bader committed
366
	* pcvs-info.el (cvs-unknown): Likewise.
Kim F. Storm's avatar
Kim F. Storm committed
367

368 369 370 371 372
2007-07-13  Eli Zaretskii  <eliz@gnu.org>

	* makefile.w32-in (install-lisp-SH, install-lisp-CMD): New targets.
	(install): Use them to copy all *.el files before *.elc.

373
2007-07-13  Drew Adams <drew.adams@oracle.com>
374 375 376 377

	* bookmark.el (bookmark-jump-other-window): New function.
	(bookmark-map): Bind it to "o".

378
	http://lists.gnu.org/archive/html/emacs-devel/2007-07/msg00633.html
379 380
	and its thread contains discussion about this change.
	The original patch was slightly tweaked by Karl Fogel
381
	<kfogel@red-bean.com> before committing.
382

383 384 385 386
2007-07-13  Karl Fogel  <kfogel@red-bean.com>

	* bookmark.el: Shorten some comments to fit within 80 lines.

387 388 389 390
2007-07-13  Karl Fogel  <kfogel@red-bean.com>

	* bookmark.el: Don't define bookmark keys under the "C-xr" map;
	instead, make "C-xp" a prefix for bookmark-map.  Patch by Drew
391
	Adams <drew.adams@oracle.com>, mildly tweaked by me.  See
392 393
	http://lists.gnu.org/archive/html/emacs-devel/2007-07/msg00633.html.

Carsten Dominik's avatar
Carsten Dominik committed
394 395 396
2007-07-13  Carsten Dominik  <dominik@science.uva.nl>

	* textmodes/org.el: Bug fixes.
Juanma Barranquero's avatar
Juanma Barranquero committed
397
	(org-end-of-line): Move to end of line if in headline without tags.
Carsten Dominik's avatar
Carsten Dominik committed
398

399 400
2007-07-13  Stefan Monnier  <monnier@iro.umontreal.ca>

401 402 403
	* vc-hooks.el: Remove spurious * in docstrings.
	(vc-handled-backends): Add BZR.

404 405
	* vc-hooks.el (vc-find-file-hook): Use with-demoted-errors.

406 407 408 409 410
2007-07-12  Davis Herring  <herring@lanl.gov>

	* desktop.el (desktop-buffer-info, desktop-save):
	Use `desktop-dirname' instead of `dirname'.

411 412 413 414 415 416 417 418 419 420
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.

421 422 423 424 425 426 427
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
428 429
2007-07-12  Stefan Monnier  <monnier@iro.umontreal.ca>

430 431 432
	* comint.el (comint-dynamic-list-filename-completions):
	Use read-file-name-completion-ignore-case.

Stefan Monnier's avatar
Stefan Monnier committed
433 434 435 436 437 438 439 440 441
	* 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.

442 443 444 445 446 447 448 449 450 451 452 453 454 455 456
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.

457 458 459 460 461 462 463 464 465 466 467
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>.

468 469 470 471 472 473 474 475 476
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.

Miles Bader's avatar
Miles Bader committed
477
2007-07-10  Richard Stallman  <rms@gnu.org>
Kim F. Storm's avatar
Kim F. Storm committed
478

Miles Bader's avatar
Miles Bader committed
479 480
	* emacs-lisp/lisp-mode.el (eval-defun):
	Explain special handling of `defface'.
Kim F. Storm's avatar
Kim F. Storm committed
481

Nick Roberts's avatar
Nick Roberts committed
482 483 484 485 486 487
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
488 489
2007-07-10  Stefan Monnier  <monnier@iro.umontreal.ca>

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

Stefan Monnier's avatar
Stefan Monnier committed
492 493 494 495 496 497 498
	* 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.

499 500 501 502 503 504 505 506
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'.

507 508
2007-07-10  Stefan Monnier  <monnier@iro.umontreal.ca>

509 510 511
	* emacs-lisp/autoload.el (autoload-generate-file-autoloads): Be careful
	with EOLs when generating MD5 checksums.

512 513 514 515 516 517
	* 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.

518 519 520 521
	* 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.

522 523 524 525 526 527
	* 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.

528 529 530
	* emacs-lisp/autoload.el (update-directory-autoloads): Remove
	duplicates without also removing entries from other directories.

Carsten Dominik's avatar
Carsten Dominik committed
531 532 533 534
2007-07-10  Carsten Dominik  <dominik@science.uva.nl>

	* textmodes/org.el (org-agenda-day-view, org-agenda-week-view):
	Remember span as default.
535 536
	(org-columns-edit-value): Rename from `org-column-edit'.
	(org-columns-display-here-title): Rename from
Carsten Dominik's avatar
Carsten Dominik committed
537
	`org-overlay-columns-title'.
538 539 540 541 542 543 544
	(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
545 546 547 548 549 550 551 552 553 554 555 556
	(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)
Juanma Barranquero's avatar
Juanma Barranquero committed
557
	(org-columns-move-left, org-columns-new)
Carsten Dominik's avatar
Carsten Dominik committed
558 559 560 561 562 563 564 565
	(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.
566 567 568 569
	(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
570 571 572 573 574
	`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.
575
	(org-columns-default-format): Rename from `org-default-columns-format'.
Carsten Dominik's avatar
Carsten Dominik committed
576 577
	(org-property-re): New constant.

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

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

Reiner Steib's avatar
Reiner Steib committed
582 583 584 585 586 587 588
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.

589 590 591 592 593
2007-07-09  Richard Stallman  <rms@gnu.org>

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

594 595 596
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
597 598
	to 1 as enlarge-window uses the value to resize/shrink windows other
	than WINDOW if needed.
599

600 601 602 603 604 605 606 607
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.
608 609
	(longlines-auto-wrap, longlines-window-change-function):
	Remove unnecessary calls to set-buffer-modified-p.
610

611 612 613 614
2007-07-08  Katsumi Yamaoka  <yamaoka@jpl.org>

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

615 616 617 618 619
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.

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 646 647
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.

648 649 650 651 652 653 654 655 656
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.

657 658 659 660 661
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.

662 663 664
	* calc/calc-bin.el (math-bignum-logb-digit-size)
	(math-bignum-digit-power-of-two): Evaluate when compiled.

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

Juanma Barranquero's avatar
Juanma Barranquero committed
669
	* calc/calc-ext.el (math-approx-pi, math-approx-sqrt-e)
670 671 672
	(math-approx-gamma-const): Add docstrings.

	* calc/calc-forms.el (math-julian-date-beginning)
Juanma Barranquero's avatar
Juanma Barranquero committed
673
	(math-julian-date-beginning-int): New constants.
Juanma Barranquero's avatar
Juanma Barranquero committed
674
	(math-format-date-part, math-parse-standard-date, calcFunc-julian):
675 676 677 678
	Use the new constants.

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

Juanma Barranquero's avatar
Juanma Barranquero committed
679 680
	* calc/calc-math.el (math-approx-ln-10, math-approx-ln-2):
	Add docstrings.
681

682 683 684 685 686
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.

687 688 689 690 691 692 693 694 695
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
696 697 698 699 700
2007-07-07  Eli Zaretskii  <eliz@gnu.org>

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

701 702 703 704
2007-07-07  Michael Albinus  <michael.albinus@gmx.de>

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

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

707 708 709
	* files.el (find-file-confirm-nonexistent-file): Rename from
	find-file-confirm-inexistent-file.  Update users.

710 711 712 713 714 715 716 717
	* 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.

718 719 720 721 722
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.

723 724 725 726
2007-07-07  Dan Nicolaescu  <dann@ics.uci.edu>

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

Dan Nicolaescu's avatar
Dan Nicolaescu committed
727 728 729 730 731 732 733 734 735 736
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.

737 738 739 740 741 742
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>.

743 744 745 746 747 748
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.

749 750 751 752 753 754 755 756
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
757 758
	(math-and-bignum, math-or-bignum, math-xor-bignum, math-diff-bignum)
	(math-not-bignum, math-clip-bignum): Use the constants
759 760 761 762
	`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.

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

765 766
2007-07-05  Chong Yidong  <cyd@stupidchicken.com>

767 768
	* wid-edit.el (widget-documentation-string-value-create):
	Insert indentation spaces.
769

Thien-Thi Nguyen's avatar
Thien-Thi Nguyen committed
770 771 772 773
2007-07-05  Thien-Thi Nguyen  <ttn@gnuvola.org>

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

774 775 776 777 778 779
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.

780 781 782 783 784
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.

785 786 787 788 789 790 791 792 793 794 795 796 797 798 799 800 801 802 803 804 805 806 807 808 809 810 811
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.

812 813 814 815 816
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.

817 818 819
	(bootstrap-prepare): Make $(lisp)/ps-print.el
	and $(lisp)/emacs-lisp/cl-loaddefs.el writable, as well.

820 821 822 823 824 825
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
826 827
	(vc-hg-internal-log): Inline in `vc-hg-workfile-version', the only
	caller, and delete.
828 829
	(vc-hg-workfile-version): Deal with exceptions and only parse the
	output on successful return.
Dan Nicolaescu's avatar
Dan Nicolaescu committed
830
	(vc-hg-revert): New function.
831

832 833 834 835 836
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
837
2007-07-03  Dan Nicolaescu  <dann@ics.uci.edu>
Kim F. Storm's avatar
Kim F. Storm committed
838

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

842 843 844 845 846 847 848 849 850 851
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.
852 853
	* calc/calc-comb.el (math-small-factorial-table): Replace list
	by vector.
854

855 856 857 858 859 860
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.

861 862 863 864 865 866 867 868 869 870 871
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
872 873 874 875 876 877 878 879 880 881 882 883 884 885 886 887 888 889 890 891 892 893 894 895 896 897 898 899 900 901 902 903 904 905 906 907 908 909 910 911 912 913 914
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.

915 916
2007-07-02  Martin Rudalics  <rudalics@gmx.at>

Juanma Barranquero's avatar
Juanma Barranquero committed
917
	* help-mode.el (help-make-xrefs): Skip spaces too when
918 919 920 921 922
	skipping tabs.

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

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

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

927 928 929 930 931 932 933
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
934
	read-file-name-internal.
935 936 937 938
	(PC-do-completion): Rebind minibuffer-completion-table.
	(PC-read-file-name-internal): New function doing what
	read-file-name-internal advice did.

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

947 948 949 950 951 952 953
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.

954 955 956 957
2007-06-30  Stefan Monnier  <monnier@iro.umontreal.ca>

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

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

965 966 967
2007-06-29  Ryan Yeske  <rcyeske@gmail.com>

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

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

977 978 979 980 981
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.

982 983 984 985 986
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.

987 988 989 990 991
2007-06-28  Andreas Schwab  <schwab@suse.de>

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

992 993 994 995 996 997 998
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
999 1000 1001 1002 1003 1004 1005 1006
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 \#.

1007 1008 1009 1010 1011 1012
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
1013 1014
2007-06-28  Nick Roberts  <nickrob@snap.net.nz>

1015 1016
	* pcvs-util.el (cvs-strings->string, cvs-string->strings):
	Rename and move to...
Nick Roberts's avatar
Nick Roberts committed
1017 1018 1019 1020 1021 1022 1023 1024 1025

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

1026 1027 1028 1029 1030 1031 1032 1033 1034 1035
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'.

1036 1037
2007-06-27  Stefan Monnier  <monnier@iro.umontreal.ca>

1038 1039 1040 1041 1042 1043 1044 1045 1046
	* 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.

1047 1048 1049 1050 1051 1052 1053 1054 1055 1056 1057
	* 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.

1058 1059
	* ps-print.el: Update with auto-generated autoloads.

1060 1061
	* ps-mule.el: Set generated-autoload-file to "ps-print.el".

1062 1063
2007-06-26  Stefan Monnier  <monnier@iro.umontreal.ca>

1064 1065 1066 1067 1068 1069 1070 1071
	* 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.

1072 1073 1074 1075 1076 1077 1078 1079 1080 1081 1082 1083
	* 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.

1084 1085 1086 1087 1088 1089 1090 1091
	* 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.

1092 1093 1094 1095 1096
	* 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.

1097 1098 1099 1100 1101
	* 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
1102 1103 1104 1105 1106
2007-06-25  David Kastrup  <dak@gnu.org>

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

1107 1108 1109 1110 1111 1112
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.

1113 1114
2007-06-25  Stefan Monnier  <monnier@iro.umontreal.ca>

1115 1116 1117 1118 1119
	* 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.

1120 1121 1122 1123
	* emacs-lisp/autoload.el: Refactor for upcoming changes.
	(autoload-find-destination): New function extracted from
	update-file-autoloads.
	(update-file-autoloads): Use it.
1124 1125 1126 1127 1128
	(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.
1129

1130 1131
2007-06-24  Jay Belanger  <jay.p.belanger@gmail.com>

1132
	* calc/calc-comb.el (math-init-random-base, math-prime-test):
1133 1134 1135
	Use math-read-number-simple to insert constants.
	(math-prime-test): Redo calculation of sum.

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

1138
	* calc/calc-math.el (math-scale-bignum-digit-size): Rename from
1139 1140 1141 1142 1143
	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
1144 1145 1146 1147 1148 1149 1150 1151 1152 1153 1154 1155
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.
1156 1157
	(bibtex-field-re-init, bibtex-font-lock-cite, bibtex-dist):
	New functions.
Roland Winkler's avatar
Roland Winkler committed
1158 1159 1160 1161 1162 1163 1164
	(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
1165

1166 1167 1168 1169 1170 1171 1172 1173 1174 1175
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.

1176 1177 1178 1179 1180
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
1181 1182 1183 1184 1185
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
1186 1187 1188 1189 1190
2007-06-23  Juanma Barranquero  <lekktu@gmail.com>

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

1191 1192 1193
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
1194
	FILE exists as a file.
1195

1196 1197 1198
2007-06-22  Jay Belanger  <jay.p.belanger@gmail.com>

	* calc/calc.el (math-bignum-digit-length)
Juanma Barranquero's avatar
Juanma Barranquero committed
1199
	(math-bignum-digit-size, math-small-integer-size):
1200
	New constants.
Juanma Barranquero's avatar
Juanma Barranquero committed
1201 1202 1203
	(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)
1204
	(math-add, math-add-bignum, math-sub-bignum, math-sub, math-mul)
Juanma Barranquero's avatar
Juanma Barranquero committed
1205 1206 1207
	(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)
1208 1209 1210
	(math-read-bignum): Use math-bignum-digit-length,
	math-bignum-digit-size and math-small-integer-size.

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

1214 1215 1216 1217
2007-06-23  Dan Nicolaescu  <dann@ics.uci.edu>

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

1218 1219
2007-06-22  Stefan Monnier  <monnier@iro.umontreal.ca>

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

1223 1224 1225
	* vc-hg.el (vc-hg-registered): Add an autoloaded version.
	(vc-hg-log-view-mode): Use log-view-font-lock-keywords.

1226 1227 1228 1229 1230
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.

1231 1232
2007-06-22  Jay Belanger  <jay.p.belanger@gmail.com>

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

1236 1237 1238 1239 1240 1241
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'.

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

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

Jay Belanger's avatar
Jay Belanger committed
1247 1248 1249 1250 1251 1252 1253
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
1254
	(math-approx-pi, math-approx-sqrt-e, math-approx-gamma-const):
Jay Belanger's avatar
Jay Belanger committed
1255 1256
	New variables to use in caches.

Juanma Barranquero's avatar
Juanma Barranquero committed
1257 1258
	* 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
1259

Stefan Monnier's avatar
Stefan Monnier committed
1260
	* calc/calc-func.el (math-besJ0, math-besJ1, math-besY0, math-besY1)
Jay Belanger's avatar
Jay Belanger committed
1261 1262 1263 1264 1265 1266
	(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.

1267 1268
2007-06-22  Dan Nicolaescu  <dann@ics.uci.edu>

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

1271 1272
	* vc-hg.el (vc-hg-log-view-mode): New mode.

1273 1274 1275 1276
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
1277
2007-06-21  Stefan Monnier  <monnier@iro.umontreal.ca>
1278 1279 1280 1281

	* 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
1282
	(vera-skip-forward-literal, vera-skip-backward-literal): Improve code,
1283 1284 1285 1286 1287 1288 1289 1290
	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
1291 1292
2007-06-21  Carsten Dominik  <dominik@science.uva.nl>

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

Dan Nicolaescu's avatar
Dan Nicolaescu committed
1297 1298 1299 1300 1301 1302 1303 1304 1305
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.

1306 1307
2007-06-20  Jay Belanger  <jay.p.belanger@gmail.com>