1 Jun 15:34 2010

### Selecting item in toc shouldn't tile buffer

Hi,

I have a document that is divided into several source files. If I select
an item in the toc that is not in the Emacs buffer and hit tab, my text
window gets tiled and a new buffer containing the selected item appears.
The result is that my Emacs windows are tiled this way:

|toc|buff1|buff2|		(1)

(my toc is on the left). As the buffer windows are too small then, I
type C x 1 to close the other windows and C-c = to reopen the toc. Then,
my windows are tiled this way:

|toc|   buff2   |		(2)

What I want auctex to do is to show me layout (2) instead of (1) when I
hit tab. Is this possible?

--

--
Regards,
Boris

1 Jun 22:48 2010

### Re: Selecting item in toc shouldn't tile buffer

* Boris Hollas (2010-06-01) writes:

> I have a document that is divided into several source files. If I select
> an item in the toc that is not in the Emacs buffer and hit tab, my text
> window gets tiled and a new buffer containing the selected item appears.
> The result is that my Emacs windows are tiled this way:
>
> |toc|buff1|buff2|		(1)
>
> (my toc is on the left). As the buffer windows are too small then, I
> type C x 1 to close the other windows and C-c = to reopen the toc. Then,
> my windows are tiled this way:
>
>
> |toc|   buff2   |		(2)
>
> What I want auctex to do is to show me layout (2) instead of (1) when I
> hit tab. Is this possible?

RefTeX.  And I don't see the problem you describe.  In my case the
result is what you labeled as layout 2.  So you might want to provide a
recipe for reproducing the problem, starting with emacs -Q'.

--

--
Ralf

3 Jun 20:54 2010

### RE: Contribution to AUCTeX‏

Hello,

As there was no answer on my previous email I took the opportunity to
update my contribution: I added also the mark section function, as it
was also missing to the Texinfo-mode

BR,
Vincent.


Attachment (tex-info.el.diff.gz): application/zip, 2982 bytes
Attachment (ChangeLog.gz): application/zip, 214 bytes
_______________________________________________
auctex mailing list
auctex <at> gnu.org
http://lists.gnu.org/mailman/listinfo/auctex

12 Jun 19:49 2010

### Re: Contribution to AUCTeX

* Vincent Belaïche (2010-05-30) writes:

> Please ignore the previous patch file, and consider the one attached to
> this file.

>> From: vincent.b.1 <at> hotmail.fr

>> Here is a contribution to AUCTeX, this is to add the mark-environement
>> to the Texinfo mode.

>> PS-0: I had to make tricks with beginning-of-line, because
>> Texinfo-find-env-end and Texinfo-find-env-start do not work axactly the
>> same way as LaTeX-find-matching-end and LaTeX-find-matching-beginning. I
>> don't know whether this is the good way, or it would have been
>> preferable to align Texinfo-find-env-end and Texinfo-find-env-start on
>> the LaTeX way.

I've now changed Texinfo-find-env-end' and Texinfo-find-env-start' to
work like the respective commands in LaTeX and ConTeXt mode.  This
should be a cleaner approach compared to dealing with the differences in
all calling functions.

Unfortunately this means you will have to produce another patch.  It
should likely be similar to your last one, i.e. include
Texinfo-mark-environment' as a copy of LaTeX-mark-environment' adapted
for Texinfo mode.  I thought about providing a joint implementation for
both modes, but it likely makes things more complicated than an adapated
copy.  Perhaps one can point out the origin of the implementation in a
comment.



26 Jun 13:57 2010

### Version of precompiled AUCTeX

When the opportunity arises the download page

would need some update for Emacs 23.2.

Thanks
Uwe
`

Gmane