auctex-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [AUCTeX-devel] [PATCH] Small patch against reftex-vars.el


From: Tassilo Horn
Subject: Re: [AUCTeX-devel] [PATCH] Small patch against reftex-vars.el
Date: Mon, 28 Sep 2015 08:23:14 +0200
User-agent: Gnus/5.130014 (Ma Gnus v0.14) Emacs/25.0.50 (gnu/linux)

Arash Esbati <address@hidden> writes:

Hi Arash,

> I have a small patch against reftex-vars.el.  The first part corrects
> the wrapfig description-string and adds wraptable to
> `reftex-label-alist-builtin'.  The second part extends the
> caption-regexp in `reftex-default-context-regexps'.
>
> I have not signed the FSF papers for Emacs,

Why not?  Didn't we tell you that a CA on Emacs covers AUCTeX, too, but
the inverse is not true?  Because of that, I usually encourage new
contributors to file a CA on Emacs instead of AUCTeX.

> I hope we consider this change trivial enough so I don't have to go
> through that procedure.

Yes, that's still trivial enough.

> I'm also not familiar with Emacs contributions, if I can prepare a
> better patch, please give me hint.

A Git patch against Emacs' master branch where the ChangeLog entry is
part of the commit message would be even more convenient at my side.
But for now, the patch is good enough.

Bye,
Tassilo

> --- reftex-vars.el~   2015-09-26 00:25:33.982178200 +0200
> +++ reftex-vars.el    2015-09-26 15:20:49.954255800 +0200
> @@ -85,8 +85,9 @@
>      (supertab    "Supertabular environment"
>       (("supertabular" ?t nil nil "\\tablecaption{")))
>  
> -    (wrapfig     "The wrapfigure environment"
> -     (("wrapfigure" ?f nil nil caption)))
> +    (wrapfig     "The wrapfig package"
> +     (("wrapfigure" ?f nil nil caption)
> +      ("wraptable"  ?t nil nil caption)))
>  
>      (ctable  "The ctable package"
>       (("\\ctable[]{}{}{}" ?t "tab:" "~\\ref{%s}" 1 ("table" "Tabelle"))))
> @@ -653,7 +654,7 @@
>                  (string :tag "Prefix"))))
>  
>  (defcustom reftex-default-context-regexps
> -  '((caption       . "\\\\\\(rot\\)?caption\\*?[[{]")
> +  '((caption       . 
> "\\\\\\(rot\\|bi\\)?\\(sub\\)?caption\\(box\\)?\\*?[[{]")
>      (item          . "\\\\item\\(\\[[^]]*\\]\\)?")
>      (eqnarray-like . "\\\\begin{%s}\\|\\\\\\\\")
>      (alignat-like  . "\\\\begin{%s}{[0-9]*}\\|\\\\\\\\"))
>
> Best, Arash




reply via email to

[Prev in Thread] Current Thread [Next in Thread]