From mboxrd@z Thu Jan 1 00:00:00 1970 From: Tobias Getzner Subject: =?UTF-8?B?UmU6IEJ1ZzogTGFUZVggZXhwb3J0IHByb2R1Y2VzIG5vIG91dHB1?= =?UTF-8?B?dDsgY2xvYmJlcmluZyBrZXliaW5kaW5ncyBbOC4yLjdjKDguMi43Yy02NC1n?= =?UTF-8?B?MDFmNzM2LWVscGFAL2hvbWUvdGJnLy5lbWFjcy5kL2VscGEvb3JnLTIwMTQw?= =?UTF-8?B?OTE1Lyld?= Date: Tue, 23 Sep 2014 08:41:43 +0000 (UTC) Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:58284) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XWMHy-00009v-H7 for emacs-orgmode@gnu.org; Tue, 23 Sep 2014 05:21:44 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XWMHs-0007Hq-9Y for emacs-orgmode@gnu.org; Tue, 23 Sep 2014 05:21:38 -0400 Received: from plane.gmane.org ([80.91.229.3]:46489) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XWMHs-0007HT-3R for emacs-orgmode@gnu.org; Tue, 23 Sep 2014 05:21:32 -0400 Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1XWM2N-0003NF-K5 for emacs-orgmode@gnu.org; Tue, 23 Sep 2014 11:05:31 +0200 Received: from glenalbyn.linguistics.ruhr-uni-bochum.de ([134.147.14.84]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 23 Sep 2014 11:05:31 +0200 Received: from tobias.getzner by glenalbyn.linguistics.ruhr-uni-bochum.de with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 23 Sep 2014 11:05:31 +0200 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 On Wed, 17 Sep 2014 09:29:48 +0000, Tobias Getzner wrote: > On Wed, 17 Sep 2014 08:27:21 +0000, Tobias Getzner wrote: > >> When using LaTeX-based export targets that produce a .tex file as output >> (export to LaTeX file, PDF, PDF and open), I receive the message «Buffer >> foo.tex modified; kill anyway?». Irrespective of whether I answer y/n, >> no .tex file is produced, and «latexmk» fails with «no such file». >> >> 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. g., issuing another «C-c >> C-e» after attempting a LaTeX export no longer invokes the export menu, >> but is now bound to the command «LaTeX-enviroment». > > I seem to have located the trigger. Inter alia, my TeX-mode-hook invokes > «(TeX-source-correlate-mode)» which sets a variable so that synctex files > are generated when running AucTeX commands. When this command is removed, > exporting to .tex files appears to work again and the keybindings remain > unchanged after export. Is this a bug, or is some configuration required > to make org-mode not trip over the TeX-mode hook? This behavior seems to be related to [1] in that it only triggers when follow-mode is used. I’ve noticed I can keep my TeX-mode-hook unchanged if I disable follow-mode. I contrast to [1], no interaction with aliasing yes-or-no-p to y-or-n-p seemed to be present, though. [1] http://article.gmane.org/gmane.emacs.orgmode/91006