Re: [Orgmode] Relative dates with sexep

2010-09-19 Thread julien cubizolles
Le samedi 18 septembre 2010 à 20:03 +0100, Eric S Fraga a écrit : > > (defun diary-relative (n day) > > "Diary entry that will always appear N days from day" > > (= > >(calendar-absolute-from-gregorian date) > >(+ n (calendar-absolute-from-gregorian day > > > > I try to use it wit

[Orgmode] Sparse trees and searching for multiple words

2010-09-19 Thread Tom
I see sparse trees can be constructed by searching for a regexp, but I can't find the same ability for multiple searches. For example, I'd like to see entries which contains the words 'cat' and 'dog' in any order. Or 'apple', 'orange', 'melon', 'plum' and 'pear' in any order. Searching for multip

[Orgmode] Bug? org-babel-lob-ingest problem

2010-09-19 Thread Aidan Gauland
Calling org-babel-lob-ingest on a file with code blocks seems to work only for the current Emacs session, and doesn't seem to affect the variable org-babel-lob-files. If I quit and restart Emacs, it's as if I never loaded a file with org-babel-lob-ingest. Also I see "(mismatch)" next to the "Stat

Re: [Orgmode] [Bug] Level 2 text not exported in LaTeX (well in HTML) + some comments

2010-09-19 Thread Nicolas Goaziou
> Eric S Fraga writes: > So you are saying, if I understand you correctly, that you cannot > have something like this: > --8<---cut here---start->8--- > 1. some text >- a nested list >- with two items >some more text for the first numbered item

Re: [Orgmode] How can I get document metadata?

2010-09-19 Thread Sebastian Rose
Aidan Gauland writes: > Is there an org function to get the title, author, etc. of an org document? > > --Aidan How about C-h f org-parse-local-options BTW: C-h f org-par TAB TAB is your friens ;) HTH Sebastian ___ Emacs-orgmode mailing list

Re: [Orgmode] How can I get document metadata?

2010-09-19 Thread Sebastian Rose
Sebastian Rose writes: > Aidan Gauland writes: >> Is there an org function to get the title, author, etc. of an org document? >> >> --Aidan > > How about > > C-h f org-parse-local-options > > > BTW: > > C-h f org-par TAB TAB > > is your friens ;) > > > HTH > > Sebastian This is awkward to us

[Orgmode] How to export =\'= as a table entry in latex

2010-09-19 Thread zwz
Those days when I was preparing a presentation about the special chars that starts with a =\= in C programming language, I made such a table | \' | signle quote | | \" | double quote | It did not work after I hit C-c C-e p. So I modified it as | =\'= | signle quote | | =\"= | double quote | St

[Orgmode] Tags in Agenda View

2010-09-19 Thread Scott Randby
Is there any way to set org-mode so that tags don't appear in the agenda view? I've been looking around to see if this can be done, but I haven't been able to find anything. If this cannot be done, then I request the feature of allowing tags to be excluded from the agenda view. Scott Randby _

[Orgmode] Re: Tags in Agenda View

2010-09-19 Thread Richard Riley
org-agenda-remove-tags is a variable defined in `org-agenda.el'. Scott Randby writes: > Is there any way to set org-mode so that tags don't appear in the agenda > view? I've been looking around to see if this can be done, but I haven't > been able to find anything. If this cannot be done, then

Re: [Orgmode] Re: [babel] exports, caching, remote execution

2010-09-19 Thread Eric Schulte
Hi Tom, This turned out to be a fairly complicated issue. During export of a narrowed region the narrowed region will be coppied to a temporary buffer, when exporting from the buffer all buffer-wide, and headline-wide parameters which are not included in the region are ignored. This results in a

Re: [Orgmode] Worg updating?

2010-09-19 Thread Bastien
Hi Tom, Tom Dye writes: > Most of the links to examples in http://orgmode.org/worg/org-contrib/babel/ > uses.php appear to be broken. Fixed. I've seen you uploaded several pdf files: there is no problem hosting a few PDF files on the server, but please be extra careful not to add too many.

Re: [Orgmode] Worg updating?

2010-09-19 Thread Tom Dye
Aloha Bastien, I didn't know about the limitation on non-org files. I've moved the pdf files to my server. Thanks for your help. All the best, Tom On Sep 19, 2010, at 8:25 AM, Bastien wrote: Hi Tom, Tom Dye writes: Most of the links to examples in http://orgmode.org/worg/org-contrib/

[Orgmode] Re: How can I get document metadata?

2010-09-19 Thread Aidan Gauland
Sebastian Rose gmx.de> writes: > This is awkward to use: > > (org-parse-local-options > (org-get-local-options) > 'org-export-headline-levels) > > Is that function still in use? > > `grep -Fr org-parse-local-options' reveals nothing. Not only is it awkward, it (org-get-local-options) do

[Orgmode] Re: calendar and agenda entries

2010-09-19 Thread Matt Lundin
henry atting writes: > When printing or exporting the emacs calendar it is possible to include > diary entries or holidays. Yes. For more information, see: (info "(emacs) Writing Calendar Files") You'll want to put the following settings in your org-mode file: (setq cal-tex-diary t) (setq ca

Re: [Orgmode] Worg updating?

2010-09-19 Thread Bastien
Hi Tom, Tom Dye writes: > I didn't know about the limitation on non-org files. I've moved the pdf > files to my server. Thanks for this! -- Bastien ___ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode

[Orgmode] Re: [Bug] Level 2 text not exported in LaTeX (well in HTML) + some comments

2010-09-19 Thread Sébastien Vauban
Hi Nicolas, Nicolas Goaziou wrote: >> Sébastien Vauban writes: > >> 1) Ask for it. > >> 2) Make it, answering the following questions: > >>- Got the docs? >>- Signed them? >>- Checked it? > >>THIS LINE DOES NOT SHOW UP in LaTeX!!! > > The whole list should indeed end at this li

[Orgmode] Re: [Bug] Level 2 text not exported in LaTeX (well in HTML) + some comments

2010-09-19 Thread Sébastien Vauban
Hi Nicolas, Nicolas Goaziou wrote: >> Eric S Fraga writes: >> So you are saying, if I understand you correctly, that you cannot have >> something like this: > >> --8<---cut here---start->8--- >> 1. some text >>- a nested list >>- with two items >>

[Orgmode] Re: org-babel - utility to ease chopping src chunks into smaller org entries

2010-09-19 Thread Sébastien Vauban
Hi Richard, Richard Riley wrote: > I often find myself chopping a large source code block into smaller > entities with their own notes, tags and comments etc. This small utility > facilitates that by wrapping the current region with org entry markers > and src code delimiters. It assumes you are i

Re: [Orgmode] calendar and agenda entries

2010-09-19 Thread Bastien
Hi Henry, henry atting writes: > When printing or exporting the emacs calendar it is possible to include > diary entries or holidays. Is there a way to include org-agenda entries > as well? No: it is possible to include org-agenda entries when *displaying* the diary (with M-x diary) - see C-h v

Re: [Orgmode] Re: Babel+gnuplot on Worg

2010-09-19 Thread Bastien
Hi John, John Hendy writes: > Should this be the standard practice now? Images for something in Worg/ > org-contrib/babel/languages/ob-doc_*.org should be kept in the same directory? I'd suggest this: images linked to only one file should go in the same directory than this file, images useful f

Re: [Orgmode] Worg updating?

2010-09-19 Thread Bastien
Hi Erik, Erik Iverson writes: > I had Bastien install R for an update to the R docs that I'm doing, > and it appears to work when he does a manual publish. But I think > the problem is that R is not in the path of whatever user is running > the automated script, you can see the last line is com

Re: [Orgmode] How can I get document metadata?

2010-09-19 Thread Bastien
Hi Sebastian, Sebastian Rose writes: > Is that function still in use? > > `grep -Fr org-parse-local-options' reveals nothing. I've double-checked and no, it's not used. I removed it to spare people's time when C-h f-ing for the right function. Thanks, -- Bastien __

Re: [Orgmode] camel.el, for CamelCase links

2010-09-19 Thread Bastien
Marcelo de Moraes Serpa writes: > *bump* > > On Mon, Sep 13, 2010 at 12:45 PM, Marcelo de Moraes Serpa > wrote: >> Hi guys -- I have pulled the last version from the repo which include >> org-wikinodes, but I don't see the line for the org-wikinodes module >> when customizing the org-modules var

[Orgmode] Re: org-babel - utility to ease chopping src chunks into smaller org entries

2010-09-19 Thread Richard Riley
Sébastien Vauban writes: > Hi Richard, > > Richard Riley wrote: >> I often find myself chopping a large source code block into smaller >> entities with their own notes, tags and comments etc. This small utility >> facilitates that by wrapping the current region with org entry markers >> and src c

Re: [Orgmode] Why :ID: properties?

2010-09-19 Thread Bastien
David Maus writes: >>Now I just have to find an easy way to delete all the :PROPERTIES blocks. > > This one should do the trick: > > (defun dmj:org:remove-empty-propert-drawers () > "*Remove all empty property drawers in current file." > (interactive) > (unless (eq major-mode 'org-mode) >

Re: [Orgmode] org-babel - utility to ease chopping src chunks into smaller org entries

2010-09-19 Thread Eric Schulte
Hi Richard, This is a good idea, I too frequently find myself splitting code blocks. How about this following alternative implementation which should be smart enough to notice if it is inside of a code block, and should work across any code block type. --8<---cut here---sta

Re: [Orgmode] Bug? org-babel-lob-ingest problem

2010-09-19 Thread Eric Schulte
Hi Aidan, This is not a bug, this is the expected behavior of org-babel-lob-ingest, if you would like a file to always be loaded into your library of babel, then you can add the call to org-babel-lob-ingest to your .emacs initialization file. Best -- Eric Aidan Gauland writes: > Calling org-ba

Re: [Orgmode] org-babel caching question

2010-09-19 Thread Eric Schulte
Hi Ista, You're correct, currently the caching mechanism employed by Babel only checks that the same code blocks are used to assign variable, and doesn't check that the results of those code blocks are the same. I'll look into what would be required to include variable values in cache hash calcul

[Orgmode] Re: org-babel - utility to ease chopping src chunks into smaller org entries

2010-09-19 Thread Sébastien Vauban
Hi Richard, Richard Riley wrote: >> Just a question (that could, maybe, make this limitation disappear): did >> you try using Yasnippet (with its =yas/selected-text= possibilities) for >> this job? > > Nope. I never once managed to get yasnippet working in any way that didnt > conflict with tabbin

Re: [Orgmode] [bug] Gnus author in capture templates not working

2010-09-19 Thread Bastien
Hi, David Maus writes: >>I've tried enhancing my capture template for Gnus mail, by using the >>=%:author= variable: > > AFAIK %:author is not a defined property Gnus links (Cf. Manual, > 9.1.3.2 Template expansion). You can use %:fromname to insert the > name of the message author. The only p

[Orgmode] Re: org-babel - utility to ease chopping src chunks into smaller org entries

2010-09-19 Thread Richard Riley
"Eric Schulte" writes: > > Let me know what you think. I notice your implementation uses > regions, It puts the begin/src markers around the region if selected or current word. > where as this one does not, so it's possible I left out some > functionality. I'd like to include some version

Re: [Orgmode] Re: [bug] Gnus author in capture templates not working

2010-09-19 Thread Bastien
Sébastien Vauban writes: > I've tried =%:date= for capturing the date of the email. That does not > work. It should now. Thanks, -- Bastien ___ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org ht

Re: [Orgmode] Re: How can I get document metadata?

2010-09-19 Thread Sebastian Rose
Aidan Gauland writes: > Sebastian Rose gmx.de> writes: >> This is awkward to use: >> >> (org-parse-local-options >> (org-get-local-options) >> 'org-export-headline-levels) >> >> Is that function still in use? >> >> `grep -Fr org-parse-local-options' reveals nothing. > > Not only is it awkwar

[Orgmode] #+source line in export

2010-09-19 Thread Thomas S. Dye
Aloha all, Is there a way to control export of the #+source line? I've been looking for a way to turn it off, especially in LaTeX export where it yields something like this: get-from-github() $\equiv$ I find the output of \equiv distracting (perhaps it is meaningful in a way I don't u

[Orgmode] Query for S. Vauban

2010-09-19 Thread Thomas S. Dye
Aloha Sebastian, While using the listings setup you sent to the list a while back, I found this line and wondered why you chose not to break long lines? breaklines=false, %!! don't break long lines of code The !! in the comment led me to believe you might have some strong reasons.

[Orgmode] Re: org-babel - utility to ease chopping src chunks into smaller org entries

2010-09-19 Thread Richard Riley
Richard Riley writes: > "Eric Schulte" writes: > >> >> Let me know what you think. I notice your implementation uses >> regions, > > It puts the begin/src markers around the region if selected or current word. > >> where as this one does not, so it's possible I left out some >> functionality.

[Orgmode] Re: Bug? org-babel-lob-ingest problem

2010-09-19 Thread Jambunathan K
"Eric Schulte" writes: > Hi Aidan, > > This is not a bug, this is the expected behavior of > org-babel-lob-ingest, if you would like a file to always be loaded into > your library of babel, then you can add the call to org-babel-lob-ingest > to your .emacs initialization file. > > Best -- Eric >

[Orgmode] Problems with capture on Mobile Org for Android

2010-09-19 Thread Robert Goldman
I have just had a problem twice with loss of data using Mobile org for android (flagged as "version 40" in Application Info). Here's what you need to do to lose data: 1. enter "foobar" into the capture window 2. synchronize 3. enter "baz" into the capture window 4. synchronize 5. org-mob

Re: [Orgmode] Problem when previewing latex fragments

2010-09-19 Thread Darlan Cavalcante Moreira
That could be the reason but, org-version returns the correct value. I try different approaches next month after updating the system and I'll report the results. Thanks, Darlan At Sat, 18 Sep 2010 07:29:21 +0200, Carsten Dominik wrote: > > On Fri, Sep 17, 2010 at 3:54 PM, Darlan Cavalcante Mor

Re: [Orgmode] Re: org-babel - utility to ease chopping src chunks into smaller org entries

2010-09-19 Thread Eric Schulte
Hi Richard, Richard Riley writes: > Richard Riley writes: > >> "Eric Schulte" writes: >> >>> >>> Let me know what you think. I notice your implementation uses >>> regions, >> >> It puts the begin/src markers around the region if selected or current word. >> >>> where as this one does not, so

[Orgmode] Re: Bug? org-babel-lob-ingest problem

2010-09-19 Thread Eric Schulte
Jambunathan K writes: > "Eric Schulte" writes: > >> Hi Aidan, >> >> This is not a bug, this is the expected behavior of >> org-babel-lob-ingest, if you would like a file to always be loaded into >> your library of babel, then you can add the call to org-babel-lob-ingest >> to your .emacs initial

Re: [Orgmode] #+source line in export

2010-09-19 Thread Eric Schulte
Hi Tom, The following should inhibit the exportation of code block names. (setq org-export-latex-listings-w-names nil) This is something we've been meaning to make customizable for a while, but it has yet to rise to the top of the Babel task stack. Best -- Eric "Thomas S. Dye" writes: > Al

[Orgmode] Re: [BABEL][PROPOSAL] headlines as executable srcnames

2010-09-19 Thread Eric Schulte
Hi Jambunathan, So, if I'm understanding correctly, what you are proposing includes two separate things, first, a new link-style syntax for calling code blocks, and second, the ability to provide un-named arguments to code blocks. I definitely agree that the second suggestion would be desirable.

Re: [Orgmode] Re: How can I get document metadata?

2010-09-19 Thread Aidan Gauland
On Mon, Sep 20, 2010 at 12:34:22AM +0200, Sebastian Rose wrote: > (let ((opt-plist >(org-export-process-option-filters > (org-combine-plists (org-default-export-plist) > (org-publish-get-project-from-filename buffer-file-name) > (org-infile-export-plist) > >

[Orgmode] Re: [BABEL][PROPOSAL] headlines as executable srcnames

2010-09-19 Thread Eric Schulte
Jambunathan K writes: [...] > > If headlines are considered as code blocks one actually inflate > headlines and execute them for interesting side-effects. Rather than create new syntax allowing headlines to be interpreted as Org-mode code blocks, we could implement this ability of finding and ex

Re: [Orgmode] [babel] Environment around exported results

2010-09-19 Thread Eric Schulte
Hi Seb, Would such an environment be in addition too or in place of wrapping results in the example environment? What would you suggest for tabular results? One very nice property of the current setup is that it relies solely on vanilla Org-mode for export features. If the example export of Org

[Orgmode] Re: org-babel - utility to ease chopping src chunks into smaller org entries

2010-09-19 Thread Richard Riley
"Eric Schulte" writes: > Hi Richard, > > Richard Riley writes: > >> Richard Riley writes: >> >>> "Eric Schulte" writes: >>> Let me know what you think. I notice your implementation uses regions, >>> >>> It puts the begin/src markers around the region if selected or current word

[Orgmode] Re: Bug? org-babel-lob-ingest problem

2010-09-19 Thread Jambunathan K
"Eric Schulte" writes: > Jambunathan K writes: > >> "Eric Schulte" writes: >> >>> Hi Aidan, >>> >>> This is not a bug, this is the expected behavior of >>> org-babel-lob-ingest, if you would like a file to always be loaded into >>> your library of babel, then you can add the call to org-babel-l