From mboxrd@z Thu Jan 1 00:00:00 1970 From: Andreas Leha Subject: Re: proposal to make C-c C-c not remove latex overlays Date: Wed, 16 Jul 2014 11:27:02 +0100 Message-ID: References: <87wqbf37it.fsf@andrew.cmu.edu> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:56456) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1X7MQc-0005fr-KO for emacs-orgmode@gnu.org; Wed, 16 Jul 2014 06:27:20 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1X7MQW-0002nL-HO for emacs-orgmode@gnu.org; Wed, 16 Jul 2014 06:27:14 -0400 Received: from plane.gmane.org ([80.91.229.3]:35868) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1X7MQW-0002ls-Ae for emacs-orgmode@gnu.org; Wed, 16 Jul 2014 06:27:08 -0400 Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1X7MQR-0003xf-Jw for emacs-orgmode@gnu.org; Wed, 16 Jul 2014 12:27:03 +0200 Received: from 193.63.222.28 ([193.63.222.28]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 16 Jul 2014 12:27:03 +0200 Received: from andreas.leha by 193.63.222.28 with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 16 Jul 2014 12:27:03 +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 Hi all, John Kitchin writes: > I am using org-mode files with equations and code blocks in lectures, > and it is problematic that C-c C-c removes the equation overlays when > running a code block. First, you have to press C-c C-c twice to run the > block, since the first one gets rid of the equations, but then you have > run C-c C-x C-l to get the equations back! and the cycle repeats > throughout a lecture. > > I would prefer that the equations stay untouched, and that the code > blocks run without modifying them. > > I think the best behavior would be for C-c C-x C-l to toggle the > equations, and to remove the C-c C-c behavior for latex overlays > completely. Since this thread focusses on work arounds and local customizations so far, let me just say, that I completely agree here. What is the reasoning behind the current key binding? Is there any benefit over using the same key binding to toggle the state? [...] Regards, Andreas