Re: [O] saving state of buffer

2013-03-21 Thread Rainer M Krug
variable org-show-siblings and set a >> special context >> for bookmark-jump. This will work for both saveplace and bookmarks. >> >> Org-mode has very precise control for situations when a jump into invisible >> text happens, for >> example by isearch or by bookma

Re: [O] saving state of buffer

2013-03-21 Thread Rainer M Krug
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 21/03/13 12:38, Carsten Dominik wrote: > > On 21 mrt. 2013, at 12:25, Rainer M Krug wrote: > > On 21/03/13 12:02, Carsten Dominik wrote: >>>> This is nice, does anyone of you have write permissions on Work to add >&

Re: [O] :session question

2013-03-26 Thread Rainer M Krug
ent specific for languages, so that I could file wide #+PROPERTY: R-session "R" #+PROPERTY: sh-session "sh" but the default for all un-specified languages would be no sessio use. Is there a possibility to do it? Cheers, Rainer > | | [back] ` > - -- Rainer M.

Re: [O] :session question - header argument setting

2013-03-27 Thread Rainer M Krug
d be improved. > >> where you'll learn that there are no language specific header arguments for >> R and no further >> documentation on how to set defaults specific to R can easily be found (if >> it exists). >> > > Every language can specify default

Re: [O] :session question

2013-03-27 Thread Rainer M Krug
>>>> >>> >>> >>> Okay, that's the expected usage. How do you read the example displayed? >>> >>> Looks like a named (:session . "org-R") affects global R namespace. >>> >>> What did "org-R" say

[O] Nice blog post - Org-mode in Your Pocket Is a GNU-Shaped Devil

2013-04-04 Thread Rainer M. Krug
Hi I stumbled upon this blog post : http://mph.puddingbowl.org/2010/02/org-mode-in-your-pocket-is-a-gnu-shaped-devil/ It is from 2010, but it describes my feelings perfectly - I just started using gnus. Cheers and thanks everybody for building and contributing to org-mode, Rainer -- Rainer M

Re: [O] Restore an archived subtree - Restauration d'une branche spécique archivée

2013-04-04 Thread Rainer M. Krug
perty giving the ID of the archived snippet? In this way one could a) easily see what was archived from where, and b) restore the subtree to the location of the ID in the original file? I think it would be a nice little extra in the process of archiving. Cheers, Rainer -- Rainer M. Krug, PhD (

Re: [O] Nice blog post - Org-mode in Your Pocket Is a GNU-Shaped Devil

2013-04-04 Thread Rainer M. Krug
, so I liiked at notmuchs email capabilities, and I decided to look at gnus. Maybe mu4e is next - I will see. Cheers, Rainer > > Cheers, > Christian > > Rainer M. Krug writes: > >> Hi >> >> I stumbled upon this blog post : >> http://mph.puddingbowl.org

Re: [O] Nice blog post - Org-mode in Your Pocket Is a GNU-Shaped Devil

2013-04-04 Thread Rainer M. Krug
François Pinard writes: > rai...@krugs.de (Rainer M. Krug) writes: > >> Sanity - never heard of it. I am giving gnus a few weeks and then I wil >> see - I think I am getting used to it (*not* understanding it!) > > Hi Rainer! > > I surely tried many mail user agents

Re: [O] MobileOrg app not available in the Belgian App Store?

2013-04-08 Thread Rainer M. Krug
the intricacies of the Apple app store: What is the problem at the moment with releasing the working version for iOS? I would really much like to have it back as I seem to be approaching emacs-land (first org-mode, now gnus, and next?). Cheers, Rainer > >> At least, this enables

Re: [O] MobileOrg app not available in the Belgian App Store?

2013-04-08 Thread Rainer M. Krug
Guido Van Hoecke writes: > Hi, > > rai...@krugs.de (Rainer M. Krug) writes: > >> Guido Van Hoecke writes: >> >>> Guido Van Hoecke writes: >>> >>>> Hi Holger and David >>>> >>>>> On 05/04/13 17:51, Holger Wenzel wr

[O] clocking in sub-second accuracy

2013-04-09 Thread Rainer M. Krug
. My question: can I get resolution of less then a second? Which format do I have to use for the time? Thanks, Rainer -- Rainer M. Krug, PhD (Conservation Ecology, SUN), MSc (Conservation Biology, UCT), Dipl. Phys. (Germany) Centre of Excellence for Invasion Biology Stellenbosch University

Re: [O] clocking in sub-second accuracy

2013-04-09 Thread Rainer M. Krug
Bastien writes: > Hi Rainer, > > rai...@krugs.de (Rainer M. Krug) writes: > >> My question: can I get resolution of less then a second? > > Not for clocks, sorry! <#secure method=pgpmime mode=sign> Pitty. But is there an option to set clocktables to show seconds?

[O] Sync orgmode with toodledo

2013-04-09 Thread Rainer M. Krug
: any experiences with this approach above? Thanks, Rainer -- Rainer M. Krug, PhD (Conservation Ecology, SUN), MSc (Conservation Biology, UCT), Dipl. Phys. (Germany) Centre of Excellence for Invasion Biology Stellenbosch University South Africa Tel : +33 - (0)9 53 10 27 44 Cell

[O] Google calendar sync - what is recommended?

2013-04-09 Thread Rainer M. Krug
calendar with org? Thanks, Rainer PS: org-unrelated gnus questions: 1) how can I insert these [1] footnotes in message-mode? 2) how can I "quote" or "enclose" a block with these brackets in acsii code? -- Rainer M. Krug, PhD (Conservation Ecology, SUN), MSc (Conservation

Re: [O] MobileOrg app not available in the Belgian App Store?

2013-04-09 Thread Rainer M. Krug
l if > you like. > > I'll send an update to the list as soon as there's any more info. Good to hear - I am looking forward to it. Thanks, Rainer > > Glad there's still people that find it useful! > > thanks, > -sean > > > On Mon, Apr 8, 2013 at

Re: [O] Google calendar sync - what is recommended?

2013-04-10 Thread Rainer M. Krug
Eric S Fraga writes: > "Rainer M. Krug" writes: > > [...] > >> discussion recently which I did not follow to closely. Which approach is >> the recommended / most stable approach in syncing google calendar with >> org? > > We are in a state of flux.

Re: [O] Google calendar sync - what is recommended?

2013-04-10 Thread Rainer M. Krug
"Sebastien Vauban" writes: > Hi Rainer, > > Rainer M. Krug wrote: >> PS: org-unrelated gnus questions: >> >> 1) how can I insert these [1] footnotes in message-mode? > > See org-footnote. > >> 2) how can I "quote" or "enclose&quo

Re: [O] Google calendar sync - what is recommended?

2013-04-10 Thread Rainer M. Krug
t; [1] CalDAV-Sync beta > > CC: Completely OT but it seems you use notmuch too, did you manage to get > address-completion working in notmuch? Yup - I use goosync as described on the notmuch website and it works - although not as fast as I would like it to work, but I can live with it. Any p

Re: [O] Org-mode as a replacement for Google Reader

2013-04-15 Thread Rainer M. Krug
because one can... But I love gnus: highly recommended) with my mobile device, I will stick with feedly. Cheers, Rainer > > <#secure method=pgpmime mode=sign> Footnotes: [1] http://www.feedly.com -- Rainer M. Krug, PhD (Conservation Ecology, SUN), MSc (Conservation Biology, UCT),

[O] Colour themes suggestions?

2013-04-15 Thread Rainer M. Krug
round (reflections are less) and has nice and effective syntax highlighting. Any suggestions? I am using twilight-bright at the momen, but am somehow not that happy with it. Any (subjective) suggestions? Thanks, Rainer -- Rainer M. Krug, PhD (Conservation Ecology, SUN), MSc (Conservation Biology,

Re: [O] Colour themes suggestions?

2013-04-16 Thread Rainer M. Krug
ry ;) I know Zenburn - I used it before under emacs 23. Very nice theme indeed. I will install it and keep it as a second option. Thanks, Rainer > > Greetings > > Torsten > <#secure method=pgpmime mode=sign> -- Rainer M. Krug, PhD (Conservation Ecology, SUN), MSc (Conserv

Re: [O] Colour themes suggestions?

2013-04-16 Thread Rainer M. Krug
ce in a while you want a dark-color-theme and then zenburn >> might be worse to try ;) >> > > The anti-zenburn theme is the light version. It is subdued and the > faces make the distinctions well, as does zenburn. Excellent idea - I'll check it out. Thanks, Rainer

Re: [O] Colour themes suggestions?

2013-04-16 Thread Rainer M. Krug
y like Leuven. Indeed - Leuven looks very nice - I like the different background colors for the code blocks - very useful. Thanks, Rainer > > Vikas > > > <#secure method=pgpmime mode=sign> -- Rainer M. Krug, PhD (Conservation Ecology, SUN), MSc (Conservation Biology, UCT), D

Re: [O] Colour themes suggestions?

2013-04-16 Thread Rainer M. Krug
rai...@krugs.de (Rainer M. Krug) writes: > Vikas Rawal writes: > >>> yet. >>> >>> I am looking for suggestions for color themes which are on a light >>> background (reflections are less) and has nice and effective syntax >>> highlighting.

Re: [O] Colour themes suggestions?

2013-04-16 Thread Rainer M. Krug
Manuel Prinz writes: > On Mon, Apr 15, 2013 at 03:32:31PM +0200, Rainer M. Krug wrote: >> I am looking for suggestions for color themes which are on a light >> background (reflections are less) and has nice and effective syntax >> highlighting. Any suggestions? > > I&

Re: [O] Colour themes suggestions?

2013-04-16 Thread Rainer M. Krug
Manuel Prinz writes: > On Mon, Apr 15, 2013 at 03:32:31PM +0200, Rainer M. Krug wrote: >> I am looking for suggestions for color themes which are on a light >> background (reflections are less) and has nice and effective syntax >> highlighting. Any suggestions? > > I&

Re: [O] Colour themes suggestions?

2013-04-16 Thread Rainer M. Krug
rai...@krugs.de (Rainer M. Krug) writes: > Manuel Prinz writes: > >> On Mon, Apr 15, 2013 at 03:32:31PM +0200, Rainer M. Krug wrote: >>> I am looking for suggestions for color themes which are on a light >>> background (reflections are less) and has nice and eff

Re: [O] Colour themes suggestions?

2013-04-16 Thread Rainer M. Krug
"Sebastien Vauban" writes: > Rainer M. Krug wrote: >> rai...@krugs.de (Rainer M. Krug) writes: >>> Vikas Rawal writes: >>>>> >>>>> I am looking for suggestions for color themes which are on a light >>>>> background (r

Re: [O] Colour themes suggestions?

2013-04-16 Thread Rainer M. Krug
David Rogers writes: > rai...@krugs.de (Rainer M. Krug) writes: > >> One question about the font: Can I use it under Linux as well? And how >> can I install it then? > > Yes you can use it. > > 1. Download font > > 2. Place font in ~/.fonts/ (you may create t

Re: [O] Org-mode as a replacement for Google Reader

2013-04-16 Thread Rainer M. Krug
Karl Voit writes: > * Rainer M. Krug wrote: >> >> There is, imho, one big difference between using google reader and gwene >> with any desktop news reader: as far as I know, you can not sync read >> items between ydifferent readers (desktops, mobile devices, tablets

Re: [O] Best practices for literate programming [was: Latex export of tables]

2013-04-17 Thread Rainer M. Krug
org. So in my org file I have the analysis which creates graphs on export (and a basic report of the analysis, including all the source code necessary, which I can then use as an appendix for the paper). These graphs are then inserted in the lyx file. I assume, you used something similar, only that t

[O] Question concerning png - pdf - inline view

2013-04-19 Thread Rainer M. Krug
display in my org file inline, while #+header: :results graphics #+header: :file test2.pdf #+begin_src R plot(runif(100)) #+end_src I can't. Is there a way that I can have both? Am I missing a converter? Any suggestions on how I can achieve this? Thanks, Rainer -- Rainer M. Krug

[O] Does Org support Related or "See Also" Properties?

2013-04-19 Thread Nick M . Daly
Does Org Mode have a way to identify that multiple events refer to the same event? It would be wonderful, for those of us with messy org files (multiple overlapping incoming data sources), if Org Mode had a way to to relate multiple events in a way that sums the details between events. For exampl

[O] Can't Sort with New, 8.0 Sort Methods

2013-04-19 Thread Nick M . Daly
When attempting to use the new sorting methods (like ~scheduled-up~), I receive the following error messages when displaying the agenda (with =M-x org-agenda-list= or ~C-a a a~): : org-entries-lessp: Wrong type argument: stringp, nil To replicate this issue, try taking following steps with Emacs

Re: [O] Does Org support Related or "See Also" Properties?

2013-04-20 Thread Nick M. Daly
Hi Bastien, thanks for the prompt reply. Bastien writes: >> When exported into an agenda, the consolidated org agenda would read: >> >> Friday 19 April 2013 >> customer: 09:00-09:30 Scheduled: TODO Meeting with Pete > > The problem is: what would RET do on this agenda line? Go to w

Re: [O] New maintainer

2013-04-22 Thread Julian M. Burgos
I echo all the thanks that other people already gave. My digital life orbits around org-mode, so thanks to everyone who contributed to this project. Keep it up!! Julian -- Julian Mariano Burgos, PhD Hafrannsóknastofnunin/Marine Research Institute Skúlagata 4, 121 Reykjavík, Iceland Sími/Tele

[O] Saving within a source code block... a bug?

2013-04-22 Thread Julian M. Burgos
Hello fellow "org-moders": I just switch to org-mode 8.0.1 and noticed a regression to a missbehaviour (a bug?) that happened at some point in a previous version and was later fixed. This is the issue: I am working in an org-mode file with R code blocks, and I do C-c' to edit one of them. I do

Re: [O] Saving within a source code block... a bug?

2013-04-23 Thread Julian M. Burgos
s: > On Mon, Apr 22, 2013 at 10:39 AM, Julian M. Burgos wrote: >> >> Hello fellow "org-moders": >> >> I just switch to org-mode 8.0.1 and noticed a regression to a >> missbehaviour (a bug?) that happened at some point in a previous version and >>

Re: [O] window splitting and preserving folded states

2013-04-26 Thread Julian M. Burgos
> I am completely inebriated right now, so apologies for incoherence. Isn't EUI (Emacs Under the Influence) illegal? :D

[O] Extending ODT export

2013-05-07 Thread Julian M. Burgos
Hello everyone, I want to export via ODT directly into a "docx" format. Following the instructions in the manual, I added (setq org-odt-preferred-output-format "docx") to my .emacs file. But if I try to do an export I get the following error message: "Export to /home/trial.docx failed" I am us

Re: [O] Extending ODT export

2013-05-07 Thread Julian M. Burgos
By the way, it also fails with the "pdf" and "doc" options... Julian M. Burgos writes: > Hello everyone, > I want to export via ODT directly into a "docx" format. Following the > instructions in the manual, I added > (setq org-odt-preferred-output-for

Re: [O] Extending ODT export

2013-05-07 Thread Julian M. Burgos
ffice.app/Contents/MacOS/soffice") helps. Also, it >> only seems to work when LibreOffice isn't already running, though I may >> be wrong about that (I just tried this for the first time). >> > > Another check: Do you have write permissions in /home ? > > W

Re: [O] odt export not working

2013-05-07 Thread Julian M. Burgos
Right... I did not saw it. And even if I did, I would not know that the package needed for loading the back-end for ODT is called ox-odt. Nicolas Goaziou writes: > Hello, > > Julian Burgos writes: > >> Manfred Lotz arcor.de> writes: >> >> >>> > Are you calling (require 'ox-odt) somewhere in yo

Re: [O] odt export not working

2013-05-07 Thread Julian M. Burgos
Just thinking how to things easier for noobs like me. :) Julian M. Burgos writes: > Right... I did not saw it. And even if I did, I would not know that the > package needed for loading the back-end for ODT is called ox-odt. > > Nicolas Goaziou writes: > >> Hello, >&g

Re: [O] Extending ODT export

2013-05-07 Thread Julian M. Burgos
tents/MacOS/soffice > --headless --convert-to %f%x --outdir %d %i") > ("unoconv" "unoconv -f %f -o %d %i"))) > #+END_SRC > > It works fine for me. > > Best regards, > Takaaki Ishikawa > > > On May 7, 2013, at 10:51 PM, "Julian M.

Re: [O] odt export not working

2013-05-07 Thread Julian M. Burgos
Ok, I see what you mean. So I should do (setq org-export-backends '(odt)) or something like that. Fair enough. :) Nicolas Goaziou writes: > "Julian M. Burgos" writes: > >> Right... I did not saw it. And even if I did, I would not know that the >> package ne

Re: [O] Extending ODT export

2013-05-10 Thread Julian M. Burgos
s/LibreOffice.app/Contents/MacOS/soffice >> --headless --convert-to %f%x --outdir %d %i") >> ("unoconv" "unoconv -f %f -o %d %i"))) >> #+END_SRC >> >> It works fine for me. >> >> Best regards, >> Takaaki Ishikawa >&

Re: [O] odt export not working

2013-05-10 Thread Julian M. Burgos
rough tangling). Any customization would get lost next time I make a change and tangle my .emacs file (which is quite often!). Julian Nick Dokos writes: > "Julian M. Burgos" writes: > >> Ok, I see what you mean. So I should do >> (setq org-export-backends '(odt)

Re: [O] disable tangling for an entire section?

2013-05-13 Thread Rainer M. Krug
one won't. So no harm done to your "clean" tangled file, only the tmp.tmp, which you can discard afterwords. Cheers, Rainer > > Yours, > Christian > -- Rainer M. Krug, PhD (Conservation Ecology, SUN), MSc (Conservation Biology, UCT), Dipl. Phys. (Germany) Centr

[O] confused about Beamer export

2013-05-14 Thread Julian M. Burgos
Dear list, I am a bit confused about what I have to use the new Beamer exporter. I have customized the org-export-backends variable to include the Beamer exporter, and now it shows as an option when I do C-c C-e. I have also created a toy org file: start org file-- #+TITLE:

Re: [O] Export Org-mode content to Reveal.js presentations

2013-05-15 Thread Julian M. Burgos
Hi Yujie, Thanks for the exporter! I am still a bit confused though (seems my natural state). Let say I downloaded reveal.js and placed it on my home directory (I am using Linux), so that the path to reveal.js is the following: /home/julian/.reveal/js/reveal.js so then I should add to my .emac

Re: [O] Export Org-mode content to Reveal.js presentations

2013-05-15 Thread Julian M. Burgos
ase see my comments below. > > Let me know if there is still problem. > > Regards, > Yujie > > > 2013/5/15 Julian M. Burgos > >> Hi Yujie, >> >> Thanks for the exporter! I am still a bit confused though (seems my >> natural state). Let say I

[O] performance of exporting large tables

2013-05-16 Thread D M German
ed, I can make the table available. thanks a lot! --daniel -- Daniel M. German "And ye shall know the truth, John 8:32 ->and the truth shall make you free." http://turingmachine.org/ http://silvernegative.com/ dmg (at) uvic (dot) ca replace (at) with @ and (dot) with .

Re: [O] RFQ - new contribution - org-screenshot.el

2013-05-17 Thread Rainer M. Krug
Bastien writes: > Hi Max, > > Max Mikhanosha writes: > >> To try it out, you'll need /usr/bin/scrot which is available as >> "scrot" package on most distributions. >> >> Then (require 'org-screenshot) and try C-c M-s (org-screenshot-take)

Re: [O] performance of exporting large tables

2013-05-17 Thread D M German
Hi Suvayu, Suvayu> Hi Daniel, Suvayu> On Thu, May 16, 2013 at 01:24:10PM -0700, D M German wrote: >> >> If interested, I can make the table available. Suvayu> A working example that reproduces the issue always helps. If you could Suvayu> post the table (

Re: [O] performance of exporting large tables

2013-05-21 Thread D M German
s before). Hi Nicolas, thank you very much. This has resolved my issue. I can now export an org file with these tables in few seconds. thank you, --daniel Nicolas> Regards, Nicolas> -- Nicolas> Nicolas Goaziou -- Daniel M. German "To read is to travel withou

Re: [O] [NEW FEATURE] org-hlc.el - hidden-lines-cookies (hlc) for Org-mode

2013-05-23 Thread Rainer M. Krug
ies () > "Delete all hidden-lines cookies." > (interactive) > (let* ((base-buf (point-marker)) > (indirect-buf-name > (generate-new-buffer-name >(buffer-name (marker-buffer base-buf) > (clone-indirect-buffer indirect-buf-name nil 'NORECORD) > (save-excursion > (switch-to-buffer indirect-buf-name) > (show-all) > (let ((indirect-buf (point-marker))) > (org-hlc-write-hidden-lines-cookies) > (switch-to-buffer (marker-buffer base-buf)) > (kill-buffer (marker-buffer indirect-buf)) > (set-marker indirect-buf nil)) > (set-marker base-buf nil))) > (setq org-hlc-hidden-lines-cookies-on-p nil)) > > (defun org-hlc-toggle-hidden-lines-cookies () > "Toggles status of hidden-lines cookies between shown and hidden." > (interactive) > (if org-hlc-hidden-lines-cookies-on-p > (org-hlc-hide-hidden-lines-cookies) > (org-hlc-show-hidden-lines-cookies))) > > (provide 'org-hlc) > > ;; Local variables: > ;; generated-autoload-file: "org-loaddefs.el" > ;; End: > > ;;; org-hlc.el ends here -- Rainer M. Krug pgp3F0PK_0p2H.pgp Description: PGP signature

Re: [O] Seeking advice on structuring my org-mode file

2013-05-23 Thread Julian M. Burgos
Matt, this is very useful! I agree with you, I also tend to create several org-mode files for a project that is becoming too large. For example, I keep a separate org-file for each paper or report, another with notes, another with analysis (with R code blocks), etc. One issue is that I use lots

[O] Importing all files into .org document source blocks

2013-05-24 Thread Rainer M. Krug
urces/list.d/) into an org document, with each being in a separate code block? Thanks, Rainer -- Rainer M. Krug pgpMRzmiCTRVr.pgp Description: PGP signature

[O] LaTeX minted --shell-escape error after updating to 8.0.3

2013-05-25 Thread Senthil Kumar M
Hi, I updated org-mode to 8.0.3 (release_8.0.3-156-g847637). I got the following error while using the LaTeX export, before the update all was well and the PDF file was produced fine. "Process completed with errors: [LaTeX error] [package error] *Org PDF LaTeX Output* shows: ... ... Package if

Re: [O] LaTeX minted --shell-escape error after updating to 8.0.3

2013-05-27 Thread Senthil Kumar M
On Sat, May 25, 2013 at 11:44 PM, Nick Dokos wrote: > Senthil Kumar M writes: > > >> I updated org-mode to 8.0.3 (release_8.0.3-156-g847637). I got the >> following error while using the LaTeX export, before the update all >> was well and the PDF file was produced fin

Re: [O] LaTeX minted --shell-escape error after updating to 8.0.3

2013-05-27 Thread Senthil Kumar M
On Mon, May 27, 2013 at 1:17 PM, Nick Dokos wrote: > Senthil Kumar M writes: > >> Nick, thank you. Setting the org-latex-pdf-process variable as you >> suggested resolved the LaTeX error during the export step. >> >> However, the minted syntax colour highlightin

[O] overview of org files

2013-05-29 Thread D M German
e Hopefully somebody finds it useful. --dmg -- Daniel M. German "Beauty is the first test; there is no permanent place in the world for ugly G. H. Hardy -> mathematics." http://turingmachine.org/ http://silvernegati

Re: [O] Exporting output and graphics from R

2013-05-30 Thread Rainer M. Krug
t) and the graph (tested on export to pdf). Cheers, Rainer > > If really needed, you can define your code once, wrap it with some value for > the ":results" header, and "copy" it somewhere else via Noweb's facility, > where it can be evaluated under other values for

Re: [O] Exporting output and graphics from R

2013-05-30 Thread Rainer M. Krug
Feng Shu writes: > rai...@krugs.de (Rainer M. Krug) writes: > >> "Sebastien Vauban" >> writes: >> >>> Hi SabreWolfy, >>> >>> SabreWolfy wrote: >>>> When the following code is evaluated or exported, only the link to &

[O] de-tangle function?

2013-05-30 Thread Rainer M. Krug
Hi I remember something about a de-tangle function, which re-imports the source code blocks into the org file is previously tangled with comments et al, but I can't find that function any more. Is it still there? Does it work reliably? Thanks, Rainer -- Rainer M. Krug pgpgePIeqq7X

[O] refine org-babel-tangle-jump-to-org?

2013-05-30 Thread Rainer M. Krug
funktion much more user friendly. Thanks, Rainer -- Rainer M. Krug pgpSW5XKkPSlx.pgp Description: PGP signature

Re: [O] de-tangle function?

2013-05-31 Thread Rainer M. Krug
<#secure method=pgpmime mode=sign> "Sebastien Vauban" writes: > Hi Rainer, > > Rainer M. Krug wrote: >> I remember something about a de-tangle function, which re-imports the >> source code blocks into the org file is previously tangled with comments >>

Re: [O] de-tangle function?

2013-05-31 Thread Rainer M. Krug
> later. > > It's definitely a potentially cool feature though. Notice you have to > run it from the tangled file. Absolutely - especially debugging code (in my case R) would be easier. Cheers, Rainer > > –Rasmus -- Rainer M. Krug pgplMsfWb_sI7.pgp Description: PGP signature

Re: [O] refine org-babel-tangle-jump-to-org?

2013-05-31 Thread Rainer M. Krug
Eric Schulte writes: > rai...@krugs.de (Rainer M. Krug) writes: > >> Hi >> >> I am using org-babel-tangle-jump-to-org when debugging code written in >> org and tangled. I have some longisch code blocks and it is always >> irritating, as it only jumps to t

Re: [O] refine org-babel-tangle-jump-to-org?

2013-06-03 Thread Rainer M Krug
Eric Schulte writes: > rai...@krugs.de (Rainer M. Krug) writes: > >> Eric Schulte writes: >> >>> rai...@krugs.de (Rainer M. Krug) writes: >>> >>>> Hi >>>> >>>> I am using org-babel-tangle-jump-to-org when debugging code

[O] Other question concerning org-babel-tangle-jump-to-org

2013-06-03 Thread Rainer M Krug
-babel-tangle-jump-to-org and the org file is opened in the left window. It would be easier for debugging, if it would open in the right window, where the R file is already open. Would that be possible? Thanks, Rainer -- Rainer M. Krug email: RMKruggmailcom pgpbenBzb5w6y.pgp Description: PGP

Re: [O] Other question concerning org-babel-tangle-jump-to-org

2013-06-04 Thread Julian M. Burgos
-- Julian Mariano Burgos, PhD Hafrannsóknastofnun/Marine Research Institute Skúlagata 4, 121 Reykjavík, Iceland Sími/Telephone : +354-5752037 Bréfsími/Telefax: +354-5752001 Netfang/Email: jul...@hafro.is Rainer M Krug writes: > Would it be possible, that the function does not open a ne

Re: [O] Other question concerning org-babel-tangle-jump-to-org

2013-06-04 Thread Rainer M Krug
<#secure method=pgpmime mode=sign> "Julian M. Burgos" writes: > Hi Rainier, Hi Julian, > If I understood correctly, you need to add the following to your > .emacs file: > > (setq org-src-window-setup 'current-window) > > With this when you use C-

[O] Automatically adding local variables to tangled file

2013-06-05 Thread Rainer M Krug
f the org file I can even imagine many more possibilities for the use of local file variables to store meta data in the tangled file (VCS info comes to mind, which would enable one to even go back to older revisions based on the tangled code rather easily). Cheers, Rainer -- Rainer M. Krug, P

Re: [O] Other question concerning org-babel-tangle-jump-to-org

2013-06-05 Thread Julian M. Burgos
Hi Rainer, Then sorry... this goes beyond my meager knowledge of emacs and org mode. :) Rainer M Krug writes: > <#secure method=pgpmime mode=sign> > > "Julian M. Burgos" writes: > >> Hi Rainier, > > Hi Julian, > >> If I understood correctly, you

Re: [O] Automatically adding local variables to tangled file

2013-06-05 Thread Rainer M Krug
in the tangled files to set the buffer > to read-only could be very useful to avoid the mistake of editing the > tangled files directly. My reasoning - and I would make all tangled R files read only. Cheers, Rainer > > -- > Darlan > > At Wed, 05 Jun 2013 16:04:59 +0200, >

Re: [O] Other question concerning org-babel-tangle-jump-to-org

2013-06-07 Thread Rainer M Krug
Eric Schulte writes: > Rainer M Krug writes: > >> Would it be possible, that the function does not open a new window when >> executed, but uses the same window the tangled file is in? I am using >> org for literate programming in R (ESS): >> - R console left windo

Re: [O] Automatically adding local variables to tangled file

2013-06-07 Thread Rainer M Krug
ines)] >>> > > I agree that local-file variables show much promise, although I think > (at least for now) the best way to set such variables is through the > post-tangle-hook as Vitalie has already done. Ok - I'll stick to the solutions outlined above for now. T

Re: [O] refine org-babel-tangle-jump-to-org?

2013-06-07 Thread Rainer M Krug
| #+PROPERTY: padline yes >> ` >> >> to >> >> , >> | #+PROPERTY: padline no >> ` >> >> the padlines are gone, ant the jumping back is completely off (from >> first r in return() it jumps to the third # in the last logList()). &

Re: [O] Automatically adding local variables to tangled file

2013-06-07 Thread Rainer M Krug
Rainer M Krug writes: [snip (54 lines)] >>>> , >>>> | (defvar org-babel-tangled-file nil >>>> | "If non-nill, current file was tangled with org-babel-tangle") >>>> |(put 'org-babel-tangled-file 'safe-local-va

Re: [O] refine org-babel-tangle-jump-to-org?

2013-06-07 Thread Rainer M Krug
Rainer M Krug writes: > Eric Schulte writes: > [snip (46 lines)] >> For now I think both padlines and link comments are required for the >> jumping functionality to work. I've updated the documentation to >> reflect this. >> > > Thanks - I will change

[O] Wrong comment character when adding file local variables?

2013-06-07 Thread Rainer M Krug
f16b53 @ /home/rkrug/.emacs.d/org-mode/lisp/) GNU Emacs 24.3.1 (i686-pc-linux-gnu, GTK+ Version 3.6.4) of 2013-04-14 on actinium, modified by Debian Cheers, Rainer -- Rainer M. Krug email: RMKruggmailcom pgpjYxfWQhFUN.pgp Description: PGP signature

Re: [O] [PATCH] Don't ask "File changed on disk" in org-babel-post-tangle-hook

2013-06-07 Thread Rainer M Krug
+ b/lisp/ob-tangle.el >> @@ -114,7 +114,7 @@ result. The default value is `org-babel-trim'." >> (defun org-babel-find-file-noselect-refresh (file) >>"Find file ensuring that the latest changes on disk are >> represented in the file." >> -

Re: [O] refine org-babel-tangle-jump-to-org?

2013-06-07 Thread Rainer M Krug
. On Friday, June 7, 2013, Eric Schulte wrote: > Rainer M Krug > writes: > > > Rainer M Krug > writes: > > > >> Eric Schulte > writes: > >> > > [snip (46 lines)] > > > >>> For now I think both padlines and link comments are re

Re: [O] Wrong comment character when adding file local variables?

2013-06-07 Thread Rainer M Krug
nday. Cheers and have a nice weekend, Rainer > > Vitalie > > >> Rainer M Krug > > >> on Fri, 07 Jun 2013 15:12:58 +0200 wrote: > > > Hi > > > when tangling the following file > > > , > > | * Package Files > > | **

Re: [O] Automatically adding local variables to tangled file

2013-06-10 Thread Rainer M Krug
7;org-babel-post-tangle-hook >>> 'org-babel-mark-tangled-as-read-only) >>> >> >> I think that would be a good idea to add this in a way so that it is >> controled by a variable > > I've added a :tangle-mode header argument which may be used to control

Re: [O] :session question

2013-06-10 Thread Rainer M Krug
ts (and praises) following in next emails. Cheers, Rainer > valuable than my own in this regard (as I'm not a heavy #+Property > user). > > Thanks for the clean and initially tested implementation idea! > >> >> >> Regards, >> Achim. > > > Footnotes: > > [1] Thanks to Bastien my patch allowing variables like > `org-babel-default-header-args:R' to be set file-local has been > applied to Emacs. -- Rainer M. Krug email: RMKruggmailcom pgpqMMj3gichR.pgp Description: PGP signature

Re: [O] :session question

2013-06-10 Thread Rainer M Krug
nguage specific side first. > > No comments? Not tested, but it I like the idea and the syntax - very nice indeed. Cheers, Rainer > > > Regards, > Achim. -- Rainer M. Krug email: RMKruggmailcom pgpWK6YALK9zj.pgp Description: PGP signature

Re: [O] :session question -- and changes to #+Property: syntax

2013-06-10 Thread Rainer M Krug
and did not experience any > problems after applying the patches. OK - I will change my syntax to the new property syntax and report back, likely not before middle of the week. Thanks, Rainer > > Regards, > Andreas > > > <#secure method=pgpmime mode=sign> -- Rainer M. Krug email: RMKruggmailcom

Re: [O] Wrong comment character when adding file local variables?

2013-06-10 Thread Rainer M Krug
Vitalie Spinu writes: > >> Rainer M Krug > >> on Fri, 7 Jun 2013 17:40:53 +0200 wrote: > > > On Friday, June 7, 2013, Vitalie Spinu wrote: > > All your examples are placed in fundamental mode. The comments are > > treated by org and thus ar

Re: [O] :session question -- and changes to #+Property: syntax

2013-06-10 Thread Rainer M Krug
ther. As mentioned, I would then change my optional syntax of PROPERTY tomorrow. If you prefer earlier feedback, I could give it. Cheers, Rainer > > > Regards, > Achim. -- Rainer M. Krug email: RMKruggmailcom pgpVlMFfPiake.pgp Description: PGP signature

[O] Problem in tangle-mode -- WAS: Automatically adding local variables to tangled file

2013-06-10 Thread Rainer M Krug
Rainer M Krug writes: > Eric Schulte writes: > >>>> >>>> We already set the permission of tangled files to be executable when >>>> they include a shebang line. Perhaps we could add an option (or change >>>> the default) to set the permissio

[O] SOLVED: Automatically adding local variables to tangled file

2013-06-10 Thread Rainer M Krug
| (when (string-match "[.]R" (buffer-file-name)) | (add-file-local-variable 'org-babel-tangled-file t) | (add-file-local-variable 'buffer-read-only t) | ;; (add-file-local-variable 'eval: (auto-revert-mode)) | (basic-save-buffer))) | | (add-hook 'org-babel-post-tangle-hook 'org-babel-mark-file-as-tangled) ` Thanks everybody for their help, Rainer > -- Rainer M. Krug email: RMKruggmailcom pgpueI_WtlIe2.pgp Description: PGP signature

Re: [O] Wrong comment character when adding file local variables?

2013-06-10 Thread Rainer M Krug
Nick Dokos writes: > Rainer M Krug writes: > >> Vitalie Spinu writes: >> >>> >> Rainer M Krug >>> >> on Fri, 7 Jun 2013 17:40:53 +0200 wrote: >>> >>> > On Friday, June 7, 2013, Vitalie Spinu wrote: >>

[O] BUG - Problem in tangle-mode

2013-06-11 Thread Rainer M Krug
ocks. It tells me that two blocks were tangled, but only the last one is in the tangled file. I will for revert for now to the version from yesterday. Cheers, Rainer -- Rainer M. Krug email: RMKruggmailcom pgpyXPR_RfcTt.pgp Description: PGP signature

Re: [O] BUG - Problem in tangle-mode

2013-06-11 Thread Rainer M Krug
On Tuesday, June 11, 2013, Eric Schulte wrote: > Rainer M Krug > writes: > > > Eric Schulte > writes: > > > >>>>> > >>>>> I've added a :tangle-mode header argument which may be used to > control > >>>>> th

Re: [O] BUG - Problem in tangle-mode

2013-06-12 Thread Rainer M Krug
Rainer M Krug writes: > On Tuesday, June 11, 2013, Eric Schulte wrote: > >> Rainer M Krug > writes: >> >> > Eric Schulte > writes: >> > >> >>>>> >> >>>>> I've added a :tangle-mode header argument which

Re: [O] BUG - Problem in tangle-mode

2013-06-13 Thread Rainer M Krug
t; * Two blocks > Block 1 > #+begin_src R > suitName <- function(species) > { > return( paste(species$layer, "suitability", sep="_") ) > } > #+end_src > > Block 2 > #+begin_src R

<    5   6   7   8   9   10   11   12   13   14   >