Re: [AUCTeX-devel] fancyhdr.el + fancynum.el

2013-02-13 Thread Tassilo Horn
Mads Jensen writes: Hi Mads, >> But there are some nitpicks wrt. fancyhdr.el. Please fix those and >> send an improved patch. >> >> - `fancyhdr-fancy-positions' is used only in one position, so no need to >> have a defvar for it. Also, if the variable was needed, it should >> have a name

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

2013-02-13 Thread Tassilo Horn
CVSROOT:/sources/auctex Module name:auctex Changes by: Tassilo Horn 13/02/14 07:17:45 Index: style/fancyhdr.el === RCS file: /sources/auctex/auctex/style/fancyhdr.el,v retrieving revision 1.1 retrieving revision 1

Re: [AUCTeX-devel] subfigure.el update

2013-02-13 Thread Tassilo Horn
Mads Jensen writes: > Trivial patch with a few new commands and lengths (there was > previously a TODO). > > 2013-02-13 Mads Jensen > > * style/subfigure.el ("subfigure"): Collapsed the two regular > expressions for completion. Added lengths, and commands for > fonts. Expan

Re: [AUCTeX-devel] Add `unit' type for the parser in siunitx.el

2013-02-13 Thread Mosè Giordano
Hi Tassilo, 2013/2/13 Tassilo Horn : > If you have a sample tex file plus a recipe how to reproduce the error, > I could check myself. E.g. a tex file using siunitx with some custom > unit definitions, and then I change it not to use siunitx and revert the > buffer, so that I hit the undefined fu

Re: [AUCTeX-devel] fancyhdr.el + fancynum.el

2013-02-13 Thread Mads Jensen
On 2013-02-13 20:34, Tassilo Horn wrote: > I've committed fancynum.el. Thank you :-) > But there are some nitpicks wrt. fancyhdr.el. Please fix those and send > an improved patch. > > - `fancyhdr-fancy-positions' is used only in one position, so no need to > have a defvar for it. Also, if th

[AUCTeX-devel] subfigure.el update

2013-02-13 Thread Mads Jensen
Trivial patch with a few new commands and lengths (there was previously a TODO). 2013-02-13 Mads Jensen * style/subfigure.el ("subfigure"): Collapsed the two regular expressions for completion. Added lengths, and commands for fonts. Expanded copyright range. -- Med V

Re: [AUCTeX-devel] Hyperref and nameref

2013-02-13 Thread Tassilo Horn
Mads Jensen writes: Hi Mads, >>> I sent a patch to auctex.texi to document `TeX-complete-list', >>> `LaTeX-item-list' and `LaTeX-after-insert-env-hooks' about a month >>> ago. Shouldn't this be mentioned in the manual? >> >> Oh, I must have overlooked it. Could you please tell me the message

Re: [AUCTeX-devel] Insert two dollars when typing one

2013-02-13 Thread Tassilo Horn
Mosè Giordano writes: >> Does that play well with `TeX-math-close-double-dollar'? I'm not >> completely sure if closing of single or double dollars and placement >> of point should be controlled by the same variables. What's the >> result of typing $$$ when both variables are t? > > If both var

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

2013-02-13 Thread Tassilo Horn
CVSROOT:/sources/auctex Module name:auctex Changes by: Tassilo Horn 13/02/13 20:10:27 Index: tex.el === RCS file: /sources/auctex/auctex/tex.el,v retrieving revision 5.706 retrieving revision 5.707 diff -u -b -r5.

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

2013-02-13 Thread Tassilo Horn
CVSROOT:/sources/auctex Module name:auctex Changes by: Tassilo Horn 13/02/13 20:10:27 Index: ChangeLog === RCS file: /sources/auctex/auctex/ChangeLog,v retrieving revision 5.1839 retrieving revision 5.1840 diff -u

[AUCTeX-commit] auctex ChangeLog tex.el doc/auctex.texi

2013-02-13 Thread Tassilo Horn
CVSROOT:/sources/auctex Module name:auctex Changes by: Tassilo Horn 13/02/13 20:10:27 Modified files: . : ChangeLog tex.el doc: auctex.texi Log message: * doc/auctex.texi (Quotes): Document `TeX-math-close-single-doll

[AUCTeX-diffs] Changes to auctex/doc/auctex.texi,v

2013-02-13 Thread Tassilo Horn
CVSROOT:/sources/auctex Module name:auctex Changes by: Tassilo Horn 13/02/13 20:10:27 Index: doc/auctex.texi === RCS file: /sources/auctex/auctex/doc/auctex.texi,v retrieving revision 1.319 retrieving revision 1.3

Re: [AUCTeX-devel] Hyperref and nameref

2013-02-13 Thread Mads Jensen
On 2013-02-13 20:13, Tassilo Horn wrote: >> I sent a patch to auctex.texi to document `TeX-complete-list', >> `LaTeX-item-list' and `LaTeX-after-insert-env-hooks' about a month >> ago. Shouldn't this be mentioned in the manual? > > Oh, I must have overlooked it. Could you please tell me the mess

Re: [AUCTeX-devel] filecontents.el + minor suggestions

2013-02-13 Thread Tassilo Horn
Mads Jensen writes: > New style. I considered including this functionality into > `LaTeX-env-contents' by checking for filecontents in > `TeX-active-styles', but it seems that code relevant for a specific > package should be kept in a style file, and nowhere else? Yep. Did you actually test yo

[AUCTeX-diffs] Changes to auctex/Makefile.in,v

2013-02-13 Thread Tassilo Horn
CVSROOT:/sources/auctex Module name:auctex Changes by: Tassilo Horn 13/02/13 19:59:18 Index: Makefile.in === RCS file: /sources/auctex/auctex/Makefile.in,v retrieving revision 1.181 retrieving revision 1.182 diff

[AUCTeX-diffs] Changes to style/filecontents.el

2013-02-13 Thread Tassilo Horn
CVSROOT:/sources/auctex Module name:auctex Changes by: Tassilo Horn 13/02/13 19:59:18 Index: style/filecontents.el === RCS file: style/filecontents.el diff -N style/filecontents.el --- /dev/null 1 Jan 1970 00:00

[AUCTeX-commit] auctex ChangeLog Makefile.in style/filecontents.el

2013-02-13 Thread Tassilo Horn
CVSROOT:/sources/auctex Module name:auctex Changes by: Tassilo Horn 13/02/13 19:59:18 Modified files: . : ChangeLog Makefile.in Added files: style : filecontents.el Log message: * Makefile.in (STYLESRC): Activate new style filec

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

2013-02-13 Thread Tassilo Horn
CVSROOT:/sources/auctex Module name:auctex Changes by: Tassilo Horn 13/02/13 19:59:18 Index: ChangeLog === RCS file: /sources/auctex/auctex/ChangeLog,v retrieving revision 5.1838 retrieving revision 5.1839 diff -u

Re: [AUCTeX-devel] fancyhdr.el + fancynum.el

2013-02-13 Thread Tassilo Horn
Hi Mads, I've committed fancynum.el. But there are some nitpicks wrt. fancyhdr.el. Please fix those and send an improved patch. - `fancyhdr-fancy-positions' is used only in one position, so no need to have a defvar for it. Also, if the variable was needed, it should have a name matching th

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

2013-02-13 Thread Tassilo Horn
CVSROOT:/sources/auctex Module name:auctex Changes by: Tassilo Horn 13/02/13 19:33:22 Index: ChangeLog === RCS file: /sources/auctex/auctex/ChangeLog,v retrieving revision 5.1837 retrieving revision 5.1838 diff -u

[AUCTeX-diffs] Changes to style/fancynum.el

2013-02-13 Thread Tassilo Horn
CVSROOT:/sources/auctex Module name:auctex Changes by: Tassilo Horn 13/02/13 19:33:22 Index: style/fancynum.el === RCS file: style/fancynum.el diff -N style/fancynum.el --- /dev/null 1 Jan 1970 00:00:00 - ++

[AUCTeX-commit] auctex ChangeLog Makefile.in style/fancynum.el

2013-02-13 Thread Tassilo Horn
CVSROOT:/sources/auctex Module name:auctex Changes by: Tassilo Horn 13/02/13 19:33:22 Modified files: . : ChangeLog Makefile.in Added files: style : fancynum.el Log message: * Makefile.in (STYLESRC): Activate new style fancynum.

[AUCTeX-diffs] Changes to auctex/Makefile.in,v

2013-02-13 Thread Tassilo Horn
CVSROOT:/sources/auctex Module name:auctex Changes by: Tassilo Horn 13/02/13 19:33:22 Index: Makefile.in === RCS file: /sources/auctex/auctex/Makefile.in,v retrieving revision 1.180 retrieving revision 1.181 diff

Re: [AUCTeX-devel] Insert two dollars when typing one

2013-02-13 Thread Mosè Giordano
Hi Tassilo, 2013/2/13 Tassilo Horn : >> +(defcustom TeX-math-close-single-dollar nil >> + "If non-nil, when outside math mode insert opening and closing dollar >> +signs for TeX inline equation and put the point between them, just by >> +typing a single `$'." >> + :group 'TeX-macro >> + :type '

Re: [AUCTeX-devel] Hyperref and nameref

2013-02-13 Thread Tassilo Horn
Mads Jensen writes: Hi Mads, >>> The hyperref package also contains the `nameref' macro which can be >>> used to get names of the referenced section (or chapter, part). >> >> Doesn't hyperref just include the nameref package which you can also >> get and use separately? In that case, there sho

[AUCTeX-diffs] Changes to auctex/Makefile.in,v

2013-02-13 Thread Tassilo Horn
CVSROOT:/sources/auctex Module name:auctex Changes by: Tassilo Horn 13/02/13 19:08:53 Index: Makefile.in === RCS file: /sources/auctex/auctex/Makefile.in,v retrieving revision 1.179 retrieving revision 1.180 diff

[AUCTeX-diffs] Changes to style/nameref.el

2013-02-13 Thread Tassilo Horn
CVSROOT:/sources/auctex Module name:auctex Changes by: Tassilo Horn 13/02/13 19:08:53 Index: style/nameref.el === RCS file: style/nameref.el diff -N style/nameref.el --- /dev/null 1 Jan 1970 00:00:00 - +++ s

[AUCTeX-commit] auctex ChangeLog Makefile.in doc/auctex.texi st...

2013-02-13 Thread Tassilo Horn
CVSROOT:/sources/auctex Module name:auctex Changes by: Tassilo Horn 13/02/13 19:08:53 Modified files: . : ChangeLog Makefile.in doc: auctex.texi style : hyperref.el Added files: style : nameref.el

[AUCTeX-diffs] Changes to auctex/doc/auctex.texi,v

2013-02-13 Thread Tassilo Horn
CVSROOT:/sources/auctex Module name:auctex Changes by: Tassilo Horn 13/02/13 19:08:53 Index: doc/auctex.texi === RCS file: /sources/auctex/auctex/doc/auctex.texi,v retrieving revision 1.318 retrieving revision 1.3

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

2013-02-13 Thread Tassilo Horn
CVSROOT:/sources/auctex Module name:auctex Changes by: Tassilo Horn 13/02/13 19:08:53 Index: style/hyperref.el === RCS file: /sources/auctex/auctex/style/hyperref.el,v retrieving revision 1.3 retrieving revision 1

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

2013-02-13 Thread Tassilo Horn
CVSROOT:/sources/auctex Module name:auctex Changes by: Tassilo Horn 13/02/13 19:08:53 Index: ChangeLog === RCS file: /sources/auctex/auctex/ChangeLog,v retrieving revision 5.1836 retrieving revision 5.1837 diff -u

Re: [AUCTeX-devel] Hyperref and nameref

2013-02-13 Thread Mads Jensen
On 2013-02-12 13:08, Tassilo Horn wrote: >> The hyperref package also contains the `nameref' macro which can be >> used to get names of the referenced section (or chapter, part). > > Doesn't hyperref just include the nameref package which you can also get > and use separately? In that case, there

Re: [AUCTeX-devel] Add `unit' type for the parser in siunitx.el

2013-02-13 Thread Tassilo Horn
Mosè Giordano writes: >>> Do you have alternative suggestions for this? >> >> IMO, it would make sense to simply discard all auto-parsed >> information in case loading the auto/foo.el signals an error. > Good idea, but for now I'm not able to implement it :-) > I tried to put > (run-hooks 'TeX-

Re: [AUCTeX-devel] Add `unit' type for the parser in siunitx.el

2013-02-13 Thread Mosè Giordano
Hi Tassilo, 2013/2/13 Tassilo Horn : >> The idea of using `TeX-auto-store-pre-string' came to me when thinking >> about a way to store in parsed file the options given to packages at >> load time. > > I don't see how storing package options is related to your > `TeX-auto-store-pre-string'. My idea

Re: [AUCTeX-devel] Insert two dollars when typing one

2013-02-13 Thread Tassilo Horn
Mosè Giordano writes: Hi! > I'd like to be able to insert two dollar signs and put the point > between them when I type `$' outside math mode. I'd accept such a (backward-compatible) change, but here's some nitpicking. > +(defcustom TeX-math-close-single-dollar nil > + "If non-nil, when outsi

Re: [AUCTeX-devel] Add `unit' type for the parser in siunitx.el

2013-02-13 Thread Tassilo Horn
Mosè Giordano writes: Hi Mosè, >> That doesn't sound like the right solution. Too much fuzz for such >> an uncommon use-case, IMHO. >> >> Maybe the style hooks should be run inside a `condition-case', and in >> case of an error we simply run `TeX-normal-mode'? > > Yes, I know it's not a common

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

2013-02-13 Thread Tassilo Horn
CVSROOT:/sources/auctex Module name:auctex Changes by: Tassilo Horn 13/02/13 14:19:20 Index: style/siunitx.el === RCS file: /sources/auctex/auctex/style/siunitx.el,v retrieving revision 1.3 retrieving revision 1.4

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

2013-02-13 Thread Tassilo Horn
CVSROOT:/sources/auctex Module name:auctex Changes by: Tassilo Horn 13/02/13 14:19:20 Index: ChangeLog === RCS file: /sources/auctex/auctex/ChangeLog,v retrieving revision 5.1835 retrieving revision 5.1836 diff -u

[AUCTeX-commit] auctex ChangeLog style/siunitx.el

2013-02-13 Thread Tassilo Horn
CVSROOT:/sources/auctex Module name:auctex Changes by: Tassilo Horn 13/02/13 14:19:20 Modified files: . : ChangeLog style : siunitx.el Log message: * style/siunitx.el ("siunitx-unit"): New type for the parser. (LaTeX-siu

[AUCTeX-devel] Insert two dollars when typing one

2013-02-13 Thread Mosè Giordano
Hi all, I'd like to be able to insert two dollar signs and put the point between them when I type `$' outside math mode. It seems I'm not the only having this wish, see for example http://stackoverflow.com/q/10367524 http://tex.stackexchange.com/q/75697 http://tex.stackexchange.com/a/24789 http:/

Re: [AUCTeX-devel] Add `unit' type for the parser in siunitx.el

2013-02-13 Thread Mosè Giordano
Hi Tassilo, 2013/2/12 Tassilo Horn : > That doesn't sound like the right solution. Too much fuzz for such an > uncommon use-case, IMHO. > > Maybe the style hooks should be run inside a `condition-case', and in > case of an error we simply run `TeX-normal-mode'? Yes, I know it's not a common case,