[O] Quirk in Emacs-Lisp code block evaluation

2011-07-28 Thread Matthew Snyder
sults: | a | nil | nil | b | But then: #+BEGIN_SRC emacs-lisp '(nil nil nil b) #+END_SRC #+results: I'm using Emacs 24.0.50.1 and Org Mode 7.6, ELPA version 20110728. -- Matthew Snyder

Re: [O] How-to evaluate Java-snippets in org-mode/org-babel?

2011-07-28 Thread Eric Schulte
Torsten Wagner writes: > Hi Eric, > > some feedback of first testing weeks > It works well on my desktop machine, I tried to do the same on my > laptop. However, I faced the problem that java did not find the files. > I tried everything. Made sure using the same java and emacs version > (same

Re: [O] cleaning all the #+results from an org document

2011-07-28 Thread Eric Schulte
Ista Zahn writes: > On Thu, Jul 28, 2011 at 8:59 AM, Stephen Eglen > wrote: >> Thanks Torsten, you've expressed it elegantly! >>> >>> a) send it to someone without the results (to let him create his own) >>> b) archive them without having possible huge amount of lines of >>> results which can be

Re: [O] Pattch to org.texi: Document ":eval no"

2011-07-28 Thread Eric Schulte
Applied, Thanks for the patch -- Eric "Sebastien Vauban" writes: > Hi Stephen, > > Stephen Eglen wrote: >> Small patch attached, thanks Seb for pointing this out. >> >> Stephen >> >> diff --git a/doc/org.texi b/doc/org.texi >> index 3ecf897..eb45885 100644 >> --- a/doc/org.texi >> +++ b/doc/org.

Re: [O] Emacs and tablet devices

2011-07-28 Thread T Helms
On 07/28/2011 08:44 AM, Jason F. McBrayer wrote: On Thu, 28 Jul 2011 13:59:18 +0200, Piter_ wrote: It may be not the best place to ask, but: How useful is emacs on tablet devices. I have been thinking about emacs and freerunner. But I have no clue how the keybindings work with it. Another poss

Re: [O] Release 7.7

2011-07-28 Thread suvayu ali
On Fri, Jul 29, 2011 at 12:00 AM, Nathan Neff wrote: > On Thu, Jul 28, 2011 at 9:33 AM, Michael C Gilbert wrote: >> On Jul 28, 2011, at 3:47 AM, Bastien wrote: >> >>> Allow relative time when scheduling/adding a deadline >>> == > > How is this d

[O] Keeping vertical bars in exported, ASCII file

2011-07-28 Thread Michael Hannon
Greetings.  I wonder if there's a way to tell Emacs to keep the "fences" (vertical bars) in an exported, ASCII file.  I.e., sometimes I'd like:     | Name  | Phone | Age |     |---+---+-|     | Peter |  1234 |  17 |     | Anna  |  4321 |  25 | instead of:   Name    Phone   Age 

Re: [O] Release 7.7

2011-07-28 Thread Nathan Neff
On Thu, Jul 28, 2011 at 9:33 AM, Michael C Gilbert wrote: > On Jul 28, 2011, at 3:47 AM, Bastien wrote: > >> Allow relative time when scheduling/adding a deadline >> == How is this different from the previous behavior? I thought it was always p

Re: [O] getorg.sh script

2011-07-28 Thread suvayu ali
Hi Jude, On Thu, Jul 28, 2011 at 11:39 PM, Bernt Hansen wrote: > If that happens and you get a conflict you don't know how to deal with > and you're willing to reedit your Makefile changes (which you would have > to do anyway if you get a fresh clone) then you can just nuke everything > with > >

Re: [O] getorg.sh script

2011-07-28 Thread Bernt Hansen
> On Thu, 28 Jul 2011, Bernt Hansen wrote: > >> In what situations does org-mode update fail? I've never had to reclone >> the org-mode repository - ever. If git update fails, just do it again. >> Recloning means you need to download all of the objects for org-mode >> again which should never be

Re: [O] getorg.sh script

2011-07-28 Thread Jude DaShiell
Whenever I apply a patch to the Makefile an orgmode update fails since my local changes have to be stashed or commited according to git. It's the merge step that fails. I probably know less about git than I ought to, but that's what's happened over here. On Thu, 28 Jul 2011, Bernt Hansen wrot

Re: [O] Org-Mode Homepage error

2011-07-28 Thread Achim Gratz
Bastien writes: > Mhh... I tried to patch org-info-src.js with this fix, to recompile > it (and get org-info.js). I copied the result here: > > http://orgmode.org/org-info2.js > > Then setting this path in `org-infojs-options', I tried various ways > of getting a working HTML file, with the

[O] parsing options

2011-07-28 Thread Eric Abrahamsen
Is there a generic function for parsing options lines at the top of a file? I'd like to use some custom lines to set certain file-specific variables, and haven't quite figured out the best way to do that. It looks like org-set-regexps-and-options does that when you open a new file, but that's a be

Re: [O] Attachments and refiling

2011-07-28 Thread Bernt Hansen
> At Thu, 28 Jul 2011 09:51:54 +0200, > Bastien wrote: >> >> Hi Darlan, >> >> here is how I see the situation regarding attachments: >> >> 1. org-attach.el is nice because it makes it easy to attach a file to a >>task, while not *worrying* about where the file is on the harddrive. >> >> 2.

Re: [O] Release 7.7

2011-07-28 Thread Marcelo de Moraes Serpa
Thank you guys! Awesome release. Hope to be able to contribute soon, currently getting my head around elisp and the org mode source. @Bastien enjoy your vacation... post some pictures! Cheers! Marcelo. On Thu, Jul 28, 2011 at 9:33 AM, Michael C Gilbert wrote: > On Jul 28, 2011, at 3:47 AM, Ba

Re: [O] Attachments and refiling

2011-07-28 Thread Darlan Cavalcante Moreira
Regarding (2), is this a design decision? Currently I have the ATTACH_DIR property of some headings set to a relative path from the org file and it works perfectly. That is, it is possible to use either absolute or relative path for the ATTACH_DIR property right now. But if this is a design decis

Re: [O] #+STARTUP: nologrefile seemingly not respected

2011-07-28 Thread Brian van den Broek
Hi all, On 28 July 2011 01:12, Brian van den Broek wrote: > I have '(setq org-log-refile 'time)' in my .emacs. I have the line > '#+STARTUP: nologrefile' in a subtree at the bottom of my inbox.org. > > Given this setup, I'd expect to get refiling notes with the time of > refiling when I refile f

Re: [O] Remove orgx files

2011-07-28 Thread Stefan Vollmar
Dear Bastian, dear Carsten, we have just re-organized parts of our software documentation (Org-mode exlusively, of course) and I had a "colophon" section in mind with all Org source files and a short description of our workflow (it might be ready in a few days). Here is a link to the index page

Re: [O] wolfram's computable document format

2011-07-28 Thread John Hendy
On Thu, Jul 21, 2011 at 11:42 PM, Scott Randby wrote: > On 07/21/2011 05:41 PM, David O'Toole wrote: >> http://www.wolfram.com/cdf/ >> >> Looks nice, and could be very interesting to orgmoders. >> >> > > Mathematica is required to make a CDF document and the required reader > is at least 100 MB in

Re: [O] stop rebuilding of agenda upon secondary filtering? (7.6 behavior)

2011-07-28 Thread Memnon Anon
Michael Gilbert writes: > Upon upgrading to 7.6, I am noticing that my agenda now rebuilds as I > move between various secondary filters. This is a substantial slowdown > to my regular workflow. Is there a setting I could use to adjust this > behavior? Other advice? see: Message-ID: <87fwlqxw6u.

Re: [O] cleaning all the #+results from an org document

2011-07-28 Thread Ista Zahn
On Thu, Jul 28, 2011 at 8:59 AM, Stephen Eglen wrote: > Thanks Torsten, you've expressed it elegantly! >> >> a) send it to someone without the results (to let him create his own) >> b) archive them without having possible huge amount of lines of >> results which can be reproduced any time by execu

Re: [O] bulk relative time shift (in org file)?

2011-07-28 Thread Memnon Anon
Michael C Gilbert writes: > Ideally, something like this should be available in the org file, > rather than in the agenda. [...] > > But if I shift back and forth to the agenda, then I can make this > work. I'm assuming that the 'Cc C-s' and 'C-c C-d' commands don't work > on regions or on everyt

Re: [O] Remove orgx files

2011-07-28 Thread Bastien
Hi Carsten, Carsten Dominik writes: > Yes. I think the include mechanism was so that people could write > their own wrapper file in their own style around the index. > I am CCing Stefan who was the driving force behind the index development, > he might have a comment. I don't see Stefan in CC:

Re: [O] Bug: Tag set in agenda need a refresh to be used in a filter [7.4]

2011-07-28 Thread Bastien
Hi Matt, Matt Lundin writes: > I would suggest that this *is* the expected behavior. The cost of > refreshing the agenda is relatively expensive - it should not be done > on each filter. I see. I have reverted this change. Still, Nicolas' request makes sense, I would like to find a solution,

Re: [O] Bug: Tag set in agenda need a refresh to be used in a filter [7.4]

2011-07-28 Thread Matt Lundin
Hi Bastien, Bastien writes: > Nicolas Dudebout writes: > >> When filtering with a tag that was just added, the result is not as >> expected. >> >> * Steps * >> 1 - Go in the agenda view. >> 2 - Attach a tag to an entry . >> 3 - Filter using tag . >> (4 - Refresh the view) >> >> * Expected beha

[O] stop rebuilding of agenda upon secondary filtering? (7.6 behavior)

2011-07-28 Thread Michael Gilbert
Hi — Upon upgrading to 7.6, I am noticing that my agenda now rebuilds as I move between various secondary filters. This is a substantial slowdown to my regular workflow. Is there a setting I could use to adjust this behavior? Other advice? TIA — Michael

Re: [O] Release 7.7

2011-07-28 Thread Michael C Gilbert
On Jul 28, 2011, at 3:47 AM, Bastien wrote: > Allow relative time when scheduling/adding a deadline > == > > You can now use relative duration strings like "-2d" or "++3w" > when calling =org-schedule= or =org-deadline=: it will schedule > (or

Re: [O] Attachments and refiling

2011-07-28 Thread Nick Dokos
suvayu ali wrote: > On Thu, Jul 28, 2011 at 3:46 PM, Nick Dokos wrote: > > suvayu ali wrote: > > > >> Hi Bastien, > >> > >> On Thu, Jul 28, 2011 at 9:51 AM, Bastien wrote: > >> > I suggest fixing problem (3) by making `org-attach-dir' defaulting to > >> > "~/.org-attachments/". > >> > >> Since

Re: [O] getorg.sh script

2011-07-28 Thread Bernt Hansen
Jude DaShiell writes: > These days I use this when an org-mode update fails and I have to erase > the whole org-mode directory tree and clone org-mode again. > Cut here. > > #!/bin/bash > #file getorg.sh - run git to update local org repository. > if [ -r ~/org-mode ]; then > echo "updating e

Re: [O] Attachments and refiling

2011-07-28 Thread suvayu ali
On Thu, Jul 28, 2011 at 3:46 PM, Nick Dokos wrote: > suvayu ali wrote: > >> Hi Bastien, >> >> On Thu, Jul 28, 2011 at 9:51 AM, Bastien wrote: >> > I suggest fixing problem (3) by making `org-attach-dir' defaulting to >> > "~/.org-attachments/". >> >> Since most of us like to put our org files un

Re: [O] Attachments and refiling

2011-07-28 Thread Nick Dokos
suvayu ali wrote: > Hi Bastien, > > On Thu, Jul 28, 2011 at 9:51 AM, Bastien wrote: > > I suggest fixing problem (3) by making `org-attach-dir' defaulting to > > "~/.org-attachments/". > > Since most of us like to put our org files under version control, > maybe setting it to > > (concat org-

Re: [O] Pattch to org.texi: Document ":eval no"

2011-07-28 Thread Sebastien Vauban
Hi Stephen, Stephen Eglen wrote: > Small patch attached, thanks Seb for pointing this out. > > Stephen > > diff --git a/doc/org.texi b/doc/org.texi > index 3ecf897..eb45885 100644 > --- a/doc/org.texi > +++ b/doc/org.texi > @@ -12990,10 +12990,10 @@ permissions of the tangled file are set to make

Re: [O] cleaning all the #+results from an org document

2011-07-28 Thread Stephen Eglen
Thanks Torsten, you've expressed it elegantly! > > a) send it to someone without the results (to let him create his own) > b) archive them without having possible huge amount of lines of > results which can be reproduced any time by executing the block again. > c) to delete all the old results and

Re: [O] Emacs and tablet devices

2011-07-28 Thread Jason F. McBrayer
On Thu, 28 Jul 2011 13:59:18 +0200, Piter_ wrote: It may be not the best place to ask, but: How useful is emacs on tablet devices. I have been thinking about emacs and freerunner. But I have no clue how the keybindings work with it. So my second guess is nanonote which has a keyboard (but i woul

Re: [O] cleaning all the #+results from an org document

2011-07-28 Thread Torsten Wagner
Hi, but there is one interesting aspect missing. If I want to evaluate the blocks and see the results but e.g. a) send it to someone without the results (to let him create his own) b) archive them without having possible huge amount of lines of results which can be reproduced any time by exec

[O] Pattch to org.texi: Document ":eval no"

2011-07-28 Thread Stephen Eglen
Small patch attached, thanks Seb for pointing this out. Stephen diff --git a/doc/org.texi b/doc/org.texi index 3ecf897..eb45885 100644 --- a/doc/org.texi +++ b/doc/org.texi @@ -12990,10 +12990,10 @@ permissions of the tangled file are set to make it executable. @subsubsection @code{:eval} The

[O] Emacs and tablet devices

2011-07-28 Thread Piter_
Hi all. It may be not the best place to ask, but: How useful is emacs on tablet devices. I have been thinking about emacs and freerunner. But I have no clue how the keybindings work with it. So my second guess is nanonote which has a keyboard (but i would prefer freerunner as it has less moving par

Re: [O] cleaning all the #+results from an org document

2011-07-28 Thread suvayu ali
Hi Stephen, On Thu, Jul 28, 2011 at 1:41 PM, Stephen Eglen wrote: >> >> If you don't want the results to be produced at all, you can always use >> the babel header option[1] :results silent. > > Thanks Suvayu, I'm gradually learning about all the various ways output > can be exported vs shown in

[O] column view summary format

2011-07-28 Thread Michael Brand
Hi all I have an issue with the column summary format in this minimal example: #+begin_src org ,#+COLUMNS: %15ITEM %amount(amt){+; %5.1f} ,* section ,** subsection 1 , :PROPERTIES: , :amount: 7.12 , :END: ,** subsection 2 , :PROPERTIES: , :amount: 98.34 , :END:

Re: [O] cleaning all the #+results from an org document

2011-07-28 Thread Sebastien Vauban
Hi Suvayu and Stephen, suvayu ali wrote: >> #+begin_src R >> round(runif(n=5, min=0, max=1), 3) >> #+end_src >> >> #+results: >> | 0.435 | >> | 0.884 | >> | 0.219 | >> | 0.748 | >> | 0.532 | >> >> I'd like the results table to be deleted, but not the code chunk. > > If you don't want the results t

[O] column view sum scope

2011-07-28 Thread Michael Brand
Hi all, hi Carsten I have an issue with the column view sum scope that can be shown best with a minimal word count example: #+begin_src org ,#+COLUMNS: %14ITEM %18word_count(sum of word counts){+} ,- dynamic block for column view: , #+BEGIN: columnview , #+END: ,* article ,** sectio

Re: [O] cleaning all the #+results from an org document

2011-07-28 Thread Stephen Eglen
> > If you don't want the results to be produced at all, you can always use > the babel header option[1] :results silent. Thanks Suvayu, I'm gradually learning about all the various ways output can be exported vs shown in the org buffer. Am I right in understanding that :results silent just affe

[O] updating drift.org on Worg

2011-07-28 Thread Stephen Eglen
I've had an attempt at updating drift.org on Worg (currently in Worg/FIXME) so that it compiles in today's org mode. Can some kind soul check if this patch works? I've put brief comments at the end as to what I've changed, and note also for some reason the strange rendering of p[1] <- X1/N

Re: [O] Release 7.7

2011-07-28 Thread suvayu ali
On Thu, Jul 28, 2011 at 12:47 PM, Bastien wrote: > Dear all, > > I'm releasing Org 7.7. > Wow! That was a fast bump from 7.6. Congratulations again to you and everyone else. :) -- Suvayu Open source is the future. It sets us free.

Re: [O] How-to evaluate Java-snippets in org-mode/org-babel?

2011-07-28 Thread Torsten Wagner
Hi Eric, some feedback of first testing weeks It works well on my desktop machine, I tried to do the same on my laptop. However, I faced the problem that java did not find the files. I tried everything. Made sure using the same java and emacs version (same linux distro, same test file). Cop

[O] Release 7.7

2011-07-28 Thread Bastien
Dear all, I'm releasing Org 7.7. http://orgmode.org/org-7.7.tar.gz http://orgmode.org/org-7.7.zip Below is the list of changes, also accessible on the website: http://orgmode.org/Changes.html#sec-1 Thanks to all of you for the discussions, feedback and patches. Special thanks to Nicolas

Re: [O] Attachments and refiling

2011-07-28 Thread suvayu ali
Hi Bastien, On Thu, Jul 28, 2011 at 9:51 AM, Bastien wrote: > I suggest fixing problem (3) by making `org-attach-dir' defaulting to > "~/.org-attachments/". Since most of us like to put our org files under version control, maybe setting it to (concat org-directory "/.org-attachments/") would b

[O] getorg.sh script

2011-07-28 Thread Jude DaShiell
These days I use this when an org-mode update fails and I have to erase the whole org-mode directory tree and clone org-mode again. Cut here. #!/bin/bash #file getorg.sh - run git to update local org repository. if [ -r ~/org-mode ]; then echo "updating emacs-org-mode" cd org-mode git pull mak

Re: [O] Remove orgx files

2011-07-28 Thread Carsten Dominik
On Jul 28, 2011, at 11:25 AM, Bastien wrote: > Hi Carsten, > > Carsten Dominik writes: > >> I have not looked at you patch. But the orgx files are produced for >> index and sitemap (I think) purposes. If a site has many files and the >> index get recreated after republishing a single changed

Re: [O] Bug: Tag set in agenda need a refresh to be used in a filter [7.4]

2011-07-28 Thread Bastien
Hi Nicolas, Nicolas Dudebout writes: > When filtering with a tag that was just added, the result is not as > expected. > > * Steps * > 1 - Go in the agenda view. > 2 - Attach a tag to an entry . > 3 - Filter using tag . > (4 - Refresh the view) > > * Expected behavior * > by doing steps 1-3, en

Re: [O] Agenda global list tweak

2011-07-28 Thread Bastien
Hi Ido, Ido Magal writes: > So instead of > > todo.txtmow lawn > todo.txtclean mower > todo.txtbuy fuel > > i'd see > > todo.txt mow lawn > mow lawn clean mower > mow lawn buy fuel > > Is this easy to do? Stupid trick: rename your CATEGORY to use the name of the current en

Re: [O] [DEV] Org-Startup.el concept

2011-07-28 Thread Bastien
Hi Matthew, Matthew Sauer writes: > Also, what will happen if I run the command to append the custom > agenda views and none have been defined? I think you will see by yourself :) Let us know when you have some code ready that we can check, and good luck for writing it! Best, -- Bastien

Re: [O] Remove orgx files

2011-07-28 Thread Bastien
Hi Carsten, Carsten Dominik writes: > I have not looked at you patch. But the orgx files are produced for > index and sitemap (I think) purposes. If a site has many files and the > index get recreated after republishing a single changed file, the orgx > files would be needed. Of course, you'r

Re: [O] cleaning all the #+results from an org document

2011-07-28 Thread suvayu ali
Hi Stephen, On Thu, Jul 28, 2011 at 10:31 AM, Stephen Eglen wrote: > Is there an easy way to delete all the #+results: blocks that have been > generated as the result of running org mode blocks?  e.g. If I have the > following chunk: > > #+begin_src R > round(runif(n=5, min=0, max=1), 3) > #+end_

Re: [O] New feature: loop over siblings for some commands

2011-07-28 Thread Bastien
Hi David, David Maus writes: > My vacation starts saturday so I do have time and really like to get > my hands dirty with some Lisp hacking. Great, thanks. > Now for the macro (2 iterations later): It might not be necessary to > factor out the functions if the function that invokes the looping

Re: [O] [PATCH 2/2] Log yesterday item today, better org-extend-today-until

2011-07-28 Thread Bastien
Hi Max, Max Mikhanosha writes: > There is already unfinished support for "backdating" stuff via > org-extend-today-until variable, but it does not work in the log-note > time-stamp. Following patch fixes that oversight, and adds two new > commands: (org-done-yesterday) and (org-agenda-done-yeste

[O] cleaning all the #+results from an org document

2011-07-28 Thread Stephen Eglen
Is there an easy way to delete all the #+results: blocks that have been generated as the result of running org mode blocks? e.g. If I have the following chunk: #+begin_src R round(runif(n=5, min=0, max=1), 3) #+end_src #+results: | 0.435 | | 0.884 | | 0.219 | | 0.748 | | 0.532 | I'd like the r

Re: [O] Trouble compiling

2011-07-28 Thread Avery Chan
That's unfortunate. I /am/ in China; sounds like the Great Firewall might be at work. Thanks for the input... Avery On Jul 28, 2011, at 4:02 AM, Marc-Oliver Ihm wrote: On 27.07.2011 11:18, Avery Chan wrote: To whom it may concern, I am trying to load orgmode via the emacs-starter kit. Fol

Re: [O] New version which is compatible with emacs 24: New function to view your notes in chronological order

2011-07-28 Thread Bastien
Hi Marc-Oliver, Marc-Oliver Ihm writes: > Thanx for testing again ! You're welcome. > I will try to figure out, how to patch `org-sparse-tree'. Thanks -- let us know how it goes, and take the time to grasp Org's internals... > And I will add active timestamps. Which was a think, that I have

Re: [O] Fwd: Development workflow

2011-07-28 Thread Bastien
Marcelo de Moraes Serpa writes: > Thanks Jambunathan, that's really some good advice. You're right, > sometimes we just postpone things because we think we should "get > ready" for it. Profound and true. Indeed: http://vimeo.com/26415958 -- Bastien

Re: [O] making coloured tables

2011-07-28 Thread Bastien
Dear all, I welcome discussions about features in this area, but please be aware this is something I will not be hacking into in the next two months. So, if someone wants to take this in charge and to propose a design and an implementation, please do! Thanks, -- Bastien

Re: [O] Attachments and refiling

2011-07-28 Thread Bastien
Hi Darlan, here is how I see the situation regarding attachments: 1. org-attach.el is nice because it makes it easy to attach a file to a task, while not *worrying* about where the file is on the harddrive. 2. Adding an ATTACH_DIR property will always add an absolute path, so there is no p

Re: [O] Development workflow

2011-07-28 Thread Bastien
Hi Marcelo, Jambunathan K writes: > You don't have to compile your elisp files at all and as a developer I > would even venture to say you shouldn't. I also recommend not compiling your .el files, you will have more useful debug traces (setq edebug-on-error t). I would suggest reading the docu

Re: [O] [PATCH] New org-depend trigger for finding next highest priority/effort item

2011-07-28 Thread Bastien
Hi Max, Max Mikhanosha writes: > At Wed, 27 Jul 2011 13:33:16 +0200, > Bastien wrote: >> >> Also, it would be really nice to update this tutorial on Worg and to >> show how to use the new feature you introduced: >> >> http://orgmode.org/worg/org-contrib/org-depend.html > > Done, will push on

Re: [O] making coloured tables

2011-07-28 Thread Daniel Clemente
El Wed, 27 Jul 2011 22:30:19 +0200 Sebastien Vauban va escriure: > if they seem to make sense... So, here's my idea: having some automagic style > (background) applied on the cells to distinguish: > > - the input cells (the ones you cannot delete... without troubles): they don't > have any formu