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
Richard M. Stallman
29db528bae
(add-log-full-name, add-log-mailing-address): Add autoload cookies.
1996-03-22 13:26:01 +00:00
Richard M. Stallman
947b27432d
(add-log-current-defun): In Lisp, if we don't find a
...
real defun, return nil, not "".
1996-02-09 19:09:22 +00:00
Erik Naggum
b578f267af
Update FSF's address.
1996-01-14 07:34:30 +00:00
Karl Heuer
4f675a8c50
(change-log-mode): Defaults for `indent-tabs-mode'
...
and `tab-width'.
1995-12-13 01:36:02 +00:00
Richard M. Stallman
550d8777e2
(add-change-log-entry): Initialize add-log-full-name
...
and add-log-mailing-address before prompting.
1995-11-25 03:47:12 +00:00
Richard M. Stallman
14ee195323
(change-log-mode): Remove incorrect "^" anchors from
...
paragraph-start and -separate.
(change-log-fill-paragraph): Use regular value of paragraph-start
to bound paragraph to be filled, modified values only to do the
filling. Make lines beginning with parentheses
paragraph-starters, but not paragraph-separators.
1995-11-11 05:33:37 +00:00
Richard M. Stallman
15319a8f22
(get-method-definition, get-method-definition-1):
...
Rename var md to get-method-definition-md and defvar it.
1995-10-24 04:07:17 +00:00
Richard M. Stallman
6dfa1d83fd
(add-log-current-defun): Handle private',
public' in C++ class definitions.
1995-10-20 15:22:56 +00:00
Richard M. Stallman
a0151877d7
(add-log-current-defun): Ignore quotes before fcn name.
1995-09-25 22:15:11 +00:00
Karl Heuer
e172f5463f
(add-log-current-defun): Handle C struct definitions.
...
(add-change-log-entry): Use case-sensitive search for file name.
Find first blank line correctly.
1995-07-17 22:44:40 +00:00
Karl Heuer
117aaf6057
(prompt-for-change-log-name): Handle the case where
...
a directory name is specified gracefully.
1995-06-09 01:29:21 +00:00
Karl Heuer
f27f16ed4f
(get-method-definition): Fix regexps.
1995-05-15 22:00:20 +00:00
Richard M. Stallman
32e986d4b3
(add-log-current-defun): Handle objc-mode like c-mode;
...
detect method definitions by their syntax.
1995-05-08 19:50:10 +00:00
Richard M. Stallman
59c1a7de82
(get-method-definition, get-method-definition-1): New functions.
...
(add-log-current-defun): Use them to handle objc-mode.
1995-05-08 00:45:17 +00:00
Simon Marshall
b9e5d99e8b
change-log-font-lock-keywords efficiency fix.
1995-04-24 11:03:55 +00:00
Richard M. Stallman
de98fcafe2
(find-change-log): If change-log-default-name
...
has no dir component, search through parent dirs for it.
1994-11-10 22:03:43 +00:00
Richard M. Stallman
3912227e7e
(change-log-name): Use changlo on windows-nt.
1994-11-01 05:45:04 +00:00
Richard M. Stallman
dab0cb9564
(change-log-mode-map): Move the definition up.
1994-10-13 03:29:22 +00:00
Simon Marshall
4b286ecae8
* add-log.el: (change-log-mode): Set font-lock-defaults.
1994-10-12 08:04:08 +00:00
Richard M. Stallman
3071ee28bb
(add-log-current-defun): In texinfo-mode,
...
handle the case of no commas after @node.
1994-10-08 09:00:51 +00:00
Richard M. Stallman
5f56271901
(change-log-mode): Set font-lock-keywords locally.
...
(change-log-font-lock-keywords): New variable.
1994-10-07 09:53:28 +00:00
Richard M. Stallman
64bd2d5165
(add-log-current-defun): Handle Perl specially.
1994-10-05 20:28:54 +00:00
Richard M. Stallman
59ac2ce681
(add-change-log-entry): Set add-log-full-name and
...
add-log-mailing-address here.
(add-log-mailing-address, add-log-full-name): Initialize to nil.
1994-09-22 20:31:07 +00:00
Richard M. Stallman
3fec4c1b34
(add-log-current-defun): Deal with lisp-interaction-mode like lisp-mode.
1994-09-20 05:38:59 +00:00
Richard M. Stallman
019644eeaa
(add-log-current-defun): Skip doc string
...
correctly even if it ends with line that starts space.
1994-07-24 02:50:50 +00:00
Richard M. Stallman
4daaec5d0b
(add-change-log-entry): Use <...> around mail address.
1994-07-16 19:30:21 +00:00
Roland McGrath
3e1c918b55
(add-change-log-entry): Apply expand-file-name to FILE-NAME.
1994-07-04 20:58:39 +00:00
Richard M. Stallman
fb38ca867d
(add-log-mailing-address): Use user-mail-address.
1994-06-25 00:35:12 +00:00
Richard M. Stallman
a82e2ed577
(find-change-log): If file name specified, just use it.
1994-06-24 15:47:09 +00:00
Roland McGrath
e332f80b0b
(add-log-current-defun): Autoload this.
1994-03-28 23:57:28 +00:00
Karl Heuer
26add1bf46
Don't use triple-hyphen in a character class.
1994-03-12 00:23:12 +00:00
Richard M. Stallman
5675b1e4f7
(change-log-name): On MSDOS, use changelo.
1994-01-06 11:44:29 +00:00
Richard M. Stallman
8afc29f0bc
(change-log-name): Let default name for ms-dos be "change.log".
1994-01-06 04:32:34 +00:00
Richard M. Stallman
d226f0a6b1
(add-log-current-defun):
...
Remove spurious quote on c++-mode. Recognize c++-c-mode.
1993-12-23 04:42:26 +00:00
Richard M. Stallman
675a998f8c
(add-change-log-entry): put buffer in change-log-mode.
...
(find-change-log): correct calculation of file one directory out.
1993-11-24 01:53:58 +00:00
Richard M. Stallman
75ade4691a
(change-log-default-name, add-log-current-defun-function)
...
(add-log-full-name, add-log-mailing-address): Delete autoload cookies.
1993-11-16 06:15:33 +00:00
Brian Fox
02ec15923b
add-log-full-name, add-log-mailing-address: new varialbes
1993-09-19 01:54:48 +00:00
Richard M. Stallman
964141f289
(change-log-mode): Use \f for formfeed, to avoid syntax error.
1993-07-31 18:41:53 +00:00
Roland McGrath
287d149f6d
(prompt-for-change-log-name): Autoload this (for vc-comment-to-change-log).
...
(add-change-log-entry): Take optional fourth arg NEW-ENTRY. If non-nil,
never append to an existing entry.
(change-log-fill-paragraph): New function.
It might be nice to have a general feature to replace this. The idea I
have is a variable giving a regexp matching text which should not be
moved from bol by filling. change-log-mode would set this to "^\\s *\\s(".
But I don't feel up to implementing that today.
(change-log-mode-map): New defvar for keymap. Bind M-q to
change-log-fill-paragraph in it.
(change-log-mode): Use that as local map.
1993-07-19 00:39:21 +00:00
Roland McGrath
6258d3afe1
(add-log-current-defun-function): New defvar.
...
(add-change-log-entry): Call its value if non-nil instead of
add-log-current-defun.
(add-change-log-entry-other-window): Doc fix.
1993-07-18 22:23:44 +00:00
Roland McGrath
1438263db4
(find-change-log): Try get-file-buffer before file-exists-p.
1993-06-25 22:01:47 +00:00
Jim Blandy
0e93321957
* add-log.el (add-log-current-defun): To find the name of the
...
function being defined in emacs-lisp-mode, lisp-mode, and
scheme-mode, skip an opening paren and an s-expression, instead of
just one word. This allows us to properly recognize things like
define-key and define-macro.
1993-06-21 00:51:36 +00:00
Jim Blandy
eb8c3be94e
Apply typo patches from Paul Eggert.
1993-06-09 11:59:12 +00:00
Richard M. Stallman
633149516a
(add-log-current-defun): Fix typos in last change.
1993-06-05 17:10:19 +00:00
Richard M. Stallman
a9e2a7f2b1
(add-log-current-defun): Handle Fortran.
1993-06-05 02:34:12 +00:00
Richard M. Stallman
afb89aea69
(find-change-log): Use file-chase-links.
1993-05-29 20:02:52 +00:00
Richard M. Stallman
9a6015e866
Finish previous change.
1993-05-28 22:12:56 +00:00
Richard M. Stallman
411d5924a8
(find-log-file): Use source file's truename dir.
1993-05-28 22:08:53 +00:00
Richard M. Stallman
4e44c03b9e
(find-change-log): Chase symlinks multiple levels.
1993-05-28 05:18:06 +00:00
Roland McGrath
723472f14e
(find-change-log): If there is a buffer-local value of
...
change-log-default-name, just return it with no searching. Previously a if
it was set to a nonexistent file name, we would loop forever.
1993-05-09 23:16:19 +00:00
Roland McGrath
45a13f0da3
(find-change-log): New function.
...
(add-change-log-entry): FILE-NAME frobnicating code moved there; call it.
1993-04-05 23:48:01 +00:00
Eric S. Raymond
e41b2db1da
Added or corrected Commentary sections
1993-03-22 03:27:18 +00:00
Eric S. Raymond
e9571d2a21
Add or correct keywords
1993-03-18 21:29:42 +00:00
Richard M. Stallman
716a781e7b
(add-change-log-entry): Never move past second hdr line.
1993-03-02 18:39:39 +00:00
Richard M. Stallman
ec367ad6e6
(add-change-log-entry): Find end of first paragraph from after the header line.
1993-02-25 20:23:59 +00:00
Roland McGrath
74046d00de
(add-change-log-entry): Undo Jan 25 change. It worked for buffers in
...
indented-text-mode, but lost for change-log-mode, which is what matters.
1993-02-08 22:25:34 +00:00
Roland McGrath
63ed0aa079
(add-change-log-entry): Restrict PARAGRAPH-END to being on the first
...
page.
1993-01-25 17:05:57 +00:00
Richard M. Stallman
6d7ee041a2
(add-change-log-entry): Search for existing ChangeLog
...
in parent dir and its parents.
1993-01-08 21:13:23 +00:00
Roland McGrath
82f4acafc5
(add-change-log-entry): Notice when ENTRY is equal to FILE-NAME,
...
not the hard-wired string "ChangeLog".
Added missing regexp-quote's in same-day entry search.
Search only in the first paragraph for a similar entry to add to.
1992-12-29 01:07:26 +00:00
Richard M. Stallman
e12d0df704
(add-change-log-entry): Expand file-name again after chasing links.
1992-11-27 22:55:31 +00:00
Richard M. Stallman
2cc0b7656d
(add-log-current-defun): Add condition-case around
...
the body, so at worst we return nil.
1992-10-19 22:39:55 +00:00
Richard M. Stallman
d80788d86d
(add-log-current-defun): In normal C case,
...
start with beginning-of-line.
In last (fallback) case, start with end-of-line.
(add-log-current-defun-header-regexp): In first alternative
within the parens, don't allow space as last character.
1992-10-08 08:35:26 +00:00
Richard M. Stallman
90e2359039
(add-log-current-defun): Catch errors checking for DEFUN.
1992-10-06 05:12:54 +00:00
Roland McGrath
7931124643
entered into RCS
1992-09-10 22:59:11 +00:00
Richard M. Stallman
2c91c85ce0
*** empty log message ***
1992-09-04 21:28:29 +00:00
Richard M. Stallman
e4790daa39
*** empty log message ***
1992-08-31 18:25:44 +00:00
Richard M. Stallman
c017c14393
*** empty log message ***
1992-08-27 04:22:31 +00:00
Jim Blandy
ef15f270db
*** empty log message ***
1992-08-19 03:54:51 +00:00
Richard M. Stallman
1da5680041
*** empty log message ***
1992-08-12 18:37:35 +00:00
Roland McGrath
36e6631cf5
*** empty log message ***
1992-08-10 21:24:45 +00:00
Roland McGrath
5516387caf
*** empty log message ***
1992-08-07 21:31:57 +00:00
Roland McGrath
7e9b0c9610
*** empty log message ***
1992-08-07 01:13:47 +00:00
Roland McGrath
043b998c9d
*** empty log message ***
1992-08-03 17:03:51 +00:00
Richard M. Stallman
09b389d025
*** empty log message ***
1992-08-03 17:03:00 +00:00
Eric S. Raymond
3a801d0c71
*** empty log message ***
1992-07-22 04:22:42 +00:00
Richard M. Stallman
1832dbd149
*** empty log message ***
1992-07-22 01:36:20 +00:00
Eric S. Raymond
fd7fa35a05
*** empty log message ***
1992-07-17 08:15:29 +00:00
Roland McGrath
dd3092241c
*** empty log message ***
1992-06-03 06:44:38 +00:00
Eric S. Raymond
21d7e0804f
*** empty log message ***
1992-05-31 19:41:40 +00:00
Eric S. Raymond
84fc2cfa7d
Initial revision
1992-05-30 23:52:26 +00:00