[Top][All Lists]

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

Re: [AUCTeX] manipulating sections with auc-tex

From: David Kastrup
Subject: Re: [AUCTeX] manipulating sections with auc-tex
Date: Tue, 23 Aug 2005 15:14:58 +0200
User-agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (gnu/linux)

Ralf Angeli <address@hidden> writes:

> * David Kastrup (2005-08-23) writes:
>> Ralf Angeli <address@hidden> writes:
>>> As I am attracted to the solution with `outline-mark-subtree'
>>> because of its simplicity, I'd use it despite XEmacs not providing
>>> it.  If it is bound, use it, and if it isn't, use the code we
>>> currently have in `LaTeX-mark-section'.  This will lead to
>>> different behavior on GNU Emacs and XEmacs, but this will go away
>>> once XEmacs synchronizes its outline.el with GNU Emacs'.
>>> What do others think about this?
>> I'd prefer not to have regressions, so if anybody can think of
>> cases where the current behavior would be preferable, we should at
>> least leave it as a customizable option.  Not having used this, I
>> don't really have a qualified opinion on that.
> Besides a customization option we could use the prefix argument as a
> "run-time toggle" for switching between both behaviors.  Although I
> tend to think that `LaTeX-mark-section' is not important enough for
> such a lot of influential options.
> Anyway, that is not exactly the problem we were discussing.  Rather
> it is if we should introduce a lot of new code in order to make the
> new behavior (i.e. marking a section including subsections)
> available on XEmacs.  That's what I don't really like.

Seconded.  We should however make sure that stuff works with Emacs
21.4, at least for now.

> What if we leave the standard behavior of `LaTeX-mark-section' as-is
> and make the new behavior (provided by `outline-mark-subtree')
> available via the prefix argument?  That way the normal behavior is
> identical on Emacs and XEmacs but people with a moderately new
> outline.el would gain the possibility to mark a section including
> subsections.

I think we should assign the more common and/or useful behavior to the
unprefixed command.  I am not in favor of making AUCTeX less useful on
Emacs for the sake of XEmacs' ancient code.

David Kastrup, Kriemhildstr. 15, 44793 Bochum

reply via email to

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