Re: [AUCTeX-devel] amsmath, amsthm automatially insert thm, lemma etc

2015-10-18 Thread Mosè Giordano
Hi Arash, 2015-10-18 12:06 GMT+02:00 Arash Esbati : > Hi Uwe, > > Uwe Brauer writes: > >> Maybe I am missing something elementary. >> Is it is possible to have automatically inserted theorem, lemmas etc >> when using either amsmath or amsthm style. I cannot get it to work so I >> have >> >> (defu

[AUCTeX-diffs] GNU AUCTeX branch, master, updated. 25a9c18d1712d7f2c221a4a14b72c178b7d6bd5a

2015-10-18 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 25a9c18d1712d7f2c221a4a14b72c178b7d6bd5a (commit) from 93d50ea9920767901

Re: [AUCTeX-devel] amsmath, amsthm automatially insert thm, lemma etc

2015-10-18 Thread Uwe Brauer
> Hi Uwe, > Uwe Brauer writes: > Besides the discussion about `subfiles' package, I think `amsthm.el' > could do a better job reg. new environments defined and optional > headings. Further it has a bug in the way it uses `TeX-arg-length': > '("newtheoremstyle" "Style nam

Re: [AUCTeX-devel] amsmath, amsthm automatially insert thm, lemma etc

2015-10-18 Thread Arash Esbati
Hi Uwe, Uwe Brauer writes: > Maybe I am missing something elementary. > Is it is possible to have automatically inserted theorem, lemmas etc > when using either amsmath or amsthm style. I cannot get it to work so I > have > > (defun LaTeX-thm-insert (environment) ;Version:1.20 > (if (y-or-n-p