This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "GNU AUCTeX".

The branch, master has been updated
       via  0071c4d8cb734b2c64ef300df2a816d89557b409 (commit)
      from  2eea3026339a151c478ad5b06cbda45e18d00edf (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit 0071c4d8cb734b2c64ef300df2a816d89557b409
Author: Tassilo Horn <[email protected]>
Date:   Wed Dec 18 14:49:34 2013 +0100

    Handle package messages with parenthesized text.
    
    * tex-buf.el (TeX-parse-error): Don't confuse ) in package
    messages with EOF.

diff --git a/ChangeLog b/ChangeLog
index 786dcad..771fb6a 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2013-12-18  Tassilo Horn  <[email protected]>
+
+       * tex-buf.el (TeX-parse-error): Don't confuse ) in package
+       messages with EOF.
+
 2013-12-01  Tassilo Horn  <[email protected]>
 
        * latex.el (LaTeX-common-initialization): Move disabling of
diff --git a/tex-buf.el b/tex-buf.el
index efc19b5..e6a3249 100644
--- a/tex-buf.el
+++ b/tex-buf.el
@@ -1489,8 +1489,9 @@ You might want to examine and modify the free variables 
`file',
 \\(?:[\\/]+\\(?:\\.+[^()\r\n{} \\/]*\\|[^()\r\n{} .\\/]+\
 \\(?: [^()\r\n{} .\\/]+\\)*\\(?:\\.[-0-9a-zA-Z_.]*\\)?\\)?\\)*\\)\
 )*\\(?: \\|\r?$\\)\\|"
-         ;; End of file
-         "\\()\\))*\\|"
+         ;; End of file.  The [^:] skips package messages like:
+         ;; Package hyperref Message: Driver (autodetected): hpdftex.
+         "\\()\\)[^:]\\|"
          ;; Hook to change line numbers
          " !\\(?:offset(\\([---0-9]+\\))\\|"
          ;; Hook to change file name

-----------------------------------------------------------------------

Summary of changes:
 ChangeLog  |    5 +++++
 tex-buf.el |    5 +++--
 2 files changed, 8 insertions(+), 2 deletions(-)


hooks/post-receive
-- 
GNU AUCTeX

_______________________________________________
auctex-diffs mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/auctex-diffs

Reply via email to