Arash,
> With the setting above, what is the value of the variable
> `electric-indent-mode' when you open a .tex file, nil or t?
Did you check that?
I did. I opened a testemacs.tex and said C-h v "electric-indent-mode". Here
are the first few lines of the result.
electric-indent-mode is a
"Hefferon, Jim S." writes:
> I did. I opened a testemacs.tex and said C-h v
> "electric-indent-mode". Here are the first few lines of the result.
>
> electric-indent-mode is a variable defined in ‘electric.el’.
> Its value is nil
> Original value was t
> Local in buffer testemacs.tex; global
"Hefferon, Jim S." writes:
> Apologies if this is a dopey question and I am missing something
> simple. I'd like to turn off auto indent, so that hitting no
> longer tries to match to the enclosing environments.
>
> Until recently, this accomplished what I wanted.
>
> ;; Turn off auto indent
Hello,
Apologies if this is a dopey question and I am missing something simple. I'd
like to turn off auto indent, so that hitting no longer tries to match
to the enclosing environments.
Until recently, this accomplished what I wanted.
;; Turn off auto indent in AUC TeX
;;
"Hefferon, Jim S." writes:
>> If I open a .tex file, do 'M-x electric-indent-local-mode RET' in order
>> to turn off the mode locally, I get this with your example:
>
>>
>> \begin{itemize}
>
>> \end{itemize}
>> test
>
>>
>
> Yes, Arash, exactly what I want. How do I make that
Uwe Brauer writes:
> So is there anyway that the «reftex-engine»
> could call the macro?
> Or, would that require a considerable rewrite of the relevant reftex
> function?
I haven't checked the relevant code, but I'd say RefTeX is not prepared
to do want you want OOTB. RefTeX inserts only the
branch: master
commit 5d0f020b816446aae7a267b4eaa61643773354f4
Author: Uwe Brauer
Commit: Arash Esbati
Add support for the refcount package
* Makefile.in (STYLESRC): Add new style.
* style/refcount.el: New file.
---
Makefile.in | 2 +-
style/refcount.el | 90
>>> "AE" == Arash Esbati writes:
Hi Arash,
> Hi Uwe,
> Uwe Brauer writes:
>> attached you find a patch that adds support for refcount.sty. I tested
>> in this morning.
> Thanks for your contribution. I slightly touched your refcount.el,
> result is attached. Please give it a try and see