1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2024-12-14 09:39:42 +00:00
Commit Graph

60 Commits

Author SHA1 Message Date
Stephen Gildea
0ec633181b (time-stamp, time-stamp-line-limit, time-stamp-start, time-stamp-end):
Mention variable time-stamp-pattern in doc string.
(time-stamp-pattern): Update doc string.
(time-stamp-string-preprocess): new (as yet undocumented)
time-stamp-format escapes %Q and %q (fully-qualified domain name
and unqualified host name).
2005-09-12 01:05:55 +00:00
Thien-Thi Nguyen
0d30b33766 Update years in copyright notice; nfc. 2005-08-06 22:13:43 +00:00
Lute Kamstra
086add1519 Update FSF's address. 2005-07-04 23:32:44 +00:00
Juanma Barranquero
027a4b6b3f Replace string-to-int' by string-to-number'. 2005-05-16 11:34:49 +00:00
Luc Teirlinck
26f643c2eb (time-stamp): Doc fix. 2004-06-14 00:20:28 +00:00
Luc Teirlinck
66c6d25eea (time-stamp): Recommend adding it to `before-save-hook', rather than
`write-file-functions'.
Make a similar change in `Commentary' section.
2004-06-13 21:23:24 +00:00
Miles Bader
ab5796a9f9 Add arch taglines 2003-09-01 15:45:59 +00:00
Stephen Gildea
33128c29dc Update example date in preamble commentary.
(time-stamp): Fix parsing of "%%a" in time-stamp-pattern (change
regexp subpattern 5)
(time-stamp-pattern): Initialize to nil to avoid regexp work in
default case.
(time-stamp-string): Call set-time-zone-rule instead of setenv
(time-stamp-hhmmss): Remove (not needed after all).
(time-stamp-month-dd-yyyy, time-stamp-dd/mm/yyyy,
time-stamp-mon-dd-yyyy, time-stamp-dd-mon-yy, time-stamp-yy/mm/dd,
time-stamp-yyyy/mm/dd, time-stamp-yyyy-mm-dd, time-stamp-yymmdd,
time-stamp-hh:mm:ss, time-stamp-hhmm): Make obsolete.
(time-stamp-format, time-stamp-pattern, time-stamp-warn-inactive,
time-stamp-inserts-lines, time-stamp-count, time-stamp-time-zone,
time-stamp, time-stamp-toggle-active, time-stamp-string-preprocess,
time-stamp-once, time-stamp-conv-warn): Tweak doc strings.
2003-02-01 14:29:31 +00:00
Simon Josefsson
7fda10ab2d (time-stamp-hhmmss): New function. 2002-09-12 06:04:10 +00:00
Eli Zaretskii
7490a1e480 More preamble fixes. 2002-05-18 11:26:16 +00:00
Eli Zaretskii
12b309f149 Fix the preamble comments. 2002-05-18 11:22:04 +00:00
Markus Rost
4b70b30b59 (time-stamp-format): Escape open parenthesis in column 0. 2002-05-06 00:16:04 +00:00
Gerd Moellmann
0c68e5dec5 (time-stamp-string-preprocess): Fix bug that
caused %#a and %#b to be mis-formatted.
2001-09-21 09:09:04 +00:00
Eli Zaretskii
e602e77917 Update Stephen Gildea's email address. 2001-09-10 14:00:55 +00:00
Pavel Janík
e8af40eed4 Some fixes to follow coding conventions. 2001-07-16 12:23:00 +00:00
Eli Zaretskii
ef080b1643 (time-stamp-format): Doc fix. From Paul Eggert <eggert@twinsun.com>. 2001-03-30 10:33:09 +00:00
Eli Zaretskii
e7b0deaf25 (time-stamp-string): Doc fix. 2001-01-29 16:59:08 +00:00
Dave Love
22453b5124 Doc fixes. 2001-01-26 23:04:44 +00:00
Gerd Moellmann
0a8052bd6d (time-stamp-old-format-warn): reorder custom
choices to match documentation string.
2000-12-09 13:23:20 +00:00
Kai Großjohann
d09b9dbd23 bogus commit 2000-10-29 17:56:57 +00:00
Kai Großjohann
1da437e9a8 install-info syntax compat change. 2000-10-29 17:36:49 +00:00
Gerd Moellmann
b6735035d2 (time-stamp-string-preprocess): Fix a wrong
type argument error.
2000-10-25 12:08:59 +00:00
Gerd Moellmann
3b5e21df1c (time-stamp): Fixed bug in new multi-line code
that breaks with old list format timestamps.
(time-stamp-warn-inactive, time-stamp-old-format-warn)
(time-stamp-count, time-stamp-conversion-warn): Improved doc
strings.
2000-10-13 11:30:53 +00:00
Sam Steingold
fa78f71bdb (time-stamp-string-preprocess): Always convert
`field-result' to a string.
2000-04-24 17:37:05 +00:00
Karl Heuer
55ac4d11d1 Put quote-backquote around all symbol names
in doc strings,	for mousing.
(time-stamp): support multi-line patterns.
(time-stamp-inserts-lines): new variable.
(time-stamp-count): new variable.
(time-stamp-string-preprocess): fixed bug where "%%a" becomes
"Thu" instead of "%a".
1999-08-27 01:47:33 +00:00
Richard M. Stallman
f7769aa59e (time-stamp-format): Format doc tighter.
(time-stamp-line-limit): 0 searches the entire buffer (careful!).
(time-stamp): don't re-write the time stamp if it didn't change.
1999-02-06 05:00:54 +00:00
Richard M. Stallman
2c8d5749a4 (time-stamp-string-preprocess): Add %U code. 1998-08-10 21:13:58 +00:00
Karl Heuer
15ceaba4b3 (time-stamp): Handle newlines in time-stamp-pattern.
(time-stamp-string-preprocess): Handle more than one numeric arg.
1998-06-19 16:50:37 +00:00
Richard M. Stallman
b4b33e0104 (time-stamp-pattern): New variable.
(time-stamp): Use that new variable.
(time-stamp-string): Take optional format arg.
1998-03-06 03:48:15 +00:00
Richard M. Stallman
7967f8ab1e (time-stamp-time-zone): Allow nil as alternative. 1997-09-07 04:30:52 +00:00
Richard M. Stallman
95772e852d (time-stamp-time-zone): New variable.
(time-stamp-string): Use that time zone.
(time-stamp-active, time-stamp-warn-inactive)
(time-stamp-old-format-warn): Definitions moved.
1997-08-24 03:32:38 +00:00
Richard M. Stallman
688697012a (time-stamp): Use insert-and-inherit for new stamp. 1997-08-05 03:44:40 +00:00
Richard M. Stallman
fdac7fbaa2 (time-stamp-string-preprocess, time-stamp-do-number):
Avoid compiler warnings: pass all arguments to time-stamp-do-number
explicitly, not dynamically.
1997-06-08 21:45:16 +00:00
Richard M. Stallman
fd72ddf609 (time-stamp-format): Doc fix. Use %;y.
(time-stamp-string-preprocess): Don't just call format-time-string;
handle compatibility for some old constructs.  Handle padding
the historical way, while giving a warning if people actually depend on it.
(time-stamp-conv-warn, time-stamp-conversion-warn)
(time-stamp-do-number): New functions.
1997-06-08 21:43:08 +00:00
Richard M. Stallman
622b7ede1c (time-stamp-old-format-warn): Fix a tag string.
(time-stamp-format): Use %Y not %y in default value.

(time-stamp): Verify time-stamp-line-limit is a number.
(time-stamp-string-preprocess): Handle %F correctly.
1997-04-30 01:12:24 +00:00
Richard M. Stallman
cb35a83c0e Add defgroup; use defcustom for user vars. 1997-04-13 20:08:59 +00:00
Richard M. Stallman
e654f4b02c (time-stamp-mail-host-name): Get rid of time-stamp-mail-host. 1996-12-18 02:45:09 +00:00
Richard M. Stallman
b894460117 (time-stamp-month-dd-yyyy): Use format-time-string.
(time-stamp-dd/mm/yyyy, time-stamp-mon-dd-yyyy, time-stamp-dd-mon-yy)
(time-stamp-yy/mm/dd, time-stamp-yyyy/mm/dd, time-stamp-yyyy-mm-dd)
(time-stamp-yymmdd, time-stamp-hh:mm:ss, time-stamp-hhmm): Likewise.
(time-stamp-month-numbers, time-stamp-month-full-names): Vars deleted.
1996-12-17 00:19:01 +00:00
Richard M. Stallman
6946129cbe (time-stamp-no-file): Reintroduced.
(time-stamp-string-preprocess): New function.
(time-stamp-string): Use time-stamp-string-preprocess.
(time-stamp-format): Doc fix.
1996-12-17 00:14:41 +00:00
Richard M. Stallman
c9c0e4bb72 (time-stamp-am-pm): Variable deleted.
(time-stamp-weekday-full-names): Likewise.
(time-stamp-weekday-numbers): Likewise.
(time-stamp-old-format-warn): Doc fix.

(time-stamp-strftime): Function deleted.
(time-stamp-string): Use format-time-string.
(time-stamp-format): Change default value
to work with format-time-string.
1996-12-13 01:49:23 +00:00
Richard M. Stallman
b24173f767 (time-stamp-dd/mm/yyyy): New function. 1996-11-05 18:27:41 +00:00
Karl Heuer
03d7856ad1 (time-stamp-old-format-warn): new variable.
(time-stamp-format): use ISO 8601 format for date.
1996-09-22 22:20:58 +00:00
Erik Naggum
717e06e505 Fix Change Log comment line. 1996-01-20 02:50:09 +00:00
Erik Naggum
b578f267af Update FSF's address. 1996-01-14 07:34:30 +00:00
Karl Heuer
c7c4ddd481 (time-stamp-line-limit): negative value counts
from end of file.
1996-01-06 01:03:24 +00:00
Karl Heuer
f8d35bf3d1 update some doc strings.
(time-stamp-strftime): ignore some additional chars we might want
to use in the future for additional controls or parameters.
(time-stamp): minor optimizations.
1995-10-31 00:01:15 +00:00
Karl Heuer
1f92d7ef0d Move defconsts to avoid byte-compiler warnings. 1995-05-31 20:00:40 +00:00
Karl Heuer
fe8287c6fa (time-stamp): only warn about time-stamping
being disabled if found a time-stamp that won't get updated.
1995-05-30 21:20:09 +00:00
Richard M. Stallman
cd1292d1d4 Comment change. 1995-04-13 21:13:31 +00:00
Richard M. Stallman
b1defad27b (time-stamp-format): Replace list of Lisp
functions with string containing %-escapes in the style of date(1).
(time-stamp): Widen buffer while time-stamping.
(time-stamp-toggle-active): New function.
(time-stamp-warn-inactive): New variable.
1995-04-13 01:33:08 +00:00