]> git.eshelyaron.com Git - emacs.git/commitdiff
(sh-font-lock-syntactic-keywords): Make $@ and $? into sexps.
authorStefan Monnier <monnier@iro.umontreal.ca>
Fri, 21 Oct 2005 06:32:05 +0000 (06:32 +0000)
committerStefan Monnier <monnier@iro.umontreal.ca>
Fri, 21 Oct 2005 06:32:05 +0000 (06:32 +0000)
lisp/ChangeLog
lisp/ChangeLog.10
lisp/progmodes/sh-script.el

index 2959c69da423d17eb74123c9a4355fc868f7214e..c777941fbba8f2125f65950e77fbbd3d8b0c025b 100644 (file)
@@ -1,8 +1,19 @@
+2005-10-21  Stefan Monnier  <monnier@iro.umontreal.ca>
+
+       * progmodes/sh-script.el (sh-font-lock-syntactic-keywords): Make $@
+       and $? into sexps.
+
+       * font-lock.el (font-lock-compile-keywords): Add a help-echo to the
+       warning face on open-paren-in-column-0.
+
+       * emacs-lisp/syntax.el (syntax-ppss-flush-cache): Fix corner
+       boundary case.  Fix typo.
+       Suggested by Martin Rudalics <rudalics@gmx.at>.
+
 2005-10-21  Carsten Dominik  <dominik@science.uva.nl>
 
        * textmodes/org.el: (org-combined-agenda-icalendar-file)
-       (org-icalendar-include-todo, org-icalendar-combined-name): New
-       options.
+       (org-icalendar-include-todo, org-icalendar-combined-name): New options.
        (org-export-icalendar-this-file)
        (org-export-icalendar-all-agenda-files)
        (org-export-icalendar-combine-agenda-files): New commands.
@@ -12,8 +23,7 @@
        (org-read-date, org-goto-calendar)
        (org-agenda-goto-calendar): Inhibit displaying diary entries by
        call to `calendar'.
-       (orgtbl-setup): Removed the :keys arguments from the menu
-       description.
+       (orgtbl-setup): Remove the :keys arguments from the menu description.
        (org-after-save-iCalendar-file-hook): New variable.
 
 2005-10-21  Kenichi Handa  <handa@m17n.org>
        * net/ange-ftp.el (ange-ftp-date-regexp): Handle also the case no
        group id is given.
 
+2005-10-20  Stefan Monnier  <monnier@iro.umontreal.ca>
+
+       * progmodes/sh-script.el (sh-escaped-line-re): New var.
+       (sh-here-doc-open-re, sh-font-lock-close-heredoc): Use it.
+       (sh-font-lock-open-heredoc): Try to properly handle heredoc starters
+       whose line is either continued or ends with a comment.
+
 2005-10-20  Romain Francoise  <romain@orebokech.com>
 
        * net/rcirc.el (with-rcirc-process-buffer): Move above its first user.
 
 2005-10-20  Reiner Steib  <Reiner.Steib@gmx.de>
 
-       * textmodes/org.el (org-level-color-stars-only): Fix typo in doc
-       string.
+       * textmodes/org.el (org-level-color-stars-only): Fix typo in docstring.
 
 2005-10-20  Eli Zaretskii  <eliz@gnu.org>
 
-       * makefile.w32-in ($(lisp)/mh-e/mh-loaddefs.el): Bind
-       find-file-suppress-same-file-warnings to t, to avoid warnings due
+       * makefile.w32-in ($(lisp)/mh-e/mh-loaddefs.el):
+       Bind find-file-suppress-same-file-warnings to t, to avoid warnings due
        to different drive letter case in D:/foo/bar.el vs d:/foo/bar.el.
 
 2005-10-20  Kim F. Storm  <storm@cua.dk>
        (ido-make-file-list): Don't rotate list at tramp root to avoid
        triggering tramp file handler for expand-file-name via get-file-buffer.
 
+2005-10-19  Stefan Monnier  <monnier@iro.umontreal.ca>
+
+       * simple.el (eval-expression-print-format): Put the char-string
+       inside the parenthesis, like the other alternative notations.
+       (kill-new): Use push.
+       (copy-to-buffer): Use with-current-buffer.
+       (completion-setup-function): Simplify.
+       (minibuffer-local-must-match-map): Don't add redundant bindings which
+       are already present in its parent (minibuffer-local-completion-map).
+
+       * savehist.el (savehist-coding-system): Revert to checking XEmacs.
+
 2005-10-19  Jay Belanger  <belanger@truman.edu>
 
        * calc/calc-units.el (math-standard-units): Add units, adjust
 
 2005-10-18  Stefan Monnier  <monnier@iro.umontreal.ca>
 
+       * savehist.el (savehist-load): Revert to checking XEmacs.
+
        * textmodes/conf-mode.el: Don't use font-lock-defaults-alist.
        Various docstring and line-width fixups.
        (conf-mode): Use cond.
 
        * progmodes/gdb-ui.el (gdb-var-create-handler): Make watch
        expressions display in speedbar for all buffers when debugging.
-       (gdb-speedbar-expand-node): Ensure node contraction is always
-       updated.
+       (gdb-speedbar-expand-node): Ensure node contraction is always updated.
 
        * speedbar.el (speedbar-set-mode-line-format): Indent properly.
        (speedbar-insert-button, speedbar-make-button):
        * progmodes/pascal.el (pascal-complete-word)
        (pascal-show-completions): Ditto.
 
-
        * textmodes/bibtex.el (bibtex-complete-internal): Ditto.
 
        * simple.el (completion-common-substring): New variable.
index 6467fef4e723f9d10725da6c412aa0cd074ad6dd..51cda269238bf51a7bcf824be48e4e20b68e93c9 100644 (file)
        * font-lock.el (font-lock-defaults, font-lock-defaults-alist)
        (font-lock-multiline, font-lock-fontified, font-lock-mode)
        (turn-on-font-lock, font-lock-add-keywords, global-font-lock-mode)
-       (font-lock-global-modes): Moved to font-core.el.
+       (font-lock-global-modes): Move to font-core.el.
        (font-lock-set-defaults-1): Partially moved to font-core.el.
 
        * font-core.el: New file, with functions taken from font-lock.el.
index 6d4572a43f888651beda5b00cb448a8618cf841a..2c4543a72fc3542fb0a3be39ac54c0771b41d89f 100644 (file)
@@ -997,6 +997,8 @@ Point is at the beginning of the next line."
   ;; The list of special chars is taken from the single-unix spec
   ;; of the shell command language (under `quoting') but with `$' removed.
   `(("[^|&;<>()`\\\"' \t\n]\\(#+\\)" 1 ,sh-st-symbol)
+    ;; Make sure $@ and @? are correctly recognized as sexps.
+    ("\\$\\([?@]\\)" 1 ,sh-st-symbol)
     ;; Find HEREDOC starters and add a corresponding rule for the ender.
     (sh-font-lock-here-doc
      (2 (sh-font-lock-open-heredoc