[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [AUCTeX-devel] support for xemacs
From: |
Arash Esbati |
Subject: |
Re: [AUCTeX-devel] support for xemacs |
Date: |
Sat, 18 Mar 2017 14:20:34 +0100 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/25.2 |
Uwe Brauer <address@hidden> writes:
> > Arash Esbati <address@hidden> writes:
>
>
> > following up myself, I've installed the solution suggested by Keita
> > (Thanks!) and patched {tex,latex}.el and the affected style files. Can
> > people with XEmacs on HD give this a roll, please?
>
> Ok this weekend I have time for it. So the patch is in the git
> repository? Best seems that I download compile and test the whole beast.
Yes, patch set is in git. Downloading and compiling would be best.
> You sent me a couple of days ago a test file, but I am a bit lost (since
> I barely use that style file). I should run M-return at EOL, is this
> correct?
Yes
> Problem is I have bound M-return bound to a private function, can you
> please quickly tell me which command you want me to run?
--8<---------------cut here---------------start------------->8---
M-RET (translated from <M-return>) runs the command LaTeX-insert-item
(found in LaTeX-mode-map), which is an interactive compiled Lisp
function in ‘latex.el’.
It is bound to C-c C-j, M-RET, <menu-bar> <LaTeX> <Item>.
(LaTeX-insert-item)
Insert a new item in an environment.
You may use ‘LaTeX-item-list’ to change the routines used to insert the item.
--8<---------------cut here---------------end--------------->8---
With the test file I posted here:
http://lists.gnu.org/archive/html/auctex-devel/2017-03/msg00020.html
the command should insert suitable number of `&'s after `\\', the logic
is 2 * ncols - 1. So you can replace 2 with 5, it should give you 9 &.
Thanks,
Arash