1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2024-12-20 10:23:57 +00:00
Commit Graph

60 Commits

Author SHA1 Message Date
Dave Love
66c8215f1f (makefile-mode-hook): Customize. 1999-11-26 17:45:19 +00:00
Dave Love
a564ebfca1 Minor doc fixes. 1999-10-22 17:04:35 +00:00
Richard M. Stallman
3b7f63b13f Comment changes. 1999-02-07 04:07:14 +00:00
Richard M. Stallman
db85e69ca4 (makefile-imenu-generic-expression): New var.
(makefile-menu-index-function): Function deleted.
(makefile-mode): Use makefile-imenu-generic-expression.
1999-02-02 03:47:08 +00:00
Richard M. Stallman
6230363501 Whitespace fix. 1998-07-27 06:38:12 +00:00
Richard M. Stallman
39e7e36ac5 (makefile-font-lock-keywords): Recognize automatic variable references.
(makefile-dependency-regex): Don't be fooled by colons in deps.
1998-07-03 21:37:22 +00:00
Richard M. Stallman
5904765365 (makefile-browser-quit): Use quit-window. 1998-03-08 00:21:26 +00:00
Karl Heuer
9b3d0a18fa (make-mode): Provide make-mode, not makefile. 1998-02-27 22:11:43 +00:00
Simon Marshall
883212ce69 Changed font-lock-reference-face to font-lock-constant-face. 1998-02-20 14:58:27 +00:00
Richard M. Stallman
b20a44dc16 (makefile-pickup-everything-picks-up-filenames-p): Doc fix.
(makefile-mode): Doc fix.
1997-09-12 22:40:55 +00:00
Richard M. Stallman
dc3fc79718 (makefile-space-face): Add defface.
(makefile-define-space-face): Function deleted.
(makefile-mode): Don't call makefile-define-space-font.
1997-07-28 22:22:27 +00:00
Richard M. Stallman
c098c7f193 Customized.
Doc fixes.
1997-07-27 19:50:06 +00:00
Richard M. Stallman
4228277d98 Comment change. 1997-05-27 17:46:19 +00:00
Richard M. Stallman
dfa9e6fcb0 (makefile-backslash-align): New variable.
(makefile-backslash-region): Re-imported from cc-mode; modified to
handle makefile-backslash-align.
(makefile-append-backslash, makefile-delete-backslash):
Re-imported from cc-mode.
(makefile-backslashify-current-line): Function deleted.
(makefile-fill-paragraph): New function.
(makefile-mode-map): Bind C-c C-c to comment-region.
(makefile-mode): Set fill-paragraph to makefile-fill-paragraph.
1997-03-24 05:30:10 +00:00
Karl Heuer
6e36fe0bad (makefile-dependency-regex): Disallow "=" in name,
so that "flags=-o:1" is treated as an assignment, not a dependency.
(makefile-dependency-regex, makefile-macroassign-regex): Disallow
spaces in symbol name.
1997-03-11 22:23:36 +00:00
Richard M. Stallman
984322b6ac (makefile-font-lock-keywords): Handle dependencies
first and variable references after.
(makefile-dependency-regex, makefile-macroassign-regex):
Accept spaces at the beginning of the line.
1996-11-03 20:38:56 +00:00
Karl Heuer
bf370e8cd5 (makefile-font-lock-keywords): Accept - and . in
variable names.
1996-10-25 04:34:53 +00:00
Richard M. Stallman
d6749f8f3d (makefile-font-lock-keywords): Catch variable
references that use substitutions.
1996-08-20 20:42:52 +00:00
Richard M. Stallman
e1775344cd (makefile-gnumake-functions-alist): Add `addprefix'. 1996-06-27 07:48:39 +00:00
Richard M. Stallman
1f35e35975 (makefile-runtime-macros-list): Add + to the list. 1996-02-26 19:33:15 +00:00
Richard M. Stallman
abdcf1fb2c (makefile-font-lock-keywords): Improve highlighting
of variable references inside other highlighted regions.
1996-01-26 19:30:42 +00:00
Richard M. Stallman
8d3a793498 (makefile-browser-toggle): Use delete-region, not kill-line. 1996-01-24 20:06:06 +00:00
Richard M. Stallman
c183f0dad4 (makefile-mode): Fix criterion for calling makefile-define-space-face. 1996-01-17 22:26:18 +00:00
Erik Naggum
b578f267af Update FSF's address. 1996-01-14 07:34:30 +00:00
Karl Heuer
5f55e1592e (makefile-space-face): Don't work on
facemenu-unlisted-faces if it isn't bound.
1996-01-09 23:19:17 +00:00
Karl Heuer
ac282af805 (makefile-insert-special-target,
makefile-backslash-region): Doc fix.
1996-01-04 23:44:52 +00:00
Richard M. Stallman
32b558fad3 (makefile-add-log-defun): Rewrite to scan back
checking one line at a time.  Notice blank lines and comments.
1995-12-25 01:43:07 +00:00
Karl Heuer
34bb441e23 (makefile-font-lock-keywords): Fix bad structure
for the "^\t+#" element.

Add faces to menu only if window-system.
(makefile-mode): Do not check if makefile-define-space-face is
defined.  Call it only if window-system.
1995-12-21 17:56:09 +00:00
Karl Heuer
f36e4a5ea9 (makefile-space-face): Don't list in facemenu. 1995-11-10 18:58:37 +00:00
Richard M. Stallman
ebeafce6a5 (makefile-mode): Call makefile-define-space-face only if it is defined.
(makefile-define-space-face): Create the face unconditionally;
alter it only if have X.
1995-11-10 04:44:37 +00:00
Karl Heuer
80e01c1954 (makefile-define-space-face): Don't make face if non-X. 1995-11-05 04:40:19 +00:00
Simon Marshall
97af036810 Use frame-parameters, not font-lock-background-mode and font-lock-display-type. 1995-10-30 08:31:08 +00:00
Richard M. Stallman
f067044f47 (makefile-font-lock-keywords): Highlight lines with
tab followed by #, and initial spaces preceding tabs--not all initial spaces.
1995-08-28 15:09:57 +00:00
Richard M. Stallman
6a99a3eade (makefile-mode-syntax-table): "]" is a close-paren. 1995-08-24 20:18:58 +00:00
Richard M. Stallman
6728a649bd (makefile-add-log-defun): Avoid error at eob. 1995-08-24 20:16:31 +00:00
Richard M. Stallman
bd0e4eb1cc Doc fixes.
(makefile-font-lock-keywords): Highlight lines of just whitespace.
1995-08-23 23:51:38 +00:00
Richard M. Stallman
118a98570e (makefile-space-face): New variable.
(makefile-define-space-face): New function.
(makefile-tab-face): Variable deleted.
(makefile-define-tab-face): Function deleted.
(makefile-font-lock-keywords): Highlight leading spaces, not tabs.
1995-08-21 17:27:04 +00:00
Richard M. Stallman
3fc9add97b (makefile-define-tab-face): New function.
(makefile-tab-face): Don't create face here.
(makefile-mode): Call makefile-define-tab-face.
1995-06-24 07:34:27 +00:00
Karl Heuer
7c938215cd Update GPL to version 2. 1995-06-15 20:42:24 +00:00
Karl Heuer
0e520d74eb Fix capitalization in menu bar. 1995-05-30 23:05:08 +00:00
Richard M. Stallman
3b11420577 (makefile-mode): Set dabbrev-abbrev-skip-leading-regexp. 1995-05-01 17:16:40 +00:00
Richard M. Stallman
308a286030 Changed almost every doc string.
(makefile-macroassign-regex): Don't include space and tab in macro names.

(makefile-backslash-column): New variable.
(makefile-backslash-region): New function.
(makefile-backslashify-current-line): New function.
(makefile-mode-map): Bind C-c C-\ to makefile-backslash-region.

(makefile-tab-face): New variable.
(makefile-font-lock-keywords): Use makefile-tab-face.
(makefile-font-lock-keywords): Use defvar, not defconst.
1994-10-30 21:20:42 +00:00
Simon Marshall
af4b1991f9 * makefile.el: (makefile-mode-syntax-table): Made '' and `' be
strings, and `#' be a comment.
	(makefile-font-lock-keywords): Add variable reference regexp.
	(makefile-mode): Set font-lock-defaults.
1994-10-12 08:55:27 +00:00
Richard M. Stallman
6783b1ce6f (makefile-mode-name): Removed.
(makefile-mode): Skip any number of "#"s at beginning of comments.
(makefile-electric-keys): New variable.
(makefile-electric-dot): Self insert if not at bol.
(makefile-electric-equal): Really self-insert if not at bol.
(makefile-pickup-everything): Prefix arg means force pickups to be
redone.
(makefile-insert-macro-ref): Don't use format.
(makefile-runtime-macros-list): Added "$" to list.
(makefile-insert-special-target): Don't use format.
(makefile-insert-macro): Don't use format.
(makefile-insert-target): Don't use format.
(makefile-insert-target-ref): Don't use format.
(makefile-electric-colon): Really self-insert if not at bol.
(makefile-complete): New function.  Bound to M-TAB.
(makefile-do-macro-insertion): New function.
(makefile-mode-map): Add menu bar bindings.
(makefile-font-lock-keywords): New constant.
(makefile-mode): Deal with font-lock, add-log, imenu.
(makefile-macroassign-regex): Changed for use with font-lock.
(makefile-dependency-regex): Changed for use with font-lock.
(makefile-add-log-defun): New function.
(makefile-menu-index-function): New function.
1994-10-11 20:42:23 +00:00
Richard M. Stallman
a4e104bf5c Doc fix. 1994-05-22 22:14:17 +00:00
Richard M. Stallman
cd99f76d3d (makefile-mode): Removed extra quote before makefile-warn-suspicious-lines. 1994-04-22 20:20:49 +00:00
Karl Heuer
9854c615cc (makefile-mode): make-local-variable misspelled as make-local-file. 1994-04-11 20:40:58 +00:00
Richard M. Stallman
b8ca7cc378 (makefile-mode): Set local-write-file-hooks, not write-file-hooks.
Version 1.16.
(makefile-mode): Correct `make-variable-buffer-local' to
`make-local-variable'.  Set indent-tabs-mode to t.

(makefile-insert-macro-ref): Do not append a space
to the inserted macro reference.
(makefile-insert-macro-ref): Likewise if the reference is to
one of makefile-runtime-macros-list.
(makefile-format-macro-ref): If the name of the macro ref
starts with a '(' or '{' then the enclosing parentheses are not added.

(makefile-warn-suspicious-lines): New function.

Changed mode name to "Makefile" instead of "makefile".
1994-03-02 07:57:04 +00:00
Richard M. Stallman
c72344c70d (makefile-browser-fill, makefile-browser-toggle):
Bind inhibit-read-only; don't set buffer-read-only.
1994-02-07 05:54:34 +00:00
Richard M. Stallman
531b2a2817 (makefile-mode): Make comment-start, comment-end,
and comment-start-skip buffer-local.
1994-01-06 09:59:12 +00:00