* Cannot use predictive mode with latex
@ 2010-02-24 16:24 Christian Herenz
2010-02-24 18:05 ` Andreas Röhler
[not found] ` <mailman.1815.1267034608.14305.help-gnu-emacs@gnu.org>
0 siblings, 2 replies; 5+ messages in thread
From: Christian Herenz @ 2010-02-24 16:24 UTC (permalink / raw
To: help-gnu-emacs
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
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: Cannot use predictive mode with latex
2010-02-24 16:24 Cannot use predictive mode with latex Christian Herenz
@ 2010-02-24 18:05 ` Andreas Röhler
[not found] ` <mailman.1815.1267034608.14305.help-gnu-emacs@gnu.org>
1 sibling, 0 replies; 5+ messages in thread
From: Andreas Röhler @ 2010-02-24 18:05 UTC (permalink / raw
To: help-gnu-emacs
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/
^ permalink raw reply [flat|nested] 5+ messages in thread
[parent not found: <mailman.1815.1267034608.14305.help-gnu-emacs@gnu.org>]
end of thread, other threads:[~2010-02-26 18:59 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-02-24 16:24 Cannot use predictive mode with latex Christian Herenz
2010-02-24 18:05 ` Andreas Röhler
[not found] ` <mailman.1815.1267034608.14305.help-gnu-emacs@gnu.org>
2010-02-25 17:37 ` Christian Herenz
2010-02-25 18:12 ` Andreas Röhler
[not found] ` <mailman.1874.1267121449.14305.help-gnu-emacs@gnu.org>
2010-02-26 18:59 ` Christian Herenz
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.