From mboxrd@z Thu Jan 1 00:00:00 1970 From: John Kitchin Subject: Re: proposal to make C-c C-c not remove latex overlays Date: Wed, 16 Jul 2014 09:26:33 -0400 Message-ID: <851ttla0za.fsf@andrew.cmu.edu> References: <87wqbf37it.fsf@andrew.cmu.edu> <87k37fa2a5.fsf@gmail.com> <85zjgaxr4u.fsf@andrew.cmu.edu> <87fvi25j6u.fsf@alphaville.bos.redhat.com> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:38428) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1X7PDn-00072y-AO for emacs-orgmode@gnu.org; Wed, 16 Jul 2014 09:26:17 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1X7PDh-0008E3-Ls for emacs-orgmode@gnu.org; Wed, 16 Jul 2014 09:26:11 -0400 Received: from mail-qa0-x22a.google.com ([2607:f8b0:400d:c00::22a]:35581) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1X7PDh-0008Dv-I5 for emacs-orgmode@gnu.org; Wed, 16 Jul 2014 09:26:05 -0400 Received: by mail-qa0-f42.google.com with SMTP id j15so706923qaq.1 for ; Wed, 16 Jul 2014 06:26:05 -0700 (PDT) In-Reply-To: <87fvi25j6u.fsf@alphaville.bos.redhat.com> (Nick Dokos's message of "Tue, 15 Jul 2014 18:52:09 -0400") 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: Nick Dokos Cc: emacs-orgmode@gnu.org DOH! thanks, that is exactly what I forgot to do. This works fine after you activate it! Thanks. Nick Dokos writes: > John Kitchin writes: > >> Aaron Ecay writes: >> >> Thanks for the advice idea, that is a nice one. It doesn't work for me >> like this though: >> >> #+BEGIN_SRC emacs-lisp >> (defadvice org-ctrl-c-ctrl-c (around latex-overlays) >> "ignore latex overlays in C-cC-c" >> (let ((org-latex-fragment-image-overlays nil)) >> ad-do-it)) >> #+END_SRC >> >> maybe because that is a buffer local variable? >> > > You probably forgot to activate it: > > (ad-activate 'org-ctrl-c-ctrl-c) -- ----------------------------------- John Kitchin Professor Doherty Hall A207F Department of Chemical Engineering Carnegie Mellon University Pittsburgh, PA 15213 412-268-7803 http://kitchingroup.cheme.cmu.edu