help-gnu-emacs
[Top][All Lists]
Advanced

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

Re: Cannot use predictive mode with latex


From: Andreas Röhler
Subject: Re: Cannot use predictive mode with latex
Date: Wed, 24 Feb 2010 19:05:27 +0100
User-agent: Thunderbird 2.0.0.19 (X11/20081227)

Christian Herenz wrote:
> Hi,
> 
> Predictive just will not work on my machine with latex (or html).
> I checked everything twice, and then used the debugger as advised in the
> INSTALL file (that comes with predictive).
> 
> The following steps laed to the error (after having completed the steps
> in your INSTALL file):
> 1. C-x f test.tex (file does not exist - new)
> 2. M-x predictive-mode
> 3. Enter \ (Backslash - I normally would like to write something like
> "\begin{document}")
> 
> Debbugger says following in emacs:
> Debugger entered--Lisp error: (wrong-type-argument number-or-marker-p nil)
>   =(nil 92)
>   (while (= (char-before) 92) (backward-char) (incf i))
>   (save-excursion (while (= ... 92) (backward-char) (incf i)))
>   (let ((i 0)) (save-excursion (while ... ... ...)) (if (oddp i) (quote
> add) (quote reject)))
>   (lambda nil (let (...) (save-excursion ...) (if ... ... ...)))()
>   auto-completion-self-insert()
>   completion-self-insert()
>   call-interactively(completion-self-insert)
> 
> 4. After that I only hear beeps when I try to modify something in the
> buffer (i.e. it is blocked). I am not able to add anything to the buffer.
> 
> I hope I am doing not something completely wrong here, so that it is my
> fault. But I checked everything twice (steps in the install file). Very
> odd (I did just the plain install: make, make install)....
> 
> I'm running the Emacs version, which comes with debian lenny:
> GNU Emacs 22.2.1 (x86_64-pc-linux-gnu, GTK+ Version 2.12.11) of
> 2008-11-09 on excelsior, modified by Debian. But I just tested it an run
> into the same problem on openSUSE 11.1.
> 
> When entering predictive-mode in a plain text file, it works fine.
> 
> Greetings,
> Christian
> 


Hi,

can't reproduce this at GNU Emacs 23.1.92.1 (i686-pc-linux-gnu, GTK+ Version 
2.12.0) of 2010-02-19
Suse 10.3

Predictive Version: 0.17.6

Without predictive-mode:

It is bound to \.

(TeX-insert-backslash ARG)

With predictive-mode in this tex-buffer it's the same, may enter a backslash.

;;;;;;;;;;;;;

Maybe try: C-h m to get some info

Andreas

--
https://code.launchpad.net/~a-roehler/python-mode
https://code.launchpad.net/s-x-emacs-werkstatt/






reply via email to

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