From mboxrd@z Thu Jan 1 00:00:00 1970 From: Tobias Getzner Subject: Re: Bug: LaTeX export produces no output; clobbering keybindings [8.2.7c (8.2.7c-64-g01f736-elpa @/home/tbg/.emacs.d/elpa/org-20140915/)] Date: Thu, 02 Oct 2014 12:37:59 +0200 Message-ID: <1412246279.7470.5.camel@gmx.de> References: <87a95jwh1p.fsf@nicolasgoaziou.fr> Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:40880) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XZdlv-0004sH-ET for emacs-orgmode@gnu.org; Thu, 02 Oct 2014 06:38:12 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XZdlq-00014i-3D for emacs-orgmode@gnu.org; Thu, 02 Oct 2014 06:38:07 -0400 Received: from mout.gmx.net ([212.227.17.20]:55549) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XZdlp-00014a-Pk for emacs-orgmode@gnu.org; Thu, 02 Oct 2014 06:38:02 -0400 In-Reply-To: <87a95jwh1p.fsf@nicolasgoaziou.fr> 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: Nicolas Goaziou Cc: emacs-orgmode@gnu.org Hello Nicolas, On So, 2014-09-28 at 23:50 +0200, Nicolas Goaziou wrote: > Hello, >=20 > Tobias Getzner writes: >=20 > > When using LaTeX-based export targets that produce a .tex file as outpu= t > > (export to LaTeX file, PDF, PDF and open), I receive the message =C2=AB= Buffer > > foo.tex modified; kill anyway?=C2=BB. Irrespective of whether I answer = y/n, > > no .tex file is produced, and =C2=ABlatexmk=C2=BB fails with =C2=ABno s= uch file=C2=BB. >=20 > Try killing "foo.tex" beforehand. The foo.tex buffer was produced during the export (even when no =C2=ABexpor= t to buffer=C2=BB is done), so I cannot kill it beforehand. > > Both after issuing the file-producing exports, and when issuing > > exports to buffer only (export to LaTeX buffer), the keybindings in the > > original org-mode buffer become garbled; e.=E2=80=AFg., issuing another= =C2=ABC-c > > C-e=C2=BB after attempting a LaTeX export no longer invokes the export = menu, > > but is now bound to the command =C2=ABLaTeX-enviroment=C2=BB. Actions s= uch as > > =C2=ABfill-paragraph=C2=BB also no longer work the way they usually wor= k in > > org-mode. The mode-line still reports =C2=ABOrg=C2=BB as the major mode= , though. > > To get the expected commands back, I have to invoke =C2=ABM-x org-mode= =C2=BB. >=20 > I cannot reproduce it. Did you find anything new? >=20 >=20 > Regards, >=20 Cf. my follow up at [1]. The issue seems to be related to the issue (reported at [2]) when using org-mode together with follow-mode. It should be reproducible when follow-mode is used and =C2=AB(TeX-source-correlate-mode)=C2=BB is hooked into TeX-mode-hook. In co= ntrast to [2], aliasing =C2=AByes-or-no-p=C2=BB to =C2=ABy-or-n-p=C2=BB does not s= eem to make a difference, though. For the time being I had to disable follow-mode to be able to do exports and eval code blocks. Best regards, T. [1] http://article.gmane.org/gmane.emacs.orgmode/91009 [2] http://article.gmane.org/gmane.emacs.orgmode/90981