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

130 Commits

Author SHA1 Message Date
Stefan Monnier
d68f7f1b11 (find-change-log): New arg BUFFER-FILE.
(add-log-file-name): Obey add-log-file-name-function.
(add-log-buffer-file-name-function): New var.
(add-change-log-entry): Use it.
2000-09-29 18:03:51 +00:00
Gerd Moellmann
163f7b71fb (change-log-date-face, change-log-name-face)
(change-log-email-face, change-log-file-face)
(change-log-list-face, change-log-conditionals-face)
(change-log-function-face, change-log-acknowledgement-face): New
faces, inheriting from font-lock faces.
(change-log-font-lock-keywords): Use them.
2000-09-21 14:48:08 +00:00
Stefan Monnier
2eb7ccf4ea (add-log-file-name): New function (split out of add-change-log-entry).
(add-change-log-entry): Use it.
Call add-log-file-name-function with the changelog file name if
the current buffer is not associated with any file.
Avoid find-file if the selected window is dedicated.
2000-09-20 22:21:52 +00:00
Gerd Moellmann
8f4ca9a5e4 (change-log-font-lock-keywords): Match names
more exactly for the case that font-lock-constant-face is
underlined.
2000-09-19 14:55:58 +00:00
Dave Love
918f4ac3cf (change-log-merge): Doc fix.
(change-log-redate): New command.
2000-08-15 13:26:16 +00:00
Dave Love
a8d693d899 (change-log-font-lock-keywords) <function>: Add
pattern for function of change.
(change-log-font-lock-keywords) <acknowledgements>: Amalgamate
acknowledgements patterns.
2000-05-31 17:41:51 +00:00
Stefan Monnier
dc29aa6cbf (add-change-log-entry): Merge the current entry with the
previous one if the previous one is empty.
2000-05-26 12:33:25 +00:00
Dave Love
5960adc712 Don't require cl, fortran.
(add-log-current-defun-function): Doc fix.
(change-log-version-number-regexp-list): Remove SCCS stuff.  Doc
fix.
(change-log-mode-map): Defvar directly.
(change-log-version-rcs): Function deleted.
(change-log-version-number-search): Doc fix.
2000-03-31 16:00:08 +00:00
Gerd Moellmann
f654865f83 (add-log-current-defun): Add support for
Autoconf mode.
2000-03-02 09:32:23 +00:00
Gerd Moellmann
d1f45edda4 (add-change-log-entry): Fix error trying an `(insert nil)'. 2000-01-12 14:14:36 +00:00
Gerd Moellmann
aa705642e7 (add-log-current-defun): Handle user-defined
add-log-current-function returning nil,
2000-01-11 15:40:41 +00:00
Gerd Moellmann
57df2446ea (add-change-log-entry): Insert version number
if having found a current function.
2000-01-11 15:36:02 +00:00
Gerd Moellmann
c1356086c3 (add-log-current-defun): Call
`add-log-current-defun-function'.  Try matches at level 0 and
level 1.  Strip whitespace from defun found.
2000-01-11 15:08:47 +00:00
Dave Love
075a662949 (add-log-debugging): Deleted.
(add-change-log-entry): Treat a backup FILE-NAME as its parent file.
Remove debugging code.
(change-log-get-method-definition, change-log-name): Add doc.
(change-log-sortable-date-at): New function.
(change-log-merge): New command.
2000-01-07 14:28:58 +00:00
Gerd Moellmann
776d8e16b1 (change-log-version-number-regexp-list)
(change-log-version-info-enabled): Change :version to 21.1.
(toplevel): Require CL when compiling.

(change-log-version-number-regexp-list): Added tag
:version 20.6
(change-log-version-info-enabled): Added tag :version 20.6

More general version number search with
user-configurable regexp list.
(change-log-version-number-regexp-list): New user variable.
(change-log-find-version): Rewritten.  Use user-configurable
version numbering regexp list
change-log-version-number-regexp-list.
(change-log-find-version): Renamed to
change-log-version-number-search
(add-log-file-name-function): New.
(change-log-search-vc-number): Added END paramaeter.  Added doc
string to function.
(change-log-version-rcs): Renamed.  Was
change-log-search-vc-number.
1999-12-27 12:27:32 +00:00
Dave Love
1b22f64537 (add-log-current-defun): Use fortran-{beginning,end}-of-subprogram. 1999-11-26 17:35:33 +00:00
Dave Love
c3979f1223 (change-log-mode-hook): Customize. 1999-11-26 17:32:22 +00:00
Karl Heuer
fe44bc6d35 (add-log-current-defun): Exclude all trailing whitespace.
Handle `enum' like `struct'.
1999-08-16 03:16:06 +00:00
Richard M. Stallman
a0bcdd7f58 (add-log-current-defun): Remove trailing -=' in C modes. 1999-07-09 18:37:55 +00:00
Richard M. Stallman
666f405690 (add-log-file-name-function): New variable.
(add-change-log-entry): Call that function, if non-nil.
1999-02-09 09:14:53 +00:00
Dave Love
97a3278b57 (change-log-font-lock-keywords): Do parenthesized
stuff only after file names or at start of line.  Allow parens
around e-mail, as well as angles.
1998-09-08 12:55:10 +00:00
Richard M. Stallman
5abdc91582 Comment change. 1998-06-07 23:07:55 +00:00
Richard M. Stallman
63c7727f83 Fix previous change. 1998-05-10 18:45:55 +00:00
Richard M. Stallman
f731e2ff42 (add-log-current-defun): Fix previous change--skip
tab and newline also.
1998-05-10 05:53:16 +00:00
Richard M. Stallman
42b1fc290d (add-log-current-defun) <lisp>:
If element 1 of the defun is a list, use first symbol
within it (the car of the car.... of it).
1998-05-05 04:25:03 +00:00
Richard M. Stallman
bfce64768d (add-log-current-defun): Fix previous fortran change. 1998-05-05 04:09:14 +00:00
Richard M. Stallman
5522b032fc (add-log-debugging): New variable.
(add-change-log-entry): Set it.
1998-05-04 00:13:13 +00:00
Richard M. Stallman
c9cfb0f2b6 (change-log-mode): Undo previous change. 1998-04-24 06:31:54 +00:00
Dave Love
4b7d4d0d0b (change-log-mode): Add `* ' to paragraph-start. 1998-04-23 17:37:12 +00:00
Dave Love
3697b8070e (change-log-mode): Revert 1997-12-03 doc change.
(add-change-log-entry): Replace 1997-12-03 changes with simple
implementation of add-log-keep-changes-together.  Doc fix.
(change-log-add-make-room): Function deleted.
(add-change-log-entry-other-window, change-log-mode,
add-log-keep-changes-together): Doc fix.
(add-log-lisp-like-modes): Add dsssl-mode.
(add-log-current-defun): Generalize Fortran case.
1998-04-17 20:27:32 +00:00
Richard M. Stallman
3307b0caf2 (change-log-font-lock-keywords): Recognize + in date. 1998-03-01 22:22:58 +00:00
Simon Marshall
883212ce69 Changed font-lock-reference-face to font-lock-constant-face. 1998-02-20 14:58:27 +00:00
Karl Heuer
83afd62c87 (change-log-add-make-room): New function.
(change-log-get-method-definition-1): Renamed get-method-definition-1.
(change-log-get-method-definition): Renamed from get-method-definition.
(add-log-keep-changes-together): New user variable.
(add-change-log-entry): Added missing WHOAMI explanation.
Added new functionality according to variable
`add-log-keep-changes-together'.
1997-12-04 04:42:08 +00:00
Richard M. Stallman
5cb58f8256 (add-log-current-defun-function): Likewise. 1997-09-13 06:05:16 +00:00
Richard M. Stallman
095fb03edb (change-log-font-lock-keywords): Add more to prev change. 1997-08-31 04:24:03 +00:00
Richard M. Stallman
b438e1cb6c (change-log-font-lock-keywords):
Match "Patches by".  Match all kinds of acks after `  '.
1997-08-24 20:28:59 +00:00
Richard M. Stallman
513063cf94 (change-log-font-lock-keywords): Recognize "Patch by". 1997-08-23 00:57:01 +00:00
Richard M. Stallman
a3cab9f060 Comment change. 1997-08-19 19:48:40 +00:00
Richard M. Stallman
6f187d8d8a (change-log-font-lock-keywords): Don't consider
a closeparen as part of a function or variable name.
1997-08-12 23:08:13 +00:00
Richard M. Stallman
df63ae664e (add-log-time-format): New variable.
(add-log-iso8601-time-string): New function.
(add-change-log-entry): Use add-log-time-format.
(add-log-iso8601-time-zone): Renamed from iso8601-time-zone.
1997-06-17 04:27:37 +00:00
Erik Naggum
6f6a26416e (change-log-font-lock-keywords): Tweak font-lock-keywords. 1997-05-22 19:10:29 +00:00
Erik Naggum
fb644f48cf (add-log-lisp-like-modes, add-log-c-like-modes, add-log-tex-like-modes):
New variables.
(add-log-current-defun): Use them instead of constant lists.
1997-05-21 20:07:20 +00:00
Richard M. Stallman
fcad51995c Add defgroup's; use defcustom for user vars. 1997-04-12 04:15:03 +00:00
Richard M. Stallman
8d6467a40b (change-log-fill-paragraph): Return non-nil so
fill-paragraph doesn't continue filling.  Don't skip backwards
over a paragraph if we at a paragraph start.
1996-11-02 20:15:18 +00:00
Simon Marshall
5572c1d1e9 Tweak change-log-font-lock-keywords 1996-10-23 09:16:54 +00:00
Richard M. Stallman
4a047d230c (change-log-name): Don't treat MSDOS, NT specially. 1996-09-01 19:02:33 +00:00
Erik Naggum
51bd184380 Change to ISO 8601 date formats, without time of day.
(change-log-font-lock-keywords): Adjust accordingly.
(add-change-log-entry): Compare and insert with new date format.
(change-log-mode): Make `paragraph-start' and `paragraph-separate' use \<
like `page-delimiter' for consistency.
(change-log-time-zone-rule): New variable.
(iso8601-time-zone): New function.
(add-change-log-entry): If change-log-time-zone-rule is non-nil, calculate
date according to that rule, and indicate resulting time zone.
1996-08-24 21:10:47 +00:00
Karl Heuer
45c50c5ded [fixing previous change]
(change-log-mode-map): Don't bind M-q.
(change-log-mode): Set fill-paragraph-function instead.
1996-08-20 20:50:35 +00:00
Karl Heuer
60f10a06e1 (change-log-mode): Set fill-paragraph-function.
(change-log-mode-map): Deleted; no bindings left.
1996-08-20 19:11:55 +00:00
Karl Heuer
6ad1cbf5bf (change-log-font-lock-keywords): Require colon after
parenthesized function name.
1996-05-28 15:46:49 +00:00