Re: new indentation in context

Ralf Angeli <[email protected]> Sat, 12 Mar 2005 00:57:56 +0100
Newsgroups gmane.emacs.auc-tex
Message-ID <[email protected]>
* Adam Duck (2005-03-12) writes:

> Ralf Angeli <[email protected]> writes:
>
>> Well, that's actually a feature.  According to code I didn't change
>> with the last check-in, \setup... commands should be treated like
>> \item commands.
>
> Well, that's nice for \item because you now they end after
> \stopitemize, so you can easily indent correctly.  However, for
> \setup*-commands, this is not true.
[...]
> It's more like \renewcommand in LaTeX and therefore the next lines
> should not be indented like \items but differently, because you can
> write code like this:

Ah, okay, thanks for the explanation.  In case you need a quick
remedy, you can put

(setq ConTeXt-indent-item-re "\\\\\item\\>")

into your init file.  I'll check if this would be the correct way to
handle this in context.el as soon as I find some time (not this
weekend, though).

> Btw, I managed to pinpoint my problems with `transient-mark-mode'.  It
> seemed to be my call to "(icomplete-mode)" in my init-files.  Which is
> strange, but it works now.  Actually, I even don't know what it's for
> because I do have iswitchb, which is all I want.

Okay, with icomplete-mode I can reproduce this.  It is doing something
funny with the marked region.  For example in LaTeX mode the marked
region stays highlighted for about one second.

-- 
Ralf