diff options
| author | Miles Bader | 2004-09-17 14:31:05 +0000 |
|---|---|---|
| committer | Miles Bader | 2004-09-17 14:31:05 +0000 |
| commit | c067d39f19394fe777c955add7ce089cbe756d7b (patch) | |
| tree | 9b58f78d2ad2e7d0a557d3ca037ca85cc196045e | |
| parent | a63aa6924c6a4bb92dfdb524627c13c791615e2b (diff) | |
| parent | 1232b9cbdef913b799c7423d7a39ddb0e30138bd (diff) | |
| download | emacs-c067d39f19394fe777c955add7ce089cbe756d7b.tar.gz emacs-c067d39f19394fe777c955add7ce089cbe756d7b.zip | |
Revision: miles@gnu.org--gnu-2004/emacs--unicode--0--patch-41
Merge from emacs--cvs-trunk--0
Patches applied:
* miles@gnu.org--gnu-2004/emacs--cvs-trunk--0--patch-551
Update from CVS
* miles@gnu.org--gnu-2004/emacs--cvs-trunk--0--patch-552
Merge from gnus--rel--5.10
* miles@gnu.org--gnu-2004/gnus--rel--5.10--patch-27
Use the same directory explicit id-tags as Emacs where possible
* miles@gnu.org--gnu-2004/gnus--rel--5.10--patch-28
- miles@gnu.org--gnu-2004/gnus--rel--5.10--patch-29
Update from CVS
| -rw-r--r-- | lisp/ChangeLog | 5 | ||||
| -rw-r--r-- | lisp/calc/calc-embed.el | 2 | ||||
| -rw-r--r-- | lisp/calc/calc.el | 420 | ||||
| -rw-r--r-- | lisp/gnus/ChangeLog | 9 | ||||
| -rw-r--r-- | lisp/gnus/gnus-sum.el | 4 | ||||
| -rw-r--r-- | lisp/gnus/nnimap.el | 8 | ||||
| -rw-r--r-- | lisp/vc.el | 5 |
7 files changed, 274 insertions, 179 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog index 6edfb468241..d5dab8bb0cb 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog | |||
| @@ -1,3 +1,8 @@ | |||
| 1 | 2004-09-15 Thien-Thi Nguyen <ttn@gnu.org> | ||
| 2 | |||
| 3 | * vc.el (annotate-time): Document point handling. | ||
| 4 | (vc-annotate-display-autoscale): Doc fix. | ||
| 5 | |||
| 1 | 2004-09-15 Miles Bader <miles@gnu.org> | 6 | 2004-09-15 Miles Bader <miles@gnu.org> |
| 2 | 7 | ||
| 3 | * generic.el (generic-make-keywords-list): Use symbol rather than | 8 | * generic.el (generic-make-keywords-list): Use symbol rather than |
diff --git a/lisp/calc/calc-embed.el b/lisp/calc/calc-embed.el index 5fd77fe625f..b3c5a4cff64 100644 --- a/lisp/calc/calc-embed.el +++ b/lisp/calc/calc-embed.el | |||
| @@ -557,7 +557,7 @@ The command \\[yank] can retrieve it from there." | |||
| 557 | (not (eq (cdr found) 'default))) | 557 | (not (eq (cdr found) 'default))) |
| 558 | (progn | 558 | (progn |
| 559 | (if (eq (setq value (cdr (car v))) 'default) | 559 | (if (eq (setq value (cdr (car v))) 'default) |
| 560 | (setq value (cdr (assq (car (car v)) calc-mode-var-list)))) | 560 | (setq value (list (nth 1 (assq (car (car v)) calc-mode-var-list))))) |
| 561 | (equal (symbol-value (car (car v))) value)) | 561 | (equal (symbol-value (car (car v))) value)) |
| 562 | (progn | 562 | (progn |
| 563 | (setq changed t) | 563 | (setq changed t) |
diff --git a/lisp/calc/calc.el b/lisp/calc/calc.el index 782275c9b07..d3e00a7a5a1 100644 --- a/lisp/calc/calc.el +++ b/lisp/calc/calc.el | |||
| @@ -3,8 +3,7 @@ | |||
| 3 | ;; Copyright (C) 1990, 1991, 1992, 1993, 2001, 2002, 2003, 2004 Free Software Foundation, Inc. | 3 | ;; Copyright (C) 1990, 1991, 1992, 1993, 2001, 2002, 2003, 2004 Free Software Foundation, Inc. |
| 4 | 4 | ||
| 5 | ;; Author: David Gillespie <daveg@synaptics.com> | 5 | ;; Author: David Gillespie <daveg@synaptics.com> |
| 6 | ;; Maintainers: D. Goel <deego@gnufans.org> | 6 | ;; Maintainer: Jay Belanger <belanger@truman.edu> |
| 7 | ;; Colin Walters <walters@debian.org> | ||
| 8 | ;; Keywords: convenience, extensions | 7 | ;; Keywords: convenience, extensions |
| 9 | ;; Version: 2.02g | 8 | ;; Version: 2.02g |
| 10 | 9 | ||
| @@ -237,7 +236,7 @@ This can safely be nil as long as the Calc files are on the load-path.") | |||
| 237 | (defvar calc-gnuplot-print-command "lp %s" | 236 | (defvar calc-gnuplot-print-command "lp %s" |
| 238 | "*Name of command for printing GNUPLOT output; %s = file name to print.") | 237 | "*Name of command for printing GNUPLOT output; %s = file name to print.") |
| 239 | 238 | ||
| 240 | (defvar calc-bug-address "deego@gnufans.org" | 239 | (defvar calc-bug-address "belanger@truman.edu" |
| 241 | "Address of the author of Calc, for use by `report-calc-bug'.") | 240 | "Address of the author of Calc, for use by `report-calc-bug'.") |
| 242 | 241 | ||
| 243 | (defvar calc-scan-for-dels t | 242 | (defvar calc-scan-for-dels t |
| @@ -257,60 +256,145 @@ Entries are 3-lists: Formula, Height (in lines), Selection (or nil).") | |||
| 257 | "Index into `calc-stack' of \"top\" of stack. | 256 | "Index into `calc-stack' of \"top\" of stack. |
| 258 | This is 1 unless `calc-truncate-stack' has been used.") | 257 | This is 1 unless `calc-truncate-stack' has been used.") |
| 259 | 258 | ||
| 260 | (defvar calc-always-load-extensions nil | 259 | (defvar calc-display-sci-high 0 |
| 261 | "If non-nil, load the calc-ext module automatically when calc is loaded.") | 260 | "Floating-point numbers with this positive exponent or higher above the |
| 261 | current precision are displayed in scientific notation in calc-mode.") | ||
| 262 | |||
| 263 | (defvar calc-display-sci-low -3 | ||
| 264 | "Floating-point numbers with this negative exponent or lower are displayed | ||
| 265 | scientific notation in calc-mode.") | ||
| 266 | |||
| 267 | (defvar calc-other-modes nil | ||
| 268 | "List of used-defined strings to append to Calculator mode line.") | ||
| 262 | 269 | ||
| 263 | (defvar calc-line-numbering t | 270 | (defvar calc-Y-help-msgs nil |
| 264 | "If non-nil, display line numbers in Calculator stack.") | 271 | "List of strings for Y prefix help.") |
| 265 | 272 | ||
| 266 | (defvar calc-line-breaking t | 273 | (defvar calc-loaded-settings-file nil |
| 267 | "If non-nil, break long values across multiple lines in Calculator stack.") | 274 | "t if `calc-settings-file' has been loaded yet.") |
| 268 | 275 | ||
| 269 | (defvar calc-display-just nil | 276 | (defvar calc-always-load-extensions) |
| 270 | "If nil, stack display is left-justified. | 277 | (defvar calc-line-numbering) |
| 278 | (defvar calc-line-breaking) | ||
| 279 | (defvar calc-display-just) | ||
| 280 | (defvar calc-display-origin) | ||
| 281 | (defvar calc-number-radix) | ||
| 282 | (defvar calc-leading-zeros) | ||
| 283 | (defvar calc-group-digits) | ||
| 284 | (defvar calc-group-char) | ||
| 285 | (defvar calc-point-char) | ||
| 286 | (defvar calc-frac-format) | ||
| 287 | (defvar calc-prefer-frac) | ||
| 288 | (defvar calc-hms-format) | ||
| 289 | (defvar calc-date-format) | ||
| 290 | (defvar calc-float-format) | ||
| 291 | (defvar calc-full-float-format) | ||
| 292 | (defvar calc-complex-format) | ||
| 293 | (defvar calc-complex-mode) | ||
| 294 | (defvar calc-infinite-mode) | ||
| 295 | (defvar calc-display-strings) | ||
| 296 | (defvar calc-matrix-just) | ||
| 297 | (defvar calc-break-vectors) | ||
| 298 | (defvar calc-full-vectors) | ||
| 299 | (defvar calc-full-trail-vectors) | ||
| 300 | (defvar calc-vector-commas) | ||
| 301 | (defvar calc-vector-brackets) | ||
| 302 | (defvar calc-matrix-brackets) | ||
| 303 | (defvar calc-language) | ||
| 304 | (defvar calc-language-option) | ||
| 305 | (defvar calc-left-label) | ||
| 306 | (defvar calc-right-label) | ||
| 307 | (defvar calc-word-size) | ||
| 308 | (defvar calc-previous-modulo) | ||
| 309 | (defvar calc-simplify-mode) | ||
| 310 | (defvar calc-auto-recompute) | ||
| 311 | (defvar calc-display-raw) | ||
| 312 | (defvar calc-internal-prec) | ||
| 313 | (defvar calc-angle-mode) | ||
| 314 | (defvar calc-algebraic-mode) | ||
| 315 | (defvar calc-incomplete-algebraic-mode) | ||
| 316 | (defvar calc-symbolic-mode) | ||
| 317 | (defvar calc-matrix-mode) | ||
| 318 | (defvar calc-shift-prefix) | ||
| 319 | (defvar calc-window-height) | ||
| 320 | (defvar calc-display-trail) | ||
| 321 | (defvar calc-show-selections) | ||
| 322 | (defvar calc-use-selections) | ||
| 323 | (defvar calc-assoc-selections) | ||
| 324 | (defvar calc-display-working-message) | ||
| 325 | (defvar calc-auto-why) | ||
| 326 | (defvar calc-timing) | ||
| 327 | (defvar calc-mode-save-mode) | ||
| 328 | (defvar calc-standard-date-formats) | ||
| 329 | (defvar calc-autorange-units) | ||
| 330 | (defvar calc-was-keypad-mode) | ||
| 331 | (defvar calc-full-mode) | ||
| 332 | (defvar calc-user-parse-tables) | ||
| 333 | (defvar calc-gnuplot-default-device) | ||
| 334 | (defvar calc-gnuplot-default-output) | ||
| 335 | (defvar calc-gnuplot-print-device) | ||
| 336 | (defvar calc-gnuplot-print-output) | ||
| 337 | (defvar calc-gnuplot-geometry) | ||
| 338 | (defvar calc-graph-default-resolution) | ||
| 339 | (defvar calc-graph-default-resolution-3d) | ||
| 340 | (defvar calc-invocation-macro) | ||
| 341 | (defvar calc-show-banner) | ||
| 342 | |||
| 343 | (defconst calc-mode-var-list '( | ||
| 344 | (calc-always-load-extensions nil | ||
| 345 | "If non-nil, load the calc-ext module automatically when calc is loaded.") | ||
| 346 | |||
| 347 | (calc-line-numbering t | ||
| 348 | "If non-nil, display line numbers in Calculator stack.") | ||
| 349 | |||
| 350 | (calc-line-breaking t | ||
| 351 | "If non-nil, break long values across multiple lines in Calculator stack.") | ||
| 352 | |||
| 353 | (calc-display-just nil | ||
| 354 | "If nil, stack display is left-justified. | ||
| 271 | If `right', stack display is right-justified. | 355 | If `right', stack display is right-justified. |
| 272 | If `center', stack display is centered.") | 356 | If `center', stack display is centered.") |
| 273 | 357 | ||
| 274 | (defvar calc-display-origin nil | 358 | (calc-display-origin nil |
| 275 | "Horizontal origin of displayed stack entries. | 359 | "Horizontal origin of displayed stack entries. |
| 276 | In left-justified mode, this is effectively indentation. (Default 0). | 360 | In left-justified mode, this is effectively indentation. (Default 0). |
| 277 | In right-justified mode, this is effectively window width. | 361 | In right-justified mode, this is effectively window width. |
| 278 | In centered mode, center of stack entry is placed here.") | 362 | In centered mode, center of stack entry is placed here.") |
| 279 | 363 | ||
| 280 | (defvar calc-number-radix 10 | 364 | (calc-number-radix 10 |
| 281 | "Radix for entry and display of numbers in calc-mode, 2-36.") | 365 | "Radix for entry and display of numbers in calc-mode, 2-36.") |
| 282 | 366 | ||
| 283 | (defvar calc-leading-zeros nil | 367 | (calc-leading-zeros nil |
| 284 | "If non-nil, leading zeros are provided to pad integers to calc-word-size.") | 368 | "If non-nil, leading zeros are provided to pad integers to calc-word-size.") |
| 285 | 369 | ||
| 286 | (defvar calc-group-digits nil | 370 | (calc-group-digits nil |
| 287 | "If non-nil, group digits in large displayed integers by inserting spaces. | 371 | "If non-nil, group digits in large displayed integers by inserting spaces. |
| 288 | If an integer, group that many digits at a time. | 372 | If an integer, group that many digits at a time. |
| 289 | If t, use 4 for binary and hex, 3 otherwise.") | 373 | If t, use 4 for binary and hex, 3 otherwise.") |
| 290 | 374 | ||
| 291 | (defvar calc-group-char "," | 375 | (calc-group-char "," |
| 292 | "The character (in the form of a string) to be used for grouping digits. | 376 | "The character (in the form of a string) to be used for grouping digits. |
| 293 | This is used only when calc-group-digits mode is on.") | 377 | This is used only when calc-group-digits mode is on.") |
| 294 | 378 | ||
| 295 | (defvar calc-point-char "." | 379 | (calc-point-char "." |
| 296 | "The character (in the form of a string) to be used as a decimal point.") | 380 | "The character (in the form of a string) to be used as a decimal point.") |
| 381 | |||
| 382 | (calc-frac-format (":" nil) | ||
| 383 | "Format of displayed fractions; a string of one or two of \":\" or \"/\".") | ||
| 297 | 384 | ||
| 298 | (defvar calc-frac-format '(":" nil) | 385 | (calc-prefer-frac nil |
| 299 | "Format of displayed fractions; a string of one or two of \":\" or \"/\".") | 386 | "If non-nil, prefer fractional over floating-point results.") |
| 300 | 387 | ||
| 301 | (defvar calc-prefer-frac nil | 388 | (calc-hms-format "%s@ %s' %s\"" |
| 302 | "If non-nil, prefer fractional over floating-point results.") | 389 | "Format of displayed hours-minutes-seconds angles, a format string. |
| 303 | |||
| 304 | (defvar calc-hms-format "%s@ %s' %s\"" | ||
| 305 | "Format of displayed hours-minutes-seconds angles, a format string. | ||
| 306 | String must contain three %s marks for hours, minutes, seconds respectively.") | 390 | String must contain three %s marks for hours, minutes, seconds respectively.") |
| 307 | 391 | ||
| 308 | (defvar calc-date-format '((H ":" mm C SS pp " ") | 392 | (calc-date-format ((H ":" mm C SS pp " ") |
| 309 | Www " " Mmm " " D ", " YYYY) | 393 | Www " " Mmm " " D ", " YYYY) |
| 310 | "Format of displayed date forms.") | 394 | "Format of displayed date forms.") |
| 311 | 395 | ||
| 312 | (defvar calc-float-format '(float 0) | 396 | (calc-float-format (float 0) |
| 313 | "Format to use for display of floating-point numbers in calc-mode. | 397 | "Format to use for display of floating-point numbers in calc-mode. |
| 314 | Must be a list of one of the following forms: | 398 | Must be a list of one of the following forms: |
| 315 | (float 0) Floating point format, display full precision. | 399 | (float 0) Floating point format, display full precision. |
| 316 | (float N) N > 0: Floating point format, at most N significant figures. | 400 | (float N) N > 0: Floating point format, at most N significant figures. |
| @@ -323,54 +407,54 @@ Must be a list of one of the following forms: | |||
| 323 | (eng N) N > 0: Engineering notation, N significant figures. | 407 | (eng N) N > 0: Engineering notation, N significant figures. |
| 324 | (eng -N) -N < 0: Engineering notation, calc-internal-prec - N figs.") | 408 | (eng -N) -N < 0: Engineering notation, calc-internal-prec - N figs.") |
| 325 | 409 | ||
| 326 | (defvar calc-full-float-format '(float 0) | 410 | (calc-full-float-format (float 0) |
| 327 | "Format to use when full precision must be displayed.") | 411 | "Format to use when full precision must be displayed.") |
| 328 | 412 | ||
| 329 | (defvar calc-complex-format nil | 413 | (calc-complex-format nil |
| 330 | "Format to use for display of complex numbers in calc-mode. Must be one of: | 414 | "Format to use for display of complex numbers in calc-mode. Must be one of: |
| 331 | nil Use (x, y) form. | 415 | nil Use (x, y) form. |
| 332 | i Use x + yi form. | 416 | i Use x + yi form. |
| 333 | j Use x + yj form.") | 417 | j Use x + yj form.") |
| 334 | 418 | ||
| 335 | (defvar calc-complex-mode 'cplx | 419 | (calc-complex-mode cplx |
| 336 | "Preferred form, either `cplx' or `polar', for complex numbers.") | 420 | "Preferred form, either `cplx' or `polar', for complex numbers.") |
| 337 | 421 | ||
| 338 | (defvar calc-infinite-mode nil | 422 | (calc-infinite-mode nil |
| 339 | "If nil, 1 / 0 is left unsimplified. | 423 | "If nil, 1 / 0 is left unsimplified. |
| 340 | If 0, 1 / 0 is changed to inf (zeros are considered positive). | 424 | If 0, 1 / 0 is changed to inf (zeros are considered positive). |
| 341 | Otherwise, 1 / 0 is changed to uinf (undirected infinity).") | 425 | Otherwise, 1 / 0 is changed to uinf (undirected infinity).") |
| 342 | 426 | ||
| 343 | (defvar calc-display-strings nil | 427 | (calc-display-strings nil |
| 344 | "If non-nil, display vectors of byte-sized integers as strings.") | 428 | "If non-nil, display vectors of byte-sized integers as strings.") |
| 345 | 429 | ||
| 346 | (defvar calc-matrix-just 'center | 430 | (calc-matrix-just 'center |
| 347 | "If nil, vector elements are left-justified. | 431 | "If nil, vector elements are left-justified. |
| 348 | If `right', vector elements are right-justified. | 432 | If `right', vector elements are right-justified. |
| 349 | If `center', vector elements are centered.") | 433 | If `center', vector elements are centered.") |
| 350 | 434 | ||
| 351 | (defvar calc-break-vectors nil | 435 | (calc-break-vectors nil |
| 352 | "If non-nil, display vectors one element per line.") | 436 | "If non-nil, display vectors one element per line.") |
| 353 | 437 | ||
| 354 | (defvar calc-full-vectors t | 438 | (calc-full-vectors t |
| 355 | "If non-nil, display long vectors in full. If nil, use abbreviated form.") | 439 | "If non-nil, display long vectors in full. If nil, use abbreviated form.") |
| 356 | 440 | ||
| 357 | (defvar calc-full-trail-vectors t | 441 | (calc-full-trail-vectors t |
| 358 | "If non-nil, display long vectors in full in the trail.") | 442 | "If non-nil, display long vectors in full in the trail.") |
| 359 | 443 | ||
| 360 | (defvar calc-vector-commas "," | 444 | (calc-vector-commas "," |
| 361 | "If non-nil, separate elements of displayed vectors with this string.") | 445 | "If non-nil, separate elements of displayed vectors with this string.") |
| 362 | 446 | ||
| 363 | (defvar calc-vector-brackets "[]" | 447 | (calc-vector-brackets "[]" |
| 364 | "If non-nil, surround displayed vectors with these characters.") | 448 | "If non-nil, surround displayed vectors with these characters.") |
| 365 | 449 | ||
| 366 | (defvar calc-matrix-brackets '(R O) | 450 | (calc-matrix-brackets '(R O) |
| 367 | "A list of code-letter symbols that control \"big\" matrix display. | 451 | "A list of code-letter symbols that control \"big\" matrix display. |
| 368 | If `R' is present, display inner brackets for matrices. | 452 | If `R' is present, display inner brackets for matrices. |
| 369 | If `O' is present, display outer brackets for matrices (above/below). | 453 | If `O' is present, display outer brackets for matrices (above/below). |
| 370 | If `C' is present, display outer brackets for matrices (centered).") | 454 | If `C' is present, display outer brackets for matrices (centered).") |
| 371 | 455 | ||
| 372 | (defvar calc-language nil | 456 | (calc-language nil |
| 373 | "Language or format for entry and display of stack values. Must be one of: | 457 | "Language or format for entry and display of stack values. Must be one of: |
| 374 | nil Use standard Calc notation. | 458 | nil Use standard Calc notation. |
| 375 | flat Use standard Calc notation, one-line format. | 459 | flat Use standard Calc notation, one-line format. |
| 376 | big Display formulas in 2-d notation (enter w/std notation). | 460 | big Display formulas in 2-d notation (enter w/std notation). |
| @@ -383,38 +467,23 @@ If `C' is present, display outer brackets for matrices (centered).") | |||
| 383 | math Use Mathematica(tm) notation. | 467 | math Use Mathematica(tm) notation. |
| 384 | maple Use Maple notation.") | 468 | maple Use Maple notation.") |
| 385 | 469 | ||
| 386 | (defvar calc-language-option nil | 470 | (calc-language-option nil |
| 387 | "Numeric prefix argument for the command that set `calc-language'.") | 471 | "Numeric prefix argument for the command that set `calc-language'.") |
| 388 | |||
| 389 | (defvar calc-function-open "(" | ||
| 390 | "Open-parenthesis string for function call notation.") | ||
| 391 | |||
| 392 | (defvar calc-function-close ")" | ||
| 393 | "Close-parenthesis string for function call notation.") | ||
| 394 | |||
| 395 | (defvar calc-language-output-filter nil | ||
| 396 | "Function through which to pass strings after formatting.") | ||
| 397 | |||
| 398 | (defvar calc-language-input-filter nil | ||
| 399 | "Function through which to pass strings before parsing.") | ||
| 400 | |||
| 401 | (defvar calc-radix-formatter nil | ||
| 402 | "Formatting function used for non-decimal numbers.") | ||
| 403 | 472 | ||
| 404 | (defvar calc-left-label "" | 473 | (calc-left-label "" |
| 405 | "Label to display at left of formula.") | 474 | "Label to display at left of formula.") |
| 406 | 475 | ||
| 407 | (defvar calc-right-label "" | 476 | (calc-right-label "" |
| 408 | "Label to display at right of formula.") | 477 | "Label to display at right of formula.") |
| 409 | 478 | ||
| 410 | (defvar calc-word-size 32 | 479 | (calc-word-size 32 |
| 411 | "Minimum number of bits per word, if any, for binary operations in calc-mode.") | 480 | "Minimum number of bits per word, if any, for binary operations in calc-mode.") |
| 412 | 481 | ||
| 413 | (defvar calc-previous-modulo nil | 482 | (calc-previous-modulo nil |
| 414 | "Most recently used value of M in a modulo form.") | 483 | "Most recently used value of M in a modulo form.") |
| 415 | 484 | ||
| 416 | (defvar calc-simplify-mode nil | 485 | (calc-simplify-mode nil |
| 417 | "Type of simplification applied to results. | 486 | "Type of simplification applied to results. |
| 418 | If `none', results are not simplified when pushed on the stack. | 487 | If `none', results are not simplified when pushed on the stack. |
| 419 | If `num', functions are simplified only when args are constant. | 488 | If `num', functions are simplified only when args are constant. |
| 420 | If nil, only fast simplifications are applied. | 489 | If nil, only fast simplifications are applied. |
| @@ -423,119 +492,112 @@ If `alg', `math-simplify' is applied. | |||
| 423 | If `ext', `math-simplify-extended' is applied. | 492 | If `ext', `math-simplify-extended' is applied. |
| 424 | If `units', `math-simplify-units' is applied.") | 493 | If `units', `math-simplify-units' is applied.") |
| 425 | 494 | ||
| 426 | (defvar calc-auto-recompute t | 495 | (calc-auto-recompute t |
| 427 | "If non-nil, recompute evalto's automatically when necessary.") | 496 | "If non-nil, recompute evalto's automatically when necessary.") |
| 428 | 497 | ||
| 429 | (defvar calc-display-raw nil | 498 | (calc-display-raw nil |
| 430 | "If non-nil, display shows unformatted Lisp exprs. (For debugging)") | 499 | "If non-nil, display shows unformatted Lisp exprs. (For debugging)") |
| 431 | 500 | ||
| 432 | (defvar calc-internal-prec 12 | 501 | (calc-internal-prec 12 |
| 433 | "Number of digits of internal precision for calc-mode calculations.") | 502 | "Number of digits of internal precision for calc-mode calculations.") |
| 434 | |||
| 435 | (defvar calc-inverse-flag nil | ||
| 436 | "If non-nil, next operation is Inverse.") | ||
| 437 | |||
| 438 | (defvar calc-hyperbolic-flag nil | ||
| 439 | "If non-nil, next operation is Hyperbolic.") | ||
| 440 | 503 | ||
| 441 | (defvar calc-keep-args-flag nil | 504 | (calc-angle-mode deg |
| 442 | "If non-nil, next operation should not remove its arguments from stack.") | 505 | "If deg, angles are in degrees; if rad, angles are in radians. |
| 443 | |||
| 444 | (defvar calc-angle-mode 'deg | ||
| 445 | "If deg, angles are in degrees; if rad, angles are in radians. | ||
| 446 | If hms, angles are in degrees-minutes-seconds.") | 506 | If hms, angles are in degrees-minutes-seconds.") |
| 447 | 507 | ||
| 448 | (defvar calc-algebraic-mode nil | 508 | (calc-algebraic-mode nil |
| 449 | "If non-nil, numeric entry accepts whole algebraic expressions. | 509 | "If non-nil, numeric entry accepts whole algebraic expressions. |
| 450 | If nil, algebraic expressions must be preceded by \"'\".") | 510 | If nil, algebraic expressions must be preceded by \"'\".") |
| 451 | 511 | ||
| 452 | (defvar calc-incomplete-algebraic-mode nil | 512 | (calc-incomplete-algebraic-mode nil |
| 453 | "Like calc-algebraic-mode except only affects ( and [ keys.") | 513 | "Like calc-algebraic-mode except only affects ( and [ keys.") |
| 454 | 514 | ||
| 455 | (defvar calc-symbolic-mode nil | 515 | (calc-symbolic-mode nil |
| 456 | "If non-nil, inexact numeric computations like sqrt(2) are postponed. | 516 | "If non-nil, inexact numeric computations like sqrt(2) are postponed. |
| 457 | If nil, computations on numbers always yield numbers where possible.") | 517 | If nil, computations on numbers always yield numbers where possible.") |
| 458 | 518 | ||
| 459 | (defvar calc-matrix-mode nil | 519 | (calc-matrix-mode nil |
| 460 | "If `matrix', variables are assumed to be matrix-valued. | 520 | "If `matrix', variables are assumed to be matrix-valued. |
| 461 | If a number, variables are assumed to be NxN matrices. | 521 | If a number, variables are assumed to be NxN matrices. |
| 462 | If `scalar', variables are assumed to be scalar-valued. | 522 | If `scalar', variables are assumed to be scalar-valued. |
| 463 | If nil, symbolic math routines make no assumptions about variables.") | 523 | If nil, symbolic math routines make no assumptions about variables.") |
| 464 | 524 | ||
| 465 | (defvar calc-shift-prefix nil | 525 | (calc-shift-prefix nil |
| 466 | "If non-nil, shifted letter keys are prefix keys rather than normal meanings.") | 526 | "If non-nil, shifted letter keys are prefix keys rather than normal meanings.") |
| 467 | 527 | ||
| 468 | (defvar calc-window-height 7 | 528 | (calc-window-height 7 |
| 469 | "Initial height of Calculator window.") | 529 | "Initial height of Calculator window.") |
| 470 | 530 | ||
| 471 | (defvar calc-display-trail t | 531 | (calc-display-trail t |
| 472 | "If non-nil, M-x calc creates a window to display Calculator trail.") | 532 | "If non-nil, M-x calc creates a window to display Calculator trail.") |
| 473 | 533 | ||
| 474 | (defvar calc-show-selections t | 534 | (calc-show-selections t |
| 475 | "If non-nil, selected sub-formulas are shown by obscuring rest of formula. | 535 | "If non-nil, selected sub-formulas are shown by obscuring rest of formula. |
| 476 | If nil, selected sub-formulas are highlighted by obscuring the sub-formulas.") | 536 | If nil, selected sub-formulas are highlighted by obscuring the sub-formulas.") |
| 477 | 537 | ||
| 478 | (defvar calc-use-selections t | 538 | (calc-use-selections t |
| 479 | "If non-nil, commands operate only on selected portions of formulas. | 539 | "If non-nil, commands operate only on selected portions of formulas. |
| 480 | If nil, selections displayed but ignored.") | 540 | If nil, selections displayed but ignored.") |
| 481 | 541 | ||
| 482 | (defvar calc-assoc-selections t | 542 | (calc-assoc-selections t |
| 483 | "If non-nil, selection hides deep structure of associative formulas.") | 543 | "If non-nil, selection hides deep structure of associative formulas.") |
| 484 | 544 | ||
| 485 | (defvar calc-display-working-message 'lots | 545 | (calc-display-working-message 'lots |
| 486 | "If non-nil, display \"Working...\" for potentially slow Calculator commands.") | 546 | "If non-nil, display \"Working...\" for potentially slow Calculator commands.") |
| 487 | 547 | ||
| 488 | (defvar calc-auto-why 'maybe | 548 | (calc-auto-why 'maybe |
| 489 | "If non-nil, automatically execute a \"why\" command to explain odd results.") | 549 | "If non-nil, automatically execute a \"why\" command to explain odd results.") |
| 490 | 550 | ||
| 491 | (defvar calc-timing nil | 551 | (calc-timing nil |
| 492 | "If non-nil, display timing information on each slow command.") | 552 | "If non-nil, display timing information on each slow command.") |
| 493 | 553 | ||
| 494 | (defvar calc-display-sci-high 0 | 554 | (calc-mode-save-mode local) |
| 495 | "Floating-point numbers with this positive exponent or higher above the | ||
| 496 | current precision are displayed in scientific notation in calc-mode.") | ||
| 497 | 555 | ||
| 498 | (defvar calc-display-sci-low -3 | 556 | (calc-standard-date-formats |
| 499 | "Floating-point numbers with this negative exponent or lower are displayed | 557 | '("N" |
| 500 | scientific notation in calc-mode.") | 558 | "<H:mm:SSpp >Www Mmm D, YYYY" |
| 559 | "D Mmm YYYY<, h:mm:SS>" | ||
| 560 | "Www Mmm BD< hh:mm:ss> YYYY" | ||
| 561 | "M/D/Y< H:mm:SSpp>" | ||
| 562 | "D.M.Y< h:mm:SS>" | ||
| 563 | "M-D-Y< H:mm:SSpp>" | ||
| 564 | "D-M-Y< h:mm:SS>" | ||
| 565 | "j<, h:mm:SS>" | ||
| 566 | "YYddd< hh:mm:ss>")) | ||
| 501 | 567 | ||
| 568 | (calc-autorange-units nil) | ||
| 569 | |||
| 570 | (calc-was-keypad-mode nil) | ||
| 571 | |||
| 572 | (calc-full-mode nil) | ||
| 502 | 573 | ||
| 503 | (defvar calc-other-modes nil | 574 | (calc-user-parse-tables nil) |
| 504 | "List of used-defined strings to append to Calculator mode line.") | ||
| 505 | 575 | ||
| 506 | (defvar calc-Y-help-msgs nil | 576 | (calc-gnuplot-default-device "default") |
| 507 | "List of strings for Y prefix help.") | ||
| 508 | 577 | ||
| 509 | (defvar calc-loaded-settings-file nil | 578 | (calc-gnuplot-default-output "STDOUT") |
| 510 | "t if `calc-settings-file' has been loaded yet.") | 579 | |
| 580 | (calc-gnuplot-print-device "postscript") | ||
| 581 | |||
| 582 | (calc-gnuplot-print-output "auto") | ||
| 583 | |||
| 584 | (calc-gnuplot-geometry nil) | ||
| 585 | |||
| 586 | (calc-graph-default-resolution 15) | ||
| 511 | 587 | ||
| 588 | (calc-graph-default-resolution-3d 5) | ||
| 589 | |||
| 590 | (calc-invocation-macro nil) | ||
| 512 | 591 | ||
| 592 | (calc-show-banner t)) | ||
| 593 | "List of variables (and default values) used in customizing GNU Calc.") | ||
| 513 | 594 | ||
| 514 | (defvar calc-mode-save-mode 'local) | 595 | (mapcar (function (lambda (v) |
| 515 | (defvar calc-standard-date-formats | 596 | (or (boundp (car v)) |
| 516 | '("N" | 597 | (set (car v) (nth 1 v))) |
| 517 | "<H:mm:SSpp >Www Mmm D, YYYY" | 598 | (if (nth 2 v) |
| 518 | "D Mmm YYYY<, h:mm:SS>" | 599 | (put (car v) 'variable-documentation (nth 2 v))))) |
| 519 | "Www Mmm BD< hh:mm:ss> YYYY" | 600 | calc-mode-var-list) |
| 520 | "M/D/Y< H:mm:SSpp>" | ||
| 521 | "D.M.Y< h:mm:SS>" | ||
| 522 | "M-D-Y< H:mm:SSpp>" | ||
| 523 | "D-M-Y< h:mm:SS>" | ||
| 524 | "j<, h:mm:SS>" | ||
| 525 | "YYddd< hh:mm:ss>")) | ||
| 526 | (defvar calc-autorange-units nil) | ||
| 527 | (defvar calc-was-keypad-mode nil) | ||
| 528 | (defvar calc-full-mode nil) | ||
| 529 | (defvar calc-user-parse-tables nil) | ||
| 530 | (defvar calc-gnuplot-default-device "default") | ||
| 531 | (defvar calc-gnuplot-default-output "STDOUT") | ||
| 532 | (defvar calc-gnuplot-print-device "postscript") | ||
| 533 | (defvar calc-gnuplot-print-output "auto") | ||
| 534 | (defvar calc-gnuplot-geometry nil) | ||
| 535 | (defvar calc-graph-default-resolution 15) | ||
| 536 | (defvar calc-graph-default-resolution-3d 5) | ||
| 537 | (defvar calc-invocation-macro nil) | ||
| 538 | (defvar calc-show-banner t) | ||
| 539 | 601 | ||
| 540 | (defconst calc-local-var-list '(calc-stack | 602 | (defconst calc-local-var-list '(calc-stack |
| 541 | calc-stack-top | 603 | calc-stack-top |
| @@ -666,9 +728,23 @@ scientific notation in calc-mode.") | |||
| 666 | (defvar calc-trail-buffer nil) ; Pointer to Calc Trail buffer. | 728 | (defvar calc-trail-buffer nil) ; Pointer to Calc Trail buffer. |
| 667 | (defvar calc-why nil) ; Explanations of most recent errors. | 729 | (defvar calc-why nil) ; Explanations of most recent errors. |
| 668 | (defvar calc-next-why nil) | 730 | (defvar calc-next-why nil) |
| 669 | (defvar calc-inverse-flag nil) | 731 | (defvar calc-inverse-flag nil |
| 670 | (defvar calc-hyperbolic-flag nil) | 732 | "If non-nil, next operation is Inverse.") |
| 671 | (defvar calc-keep-args-flag nil) | 733 | (defvar calc-hyperbolic-flag nil |
| 734 | "If non-nil, next operation is Hyperbolic.") | ||
| 735 | (defvar calc-keep-args-flag nil | ||
| 736 | "If non-nil, next operation should not remove its arguments from stack.") | ||
| 737 | (defvar calc-function-open "(" | ||
| 738 | "Open-parenthesis string for function call notation.") | ||
| 739 | (defvar calc-function-close ")" | ||
| 740 | "Close-parenthesis string for function call notation.") | ||
| 741 | (defvar calc-language-output-filter nil | ||
| 742 | "Function through which to pass strings after formatting.") | ||
| 743 | (defvar calc-language-input-filter nil | ||
| 744 | "Function through which to pass strings before parsing.") | ||
| 745 | (defvar calc-radix-formatter nil | ||
| 746 | "Formatting function used for non-decimal numbers.") | ||
| 747 | |||
| 672 | (defvar calc-last-kill nil) ; Last number killed in calc-mode. | 748 | (defvar calc-last-kill nil) ; Last number killed in calc-mode. |
| 673 | (defvar calc-previous-alg-entry nil) ; Previous algebraic entry. | 749 | (defvar calc-previous-alg-entry nil) ; Previous algebraic entry. |
| 674 | (defvar calc-dollar-values nil) ; Values to be used for '$'. | 750 | (defvar calc-dollar-values nil) ; Values to be used for '$'. |
| @@ -982,7 +1058,7 @@ Notations: 3.14e6 3.14 * 10^6 | |||
| 982 | (setq calc-stack-top (- (length calc-stack) calc-stack-top -1)) | 1058 | (setq calc-stack-top (- (length calc-stack) calc-stack-top -1)) |
| 983 | (or calc-loaded-settings-file | 1059 | (or calc-loaded-settings-file |
| 984 | (null calc-settings-file) | 1060 | (null calc-settings-file) |
| 985 | (string-match "\\.emacs" calc-settings-file) | 1061 | (equal calc-settings-file user-init-file) |
| 986 | (progn | 1062 | (progn |
| 987 | (setq calc-loaded-settings-file t) | 1063 | (setq calc-loaded-settings-file t) |
| 988 | (load calc-settings-file t))) ; t = missing-ok | 1064 | (load calc-settings-file t))) ; t = missing-ok |
diff --git a/lisp/gnus/ChangeLog b/lisp/gnus/ChangeLog index 668607af94d..46b673ce540 100644 --- a/lisp/gnus/ChangeLog +++ b/lisp/gnus/ChangeLog | |||
| @@ -1,3 +1,12 @@ | |||
| 1 | 2004-09-16 Reiner Steib <Reiner.Steib@gmx.de> | ||
| 2 | |||
| 3 | * gnus-sum.el (gnus-fetch-old-headers): Added custom choices `t' | ||
| 4 | and `invisible'. | ||
| 5 | |||
| 6 | 2004-09-13 Simon Josefsson <jas@extundo.com> | ||
| 7 | |||
| 8 | * nnimap.el (nnimap-demule): Revert 2004-08-30 change. | ||
| 9 | |||
| 1 | 2004-09-13 Reiner Steib <Reiner.Steib@gmx.de> | 10 | 2004-09-13 Reiner Steib <Reiner.Steib@gmx.de> |
| 2 | 11 | ||
| 3 | * gnus-sum.el (gnus-summary-copy-article): Fixed doc string. | 12 | * gnus-sum.el (gnus-summary-copy-article): Fixed doc string. |
diff --git a/lisp/gnus/gnus-sum.el b/lisp/gnus/gnus-sum.el index 1d1e30935cb..0546d6cdff6 100644 --- a/lisp/gnus/gnus-sum.el +++ b/lisp/gnus/gnus-sum.el | |||
| @@ -63,7 +63,7 @@ it will be killed sometime later." | |||
| 63 | "*Non-nil means that Gnus will try to build threads by grabbing old headers. | 63 | "*Non-nil means that Gnus will try to build threads by grabbing old headers. |
| 64 | If an unread article in the group refers to an older, already read (or | 64 | If an unread article in the group refers to an older, already read (or |
| 65 | just marked as read) article, the old article will not normally be | 65 | just marked as read) article, the old article will not normally be |
| 66 | displayed in the Summary buffer. If this variable is non-nil, Gnus | 66 | displayed in the Summary buffer. If this variable is t, Gnus |
| 67 | will attempt to grab the headers to the old articles, and thereby | 67 | will attempt to grab the headers to the old articles, and thereby |
| 68 | build complete threads. If it has the value `some', only enough | 68 | build complete threads. If it has the value `some', only enough |
| 69 | headers to connect otherwise loose threads will be displayed. This | 69 | headers to connect otherwise loose threads will be displayed. This |
| @@ -74,7 +74,9 @@ old headers will be fetched, but none will be displayed. | |||
| 74 | The server has to support NOV for any of this to work." | 74 | The server has to support NOV for any of this to work." |
| 75 | :group 'gnus-thread | 75 | :group 'gnus-thread |
| 76 | :type '(choice (const :tag "off" nil) | 76 | :type '(choice (const :tag "off" nil) |
| 77 | (const :tag "on" t) | ||
| 77 | (const some) | 78 | (const some) |
| 79 | (const invisible) | ||
| 78 | number | 80 | number |
| 79 | (sexp :menu-tag "other" t))) | 81 | (sexp :menu-tag "other" t))) |
| 80 | 82 | ||
diff --git a/lisp/gnus/nnimap.el b/lisp/gnus/nnimap.el index 08aa48a5948..19abb629a1d 100644 --- a/lisp/gnus/nnimap.el +++ b/lisp/gnus/nnimap.el | |||
| @@ -812,9 +812,11 @@ function is generally only called when Gnus is shutting down." | |||
| 812 | ;; BEWARE: we used to use string-as-multibyte here which is braindead | 812 | ;; BEWARE: we used to use string-as-multibyte here which is braindead |
| 813 | ;; because it will turn accidental emacs-mule-valid byte sequences | 813 | ;; because it will turn accidental emacs-mule-valid byte sequences |
| 814 | ;; into multibyte chars. --Stef | 814 | ;; into multibyte chars. --Stef |
| 815 | (funcall (if (and (fboundp 'string-to-multibyte) | 815 | ;; Reverted, braindead got 7.5 out of 10 on imdb, so it can't be |
| 816 | (subrp (symbol-function 'string-to-multibyte))) | 816 | ;; that bad. --Simon |
| 817 | 'string-to-multibyte | 817 | (funcall (if (and (fboundp 'string-as-multibyte) |
| 818 | (subrp (symbol-function 'string-as-multibyte))) | ||
| 819 | 'string-as-multibyte | ||
| 818 | 'identity) | 820 | 'identity) |
| 819 | (or string ""))) | 821 | (or string ""))) |
| 820 | 822 | ||
diff --git a/lisp/vc.el b/lisp/vc.el index edb2c789f52..663c45fd466 100644 --- a/lisp/vc.el +++ b/lisp/vc.el | |||
| @@ -338,7 +338,8 @@ | |||
| 338 | ;; in the buffer. You can safely assume that point is placed at the | 338 | ;; in the buffer. You can safely assume that point is placed at the |
| 339 | ;; beginning of each line, starting at `point-min'. The buffer that | 339 | ;; beginning of each line, starting at `point-min'. The buffer that |
| 340 | ;; point is placed in is the Annotate output, as defined by the | 340 | ;; point is placed in is the Annotate output, as defined by the |
| 341 | ;; relevant backend. | 341 | ;; relevant backend. This function also affects how much of the line |
| 342 | ;; is fontified; where it leaves point is where fontification begins. | ||
| 342 | ;; | 343 | ;; |
| 343 | ;; - annotate-current-time () | 344 | ;; - annotate-current-time () |
| 344 | ;; | 345 | ;; |
| @@ -2896,7 +2897,7 @@ if present. The current time is used as the offset." | |||
| 2896 | (message "Redisplaying annotation...done")) | 2897 | (message "Redisplaying annotation...done")) |
| 2897 | 2898 | ||
| 2898 | (defun vc-annotate-display-autoscale (&optional full) | 2899 | (defun vc-annotate-display-autoscale (&optional full) |
| 2899 | "Highlight the output of \\[vc-annotate]] using an autoscaled color map. | 2900 | "Highlight the output of \\[vc-annotate] using an autoscaled color map. |
| 2900 | Autoscaling means that the map is scaled from the current time to the | 2901 | Autoscaling means that the map is scaled from the current time to the |
| 2901 | oldest annotation in the buffer, or, with argument FULL non-nil, to | 2902 | oldest annotation in the buffer, or, with argument FULL non-nil, to |
| 2902 | cover the range from the oldest annotation to the newest." | 2903 | cover the range from the oldest annotation to the newest." |