From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Christian Herenz Newsgroups: gmane.emacs.help Subject: Cannot use predictive mode with latex Date: Wed, 24 Feb 2010 17:24:53 +0100 Organization: A noiseless patient Spider Message-ID: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-15; format=flowed Content-Transfer-Encoding: 7bit X-Trace: dough.gmane.org 1267029649 26337 80.91.229.12 (24 Feb 2010 16:40:49 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Wed, 24 Feb 2010 16:40:49 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Wed Feb 24 17:40:43 2010 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1NkKHz-0002AH-1i for geh-help-gnu-emacs@m.gmane.org; Wed, 24 Feb 2010 17:40:43 +0100 Original-Received: from localhost ([127.0.0.1]:56781 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NkKHy-000386-I1 for geh-help-gnu-emacs@m.gmane.org; Wed, 24 Feb 2010 11:40:42 -0500 Original-Path: news.stanford.edu!usenet.stanford.edu!news.tele.dk!news.tele.dk!small.news.tele.dk!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsfeed.straub-nv.de!feeder.eternal-september.org!eternal-september.org!.POSTED!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 41 Injection-Date: Wed, 24 Feb 2010 16:24:54 +0000 (UTC) Injection-Info: news.motzarella.org; posting-host="yirpb2bZyqQHmNJRTqZrSw"; logging-data="11560"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/Ehq4mNq44/37C727zRnfd" User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; de; rv:1.9.1.7) Gecko/20100116 SeaMonkey/2.0.2 Cancel-Lock: sha1:VSSBEFavnaqCtS8L477ptwkSVMw= Original-Xref: news.stanford.edu gnu.emacs.help:177065 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:72103 Archived-At: 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