Mercurial > emacs
annotate lisp/language/misc-lang.el @ 62412:6ac7ed8e212b
(makefile-dependency-regex): Turn it into a var, and refine it to mask one 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.
author | Daniel Pfeiffer <occitan@esperanto.org> |
---|---|
date | Mon, 16 May 2005 20:13:09 +0000 |
parents | 197607499a29 |
children | 18a818a2ee7c f042e7c0fe20 |
rev | line source |
---|---|
47726
33d53d287ee4
Add "no-byte-compile: t" in first line.
Juanma Barranquero <lekktu@gmail.com>
parents:
38414
diff
changeset
|
1 ;;; misc-lang.el --- support for miscellaneous languages (characters) -*- no-byte-compile: t -*- |
17052 | 2 |
62396 | 3 ;; Copyright (C) 1995, 1997 |
4 ;; National Institute of Advanced Industrial Science and Technology (AIST) | |
5 ;; Registration Number H14PRO021 | |
17052 | 6 |
7 ;; Keywords: multilingual, character set, coding system | |
8 | |
9 ;; This file is part of GNU Emacs. | |
10 | |
11 ;; GNU Emacs is free software; you can redistribute it and/or modify | |
12 ;; it under the terms of the GNU General Public License as published by | |
13 ;; the Free Software Foundation; either version 2, or (at your option) | |
14 ;; any later version. | |
15 | |
16 ;; GNU Emacs is distributed in the hope that it will be useful, | |
17 ;; but WITHOUT ANY WARRANTY; without even the implied warranty of | |
18 ;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | |
19 ;; GNU General Public License for more details. | |
20 | |
21 ;; You should have received a copy of the GNU General Public License | |
17071 | 22 ;; along with GNU Emacs; see the file COPYING. If not, write to the |
23 ;; Free Software Foundation, Inc., 59 Temple Place - Suite 330, | |
24 ;; Boston, MA 02111-1307, USA. | |
17052 | 25 |
38414
67b464da13ec
Some fixes to follow coding conventions.
Pavel Janík <Pavel@Janik.cz>
parents:
33778
diff
changeset
|
26 ;;; Commentary: |
67b464da13ec
Some fixes to follow coding conventions.
Pavel Janík <Pavel@Janik.cz>
parents:
33778
diff
changeset
|
27 |
67b464da13ec
Some fixes to follow coding conventions.
Pavel Janík <Pavel@Janik.cz>
parents:
33778
diff
changeset
|
28 ;;; Code: |
67b464da13ec
Some fixes to follow coding conventions.
Pavel Janík <Pavel@Janik.cz>
parents:
33778
diff
changeset
|
29 |
17052 | 30 ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; |
31 ;;; IPA (International Phonetic Alphabet) | |
32 ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; | |
33 | |
18554
179c8135c9b1
Call set-language-info-alist for IPA.
Kenichi Handa <handa@m17n.org>
parents:
18377
diff
changeset
|
34 (set-language-info-alist |
22982
5fef9d1a7fc2
(setup-XXX-environment): Just call set-language-environment. If
Kenichi Handa <handa@m17n.org>
parents:
22713
diff
changeset
|
35 "IPA" '((charset . (ipa)) |
22713
e7e1cecf3a1c
("IPA"): Add coding-priority and coding-system.
Kenichi Handa <handa@m17n.org>
parents:
18554
diff
changeset
|
36 (coding-priority iso-2022-7bit) |
e7e1cecf3a1c
("IPA"): Add coding-priority and coding-system.
Kenichi Handa <handa@m17n.org>
parents:
18554
diff
changeset
|
37 (coding-system iso-2022-7bit) |
22982
5fef9d1a7fc2
(setup-XXX-environment): Just call set-language-environment. If
Kenichi Handa <handa@m17n.org>
parents:
22713
diff
changeset
|
38 (input-method . "ipa") |
5fef9d1a7fc2
(setup-XXX-environment): Just call set-language-environment. If
Kenichi Handa <handa@m17n.org>
parents:
22713
diff
changeset
|
39 (nonascii-translation . ipa) |
5fef9d1a7fc2
(setup-XXX-environment): Just call set-language-environment. If
Kenichi Handa <handa@m17n.org>
parents:
22713
diff
changeset
|
40 (unibyte-display . iso-2022-7bit) |
18554
179c8135c9b1
Call set-language-info-alist for IPA.
Kenichi Handa <handa@m17n.org>
parents:
18377
diff
changeset
|
41 (documentation . "\ |
179c8135c9b1
Call set-language-info-alist for IPA.
Kenichi Handa <handa@m17n.org>
parents:
18377
diff
changeset
|
42 IPA is International Phonetic Alphabet for English, French, German |
179c8135c9b1
Call set-language-info-alist for IPA.
Kenichi Handa <handa@m17n.org>
parents:
18377
diff
changeset
|
43 and Italian."))) |
179c8135c9b1
Call set-language-info-alist for IPA.
Kenichi Handa <handa@m17n.org>
parents:
18377
diff
changeset
|
44 |
33778 | 45 (provide 'misc-lang) |
46 | |
52401 | 47 ;;; arch-tag: 6953585c-1a1a-4c09-be82-a2518afb6074 |
17052 | 48 ;;; misc-lang.el ends here |