Re: [Orgmode] Re: RELEASE: Org-mode 6.08a
On Oct 6, 2008, at 8:03 AM, Manish wrote: On Mon, Oct 6, 2008 at 9:56 AM, Austin Frank wrote: As always, thanks so much for the hard work! And also to John! On Sun, Oct 05 2008, Carsten Dominik wrote: New attachment system - You can now attach files to each node in the outline tree. This works by creating special directories based on the ID of an entry, and storing files in these directories. Org can keep track of changes to the attachments by automatically committing changes to git. See the manual for more information. Thanks to John Wiegley who contributed this fantastic new concept and wrote org-attach.el to implement it. Well! My curiosity's certainly piqued, but I confess that I don't quite get the applications here. Any chance Carsten or John would be willing to let us know how they're using this? Let me take a stab at it. 1. Create a test file. test.org 2. Add a task to it. 3. Do `C-c C-a' while on the task. 4. Press `a' from the launcher menu to add an attachment. 5. Select a file to be attached to it (somewhere in a subdirectory named data where org files are contained (careful, it will /move/ the file, not copy it.) 6. Attach another file to it using #3-5 (or use `c'.) 7. Press `C-c C-a' followed by `o' to open an attachment from the options. I am sure there's more to it but this was enough for me to be convinced of it's utility. I just wish that: 1. it copied attachemnts instead of moving them (may be an option), and I have now: - select the preferred method with org-attachment-method (cp or mv or ln) - New keys `c', `m', `l' allow to select a specific method for a single attachment. - Creating an attachment as an emacs buffer used to be on `c', it is now on `n'. - Carsten 2. there was another option to archive the attachment directory from the launcher menu itself (a `Z' for zip, just like there is `D' for deletion.) Also, the synopsis above and the manual both mention git integration, but I don't understand what exactly is done. It sounds like if the org file lives in a directory that is a git repo, any additions or changes to the files in the auto-generated data/ subdirectory are automatically committed? Is this the right idea? What does the synchronize command do if the directory isn't a git repo? If the directory where attchments are kept/maintained (not the Org files themselves) is turned into a git repo, then org-attach.el will automatically commit changes to it. I am thrilled to see a move towards some nice defaults for org and git integration. I see that in org-attach.el you're using shell- command to call git directly. If you don't mind, may I ask if you considered using git.el that is distributed with git (in contrib/emacs/), or even magit (http://zagadka.vm.bytemark.co.uk/magit/)? I am not sure but I think git.el and magit.el etc. make it easier for the end-user to interact with git but org-attach.el just needs to execute add and commit on the git repo so an additional dependency can be avoided. As always, thank you Carsten and John for the amazing amazing software. -- Manish ___ Emacs-orgmode mailing list Remember: use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode ___ Emacs-orgmode mailing list Remember: use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
[Orgmode] Lost attachments in latest git?
Hi Carsten, Today's git doesn't seem to find old attachments which is probably a bug. I created a task with an attachment using org-mode commit 5548357d71234dee252ed8c649435139ebad216a. I updated to the latest git version today (commit 3d5bc9ab655065486455e4005b24a1d7bd1fe137) and trying to open the attachment with C-c C-a o just prompts for files in the current directory using Open attachment: If I reset my master back to commit 1da27893e97b5e0186aa04ff92619c880073bae9 (2 commits ago) I can retrieve the attachment again. I set '(org-id-method (quote uuidgen)) using the custom interface and my task has the following information (I changed the filename for this post) in the property drawer: :PROPERTIES: :Effort: 0:10 :Attachments: some-document.doc :ID: f7b6e05-5920-4d8e-8f57-df73797d8600 :END: -Bernt ___ Emacs-orgmode mailing list Remember: use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
Re: [Orgmode] Re: RELEASE: Org-mode 6.08a
>> I am sure there's more to it but this was enough for me to be >> convinced of it's utility. I just wish that: >> >> 1. it copied attachemnts instead of moving them (may be an option), >> and > > I have now: > > - select the preferred method with org-attachment-method (cp or mv or ln) > - New keys `c', `m', `l' allow to select a specific method for a single > attachment. > - Creating an attachment as an emacs buffer used to be on `c', it is now on > `n'. Thank you, Carsten. -- Manish ___ Emacs-orgmode mailing list Remember: use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
[Orgmode] install and info
There might be an inconsistency in the install process. Well, on my debian system. In the Makefile we have , | # Where local software is found | prefix=/usr/local | | # Where local lisp files go. | lispdir = $(prefix)/share/emacs/site-lisp | | # Where info files go. | infodir = $(prefix)/info ` Now I dont pretend to even begin to understand how the info system works but a "sudo make install-info" does not work because (a) it puts the file into /usr/local/info and my system appears to expect it in /usr/local/share/info. In addition the install info command appears to be broken: , | if [ ! -d /usr/local/info ]; then mkdir -p /usr/local/info; else true; fi ; | cp -p doc/org /usr/local/info | install-info --info-file=doc/org --info-dir=/usr/local/info | Usage: install-info [ ...] [--] ` Hopefully someone can shed some light. I think it used to work but am not sure if I was picking up a local info file before. -- We are becoming the servants in thought, as in action, of the machine we have created to serve us. ~John Kenneth Galbraith ___ Emacs-orgmode mailing list Remember: use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
R: [Orgmode] install and info
--- Mer 8/10/08, Richard Riley <[EMAIL PROTECTED]> ha scritto: > There might be an inconsistency in the install process. > Well, on my debian system. > > In the Makefile we have > > , > | # Where local software is found > | prefix=/usr/local > | > | # Where local lisp files go. > | lispdir = $(prefix)/share/emacs/site-lisp > | > | # Where info files go. > | infodir = $(prefix)/info > ` > > Now I dont pretend to even begin to understand how the info > system works but a "sudo make install-info" does not work > because (a) it puts the > file into /usr/local/info and my system appears to expect > it in > /usr/local/share/info. Richard, the section of the Makefile you are referring to begins with: ##-- ## YOU MUST EDIT THE FOLLOWING LINES ##-- so, please, modify your paths accordingly, or download a quite recent version of org from the Debian repository (for both testing, 6.05, and sid 6.06) cheers, Giovanni Scopri il blog di Yahoo! Mail: Trucchi, novità e scrivi la tua opinione. http://www.ymailblogit.com/blog ___ Emacs-orgmode mailing list Remember: use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
Re: [Orgmode] install and info
Richard Riley <[EMAIL PROTECTED]> writes: > There might be an inconsistency in the install process. Well, on my > debian system. > > In the Makefile we have > > , > | # Where local software is found > | prefix=/usr/local > | > | # Where local lisp files go. > | lispdir = $(prefix)/share/emacs/site-lisp > | > | # Where info files go. > | infodir = $(prefix)/info > ` > > Now I dont pretend to even begin to understand how the info system works > but a "sudo make install-info" does not work because (a) it puts the > file into /usr/local/info and my system appears to expect it in > /usr/local/share/info. I changed infodir by myself. > In addition the install info command appears to be broken: > > , > | if [ ! -d /usr/local/info ]; then mkdir -p /usr/local/info; else true; fi ; > | cp -p doc/org /usr/local/info > | install-info --info-file=doc/org --info-dir=/usr/local/info > | Usage: install-info [ ...] [--] > ` > > Hopefully someone can shed some light. I think it used to work but am > not sure if I was picking up a local info file before. It always worked for me. This debian system probably has a different install-info program as most of other system does. On mine system: install-info (GNU texinfo) 4.13 Usage: install-info [OPTION]... [INFO-FILE [DIR-FILE]] -- c/*__o/* <\ * (__ */\ < ___ Emacs-orgmode mailing list Remember: use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
[Orgmode] Re: R: install and info
Giovanni Ridolfi <[EMAIL PROTECTED]> writes: > --- Mer 8/10/08, Richard Riley <[EMAIL PROTECTED]> ha scritto: >> There might be an inconsistency in the install process. >> Well, on my debian system. >> >> In the Makefile we have >> >> , >> | # Where local software is found >> | prefix=/usr/local >> | >> | # Where local lisp files go. >> | lispdir = $(prefix)/share/emacs/site-lisp >> | >> | # Where info files go. >> | infodir = $(prefix)/info >> ` >> >> Now I dont pretend to even begin to understand how the info >> system works but a "sudo make install-info" does not work >> because (a) it puts the >> file into /usr/local/info and my system appears to expect >> it in >> /usr/local/share/info. > > Richard, > the section of the Makefile you are referring to begins with: > ##-- > ## YOU MUST EDIT THE FOLLOWING LINES > ##-- > > so, please, modify your paths accordingly, I guess I was requesting (although didnt make it clear) some auto way of detecting the target OS. Certainly if there is a site elisp I would expect there to be a site info too - so there is still possibly an inconsistency in the defaults. > or download a quite recent version of org > from the Debian repository (for both testing, 6.05, and sid 6.06) Unfortunately they are broken for my setup so I use the recent versions which are no 6.09 area. > > cheers, > > Giovanni > > > Scopri il blog di Yahoo! Mail: > Trucchi, novità e scrivi la tua opinione. > http://www.ymailblogit.com/blog > > > > ___ > Emacs-orgmode mailing list > Remember: use `Reply All' to send replies to the list. > Emacs-orgmode@gnu.org > http://lists.gnu.org/mailman/listinfo/emacs-orgmode > -- Modern technology Owes ecology An apology. ~Alan M. Eddison ___ Emacs-orgmode mailing list Remember: use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
[Orgmode] Question about agenda
I have an org file which the agenda sees in which I put an outline item with notes from a meeting. The header for this item is as follows: * Tasks ... * * Meeting with SCHEDULED: <2008-10-06 Mon> ... What I was somewhat surprised to see was that this continues to roll down my agenda, e.g.: Wednesday 8 October 2008 smite: Sched. 3x: Meeting with X I think this means that I don't really understand the meaning of SCHEDULED, nor do I understand how the agendas are composed. But I'm looking at the info manual now, and I'm not actually enlightened. Is there something I should do to tag something SCHEDULED like this so that it no longer appears in my agenda view as something still to be done? Is there a HAPPENED tag, or something like that? Or, is it the case that I should only use SCHEDULED with todo items? Any guidance much appreciated. Best, R ___ Emacs-orgmode mailing list Remember: use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
[Orgmode] Re: Question about agenda
Robert Goldman <[EMAIL PROTECTED]> writes: > I have an org file which the agenda sees in which I put an outline item > with notes from a meeting. The header for this item is as follows: > > * Tasks > ... > * * Meeting with > SCHEDULED: <2008-10-06 Mon> > ... > > What I was somewhat surprised to see was that this continues to roll > down my agenda, e.g.: > > > Wednesday 8 October 2008 > smite: Sched. 3x: Meeting with X > > > I think this means that I don't really understand the meaning of > SCHEDULED, nor do I understand how the agendas are composed. But I'm > looking at the info manual now, and I'm not actually enlightened. > > Is there something I should do to tag something SCHEDULED like this so > that it no longer appears in my agenda view as something still to be > done? Is there a HAPPENED tag, or something like that? > > Or, is it the case that I should only use SCHEDULED with todo items? > > Any guidance much appreciated. > I make these things into TODO items so it's ** TODO Meeting with and when you mark it DONE it stops showing up on the agenda. If you don't do it when scheduled it starts carrying forward in the agenda. Alternatively you can just use a date without SCHEDULED: and it'll be only at the specific time you specify. I prefer using TODO/DONE so it's obvious when things are complete and I can archive them later without having to look at the date to see if it's in the future/past. -Bernt ___ Emacs-orgmode mailing list Remember: use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
Re: [Orgmode] Question about agenda
On Wed, Oct 8, 2008 at 8:26 PM, Robert Goldman wrote: > I have an org file which the agenda sees in which I put an outline item > with notes from a meeting. The header for this item is as follows: > > * Tasks > ... > * * Meeting with > SCHEDULED: <2008-10-06 Mon> > ... > > What I was somewhat surprised to see was that this continues to roll > down my agenda, e.g.: > > > Wednesday 8 October 2008 > smite: Sched. 3x: Meeting with X > > > I think this means that I don't really understand the meaning of > SCHEDULED, nor do I understand how the agendas are composed. But I'm > looking at the info manual now, and I'm not actually enlightened. > > Is there something I should do to tag something SCHEDULED like this so > that it no longer appears in my agenda view as something still to be > done? Is there a HAPPENED tag, or something like that? When something is SCHEDULED it continues to appear in agenda as long as it is not marked DONE. You can do that (marking something DONE) using C-c C-d in the Org file or using "t" from agenda view. -- Manish ___ Emacs-orgmode mailing list Remember: use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
Re: [Orgmode] Question about agenda
Manish wrote: > On Wed, Oct 8, 2008 at 8:26 PM, Robert Goldman wrote: > > I have an org file which the agenda sees in which I put an outline item > > with notes from a meeting. The header for this item is as follows: > > > > * Tasks > > ... > > * * Meeting with > > SCHEDULED: <2008-10-06 Mon> > > ... > > > > What I was somewhat surprised to see was that this continues to roll > > down my agenda, e.g.: > > > > > > Wednesday 8 October 2008 > > smite: Sched. 3x: Meeting with X > > > > > > I think this means that I don't really understand the meaning of > > SCHEDULED, nor do I understand how the agendas are composed. But I'm > > looking at the info manual now, and I'm not actually enlightened. > > > > Is there something I should do to tag something SCHEDULED like this so > > that it no longer appears in my agenda view as something still to be > > done? Is there a HAPPENED tag, or something like that? > > When something is SCHEDULED it continues to appear in agenda as long > as it is not marked DONE. You can do that (marking something DONE) > using C-c C-d in the Org file or using "t" from agenda view. > OK. But that does seem weird to me. Meetings seem like things that should be scheduled, but they are not TODO items, so they don't seem like the sort of thing that should get a TODO marker (which it what "DONE" is), and they don't seem like the sort of thing that should require an active dismissal. So it seems like "SCHEDULED" is just the Wrong Thing for stuff like my meeting. Is there any different flag I could use that would give me a single appearance in the Agenda? thanks, r ___ Emacs-orgmode mailing list Remember: use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
[Orgmode] Re: Question about agenda
Bernt Hansen wrote: > Robert Goldman <[EMAIL PROTECTED]> writes: > >> I have an org file which the agenda sees in which I put an outline item >> with notes from a meeting. The header for this item is as follows: >> >> * Tasks >> ... >> * * Meeting with >> SCHEDULED: <2008-10-06 Mon> >> ... >> >> What I was somewhat surprised to see was that this continues to roll >> down my agenda, e.g.: >> >> >> Wednesday 8 October 2008 >> smite: Sched. 3x: Meeting with X >> >> >> I think this means that I don't really understand the meaning of >> SCHEDULED, nor do I understand how the agendas are composed. But I'm >> looking at the info manual now, and I'm not actually enlightened. >> >> Is there something I should do to tag something SCHEDULED like this so >> that it no longer appears in my agenda view as something still to be >> done? Is there a HAPPENED tag, or something like that? >> >> Or, is it the case that I should only use SCHEDULED with todo items? >> >> Any guidance much appreciated. >> > > I make these things into TODO items so it's > > ** TODO Meeting with > > and when you mark it DONE it stops showing up on the agenda. If you > don't do it when scheduled it starts carrying forward in the agenda. > > Alternatively you can just use a date without SCHEDULED: and it'll be > only at the specific time you specify. > > I prefer using TODO/DONE so it's obvious when things are complete and I > can archive them later without having to look at the date to see if it's > in the future/past. > > -Bernt Thanks, that seems like the answer for me --- just put a date stamp on the item. Best, r ___ Emacs-orgmode mailing list Remember: use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
Re: [Orgmode] Question about agenda
On Wed, Oct 8, 2008 at 10:56 PM, Robert Goldman wrote: > Manish wrote: >> On Wed, Oct 8, 2008 at 8:26 PM, Robert Goldman wrote: >> > I have an org file which the agenda sees in which I put an outline item >> > with notes from a meeting. The header for this item is as follows: >> > >> > * Tasks >> > ... >> > * * Meeting with >> > SCHEDULED: <2008-10-06 Mon> >> > ... >> > >> > What I was somewhat surprised to see was that this continues to roll >> > down my agenda, e.g.: >> > >> > >> > Wednesday 8 October 2008 >> > smite: Sched. 3x: Meeting with X >> > >> > >> > I think this means that I don't really understand the meaning of >> > SCHEDULED, nor do I understand how the agendas are composed. But I'm >> > looking at the info manual now, and I'm not actually enlightened. >> > >> > Is there something I should do to tag something SCHEDULED like this so >> > that it no longer appears in my agenda view as something still to be >> > done? Is there a HAPPENED tag, or something like that? >> >> When something is SCHEDULED it continues to appear in agenda as long >> as it is not marked DONE. You can do that (marking something DONE) >> using C-c C-d in the Org file or using "t" from agenda view. >> > > OK. But that does seem weird to me. Meetings seem like things that > should be scheduled, but they are not TODO items, so they don't seem > like the sort of thing that should get a TODO marker (which it what > "DONE" is), and they don't seem like the sort of thing that should > require an active dismissal. Most of my meetings are of recurring nature so I never really thought about this but I see what you mean. > > So it seems like "SCHEDULED" is just the Wrong Thing for stuff like my > meeting. Is there any different flag I could use that would give me a > single appearance in the Agenda? I am sorry I am not aware of any such TODO keyword/tag. I was not aware of an item appearing just once if SCHEDULED keyword was omitted as suggested by Bernt. (He almost always teaches me something new every time.) -- Manish ___ Emacs-orgmode mailing list Remember: use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
Re: [Orgmode] Question about agenda
Manish <[EMAIL PROTECTED]> writes: >> >> So it seems like "SCHEDULED" is just the Wrong Thing for stuff like my >> meeting. Is there any different flag I could use that would give me a >> single appearance in the Agenda? > > I am sorry I am not aware of any such TODO keyword/tag. I was not > aware of an item appearing just once if SCHEDULED keyword was omitted > as suggested by Bernt. (He almost always teaches me something new > every time.) > This is the first I've read of this conversation so please forgive if I'm repeating something that's already been said. I agree that the behavior of the SCHEDULED keyword is counter-intuitive. For all of my meetings I just include a time stamp C-c. (cntrl-c period) in the header * one time meeting <2008-10-08 Wed 11:00> or for repeating meetings * weekly meeting <2008-10-08 Wed 11:00 +1w> -- Eric > > -- Manish > > > ___ > Emacs-orgmode mailing list > Remember: use `Reply All' to send replies to the list. > Emacs-orgmode@gnu.org > http://lists.gnu.org/mailman/listinfo/emacs-orgmode ___ Emacs-orgmode mailing list Remember: use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
[Orgmode] Re: Question about agenda
On Wed, Oct 08 2008, Robert Goldman wrote: > I think this means that I don't really understand the meaning of > SCHEDULED, nor do I understand how the agendas are composed. But I'm > looking at the info manual now, and I'm not actually enlightened. > > Is there something I should do to tag something SCHEDULED like this so > that it no longer appears in my agenda view as something still to be > done? Is there a HAPPENED tag, or something like that? ,[ (info "(org)Deadlines and scheduling") ] | SCHEDULED | Meaning: you are planning to start working on that task on the | given date. | | The headline will be listed under the given date(1). In addition, | a reminder that the scheduled date has passed will be present in | the compilation for _today_, until the entry is marked DONE. | I.e., the task will automatically be forwarded until completed. | | *** TODO Call Trillian for a date on New Years Eve. | SCHEDULED: <2004-12-25 Sat> | | Important: Scheduling an item in Org mode should not be understood | in the same way that we understand scheduling a meeting. Setting | a date for a meeting is just a simple appointment, you should mark | this entry with a simple plain time stamp, to get this item shown | on the date where it applies. This is a frequent | mis-understanding from Org-users. In Org mode, scheduling means | setting a date when you want to start working on an action item. ` HTH, /au -- Austin Frank http://aufrank.net GPG Public Key (D7398C2F): http://aufrank.net/personal.asc pgpE9VGeInpOB.pgp Description: PGP signature ___ Emacs-orgmode mailing list Remember: use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
[Orgmode] Custom links
Hi, there where questions about custom links here from time to time. I thought I'd share my way of displaying man pages, info pages and such. This is how I set up my custom links: (setq org-link-abbrev-alist '(("man" . "http://localhost/man.php?q=man&what=%s";) ("info". "http://localhost/man.php?q=info&what=%s";) ("help". "http://localhost/man.php?q=help&what=%s";) ("apropos" . "http://localhost/man.php?q=apropos&what=%s";) ;;; etc. several more... )) As you can see here, I prefer to BROWSE man pages. I hate to clutter my emacs session with buffers like *man*. The "http://localhost/devel/man.php"; is attached to this mail. It's not the version I use localy (that is included in a knowledge base app I wrote), but it's just working that way. The man.php does display links in Org-files like [[man:man][How to use the man command]] [[man:man 7][How to write manpages]] [[help:man][man --help]] [[info:man][Read about man in info]] needs info2html or info2www. [[apropos:man][man -k -- find man pages refering to man]] man.php also turns the names of man pages in the 'SEE ALSO' section into hyperlinks. Same is true for the names of man pages listed in the apropos' output. This way, you can BROWSE YOUR MAN PAGES. A big advantage is the use of tabs in a web browser like opera or firefox. The script is easy to set up if you have a webserver running locally. It's not meant for a public installation, where you don't want to allow scripts to execute shell commands. Having 'man' installed, a webserver is just an 'apt-get install apache2 php5' or 'rpm -I apache2 php5'. You might also need to install one or two packages from the roff family, to create the HTML output. I could not live without a webserver and database installed. Can you? The setup is just as simple. Put man.php in a directory under your localhost's web root and adjust the three values in the SETUP section. Happy browsing, - Sebastian man.php Description: application/httpd-php ___ Emacs-orgmode mailing list Remember: use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
[Orgmode] Feature-Request/Question: how to apply a calc/elisp function to a column in org-column-view
Hi, In columnview, I'm looking to be able to apply a calc/elisp function to a columns values before the column view is generated. This is specifically for columnviews captured in tables. (see info:org:Capturing column view) This has come up before, and Carsten was nice enough to make it possible to recalculate the column view automatically using an existing #+TBLFM line inside the columnview dynamic block. However, I would like to *replace* a column's value with a calculated result. This is because I am sometimes storing very *large* lists as properties (large enough that Emacs chokes when trying to manage tables with such large cells), and then trying to use columnview to generate tables of calculated properties of these lists. I realize that this is both an edge-case and a bastardization of the intended use of columnview, and I would be happy to put the required effort into implementing such a feature, but I have become tangled in the columnview code, and don't know where I should look to insert this functionality. I was thinking this should be part of either `org-dblock-write:columnview', or `org-columns', and then I noticed `org-columns-compute-all' which seemed promising but upon inspection was somewhat opaque. Could anyone familiar with org-colview.el point me in the right direction? Should I just abandon the use of columnview for this task, and instead write an independent function which sucks in the properties and spits out the table? Many Thanks -- Eric As a "simple" example see below, I'd like to be able to generate the given table using the given #+COLUMNS line (or something like it) * example #+COLUMNS: %ITEM %d %f %=f+d #+BEGIN: columnview :id "results" | ITEM| d | f | f+d | |-++---+-| | *** Results || | | | run1 | 33 | 2 | 35 | | run2 | 34 | 2 | 36 | | run3 | 35 | 2 | 37 | | run4 | 36 | 2 | 38 | #+END: ** Results :PROPERTIES: :ID: results :END: *** run1 :PROPERTIES: :d: 33 :f: 2 :END: *** run2 :PROPERTIES: :d: 34 :f: 2 :END: *** run3 :PROPERTIES: :d: 35 :f: 2 :END: *** run4 :PROPERTIES: :d: 36 :f: 2 :END: ___ Emacs-orgmode mailing list Remember: use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
Re: [Orgmode] Feature-Request/Question: how to apply a calc/elisp function to a column in org-column-view
Hi Eric, one conceivable way out would be this: First you do create a column view that does contain all the columns that you need, and then you use TBLFM to create additional columns with the desired results. That will leave you with a table with all the values you need, but with a few columns too many, right? You could then use the orgtbl send/receive mechanism to send this table to a different location in the same buffer. On the way you can skip the columns you do not want, this is the :skip parameter to the orgtbl-to- generic translator function. If that is not enough, you could write your own translator function which does do more complex operations. Clearly a hack, and maybe you need to ask yourself if you want to do this kind of complex operations in Org-mode, or maybe if you are better off to use an external, full spreasheet program for this. A completely independent way would be to implement a separate function that updates property values according to your formulas, so you could create additional properties this way, *before* you cal column view to extract the table. Such a function would be easy to write if the formulas only connect values within a single entries, i.e. if they do not depend on children or parent values. Such a function would be easy: - Walk the outline tree - At each stop check if you want to do a calculation, for example only do it if all properties that you need already exist. - if yes, use org-entry-get to get the property values - Do your calculation and put the result back into a new property. For large outlines/tables, this is definitely going to be slow. Org and column view are not optimized for large datasets. HTH, for now. - Carsten On Oct 9, 2008, at 3:57 AM, Eric Schulte wrote: Hi, In columnview, I'm looking to be able to apply a calc/elisp function to a columns values before the column view is generated. This is specifically for columnviews captured in tables. (see info:org:Capturing column view) This has come up before, and Carsten was nice enough to make it possible to recalculate the column view automatically using an existing #+TBLFM line inside the columnview dynamic block. However, I would like to *replace* a column's value with a calculated result. This is because I am sometimes storing very *large* lists as properties (large enough that Emacs chokes when trying to manage tables with such large cells), and then trying to use columnview to generate tables of calculated properties of these lists. I realize that this is both an edge-case and a bastardization of the intended use of columnview, and I would be happy to put the required effort into implementing such a feature, but I have become tangled in the columnview code, and don't know where I should look to insert this functionality. I was thinking this should be part of either `org-dblock-write:columnview', or `org-columns', and then I noticed `org-columns-compute-all' which seemed promising but upon inspection was somewhat opaque. Could anyone familiar with org-colview.el point me in the right direction? Should I just abandon the use of columnview for this task, and instead write an independent function which sucks in the properties and spits out the table? Many Thanks -- Eric As a "simple" example see below, I'd like to be able to generate the given table using the given #+COLUMNS line (or something like it) * example #+COLUMNS: %ITEM %d %f %=f+d #+BEGIN: columnview :id "results" | ITEM| d | f | f+d | |-++---+-| | *** Results || | | | run1 | 33 | 2 | 35 | | run2 | 34 | 2 | 36 | | run3 | 35 | 2 | 37 | | run4 | 36 | 2 | 38 | #+END: ** Results :PROPERTIES: :ID: results :END: *** run1 :PROPERTIES: :d: 33 :f: 2 :END: *** run2 :PROPERTIES: :d: 34 :f: 2 :END: *** run3 :PROPERTIES: :d: 35 :f: 2 :END: *** run4 :PROPERTIES: :d: 36 :f: 2 :END: ___ Emacs-orgmode mailing list Remember: use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode ___ Emacs-orgmode mailing list Remember: use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
Re: [Orgmode] install and info
Hi everyone, I'd be happy to change the default to infodir = $(prefix)/share/info if this is a better default for most systems. Is it better? So could people on different systems out there please check where the standard info directory is located? Thanks. - Carsten On Oct 8, 2008, at 3:20 PM, Richard Riley wrote: There might be an inconsistency in the install process. Well, on my debian system. In the Makefile we have , | # Where local software is found | prefix=/usr/local | | # Where local lisp files go. | lispdir = $(prefix)/share/emacs/site-lisp | | # Where info files go. | infodir = $(prefix)/info ` Now I dont pretend to even begin to understand how the info system works but a "sudo make install-info" does not work because (a) it puts the file into /usr/local/info and my system appears to expect it in /usr/local/share/info. In addition the install info command appears to be broken: , | if [ ! -d /usr/local/info ]; then mkdir -p /usr/local/info; else true; fi ; | cp -p doc/org /usr/local/info | install-info --info-file=doc/org --info-dir=/usr/local/info | Usage: install-info [ ...] [--] ` Hopefully someone can shed some light. I think it used to work but am not sure if I was picking up a local info file before. -- We are becoming the servants in thought, as in action, of the machine we have created to serve us. ~John Kenneth Galbraith ___ Emacs-orgmode mailing list Remember: use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode ___ Emacs-orgmode mailing list Remember: use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode