diff options
| author | Stephen Gildea | 2025-03-23 10:37:21 -0700 |
|---|---|---|
| committer | Stephen Gildea | 2025-03-23 10:39:52 -0700 |
| commit | 9e005e9da06f71441e643f7ecbe309e35f68680a (patch) | |
| tree | 00774731bba5bf0d52feee41c53323e474f3e275 | |
| parent | d565a6747a2bb3c6699a95e60e5f522f80a1ca0a (diff) | |
| download | emacs-9e005e9da06f71441e643f7ecbe309e35f68680a.tar.gz emacs-9e005e9da06f71441e643f7ecbe309e35f68680a.zip | |
; Move time-stamp release info from symbol-releases.eld to NEWS
Update the appropriate historical NEWS files with time-stamp feature
releases. Suggested by Stefan Monnier. All dates are from my notes.
* etc/symbol-releases.eld: Remove time-stamp,
reverting commit 69210eb84e of 17 March.
* etc/NEWS.19:
* etc/NEWS.20: Add 'time-stamp' feature paragraphs that
should have been written then.
* etc/NEWS.21: Add missing quotes, so symbol names can be identified.
| -rw-r--r-- | etc/NEWS.19 | 11 | ||||
| -rw-r--r-- | etc/NEWS.20 | 4 | ||||
| -rw-r--r-- | etc/NEWS.21 | 10 | ||||
| -rw-r--r-- | etc/symbol-releases.eld | 2 |
4 files changed, 20 insertions, 7 deletions
diff --git a/etc/NEWS.19 b/etc/NEWS.19 index 2ee6f95c820..1cd69144dc5 100644 --- a/etc/NEWS.19 +++ b/etc/NEWS.19 | |||
| @@ -2108,6 +2108,11 @@ mailabbrev.el used to have its own variable for this purpose | |||
| 2108 | ** In Buffer-Menu mode, the d and C-d commands (which mark buffers for | 2108 | ** In Buffer-Menu mode, the d and C-d commands (which mark buffers for |
| 2109 | deletion) now accept a prefix argument which serves as a repeat count. | 2109 | deletion) now accept a prefix argument which serves as a repeat count. |
| 2110 | 2110 | ||
| 2111 | ** 'time-stamp' can be disabled interactively with 'time-stamp-toggle-active' | ||
| 2112 | This new function works by toggling existing variable 'time-stamp-active'. | ||
| 2113 | When inactive, 'time-stamp' generates a warning message unless | ||
| 2114 | new variable 'time-stamp-warn-inactive' is nil. | ||
| 2115 | |||
| 2111 | ** Changes in BibTeX mode. | 2116 | ** Changes in BibTeX mode. |
| 2112 | 2117 | ||
| 2113 | *** Reference keys can now be entered with TAB completion. All | 2118 | *** Reference keys can now be entered with TAB completion. All |
| @@ -4982,6 +4987,12 @@ in a singleton list when it first inserts the prefix, but doesn't | |||
| 4982 | insert the prefix when processing events whose PLACE-SYMBOLs are | 4987 | insert the prefix when processing events whose PLACE-SYMBOLs are |
| 4983 | already thus enclosed. | 4988 | already thus enclosed. |
| 4984 | 4989 | ||
| 4990 | ** New function 'time-stamp' updates a template with the current time. | ||
| 4991 | This is intended to be used on 'write-file-hooks'. The template details | ||
| 4992 | are controlled by file-local variables 'time-stamp-start', 'time-stamp-end', | ||
| 4993 | 'time-stamp-line-limit', and 'time-stamp-format'. | ||
| 4994 | Disabled by turning off 'time-stamp-active'. | ||
| 4995 | |||
| 4985 | 4996 | ||
| 4986 | 4997 | ||
| 4987 | * Changes in Emacs 19.15 | 4998 | * Changes in Emacs 19.15 |
diff --git a/etc/NEWS.20 b/etc/NEWS.20 index 35f36bc7d84..1aa093f0957 100644 --- a/etc/NEWS.20 +++ b/etc/NEWS.20 | |||
| @@ -925,6 +925,10 @@ reminder about upcoming diary entries. See the documentation string | |||
| 925 | for a sample shell script for calling this function automatically | 925 | for a sample shell script for calling this function automatically |
| 926 | every night. | 926 | every night. |
| 927 | 927 | ||
| 928 | ** New convenience variable 'time-stamp-pattern' | ||
| 929 | Using 'time-stamp-pattern', a file can specify several 'time-stamp' | ||
| 930 | parameters with just one variable. | ||
| 931 | |||
| 928 | ** Desktop changes | 932 | ** Desktop changes |
| 929 | 933 | ||
| 930 | *** All you need to do to enable use of the Desktop package, is to set | 934 | *** All you need to do to enable use of the Desktop package, is to set |
diff --git a/etc/NEWS.21 b/etc/NEWS.21 index ab731708b36..ed7b69f18e6 100644 --- a/etc/NEWS.21 +++ b/etc/NEWS.21 | |||
| @@ -1488,13 +1488,13 @@ has the following new features: | |||
| 1488 | *** The patterns for finding the time stamp and for updating a pattern | 1488 | *** The patterns for finding the time stamp and for updating a pattern |
| 1489 | may match text spanning multiple lines. For example, some people like | 1489 | may match text spanning multiple lines. For example, some people like |
| 1490 | to have the filename and date on separate lines. The new variable | 1490 | to have the filename and date on separate lines. The new variable |
| 1491 | time-stamp-inserts-lines controls the matching for multi-line patterns. | 1491 | 'time-stamp-inserts-lines' controls the matching for multi-line patterns. |
| 1492 | 1492 | ||
| 1493 | *** More than one time stamp can be updated in the same file. This | 1493 | *** More than one time stamp can be updated in the same file. |
| 1494 | feature is useful if you need separate time stamps in a program source | 1494 | This feature is useful if you need separate time stamps in a program |
| 1495 | file to both include in formatted documentation and insert in the | 1495 | source file to both include in formatted documentation and insert in the |
| 1496 | compiled binary. The same time-stamp will be written at each matching | 1496 | compiled binary. The same time-stamp will be written at each matching |
| 1497 | pattern. The variable time-stamp-count enables this new feature; it | 1497 | pattern. The variable 'time-stamp-count' enables this new feature; it |
| 1498 | defaults to 1. | 1498 | defaults to 1. |
| 1499 | 1499 | ||
| 1500 | ** Partial Completion mode now completes environment variables in | 1500 | ** Partial Completion mode now completes environment variables in |
diff --git a/etc/symbol-releases.eld b/etc/symbol-releases.eld index ca0f98b86f7..9732f60fc16 100644 --- a/etc/symbol-releases.eld +++ b/etc/symbol-releases.eld | |||
| @@ -50,8 +50,6 @@ | |||
| 50 | ("22.1" fun version<=) | 50 | ("22.1" fun version<=) |
| 51 | ("22.1" fun read-number) | 51 | ("22.1" fun read-number) |
| 52 | ("21.1" var text-property-default-nonsticky) | 52 | ("21.1" var text-property-default-nonsticky) |
| 53 | ("20.3" var time-stamp-pattern) | ||
| 54 | ("19.16" fun time-stamp) | ||
| 55 | 53 | ||
| 56 | ;; Since much of early Emacs source history is lost, these versions are | 54 | ;; Since much of early Emacs source history is lost, these versions are |
| 57 | ;; conservative estimates: the actual version of first appearance may very | 55 | ;; conservative estimates: the actual version of first appearance may very |