Re: [O] org-agenda-custom-command for property AND TODO state (for a cooking guide :) )

2014-04-14 Thread Xebar Saram
thx alot Alexander! this worked. any idea how to bind this to a key? ie have C-c / m +TODO="TODO"+TYPE="main" bound to F1-c etc.. best Z On Mon, Apr 14, 2014 at 11:03 PM, Alexander Baier wrote: > > On 2014-03-28 14:45 Xebar Saram wrote: > > Hi all i was wondering if anyone knew how to s

Re: [O] Export arrays for 'sh' code blocks when using bash

2014-04-14 Thread Eric Schulte
Pascal Fleury writes: > Hello, > > Great, thanks for the guidance. I hope I managed it all correctly. > I've applied this patch. I made a couple of minor changes in a subsequent commit (a7189aa). These were indentation and whitespace changes to enforce two coding conventions, 1. limit line len

Re: [O] Export arrays for 'sh' code blocks when using bash

2014-04-14 Thread Eric Schulte
> > Also, if you can sign your patches (git format-patch -s) that'd > be even better, but not mandatory. > Should I start signing my patches as well? I'm very happy to, I've just never thought about it. If so is there an easy way to make -s a default option for the Org-mode repo? Thanks, -- E

Re: [O] ob-clojure: ':results pp' parses the output as a string value

2014-04-14 Thread Phill Wolf
Yes, perfect! On Mon, Apr 14, 2014 at 6:35 AM, Oleh wrote: > Hi Phil, > > Could you test my last commit? Your case should be working now. > > regards, > Oleh >

Re: [O] Fast Access to TODO States without C-t

2014-04-14 Thread Eric Abrahamsen
Esben Stien writes: > Eric Abrahamsen writes: > >> I may be misunderstanding here, but screen will send the escape key to >> the running program if you hit it twice, right? I use the StumpWM window >> manager, with the escape key also set to C-t, and I think both of them >> behave the same way:

Re: [O] Fast Access to TODO States without C-t

2014-04-14 Thread Esben Stien
Eric Abrahamsen writes: > I may be misunderstanding here, but screen will send the escape key to > the running program if you hit it twice, right? I use the StumpWM window > manager, with the escape key also set to C-t, and I think both of them > behave the same way: first escape is caught, secon

Re: [O] The Org Package

2014-04-14 Thread adam
Thank you for this discussion, John, David and others. When installing a new distro, it sure seems wise to not include the Org options at Emacs install time (Ubuntu installers I use). And to set up the Org location and Git system soonest.

Re: [O] Fwd: Mac OS Alias file links

2014-04-14 Thread Ken Mankoff
On 2014-04-14 at 20:21, Charles C. Berry wrote: > BibDesk has an archive of entries typically stored at > > ~/Library/Caches/Metadata/edu.ucsd.cs.mmccrack.bibdesk/*.bdskcache > > and the 'NS.data' element of Bdsk-File-1 seems to point to one element. > > The *.bdskcache file has a bplist and I gue

Re: [O] Fast Access to TODO States without C-t

2014-04-14 Thread Eric Abrahamsen
Esben Stien writes: > I'm trying to figure out how to bind fast access to TODO states, without > using C-t. > > The reason is that I have C-t as escape code for my screen session. > > The command org-todo is bound to C-c t here, so when I try to fast > access to the TODO state DONE(d!), I can't g

Re: [O] Fwd: Mac OS Alias file links

2014-04-14 Thread Charles C. Berry
On Mon, 14 Apr 2014, Ivan Andrus wrote: On Apr 14, 2014, at 12:36 PM, Ken Mankoff wrote: On 2014-04-14 at 13:42, Charles Berry wrote: For this to work as you fantasize, you would need to enable the Finder application to modify the part of the *.org file that encodes the alias when you chang

Re: [O] Fwd: Mac OS Alias file links

2014-04-14 Thread Ivan Andrus
On Apr 14, 2014, at 12:36 PM, Ken Mankoff wrote: > On 2014-04-14 at 13:42, Charles Berry wrote: > >> For this to work as you fantasize, you would need to enable the Finder >> application to modify the part of the *.org file that encodes the >> alias when you change the location of the aliased fi

[O] Multiple Recursive Directories with org-agenda-files

2014-04-14 Thread Esben Stien
I'm trying to add a few recursive directories to org-agenda-files, but can't really find any examples doing this I got like 250 org files spread over a few directories. I want to add: ~/foo/bar/ ~/baz/quux/ ~/hukarz/grault/ ..which again includes multiple directories with .org files and a few

[O] Fast Access to TODO States without C-t

2014-04-14 Thread Esben Stien
I'm trying to figure out how to bind fast access to TODO states, without using C-t. The reason is that I have C-t as escape code for my screen session. The command org-todo is bound to C-c t here, so when I try to fast access to the TODO state DONE(d!), I can't get to it. C-c t d just puts 'd'

Re: [O] [BUG] Cannot export a raw link

2014-04-14 Thread Nicolas Goaziou
Achim Gratz writes: > groff has this snippet: > > > (if (file-name-absolute-p raw-path) > (concat "file://" (expand-file-name raw-path)) > (concat "file://" raw-path))) This needs to be fixed, along with ox-man.el. Anyway, that wasn't i

Re: [O] org-agenda-custom-command for property AND TODO state (for a cooking guide :) )

2014-04-14 Thread Alexander Baier
On 2014-03-28 14:45 Xebar Saram wrote: > Hi all i was wondering if anyone knew how to set > a org-agenda-custom-command for property AND TODO state? that is create a > custom view that is similar to this sparse tree command: > > C-c / M type="main"/COOK > > where it would match on type=main and

Re: [O] [BUG] Cannot export a raw link

2014-04-14 Thread Achim Gratz
Nicolas Goaziou writes: > With latest patch and following Org buffer > > file:test.org > file:/test.org > file:///test.org > > I get (HTML export) > > test.html > file:///test.html > file:///test.html > > So, it looks good so far. groff has this snippet: --8<---cut here---

Re: [O] [BUG] Cannot export a raw link

2014-04-14 Thread Nicolas Goaziou
Hello, Achim Gratz writes: > It still isn't correct. If you put "//" after a "file:" scheme, then > you need to put an authority there (an empty authority means localhost > in some contexts, but then the path has to start with a slash). The patch didn't change "file" scheme handling. It chang

Re: [O] [ANN] Firefox extension for org-protocol and org-capture

2014-04-14 Thread Alexander Baier
On 2014-02-21 15:06 Olivier Schwander wrote: > Dear list, > > I would like to announce the first version of an extension to > call org-capture through org-protocol from Firefox: > - http://chadok.info/firefox-org-capture/ > > It just does the same thing as the Javascript bookmarklet but without >

Re: [O] Fwd: Mac OS Alias file links

2014-04-14 Thread Ken Mankoff
On 2014-04-14 at 13:42, Charles Berry wrote: > The point of using an alias rather than a filename or the name of a > symbolic link that points to the file is that it inherits the property > of Mac OS X aliases that moving the file does not break the alias --- > it still points to file. Exactly!

Re: [O] total time spent on a task

2014-04-14 Thread Sacha Chua
Christoph Groth writes: Hello, Christoph! >> C-c C-x C-d (org-clock-display) will show the task times as overlays >> on the headings. > That seems to be exactly what I need. It works, but only shows times > for top-level headings (i.e. for example "miscellaneous" but not the > TODO items undern

Re: [O] Fwd: Mac OS Alias file links

2014-04-14 Thread Charles Berry
Ken Mankoff gmail.com> writes: > > > On 2014-04-14 at 12:26, Achim Gratz wrote: > > Ken Mankoff writes: > >> Aliases are a type of links ("ln" on linux, "shortcut" on Windows > >> "alias" on OS X (OS X of course also supports "ln")). The difference > >> between an OS X alias and "ln" is that if

Re: [O] [BUG] Cannot export a raw link

2014-04-14 Thread Achim Gratz
Nicolas Goaziou writes: > Correct. It should be fixed. It still isn't correct. If you put "//" after a "file:" scheme, then you need to put an authority there (an empty authority means localhost in some contexts, but then the path has to start with a slash). Also, with the new implementation rel

Re: [O] Fwd: Mac OS Alias file links

2014-04-14 Thread Ken Mankoff
On 2014-04-14 at 12:26, Achim Gratz wrote: > Ken Mankoff writes: >> Aliases are a type of links ("ln" on linux, "shortcut" on Windows >> "alias" on OS X (OS X of course also supports "ln")). The difference >> between an OS X alias and "ln" is that if the target is moved, the OS >> X alias still po

Re: [O] total time spent on a task

2014-04-14 Thread Christoph Groth
Hello Sacha, Thanks for your quick reply. Sacha Chua writes: > C-c C-x C-d (org-clock-display) will show the task times as overlays > on the headings. That seems to be exactly what I need. It works, but only shows times for top-level headings (i.e. for example "miscellaneous" but not the TODO

Re: [O] A file with 'org-mode rot'?

2014-04-14 Thread Eric S Fraga
On Friday, 11 Apr 2014 at 10:46, Bastien wrote: [...] > Just checking -- are things better now? For me, they seem to be but I haven't consciously been thinking about this problem... too busy with meetings at work! I know that I have recently upgraded org several times on at least one of my syst

Re: [O] Fwd: Mac OS Alias file links

2014-04-14 Thread Achim Gratz
Ken Mankoff writes: > Aliases are a type of links ("ln" on linux, "shortcut" on Windows > "alias" on OS X (OS X of course also supports "ln")). The difference > between an OS X alias and "ln" is that if the target is moved, the OS X > alias still points to it, and double-clicking on an alias (or is

Re: [O] Agenda items refer to the wrong headline

2014-04-14 Thread Fletcher Charest
Hi Nick, I would like to thank you, since your message made me curious about git, and I started using it. After reading a little bit, I was able to install it, clone the org repository and revert the commit we were talking about (that feels good). I can now use Org normally again. I just hope it's

Re: [O] The Org Package

2014-04-14 Thread Achim Gratz
David Masterson writes: > What does this mean? What I said: don't load any part of Org until you have installed the ELPA package. This usually means not to run any startup scripts. > Does this mean you expect people to build Emacs > from scratch just to ensure they do not have Org built-in? I d

Re: [O] total time spent on a task

2014-04-14 Thread Sacha Chua
Christoph Groth writes: Hello, Christoph! > I’m looking for a quick way to check the total time spent on a task. I > bet I’m missing something obvious. (I have set > org-clock-mode-line-total to today, so I do not see the total time of a > clocked-in task in the mode line.) C-c C-x C-d (org-c

[O] total time spent on a task

2014-04-14 Thread Christoph Groth
Hello, I’m looking for a quick way to check the total time spent on a task. I bet I’m missing something obvious. (I have set org-clock-mode-line-total to today, so I do not see the total time of a clocked-in task in the mode line.) Many thanks, Christoph

[O] empty default captions for src blocks

2014-04-14 Thread Dominik Ernst
Hallo, I have a small question, I hope it is right here. The following org code: #+CAPTION: caption of block 1 #+BEGIN_SRC vmpovapd %%zmm0, %zmm1 #+END_SRC #+BEGIN_SRC vmpovapd %%zmm0, %zmm1 #+END_SRC is exported (in my setup) to latex as: \lstset{language=phiassembler,caption={caption of bl

Re: [O] Fwd: Mac OS Alias file links

2014-04-14 Thread Ken Mankoff
On 2014-04-14 at 08:42, Nick Dokos wrote: > What does emacs do when you C-x C-f an alias? Alias in OS X (and Shortcut in Windows) present as files. Org treats it just as it should - as a file. Everything works. > If it opens it properly (i.e. opens the target file) then why is > anything needed

Re: [O] Fwd: Mac OS Alias file links

2014-04-14 Thread Nick Dokos
Ken Mankoff writes: > Hi Bastien, > > Thanks for letting me know it displays properly and email received. The > URL works for me this morning too. > > On 2014-04-14 at 05:22, Bastien wrote: >> Even for those who uses MacOSX, you should perhaps be more specific >> on how Org-mode would store such

Re: [O] tiny patch for org-expiry

2014-04-14 Thread Alan Schmitt
On 2014-04-13 00:11, Bastien writes: > Hi Alan, > > Alan Schmitt writes: > >> I'm trying to write some code to schedule reviews of projects, and I'm >> basing it on org-expiry. I found a couple of tiny bugs with it, which >> may be fixed with this patch. > > I Now Pronounce You Maintainer of Org

Re: [O] Fwd: Mac OS Alias file links

2014-04-14 Thread Ken Mankoff
Hi Bastien, Thanks for letting me know it displays properly and email received. The URL works for me this morning too. On 2014-04-14 at 05:22, Bastien wrote: > Even for those who uses MacOSX, you should perhaps be more specific > on how Org-mode would store such links, then somebody might step up

Re: [O] [BUG] Cannot export a raw link

2014-04-14 Thread Nicolas Goaziou
Hello, Bastien writes: > 1. create a file with "http://orgmode.org"; as its contents > 2. export it to HTML > 3. the exported link is wrong: http:orgmode.org > > I guess it has to do with this commit: > http://orgmode.org/cgit.cgi/org-mode.git/commit/?id=3589f6 > > Can you double-check? Correct

Re: [O] ob-clojure: ':results pp' parses the output as a string value

2014-04-14 Thread Oleh
Hi Phil, Could you test my last commit? Your case should be working now. regards, Oleh

Re: [O] update to ob-clojure.el

2014-04-14 Thread Oleh
>> I've made an update to ob-clojure.el, which wasn't working for me with >> the new cider (the required function was removed). >> >> I haven't looked into 'nrepl or 'slime options for evaluation, is >> anyone using them? >> >> Eric, should 'nrepl option be removed as obsolete? And maybe 'slime as

Re: [O] Fwd: Mac OS Alias file links

2014-04-14 Thread Bastien
Hi Ken, Ken Mankoff writes: > http://article.gmane.org/gmane.emacs.orgmode/84707 appears blank The article is displayed correctly for me, probably a temporary issue with gmane.org. > so perhaps the no reply is due to a posting issue. Hence, I send the > email again... I don't use MacOSX so it

[O] [BUG] Cannot export a raw link

2014-04-14 Thread Bastien
Hi Nicolas, 1. create a file with "http://orgmode.org"; as its contents 2. export it to HTML 3. the exported link is wrong: http:orgmode.org I guess it has to do with this commit: http://orgmode.org/cgit.cgi/org-mode.git/commit/?id=3589f6 Can you double-check? Thanks, -- Bastien