From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: =?ISO-8859-15?Q?Andreas_R=F6hler?= Newsgroups: gmane.emacs.help Subject: Re: Cannot use predictive mode with latex Date: Wed, 24 Feb 2010 19:05:27 +0100 Message-ID: <4B856A67.5040500@easy-emacs.de> References: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-15 Content-Transfer-Encoding: 7bit X-Trace: dough.gmane.org 1267036115 19914 80.91.229.12 (24 Feb 2010 18:28:35 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Wed, 24 Feb 2010 18:28:35 +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 19:28:31 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 1NkLyH-0000AD-Cl for geh-help-gnu-emacs@m.gmane.org; Wed, 24 Feb 2010 19:28:29 +0100 Original-Received: from localhost ([127.0.0.1]:58023 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NkLyG-0003P1-Lb for geh-help-gnu-emacs@m.gmane.org; Wed, 24 Feb 2010 13:28:28 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1NkLa1-0001Pv-Vw for help-gnu-emacs@gnu.org; Wed, 24 Feb 2010 13:03:26 -0500 Original-Received: from [140.186.70.92] (port=55720 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NkLa0-0001PB-R3 for help-gnu-emacs@gnu.org; Wed, 24 Feb 2010 13:03:25 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1NkLZz-0004AG-90 for help-gnu-emacs@gnu.org; Wed, 24 Feb 2010 13:03:24 -0500 Original-Received: from moutng.kundenserver.de ([212.227.17.10]:61945) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1NkLZy-00049l-E3 for help-gnu-emacs@gnu.org; Wed, 24 Feb 2010 13:03:22 -0500 Original-Received: from [192.168.178.27] (p54BEB567.dip0.t-ipconnect.de [84.190.181.103]) by mrelayeu.kundenserver.de (node=mrbap0) with ESMTP (Nemesis) id 0LgvCQ-1NNvO52XHa-00nY3f; Wed, 24 Feb 2010 19:03:20 +0100 User-Agent: Thunderbird 2.0.0.19 (X11/20081227) In-Reply-To: X-Provags-ID: V01U2FsdGVkX19jsNbzDe2KrVeHHO2UGgxcJtiQIYjuwh5RjJ0 ev4XmlYpZCU/oXzA6jK63p6PMweQPGHcxId5RlLZMeR0Sb7m+P FBdUV1fROdgRScv0Qnndxt/BglnR6z6ZASkPDe7Xow= X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. 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:72106 Archived-At: 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/