aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorStefan Monnier2008-03-13 14:34:20 +0000
committerStefan Monnier2008-03-13 14:34:20 +0000
commit23ae1f25aa2070d7a3d0d28ca95897b2e4747baa (patch)
tree74f41fd530a8b0c103633b9e2498a3b9b0ce3929
parent03e49c06ad8ec061ccb0e79504ef5a39314cf362 (diff)
downloademacs-23ae1f25aa2070d7a3d0d28ca95897b2e4747baa.tar.gz
emacs-23ae1f25aa2070d7a3d0d28ca95897b2e4747baa.zip
(sh-font-lock-quoted-subshell): Fix handling of \ and '.
-rw-r--r--lisp/ChangeLog68
-rw-r--r--lisp/progmodes/sh-script.el4
2 files changed, 35 insertions, 37 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog
index 6d7ff65f0fc..7d3a16bde9b 100644
--- a/lisp/ChangeLog
+++ b/lisp/ChangeLog
@@ -1,7 +1,12 @@
12008-03-13 Stefan Monnier <monnier@iro.umontreal.ca>
2
3 * progmodes/sh-script.el (sh-font-lock-quoted-subshell): Fix handling
4 of \ and '.
5
12008-03-13 Johan Bockg$(Q)[(Brd <bojohan@gnu.org> 62008-03-13 Johan Bockg$(Q)[(Brd <bojohan@gnu.org>
2 7
3 * net/browse-url.el (browse-url-text-xterm): Unquote 8 * net/browse-url.el (browse-url-text-xterm):
4 browse-url-text-browser. 9 Unquote browse-url-text-browser.
5 10
62008-03-13 Carsten Dominik <dominik@science.uva.nl> 112008-03-13 Carsten Dominik <dominik@science.uva.nl>
7 12
@@ -9,15 +14,13 @@
9 14
10 * textmodes/org-publish.el: (org-publish-expand-components): 15 * textmodes/org-publish.el: (org-publish-expand-components):
11 Remove null projects from the list of components. 16 Remove null projects from the list of components.
12 (org-publish-attachment): Bugfix: handle the mandatory argument 17 (org-publish-attachment): Bugfix: handle mandatory argument pub-dir.
13 pub-dir. Removed unused retrieval of the :publishing-directory 18 Remove unused retrieval of the :publishing-directory property.
14 property.
15 (org-publish-file): Bugfix: when using a relative directory as the 19 (org-publish-file): Bugfix: when using a relative directory as the
16 publishing directory, convert it to a directory filename. 20 publishing directory, convert it to a directory filename.
17 (org-publish-project): New alias. 21 (org-publish-project): New alias.
18 (org-publish-get-files): Protect against empty p. 22 (org-publish-get-files): Protect against empty p.
19 (org-publish-file): Send an error when file is not part of any 23 (org-publish-file): Send an error when file is not part of any project.
20 project.
21 (org-publish-file): Offer to refresh the list of files in known 24 (org-publish-file): Offer to refresh the list of files in known
22 project when the current file is not part of any project. 25 project when the current file is not part of any project.
23 (org-publish-before-export-hook) 26 (org-publish-before-export-hook)
@@ -35,8 +38,8 @@
35 38
36 * textmodes/org.el (org-ctrl-c-star): Implement a missing branch 39 * textmodes/org.el (org-ctrl-c-star): Implement a missing branch
37 in the decision tree. 40 in the decision tree.
38 (org-select-remember-template): Cleaned the code. 41 (org-select-remember-template): Clean the code.
39 (org-prepare-dblock): Added the extra :content parameter. 42 (org-prepare-dblock): Add the extra :content parameter.
40 (org-write-agenda): New output type ".ics" files. 43 (org-write-agenda): New output type ".ics" files.
41 (org-write-agenda): Call `org-icalendar-verify-function', both for 44 (org-write-agenda): Call `org-icalendar-verify-function', both for
42 time stamps and for TODO entries. 45 time stamps and for TODO entries.
@@ -45,37 +48,35 @@
45 (org-agenda-marker-table): New variable. 48 (org-agenda-marker-table): New variable.
46 (org-export-as-html): Revert the change that killed the html 49 (org-export-as-html): Revert the change that killed the html
47 buffer. Side effects first need to be studied carefully. 50 buffer. Side effects first need to be studied carefully.
48 (org-get-tags-at): Fix the structure of the condition-case 51 (org-get-tags-at): Fix the structure of the condition-case statement.
49 statement.
50 (org-ts-regexp0, org-repeat-re, org-display-custom-time) 52 (org-ts-regexp0, org-repeat-re, org-display-custom-time)
51 (org-timestamp-change): Fix regulear expressions to swallow the 53 (org-timestamp-change): Fix regulear expressions to swallow the
52 extra character for repeat-shift control. 54 extra character for repeat-shift control.
53 (org-auto-repeat-maybe): Implement the new repeater mechanisms. 55 (org-auto-repeat-maybe): Implement the new repeater mechanisms.
54 (org-get-legal-level): Aliased to `org-get-valid-level'. 56 (org-get-legal-level): Alias to `org-get-valid-level'.
55 (org-dblock-write:clocktable): Added a :link parameter, linking 57 (org-dblock-write:clocktable): Add a :link parameter, linking
56 headlines to their location in the Org agenda files. 58 headlines to their location in the Org agenda files.
57 (org-get-tags-at): Bugfix: prevent `org-back-to-heading' from 59 (org-get-tags-at): Bugfix: prevent `org-back-to-heading' from
58 throwing an error when getting tags before headlines. 60 throwing an error when getting tags before headlines.
59 (org-timestamp-change, org-modify-ts-extra) 61 (org-timestamp-change, org-modify-ts-extra)
60 (org-ts-regexp1): Fix timestamp editing. 62 (org-ts-regexp1): Fix timestamp editing.
61 (org-agenda-custom-commands-local-options): New constant. 63 (org-agenda-custom-commands-local-options): New constant.
62 (org-agenda-custom-commands): Use 64 (org-agenda-custom-commands):
63 `org-agenda-custom-commands-local-options' to improve customize 65 Use `org-agenda-custom-commands-local-options' to improve customize
64 type. "htmlize": Removed hack to fix face problem with htmlize, 66 type. "htmlize": Removed hack to fix face problem with htmlize,
65 it no longer seem necessary. 67 it no longer seem necessary.
66 (org-follow-link-hook): New hook. 68 (org-follow-link-hook): New hook.
67 (org-agenda-custom-commands): Added "Component" as a tag for each 69 (org-agenda-custom-commands): Add "Component" as a tag for each
68 item in a command serie. 70 item in a command serie.
69 (org-open-at-point): Run `org-follow-link-hook'. 71 (org-open-at-point): Run `org-follow-link-hook'.
70 (org-agenda-schedule): Bugfix: don't display marker type when it 72 (org-agenda-schedule): Bugfix: don't display marker type when it
71 is `nil'. 73 is nil.
72 (org-store-link): org-irc required. 74 (org-store-link): org-irc required.
73 (org-set-regexps-and-options): Parse the new logging options. 75 (org-set-regexps-and-options): Parse the new logging options.
74 (org-extract-log-state-settings): New function. 76 (org-extract-log-state-settings): New function.
75 (org-todo): Handle the new ways of recording state change stuff. 77 (org-todo): Handle the new ways of recording state change stuff.
76 (org-local-logging): New function. 78 (org-local-logging): New function.
77 (org-columns-open-link): Fixed bug with opening link in column 79 (org-columns-open-link): Fix bug with opening link in column view.
78 view.
79 (org-local-logging): New function 80 (org-local-logging): New function
80 (org-todo): Make sure that LOGGING properties are honoured. 81 (org-todo): Make sure that LOGGING properties are honoured.
81 (org-todo-keywords): Improve docstring. 82 (org-todo-keywords): Improve docstring.
@@ -87,8 +88,8 @@
87 should be done and also overrides PURPOSE. Add a docstring. 88 should be done and also overrides PURPOSE. Add a docstring.
88 (org-add-log-note): Check if we really need to ask for a note. 89 (org-add-log-note): Check if we really need to ask for a note.
89 (org-get-current-options): Digest the new keyword. 90 (org-get-current-options): Digest the new keyword.
90 (org-agenda-reset-markers): Renamed from 91 (org-agenda-reset-markers): Rename from
91 `org-agenda-maybe-reset-markers'. FORCE argument removed. 92 `org-agenda-maybe-reset-markers'. Remove FORCE argument.
92 (org-diary, org-agenda-quit, org-prepare-agenda): Call the renamed 93 (org-diary, org-agenda-quit, org-prepare-agenda): Call the renamed
93 function, without force argument. 94 function, without force argument.
94 (org-buffer-property-keys): Bind local variables s and p. 95 (org-buffer-property-keys): Bind local variables s and p.
@@ -110,10 +111,8 @@
110 (org-cleaned-string-for-export): Get rid of drawers first, so that 111 (org-cleaned-string-for-export): Get rid of drawers first, so that
111 they will be removed also in the text before the first headline. 112 they will be removed also in the text before the first headline.
112 (org-clock-report): Show the clocktable when found. 113 (org-clock-report): Show the clocktable when found.
113 (org-refile): Fix positioning bug when `org-reverse-note-order' is 114 (org-refile): Fix positioning bug when `org-reverse-note-order' is nil.
114 nil. 115 (org-version): With prefix argument, insert `org-version' at point.
115 (org-version): With prefix argument, insert `org-version' at
116 point.
117 (org-agenda-goto): Recenter the window after finding the target 116 (org-agenda-goto): Recenter the window after finding the target
118 location, to make sure the correct position will be displayed. 117 location, to make sure the correct position will be displayed.
119 (org-agenda-get-deadlines): Don't scale priority with the warning 118 (org-agenda-get-deadlines): Don't scale priority with the warning
@@ -121,16 +120,16 @@
121 (org-insert-heading): Don't break line in the middle of the line. 120 (org-insert-heading): Don't break line in the middle of the line.
122 (org-agenda-get-deadlines): Allow `org-deadline-warning-days' to 121 (org-agenda-get-deadlines): Allow `org-deadline-warning-days' to
123 be 0. 122 be 0.
124 (org-update-checkbox-count): Revamped to deal with hierarchical 123 (org-update-checkbox-count): Revamp to deal with hierarchical
125 beckboxes. This was a patch from Miguel A. Figueroa-Villanueva. 124 beckboxes. This was a patch from Miguel A. Figueroa-Villanueva.
126 (org-remove-timestamp-with-keyword): New function. 125 (org-remove-timestamp-with-keyword): New function.
127 (org-schedule, org-deadline): Use 126 (org-schedule, org-deadline):
128 `org-remove-timestamp-with-keyword' to make sure all such time 127 Use `org-remove-timestamp-with-keyword' to make sure all such time
129 stamps are removed. 128 stamps are removed.
130 (org-mode): Support for `align'. 129 (org-mode): Support for `align'.
131 (org-agenda-get-deadlines): Make sure priorities increase as the 130 (org-agenda-get-deadlines): Make sure priorities increase as the
132 due date approaches and is passed. 131 due date approaches and is passed.
133 (org-remember-apply-template): Fixed problem with tags that 132 (org-remember-apply-template): Fix problem with tags that
134 contain "_" or "@". 133 contain "_" or "@".
135 (org-make-link-regexps): Improve the regular expression for plain 134 (org-make-link-regexps): Improve the regular expression for plain
136 links. 135 links.
@@ -138,7 +137,7 @@
138 (org-set-tags): Only tabify before tags if indent-tabs-mode is t. 137 (org-set-tags): Only tabify before tags if indent-tabs-mode is t.
139 (org-special-ctrl-k): New option. 138 (org-special-ctrl-k): New option.
140 (org-kill-line): New function. 139 (org-kill-line): New function.
141 (org-archive-all-done): Fixed incorrect number of stars in regexp. 140 (org-archive-all-done): Fix incorrect number of stars in regexp.
142 (org-refile-get-location): New function. 141 (org-refile-get-location): New function.
143 (org-refile-goto-last-stored): New function. 142 (org-refile-goto-last-stored): New function.
144 (org-global-tags-completion-table): Add the value of org-tag-alist 143 (org-global-tags-completion-table): Add the value of org-tag-alist
@@ -156,7 +155,6 @@
156 (org-goto-local-search-forward-headings) 155 (org-goto-local-search-forward-headings)
157 (org-goto-local-auto-isearch): New functions 156 (org-goto-local-auto-isearch): New functions
158 157
159
1602008-03-13 Dan Nicolaescu <dann@ics.uci.edu> 1582008-03-13 Dan Nicolaescu <dann@ics.uci.edu>
161 159
162 * font-lock.el (font-lock-comment-face): Set the foreground for 160 * font-lock.el (font-lock-comment-face): Set the foreground for
@@ -171,8 +169,8 @@
171 169
172 * Makefile.in ($(lisp)/loaddefs.el): Remove this target. 170 * Makefile.in ($(lisp)/loaddefs.el): Remove this target.
173 (MH_E_SRC): Remove variable. 171 (MH_E_SRC): Remove variable.
174 ($(lisp)/mh-e/mh-loaddefs.el): Remove $MH_E_SRC dependency. Simplify 172 ($(lisp)/mh-e/mh-loaddefs.el): Remove $MH_E_SRC dependency.
175 file header. Use $@ for generated-autoload-file. 173 Simplify file header. Use $@ for generated-autoload-file.
176 174
177 * Makefile.in (LOADDEFS): New variable. 175 * Makefile.in (LOADDEFS): New variable.
178 (AUTOGENEL): Use $LOADDEFS. 176 (AUTOGENEL): Use $LOADDEFS.
@@ -198,8 +196,8 @@
198 (generate-calendar-window): Use calendar-mark-holidays rather than 196 (generate-calendar-window): Use calendar-mark-holidays rather than
199 obsolete alias. 197 obsolete alias.
200 198
201 * calendar/cal-hebrew.el (list-yahrzeit-dates): Use 199 * calendar/cal-hebrew.el (list-yahrzeit-dates):
202 cal-hebrew-yahrzeit-buffer. 200 Use cal-hebrew-yahrzeit-buffer.
203 201
204 * calendar/cal-x.el (calendar-only-one-frame-setup) 202 * calendar/cal-x.el (calendar-only-one-frame-setup)
205 (calendar-two-frame-setup): Doc fixes. 203 (calendar-two-frame-setup): Doc fixes.
diff --git a/lisp/progmodes/sh-script.el b/lisp/progmodes/sh-script.el
index 90b2fda36e2..1fae4ef98c7 100644
--- a/lisp/progmodes/sh-script.el
+++ b/lisp/progmodes/sh-script.el
@@ -1001,11 +1001,11 @@ subshells can nest."
1001 (state (if (eq (char-before) ?`) 'backquote 'code)) 1001 (state (if (eq (char-before) ?`) 'backquote 'code))
1002 ;; Stacked states in the context. 1002 ;; Stacked states in the context.
1003 (states '(double-quote))) 1003 (states '(double-quote)))
1004 (while (and state (progn (skip-chars-forward "^'\\\"`$()" limit) 1004 (while (and state (progn (skip-chars-forward "^'\\\\\"`$()" limit)
1005 (< (point) limit))) 1005 (< (point) limit)))
1006 ;; unescape " inside a $( ... ) construct. 1006 ;; unescape " inside a $( ... ) construct.
1007 (case (char-after) 1007 (case (char-after)
1008 (?\' (skip-chars-forward "^'" limit)) 1008 (?\' (forward-char 1) (skip-chars-forward "^'" limit))
1009 (?\\ (forward-char 1)) 1009 (?\\ (forward-char 1))
1010 (?\" (case state 1010 (?\" (case state
1011 (double-quote (setq state (pop states))) 1011 (double-quote (setq state (pop states)))