aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSam Steingold2000-04-24 17:37:05 +0000
committerSam Steingold2000-04-24 17:37:05 +0000
commitfa78f71bdb803fd6ee2fd796a21b1a4ecb0a7c08 (patch)
tree62e01ee032420138ebf9c9eca591fd0ea4ba1f3f
parentcc181e9561a8f667658fb386a17b7c50e158b3b9 (diff)
downloademacs-fa78f71bdb803fd6ee2fd796a21b1a4ecb0a7c08.tar.gz
emacs-fa78f71bdb803fd6ee2fd796a21b1a4ecb0a7c08.zip
(time-stamp-string-preprocess): Always convert
`field-result' to a string.
-rw-r--r--lisp/ChangeLog71
-rw-r--r--lisp/time-stamp.el4
2 files changed, 40 insertions, 35 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog
index 7f63eda9cfe..92a3a562eef 100644
--- a/lisp/ChangeLog
+++ b/lisp/ChangeLog
@@ -1,3 +1,8 @@
12000-04-24 Sam Steingold <sds@gnu.org>
2
3 * time-stamp.el (time-stamp-string-preprocess): Always convert
4 `field-result' to a string.
5
12000-04-24 Gerd Moellmann <gerd@gnu.org> 62000-04-24 Gerd Moellmann <gerd@gnu.org>
2 7
3 * frame.el (scrolling): New group. 8 * frame.el (scrolling): New group.
@@ -100,7 +105,7 @@
1002000-04-15 Vinicius Jose Latorre <vinicius@cpqd.com.br> 1052000-04-15 Vinicius Jose Latorre <vinicius@cpqd.com.br>
101 106
102 * ps-print.el: Check for line-beginning-position definition. 107 * ps-print.el: Check for line-beginning-position definition.
103 108
104 * ps-print.el: Fix counting lines in a region. 109 * ps-print.el: Fix counting lines in a region.
105 (ps-print-version): New version number (5.1.5). 110 (ps-print-version): New version number (5.1.5).
106 (ps-spool-without-faces, ps-spool-with-faces): Adjust code. 111 (ps-spool-without-faces, ps-spool-with-faces): Adjust code.
@@ -157,7 +162,7 @@
157 (ps-printer-name, ps-lpr-switches, ps-user-defined-prologue) 162 (ps-printer-name, ps-lpr-switches, ps-user-defined-prologue)
158 (ps-print-prologue-header, ps-print-control-characters) 163 (ps-print-prologue-header, ps-print-control-characters)
159 (ps-spool-config): Customization fix. 164 (ps-spool-config): Customization fix.
160 165
1612000-04-13 Eli Zaretskii <eliz@is.elta.co.il> 1662000-04-13 Eli Zaretskii <eliz@is.elta.co.il>
162 167
163 * textmodes/ispell.el (ispell-menu-map): Menu items rearranged and 168 * textmodes/ispell.el (ispell-menu-map): Menu items rearranged and
@@ -224,7 +229,7 @@
2242000-04-09 Gerd Moellmann <gerd@gnu.org> 2292000-04-09 Gerd Moellmann <gerd@gnu.org>
225 230
226 * progmodes/ebrowse-ffh.el: New file. 231 * progmodes/ebrowse-ffh.el: New file.
227 232
228 * progmodes/ebrowse.el (ebrowse-find-file-hook-fn): Moved 233 * progmodes/ebrowse.el (ebrowse-find-file-hook-fn): Moved
229 to ebrowse-ffh.el. 234 to ebrowse-ffh.el.
230 (ebrowse-load): Add autoload. 235 (ebrowse-load): Add autoload.
@@ -255,9 +260,9 @@
255 260
256 * viper-util.el (viper-put-on-search-overlay): New subroutine. 261 * viper-util.el (viper-put-on-search-overlay): New subroutine.
257 (viper-flash-search-pattern): No operation when using Emacs 262 (viper-flash-search-pattern): No operation when using Emacs
258 doesn't support face. 263 doesn't support face.
259 Use `viper-put-on-search-overlay'. 264 Use `viper-put-on-search-overlay'.
260 265
2612000-04-04 Gerd Moellmann <gerd@gnu.org> 2662000-04-04 Gerd Moellmann <gerd@gnu.org>
262 267
263 * isearch.el (isearch-mode-map): Define M-C-s like C-s and M-C-r 268 * isearch.el (isearch-mode-map): Define M-C-s like C-s and M-C-r
@@ -313,7 +318,7 @@
313 318
314 * files.el (insert-directory): List the total free space 319 * files.el (insert-directory): List the total free space
315 along with the used space. 320 along with the used space.
316 321
317 * textmodes/fill.el (fill-individual-paragraphs): If a no-prefix 322 * textmodes/fill.el (fill-individual-paragraphs): If a no-prefix
318 line is followed by one that matches CITATION-REGEXP, end the 323 line is followed by one that matches CITATION-REGEXP, end the
319 paragraph. 324 paragraph.
@@ -322,7 +327,7 @@
322 327
323 * mail/rmailsum.el (rmail-user-mail-address-regexp): New option. 328 * mail/rmailsum.el (rmail-user-mail-address-regexp): New option.
324 (rmail-make-basic-summary-line): Use that option. 329 (rmail-make-basic-summary-line): Use that option.
325 330
3262000-04-03 Kenichi Handa <handa@etl.go.jp> 3312000-04-03 Kenichi Handa <handa@etl.go.jp>
327 332
328 * international/mule-cmds.el (encoded-string-description): 333 * international/mule-cmds.el (encoded-string-description):
@@ -349,7 +354,7 @@
349 354
350 * vc.el (vc-backend-diff): Return the correct status if we had to 355 * vc.el (vc-backend-diff): Return the correct status if we had to
351 retry the rcsdiff command without the --brief option. 356 retry the rcsdiff command without the --brief option.
352 357
3532000-03-31 Dave Love <fx@gnu.org> 3582000-03-31 Dave Love <fx@gnu.org>
354 359
355 * help.el (help-manyarg-func-alist): Correct several omissions. 360 * help.el (help-manyarg-func-alist): Correct several omissions.
@@ -387,11 +392,11 @@
387 systems `usg-unix-v*, `dgux', `hpux', `irix'. 392 systems `usg-unix-v*, `dgux', `hpux', `irix'.
388 393
3892000-03-31 Dave Love <fx@gnu.org> 3942000-03-31 Dave Love <fx@gnu.org>
390 395
391 * emacs-lisp/byte-opt.el (byte-compile-inline-expand): Look 396 * emacs-lisp/byte-opt.el (byte-compile-inline-expand): Look
392 for function definition in symbol's function value slot first 397 for function definition in symbol's function value slot first
393 instead of first consulting byte-compile-function-environment. 398 instead of first consulting byte-compile-function-environment.
394 399
3952000-03-31 Kenichi Handa <handa@etl.go.jp> 4002000-03-31 Kenichi Handa <handa@etl.go.jp>
396 401
397 * language/european.el ("Polish"): New language environment. 402 * language/european.el ("Polish"): New language environment.
@@ -424,14 +429,14 @@
424 (ps-format-color, ps-rgb-color): New funs. 429 (ps-format-color, ps-rgb-color): New funs.
425 (ps-default-foreground): New var. 430 (ps-default-foreground): New var.
426 (ps-printer-name-option): New const. 431 (ps-printer-name-option): New const.
427 432
4282000-03-30 Peter Breton <pbreton@ne.mediaone.net> 4332000-03-30 Peter Breton <pbreton@ne.mediaone.net>
429 434
430 * net/net-utils.el: 435 * net/net-utils.el:
431 (network-connection-host, network-connection-service): New variables 436 (network-connection-host, network-connection-service): New variables
432 (network-connection-mode): New mode, derived from comint-mode 437 (network-connection-mode): New mode, derived from comint-mode
433 (network-connection-mode-setup): New function, saves host and 438 (network-connection-mode-setup): New function, saves host and
434 service information in local variables. 439 service information in local variables.
435 440
436 * lisp/locate.el: 441 * lisp/locate.el:
437 (locate-word-at-point): Added this function 442 (locate-word-at-point): Added this function
@@ -567,7 +572,7 @@
567 * ps-print.el: Skip banner page fix. 572 * ps-print.el: Skip banner page fix.
568 (ps-print-version): New version number (5.1.2). 573 (ps-print-version): New version number (5.1.2).
569 (ps-begin-file, ps-end-file, ps-generate): Code fix. 574 (ps-begin-file, ps-end-file, ps-generate): Code fix.
570 575
5712000-03-23 Dave Pearson <davep@davep.org> 5762000-03-23 Dave Pearson <davep@davep.org>
572 577
573 * net/quickurl.el Changed the type of parameter passed to the 578 * net/quickurl.el Changed the type of parameter passed to the
@@ -581,7 +586,7 @@
581 (quickurl-list-insert): Changed the `url' case so that it makes 586 (quickurl-list-insert): Changed the `url' case so that it makes
582 use of `quickurl-format-function', previous to this the format was 587 use of `quickurl-format-function', previous to this the format was
583 hard wired. 588 hard wired.
584 589
5852000-03-22 Gerd Moellmann <gerd@gnu.org> 5902000-03-22 Gerd Moellmann <gerd@gnu.org>
586 591
587 * startup.el: Change some spellings for the X Window System. 592 * startup.el: Change some spellings for the X Window System.
@@ -601,7 +606,7 @@
601 * ps-print.el: N-up last page fix. 606 * ps-print.el: N-up last page fix.
602 (ps-print-version): New version number (5.1.1). 607 (ps-print-version): New version number (5.1.1).
603 (ps-end-file, ps-end-job, ps-generate): Code fix. 608 (ps-end-file, ps-end-job, ps-generate): Code fix.
604 609
6052000-03-21 Stefan Monnier <monnier@cs.yale.edu> 6102000-03-21 Stefan Monnier <monnier@cs.yale.edu>
606 611
607 * files.el (find-file-run-dired): Update docstring. 612 * files.el (find-file-run-dired): Update docstring.
@@ -732,7 +737,7 @@
732 change. 737 change.
733 (instantiate-fontset, resolve-fontset-name): Functions removed. 738 (instantiate-fontset, resolve-fontset-name): Functions removed.
734 (fontset-list): Now implemented by C code. 739 (fontset-list): Now implemented by C code.
735 740
736 * faces.el (read-face-font): Fix TABLE arg to completing-read. 741 * faces.el (read-face-font): Fix TABLE arg to completing-read.
737 (describe-face): Include `font' attribute in the description. 742 (describe-face): Include `font' attribute in the description.
738 743
@@ -745,7 +750,7 @@
745 * rcompile.el, rlogin.el, telnet.el, net-utils.el, quickurl.el, 750 * rcompile.el, rlogin.el, telnet.el, net-utils.el, quickurl.el,
746 ange-ftp.el, browse-url.el, goto-addr.el, webjump.el, 751 ange-ftp.el, browse-url.el, goto-addr.el, webjump.el,
747 zone-mode.el, snmp-mode.el: Moved to net subdirectory. 752 zone-mode.el, snmp-mode.el: Moved to net subdirectory.
748 753
749 * jit-lock.el (with-buffer-prepared-for-font-lock): Add comment 754 * jit-lock.el (with-buffer-prepared-for-font-lock): Add comment
750 about behavior of set-buffer-modified-p wrt redisplay. 755 about behavior of set-buffer-modified-p wrt redisplay.
751 756
@@ -806,7 +811,7 @@
806 (custom-face-tag-face, custom-group-tag-face-1) 811 (custom-face-tag-face, custom-group-tag-face-1)
807 (custom-group-tag-face): Ditto. 812 (custom-group-tag-face): Ditto.
808 (custom-group-tag-face-1): Add :group. 813 (custom-group-tag-face-1): Add :group.
809 814
810 * info.el (Info-fontify-maximum-menu-size): Increase to 100000. 815 * info.el (Info-fontify-maximum-menu-size): Increase to 100000.
811 816
8122000-03-15 Gerd Moellmann <gerd@gnu.org> 8172000-03-15 Gerd Moellmann <gerd@gnu.org>
@@ -823,7 +828,7 @@
823 (ps-print-prologue-0, ps-error-handler-alist): New vars. 828 (ps-print-prologue-0, ps-error-handler-alist): New vars.
824 (ps-setup, ps-begin-file, ps-begin-job): Code fix. 829 (ps-setup, ps-begin-file, ps-begin-job): Code fix.
825 (ps-insert-string): New function. 830 (ps-insert-string): New function.
826 831
8272000-03-15 Kenichi Handa <handa@etl.go.jp> 8322000-03-15 Kenichi Handa <handa@etl.go.jp>
828 833
829 * international/ccl.el (ccl-compile-expression): Don't generate 834 * international/ccl.el (ccl-compile-expression): Don't generate
@@ -948,8 +953,8 @@
948 * octave-mod.el (octave-font-lock-keywords): To font-lock the 953 * octave-mod.el (octave-font-lock-keywords): To font-lock the
949 builtin operators, use `font-lock-builtin-face' for Emacs and 954 builtin operators, use `font-lock-builtin-face' for Emacs and
950 `font-lock-preprocessor-face' otherwise. 955 `font-lock-preprocessor-face' otherwise.
951 956
952 * font-lock.el (lisp-font-lock-keywords-1): Highlight 957 * font-lock.el (lisp-font-lock-keywords-1): Highlight
953 `(defun (setf foo)' differently. 958 `(defun (setf foo)' differently.
954 959
9552000-03-08 Stefan Monnier <monnier@cs.yale.edu> 9602000-03-08 Stefan Monnier <monnier@cs.yale.edu>
@@ -1017,7 +1022,7 @@
1017 (mail-send): Test mail-send-nonascii also for the new `mime' value. 1022 (mail-send): Test mail-send-nonascii also for the new `mime' value.
1018 (sendmail-send-it): Conditionally add MIME headers specifying the 1023 (sendmail-send-it): Conditionally add MIME headers specifying the
1019 used character set. 1024 used character set.
1020 1025
10212000-03-07 Dave Love <fx@gnu.org> 10262000-03-07 Dave Love <fx@gnu.org>
1022 1027
1023 * winner.el: Fix keywords, autoload cookies. Split 1028 * winner.el: Fix keywords, autoload cookies. Split
@@ -1046,7 +1051,7 @@
1046 code abstracted out of `bookmark-jump-noselect'. Now tries info 1051 code abstracted out of `bookmark-jump-noselect'. Now tries info
1047 extensions as well as compression extensions. 1052 extensions as well as compression extensions.
1048 (bookmark-jump-noselect): Use above new func. 1053 (bookmark-jump-noselect): Use above new func.
1049 1054
10502000-03-03 Gerd Moellmann <gerd@gnu.org> 10552000-03-03 Gerd Moellmann <gerd@gnu.org>
1051 1056
1052 * strokes.el: Change maintainer's mail address. 1057 * strokes.el: Change maintainer's mail address.
@@ -1098,7 +1103,7 @@
1098 1103
1099 * image.el (defimage): Look for image files in load-path. 1104 * image.el (defimage): Look for image files in load-path.
1100 1105
1101 * frame.el (busy-cursor-delay-seconds): Change type to 1106 * frame.el (busy-cursor-delay-seconds): Change type to
1102 `number'. 1107 `number'.
1103 1108
11042000-03-01 David Ponce <david.ponce@wanadoo.fr> 11092000-03-01 David Ponce <david.ponce@wanadoo.fr>
@@ -1211,14 +1216,14 @@
1211 (calculator-forced-input): Removed. 1216 (calculator-forced-input): Removed.
1212 (calculator-restart-other-mode): New variable. 1217 (calculator-restart-other-mode): New variable.
1213 (calculator-mode-map): Set up menu. 1218 (calculator-mode-map): Set up menu.
1214 1219
12152000-02-28 Jari Aalto <jari.aalto@poboxes.com> 12202000-02-28 Jari Aalto <jari.aalto@poboxes.com>
1216 1221
1217 * font-lock.el (java-keywords): Added missing java 1.2.2 Javadoc 1222 * font-lock.el (java-keywords): Added missing java 1.2.2 Javadoc
1218 tags. 1223 tags.
1219 1224
12202000-02-28 Michael Kifer <kifer@cs.sunysb.edu> 12252000-02-28 Michael Kifer <kifer@cs.sunysb.edu>
1221 1226
1222 * viper-cmd.el (viper-envelop-ESC-key): added the option to 1227 * viper-cmd.el (viper-envelop-ESC-key): added the option to
1223 translate all ESC key sequences. 1228 translate all ESC key sequences.
1224 (viper-goto-mark-subr): restore markers for files for which 1229 (viper-goto-mark-subr): restore markers for files for which
@@ -1230,7 +1235,7 @@
1230 * viper.el (viper-vi-state-mode-list): added major modes. 1235 * viper.el (viper-vi-state-mode-list): added major modes.
1231 * ediff-wind.el: minor comment changes. 1236 * ediff-wind.el: minor comment changes.
1232 * ediff.el: copyright notice date fix. 1237 * ediff.el: copyright notice date fix.
1233 1238
12342000-02-27 Jason Rumney <jasonr@gnu.org> 12392000-02-27 Jason Rumney <jasonr@gnu.org>
1235 1240
1236 * faces.el (face-font-family-alternatives): Add arial to helv. 1241 * faces.el (face-font-family-alternatives): Add arial to helv.
@@ -1244,7 +1249,7 @@
1244 1249
1245 * emacs-lisp/cl-indent.el (toplvel): Indent `pprint-logical-block' 1250 * emacs-lisp/cl-indent.el (toplvel): Indent `pprint-logical-block'
1246 properly. 1251 properly.
1247 1252
12482000-02-25 Richard M. Stallman <rms@caffeine.ai.mit.edu> 12532000-02-25 Richard M. Stallman <rms@caffeine.ai.mit.edu>
1249 1254
1250 * mail/rmail.el (rmail-resend): Verify buffer is really Rmail. 1255 * mail/rmail.el (rmail-resend): Verify buffer is really Rmail.
@@ -1620,7 +1625,7 @@
1620 explicit. 1625 explicit.
1621 (bibtex-field-const): Allow capital letters. 1626 (bibtex-field-const): Allow capital letters.
1622 (bibtex-start-of-string): Deleted because unused. 1627 (bibtex-start-of-string): Deleted because unused.
1623 1628
1624 * textmodes/bibtex.el: Unified some nomenclature. We no longer 1629 * textmodes/bibtex.el: Unified some nomenclature. We no longer
1625 use the term 'reference' to describe a bibtex entry as a whole. 1630 use the term 'reference' to describe a bibtex entry as a whole.
1626 Further, reference keys are no longer called 'labels'. 1631 Further, reference keys are no longer called 'labels'.
@@ -1654,7 +1659,7 @@
1654 extracted from bibtex-format-entry. 1659 extracted from bibtex-format-entry.
1655 (bibtex-autokey-get-yearfield-digits): New function, functionality 1660 (bibtex-autokey-get-yearfield-digits): New function, functionality
1656 extracted from bibtex-autokey-get-yearfield. 1661 extracted from bibtex-autokey-get-yearfield.
1657 1662
1658 * textmodes/bibtex.el: Completely reimplemented parsing of bibtex 1663 * textmodes/bibtex.el: Completely reimplemented parsing of bibtex
1659 entries in order to avoid stack overflow in the regexp matcher if 1664 entries in order to avoid stack overflow in the regexp matcher if
1660 field contents become large. 1665 field contents become large.
@@ -1716,11 +1721,11 @@
1716 1721
1717 * textmodes/bibtex.el: Copyright notice is up to date. 1722 * textmodes/bibtex.el: Copyright notice is up to date.
1718 Added constant 'bibtex-maintainer-salutation. 1723 Added constant 'bibtex-maintainer-salutation.
1719 1724
1720 * textmodes/bibtex.el (bibtex-mode): use with-temp-buffer rather 1725 * textmodes/bibtex.el (bibtex-mode): use with-temp-buffer rather
1721 than make-temp-name, use match-string-no-properties and eliminate 1726 than make-temp-name, use match-string-no-properties and eliminate
1722 a quadratic behavior when building bibtex-strings. 1727 a quadratic behavior when building bibtex-strings.
1723 1728
1724 * bibtex.el (bibtex-reference-key): Accept string entries whose 1729 * bibtex.el (bibtex-reference-key): Accept string entries whose
1725 reference key contains upper case letters. 1730 reference key contains upper case letters.
1726 1731
diff --git a/lisp/time-stamp.el b/lisp/time-stamp.el
index 5ac4d49f262..7a04c72d074 100644
--- a/lisp/time-stamp.el
+++ b/lisp/time-stamp.el
@@ -457,7 +457,7 @@ Optionally use FORMAT."
457 ?\0)) 457 ?\0))
458 (or (eq ?. cur-char) 458 (or (eq ?. cur-char)
459 (eq ?, cur-char) (eq ?: cur-char) (eq ?@ cur-char) 459 (eq ?, cur-char) (eq ?: cur-char) (eq ?@ cur-char)
460 (eq ?- cur-char) (eq ?+ cur-char) (eq ?_ cur-char) 460 (eq ?- cur-char) (eq ?+ cur-char) (eq ?_ cur-char)
461 (eq ?\ cur-char) (eq ?# cur-char) (eq ?^ cur-char) 461 (eq ?\ cur-char) (eq ?# cur-char) (eq ?^ cur-char)
462 (and (eq ?\( cur-char) 462 (and (eq ?\( cur-char)
463 (not (eq prev-char ?\\)) 463 (not (eq prev-char ?\\))
@@ -573,7 +573,7 @@ Optionally use FORMAT."
573 (time-stamp-mail-host-name)) 573 (time-stamp-mail-host-name))
574 )) 574 ))
575 (if (string-equal field-width "") 575 (if (string-equal field-width "")
576 field-result 576 (format "%s" field-result)
577 (let ((padded-result 577 (let ((padded-result
578 (format (format "%%%s%c" 578 (format (format "%%%s%c"
579 field-width 579 field-width