emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Tobias Getzner <tobias.getzner@gmx.de>
To: Nicolas Goaziou <mail@nicolasgoaziou.fr>
Cc: emacs-orgmode@gnu.org
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	[thread overview]
Message-ID: <1412246279.7470.5.camel@gmx.de> (raw)
In-Reply-To: <87a95jwh1p.fsf@nicolasgoaziou.fr>

Hello Nicolas,

On So, 2014-09-28 at 23:50 +0200, Nicolas Goaziou wrote:
> Hello,
> 
> Tobias Getzner <tobias.getzner@gmx.de> writes:
> 
> > 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».
> 
> Try killing "foo.tex" beforehand.

The foo.tex buffer was produced during the export (even when no «export
to buffer» 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. 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». Actions such as
> > «fill-paragraph» also no longer work the way they usually work in
> > org-mode. The mode-line still reports «Org» as the major mode, though.
> > To get the expected commands back, I have to invoke «M-x org-mode».
> 
> I cannot reproduce it. Did you find anything new?
> 
> 
> Regards,
> 

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
«(TeX-source-correlate-mode)» is hooked into TeX-mode-hook. In contrast
to [2], aliasing «yes-or-no-p» to «y-or-n-p» does not seem 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

      reply	other threads:[~2014-10-02 10:38 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-09-17  8:27 Bug: LaTeX export produces no output; clobbering keybindings [8.2.7c (8.2.7c-64-g01f736-elpa @/home/tbg/.emacs.d/elpa/org-20140915/)] Tobias Getzner
2014-09-17  9:29 ` Bug: LaTeX export produces no output; clobbering keybindings [8.2.7c (8.2.7c-64-g01f736-elpa@/home/tbg/.emacs.d/elpa/org-20140915/)] Tobias Getzner
2014-09-23  8:41   ` Bug: LaTeX export produces no output; clobbering keybindings [8.2.7c(8.2.7c-64-g01f736-elpa@/home/tbg/.emacs.d/elpa/org-20140915/)] Tobias Getzner
2014-09-28 21:50 ` Bug: LaTeX export produces no output; clobbering keybindings [8.2.7c (8.2.7c-64-g01f736-elpa @/home/tbg/.emacs.d/elpa/org-20140915/)] Nicolas Goaziou
2014-10-02 10:37   ` Tobias Getzner [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1412246279.7470.5.camel@gmx.de \
    --to=tobias.getzner@gmx.de \
    --cc=emacs-orgmode@gnu.org \
    --cc=mail@nicolasgoaziou.fr \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).