Re: [O] function for inserting a block

2017-10-23 Thread Eric Abrahamsen
Nicolas Goaziou writes: > Hello, > > Eric Abrahamsen writes: > >> Kaushal Modi writes: >> >>> On Fri, Oct 20, 2017, 5:43 PM Kaushal Modi wrote: >> >> [...] >> >>> @Eric: I believe you were sort of

Re: [O] function for inserting a block

2017-10-23 Thread Eric Abrahamsen
Eric Abrahamsen writes: > Nicolas Goaziou writes: > >> Hello, >> >> Eric Abrahamsen writes: >> >>> Kaushal Modi writes: >>> On Fri, Oct 20, 2017, 5:43 PM Kaushal Modi

[O] exporting Racket images

2017-10-23 Thread Lawrence Bottorff
I'm using a nice package from a Racket user called MetaPict , however, I don't know how to export the image produced. Here's some Racket code calling MetaPict: #+begin_src scheme :session mainsession :exports both (require racket/draw metapict metapict/graph)

Re: [O] org-capture quitting and make-capture-frame

2017-10-23 Thread Nicolas Goaziou
Tyler Smith writes: > Quitting needs to do something that you can respond to, either with > a hook, an advised function or something else? I thought `org-capture-finalize' would be called anyway. But it isn't the case. > My proposal was just the first thing that I thought

Re: [O] org-capture quitting and make-capture-frame

2017-10-23 Thread Nicolas Goaziou
Hello, Tyler Smith writes: > Hi, > > I use org-capture with a new frame, so I can call it quickly when from > the OS (see > http://www.windley.com/archives/2010/12/capture_mode_and_emacs.shtml). > > This works well, except that if I quit a capture, the frame is left >

Re: [O] org-capture quitting and make-capture-frame

2017-10-23 Thread Tyler Smith
On Mon, Oct 23, 2017, at 04:03 PM, Nicolas Goaziou wrote: > > Wouldn't it make more sense to turn it into > > (message "Abort") > > ? After all, it is not an error. It also allow to call other functions, > e.g., `delete-frame' after exiting capture. > > WDYT? > I did think it was odd that

Re: [O] function for inserting a block

2017-10-23 Thread Kaushal Modi
On Fri, Oct 20, 2017, 5:43 PM Kaushal Modi wrote: > On Fri, Oct 20, 2017 at 5:15 PM Eric Abrahamsen > wrote: > >> The template really only inserts the block type, not anything specific >> like the source language or export backend. > > > Right,

Re: [O] Bug: c++ code block automatically adds comma [8.2.10 (release_8.2.10 @ c:/Users/Louis/home/bin/emacs-24.5/share/emacs/24.5/lisp/org/)]

2017-10-23 Thread Nicolas Goaziou
Hello, Michal Politowski writes: > Interesting, even if not very likely to hit anyone, that lines > intentionally starting with ,,* are not escaped and thus > lose one comma on the next edit. Could you provide an ECM? Regards, -- Nicolas Goaziou

Re: [O] Bug: c++ code block automatically adds comma [8.2.10 (release_8.2.10 @ c:/Users/Louis/home/bin/emacs-24.5/share/emacs/24.5/lisp/org/)]

2017-10-23 Thread Michal Politowski
On Sun, 22 Oct 2017 19:30:55 +0200, Nicolas Goaziou wrote: > Hello, > > Louis Strous writes: > > > When I edit a c++ code block using C-c ' and then finish the edit using > > C-c ' again, then org-mode sometimes adds a comma to the code. [...] > > Note the appearance of a

[O] Bug: Error during evaluation of C source blocks on remote machine [9.1.2 (9.1.2-15-g1d5142-elpa @ c:/Users/Ivan/.emacs.d/elpa/org-20171016/)]

2017-10-23 Thread trus19
Remember to cover the basics, that is, what you expected to happen and what in fact did happen. You don't know how to make a good report? See http://orgmode.org/manual/Feedback.html#Feedback Your bug report will be posted to the Org mailing list.

Re: [O] Bug: c++ code block automatically adds comma [8.2.10 (release_8.2.10 @ c:/Users/Louis/home/bin/emacs-24.5/share/emacs/24.5/lisp/org/)]

2017-10-23 Thread Michal Politowski
On Mon, 23 Oct 2017 12:15:29 +0200, Nicolas Goaziou wrote: > Hello, > > Michal Politowski writes: > > > Interesting, even if not very likely to hit anyone, that lines > > intentionally starting with ,,* are not escaped and thus > > lose one comma on the next edit. > > Could you

Re: [O] function for inserting a block

2017-10-23 Thread Carsten Dominik
On Mon, Oct 23, 2017 at 12:52 PM, Kaushal Modi wrote: > On Fri, Oct 20, 2017, 5:43 PM Kaushal Modi wrote: > >> On Fri, Oct 20, 2017 at 5:15 PM Eric Abrahamsen >> wrote: >> >>> The template really only inserts the block

[O] org-capture quitting and make-capture-frame

2017-10-23 Thread Tyler Smith
Hi, I use org-capture with a new frame, so I can call it quickly when from the OS (see http://www.windley.com/archives/2010/12/capture_mode_and_emacs.shtml). This works well, except that if I quit a capture, the frame is left hanging. I looked through the code, and this is due to org-capture

Re: [O] function for inserting a block

2017-10-23 Thread Nicolas Goaziou
Hello, Eric Abrahamsen writes: > Kaushal Modi writes: > >> On Fri, Oct 20, 2017, 5:43 PM Kaushal Modi wrote: > > [...] > >> @Eric: I believe you were sort of onboard with this suggestion, just gated >> by a doubt if

Re: [O] function for inserting a block

2017-10-23 Thread Kaushal Modi
On Mon, Oct 23, 2017 at 10:00 AM Carsten Dominik wrote: > I am not sure I understand, at least with transient-region turned on. > Typing You're correct. > Or do you mean to actually put "<" into a keymap? > I actually do that in my personal config .. Maybe binding "<" in org

Re: [O] function for inserting a block

2017-10-23 Thread Eric Abrahamsen
Kaushal Modi writes: > On Fri, Oct 20, 2017, 5:43 PM Kaushal Modi wrote: [...] > @Eric: I believe you were sort of onboard with this suggestion, just gated by > a doubt if this actually can make into master. In principle yes, I agree it's odd