[AUCTeX-commit] auctex ChangeLog

2008-07-19 Thread Ralf Angeli
CVSROOT:/cvsroot/auctex
Module name:auctex
Changes by: Ralf Angeli 08/07/19 20:54:58

Modified files:
.  : ChangeLog 

Log message:
*** empty log message ***

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/auctex/ChangeLog?cvsroot=auctex&r1=5.1608&r2=5.1609


___
auctex-commit mailing list
[EMAIL PROTECTED]
http://lists.gnu.org/mailman/listinfo/auctex-commit


[AUCTeX-diffs] Changes to auctex/ChangeLog,v

2008-07-19 Thread Ralf Angeli
CVSROOT:/cvsroot/auctex
Module name:auctex
Changes by: Ralf Angeli 08/07/19 20:54:58

Index: ChangeLog
===
RCS file: /cvsroot/auctex/auctex/ChangeLog,v
retrieving revision 5.1608
retrieving revision 5.1609
diff -u -b -r5.1608 -r5.1609
--- ChangeLog   19 Jul 2008 17:09:45 -  5.1608
+++ ChangeLog   19 Jul 2008 20:54:58 -  5.1609
@@ -1,5 +1,8 @@
 2008-07-19  Ralf Angeli  <[EMAIL PROTECTED]>
 
+   * tex.el (TeX-source-correlate-determine-method): Do not error out
+   if calling the engine fails.
+
* latex.el (LaTeX-mark-environment): Keep point upon unsuccessful
search.
 


___
auctex-diffs mailing list
[EMAIL PROTECTED]
http://lists.gnu.org/mailman/listinfo/auctex-diffs


[AUCTeX-commit] auctex tex.el

2008-07-19 Thread Ralf Angeli
CVSROOT:/cvsroot/auctex
Module name:auctex
Changes by: Ralf Angeli 08/07/19 20:54:28

Modified files:
.  : tex.el 

Log message:
(TeX-source-correlate-determine-method): Do not error out
if calling the engine fails.

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/auctex/tex.el?cvsroot=auctex&r1=5.623&r2=5.624


___
auctex-commit mailing list
[EMAIL PROTECTED]
http://lists.gnu.org/mailman/listinfo/auctex-commit


[AUCTeX-diffs] Changes to auctex/tex.el,v

2008-07-19 Thread Ralf Angeli
CVSROOT:/cvsroot/auctex
Module name:auctex
Changes by: Ralf Angeli 08/07/19 20:54:28

Index: tex.el
===
RCS file: /cvsroot/auctex/auctex/tex.el,v
retrieving revision 5.623
retrieving revision 5.624
diff -u -b -r5.623 -r5.624
--- tex.el  14 Jul 2008 20:31:25 -  5.623
+++ tex.el  19 Jul 2008 20:54:27 -  5.624
@@ -1008,9 +1008,11 @@
 
 (defun TeX-source-correlate-determine-method ()
   "Determine which method is available for forward and inverse search."
-  (let ((help (with-output-to-string
+  (let ((help (condition-case nil
+ (with-output-to-string
(call-process "latex" nil (list standard-output nil) nil
- "--help"
+ "--help"))
+   (error ""
 (if (string-match "^-synctex" help)
'synctex
   'source-specials)))


___
auctex-diffs mailing list
[EMAIL PROTECTED]
http://lists.gnu.org/mailman/listinfo/auctex-diffs


[AUCTeX-commit] auctex ChangeLog

2008-07-19 Thread Ralf Angeli
CVSROOT:/cvsroot/auctex
Module name:auctex
Changes by: Ralf Angeli 08/07/19 17:09:45

Modified files:
.  : ChangeLog 

Log message:
*** empty log message ***

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/auctex/ChangeLog?cvsroot=auctex&r1=5.1607&r2=5.1608


___
auctex-commit mailing list
[EMAIL PROTECTED]
http://lists.gnu.org/mailman/listinfo/auctex-commit


[AUCTeX-diffs] Changes to auctex/ChangeLog,v

2008-07-19 Thread Ralf Angeli
CVSROOT:/cvsroot/auctex
Module name:auctex
Changes by: Ralf Angeli 08/07/19 17:09:45

Index: ChangeLog
===
RCS file: /cvsroot/auctex/auctex/ChangeLog,v
retrieving revision 5.1607
retrieving revision 5.1608
diff -u -b -r5.1607 -r5.1608
--- ChangeLog   19 Jul 2008 16:29:53 -  5.1607
+++ ChangeLog   19 Jul 2008 17:09:45 -  5.1608
@@ -1,4 +1,9 @@
-2008-07-19  Vincent Belaïche  <[EMAIL PROTECTED]>
+2008-07-19  Ralf Angeli  <[EMAIL PROTECTED]>
+
+   * latex.el (LaTeX-mark-environment): Keep point upon unsuccessful
+   search.
+
+2008-07-19  Vincent Belaïche  <[EMAIL PROTECTED]>  (tiny change)
 
* latex.el (LaTeX-mark-environment): Support marking of multiple
nested environments.


___
auctex-diffs mailing list
[EMAIL PROTECTED]
http://lists.gnu.org/mailman/listinfo/auctex-diffs


[AUCTeX-diffs] Changes to auctex/latex.el,v

2008-07-19 Thread Ralf Angeli
CVSROOT:/cvsroot/auctex
Module name:auctex
Changes by: Ralf Angeli 08/07/19 17:09:13

Index: latex.el
===
RCS file: /cvsroot/auctex/auctex/latex.el,v
retrieving revision 5.446
retrieving revision 5.447
diff -u -b -r5.446 -r5.447
--- latex.el19 Jul 2008 16:29:27 -  5.446
+++ latex.el19 Jul 2008 17:09:13 -  5.447
@@ -3346,22 +3346,23 @@
 
 (defun LaTeX-mark-environment (&optional count)
   "Set mark to end of current environment and point to the matching begin.
-If passed a prefix argument COUNT, mark the outer environnment by COUNT levels.
-Example: if point is --!-- and COUNT=2, env1 is the marked environment.
-
-\\begin{env1} \\begin{env2} --!-- \\begin{env2} \\begin{env1}
-
-Will not work properly if there are unbalanced begin-end pairs in
-comments and verbatim environments"
+If prefix argument COUNT is given, mark the respective number of
+enclosing environments.  The command will not work properly if
+there are unbalanced begin-end pairs in comments and verbatim
+environments."
   (interactive "p")
-  (unless count (seq count 1))
-  (let ( (cur (point)))
-(unless (> count 0) (error "invalid prefix arg, expects a positive 
number"))
+  (setq count (if count (abs count) 1))
+  (let ((cur (point)) beg end)
+;; Only change point and mark after beginning and end were found.
+;; Point should not end up in the middle of nowhere if the search fails.
+(save-excursion
 (dotimes (c count) (LaTeX-find-matching-end))
-(beginning-of-line 2)
-(set-mark (point))
+  (setq beg (line-beginning-position 2))
 (goto-char cur)
 (dotimes (c count) (LaTeX-find-matching-begin))
+  (setq end (point)))
+(set-mark end)
+(goto-char beg)
 (TeX-activate-region)))
 
 (defun LaTeX-fill-environment (justify)


___
auctex-diffs mailing list
[EMAIL PROTECTED]
http://lists.gnu.org/mailman/listinfo/auctex-diffs


[AUCTeX-commit] auctex latex.el

2008-07-19 Thread Ralf Angeli
CVSROOT:/cvsroot/auctex
Module name:auctex
Changes by: Ralf Angeli 08/07/19 17:09:13

Modified files:
.  : latex.el 

Log message:
(LaTeX-mark-environment): Keep point upon unsuccessful
search.

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/auctex/latex.el?cvsroot=auctex&r1=5.446&r2=5.447


___
auctex-commit mailing list
[EMAIL PROTECTED]
http://lists.gnu.org/mailman/listinfo/auctex-commit


[AUCTeX-diffs] Changes to auctex/ChangeLog,v

2008-07-19 Thread Ralf Angeli
CVSROOT:/cvsroot/auctex
Module name:auctex
Changes by: Ralf Angeli 08/07/19 16:29:54

Index: ChangeLog
===
RCS file: /cvsroot/auctex/auctex/ChangeLog,v
retrieving revision 5.1606
retrieving revision 5.1607
diff -u -b -r5.1606 -r5.1607
--- ChangeLog   17 Jul 2008 18:21:59 -  5.1606
+++ ChangeLog   19 Jul 2008 16:29:53 -  5.1607
@@ -1,3 +1,8 @@
+2008-07-19  Vincent Belaïche  <[EMAIL PROTECTED]>
+
+   * latex.el (LaTeX-mark-environment): Support marking of multiple
+   nested environments.
+
 2008-07-17  Ralf Angeli  <[EMAIL PROTECTED]>
 
* latex.el (LaTeX-paragraph-commands-regexp-make): Take


___
auctex-diffs mailing list
[EMAIL PROTECTED]
http://lists.gnu.org/mailman/listinfo/auctex-diffs


[AUCTeX-commit] auctex ChangeLog

2008-07-19 Thread Ralf Angeli
CVSROOT:/cvsroot/auctex
Module name:auctex
Changes by: Ralf Angeli 08/07/19 16:29:54

Modified files:
.  : ChangeLog 

Log message:
*** empty log message ***

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/auctex/ChangeLog?cvsroot=auctex&r1=5.1606&r2=5.1607


___
auctex-commit mailing list
[EMAIL PROTECTED]
http://lists.gnu.org/mailman/listinfo/auctex-commit


[AUCTeX-diffs] Changes to auctex/latex.el,v

2008-07-19 Thread Ralf Angeli
CVSROOT:/cvsroot/auctex
Module name:auctex
Changes by: Ralf Angeli 08/07/19 16:29:28

Index: latex.el
===
RCS file: /cvsroot/auctex/auctex/latex.el,v
retrieving revision 5.445
retrieving revision 5.446
diff -u -b -r5.445 -r5.446
--- latex.el17 Jul 2008 18:21:32 -  5.445
+++ latex.el19 Jul 2008 16:29:27 -  5.446
@@ -3344,17 +3344,24 @@
 (or (= level 0)
(error "Can't locate beginning of current environment"
 
-(defun LaTeX-mark-environment ()
+(defun LaTeX-mark-environment (&optional count)
   "Set mark to end of current environment and point to the matching begin.
+If passed a prefix argument COUNT, mark the outer environnment by COUNT levels.
+Example: if point is --!-- and COUNT=2, env1 is the marked environment.
+
+\\begin{env1} \\begin{env2} --!-- \\begin{env2} \\begin{env1}
+
 Will not work properly if there are unbalanced begin-end pairs in
 comments and verbatim environments"
-  (interactive)
-  (let ((cur (point)))
-(LaTeX-find-matching-end)
+  (interactive "p")
+  (unless count (seq count 1))
+  (let ( (cur (point)))
+(unless (> count 0) (error "invalid prefix arg, expects a positive 
number"))
+(dotimes (c count) (LaTeX-find-matching-end))
 (beginning-of-line 2)
 (set-mark (point))
 (goto-char cur)
-(LaTeX-find-matching-begin)
+(dotimes (c count) (LaTeX-find-matching-begin))
 (TeX-activate-region)))
 
 (defun LaTeX-fill-environment (justify)


___
auctex-diffs mailing list
[EMAIL PROTECTED]
http://lists.gnu.org/mailman/listinfo/auctex-diffs


[AUCTeX-commit] auctex latex.el

2008-07-19 Thread Ralf Angeli
CVSROOT:/cvsroot/auctex
Module name:auctex
Changes by: Ralf Angeli 08/07/19 16:29:28

Modified files:
.  : latex.el 

Log message:
(LaTeX-mark-environment): Support marking of multiple nested
environments.

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/auctex/latex.el?cvsroot=auctex&r1=5.445&r2=5.446


___
auctex-commit mailing list
[EMAIL PROTECTED]
http://lists.gnu.org/mailman/listinfo/auctex-commit


Re: [AUCTeX-devel] auctex 11.84 submitted in the CVS tree, *no* branch needed

2008-07-19 Thread Ralf Angeli
* Uwe Brauer (2008-07-18) writes:

> I committed  the new version right now into CVS.

Is there a reason you didn't use 11.85?  11.84 is already over one and a
half years old.  And especially with respect to XEmacs, font locking has
improved significantly in 11.85.

-- 
Ralf


___
auctex-devel mailing list
auctex-devel@gnu.org
http://lists.gnu.org/mailman/listinfo/auctex-devel