all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Christian Herenz <herenz@physik.hu-berlin.de>
To: help-gnu-emacs@gnu.org
Subject: Cannot use predictive mode with latex
Date: Wed, 24 Feb 2010 17:24:53 +0100	[thread overview]
Message-ID: <hm3jsm$b98$1@news.eternal-september.org> (raw)

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


             reply	other threads:[~2010-02-24 16:24 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-02-24 16:24 Christian Herenz [this message]
2010-02-24 18:05 ` Cannot use predictive mode with latex 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

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='hm3jsm$b98$1@news.eternal-september.org' \
    --to=herenz@physik.hu-berlin.de \
    --cc=help-gnu-emacs@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.