Re: [Orgmode] export-latex-final-hook
Matt Price writes: > Thanks to Dan and Carsten, > > I now have this: > > > (defun mwp/push-latex-to-odt () > "takes the exported tex file from org-mode and converts it to odt, > then launches openoffice" > (shell-command >(format "mk4ht oolatex %s.tex" > (file-name-sans-extension (buffer-name > (shell-command >(format "ooffice %s.odt &" > (file-name-sans-extension (buffer-name) > > (add-hook 'org-export-latex-final-hook > 'mwp/push-latex-to-odt) > > > which works fine. The only issue is that the first shell command, > mk4ht oolatex, sometimes takes a while to finish processing & would be > nice to have running in the background. Should just write a shell > script that runs the two commands, and then fork that process? Or is > there a slightly more elegant way that keeps all of the programming > contained in a lisp file? Hi Matt, It's either start-process or start-process-shell-command you want I think. Also, I believe we may have hit on not-quite-the-correct export hook. This seems to work: (defun mwp/push-latex-to-odt () "takes the exported tex file from org-mode and converts it to odt, then launches openoffice" (let* ((file-name (file-name-sans-extension (buffer-name))) (output-buffer "*latex-to-odt output*") (cmd (format "mk4ht oolatex %s.tex && ooffice %s.odt" file-name file-name))) (message "Converting latex to odt") (start-process-shell-command "latex-to-odt" output-buffer cmd))) (add-hook 'org-export-latex-after-save-hook 'mwp/push-latex-to-odt) Dan > > Thanks again, > > matt > > > ___ > Emacs-orgmode mailing list > Please 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 Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
Re: [Orgmode] export-latex-final-hook
Thanks to Dan and Carsten, I now have this: (defun mwp/push-latex-to-odt () "takes the exported tex file from org-mode and converts it to odt, then launches openoffice" (shell-command (format "mk4ht oolatex %s.tex" (file-name-sans-extension (buffer-name (shell-command (format "ooffice %s.odt &" (file-name-sans-extension (buffer-name) (add-hook 'org-export-latex-final-hook 'mwp/push-latex-to-odt) which works fine. The only issue is that the first shell command, mk4ht oolatex, sometimes takes a while to finish processing & would be nice to have running in the background. Should just write a shell script that runs the two commands, and then fork that process? Or is there a slightly more elegant way that keeps all of the programming contained in a lisp file? Thanks again, matt ___ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
[Orgmode] mobile org
Hi I have a web-dav set up via dreamhost on a remote server (http://myfile.clsnyder.com/orgmode/index.org) I have mobile org on my iphone. When I ftp transferred files to the server, they show up on the iphone app, and sync and work fine. I am unable to push or pull anything from my windows/mac home computers from the server via emacs; Under Org Mobile group, I put http://myfile.clsnyder.com/orgmode/ as the org mobile directory (where would I input the username and password?) When I try to push files and views or get captured, I get a "org-mobile-check-setup: Please set `org-directory' to the directory where your org files live" error ? any ideas GNU Emacs 23.1.50. orgmode 6.33a windows 7 Thanks cls ___ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
Re: [Orgmode] Re: suggestions of Android smartphones
Maybe I misunderstood what you meant about the "swipe" feature. There is a keyboard called Swype which is fairly overrated. I can't comment on how well or if a bluetooth keyboard would work... I think if I were going to go to the trouble of carrying around a keyboard I would rather just carry my netbook. 73, Matthew W. Jones (KI4ZIB) http://matburt.net On Mon, Apr 19, 2010 at 7:12 PM, Daniel Martins wrote: > 2010/4/19 Matthew Jones : > > I used swype for about 2 days on my droid before getting rid of it... > it's a > > good concept that needs be iterated on. > > I could not follow your comment here > > > > Trying to use emacs from any of the Android shells is borderline > > impossible... unless you have a full keyboard to hook up to your Android > > phone then I would say you should rule out using it in that fashion. > > A bluetooth keyboard such as > > http://www.dealextreme.com/details.dx/sku.34724 > http://www.dealextreme.com/details.dx/sku.6443 > http://www.dealextreme.com/details.dx/sku.28954 > > > is possible to be used with an Android phone? It worths an investment? > > > Daniel > > > One of the features I'm working on for the MobileOrg beta (along with > being > > able to capture notes and change todo states) is a home screen widget > that > > will show your Agenda or Todo list, this way you don't have to open the > > application to view or adjust these items. > > 73 > > Matthew W. Jones (KI4ZIB) > > http://matburt.net > > > > > > On Mon, Apr 19, 2010 at 8:35 AM, Daniel Martins > wrote: > >> > >> The device I was tantalized to buy was the > >> > >> Motorola Quench > >> > >> maybe mainly for Swipe feature > >> > >> http://www.youtube.com/watch?v=zWpqsDnXIOY (at about 1:00) > >> > >> or maybe for the price (in Brazil is about 500 USD while the Milestone > >> is about 780 USD. I know both are outrageous prices in American or > >> European terms!). BTW the Quench in Brazil DOES NOT seem to come with > >> the swype feature... > >> > >> In fact, I doubt I could edit in Emacs or similar in a phone. I am > >> afraid of virtual keyboards and small physical keyboards as well :) > >> For someone over forties I tend to do not consider these typing > >> devices as toys or at least funny :) > >> > >> For this reason I think that a nice interface such as MobileOrg with > >> agenda view would be the best. > >> > >> ConnectBot seems to be an option as well (when you have connection, of > >> course!) > >> > >> Sven, you seem quite happy with a virtual keyboard. Am I right? > >> > >> Daniel > >> > >> 2010/4/19 Richard Riley : > >> > Eric S Fraga writes: > >> > > >> >> On Sun, 18 Apr 2010 11:07:32 -0300, Daniel Martins > >> >> wrote: > >> >>> > >> >>> --- resending with a proper title --- > >> >>> > >> >>> Matthew, > >> >>> > >> >>> Just a suggestion for newbies. > >> >>> > >> >>> Could you generate a video of MobileOrg Android similar to those of > >> >>> the MobileOrg Iphone. > >> >>> > >> >>> I am still open to suggestions of Android smartphones. > >> >>> > >> >>> If I need to access a remote ssh account and open Emacs, the > available > >> >>> keyborards are OK? > >> >>> > >> >>> Daniel > >> >> > >> >> I have the same questions! My current mobile phone contract expires > >> >> in 3 months and I'm looking at upgrading to an Android phone. The > >> >> current best deal I have found is for the Samsung Galaxy Portal, aka > >> >> the i5700. [1] I'm looking at upgrading to replace my Nokia internet > >> >> tablet (n810) and non-smart phone with one unit. The nokia does a > >> >> really nice job of running emacs and org-mode, mind you. > >> >> > >> >> I'm particularly interested in knowing how the different handsets > >> >> approach the keying in of keys like C-x, M-x, TAB, et al. > >> >> > >> >> Thanks, > >> >> eric > >> > > >> > > >> > +1 on this. I had almost decided on the Motorola Milestone (Droid) but > >> > would love to hear others experiences. Using org-mode in a term emacs > is > >> > not ideal because a lot of shift/arrow/fn chords dont work in the > >> > terminals > >> > I tried (xterm, urxvt etc) and so doubt they will on a mobile device > >> > either : so my hard core usage of only emacs -nw inside urxvt and tmux > >> > soon dwindled and I'm back to using emacs in X. The only problem I now > >> > have is not being to find a way to use ONE x frame with emacsclient > >> > being able to create it if its not already done (I bet I've missed > >> > something obvious but emacsclient -c always creates a new frame and > >> > emacsclient wont create it if its not already there on my emacs). > >> > > >> > > >> > > >> > > >> > ___ > >> > Emacs-orgmode mailing list > >> > Please 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 > >> Please use `Reply All' to send replies to the
[Orgmode] Re: Automatic clock-in
Andrea Crotti writes: > I'm using more and more the very nice clock functions provided by > org-mode. > I added this > --8<---cut here---start->8--- > (global-set-key "\C-c\C-x\C-o" 'org-clock-out) > --8<---cut here---end--->8--- > > So I can clock out from every buffer without problems. > It would be nice somehow to have a similar thing for clock in also. > It's not so easy of course but most of the I clock in in the same buffer > that I last clocked out. > > There could be a default choice which brings you there and otherwise > asks you to which buffer you want to clock in, something like that. > > Or is there another better way to do already what I'm asking? Hi Andrea, I have a couple of tasks I regularly clock in (organization, and read mail/news). These I clock in by F9-o and F9-m respectively. They look up the task by id and clock it in no matter what buffer I am in. I have F9-O as org-clock-out. F11 is bound to org-clock-goto and C-F11 bound to org-clock-in so I can return to my last clocked task simply by pressing F11, or I can visit any recently clocked task with C-u F11 and I can clock in any recently clocked task with C-u C-F11. I use this all the time without thinking about it anymore :) More details are here: http://doc.norang.ca/org-mode.html#KeyBindings http://doc.norang.ca/org-mode.html#ClockSetup Regards, Bernt ___ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
[Orgmode] Re: Agenda View: Do not display items scheduled in the past
Your other option is don't use SCHEDULED: at all -- just use plain timestamps with C-c . These show up on the agenda only on the date they are for. HTH, Bernt Friedericksen Hope writes: > Dear Matt, > > thank you very much - this is exactly what I was looking for. And I > found out something interesting. In the description this variable is > associated with items, that are not marked done. But it displays also > items which have no DONE/TODO marker. So "not done" means really NOT > DONE and not only TODO-items. ;-) > > Best wishes back, > Friedericksen > > On 04/19/2010 04:41 PM, Matt Lundin wrote: >> Friedericksen Hope writes: >> >>> I tried to solve this problem with the manual, but I was not very >>> successfull. I have an org file with several items, nearly all with a >>> timestamp. When I open the standard agenda with C-x a a I get a weekly >>> view with a display of all scheduled items from the past (like missed >>> items) in red below the todays appointment. (I hope you can >>> understand). >>> >>> The items scheduled in the past are displayed ion red with a number >>> like "3x" saying that it was scheduled three days before. >>> >>> How can I prevent orgmode from displaying these items? I only want to >>> see items with a timestamp today (and, of course, deadline items in >>> the next two weeks). >> >> (setq org-scheduled-past-days 0) >> >> Best, >> Matt >> >> >> ___ >> Emacs-orgmode mailing list >> Please 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 > Please 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 Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
[Orgmode] Re: bug: org-decrypt-entry and org-refile
That was me trying to make things better and failing miserably :) Carsten: Please revert commit a30955. This also fixes the same message when I refile the last entry out of refile.org so that it has only the #+FILETAGS: line left. Thanks, Bernt Richard Riley writes: > If I create a new org-item using the following "web" template (from the > firefox browser or from within emacs itself) > > ("bookmarks" 119 "* %T %c %i" "bookmarks.org" top nil) > > and then attempt to refile from within the creation *remember* buffer using > C-c C-w I get:- > > , > | Debugger entered--Lisp error: (error "Before first headline at position 375 > in buffer *Remember*") > | signal(error ("Before first headline at position 375 in buffer > *Remember*")) > | error("Before first headline at position %d in buffer %s" 375 # *Remember*>) > | byte-code("`p#" [error "Before first headline at position %d in buffer > %s"] 4) > | org-back-to-heading(t) > | org-decrypt-entry() > | run-hooks(org-reveal-start-hook) > | org-reveal() > | org-refile(nil) > | call-interactively(org-refile nil nil) > ` > > Simply removing the org-reveal from the org-refile call fixes this but I > suspect some deeper work probably needs to be done in the > org-refile part to make the code aware > that the remember buffer is not the one to be concerned about after the > refile so that org-back-to-heading works. > > regards > > r. > > > > > > > ___ > Emacs-orgmode mailing list > Please 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 Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
Re: [Orgmode] Re: suggestions of Android smartphones
Just to comment that I am in the same situation/expectation as Eric. I entered in the "buy mode" and despite my frustation with the phone company procedures I perceived that "buy mode" is a "major mode". Daniel 2010/4/19 Eric S Fraga : > On Mon, 19 Apr 2010 10:50:40 -0400, Matthew Jones wrote: > > [...] > >> Trying to use emacs from any of the Android shells is borderline >> impossible... unless you have a full keyboard to hook up to your Android >> phone then I would say you should rule out using it in that fashion. > > okay. this is worth knowing. keeps my expectations rooted in reality! > >> One of the features I'm working on for the MobileOrg beta (along with being >> able to capture notes and change todo states) is a home screen widget that >> will show your Agenda or Todo list, this way you don't have to open the >> application to view or adjust these items. > > This sounds excellent. I look forward to it (once I have the > appropriate phone, of course). > > Thanks, > eric > > > ___ > Emacs-orgmode mailing list > Please 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 Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
Re: [Orgmode] Re: suggestions of Android smartphones
2010/4/19 Matthew Jones : > I used swype for about 2 days on my droid before getting rid of it... it's a > good concept that needs be iterated on. I could not follow your comment here > Trying to use emacs from any of the Android shells is borderline > impossible... unless you have a full keyboard to hook up to your Android > phone then I would say you should rule out using it in that fashion. A bluetooth keyboard such as http://www.dealextreme.com/details.dx/sku.34724 http://www.dealextreme.com/details.dx/sku.6443 http://www.dealextreme.com/details.dx/sku.28954 is possible to be used with an Android phone? It worths an investment? Daniel > One of the features I'm working on for the MobileOrg beta (along with being > able to capture notes and change todo states) is a home screen widget that > will show your Agenda or Todo list, this way you don't have to open the > application to view or adjust these items. > 73 > Matthew W. Jones (KI4ZIB) > http://matburt.net > > > On Mon, Apr 19, 2010 at 8:35 AM, Daniel Martins wrote: >> >> The device I was tantalized to buy was the >> >> Motorola Quench >> >> maybe mainly for Swipe feature >> >> http://www.youtube.com/watch?v=zWpqsDnXIOY (at about 1:00) >> >> or maybe for the price (in Brazil is about 500 USD while the Milestone >> is about 780 USD. I know both are outrageous prices in American or >> European terms!). BTW the Quench in Brazil DOES NOT seem to come with >> the swype feature... >> >> In fact, I doubt I could edit in Emacs or similar in a phone. I am >> afraid of virtual keyboards and small physical keyboards as well :) >> For someone over forties I tend to do not consider these typing >> devices as toys or at least funny :) >> >> For this reason I think that a nice interface such as MobileOrg with >> agenda view would be the best. >> >> ConnectBot seems to be an option as well (when you have connection, of >> course!) >> >> Sven, you seem quite happy with a virtual keyboard. Am I right? >> >> Daniel >> >> 2010/4/19 Richard Riley : >> > Eric S Fraga writes: >> > >> >> On Sun, 18 Apr 2010 11:07:32 -0300, Daniel Martins >> >> wrote: >> >>> >> >>> --- resending with a proper title --- >> >>> >> >>> Matthew, >> >>> >> >>> Just a suggestion for newbies. >> >>> >> >>> Could you generate a video of MobileOrg Android similar to those of >> >>> the MobileOrg Iphone. >> >>> >> >>> I am still open to suggestions of Android smartphones. >> >>> >> >>> If I need to access a remote ssh account and open Emacs, the available >> >>> keyborards are OK? >> >>> >> >>> Daniel >> >> >> >> I have the same questions! My current mobile phone contract expires >> >> in 3 months and I'm looking at upgrading to an Android phone. The >> >> current best deal I have found is for the Samsung Galaxy Portal, aka >> >> the i5700. [1] I'm looking at upgrading to replace my Nokia internet >> >> tablet (n810) and non-smart phone with one unit. The nokia does a >> >> really nice job of running emacs and org-mode, mind you. >> >> >> >> I'm particularly interested in knowing how the different handsets >> >> approach the keying in of keys like C-x, M-x, TAB, et al. >> >> >> >> Thanks, >> >> eric >> > >> > >> > +1 on this. I had almost decided on the Motorola Milestone (Droid) but >> > would love to hear others experiences. Using org-mode in a term emacs is >> > not ideal because a lot of shift/arrow/fn chords dont work in the >> > terminals >> > I tried (xterm, urxvt etc) and so doubt they will on a mobile device >> > either : so my hard core usage of only emacs -nw inside urxvt and tmux >> > soon dwindled and I'm back to using emacs in X. The only problem I now >> > have is not being to find a way to use ONE x frame with emacsclient >> > being able to create it if its not already done (I bet I've missed >> > something obvious but emacsclient -c always creates a new frame and >> > emacsclient wont create it if its not already there on my emacs). >> > >> > >> > >> > >> > ___ >> > Emacs-orgmode mailing list >> > Please 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 >> Please 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 Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
Re: [Orgmode] Re: apparently too stupid to use checkboxes
Hi, I had the same problem when using the git version of org-mode within an Emacs 23 nightly build on Mac OS X 10.6.3. I was byte-compiling org-mode in the command line, as it had been downloaded, without changing anything, e.g. the Makefile. That means it used the emacs version that shipped with Mac OS X to compile org-mode, which is located in /usr/bin/. That's Emacs version 22.1.1 on my machine. So I set in the Makefile the parameter EMACS to be the path of the Emacs 23 build I've been using, and then I did "make clean", "make" etc. I don't get anymore the "Invalid function: ignore errors" message. :-) Hope this helps On Wed, Mar 24, 2010 at 12:15 PM, Detlef Steuer wrote: > Hi, > > while looking for the cause of my "checkbox problem" I found, > that all works fine, if I issue > > make clean > > in my org-mode directory before editing. > > orgmode version is: > release_6.34c-238-gc0707 > Org-mode version 6.34trans (release_6.34c.238.gc0707.dirty) > > If these very same files get byte-compiled with > make > > checkboxes stop functioning again. > > There are no error messages during startup. > If I can help any further identifying the real cause, let me know, please. > > Detlef > > > Tue, 23 Mar 2010 14:01:21 +0100 > Carsten Dominik wrote: > >> Hi Detlef, >> >> `ignore-errors' is defined in cl-macs in Emacs 22. You need to >> compile the .el file >> to get this macro. Alternatively, define it in your .emacs file >> before loading org-mode stuff: >> >> >> (defmacro ignore-errors (&rest body) >> "Execute BODY; if an error occurs, return nil. >> Otherwise, return result of last form in BODY." >> `(condition-case nil (progn ,@body) (error nil))) >> >> HTH >> >> - Carsten >> >> On Mar 23, 2010, at 10:37 AM, Detlef Steuer wrote: >> >> > Hi! >> > >> > I try to use checkboxes (never used before): >> > >> > * TODO Test [/] >> > - [ ] first >> > - [ ] second >> > >> > Now I can C-c C-c to state-change a single box, but the summary box >> > in the >> > headline never gets updated. >> > >> > If I try C-c # I get an error messge >> > Invalid function: ignore errors >> > >> > Even if I cut'n'paste the checkbox example out of the manual it >> > doesn't >> > work here. >> > >> > >> > My org-version is >> > release_6.34c-232-g727a >> > Org-mode version 6.34trans (release_6.34c.232.g727a) >> > >> > My emacs >> > GNU Emacs 22.3.1 (i586-suse-linux-gnu, GTK+ Version 2.14.4) of >> > 2008-12-03 on build19 >> > >> > >> > I know, the mistake must happen between my ears >> > Any help appreciated. >> > >> > Detlef >> > >> > >> > >> > ___ >> > Emacs-orgmode mailing list >> > Please use `Reply All' to send replies to the list. >> > Emacs-orgmode@gnu.org >> > http://lists.gnu.org/mailman/listinfo/emacs-orgmode >> >> - Carsten >> >> >> >> >> >> ___ >> Emacs-orgmode mailing list >> Please 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 > Please 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 Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
Re: [Orgmode] Re: Automatic clock-in
On Mon, 19 Apr 2010 17:49:09 +0200, Benjamin Andresen wrote: > > Hey Andrea, > > Andrea Crotti writes: > > > Or is there another better way to do already what I'm asking? > > Maybe C-u M-x org-clock-in RET does what you want. Andrea, I tag all the jobs that I clock with :clocked: and then simply C-c a m clocked RET to bring up an agenda view with all of these items. Easy then to simply clock in the one I want. This, however, assumes that you have a relatively small set of such jobs... It does help that you can TAB complete on the tag so I typically type C-c a m clo TAB HTH, eric ___ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
Re: [Orgmode] Re: suggestions of Android smartphones
On Mon, 19 Apr 2010 10:50:40 -0400, Matthew Jones wrote: [...] > Trying to use emacs from any of the Android shells is borderline > impossible... unless you have a full keyboard to hook up to your Android > phone then I would say you should rule out using it in that fashion. okay. this is worth knowing. keeps my expectations rooted in reality! > One of the features I'm working on for the MobileOrg beta (along with being > able to capture notes and change todo states) is a home screen widget that > will show your Agenda or Todo list, this way you don't have to open the > application to view or adjust these items. This sounds excellent. I look forward to it (once I have the appropriate phone, of course). Thanks, eric ___ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
[Orgmode] Re: Agenda View: Do not display items scheduled in the past
Dear Matt, thank you very much - this is exactly what I was looking for. And I found out something interesting. In the description this variable is associated with items, that are not marked done. But it displays also items which have no DONE/TODO marker. So "not done" means really NOT DONE and not only TODO-items. ;-) Best wishes back, Friedericksen On 04/19/2010 04:41 PM, Matt Lundin wrote: Friedericksen Hope writes: I tried to solve this problem with the manual, but I was not very successfull. I have an org file with several items, nearly all with a timestamp. When I open the standard agenda with C-x a a I get a weekly view with a display of all scheduled items from the past (like missed items) in red below the todays appointment. (I hope you can understand). The items scheduled in the past are displayed ion red with a number like "3x" saying that it was scheduled three days before. How can I prevent orgmode from displaying these items? I only want to see items with a timestamp today (and, of course, deadline items in the next two weeks). (setq org-scheduled-past-days 0) Best, Matt ___ Emacs-orgmode mailing list Please 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 Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
[Orgmode] Re: Choosing external app at runtime?
Simon Guest writes: > At Sun, 18 Apr 2010 08:24:41 +0200, > Carsten Dominik wrote: >> >> >> On Apr 16, 2010, at 7:35 AM, Simon Guest wrote: >> > When I follow a link, Org mode knows what application to use. Except >> > that sometimes I want to override that choice. >> >> Currently we do not have this. I can see that this could be both >> useful and annoying, if you have to answer a prompt each time. > > If the choice was only offered when a C-u prefix was given, it > wouldn't be annoying. > > What do you think? > > cheers, > Simon > That's what _I_ was going to say! ___ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
Re: [Orgmode] Choosing external app at runtime?
On Sun, Apr 18, 2010 at 04:18, Simon Guest wrote: > At Sun, 18 Apr 2010 08:24:41 +0200, > Carsten Dominik wrote: >> >> >> On Apr 16, 2010, at 7:35 AM, Simon Guest wrote: >> > When I follow a link, Org mode knows what application to use. Except >> > that sometimes I want to override that choice. >> >> Currently we do not have this. I can see that this could be both >> useful and annoying, if you have to answer a prompt each time. > > If the choice was only offered when a C-u prefix was given, it > wouldn't be annoying. I would find this useful as well. just my 2 cents Cheers, /Ali > > What do you think? > > cheers, > Simon > > > ___ > Emacs-orgmode mailing list > Please 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 Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
Re: [Orgmode] Listing filtered entries of a journal file with its datestamp
On Fri, Apr 16, 2010 at 12:09, Miguel Ruiz wrote: > I have a simple journal .org file like this: > > --Begin file--- > * <2010-04-16 fri> > Subject 1 > Subject 2 > Subject 1 > Subject 40 > > * <2010-04-17 sat> > Subject 2 > Subject 3 > Subject 1 > Subject 40 > --End file-- > > Every subject is only one line. > > I would like to print the journal but including only the lines with a > specific content, determined by a search, like the following > > -Buffer to print- > * <2010-04-16 fri> > Subject 1 > Subject 1 > > * <2010-04-17 sat> > Subject 1 > -- > > --Another buffer to print- > * <2010-04-16 fri> > Subject 40 > > * <2010-04-17 sat> > Subject 40 > -- > > I have tried M-x org-occur, but only marks the searched string; I also have > tried M-x occur, but generates a list without the dates, and cannot be > printed. try using headlines for the lines under your heading and then a sparse tree with a regexp (C-c / /): --Begin file--- * <2010-04-16 fri> ** Subject 1 ** Subject 2 ** Subject 1 ** Subject 40 * <2010-04-17 sat> ** Subject 2 ** Subject 3 ** Subject 1 ** Subject 40 --End file-- ___ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
[Orgmode] Re: hyperlink to IMAP email
Arne Freyberger wrote: > I would like to link to email messages that are held in IMAP folders either > locally or on the server. I've tried vm but realized that I would have to > set > up a copy of my IMAP folder structure into the vm folder world in order for > that > to work. You are right. There wouldn't be much point in using a separate mail client just for Org. It would be best to stick to whichever mail client you normally use. The current org-vm.el interface, apparently written by Carsten Dominik, only works for local folders in VM. (I don't blame him. This was probably written in 2004, when IMAP wasn't used that much by VM users.) I have now added changes to extend it to POP and IMAP folders. They will be part of the next release of VM (v 8.1.1, due to be released pretty soon). Or, you can get it from Launchpad (bzr get lp:vm/8.1.x). The IMAP folder names will be in the standard VM format: imap:HOST:PORT:MAILBOX:AUTH:USER:PASSWORD If people would prefer shorter folder names, I could do some more work on it. But, it probably doesn't matter. The hyperlinks are rarely seen anyway. Cheers, Uday Reddy (VM Development Team) ___ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
[Orgmode] Increase width in agenda view?
Hi all, is it possible to increase the width in the Week-agenda view such that the TODO keyword and the title task text get more space? My tags to the right of the title text gets misaligned if the title text is too long. Best regards, Johan ___ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
Re: [Orgmode] subtitle in export?
Org has org-export-html-final-hook but no latex equivalent, nor a general after-export hook? Is that right? (I feel like I must be missing something there.) >>> >>> All backends have a "final" hook - org-export-latex-final-hook in >>> this >>> case. >> >> Ah, I see, Emacs doesn't know about it until I cause >> (require 'org-latex) >> to happen. As I said, I felt that I was missing something... > > I think add-hook is still OK to use. Sorry, yes, I didn't mean to suggest that this was preventing user customisation. I was just trying to explain how I had hastily come to the erroneous conclusion that the hook variable didn't exist. Is there a convenient way to load all features in core org-mode at startup so that I don't make the same mistake again? Dan > > - Carsten > > > > ___ > Emacs-orgmode mailing list > Please 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 Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
Re: [Orgmode] Re: Support (or not) for Emacs 21, and XEmacs
On Apr 19, 2010, at 1:00 PM, Michael Sperber wrote: Carsten Dominik writes: The compromise for me would be this: - You fix the things above. - I leave the rest of the necessary compatibility code in - I program any new features with whatever is available in Emacs 22/23 and rely on you to make it XEmacs compatible. That would be wonderful. I'll see that the issues are addressed: 1. posix character classes in regular expressions, thinks like [:alpha:] These are nice because they work well with arbitrary languages. Does XEmacs suppor these now? No, but I'll see to it that they are. Right now I am using a macro to replace them with the corresponding ASCII character sets - but this is not nice and even wrong in foreign languages. 2. The overlay API - I think XEmacs actually has a compatibility lib for these, is that correct? Correct. One of the things you could do it to figure out if I can also switch to the API calls overlays-in and overlays-at in that library. You should, anyway: I'll take care of any problems. I take it something about these didn't work for you in the past: If that is so, a sentence or two on what those problems were would be much appreciated. I don't remember - I wrote these compatibility functions without knowledge of the library in XEmacs. So it is well possible that the library functions just work - I will just switch - and wait for any bug reports. 3. outline.el. Last time looked, XEmacs still had the horrible old outline.el which is pretty much impossible to program. I do have a port, xemacs/noutline.el in the Org distribution - if you could get that into XEmacs, that would get rid of a major annoyance, including complicated installation instructions. I'm working on this right now - should be no big problem. A few minor incompatibilities with our current outline.el need to be addressed, but I'm working on them. OK. This is a potential source of future problems - but we will see. 4. Can you make XEmacs understand mouse-3 instead of button3 ? Or maybe it does understand these by now? No; I'll try to get this in. Won't all happen overnight, but I'm getting to work on it. I very much appreciate your willingness to help! Thank you for your willingness to take much off my task list. - Carsten ___ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
Re: [Orgmode] Re: Support (or not) for Emacs 21, and XEmacs
OK. - Carsten On Apr 19, 2010, at 5:54 PM, Michael Sperber wrote: Carsten Dominik writes: That is acceptable - but I think that making BUFFER default to (current-buffer) does make a lot of sense - which is why making that argument optional in XEmacs is a good idea anyway. It would - but the problem is that in XEmacs, an omitted BUFFER argument means something different from (current-buffer): `local-variable-p' is a built-in function -- loaded from "/afs/informatik.uni-tuebingen.de/home/sperber/build/ xemacs/src/symbols.c" (local-variable-p SYMBOL BUFFER &optional AFTER-SET) Documentation: Return t if SYMBOL's value is local to BUFFER. If optional third arg AFTER-SET is non-nil, return t if SYMBOL would be buffer-local after it is set, regardless of whether it is so presently. A nil value for BUFFER is *not* the same as (current-buffer), but means "no buffer". Specifically: -- If BUFFER is nil and AFTER-SET is nil, a return value of t indicates that the variable is one of the special built-in variables that is always buffer-local. (This includes `buffer-file-name', `buffer-read-only', `buffer-undo-list', and others.) -- If BUFFER is nil and AFTER-SET is t, a return value of t indicates that the variable has had `make-variable-buffer-local' applied to it. -- Cheers =8-} Mike Friede, Völkerverständigung und überhaupt blabla - Carsten ___ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
Re: [Orgmode] subtitle in export?
On Apr 19, 2010, at 5:52 PM, Dan Davison wrote: Carsten Dominik writes: On Apr 19, 2010, at 3:59 PM, Dan Davison wrote: [...] If it makes any difference, I am currently exporting to latex, then converting to odt using mk4ht oolatex. (aside: is there a really easy way to define a new export option that automates the seond step? right now I'm switching to a shell to do the final step, would love to stop having to do that.) Org has org-export-html-final-hook but no latex equivalent, nor a general after-export hook? Is that right? (I feel like I must be missing something there.) All backends have a "final" hook - org-export-latex-final-hook in this case. Ah, I see, Emacs doesn't know about it until I cause (require 'org-latex) to happen. As I said, I felt that I was missing something... I think add-hook is still OK to use. - Carsten ___ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
Re: [Orgmode] Re: Support (or not) for Emacs 21, and XEmacs
Carsten Dominik writes: > That is acceptable - but I think that making BUFFER default to > (current-buffer) does make a lot of sense - which is why making that > argument optional in XEmacs is a good idea anyway. It would - but the problem is that in XEmacs, an omitted BUFFER argument means something different from (current-buffer): `local-variable-p' is a built-in function -- loaded from "/afs/informatik.uni-tuebingen.de/home/sperber/build/xemacs/src/symbols.c" (local-variable-p SYMBOL BUFFER &optional AFTER-SET) Documentation: Return t if SYMBOL's value is local to BUFFER. If optional third arg AFTER-SET is non-nil, return t if SYMBOL would be buffer-local after it is set, regardless of whether it is so presently. A nil value for BUFFER is *not* the same as (current-buffer), but means "no buffer". Specifically: -- If BUFFER is nil and AFTER-SET is nil, a return value of t indicates that the variable is one of the special built-in variables that is always buffer-local. (This includes `buffer-file-name', `buffer-read-only', `buffer-undo-list', and others.) -- If BUFFER is nil and AFTER-SET is t, a return value of t indicates that the variable has had `make-variable-buffer-local' applied to it. -- Cheers =8-} Mike Friede, Völkerverständigung und überhaupt blabla ___ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
Re: [Orgmode] Re: Support (or not) for Emacs 21, and XEmacs
On Apr 19, 2010, at 1:19 PM, Michael Sperber wrote: One more thing: Are patches like this one acceptable? (Needed to make yesterday's checkout work on XEmacs) diff --git a/lisp/org.el b/lisp/org.el index 7cad962..5cca11e 100644 --- a/lisp/org.el +++ b/lisp/org.el @@ -17743,7 +17743,7 @@ the functionality can be provided as a fall- back.") (org-set-local 'fill-paragraph-function 'org-fill-paragraph) ;; Adaptive filling: To get full control, first make sure that ;; `adaptive-fill-regexp' never matches. Then install our own matcher. - (unless (local-variable-p 'adaptive-fill-regexp) + (unless (local-variable-p 'adaptive-fill-regexp (current-buffer)) (org-set-local 'org-adaptive-fill-regexp-backup adaptive-fill-regexp)) (org-set-local 'adaptive-fill-regexp "\000") That is acceptable - but I think that making BUFFER default to (current-buffer) does make a lot of sense - which is why making that argument optional in XEmacs is a good idea anyway. - Carsten ___ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
Re: [Orgmode] subtitle in export?
Carsten Dominik writes: > On Apr 19, 2010, at 3:59 PM, Dan Davison wrote: > >> [...] >>> If it makes any difference, I am currently exporting to latex, then >>> converting to odt using mk4ht oolatex. (aside: is there a really >>> easy >>> way to define a new export option that automates the seond step? >>> right now I'm switching to a shell to do the final step, would love >>> to >>> stop having to do that.) >> >> Org has org-export-html-final-hook but no latex equivalent, nor a >> general after-export hook? Is that right? (I feel like I must be >> missing >> something there.) > > All backends have a "final" hook - org-export-latex-final-hook in this > case. Ah, I see, Emacs doesn't know about it until I cause (require 'org-latex) to happen. As I said, I felt that I was missing something... Dan > > Cheers > > - Carsten > >> >> But anyway, if there's no hook, a function to do it could be as simple >> as >> >> (defun my-budget-latex-export-with-post-processing () >> (interactive) >> (if (org-export-as-latex 3) >> (shell-command >> (format "mk4ht oolatex %s.tex" >> (file-name-sans-extension (buffer-name)) >> >> You could add minibuffer messages with the `message' function. >> (3 is the number of levels to use in the export, see C-h f org- >> export-as-latex) >> If there's a hook, then make a function with just the shell command >> bit >> and add it to the the hook. >> >> Dan >> >> >> ___ >> Emacs-orgmode mailing list >> Please use `Reply All' to send replies to the list. >> Emacs-orgmode@gnu.org >> http://lists.gnu.org/mailman/listinfo/emacs-orgmode > > - Carsten ___ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
[Orgmode] Problem exporting to LaTeX/PDF from command line
Hi, I'm trying to write a shell script in order to convert/export Org files to LaTeX/PDF from the command line (org2tex/org2pdf). The whole process works well, except that it seems that some bits of the exportation are not executed. Here's an example of what I do. I'm using the org-interaction.el file from Blorgit: --8<---cut here---start->8--- (require 'org) (require 'cl) (setq font-lock-mode t) (defun refresh-then-find-file (file) "Find file ensuring that the latest changes on disk are represented in the file." (let (file-buf) (while (setq file-buf (get-file-buffer file)) (kill-buffer file-buf)) (find-file file))) (defmacro with-temp-filebuffer (file &rest body) "Open FILE into a temporary buffer execute BODY there like `progn', then kill the FILE buffer returning the result of evaluating BODY." (let ((temp-result (make-symbol "temp-result")) (temp-file (make-symbol "temp-file"))) `(let (,temp-result ,temp-file) (refresh-then-find-file ,file) (setf ,temp-file (current-buffer)) (setf ,temp-result (progn ,@body)) (kill-buffer ,temp-file) ,temp-result))) ;; (defvar org-interaction-prefix ".exported_") (defvar org-interaction-prefix "") (defun org-file-to-html (file-path) "Open up an org file, publish it to html, and then return the html as a string." (let* ((file-name (file-name-nondirectory file-path)) (file-dir (file-name-directory file-path)) (html-path (expand-file-name (concat org-interaction-prefix file-name) file-dir))) (if (and (file-exists-p html-path) (< 0 (time-to-seconds (time-subtract (nth 5 (file-attributes html-path)) (nth 5 (file-attributes file-path)) html-path (with-temp-filebuffer file-path (org-mode) (save-window-excursion (org-export-as-html-to-buffer nil) (write-file html-path) (kill-buffer (current-buffer))) (defun org-file-to-latex (file-path) "Open up an org file, publish it to latex, and then return the latex as a string." (let* ((file-name (file-name-nondirectory file-path)) (file-dir (file-name-directory file-path)) (latex-path (expand-file-name (concat org-interaction-prefix file-name ".tex") file-dir))) (if (and (file-exists-p latex-path) (< 0 (time-to-seconds (time-subtract (nth 5 (file-attributes latex-path)) (nth 5 (file-attributes file-path)) latex-path (with-temp-filebuffer file-path (org-mode) (save-window-excursion (org-export-as-latex-to-buffer nil) (write-file latex-path) (kill-buffer (current-buffer))) (defun org-file-to-pdf (file-path) "Open up an org file and export it as pdf." (let* ((file-name (file-name-sans-extension file-path)) (file-dir (file-name-directory file-path)) (org-tmp-path (make-temp-file "org-file-to-pdf-")) (pdf-tmp-path (concat org-tmp-path ".pdf")) (tex-tmp-path (concat org-tmp-path ".tex")) (pdf-path (expand-file-name (concat org-interaction-prefix file-name ".pdf") file-dir))) (if (and (file-exists-p pdf-path) (< 0 (time-to-seconds (time-subtract (nth 5 (file-attributes pdf-path)) (nth 5 (file-attributes file-path)) pdf-path (with-temp-filebuffer file-path (write-file org-tmp-path) (org-mode) (save-window-excursion (org-export-as-pdf nil) (rename-file pdf-tmp-path pdf-path t) (delete-file org-tmp-path) ;; (delete-file tex-tmp-path) (kill-buffer (current-buffer))) ;; customization ;; (setq org-export-blocks-witheld '(hidden comment)) ;; Start the server ;; (server-start) ;; save the emacsclient server socket location ;; (with-temp-file "/tmp/emacsclient-socket-dir" ;; (insert server-socket-dir)) --8<---cut here---end--->8--- Here's the file I'm trying to convert (test.org): --8<---cut here---start->8--- #+TITLE: Features report #+AUTHOR:Francesco Pizzolante #+EMAIL: f...@missioncriticalit.com #+DATE: 2010-04-19 #+DESCRIPTION: #+KEYWORDS: #+LANGUAGE: en_US #+LaTeX_CLASS_OPTIONS: [a4paper] * First test ** tatatata --8<---cut here---end--->8--- On the command line, I run the following command: --8<---cut here---start->8--- emacs --batch -l org-interaction.el --eval "(org-file-to-latex \"~/test.org\")" --8<---cut here---end--->8--- My observation is that the #+LATEX_CLASS_OPTIONS are not taken into account. I can add any option there, I always see the default one (11pt). It is rea
[Orgmode] Re: Automatic clock-in
Hey Andrea, Andrea Crotti writes: > Or is there another better way to do already what I'm asking? Maybe C-u M-x org-clock-in RET does what you want. br, benny ___ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
Re: [Orgmode] subtitle in export?
On Apr 19, 2010, at 3:59 PM, Dan Davison wrote: [...] If it makes any difference, I am currently exporting to latex, then converting to odt using mk4ht oolatex. (aside: is there a really easy way to define a new export option that automates the seond step? right now I'm switching to a shell to do the final step, would love to stop having to do that.) Org has org-export-html-final-hook but no latex equivalent, nor a general after-export hook? Is that right? (I feel like I must be missing something there.) All backends have a "final" hook - org-export-latex-final-hook in this case. Cheers - Carsten But anyway, if there's no hook, a function to do it could be as simple as (defun my-budget-latex-export-with-post-processing () (interactive) (if (org-export-as-latex 3) (shell-command (format "mk4ht oolatex %s.tex" (file-name-sans-extension (buffer-name)) You could add minibuffer messages with the `message' function. (3 is the number of levels to use in the export, see C-h f org- export-as-latex) If there's a hook, then make a function with just the shell command bit and add it to the the hook. Dan ___ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode - Carsten ___ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
Re: [Orgmode] [patch] Extended link capabilities to Wanderlust messages
Hi, Works fine. Thank you, David. --Tokuya At Tue, 13 Apr 2010 15:23:04 +0200, David Maus wrote: > > Carsten Dominik wrote: > >Hi David, thanks for this! I have applied the patch. > >I had to apply it by hand - so please double-check. > > Everything is where it belongs. > > -- David > > -- > OpenPGP... 0x99ADB83B5A4478E6 > Jabber dmj...@jabber.org > Email. dm...@ictsoc.de > ___ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
Re: [Orgmode] linking to emacs info nodes? Multiline comments?
LanX writes: > Hi > > is there an easy way to insert links to the emacs info manuals? I do it this way: 1. C-h i 2. Navigate to the desirec node 3. C-c l 4. Switch to the Org-mode buffer I want to insert the info link in. 5. C-c C-l UP RET RET On my system `C-c l' is bound to `org-store-link' and `C-c C-l' is bound to `org-insert-link'. I think those are the defaults, but you might need to set `C-c l' globally to make it work in any mode. > BTW: whats the recommended way to insert multi-line comments in elisp code? There no special multiline comments. > ATM I'm assigning a string to a dummy variable, with the drawback that > doublequotes are forbidden: > > (setq org " > yadda yadda > ") (setq org "\n yadda yadda\n ") HTH Sebastian ___ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
Re: [Orgmode] Re: How you ORGanize yourself? (aka: Why not one file to rule'em all?)
Hi Carsten, Carsten Dominik writes: > On Apr 17, 2010, at 3:50 PM, Matt Lundin wrote: > >> FWIW, I've found it quite convenient to rely on filetags to organize >> my notes. I've written a few functions that allow me to limit my >> agenda to a subset of agenda files that share a filetag (e.g., >> "emacs" or "writing"). This is a bit quicker than calling agenda >> commands on all agenda files and then filtering afterward. It also >> allows for greater focus on a particular area of work. Here are the >> functions: >> http://orgmode.org/worg/org-hacks.php#set-agenda-files-by-filetag > > > Hi Matt, > > this is very interesting! > > One idea: Instead of setting the value of org-agenda-files, > you can also restrict in the following way: > > (org-agenda-remove-restriction-lock) > (put 'org-agenda-files 'org-restrict my-file-list) > (setq org-agenda-overriding-restriction 'files) > > The restriction sticks until you remove it with `C-c C_x >' > > I am not sure this will work better for your case - but maybe it will. Thanks for the tip! That's much more elegant. I find that (org-agenda-restriction-lock) makes subsequent calls to my-org-agenda-files-by-filetag slow, since it refreshes the current agenda. Are there any potential pitfalls if I use (setq org-agenda-restrict nil) instead? Thanks, Matt ___ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
Re: [Orgmode] linking to emacs info nodes? Multiline comments?
LanX wrote: > is there an easy way to insert links to the emacs info manuals? > > the following works for commands only > > [[elisp:(Info-goto-emacs-command-node "Info-goto-emacs-command-node")][Info > goto emacs command node]] > Assuming you have done the standard keybindings (C-c l for org-store-link everywhere - see section 1.3, "Activation", in the Org manual for more details): Visit the info node of interest, do C-c l to store the link, then visit an org file and do C-c C-l to insert the link. Here is an example of what was inserted, when I tried the above procedure on the indicated Info node: [[info:org:Processing%20LaTeX%20fragments][Processing LaTeX fragments]] > BTW: whats the recommended way to insert multi-line comments in elisp code? > > ATM I'm assigning a string to a dummy variable, with the drawback that > doublequotes are forbidden: > > (setq org " > yadda yadda > ") > I don't understand the context (why do you have to define a variable exactly?), but you can include double quotes in a lisp string by escaping it with a backslash: (setq org " yadda \"yadda\" ") see section 2.3.8.1, "Syntax for Strings" in the Elisp manual. HTH, Nick ___ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
Re: [Orgmode] linking to emacs info nodes? Multiline comments?
LanX writes: > Hi > > is there an easy way to insert links to the emacs info manuals? > > the following works for commands only > > [[elisp:(Info-goto-emacs-command-node "Info-goto-emacs-command-node")][Info > goto emacs command node]] Hi Rolf, Org has links to Info already. In an info buffer use org-store-link (often bound to C-c l), then back in org use C-c C-l (org-insert-link). > > BTW: whats the recommended way to insert multi-line comments in elisp code? elisp doesn't have any special mechanism other than ; at beginning of line. But you know about M-; and M-q? Select a region of multiple lines, M-; comments it all out (or uncomments if commented), M-q tidies it up, keeping comment chars in correct place. Dan > > ATM I'm assigning a string to a dummy variable, with the drawback that > doublequotes are forbidden: > > (setq org " > yadda yadda > ") > > Thanks for any help :) > Rolf > ___ > Emacs-orgmode mailing list > Please 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 Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
Re: [Orgmode] Re: suggestions of Android smartphones
I used swype for about 2 days on my droid before getting rid of it... it's a good concept that needs be iterated on. Trying to use emacs from any of the Android shells is borderline impossible... unless you have a full keyboard to hook up to your Android phone then I would say you should rule out using it in that fashion. One of the features I'm working on for the MobileOrg beta (along with being able to capture notes and change todo states) is a home screen widget that will show your Agenda or Todo list, this way you don't have to open the application to view or adjust these items. 73, Matthew W. Jones (KI4ZIB) http://matburt.net On Mon, Apr 19, 2010 at 8:35 AM, Daniel Martins wrote: > The device I was tantalized to buy was the > > Motorola Quench > > maybe mainly for Swipe feature > > http://www.youtube.com/watch?v=zWpqsDnXIOY (at about 1:00) > > or maybe for the price (in Brazil is about 500 USD while the Milestone > is about 780 USD. I know both are outrageous prices in American or > European terms!). BTW the Quench in Brazil DOES NOT seem to come with > the swype feature... > > In fact, I doubt I could edit in Emacs or similar in a phone. I am > afraid of virtual keyboards and small physical keyboards as well :) > For someone over forties I tend to do not consider these typing > devices as toys or at least funny :) > > For this reason I think that a nice interface such as MobileOrg with > agenda view would be the best. > > ConnectBot seems to be an option as well (when you have connection, of > course!) > > Sven, you seem quite happy with a virtual keyboard. Am I right? > > Daniel > > 2010/4/19 Richard Riley : > > Eric S Fraga writes: > > > >> On Sun, 18 Apr 2010 11:07:32 -0300, Daniel Martins > wrote: > >>> > >>> --- resending with a proper title --- > >>> > >>> Matthew, > >>> > >>> Just a suggestion for newbies. > >>> > >>> Could you generate a video of MobileOrg Android similar to those of > >>> the MobileOrg Iphone. > >>> > >>> I am still open to suggestions of Android smartphones. > >>> > >>> If I need to access a remote ssh account and open Emacs, the available > >>> keyborards are OK? > >>> > >>> Daniel > >> > >> I have the same questions! My current mobile phone contract expires > >> in 3 months and I'm looking at upgrading to an Android phone. The > >> current best deal I have found is for the Samsung Galaxy Portal, aka > >> the i5700. [1] I'm looking at upgrading to replace my Nokia internet > >> tablet (n810) and non-smart phone with one unit. The nokia does a > >> really nice job of running emacs and org-mode, mind you. > >> > >> I'm particularly interested in knowing how the different handsets > >> approach the keying in of keys like C-x, M-x, TAB, et al. > >> > >> Thanks, > >> eric > > > > > > +1 on this. I had almost decided on the Motorola Milestone (Droid) but > > would love to hear others experiences. Using org-mode in a term emacs is > > not ideal because a lot of shift/arrow/fn chords dont work in the > terminals > > I tried (xterm, urxvt etc) and so doubt they will on a mobile device > > either : so my hard core usage of only emacs -nw inside urxvt and tmux > > soon dwindled and I'm back to using emacs in X. The only problem I now > > have is not being to find a way to use ONE x frame with emacsclient > > being able to create it if its not already done (I bet I've missed > > something obvious but emacsclient -c always creates a new frame and > > emacsclient wont create it if its not already there on my emacs). > > > > > > > > > > ___ > > Emacs-orgmode mailing list > > Please 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 > Please 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 Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
[Orgmode] Automatic clock-in
I'm using more and more the very nice clock functions provided by org-mode. I added this --8<---cut here---start->8--- (global-set-key "\C-c\C-x\C-o" 'org-clock-out) --8<---cut here---end--->8--- So I can clock out from every buffer without problems. It would be nice somehow to have a similar thing for clock in also. It's not so easy of course but most of the I clock in in the same buffer that I last clocked out. There could be a default choice which brings you there and otherwise asks you to which buffer you want to clock in, something like that. Or is there another better way to do already what I'm asking? ___ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
[Orgmode] Re: Agenda View: Do not display items scheduled in the past
Friedericksen Hope writes: > I tried to solve this problem with the manual, but I was not very > successfull. I have an org file with several items, nearly all with a > timestamp. When I open the standard agenda with C-x a a I get a weekly > view with a display of all scheduled items from the past (like missed > items) in red below the todays appointment. (I hope you can > understand). > > The items scheduled in the past are displayed ion red with a number > like "3x" saying that it was scheduled three days before. > > How can I prevent orgmode from displaying these items? I only want to > see items with a timestamp today (and, of course, deadline items in > the next two weeks). (setq org-scheduled-past-days 0) Best, Matt ___ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
[Orgmode] linking to emacs info nodes? Multiline comments?
Hi is there an easy way to insert links to the emacs info manuals? the following works for commands only [[elisp:(Info-goto-emacs-command-node "Info-goto-emacs-command-node")][Info goto emacs command node]] BTW: whats the recommended way to insert multi-line comments in elisp code? ATM I'm assigning a string to a dummy variable, with the drawback that doublequotes are forbidden: (setq org " yadda yadda ") Thanks for any help :) Rolf ___ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
[Orgmode] Agenda View: Do not display items scheduled in the past
Dear list, I tried to solve this problem with the manual, but I was not very successfull. I have an org file with several items, nearly all with a timestamp. When I open the standard agenda with C-x a a I get a weekly view with a display of all scheduled items from the past (like missed items) in red below the todays appointment. (I hope you can understand). The items scheduled in the past are displayed ion red with a number like "3x" saying that it was scheduled three days before. How can I prevent orgmode from displaying these items? I only want to see items with a timestamp today (and, of course, deadline items in the next two weeks). Thank you! Best wishes, Friedericksen ___ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
Re: [Orgmode] [ANN] Exporter for taskjuggler
On Mon, Apr 19, 2010 at 5:05 AM, Christian Egli wrote: > Hi Dan > > Thanks for your feedback. > > Dan Davison writes: > > > Yes, I didn't even realize that a new version has come out as I'm still > using the old C++ Unix-only version. > > > One note on this... I think only the new Ruby version (TJ3) supports an actual gantt chart export... 2.4.3 (or whatever the other version is at right now) only shows a gantt chart in the program itself if I recall correction. It's not until TJ3 that you can get nice html output without needing the QT-based interface. Perhaps not a huge deal for some, but I really wanted this (gantt charts) and did not want to be stuck with the QT interface for exporting them (or even showing them to others). If this is the type of output being sought, I'd stick with looking into TJ3 org-mode integration over 2.4. Or perhaps take a look at the first of the references on how to use both: TJ 2.4 for viewing and TJ3 for exporting? Best regards, John References: - http://www.taskjuggler.org/tj3/manual/TaskJuggler_2x_Migration.html - http://www.taskjuggler.org/manual-2.4.3/generating_reports_of_the_scheduled_projects.html#generating_html_reports ___ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
Re: [Orgmode] subtitle in export?
[...] > If it makes any difference, I am currently exporting to latex, then > converting to odt using mk4ht oolatex. (aside: is there a really easy > way to define a new export option that automates the seond step? > right now I'm switching to a shell to do the final step, would love to > stop having to do that.) Org has org-export-html-final-hook but no latex equivalent, nor a general after-export hook? Is that right? (I feel like I must be missing something there.) But anyway, if there's no hook, a function to do it could be as simple as (defun my-budget-latex-export-with-post-processing () (interactive) (if (org-export-as-latex 3) (shell-command (format "mk4ht oolatex %s.tex" (file-name-sans-extension (buffer-name)) You could add minibuffer messages with the `message' function. (3 is the number of levels to use in the export, see C-h f org-export-as-latex) If there's a hook, then make a function with just the shell command bit and add it to the the hook. Dan ___ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
[Orgmode] Re: Can I set achive or refile target to date-tree?
Hi, all. I wrote the defadvice of org-archive-subtree so that I can archive in a date-tree. Please (setq org-archive-location "%s_archive::date-tree"), then you can archive in a date-tree. http://gist.github.com/370843 Regards. ___ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
Re: [Orgmode] [ANN] Exporter for taskjuggler
Christian Egli writes: [...] >> It would also be nice if repeated invocation of >> org-export-as-taskjuggler-and-open on the same project didn't spawn >> multiple TJ instances (TJ v2.4.3 ubuntu). > > Hm, yes. Good idea. Do you have an idea how this could be done easily in > elisp? Is this more the reponsibility of the application? E.g. I just did 'firefox some.png' from the shell and it opened a new tab in a running process. So maybe it's a question of checking whether / requesting that the new ruby implementation has a way of telling it from the shell to open (update?) a project in an already-running TJ process. [...] >> Make it work if `org-odd-levels-only' is in use: >> >> diff --git a/org-taskjuggler.el b/org-taskjuggler.el >> index e887d33..e843dcd 100644 >> --- a/org-taskjuggler.el >> +++ b/org-taskjuggler.el >> @@ -309,7 +309,7 @@ the current node such as the headline, the level, todo >> state >> information, all the properties, etc." >>(let* ((props (org-entry-properties)) >> (components (org-heading-components)) >> - (level (car components)) >> + (level (nth 1 components)) >> (headline (nth 4 components)) >> (parent-ordered (org-taskjuggler-parent-is-ordered-p))) >> (push (cons "level" level) props) > > Oh, OK, good catch. Does this also work if `org-odd-levels-only' is not > in use? Yes. C-h f org-heading-components says the second element differs from the first only if org-odd-levels-only is set. Dan ___ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
Re: [Orgmode] Using Org for browsing and managing buffers
> On this topic, one suggestion (which might be difficult to implement, > however): the best thing is about org is the hierarchical nature of > headlines. This would seem to map well to the hierarchical nature of > modes. For instance, org mode is also a text mode. Would it make > sense to have all text mode buffers grouped with sub-modes (for want > of a better word) as subheadings? On the other hand, I'm not sure > what this would add so probably ignore this... :-) Other groupings might be good too. E.g. the comint process buffer for a language grouped with the code files; all magit buffers in a magit tree; all gnus buffers (summary, group, article) in a gnus tree. It seems that the best thing might be to have a flexible way of specifying the tree structure. E.g some way to specify "projects" for which all buffers should be grouped together. Not sure how to implement that though. I've also been wondering about adding recentf files (buffers you might want, in addition to buffers you have). Then it might make sense to present them in a hierarchy based on the filesystem location. That's also true when grouping buffers by their directory (B def RET). So making it work with > 2 levels of hierarchy is definitely something worth thinking about, especially if someone has a good idea how to specify the desired tree structure a priori. A year or two ago someone posted code to preserve folding state of an org buffer using an auxiliary file. Don't think it's in contrib. But I might try to dig that out also. Anyone know where it is? > >> > I ask because I >> > don't understand what functionality it adds and the default binding >> > (h) conflicts with my speed keys (I use vi-like bindings for speed >> > motion keys). >> >> I overlooked that before. I've moved it to H. > > Doesn't seem to work for me (pulled from git this morning, 8am BST): Fixed, thanks! Dan ___ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
[Orgmode] Re: Let's TALK about it
Andrea Crotti writes: > My talk has been accepted :) > So now I really have to prepare something! > > I thought that for showing the power of org-mode and babel I could use > something I already have > No news? Here I'm also putting some slides, they should just contains list of things. I'm doing them in Beamer, it could be a good way to show another usage of org-mode. But actually I don't know if it's a good thing, after all they're just a few slides so it might be better to make something more graphically nice, what do you think? For the interactive part, would be better to show different things in separate examples or all of them in a more complex file? What about some sort of unit testing with tables/formulas/org-babel all together? Could be nice to generate a table with some checks that pass only if we get some results from the code which is automatically executed, what do you think? ___ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
Re: [Orgmode] Re: suggestions of Android smartphones
The device I was tantalized to buy was the Motorola Quench maybe mainly for Swipe feature http://www.youtube.com/watch?v=zWpqsDnXIOY (at about 1:00) or maybe for the price (in Brazil is about 500 USD while the Milestone is about 780 USD. I know both are outrageous prices in American or European terms!). BTW the Quench in Brazil DOES NOT seem to come with the swype feature... In fact, I doubt I could edit in Emacs or similar in a phone. I am afraid of virtual keyboards and small physical keyboards as well :) For someone over forties I tend to do not consider these typing devices as toys or at least funny :) For this reason I think that a nice interface such as MobileOrg with agenda view would be the best. ConnectBot seems to be an option as well (when you have connection, of course!) Sven, you seem quite happy with a virtual keyboard. Am I right? Daniel 2010/4/19 Richard Riley : > Eric S Fraga writes: > >> On Sun, 18 Apr 2010 11:07:32 -0300, Daniel Martins >> wrote: >>> >>> --- resending with a proper title --- >>> >>> Matthew, >>> >>> Just a suggestion for newbies. >>> >>> Could you generate a video of MobileOrg Android similar to those of >>> the MobileOrg Iphone. >>> >>> I am still open to suggestions of Android smartphones. >>> >>> If I need to access a remote ssh account and open Emacs, the available >>> keyborards are OK? >>> >>> Daniel >> >> I have the same questions! My current mobile phone contract expires >> in 3 months and I'm looking at upgrading to an Android phone. The >> current best deal I have found is for the Samsung Galaxy Portal, aka >> the i5700. [1] I'm looking at upgrading to replace my Nokia internet >> tablet (n810) and non-smart phone with one unit. The nokia does a >> really nice job of running emacs and org-mode, mind you. >> >> I'm particularly interested in knowing how the different handsets >> approach the keying in of keys like C-x, M-x, TAB, et al. >> >> Thanks, >> eric > > > +1 on this. I had almost decided on the Motorola Milestone (Droid) but > would love to hear others experiences. Using org-mode in a term emacs is > not ideal because a lot of shift/arrow/fn chords dont work in the terminals > I tried (xterm, urxvt etc) and so doubt they will on a mobile device > either : so my hard core usage of only emacs -nw inside urxvt and tmux > soon dwindled and I'm back to using emacs in X. The only problem I now > have is not being to find a way to use ONE x frame with emacsclient > being able to create it if its not already done (I bet I've missed > something obvious but emacsclient -c always creates a new frame and > emacsclient wont create it if its not already there on my emacs). > > > > > ___ > Emacs-orgmode mailing list > Please 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 Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
[Orgmode] Re: suggestions of Android smartphones
Eric S Fraga writes: > On Sun, 18 Apr 2010 11:07:32 -0300, Daniel Martins > wrote: >> >> --- resending with a proper title --- >> >> Matthew, >> >> Just a suggestion for newbies. >> >> Could you generate a video of MobileOrg Android similar to those of >> the MobileOrg Iphone. >> >> I am still open to suggestions of Android smartphones. >> >> If I need to access a remote ssh account and open Emacs, the available >> keyborards are OK? >> >> Daniel > > I have the same questions! My current mobile phone contract expires > in 3 months and I'm looking at upgrading to an Android phone. The > current best deal I have found is for the Samsung Galaxy Portal, aka > the i5700. [1] I'm looking at upgrading to replace my Nokia internet > tablet (n810) and non-smart phone with one unit. The nokia does a > really nice job of running emacs and org-mode, mind you. > > I'm particularly interested in knowing how the different handsets > approach the keying in of keys like C-x, M-x, TAB, et al. > > Thanks, > eric +1 on this. I had almost decided on the Motorola Milestone (Droid) but would love to hear others experiences. Using org-mode in a term emacs is not ideal because a lot of shift/arrow/fn chords dont work in the terminals I tried (xterm, urxvt etc) and so doubt they will on a mobile device either : so my hard core usage of only emacs -nw inside urxvt and tmux soon dwindled and I'm back to using emacs in X. The only problem I now have is not being to find a way to use ONE x frame with emacsclient being able to create it if its not already done (I bet I've missed something obvious but emacsclient -c always creates a new frame and emacsclient wont create it if its not already there on my emacs). ___ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
[Orgmode] subtitle in export?
Is it possible to add a subtitle when exporting an orgmode document? Or phrased differently, can I define a multi-line title for a document? I don't see an obvious way to do it, though perhaps there's a latex option I don't understand at all. If it makes any difference, I am currently exporting to latex, then converting to odt using mk4ht oolatex. (aside: is there a really easy way to define a new export option that automates the seond step? right now I'm switching to a shell to do the final step, would love to stop having to do that.) thanks much as always! matt ___ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
Re: [Orgmode] Re: Support (or not) for Emacs 21, and XEmacs
One more thing: Are patches like this one acceptable? (Needed to make yesterday's checkout work on XEmacs) diff --git a/lisp/org.el b/lisp/org.el index 7cad962..5cca11e 100644 --- a/lisp/org.el +++ b/lisp/org.el @@ -17743,7 +17743,7 @@ the functionality can be provided as a fall-back.") (org-set-local 'fill-paragraph-function 'org-fill-paragraph) ;; Adaptive filling: To get full control, first make sure that ;; `adaptive-fill-regexp' never matches. Then install our own matcher. - (unless (local-variable-p 'adaptive-fill-regexp) + (unless (local-variable-p 'adaptive-fill-regexp (current-buffer)) (org-set-local 'org-adaptive-fill-regexp-backup adaptive-fill-regexp)) (org-set-local 'adaptive-fill-regexp "\000") -- Cheers =8-} Mike Friede, Völkerverständigung und überhaupt blabla ___ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
Re: [Orgmode] Re: [Babel] Macro for begin_src?
>> artist-mode has a full set of key bindings. I never use the mouse (for >> anything at all, if I can help it, due to RSI issues) and artist-mode is >> perfectly usable nonetheless! Type "C-h m" in artist-mode to see all >> the key bindings. > > I am aware of the keybindings, though I tend to use the mouse myself, but > I have never been able to get artist-mode running properly in tty. M-x customize-variable RET org-edit-fixed-width-region-mode and choose `picture-mode': `C-c >' move right after each keypress `C-c <' move left after each keypress `C-c ^' move up after each keypress `C-c .' move down after each keypress Picture-mode is always active here if I do `M-x artist-mode'. I'm not sure why. It even becomes the major mode. Might be how things work in emacs24 as I couldn't find anything in my setup. Sebastian ___ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
Re: [Orgmode] Re: Support (or not) for Emacs 21, and XEmacs
Carsten Dominik writes: > The compromise for me would be this: > > - You fix the things above. > - I leave the rest of the necessary compatibility code in > - I program any new features with whatever is available > in Emacs 22/23 and rely on you to make it XEmacs compatible. That would be wonderful. I'll see that the issues are addressed: > 1. posix character classes in regular expressions, thinks like [:alpha:] >These are nice because they work well with arbitrary languages. >Does XEmacs suppor these now? No, but I'll see to it that they are. > 2. The overlay API - I think XEmacs actually has a compatibility lib >for these, is that correct? Correct. >One of the things you could do it to figure out if I can also switch >to the API calls overlays-in and overlays-at in that library. You should, anyway: I'll take care of any problems. I take it something about these didn't work for you in the past: If that is so, a sentence or two on what those problems were would be much appreciated. > 3. outline.el. Last time looked, XEmacs still had the horrible old >outline.el which is pretty much impossible to program. >I do have a port, xemacs/noutline.el in the Org distribution - if you >could get that into XEmacs, that would get rid of a major annoyance, >including complicated installation instructions. I'm working on this right now - should be no big problem. A few minor incompatibilities with our current outline.el need to be addressed, but I'm working on them. > 4. Can you make XEmacs understand mouse-3 instead of button3 ? Or >maybe it does understand these by now? No; I'll try to get this in. Won't all happen overnight, but I'm getting to work on it. I very much appreciate your willingness to help! -- Cheers =8-} Mike Friede, Völkerverständigung und überhaupt blabla ___ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
Re: [Orgmode] [ANN] Exporter for taskjuggler
Hi Dan Thanks for your feedback. Dan Davison writes: > A simple org file demonstrating some of the features is the most > important thing lacking at the moment. I'm working on an introduction on worg. Hopefully I'll have something by the end of this week including an example org file. > I encountered problems with the fact that > > - I was using `org-odd-levels-only' Oh, OK, I'm not using this, so there might be issues there. > - the "allocate" property name is required to be lower case (unlike > Effort) That's a general problem. The exporter needs to map between org and tj terminology. In most cases this is not a problem as the terminology comes from tj, e.g. 'limits', 'vacation' or also 'allocate'. Here I assume that the property in org mode is named the same and capitalized the same as in tj. I guess this should be stated in the documentation. In other cases where the exporter needs to map between org and tj, e.g. for effort, but also for completeness or dependency information, the exporter is more forgiving. Specifically in the case of Effort it does the downcase as "Effort" is an established property on org. For completeness information it maps the TODO state (whether it is done or not). And dependencies are taken from the BLOCKER attribute (which is also semi-established). I don't know if this is a good solution. I just tried to stick to the tj property names as close as possible and only allow different names if those concepts and names are established in org mode under a different terminology. Hope that clears things up a bit. > - A Resource named with Uppercase letters will be expected to be all > lowercase by TJ (e.g. my Alf resource below). Well resource names in tj have to conform to [A–Za–z0–9_], so what I did in the exporter is look for an ID attribute in the resource or silently generate an id from the resource headline. So if do not specify an ID your resource Alf will be converted (and made unique) in `org-taskjuggler-get-unique-id'. I guess this is a bit behind the users back and also needs better documentation. In your case the resource will be downcased to 'alf'. I have resources like "Domain Expert", which will be converted to "domain_expert". That's why I usually add an ID property to resources so I can easily allocate them. > I've put patches corresponding to the hacks I made to solve these below. Thanks for the patches. More comments below. I have an updated version locally which also supports optional depends attributes like gapduration and gaplength (which were requested by T Helms on the list). I hope to publish this on a branch in the repo. > It would also be nice if repeated invocation of > org-export-as-taskjuggler-and-open on the same project didn't spawn > multiple TJ instances (TJ v2.4.3 ubuntu). Hm, yes. Good idea. Do you have an idea how this could be done easily in elisp? > I had a quick look at the TJ page -- it sounded as if the cross-platform > ruby version is advancing rapidly? Yes, I didn't even realize that a new version has come out as I'm still using the old C++ Unix-only version. > Make it work if `org-odd-levels-only' is in use: > > diff --git a/org-taskjuggler.el b/org-taskjuggler.el > index e887d33..e843dcd 100644 > --- a/org-taskjuggler.el > +++ b/org-taskjuggler.el > @@ -309,7 +309,7 @@ the current node such as the headline, the level, todo > state > information, all the properties, etc." >(let* ((props (org-entry-properties)) >(components (org-heading-components)) > - (level (car components)) > + (level (nth 1 components)) >(headline (nth 4 components)) >(parent-ordered (org-taskjuggler-parent-is-ordered-p))) > (push (cons "level" level) props) Oh, OK, good catch. Does this also work if `org-odd-levels-only' is not in use? > Allow variations in capitalisation of allocate property name (or maybe > the documentation should just point out that it must be lowercase) I'd rather have the capitalisation as closely to the tj terminology as explained above. I'd prefer to update the documentation here. > Always output resource names lower case I guess this is also a documentation issue. If you know how resources will be named (either with an ID or with `org-taskjuggler-get-unique-id') then it should be more clear how to do the allocations. > More comprehensible error message if you forget to define a project... Yes, of course. I had fixed that one already locally. So, thanks again for the feedback. I hope to have the worg page and the code in the branch soon so things should become clearer. Thanks Christian -- Christian Egli Swiss Library for the Blind, Visually Impaired and Print Disabled Grubenstrasse 12, CH-8045 Zürich, Switzerland ___ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
Re: [Orgmode] suggestions of Android smartphones
On Sun, 18 Apr 2010 11:07:32 -0300, Daniel Martins wrote: > > --- resending with a proper title --- > > Matthew, > > Just a suggestion for newbies. > > Could you generate a video of MobileOrg Android similar to those of > the MobileOrg Iphone. > > I am still open to suggestions of Android smartphones. > > If I need to access a remote ssh account and open Emacs, the available > keyborards are OK? > > Daniel I have the same questions! My current mobile phone contract expires in 3 months and I'm looking at upgrading to an Android phone. The current best deal I have found is for the Samsung Galaxy Portal, aka the i5700. [1] I'm looking at upgrading to replace my Nokia internet tablet (n810) and non-smart phone with one unit. The nokia does a really nice job of running emacs and org-mode, mind you. I'm particularly interested in knowing how the different handsets approach the keying in of keys like C-x, M-x, TAB, et al. Thanks, eric Footnotes: [1] for those in the UK, the best deal is currently with T-mobile at £15 pm but this obviously changes day to day... 3, my current provider, are asking £20 pm. Both are 24 month contracts. ___ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
[Orgmode] bug: org-decrypt-entry and org-refile
If I create a new org-item using the following "web" template (from the firefox browser or from within emacs itself) ("bookmarks" 119 "* %T %c %i" "bookmarks.org" top nil) and then attempt to refile from within the creation *remember* buffer using C-c C-w I get:- , | Debugger entered--Lisp error: (error "Before first headline at position 375 in buffer *Remember*") | signal(error ("Before first headline at position 375 in buffer *Remember*")) | error("Before first headline at position %d in buffer %s" 375 #) | byte-code("ÀÁ`p#" [error "Before first headline at position %d in buffer %s"] 4) | org-back-to-heading(t) | org-decrypt-entry() | run-hooks(org-reveal-start-hook) | org-reveal() | org-refile(nil) | call-interactively(org-refile nil nil) ` Simply removing the org-reveal from the org-refile call fixes this but I suspect some deeper work probably needs to be done in the org-refile part to make the code aware that the remember buffer is not the one to be concerned about after the refile so that org-back-to-heading works. regards r. ___ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
Re: [Orgmode] Capturing Reference Material for Scientific Articles Written in Orgmode
On 17 Apr 2010 18:47:31 +0200, "Sven Bretfeld" wrote: > > Hi to all > > For those who are interested. > > [x] Do you write scientific articles in Orgmode? > [x] Do you collect data (possible citations, ideas etc.) while reading > books? > [x] Do you own an Android phone? Yes, no and no! ;-) (mind you, I'm looking at getting an Android phone when my current contract expires in 3 months...) Most of my research reading is online with electronic journals so I use a combination of the firefox org-mode links and zotero. What would be useful to me, if anybody has looked at this, is a link between zotero and org-mode! It would be great to have an automated procedure which creates an org file which maps to the zotero database. ___ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
Re: [Orgmode] Using Org for browsing and managing buffers
On Sun, 18 Apr 2010 23:47:11 -0400, Dan Davison wrote: > > Hi Eric, > > Eric S Fraga writes: > [...] > > - I like the fact I can customise RET or, more to the point, that it > > be consistent with the rest of org-mode. I personally would set > > org-buffers-follow-link-method to 'current-window but then it would > > be nice to have SPC, say, open the buffer in another window, to > > behave consistently with org-agenda? > > I've added the SPACE binding you suggest. And, although it would be > out-of-keeping with other org-mode links, it looks like there's a good > argument for making RET switch to the buffer in the same window, like > dired et al. I've done that. I've put a table at the end comparing > these bindings across a few different major modes. Very nice summary! Shows that there is significant inconsistency in behaviour across typical/popular emacs modes. Probably too late to increase that consistency overall but I like the choices you have made for org-buffers. > > - what's the point of orb-buffers-toggle-heading? > > Cleaner (less starry) appearance, seeing as many buffers are named > *Like This*. Ah, true! On this topic, one suggestion (which might be difficult to implement, however): the best thing is about org is the hierarchical nature of headlines. This would seem to map well to the hierarchical nature of modes. For instance, org mode is also a text mode. Would it make sense to have all text mode buffers grouped with sub-modes (for want of a better word) as subheadings? On the other hand, I'm not sure what this would add so probably ignore this... :-) > > I ask because I > > don't understand what functionality it adds and the default binding > > (h) conflicts with my speed keys (I use vi-like bindings for speed > > motion keys). > > I overlooked that before. I've moved it to H. Doesn't seem to work for me (pulled from git this morning, 8am BST): , | Debugger entered--Lisp error: (wrong-type-argument integer-or-marker-p nil) | delete-region(nil nil) | (lambda (pair) (delete-region (car pair) (cdr pair)))(nil) | mapc((lambda (pair) (delete-region (car pair) (cdr pair))) (nil nil (4614 . 4748) nil (4407 . 4572) nil (4204 . 4360) nil (3953 . 4169) (3695 . 3911) (3441 . 3653) (3193 . 3403) (2947 . 3157) (2693 . 2911) (2441 . 2649) (2197 . 2405) (1953 . 2163) nil (1767 . 1911) nil (1561 . 1712) nil (1300 . 1524) (1131 . 1270) (942 . 1091) (734 . 884) (555 . 696) nil (260 . 499) nil (50 . 201) nil)) | org-buffers-delete-regions((nil nil (4614 . 4748) nil (4407 . 4572) nil (4204 . 4360) nil (3953 . 4169) (3695 . 3911) (3441 . 3653) (3193 . 3403) (2947 . 3157) (2693 . 2911) (2441 . 2649) (2197 . 2405) (1953 . 2163) nil (1767 . 1911) nil (1561 . 1712) nil (1300 . 1524) (1131 . 1270) (942 . 1091) (734 . 884) (555 . 696) nil (260 . 499) nil (50 . 201) nil)) | (save-excursion (goto-char (point-min)) (org-buffers-delete-regions (nreverse ...))) | (let ((inhibit-read-only t)) (save-excursion (goto-char ...) (org-buffers-delete-regions ...))) | org-buffers-delete-properties() | (progn (org-buffers-delete-properties) (show-all) (org-buffers-set-state (quote ...))) | (if (org-buffers-state-get :properties) (progn (org-buffers-delete-properties) (show-all) (org-buffers-set-state ...)) (org-buffers-set-state (quote ...)) (org-buffers-list (quote refresh))) | org-buffers-toggle-properties() | (if (and headings-p (org-buffers-state-get :properties)) (org-buffers-toggle-properties)) | (let ((inhibit-read-only t) (headings-p ...) (flat-p ...)) (if (and headings-p ...) (org-buffers-toggle-properties)) (save-excursion (goto-char ...) (if ... ...) (if flat-p ... ...) (mark-whole-buffer) (indent-region ... ...)) (org-buffers-set-state (\` ...))) | org-buffers-toggle-headings() | call-interactively(org-buffers-toggle-headings nil nil) ` > > - In column view mode (which I also have not figured out why it would > > be used...), the heading uses a different font size than the normal > > entries so the headings don't line up at all. This may be my fault, > > however. > > I don't see this. doesn't seem to happen to me now. I may have imagined it... > > - if I bring up the buffers list a second time, having created a new > > buffer in the meantime, the new buffer does not appear until I hit > > 'g'. I think any invocation of org-buffers-list should do an > > automatic update of the list. > > A C-u prefix to org-buffers-list now forces update. I don't think I > agree that it should be default. Speed is my concern -- I'd like it Okay. I understand the motivation. It comes down to the difference in behaviour between the default buffers listing approach in emacs and the way dired works. As long as I remember that it's more like dired, I'm happy! > > - Lastly, it would be nice to either avoid the single blank line at > > the start of the buffer or have point be at the first heading. > > Having point at the first (e
Re: [Orgmode] Re: [Babel] Macro for begin_src?
On Mon, 19 Apr 2010 00:24:46 + (UTC), Shelagh Manton wrote: > > On Sun, 18 Apr 2010 11:44:24 +0100, Eric S Fraga wrote: > > > > artist-mode has a full set of key bindings. I never use the mouse (for > > anything at all, if I can help it, due to RSI issues) and artist-mode is > > perfectly usable nonetheless! Type "C-h m" in artist-mode to see all > > the key bindings. > > I am aware of the keybindings, though I tend to use the mouse myself, but > I have never been able to get artist-mode running properly in tty. If you > have, I would be interested to know if you had to tweak anything to get > it to work or whether it is the usual "my set-up is screwy and I don't > know why" syndrome. I do find artist-mode to be quite finicky (maybe it is less so using the mouse but I've not really tried it that way) so I have a feeling that your problems are due to artist-mode itself. I've not tweaked anything however. In any case, I use it less and less, doing most drawing with either graphviz (dot et al.) and tikz (in latex). Sorry I can't be more helpful. ___ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
[Orgmode] Django Web-org Project: Helped Needed
Dear All, I've been writing a django based web-app to use from a blackberry (or the web or any device). I have the basic frame-work working in admin mode, but there is still much to be done. If you have solid django experience and are interested in volunteering on this project to bring it to fruition, let me know. I know python reasonably well and have been teaching myself django with this project, but it'd be great to have people who have the following skills to contribute: - lisp knowledge - git use - django web design skills, or - strong python/django involved. My intention is to make it work first for people who can run it on their own web-server and then look into making it a web-app. I'm not in this to make money, but rather have access to org-mode TODO lists on all my devices in a centralized/update-able way. And then to share that with the community. Please ONLY respond (and respond directly to me stoph at alum.mit.edu) if you are in a position to help in the above ways. There will be later announcements about the project for those who want to use it. Status: Tasks completed: - converting .org files into SQL - converting SQL into .org text files - displaying and manipulating information in django's admin mode Tasks which remain for stage one: - Synchronizing the web-org information with org-mode using the mobile-org tools/methods from Carsten/Richard. - Creation of django views which look good on many mobile devices (and also ones for the full-screen viewing) - Making the conversion code bullet-proof and the interface intuitive. Thanks, Stoph ___ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
[Orgmode] Re: [Babel] Macro for begin_src?
Dan Davison writes: > I guess, for Nate's original application (converting existing code to > src blocks), what might have been most useful is something to enclose a > given region in a source block. Can anyone show how to do that with > yasnippet (or anything else)? I don't have a ready-to-use snippet, but this is what you need: http://yasnippet.googlecode.com/svn/trunk/doc/snippet-development.html#yas-wrap-around-region HTH, Štěpán ___ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
Re: [Orgmode] [PATCH] Trivial fix for "%3f" in URL bug
Carsten Dominik (2010-03-17 12:04:37 +0100) dixit:: > On Mar 17, 2010, at 11:53 AM, Ivan Vilata i Balaguer wrote: > > >Fixing the old behaviour is trivial: just remove the ``(?? . > >"%3F")`` entry > >from the ``org-link-escape-chars`` list in ``org.el``. > > OK, I have applied this patch, thanks. I am, however, wondering if this > does the right thing consistently, for example also when adding URLs > containing a question mark using `C-c C-l'. Or when editing a link > with `C-c C-l' while the cursor is on it. Maybe you or others can make > a few more tests in this direction? I've tested those behaviours in the new, fixed release and they all seem to be ok. HTML export also works correctly. Thanks! :: Ivan Vilata i Balaguer -- http://ivan.lovesgazpacho.net/ signature.asc Description: Digital signature ___ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode