Re: Turn off auto-indent

2023-12-09 Thread Arash Esbati
"Hefferon, Jim S." writes: > You've been most helpful. I was thinking that the electric-indent had > changed over the years and you've shown that was wrong, which I didn't > know how to do. (Next I'll have a look at the asymptote code.) You're welcome. Hopefully you can resolve this issue.

Re: Turn off auto-indent

2023-12-07 Thread Hefferon, Jim S.
Esbati Sent: Wednesday, December 6, 2023 17:05 To: Hefferon, Jim S. Cc: auctex-help Subject: Re: Turn off auto-indent ⚠ External Sender ⚠ "Hefferon, Jim S." writes: > put my cursor on the initial "t" in test and hit . The text > moved to column 1 of the next line, a

Re: Turn off auto-indent

2023-12-06 Thread Arash Esbati
"Hefferon, Jim S." writes: > put my cursor on the initial "t" in test and hit . The text > moved to column 1 of the next line, as I wanted. I'd sure like to > make that permanent, if possible. Thanks for testing. The result basically says that your setup with (defun

Re: Turn off auto-indent

2023-12-06 Thread Hefferon, Jim S.
again, Jim put the curser after the last closing parenthesis and hit 'C-x C-e' From: Arash Esbati Sent: Wednesday, December 6, 2023 1:28 To: Hefferon, Jim S. Cc: auctex-help Subject: Re: Turn off auto-indent ⚠ External Sender ⚠ "Hefferon, Jim S.&q

Re: Turn off auto-indent

2023-12-06 Thread Mandar Mitra
Arash Esbati wrote (Wed, Dec 06, 2023 at 07:28:39AM +0100): > > I put the the whole .emacs, below in case that is helpful, since it is > > only 41 lines. Other than that, I think I have a standard Ubuntu > > emacs setup. > > At a glance, I don't see anything suspicious. What version of emacs

Re: Turn off auto-indent

2023-12-05 Thread Arash Esbati
"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

Re: Turn off auto-indent

2023-12-05 Thread Hefferon, Jim S.
tric-indent-mode is a variable defined in ‘electric.el’. Its value is nil Original value was t Local in buffer testemacs.tex; global value is t That result looks sensible to me if it means that for .tex files it is nil, while for others it is t, maybe? This is part of my current .emacs: ;; Turn off au

Re: Turn off auto-indent

2023-12-05 Thread Arash Esbati
"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

Re: Turn off auto-indent

2023-12-05 Thread Arash Esbati
"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. &g

Turn off auto-indent

2023-12-05 Thread Hefferon, Jim S.
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 ;; https