aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorStefan Monnier2005-10-21 06:32:05 +0000
committerStefan Monnier2005-10-21 06:32:05 +0000
commit1712cca561f20620cfdbf5603a96f2d00d1283b1 (patch)
tree6e01b15a84dba706e9a56d4e6fa503c13c89fcef
parentd55c4199f78929731b22ac89b499cfd41d0ad021 (diff)
downloademacs-1712cca561f20620cfdbf5603a96f2d00d1283b1.tar.gz
emacs-1712cca561f20620cfdbf5603a96f2d00d1283b1.zip
(sh-font-lock-syntactic-keywords): Make $@ and $? into sexps.
-rw-r--r--lisp/ChangeLog50
-rw-r--r--lisp/ChangeLog.102
-rw-r--r--lisp/progmodes/sh-script.el2
3 files changed, 42 insertions, 12 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog
index 2959c69da42..c777941fbba 100644
--- a/lisp/ChangeLog
+++ b/lisp/ChangeLog
@@ -1,8 +1,19 @@
12005-10-21 Stefan Monnier <monnier@iro.umontreal.ca>
2
3 * progmodes/sh-script.el (sh-font-lock-syntactic-keywords): Make $@
4 and $? into sexps.
5
6 * font-lock.el (font-lock-compile-keywords): Add a help-echo to the
7 warning face on open-paren-in-column-0.
8
9 * emacs-lisp/syntax.el (syntax-ppss-flush-cache): Fix corner
10 boundary case. Fix typo.
11 Suggested by Martin Rudalics <rudalics@gmx.at>.
12
12005-10-21 Carsten Dominik <dominik@science.uva.nl> 132005-10-21 Carsten Dominik <dominik@science.uva.nl>
2 14
3 * textmodes/org.el: (org-combined-agenda-icalendar-file) 15 * textmodes/org.el: (org-combined-agenda-icalendar-file)
4 (org-icalendar-include-todo, org-icalendar-combined-name): New 16 (org-icalendar-include-todo, org-icalendar-combined-name): New options.
5 options.
6 (org-export-icalendar-this-file) 17 (org-export-icalendar-this-file)
7 (org-export-icalendar-all-agenda-files) 18 (org-export-icalendar-all-agenda-files)
8 (org-export-icalendar-combine-agenda-files): New commands. 19 (org-export-icalendar-combine-agenda-files): New commands.
@@ -12,8 +23,7 @@
12 (org-read-date, org-goto-calendar) 23 (org-read-date, org-goto-calendar)
13 (org-agenda-goto-calendar): Inhibit displaying diary entries by 24 (org-agenda-goto-calendar): Inhibit displaying diary entries by
14 call to `calendar'. 25 call to `calendar'.
15 (orgtbl-setup): Removed the :keys arguments from the menu 26 (orgtbl-setup): Remove the :keys arguments from the menu description.
16 description.
17 (org-after-save-iCalendar-file-hook): New variable. 27 (org-after-save-iCalendar-file-hook): New variable.
18 28
192005-10-21 Kenichi Handa <handa@m17n.org> 292005-10-21 Kenichi Handa <handa@m17n.org>
@@ -26,6 +36,13 @@
26 * net/ange-ftp.el (ange-ftp-date-regexp): Handle also the case no 36 * net/ange-ftp.el (ange-ftp-date-regexp): Handle also the case no
27 group id is given. 37 group id is given.
28 38
392005-10-20 Stefan Monnier <monnier@iro.umontreal.ca>
40
41 * progmodes/sh-script.el (sh-escaped-line-re): New var.
42 (sh-here-doc-open-re, sh-font-lock-close-heredoc): Use it.
43 (sh-font-lock-open-heredoc): Try to properly handle heredoc starters
44 whose line is either continued or ends with a comment.
45
292005-10-20 Romain Francoise <romain@orebokech.com> 462005-10-20 Romain Francoise <romain@orebokech.com>
30 47
31 * net/rcirc.el (with-rcirc-process-buffer): Move above its first user. 48 * net/rcirc.el (with-rcirc-process-buffer): Move above its first user.
@@ -130,13 +147,12 @@
130 147
1312005-10-20 Reiner Steib <Reiner.Steib@gmx.de> 1482005-10-20 Reiner Steib <Reiner.Steib@gmx.de>
132 149
133 * textmodes/org.el (org-level-color-stars-only): Fix typo in doc 150 * textmodes/org.el (org-level-color-stars-only): Fix typo in docstring.
134 string.
135 151
1362005-10-20 Eli Zaretskii <eliz@gnu.org> 1522005-10-20 Eli Zaretskii <eliz@gnu.org>
137 153
138 * makefile.w32-in ($(lisp)/mh-e/mh-loaddefs.el): Bind 154 * makefile.w32-in ($(lisp)/mh-e/mh-loaddefs.el):
139 find-file-suppress-same-file-warnings to t, to avoid warnings due 155 Bind find-file-suppress-same-file-warnings to t, to avoid warnings due
140 to different drive letter case in D:/foo/bar.el vs d:/foo/bar.el. 156 to different drive letter case in D:/foo/bar.el vs d:/foo/bar.el.
141 157
1422005-10-20 Kim F. Storm <storm@cua.dk> 1582005-10-20 Kim F. Storm <storm@cua.dk>
@@ -148,6 +164,18 @@
148 (ido-make-file-list): Don't rotate list at tramp root to avoid 164 (ido-make-file-list): Don't rotate list at tramp root to avoid
149 triggering tramp file handler for expand-file-name via get-file-buffer. 165 triggering tramp file handler for expand-file-name via get-file-buffer.
150 166
1672005-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
168
169 * simple.el (eval-expression-print-format): Put the char-string
170 inside the parenthesis, like the other alternative notations.
171 (kill-new): Use push.
172 (copy-to-buffer): Use with-current-buffer.
173 (completion-setup-function): Simplify.
174 (minibuffer-local-must-match-map): Don't add redundant bindings which
175 are already present in its parent (minibuffer-local-completion-map).
176
177 * savehist.el (savehist-coding-system): Revert to checking XEmacs.
178
1512005-10-19 Jay Belanger <belanger@truman.edu> 1792005-10-19 Jay Belanger <belanger@truman.edu>
152 180
153 * calc/calc-units.el (math-standard-units): Add units, adjust 181 * calc/calc-units.el (math-standard-units): Add units, adjust
@@ -167,6 +195,8 @@
167 195
1682005-10-18 Stefan Monnier <monnier@iro.umontreal.ca> 1962005-10-18 Stefan Monnier <monnier@iro.umontreal.ca>
169 197
198 * savehist.el (savehist-load): Revert to checking XEmacs.
199
170 * textmodes/conf-mode.el: Don't use font-lock-defaults-alist. 200 * textmodes/conf-mode.el: Don't use font-lock-defaults-alist.
171 Various docstring and line-width fixups. 201 Various docstring and line-width fixups.
172 (conf-mode): Use cond. 202 (conf-mode): Use cond.
@@ -291,8 +321,7 @@
291 321
292 * progmodes/gdb-ui.el (gdb-var-create-handler): Make watch 322 * progmodes/gdb-ui.el (gdb-var-create-handler): Make watch
293 expressions display in speedbar for all buffers when debugging. 323 expressions display in speedbar for all buffers when debugging.
294 (gdb-speedbar-expand-node): Ensure node contraction is always 324 (gdb-speedbar-expand-node): Ensure node contraction is always updated.
295 updated.
296 325
297 * speedbar.el (speedbar-set-mode-line-format): Indent properly. 326 * speedbar.el (speedbar-set-mode-line-format): Indent properly.
298 (speedbar-insert-button, speedbar-make-button): 327 (speedbar-insert-button, speedbar-make-button):
@@ -416,7 +445,6 @@
416 * progmodes/pascal.el (pascal-complete-word) 445 * progmodes/pascal.el (pascal-complete-word)
417 (pascal-show-completions): Ditto. 446 (pascal-show-completions): Ditto.
418 447
419
420 * textmodes/bibtex.el (bibtex-complete-internal): Ditto. 448 * textmodes/bibtex.el (bibtex-complete-internal): Ditto.
421 449
422 * simple.el (completion-common-substring): New variable. 450 * simple.el (completion-common-substring): New variable.
diff --git a/lisp/ChangeLog.10 b/lisp/ChangeLog.10
index 6467fef4e72..51cda269238 100644
--- a/lisp/ChangeLog.10
+++ b/lisp/ChangeLog.10
@@ -14639,7 +14639,7 @@
14639 * font-lock.el (font-lock-defaults, font-lock-defaults-alist) 14639 * font-lock.el (font-lock-defaults, font-lock-defaults-alist)
14640 (font-lock-multiline, font-lock-fontified, font-lock-mode) 14640 (font-lock-multiline, font-lock-fontified, font-lock-mode)
14641 (turn-on-font-lock, font-lock-add-keywords, global-font-lock-mode) 14641 (turn-on-font-lock, font-lock-add-keywords, global-font-lock-mode)
14642 (font-lock-global-modes): Moved to font-core.el. 14642 (font-lock-global-modes): Move to font-core.el.
14643 (font-lock-set-defaults-1): Partially moved to font-core.el. 14643 (font-lock-set-defaults-1): Partially moved to font-core.el.
14644 14644
14645 * font-core.el: New file, with functions taken from font-lock.el. 14645 * font-core.el: New file, with functions taken from font-lock.el.
diff --git a/lisp/progmodes/sh-script.el b/lisp/progmodes/sh-script.el
index 6d4572a43f8..2c4543a72fc 100644
--- a/lisp/progmodes/sh-script.el
+++ b/lisp/progmodes/sh-script.el
@@ -997,6 +997,8 @@ Point is at the beginning of the next line."
997 ;; The list of special chars is taken from the single-unix spec 997 ;; The list of special chars is taken from the single-unix spec
998 ;; of the shell command language (under `quoting') but with `$' removed. 998 ;; of the shell command language (under `quoting') but with `$' removed.
999 `(("[^|&;<>()`\\\"' \t\n]\\(#+\\)" 1 ,sh-st-symbol) 999 `(("[^|&;<>()`\\\"' \t\n]\\(#+\\)" 1 ,sh-st-symbol)
1000 ;; Make sure $@ and @? are correctly recognized as sexps.
1001 ("\\$\\([?@]\\)" 1 ,sh-st-symbol)
1000 ;; Find HEREDOC starters and add a corresponding rule for the ender. 1002 ;; Find HEREDOC starters and add a corresponding rule for the ender.
1001 (sh-font-lock-here-doc 1003 (sh-font-lock-here-doc
1002 (2 (sh-font-lock-open-heredoc 1004 (2 (sh-font-lock-open-heredoc