[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [AUCTeX-devel] Reopening environments.
From: |
David Kastrup |
Subject: |
Re: [AUCTeX-devel] Reopening environments. |
Date: |
Fri, 14 Oct 2005 11:45:28 +0200 |
User-agent: |
Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (gnu/linux) |
Ralf Angeli <address@hidden> writes:
> * David Kastrup (2005-10-14) writes:
>
>> Ralf Angeli <address@hidden> writes:
>>
>>> (delete-region (point) (if (save-excursion (goto-char marker)
>>> (bolp))
>>> (1- marker) marker))
>>
>> Well, talk about making butt-ugly even uglier.
>
> Thhtphtp! (c:
>
>>> I cannot reprocude this. Are you sure you are using an up-to-date
>>> version?
>>
>> Yes. They key is that you get this when starting with
>>
>> %<-cursor
>>
>> instead of
>>
>> <-cursor
>
> I can start from whatever context I want, like
>
> -!-%
>
> or
>
> %-!-
>
> or
>
> -!-
>
> and always get
>
> % \begin{macrocode}
> -!-
> % \end{macrocode}
Ok, here is a recipe:
C-x C-f / t m p / j u n k . d
t x <return> <return> % C-c C-e m a c r o c o d e <return>
This lands me with
% \begin{macrocode}
% -!-
% \end{macrocode}
Yes, quite with this indentation.
--
David Kastrup, Kriemhildstr. 15, 44793 Bochum
- [AUCTeX-devel] Reopening environments., David Kastrup, 2005/10/13
- Re: [AUCTeX-devel] Reopening environments., Ralf Angeli, 2005/10/14
- Re: [AUCTeX-devel] Reopening environments., David Kastrup, 2005/10/14
- Re: [AUCTeX-devel] Reopening environments., Ralf Angeli, 2005/10/14
- Re: [AUCTeX-devel] Reopening environments.,
David Kastrup <=
- Re: [AUCTeX-devel] Reopening environments., Ralf Angeli, 2005/10/14
- Re: [AUCTeX-devel] Reopening environments., David Kastrup, 2005/10/14
- Re: [AUCTeX-devel] Reopening environments., Ralf Angeli, 2005/10/14
- Re: [AUCTeX-devel] Reopening environments., David Kastrup, 2005/10/14
- Re: [AUCTeX-devel] Reopening environments., Ralf Angeli, 2005/10/14
- Re: [AUCTeX-devel] Reopening environments., David Kastrup, 2005/10/14
- Re: [AUCTeX-devel] Reopening environments., Ralf Angeli, 2005/10/14
- Re: [AUCTeX-devel] Reopening environments., David Kastrup, 2005/10/14
- Re: [AUCTeX-devel] Reopening environments., Ralf Angeli, 2005/10/14
- Re: [AUCTeX-devel] Reopening environments., David Kastrup, 2005/10/14