Re: [O] proposal to make C-c C-c not remove latex overlays

2014-08-01 Thread Bastien
Hi Charles, Charles Berry ccbe...@ucsd.edu writes: The docstring for `org-preview-latex-fragment' still says: The images can be removed again with \\[org-ctrl-c-ctrl-c]. Maybe change that to \\[org-preview-latex-fragment]? Fixed, thanks. `org-preview-latex-fragment' is now named

Re: [O] proposal to make C-c C-c not remove latex overlays

2014-07-31 Thread Charles Berry
Bastien bzg at gnu.org writes: Hi Nick, Nick Dokos ndokos at gmail.com writes: getting rid of just latex fragment undoing in org-ctrl-c-ctrl-c and toggling with C-c C-x C-l is probably the best solution. Agreed, this is the case now in master. The docstring for

Re: [O] proposal to make C-c C-c not remove latex overlays

2014-07-28 Thread Sebastien Vauban
Aaron Ecay wrote: I don’t have a comment on the substance of the proposal, but rather two suggestions for workarounds. The first is to use the C-c C-v C-e binding to execute source blocks rather than C-c C-c. Or even `e' if: - on the first character of the #+begin_src keyword, and - speed

Re: [O] proposal to make C-c C-c not remove latex overlays

2014-07-28 Thread Bastien
Hi Nick, Nick Dokos ndo...@gmail.com writes: getting rid of just latex fragment undoing in org-ctrl-c-ctrl-c and toggling with C-c C-x C-l is probably the best solution. Agreed, this is the case now in master. It probably would be a good idea to make the handling of clock overlays similar

Re: [O] proposal to make C-c C-c not remove latex overlays

2014-07-16 Thread Andreas Leha
Hi all, John Kitchin jkitc...@andrew.cmu.edu 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

Re: [O] proposal to make C-c C-c not remove latex overlays

2014-07-16 Thread Nick Dokos
Andreas Leha andreas.l...@med.uni-goettingen.de writes: Hi all, John Kitchin jkitc...@andrew.cmu.edu 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

Re: [O] proposal to make C-c C-c not remove latex overlays

2014-07-16 Thread John Kitchin
That is nice. For those of us using windows sometimes, you can kind of get super and hyper keys (see http://ergoemacs.org/emacs/emacs_hyper_super_keys.html). Although, without also using autohotkey, your super keys are limited because windows uses some of them (e.g.s-e launches explorer). H-e

Re: [O] proposal to make C-c C-c not remove latex overlays

2014-07-16 Thread John Kitchin
DOH! thanks, that is exactly what I forgot to do. This works fine after you activate it! Thanks. Nick Dokos ndo...@gmail.com writes: John Kitchin jkitc...@andrew.cmu.edu writes: Aaron Ecay aarone...@gmail.com writes: Thanks for the advice idea, that is a nice one. It doesn't work for me

Re: [O] proposal to make C-c C-c not remove latex overlays

2014-07-16 Thread John Kitchin
I favor the toggling behavior. There is an org-ctrl-c-ctrl-c-hook variable that can always have functions in it that keep the current behavior, but that can be removed if they are not desired. John Nick Dokos ndo...@gmail.com writes: Andreas Leha andreas.l...@med.uni-goettingen.de writes: Hi

Re: [O] proposal to make C-c C-c not remove latex overlays

2014-07-15 Thread John Kitchin
I actually love C-c C-c to run code blocks! Maybe I should just bind it to f5 or something, I am just so used to C-cC-c now! Grant Rettke g...@wisdomandwonder.com writes: On Mon, Jul 14, 2014 at 7:33 PM, Aaron Ecay aarone...@gmail.com wrote: The first is to use the C-c C-v C-e binding to

Re: [O] proposal to make C-c C-c not remove latex overlays

2014-07-15 Thread John Kitchin
Aaron Ecay aarone...@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))

Re: [O] proposal to make C-c C-c not remove latex overlays

2014-07-15 Thread Nick Dokos
John Kitchin jkitc...@andrew.cmu.edu writes: Aaron Ecay aarone...@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

Re: [O] proposal to make C-c C-c not remove latex overlays

2014-07-15 Thread Grant Rettke
C-c C-v C-e might seem like a lot but it nice to have control and be sure when code is getting evaluated. That said, I do have a more obvious one using super which is indeed, super: (local-set-key (kbd s-t) 'org-babel-tangle) (local-set-key (kbd s-e) 'org-babel-execute-maybe) Grant Rettke | ACM,

[O] proposal to make C-c C-c not remove latex overlays

2014-07-14 Thread John Kitchin
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

Re: [O] proposal to make C-c C-c not remove latex overlays

2014-07-14 Thread Aaron Ecay
Hi John, 2014ko uztailak 14an, John Kitchin-ek idatzi zuen: 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

Re: [O] proposal to make C-c C-c not remove latex overlays

2014-07-14 Thread Grant Rettke
On Mon, Jul 14, 2014 at 7:33 PM, Aaron Ecay aarone...@gmail.com wrote: The first is to use the C-c C-v C-e binding to execute source blocks rather than C-c C-c. Like this? (setq org-babel-no-eval-on-ctrl-c-ctrl-c +1)