Re: [AUCTeX-devel] Manage auto insertion of labels

2014-08-14 Thread Tassilo Horn
Mosè Giordano writes: Hi Mosè, >> You mean, if the environment or sectioning command is not in >> `LaTeX-label-alist' or `LaTeX-section-label', then no label will be >> prompted? > > Exactly! > >> That might be an idea... > > The attached patch is more or a less a re-ordering of the original > `

[AUCTeX-devel] -- expands to "=

2014-08-14 Thread Uwe Brauer
Hi I just discovered that typing -- gives "= once TeX-source-correlate-mode has been activated However I cannot get rid of this strange expansion. Abbrev-mode has nothing to do with it and it does not happen in all LaTeX buffers. Any idea? Uwe Brauer smime.p7s Description: S/MIME cryptogr

Re: [AUCTeX-devel] -- expands to "=

2014-08-14 Thread Lars Madsen
isn't it language dependant? The shortcut comes for languages that may have many words the include a hyphen, where "= would be better as it allows both words to be hyphenated (without it this word can only be line broken at the hyphen). Usually you just hit - once more and "= is replaced by --

Re: [AUCTeX-devel] -- expands to "=

2014-08-14 Thread Uwe Brauer
>> "Lars" == Lars Madsen writes: > isn't it language dependant? Right, I just found out this is caused by the german babel package, which I rarely use. > The shortcut comes for languages that may have many words the include > a hyphen, where "= would be better as it allows both words

Re: [AUCTeX-devel] Manage auto insertion of labels

2014-08-14 Thread Mosè Giordano
Hi Tassilo, 2014-08-14 9:16 GMT+02:00 Tassilo Horn : > Mosè Giordano writes: > > Hi Mosè, > >>> You mean, if the environment or sectioning command is not in >>> `LaTeX-label-alist' or `LaTeX-section-label', then no label will be >>> prompted? >> >> Exactly! >> >>> That might be an idea... >> >> T

[AUCTeX-devel] generalised paren-forward-sexp

2014-08-14 Thread Lars Madsen
Does anyone know about a generalized paren-forward-sexp functionality? As it is now there a few paren implementations where you can jump from a ( to the proper matching ) It would be nice with a generalized version of this for AUCTeX, that is having a list of pairs of delimiters, like (,); [,]

Re: [AUCTeX-devel] Manage auto insertion of labels

2014-08-14 Thread Tassilo Horn
Mosè Giordano writes: >> Looks good to me. But there's one thing I'm not sure. Styles like >> amsmath.el add environments to `LaTeX-label-alist', so what should a >> user do, e.g., to tell auctex that she doen't want labels for align >> environments? > > Indeed I'm not convinced that style file

Re: [AUCTeX-devel] Manage auto insertion of labels

2014-08-14 Thread Mosè Giordano
2014-08-14 14:17 GMT+02:00 Tassilo Horn : > Mosè Giordano writes: >> Actually, I believe the best way would be to add amsmath and longtable >> environments to default `LaTeX-label-alist' in latex.el. > > No, I think it's reasonable that the styles do that on their own. Else, > we'd need to add ea

Re: [AUCTeX-devel] generalised paren-forward-sexp

2014-08-14 Thread Tassilo Horn
Lars Madsen writes: Hi Lars, > Does anyone know about a generalized paren-forward-sexp functionality? I guess you are looking for SMIE: (info "(elisp)SMIE") I think that would indeed be a nice feature. However, SMIE is only available in pretty recent GNU Emacs version and not at all with XEma

[AUCTeX-diffs] GNU AUCTeX branch, master, updated. 8d69d3b50512c4b0cdfbd7da81fefa5c2f8c98e9

2014-08-14 Thread Mosè Giordano
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 8d69d3b50512c4b0cdfbd7da81fefa5c2f8c98e9 (commit) from 765c5165fdf27a12d

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

2014-08-14 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 c1dcb84b2695a5ee484eeb3695905c5634d36a8b (commit) via

[AUCTeX-diffs] GNU AUCTeX branch, master, updated. 6d4f7d1b0300baf6e44eb80c392de1c01758b699

2014-08-14 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 6d4f7d1b0300baf6e44eb80c392de1c01758b699 (commit) from 8d69d3b50512c4b0c

[AUCTeX-diffs] GNU AUCTeX branch, simplify-TeX-parse-error, updated. 95bef0636831eaabdf5a42df04a16b099e91426b

2014-08-14 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 95bef0636831eaabdf5a42df04a16b099e91426b (commit) via