auctex-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [AUCTeX-devel] Re: Fontifying of titles...


From: David Kastrup
Subject: Re: [AUCTeX-devel] Re: Fontifying of titles...
Date: Sat, 09 Apr 2005 20:41:23 +0200
User-agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (gnu/linux)

Ralf Angeli <address@hidden> writes:

> * David Kastrup (2005-04-09) writes:
>
>> Perhaps easier would be:
>>
>> (save-excursion
>>   (move-beginning-of-line)
>>   (if (< (vertical-motion 1) 1)
>>       col
>>     (backward-char)
>>     (min (current-column) col)))
>
> Neat.

I am not sure whether this is not too neat, namely whether
(current-column) is the correct value, or 1+ or 1- is necessary.

-- 
David Kastrup, Kriemhildstr. 15, 44793 Bochum




reply via email to

[Prev in Thread] Current Thread [Next in Thread]