From mboxrd@z Thu Jan 1 00:00:00 1970 From: Suvayu Ali Subject: Re: Predictive for Latex in org-mode Date: Tue, 5 Mar 2013 10:51:26 +0100 Message-ID: <20130305095126.GI7544@kuru.dyndns-at-home.com> References: <87ip56i3jc.fsf@bzg.ath.cx> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Received: from eggs.gnu.org ([208.118.235.92]:34452) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UCoX1-0003Jv-Jm for emacs-orgmode@gnu.org; Tue, 05 Mar 2013 04:51:40 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UCoWy-00069J-VN for emacs-orgmode@gnu.org; Tue, 05 Mar 2013 04:51:35 -0500 Received: from mail-wg0-f54.google.com ([74.125.82.54]:52856) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UCoWy-00069A-Lc for emacs-orgmode@gnu.org; Tue, 05 Mar 2013 04:51:32 -0500 Received: by mail-wg0-f54.google.com with SMTP id fm10so5246039wgb.33 for ; Tue, 05 Mar 2013 01:51:31 -0800 (PST) Content-Disposition: inline In-Reply-To: <87ip56i3jc.fsf@bzg.ath.cx> List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: emacs-orgmode@gnu.org Hi Bastien and Sanjib, On Tue, Mar 05, 2013 at 10:44:55AM +0100, Bastien wrote: > Hi Sanjib, > > Sanjib Sikder writes: > > > I have installed "Predictive" package. It is working fine for normal > > English words while working in org-mode. When I am writing few latex > > codes in org-mode, it is not suggesting latex keywords it seems. I > > have added the following in .emacs. > > I'm not sure I understand the problem: isn't the purpose of the > predictive package to suggest keywords depending on the context? > If so, why is it a problem that predictive suggests LaTeX keywords? > Do you mean: "once I write some LaTeX keywords in an org-mode buffer, > it only suggests LaTeX keywords (and no english words) for the rest > of the session?" > I think what he means is that predictive _does not_ suggest LaTeX keywords inside an org-mode buffer. I do not know how predictive works, but if it is dependent on the major mode to offer suggestions, then it will fail suggesting LaTeX keywords in Org mode. This particular feature of Org mode, allowing LaTeX commands natively is somewhat of a quirk. Hope this helps, -- Suvayu Open source is the future. It sets us free.