Ralf Angeli <[EMAIL PROTECTED]> writes:

> * David Kastrup (2005-10-14) writes:
>
>> Ralf Angeli <[EMAIL PROTECTED]> 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 mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/auctex-devel

Reply via email to