[O] Bug: org-preview-latex-fragment fails to render in remote files (TRAMP) [8.2.10 (release_8.2.10 @ /usr/local/Cellar/emacs/24.4/share/emacs/24.4/lisp/org/)]

2015-03-05 Thread Dustin Paluch
Here's what DOES WORK: Open a local org file, type in a latex fragment like \[1 + 2 = 3\], then hit C-c C-x C-l. The fragment is replaced with a png as expected. Here's what DOESN'T WORK: Open a remote org file via C-x C-f /ssh:user@host:/path/to/file.org RET, enter the same latex fragment,

Re: [O] Making 'mailto' org links use gnus styles

2015-03-05 Thread Bob Newell
Rasmus ras...@gmx.us writes: Have you configured mail-user-agent? mail-user-agent was set to message-user-agent. Changing it to gnus-user-agent solved the problem within org-mode, so for the purposes of this mailing list, your idea is excellent. Thanks! -- Bob Newell Honolulu, Hawai`i * Sent

Re: [O] Re-marking agenda entries, with advice on org-agenda-bulk-action in .emacs

2015-03-05 Thread Robert Pluim
Bastien b...@altern.org writes: netty hacky netty.ha...@gmail.com writes: The issue of re-marking agenda entries has been raised before: http://lists.gnu.org/archive/html/emacs-orgmode/2011-02/msg00200.html From latest master, you can (setq org-agenda-persistent-marks t) to get persistent

[O] Bug: org-habit treats all repeat tasks as .+ type [7.9.3f (release_7.9.3f-17-g7524ef @ /usr/share/emacs/24.3/lisp/org/)]

2015-03-05 Thread 何利勇
It looks like org-habit only handle the .+ repeater correctly, though the document says it supports .+, ++ and +. For example, when create agenda for the following org content. * TODO Test_+ SCHEDULED: 2015-03-02 Mon +1w - State DONE from TODO [2015-02-23 Mon 10:56] - State DONE

Re: [O] Bug: org-preview-latex-fragment fails to render in remote files (TRAMP) [8.2.10 (release_8.2.10 @ /usr/local/Cellar/emacs/24.4/share/emacs/24.4/lisp/org/)]

2015-03-05 Thread Rasmus
Nick Dokos ndo...@gmail.com writes: Dustin Paluch dustinpal...@gmail.com writes: Here's what DOES WORK: Open a local org file, type in a latex fragment like \[1 + 2 = 3\], then hit C-c C-x C-l. The fragment is replaced with a png as expected. Here's what DOESN'T WORK: Open a remote org

[O] [ox-ascii, bug?] aligning text withing footnotes

2015-03-05 Thread Rasmus
Hi, When writing plain text I might write something like: See foo[fn:1] [fn:1] http://orgmode.org/\\ http://www.gnu.org/software/emacs/ This is exported as: See foo[1] Footnotes ─ [1] [http://orgmode.org/] [http://www.gnu.org/software/emacs/] I would like to have

Re: [O] Bug: org-preview-latex-fragment fails to render in remote files (TRAMP) [8.2.10 (release_8.2.10 @ /usr/local/Cellar/emacs/24.4/share/emacs/24.4/lisp/org/)]

2015-03-05 Thread Nick Dokos
Dustin Paluch dustinpal...@gmail.com writes: Here's what DOES WORK: Open a local org file, type in a latex fragment like \[1 + 2 = 3\], then hit C-c C-x C-l. The fragment is replaced with a png as expected. Here's what DOESN'T WORK: Open a remote org file via C-x C-f

[O] [ox-ascii, bug?] links are wrapped in [·]

2015-03-05 Thread Rasmus
Hi, Try the following: (with-temp-buffer (require 'ox-ascii) (insert http://orgmode.org;) (org-ascii-export-as-ascii nil nil nil t)) This will output [http://orgmode.org]. I don't think that www-links should be treated the same as random links here. Maybe we could check the raw link

[O] Error when running org-babel-tangle

2015-03-05 Thread Richard Stanton
I’m experimenting with tangling files in org-mode, and have found that certain files cause org-babel-tangle to die with an error (Org-mode version 8.3beta (release_8.3beta-884-g9ed426). Here’s a small example: * Sample code #+BEGIN_SRC makefile :tangle makefile-main circle:

Re: [O] Emacs unresponsive while executing Sh code block

2015-03-05 Thread Alexis
On 2015-03-06T05:40:33+1100, Giacomo M jackja...@gmail.com said: GM Dear all, GM when I C-c C-c in: #+BEGIN_SRC sh gnome-terminal #+END_SRC GM a gnome-terminal window appears, but Emacs hangs until I close GM it. In the *Messages* I get: GM executing Sh code block... Wrote GM

Re: [O] refiling with helm

2015-03-05 Thread Alexis
On 2015-03-06T02:13:41+1100, Leo Ufimtsev lufim...@redhat.com said: LU Hello Xebar, LU I had the same issue. I used the file-expand-wildcards function LU to make a list of all my org-mode files. LU The only thing is that I have to reload my .emacs when adding org LU files for refile to

Re: [O] What to use for tables with lengthy text in cells?

2015-03-05 Thread Skip Collins
Here's another suggestion. There could be an optional org table mode in which horizontal lines are used to separate rows: | Lorem ipsum dolor sit amet, | foo | | consectetur adipiscing elit. Sed| | | sit amet luctus sapien. Phasellus | | | malesuada, ipsum et hendrerit

Re: [O] What to use for tables with lengthy text in cells?

2015-03-05 Thread Tory S. Anderson
Not a bad idea, but this would be incompatible with the existing useof horizontal lines to separate sections and export to visual lines, right? Skip Collins skip.coll...@gmail.com writes: Here's another suggestion. There could be an optional org table mode in which horizontal lines are used

Re: [O] What to use for tables with lengthy text in cells?

2015-03-05 Thread Skip Collins
Yes, it would be incompatible. But there could be a mechanism to enable the multi-line mode on a per-table basis. For display and grouping purposes, horizontal lines could still be allowed by adding two consecutive lines: |-+-|

Re: [O] Capturing output from C/C++

2015-03-05 Thread John Kitchin
I think you need to tangle the file, compile it and run the executable in a shell block. Here is a Fortran example: http://kitchingroup.cheme.cmu.edu/blog/2014/02/04/Literate-programming-example-with-Fortran-and-org-mode/ I have done similar things with C, java, etc... before. I don't know of

Re: [O] Capturing output from C/C++

2015-03-05 Thread Thierry Banel
It might be due to the return 1; statement. Change it to return 0; and try again. Le 05/03/2015 17:27, Roger Mason a écrit : Hello, I have a short C++ program: #+BEGIN_SRC cpp :flags -lm :results output #include iostream #include fstream #include cmath // for ceil #include

Re: [O] Embedding diagrams in Org

2015-03-05 Thread Sebastien Vauban
Charles C. Berry wrote: Why :results latex raw and not :results latex? I have no idea ;-) I find, unfortunately, that getting babel to do what I want is somewhat of an arcane art (for me) so once I get something doing what I want it to do, I leave things alone... `:results latex raw' is

Re: [O] Embedding diagrams in Org

2015-03-05 Thread Eric S Fraga
On Wednesday, 4 Mar 2015 at 21:22, Andreas Leha wrote: [...] The example I posted earlier in this thread [1] uses the *.tikz version for latex export. [...] [1] http://permalink.gmane.org/gmane.emacs.orgmode/95197 I had forgotten about that thread. Very useful, in particular finding an

Re: [O] lots of CLOCK lines displayed when opening a TODO

2015-03-05 Thread Loris Bennett
Rainer Stengele rainer.steng...@online.de writes: Hi! I have lots of weekly reoccuring meetings and do collect the clocked time for each meeting. After a while I have lots of CLOCK lines. Opening the TODO shows all the CLOCK lines shown, but my focus is on text below the CLOCK lines. I

[O] Capturing output from C/C++

2015-03-05 Thread Roger Mason
Hello, I have a short C++ program: #+BEGIN_SRC cpp :flags -lm :results output #include iostream #include fstream #include cmath// for ceil #include cstdlib // for atof double f (double fv, double o, int i) { return fv / 2.0 + (1.0 - o) * fv * i; } int num

Re: [O] clocktables include \emsp - how to get rid of that?

2015-03-05 Thread Leo Ufimtsev
Hello Rainer, I think this should be customiziable. I hacked around it using an advise function: ; remove the emsp from clock reports ; http://emacs.stackexchange.com/questions/9528/is-it-possible-to-remove-emsp-from-clock-report-but-preserve-indentation/9544#9544 (defun

[O] Hotkeys don't match menu for 'view as fortnight'

2015-03-05 Thread J. David Boyd
The Agenda menu says, to view the agenda as a fortnight, use 'vf'. That puts my agenda into follow mode. But if I press 'v' and wait, I am shown that fortnight mode is 't'. So the menu should say to view fortnight use 'vt'. Dave

Re: [O] refiling with helm

2015-03-05 Thread Leo Ufimtsev
Hello Xebar, I had the same issue. I used the file-expand-wildcards function to make a list of all my org-mode files. The only thing is that I have to reload my .emacs when adding org files for refile to work properly. (setq myvar/org-dir ~/git/LeoUfimtsev.github.io/org/) (setq

Re: [O] What to use for tables with lengthy text in cells?

2015-03-05 Thread Jude DaShiell
Why not do it this way? An org table gets a second file created along with it. That second file holds all writing going into the table. That second file has a link for each cell too. All links point to the original org table file and each entry in the second file at its end has a return

Re: [O] lots of CLOCK lines displayed when opening a TODO

2015-03-05 Thread Leo Ufimtsev
My Log book drawers are hidden when entries expand. But I mapped my C-S-TAB to expand logbook drawers so I can peak into them. (see snippet below). I log everything into the logbook. Clocktimes, state changes, dated notes when I put an item on hold. I found it too tedious to move things

[O] Emacs unresponsive while executing Sh code block

2015-03-05 Thread Giacomo M
Dear all, when I C-c C-c in: #+BEGIN_SRC sh gnome-terminal #+END_SRC a gnome-terminal window appears, but Emacs hangs until I close it. In the *Messages* I get: executing Sh code block... Wrote /tmp/babel-2307H-J/ob-input-2307i3c (here Emacs hangs... then I close gnome-terminal) Error

Re: [O] Capturing output from C/C++

2015-03-05 Thread Nick Dokos
Roger Mason rma...@mun.ca writes: Hello, I have a short C++ program: #+BEGIN_SRC cpp :flags -lm :results output #include iostream #include fstream #include cmath // for ceil #include cstdlib// for atof double f (double fv, double o, int i) { return fv /

Re: [O] org.css for mobile-friendly

2015-03-05 Thread Sebastien Vauban
OSiUX wrote: El mié, 04 mar 2015, Rasmus decía: OSiUX xu...@osiux.com.ar writes: Testing my blog [0] (org-mode publish) in mobile-friendly [1] obtain bad result. :( Same result for orgmode.org, maybe somebody have better CSS for org-mode export? thanks! [0] http://osiux.com [1]

Re: [O] Emacs unresponsive while executing Sh code block

2015-03-05 Thread Nick Dokos
Giacomo M jackja...@gmail.com writes: Dear all, when I C-c C-c in: #+BEGIN_SRC sh gnome-terminal #+END_SRC a gnome-terminal window appears, but  Emacs hangs until I close it. In the *Messages* I get: executing Sh code block... Wrote /tmp/babel-2307H-J/ob-input-2307i3c (here Emacs

Re: [O] Emacs unresponsive while executing Sh code block

2015-03-05 Thread Nick Dokos
Giacomo M jackja...@gmail.com writes: Dear all, when I C-c C-c in: #+BEGIN_SRC sh gnome-terminal #+END_SRC One additional note - you can start the gnome-terminal process in the background: #+BEGIN_SRC sh gnome-terminal #+END_SRC The shell will not wait for the process to finish and

Re: [O] Error when running org-babel-tangle

2015-03-05 Thread Charles C. Berry
On Thu, 5 Mar 2015, Richard Stanton wrote: I’m experimenting with tangling files in org-mode, and have found that certain files cause org-babel-tangle to ie with an error (Org-mode version 8.3beta (release_8.3beta-884-g9ed426). Here’s a small example: * Sample code

Re: [O] Error when running org-babel-tangle

2015-03-05 Thread Charles C. Berry
On Thu, 5 Mar 2015, Charles C. Berry wrote: On Thu, 5 Mar 2015, Richard Stanton wrote: I’m experimenting with tangling files in org-mode, and have found that certain files cause org-babel-tangle to ie with an error (Org-mode version 8.3beta (release_8.3beta-884-g9ed426). Here’s a small

Re: [O] Error when running org-babel-tangle

2015-03-05 Thread Richard Stanton
Aha! Thanks, Chuck. On Mar 5, 2015, at 5:08 PM, Charles C. Berry ccbe...@ucsd.edu wrote: On Thu, 5 Mar 2015, Richard Stanton wrote: I’m experimenting with tangling files in org-mode, and have found that certain files cause org-babel-tangle to ie with an error (Org-mode version 8.3beta