summaryrefslogtreecommitdiff
path: root/lisp/progmodes/make-mode.el
Commit message (Collapse)AuthorAgeFilesLines
* Update copyright for release of 22.1 for progmodes directory.Nick Roberts2005-08-011-1/+2
|
* Update FSF's address.Lute Kamstra2005-07-041-2/+2
|
* (put 'makefile-space-face 'face-alias 'makefile-space)Daniel Pfeiffer2005-06-151-0/+1
|
* (makefile-space, makefile-makepp-perl): Eliminate "-face" suffix.Daniel Pfeiffer2005-06-141-30/+35
| | | | | | | | | | (makefile-targets): Inherit from font-lock-function-name-face and eliminate "-face" suffix. (makefile-shell): Remove attributes and eliminate "-face" suffix. (makefile-*-font-lock-keywords): Append makefile-targets in rule actions, instead of prepending, to make it less visible. (makefile-previous-dependency, makefile-match-dependency): Don't match a target on a continuation line.
* (makefile-shell-face): Make this a no-opRichard M. Stallman2005-06-081-4/+3
| | | | | except on terminals with enough colors to really display it. (makefile-dependency-regex): Delete spurious `bb'.
* (makefile-dependency-regex): Handle whitespaceRichard M. Stallman2005-06-061-2/+15
| | | | | | | | just like other allowed characters. (makefile-match-dependency): Exclude leading and training whitespace from the range of regexp subexp 1. (makefile-macroassign-regex): Don't try to match the body, just the name of the macro being defined.
* (makefile-targets-face, makefile-shell-face, makefile-makepp-perl-face): Add ↵Daniel Pfeiffer2005-06-031-10/+25
| | | | | | | :version. (makefile-bsdmake-dependency-regex, makefile-makepp-rule-action-regex, makefile-bsdmake-rule-action-regex): New constants. (makefile-makepp-mode, makefile-bsdmake-mode): Use them.
* (makefile-makepp-mode, makefile-bsdmake-mode): Continuation lines may be empty.Daniel Pfeiffer2005-05-291-2/+2
|
* (makefile-rule-action-regex, makefile-macroassign-regex): Continuation lines ↵Daniel Pfeiffer2005-05-291-3/+3
| | | | | | may be empty. Reported by Joshua Varner. (makefile-makepp-font-lock-keywords): Add $(stem).
* (makefile-imenu-generic-expression): Use function to find dependencies, ↵Daniel Pfeiffer2005-05-211-7/+7
| | | | | | | | because regexp alone is so complex, it easily goes into an endless loop. (makefile-makepp-mode): Also add submenu for Perl functions defined in the makefile. (makefile-bsdmake-mode): Special imenu-generic-expression no longer needed, due to function call. (makefile-match-dependency): Take BOUND into account when checking if we're through.
* (makefile-mode): Use run-mode-hooks.Richard M. Stallman2005-05-191-1/+1
|
* (makefile-add-this-line-targets): Simplify and integrate into ↵Daniel Pfeiffer2005-05-191-64/+41
| | | | | | | | `makefile-pickup-targets'. (makefile-add-this-line-macro): Simplify and integrate into `makefile-pickup-macros. (makefile-pickup-filenames-as-targets): Simplify. (makefile-previous-dependency, makefile-match-dependency): Don't stumble over `::'.
* (makefile-previous-dependency, makefile-match-dependency): Check for := (and ↵Daniel Pfeiffer2005-05-181-6/+7
| | | | in bsd mode also !=) to give a better result, even when font-lock is not on.
* (makefile-macroassign-regex, makefile-make-font-lock-keywords): Also fontify ↵Daniel Pfeiffer2005-05-171-3/+6
| | | | | | plain strings assigned to variables, mostly so that a colon has a face and is thus not taken as a dependency separator. (makefile-mode): Cancel `font-lock-support-mode', because blocks to be fontified in one piece can be too long for JIT. Makefiles are never *that* big.
* (makefile-dependency-skip): New variable.Daniel Pfeiffer2005-05-171-11/+30
| | | | | (makefile-previous-dependency): Inline the new matcher, because it is too complex to work in both directions. (makefile-match-dependency): Eliminate `backward' arg (see above). Completely reimplemented so as to not sometimes go into an endless loop. It should also be more efficient, because first it only searches for `:', instead of applying the very complex regexp.
* (makefile-dependency-regex): Turn it into a var, and refine it to mask one ↵Daniel Pfeiffer2005-05-161-46/+70
| | | | | | | | | | | more level of nested vars. (makefile-rule-action-regex): Turn it into a var, and refine it so it recognizes backslashed continuation lines as belonging to the same command. (makefile-macroassign-regex): Refine it so it recognizes backslashed continuation lines as belonging to the same command. (makefile-var-use-regex): Don't look at the next char, because it might be the same one to be skipped by the initial [^$], leading to an overlooked variable use. (makefile-make-font-lock-keywords): Remove two parameters, which are now variables that some of the modes set locally. Handle dependency and rule action matching through functions, because regexps alone match too often. Dependency matching now comes last, so it can check, whether a colon already matched something else. (makefile-mode): Inform that font-lock improves makefile parsing capabilities. (makefile-match-dependency, makefile-match-action): New functions.
* (makefile-targets-face, makefile-shell-face, makefile-makepp-perl-face): New ↵Daniel Pfeiffer2005-05-131-84/+307
| | | | | | | | | | | | | | | | | | | | | faces. (makefile-dependency-regex): Fix it to not make the colon in $(var:a=b) special. (makefile-rule-action-regex): New regexp for highlighting embedded Shell strings. (makefile-macroassign-regex): Handle != for highlighting as embedded Shell strings. (makefile-var-use-regex): New const. (makefile-statements, makefile-automake-statements) (makefile-gmake-statements, makefile-makepp-statements) (makefile-bsdmake-statements): New consts. (makefile-make-font-lock-keywords): New function. (makefile-automake-font-lock-keywords) (makefile-gmake-font-lock-keywords) (makefile-makepp-font-lock-keywords) (makefile-bsdmake-font-lock-keywords): New consts. (makefile-mode-map): Add switchers between the various submodes. (makefile-mode): Document the availability of the variants. (makefile-automake-mode, makefile-gmake-mode) (makefile-makepp-mode, makefile-bsdmake-mode): New derived modes.
* (makefile-font-lock-keywords): Use font-lock-negation-char-face.Daniel Pfeiffer2005-05-051-1/+4
|
* (makefile-fill-paragraph): Don't insist on spaces when looking forRichard M. Stallman2004-09-201-1/+1
| | | | comments. # is enough.
* Fix comments.Kim F. Storm2004-07-221-5/+1
|
* * progmodes/idlwave.el (idlwave-make-tags):Eli Zaretskii2004-01-031-1/+1
| | | | | | | | | | | | | | | * textmodes/flyspell.el (flyspell-large-region):. * progmodes/make-mode.el (makefile-query-by-make-minus-q): * emulation/viper-util.el (viper-glob-unix-files): * emacs-lisp/shadow.el (shadow-same-file-or-nonexistent): * man.el (Man-init-defvars): * jka-compr.el (jka-compr-call-process): * files.el (get-free-disk-space,insert-directory): * ediff-ptch.el (ediff-test-patch-utility): * ediff-diff.el (ediff-test-utility): * dired-aux.el (dired-check-process): * mail/sendmail.el (sendmail-send-it): Don't use = or zerop to test the return value of call-process, because it can be a string.
* (makefile-font-lock-syntactic-keywords): Don't use `space' for \\\n.Stefan Monnier2003-11-261-3/+8
| | | | Be more selective as to which # are comment-starters.
* Add arch taglinesMiles Bader2003-09-011-0/+1
|
* (makefile-font-lock-syntactic-keywords): New variable.Juanma Barranquero2003-03-191-1/+10
| | | | (makefile-mode): Use it for value of font-lock-syntactic-keywords.
* (makefile-font-lock-keywords): ProtectAndreas Schwab2003-02-241-7/+6
| | | | | shell variable references by requireing that $ is not preceded by another $.
* (makefile-font-lock-keywords): Simplify last change.Juanma Barranquero2003-02-121-3/+3
|
* (makefile-font-lock-keywords): Fontify single character variable references, butJuanma Barranquero2003-02-111-4/+7
| | | | | protect shell variables references. (makefile-mode): Make `$' be punctuation in font-lock-defaults.
* Trailing whitepace deleted.Juanma Barranquero2003-02-041-1/+1
|
* (makefile-font-lock-keywords): HighlightAndreas Schwab2002-12-281-0/+1
| | | | | automatic variable references enclosed in parens and optionally suffixed by F or D.
* (makefile-font-lock-keywords): Highlight more make keywords:Richard M. Stallman2002-12-021-1/+3
| | | | defined, endef, override, export, unexport and vpath.
* (makefile-space-face): Fix typo in group name.Markus Rost2002-11-171-1/+1
|
* (makefile-warn-continuations): Don't barf when there _aren't_ anyMiles Bader2002-10-281-1/+1
| | | | suspicious continuations.
* (makefile-cleanup-continuations): Default for variable is nil.Richard M. Stallman2002-10-261-3/+13
| | | | | (makefile-warn-continuations): New function. (makefile-mode): Put it on write-file-functions.
* (makefile-cleanup-continuations-p): Rename to makefile-cleanup-continuations.Stefan Monnier2002-09-191-43/+30
| | | | | | | (makefile-mode): Use write-file-functions. (makefile-fill-paragraph): Use match-string-no-properties. (makefile-fill-paragraph): Use line-end-position. (makefile-add-log-defun): Simplify.
* (makefile-fill-paragraph): Find comment boundaries before filling.Richard M. Stallman2002-09-181-4/+22
|
* Move `provide' to the end.Stefan Monnier2001-11-281-3/+3
|
* Use line-(end|beginning)-position.Stefan Monnier2001-11-281-34/+23
| | | | | | (makefile-mode): Set indent-line-function. (makefile-browser-insert-continuation): Use with-current-buffer. (makefile-beginning-of-line-point, makefile-end-of-line-point): Remove.
* (makefile-macroassign-regex): Recognize the ?= operator.Eli Zaretskii2001-07-301-1/+1
| | | | From Jonathan Kamens <jik@curl.com>.
* (makefile-browse): Use make-local-variable.Stefan Monnier2001-07-161-3/+2
|
* (makefile-font-lock-keywords):Stefan Monnier2001-04-251-15/+6
| | | | | Rationalize the rules for includes and conditionals and use the keyword face for them.
* (makefile-mode): Set SYNTAX-BEGIN memberEli Zaretskii2001-02-061-1/+5
| | | | of `font-lock-defaults' to `backward-paragraph' rather than nil.
* (makefile-mode-abbrev-table): RemoveGerd Moellmann2000-07-261-9/+0
| | | | | duplicate definition. (makefile-mode): Remove duplicate setting of local-abbrev-table.
* (makefile-pickup-filenames-as-targets): Don't quote lambda.Stefan Monnier2000-06-121-1/+1
|
* (makefile-mode-abbrev-table): New variable.Gerd Moellmann2000-05-031-0/+18
| | | | | | (makefile-mode): Set local abbrev table to makefile-mode-abbrev-table. (makefile-font-lock-keywords): Fontify includes and conditionals.
* Some doc fixes.Gerd Moellmann2000-04-041-27/+48
| | | | | | | (makefile-mode-abbrev-table): New variable. (makefile-mode): Set local abbrev table to makefile-mode-abbrev-table. (makefile-font-lock-keywords): Fontify includes and conditionals. (toplevel): Require `dabbrev' and `add-log' when compiling.
* (makefile-warn-suspicious-lines): cleanStefan Monnier2000-03-231-14/+8
| | | | | up the code and the regexp and make sure the cursor is temporarily moved to the suspicious line while querying the user.
* (makefile-mode-hook): Customize.Dave Love1999-11-261-0/+5
|
* Minor doc fixes.Dave Love1999-10-221-17/+17
|
* Comment changes.Richard M. Stallman1999-02-071-6/+6
|
* (makefile-imenu-generic-expression): New var.Richard M. Stallman1999-02-021-23/+8
| | | | | (makefile-menu-index-function): Function deleted. (makefile-mode): Use makefile-imenu-generic-expression.