Mosè Giordano | 21 May 2013 15:36
Picon
Favicon

Silencing some compilation warning

Hi all,

I'm sending a patch to silence some compilation warning in Emacs 24.3.
 Changes are about delete-backward-char → delete-char, and goto-line →
goto-char + forward-line.  Are there other suggestions?  If no, I'll
commit this patch in the next few days.

Bye,
Mosè
Attachment (compile-warning.patch): application/octet-stream, 5067 bytes
_______________________________________________
auctex-devel mailing list
auctex-devel <at> gnu.org
https://lists.gnu.org/mailman/listinfo/auctex-devel
Rüdiger Sonderfeld | 15 May 2013 20:10
Picon
Favicon
Gravatar

[PATCH 3/3] RefTeX: Fix reftex-ref-style-toggle not properly deactivating.

See documentation of `delete':

    Write `(setq foo (delete element foo))' to be sure of correctly
    changing the value of a sequence `foo'.

* lisp/textmodes/reftex.el (reftex-ref-style-toggle): Fix deactivate
  action.

Signed-off-by: Rüdiger Sonderfeld <ruediger <at> c-plusplus.de>
---
 lisp/textmodes/reftex.el | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lisp/textmodes/reftex.el b/lisp/textmodes/reftex.el
index 21083fd..7fed4d0 100644
--- a/lisp/textmodes/reftex.el
+++ b/lisp/textmodes/reftex.el
 <at>  <at>  -547,7 +547,7  <at>  <at>  will deactivate it."
 	     (when (member style list)
 	       (setq reftex-tables-dirty t
 		     changed t)
-	       (delete style list)))
+	       (setq list (delete style list))))
 	    (t
 	     (if (member style list)
 		 (delete style list)
--

-- 
1.8.2.3

_______________________________________________
(Continue reading)

Benjamin Slade | 14 May 2013 23:38
Favicon
Gravatar

Error running timer `font-latex-jit-lock-force-redisplay': (wrong-number-of-arguments (2 . 2) 3)

I've started getting this message when editing .tex documents. I updated
to the latest cvs build, but I still get the same error message.  

--

-- 
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
pgp fingerprint: 21BA 2AE1 28F6 DF36 110A 0E9C A320 BBE8 2B52 EE19
{sent by mu4e on Emacs running under GNU/Linux}
Mosè Giordano | 8 May 2013 17:42
Picon
Favicon

Document template

Hi all,

I'm sending a patch for adding document template support to AUCTeX.
They can be inserted calling `LaTeX-environment' with a prefix
argument and choosing "document" as environment (I don't think it's
common changing an environment to "document").  Any comments?
Improvements to templates are welcome.

Bye,
Mosè
Attachment (document-template.patch): application/octet-stream, 4096 bytes
_______________________________________________
auctex-devel mailing list
auctex-devel <at> gnu.org
https://lists.gnu.org/mailman/listinfo/auctex-devel
Mosè Giordano | 25 Apr 2013 14:31
Picon
Favicon

Wrap dollars around active region

Hi all,

I'm sending a patch to wrap dollars around active region typing `$'.
This is controlled by a new customizable variable, the default
behavior isn't changed, but I had to remove the line
  (put 'TeX-insert-dollar 'delete-selection t)
from the end of `tex.el'.  Any comments?

Bye,
Mosè
Attachment (tex-electric-dollar.patch): application/octet-stream, 2929 bytes
_______________________________________________
auctex-devel mailing list
auctex-devel <at> gnu.org
https://lists.gnu.org/mailman/listinfo/auctex-devel
Mads Jensen | 20 Apr 2013 19:38
Favicon

Re: Change the default environment in some class styles

On 2013-04-20 18:00, giordano.mose <at> libero.it wrote:
> the default environment in AUCTeX is `itemize', but using some classes
> it can be useful to change its value to a  more often used
> environment.  For example, I suggest to set `frame' as default
> environment for the `beamer' class, `letter' for the `letter' class,
> and `slide' for the `slides' class.  Any comments?

I think this is a good idea :-) I don't have any items to add to your
list, though. What about `LaTeX-default-environment'? Some users may
have set this to equation, and don't want it changed.
--

-- 
Med Venlig Hilsen / Kind Regards,
Mads Jensen
Rubinsteinsvej 31,st.th
DK-2450 Kbh. SV
Denmark
+45 6168 8518
My brain is my second favorite organ.
      -- Woody Allen

_______________________________________________
auctex-devel mailing list
auctex-devel <at> gnu.org
https://lists.gnu.org/mailman/listinfo/auctex-devel
Mosè Giordano | 19 Apr 2013 19:15
Picon
Favicon

Change the default environment in some class styles

Hi all,

the default environment in AUCTeX is `itemize', but using some classes
it can be useful to change its value to a  more often used
environment.  For example, I suggest to set `frame' as default
environment for the `beamer' class, `letter' for the `letter' class,
and `slide' for the `slides' class.  Any comments?

Bye,
Mosè

_______________________________________________
auctex-devel mailing list
auctex-devel <at> gnu.org
https://lists.gnu.org/mailman/listinfo/auctex-devel
Mosè Giordano | 16 Apr 2013 16:24
Picon
Favicon

Use user-full-name as initial input to author macro

Hi all,

I'm sending a patch defining a new customizable variable (whose
default value is `user-full-name') to be used as initial input to
`\author' macro.  Any comments?

Some minutes ago I've documented some missing features in
`doc/auctex.texi', I hope it's OK.

Bye,
Mosè
_______________________________________________
auctex-devel mailing list
auctex-devel <at> gnu.org
https://lists.gnu.org/mailman/listinfo/auctex-devel
Mosè Giordano | 15 Apr 2013 16:53
Picon
Favicon

Bunch of patches

Hi all,

can I commit the attached patches?  Rationale of the fourth patch (the
longest one): I want a better unbinding of SPC when completing units
for siunitx package.  Currently, `LaTeX-arg-siunitx-unit' looks up for
SPC key binding, binds SPC to nil, and in the end restores previous
binding.  But, if one exits from minibuffer with C-g before finishing
insertion of units gets stuck with SPC unbound in minibuffer.  With
this patch keymap for minibuffer is let-bound, so exiting with C-g
won't change its previous value.

There are also other small commented changes.

Thank you, bye
Mosè
_______________________________________________
auctex-devel mailing list
auctex-devel <at> gnu.org
https://lists.gnu.org/mailman/listinfo/auctex-devel
Nicolas Richard | 10 Apr 2013 16:07
Picon
Favicon

defvar LaTeX-mathtools-key-val-options is wrong

Hello, 

in file style/mathtools.el, the docstring of
LaTeX-mathtools-key-val-options should be after the (default) value.
Here is a patch :


I found that by doing C-h d, and hitting an error (which btw I found hard to
debug -- my debug-fu requires improvement)

--

-- 
Nico.
_______________________________________________
auctex-devel mailing list
auctex-devel <at> gnu.org
https://lists.gnu.org/mailman/listinfo/auctex-devel
Julien Cubizolles | 8 Apr 2013 21:04
Picon
Favicon

indenting split long command lines

As far as I know, AucTeX doesn't deal with pstricks in tikz code in any
special way. Very often in this environments one needs very long
lines, and some kind of splitting/indenting would be useful. What I
would like is something like:

--8<---------------cut here---------------start------------->8---
\begin{tikzpicture}
   \draw (0,0) -- (1,1) -- (2,2) -- (3,3)
         -- (4,4) -- (5,5);
   \draw (0,1) circle [radius=1];
\end{tikzpicture}
--8<---------------cut here---------------end--------------->8---

To summarize: split long lines and add an indentation if not on a
semicolon otherwise keep indentation the same as the beginning of the
line.

At the moment I manually add a TAB (like in the second line of the
example) but I couldn't find a way to remove the indentation for the
third line. Is there a "go back one tab" command ?

Julien.

_______________________________________________
auctex-devel mailing list
auctex-devel <at> gnu.org
https://lists.gnu.org/mailman/listinfo/auctex-devel

Gmane