emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: John Kitchin <jkitchin@andrew.cmu.edu>
To: Nick Dokos <ndokos@gmail.com>
Cc: emacs-orgmode@gnu.org
Subject: Re: proposal to make C-c C-c not remove latex overlays
Date: Wed, 16 Jul 2014 09:26:33 -0400	[thread overview]
Message-ID: <851ttla0za.fsf@andrew.cmu.edu> (raw)
In-Reply-To: <87fvi25j6u.fsf@alphaville.bos.redhat.com> (Nick Dokos's message of "Tue, 15 Jul 2014 18:52:09 -0400")

DOH! thanks, that is exactly what I forgot to do. This works fine after
you activate it! Thanks.

Nick Dokos <ndokos@gmail.com> writes:

> John Kitchin <jkitchin@andrew.cmu.edu> writes:
>
>> Aaron Ecay <aaronecay@gmail.com> 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

  reply	other threads:[~2014-07-16 13:26 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-07-14 22:22 proposal to make C-c C-c not remove latex overlays John Kitchin
2014-07-15  0:33 ` Aaron Ecay
2014-07-15  2:04   ` Grant Rettke
2014-07-15 21:00     ` John Kitchin
2014-07-16  1:28       ` Grant Rettke
2014-07-16 12:45         ` John Kitchin
2014-07-15 21:13   ` John Kitchin
2014-07-15 22:52     ` Nick Dokos
2014-07-16 13:26       ` John Kitchin [this message]
2014-07-28 15:27   ` Sebastien Vauban
2014-07-16 10:27 ` Andreas Leha
2014-07-16 11:31   ` Nick Dokos
2014-07-16 13:29     ` John Kitchin
2014-07-27 17:47     ` Bastien
2014-07-31 21:49       ` Charles Berry
2014-08-01 11:53         ` Bastien

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=851ttla0za.fsf@andrew.cmu.edu \
    --to=jkitchin@andrew.cmu.edu \
    --cc=emacs-orgmode@gnu.org \
    --cc=ndokos@gmail.com \
    /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).