Re: [AUCTeX-devel] problem with formatting and marking in auctex 11.88

2015-06-02 Thread Mosè Giordano
Hi Artemio,

2015-06-03 0:38 GMT+02:00 Artemio González López artem...@mac.com:
 After installing auctex 11.88 on my Mac (running OS X 10.10.4) I am having a 
 problem with the “LaTex Formatting and Marking” command. Namely, when I 
 choose LaTex Formatting and Marking - Environment or Section I get the error 
 TeX-activate-region: Symbol's function definition is void: activate-mark”. 
 The command works with “Region”, and it used to work flawlessly with the 
 previous version of auctex. Is this a known bug?

I can't reproduce the bug you reported.  Could you please provide a
more detailed recipe?  Are you sure there is nothing in your init file
causing this problem?  `activate-mark' is a function defined in
simple.el, it should be known even to emacs -Q.  Which version of
Emacs are you running?

Bye,
Mosè

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


[AUCTeX-diffs] GNU AUCTeX branch, master, updated. 0b857132d00afaa45737069bee3c9c1ddca2eacc

2015-06-02 Thread Tassilo Horn
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  0b857132d00afaa45737069bee3c9c1ddca2eacc (commit)
  from  b1e4d46fce02ded77c5091b641fe370ee9d5cf61 (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 0b857132d00afaa45737069bee3c9c1ddca2eacc
Author: Arash Esbati esb...@gmx.de
Date:   Tue Jun 2 13:24:38 2015 +0200

Query for optional env arg

* latex.el (LaTeX-auto-cleanup): Prepare so that an optional
environment arg is also queried.

Signed-off-by: Tassilo Horn t...@gnu.org

diff --git a/ChangeLog b/ChangeLog
index 3d570c6..4a0d590 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2015-06-02  Arash Esbati  esb...@gmx.de
+
+   * latex.el (LaTeX-auto-cleanup): Prepare so that an optional
+   environment arg is also queried.
+
 2015-06-01  Tassilo Horn  t...@gnu.org
 
* latex.el (LaTeX-auto-env-args-with-opt): New variable for
diff --git a/latex.el b/latex.el
index b869c5e..22aab5e 100644
--- a/latex.el
+++ b/latex.el
@@ -1691,10 +1691,10 @@ The value is actually the tail of the list of options 
given to PACKAGE.
   (list (nth 0 entry)
 (string-to-number (nth 1 entry)
LaTeX-auto-env-args)
-  ;; Ditto for environments with optional args
+  ;; Ditto for environments with an optional arg
   (mapc (lambda (entry)
  (add-to-list 'LaTeX-auto-environment
-  (list (nth 0 entry)
+  (list (nth 0 entry) 'LaTeX-env-args (vector argument)
 (1- (string-to-number (nth 1 entry))
LaTeX-auto-env-args-with-opt)
 

---

Summary of changes:
 ChangeLog |5 +
 latex.el  |4 ++--
 2 files changed, 7 insertions(+), 2 deletions(-)


hooks/post-receive
-- 
GNU AUCTeX

___
auctex-diffs mailing list
auctex-di...@gnu.org
https://lists.gnu.org/mailman/listinfo/auctex-diffs


[AUCTeX-diffs] GNU AUCTeX branch, simplify-TeX-parse-error, updated. 47d589c556ad3002526303daaf923611bed0cd8b

2015-06-02 Thread Tassilo Horn
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, simplify-TeX-parse-error has been updated
   via  47d589c556ad3002526303daaf923611bed0cd8b (commit)
   via  0b857132d00afaa45737069bee3c9c1ddca2eacc (commit)
  from  f3f2e0d3a283ae1e1e714c79cfb24aa2230e7a5c (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 47d589c556ad3002526303daaf923611bed0cd8b
Merge: f3f2e0d 0b85713
Author: Tassilo Horn t...@gnu.org
Date:   Tue Jun 2 13:25:33 2015 +0200

Merge branch 'master' into simplify-TeX-parse-error


---

Summary of changes:
 ChangeLog |5 +
 latex.el  |4 ++--
 2 files changed, 7 insertions(+), 2 deletions(-)


hooks/post-receive
-- 
GNU AUCTeX

___
auctex-diffs mailing list
auctex-di...@gnu.org
https://lists.gnu.org/mailman/listinfo/auctex-diffs


Re: [AUCTeX-devel] [PATCH 1/3] Parse env's defined with `\lstnewenvironment'.

2015-06-02 Thread Tassilo Horn
Arash Esbati esb...@gmx.de writes:

 Thanks for your response.  I saw your patch in git and may I suggest
 to extend it to:

   ;; Ditto for environments with optional args
   (mapc (lambda (entry)
 (add-to-list 'LaTeX-auto-environment
  (list (nth 0 entry) 'LaTeX-env-args (vector argument)
(1- (string-to-number (nth 1 entry))
   LaTeX-auto-env-args-with-opt)

 The definition above then results in

 (colorenv LaTeX-env-args [argument] 1)

 in (LaTeX-environment-list) and AUCTeX asks for the optional argument
 while inserting the environment.

Committed.

Bye,
Tassilo


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