emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Leo Ufimtsev <lufimtse@redhat.com>
To: Sebastien Vauban <sva-news@mygooglest.com>
Cc: emacs-orgmode@gnu.org
Subject: Re: bug:? org babel updating images (C-c C-c) triggers "show as text" (C-c C-c) in imagemagick buffer.
Date: Mon, 11 May 2015 11:18:13 -0400 (EDT)	[thread overview]
Message-ID: <1833352958.12212588.1431357493734.JavaMail.zimbra@redhat.com> (raw)
In-Reply-To: <86fv74xj70.fsf@example.com>



----- Original Message -----
> From: "Sebastien Vauban" <sva-news@mygooglest.com>
> To: emacs-orgmode@gnu.org
> Sent: Sunday, May 10, 2015 4:37:39 PM
> Subject: Re: [O] bug:? org babel updating images (C-c C-c) triggers "show as	text" (C-c C-c) in imagemagick buffer.
> 
> Eric S Fraga wrote:
> > On Friday,  8 May 2015 at 15:22, Leo Ufimtsev wrote:
> >> I use org-babel to make graphviz diagrams in my notes.
> >>
> >> I open resulting images in the side panel via C-u C-c C-o (or right-click
> >> image).
> >> (See 20 screen shot)
> >>
> >> Now it shows the image fine at first.
> >>
> >> Then I run org-babel in the text buffer (on the left) to update the image
> >> on disk (C-c C-c).
> >> But for some reason, this also calls 'show as text' 'C-c C-c'
> >> (image-toggle-display) in the side panel and causes the image to look
> >> like bits of text.
> >>
> >> I then have to constantly go to the side panel to return it back to image.
> >> (C-c C-c).
> >>
> >> Sometimes I it happens after the 2nd update of the image. But eventually
> >> I'll see text.
> >
> > this happens to me all the time so it's nothing unique in your
> > configuration.  I also find it very annoying and would love to see a
> > solution.
> 
> IIUC, you should retrain yourselves to use other key bindings than the
> "do-it-all" C-c C-c.
> 
> For executing code, that's C-c C-v C-e (or e on the beginning of the
> code block -- speed key).

Thank you for the suggestion.

Unfortunately the C-c C-v C-e produces the same effect. 

It seems there's something else going on there :-/

Hmmm.

> For images, that's C-c C-x C-v.
> 
> In fact, I never use C-c C-c in Org. I've even customized:
> 
>   (setq org-babel-no-eval-on-ctrl-c-ctrl-c t)
> 
> to be sure to unlearn C-c C-c.
> 
> Best regards,
>   Seb
> 
> --
> Sebastien Vauban
> 
> 
> 

-- 
Leo Ufimtsev | Intern Software Engineer @ Eclipse Team

  parent reply	other threads:[~2015-05-11 15:18 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-05-08 10:01 Redefine key for sorting Igor Sosa Mayor
2015-05-08 15:42 ` Leo Ufimtsev
2015-05-09  8:09   ` Igor Sosa Mayor
2015-05-08 16:29 ` Jorge A. Alfaro-Murillo
2015-05-08 19:22   ` bug:? org babel updating images (C-c C-c) triggers "show as text" (C-c C-c) in imagemagick buffer Leo Ufimtsev
2015-05-10 12:45     ` Eric S Fraga
2015-05-10 20:37       ` Sebastien Vauban
2015-05-11  8:08         ` Eric S Fraga
2015-05-11 15:18         ` Leo Ufimtsev [this message]
2015-05-09  8:08   ` Redefine key for sorting Igor Sosa Mayor

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=1833352958.12212588.1431357493734.JavaMail.zimbra@redhat.com \
    --to=lufimtse@redhat.com \
    --cc=emacs-orgmode@gnu.org \
    --cc=sva-news@mygooglest.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).