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

Re: need typewriter-style quotes in LaTeX mode of emacs



On 2007-05-25, Russell L. Harris <rlharris@oplink.net> wrote:
>
> Auctex is installed (11.83-6).  This is a recent (less than two month
> old) installation of Debian Lenny ("testing") via netinstall, kept up
> to date with snaptic.  TeX is via TeXLive.
>
> When a LaTeX document is loaded, XEmacs automatically selects the
> following modes:  latex-mode, font-lock-mode, auto-fill mode.  There
> appears to be no such thing as auctex-mode.  Turning off
> font-lock-mode does not change the behaviour.

There is no 'auctex-mode'. Confusingly, auctex is associated with
something called LaTeX-mode, which is distinct from the built-in
latex-mode. However, when I test this on my set-up, I get the same
behaviour in any tex mode - plain-tex, latex, or LaTeX.

>
> As I previously stated, in latex mode, multiple presses of the " key
> (which is shift-') result in a pair of left-quotes (``) followed by
> pairs of right quotes ('').
>
> What do you mean, "in the same spot"?  

I mean don't press anything else between the first and second ". That
sounds like just what you're doing though, so I don't know why this
isn't working.

> Each keypress advances the
> cursor.  Using the cursor-movement keys to back up the cursor does not
> produce a " character.
>

Ok, I found out what's going on. The behaviour I described is standard
for Auctex as well as for the built-in Tex modes that come with
regular GNU Emacs. This is not the same in Xemacs. Presumably there
would be a way to customize Xemacs to behave like this, but it is not
there by default. I don't know enough about Xemacs to comment further.

Sorry for the confusion.

Tyler



Reply to: