Re: [O] Predictive for Latex in org-mode

2013-03-05 Thread Sanjib Sikder
Dear Bastien, The error > Wrong type argument: listp, t was due to the following line (add-hook 'org-mode-hook 'predictive-mode) which was there in the .emacs file. While predictive mode is on [without (add-hook 'org-mode-hook 'predictive-mode) in .emacs] in org-mode buffer, C-c C-e p produce

Re: [O] Predictive for Latex in org-mode

2013-03-05 Thread Sanjib Sikder
Dear Bastien, > (add-to-list 'predictive-major-mode-alist '(org-mode . predictive-setup-latex)) This works for latex keyword suggestion in org-mode buffer but while trying to pdf export, I am getting the following error. Wrong type argument: listp, t Thanks ---

Re: [O] Predictive for Latex in org-mode

2013-03-05 Thread Sanjib Sikder
Hi Bastien, >(add-to-list 'predictive-major-mode-alist '(org-mode . predictive-setup-latex)) This one works :) Thanks a lot. --- Sanjib Sikder

Re: [O] Predictive for Latex in org-mode

2013-03-05 Thread Bastien
Hi Sanjib, Sanjib Sikder writes: > Yes, exactly, I wanted to mean this. Maybe: (add-to-list 'predictive-major-mode-alist '(org-mode . predictive-setup-latex)) Or (add-hook 'org-mode-hook 'predictive-setup-latex) Toby is on this list, he'll perhaps confirm/correct. Another idea

Re: [O] Predictive for Latex in org-mode

2013-03-05 Thread Sanjib Sikder
Hi Suvayu, > I think what he means is that predictive _does not_ suggest LaTeX keywords inside an org-mode buffer. Yes, exactly, I wanted to mean this. Thanks - *Sanjib Sikder *

Re: [O] Predictive for Latex in org-mode

2013-03-05 Thread Sanjib Sikder
Hi Bastien, > 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 am writing my thesis in org-mode. My thesis consists of equations. So in my thesis.org file, I have latex codes also. I do la

Re: [O] Predictive for Latex in org-mode

2013-03-05 Thread Suvayu Ali
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

Re: [O] Predictive for Latex in org-mode

2013-03-05 Thread Bastien
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