[Orgmode] Viewing org Files on Your Phone (continuing an old thread)
I have finally almost beaten my worg contribution about using org files on mobile devices into shape. Sorry it has taken so long, but all sorts of unexpected things have happened over the last couple of months! It still needs some editing, so I thought I would open it up for comments/improvements before finally uploading it to worg. You can find the current version at http://github.com/geekinthesticks/org-mobile . Ian. ___ Emacs-orgmode mailing list Remember: use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
Re: [Orgmode] Re: Emacs startup file
Many thanks to all. Huge help. On Tue, Oct 13, 2009 at 1:04 PM, Memnon Anon < gegendosenflei...@googlemail.com> wrote: > saikari keitele writes: > > > I'm new to orgmode and quite new to Emacs. Could you please tell me > > the exact lines I have to add to the emacs startup file(.emacs.el) to > > enable orgmode? > > Welcome ;) > > If you are new to emacs, really learn, how to use the integrated > documenatation. Its great and always available! > > Press a) 'Control+h' 'i' . This gives you the info system. > b) 'h' . Gives you a tutorial, how to use it. > It takes some time to get used to it, but its really > worth it. > c) Find the org documentation in the info system. The node > Introduction should help you getting started. > > The org documentation is very well written and quite extensive. > > hth, and have fun :)! > > > > > > > ___ > Emacs-orgmode mailing list > Remember: use `Reply All' to send replies to the list. > Emacs-orgmode@gnu.org > http://lists.gnu.org/mailman/listinfo/emacs-orgmode > ___ Emacs-orgmode mailing list Remember: use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
[Orgmode] Q: How to search dates within current week
Q: How to search dates within current week [ I am posting this according to //gmane.org/post.php instructions. I hope this works. ] I am a beginner in using Orgmode. I would like to search for CLOSED items within the current week. The closest posting was in 2007 entitled "search for dates as tag or property" http://article.gmane.org/gmane.emacs.orgmode/4506/match=date+search I tried 2 approaches but have some problems. 1) Keywords - today, tomorrow, yesterday Is there a keyword for "thisweek"? in the vein of "today", "tomorrow". where "thisweek" means the current Mon-Sun window. 2) Match string : +CLOSED>="<-1w>"+CLOSED<="<0w>" Currently -1w is a moving window of the last 7 days, so the search result will change every day. It is also possible there are simpler solutions I have not thought of. For example, the Timeline would serve my purpose except that currently, it only shows scheduled items, not closed items. Thanks, Weight Loss Program Best Weight Loss Program - Click Here! http://thirdpartyoffers.juno.com/TGL2131/c?cp=QHzgltjQttPSab0aAeH8agAAJz2dHEwHj3vEVwLaaaOeXNfeAAYAAADNAAAEUgA= ___ Emacs-orgmode mailing list Remember: use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
Re: [Orgmode] Removing time grid lines (invalid function)
Nick Dokos writes: > Desmond Rivet wrote: > >> Hi all, >> >> I'm attempting to use the hack listed on worg titled : "Remove time grid >> lines that are in an appointment". I'm having a bit of trouble. I'm >> using emacs 23.1. >> >> I add this to my .emacs file: >> >>... > > Try adding this: > > (load-library "cl-macs") > > before you use flet. Does it fix it? Yes it does, thank you. A (require 'cl) also works. So flet is a common lisp extension? Interesting. -- Desmond Rivet Pain is weakness leaving the body. ___ Emacs-orgmode mailing list Remember: use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
[Orgmode] Re: org-version from git 6.30 trans
Greg Newman writes: > I have my configs setup so that org-mode is a git submodule from > git://repo.or.cz/org-mode.git I updated my submodule but org-version > is still saying 6.30 trans. Is 6.31 on a branch or tag? Hi Greg, I don't use submodules in git yet but as I understand it the supermodule points at a specific commit and won't move until you update it. 6.31 is a tag which is part of the history of the master branch. You can see this in gitk. HTH, Bernt ___ Emacs-orgmode mailing list Remember: use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
[Orgmode] Re: org-version from git 6.30 trans
Thanks Bernt. I learn't somethin' new today. I used gitx to check the submodule which I did not know I could do from within a git repo. Very nice. Ok, I'll update it to use the 6.31 tag. Thanks again. — Greg On Oct 14, 2009, at 7:09 AM, Bernt Hansen wrote: Greg Newman writes: I have my configs setup so that org-mode is a git submodule from git://repo.or.cz/org-mode.git I updated my submodule but org-version is still saying 6.30 trans. Is 6.31 on a branch or tag? Hi Greg, I don't use submodules in git yet but as I understand it the supermodule points at a specific commit and won't move until you update it. 6.31 is a tag which is part of the history of the master branch. You can see this in gitk. HTH, Bernt ___ Emacs-orgmode mailing list Remember: use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
[Orgmode] Re: `C-u 2 S-Tab' with `#+STARTUP: odd'
Michael Brand writes: > Here I am lost and would like some help. I was not able to find out > how to determine if the cursor is on a line with an outline heading or > not. I think you can use the function org-on-heading-p to determine if you are on a heading or not. HTH -Bernt ___ Emacs-orgmode mailing list Remember: use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
[Orgmode] Re: Q: How to search dates within current week
"tan@juno.com" writes: > Q: How to search dates within current week > > [ I am posting this according to //gmane.org/post.php instructions. > I hope this works. ] > > I am a beginner in using Orgmode. > I would like to search for CLOSED items within the current week. > > The closest posting was in 2007 entitled "search for dates as tag or property" >http://article.gmane.org/gmane.emacs.orgmode/4506/match=date+search > > I tried 2 approaches but have some problems. > > 1) Keywords - today, tomorrow, yesterday >Is there a keyword for "thisweek"? in the vein of "today", "tomorrow". >where "thisweek" means the current Mon-Sun window. > > 2) Match string : +CLOSED>="<-1w>"+CLOSED<="<0w>" >Currently -1w is a moving window of the last 7 days, so the >search result will change every day. > > It is also possible there are simpler solutions I have not thought of. > For example, the Timeline would serve my purpose except that currently, > it only shows scheduled items, not closed items. The timeline might work - you can display closed and other timestamps in the log with C-u l or configure what is displayed by default with l using org-agenda-log-mode-items. HTH, Bernt ___ Emacs-orgmode mailing list Remember: use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
[Orgmode] Re: Q: How to search dates within current week
Bernt Hansen writes: > "tan@juno.com" writes: > >> Q: How to search dates within current week >> >> [ I am posting this according to //gmane.org/post.php instructions. >> I hope this works. ] >> >> I am a beginner in using Orgmode. >> I would like to search for CLOSED items within the current week. >> >> The closest posting was in 2007 entitled "search for dates as tag or >> property" >>http://article.gmane.org/gmane.emacs.orgmode/4506/match=date+search >> >> I tried 2 approaches but have some problems. >> >> 1) Keywords - today, tomorrow, yesterday >>Is there a keyword for "thisweek"? in the vein of "today", "tomorrow". >>where "thisweek" means the current Mon-Sun window. >> >> 2) Match string : +CLOSED>="<-1w>"+CLOSED<="<0w>" >>Currently -1w is a moving window of the last 7 days, so the >>search result will change every day. >> >> It is also possible there are simpler solutions I have not thought of. >> For example, the Timeline would serve my purpose except that currently, >> it only shows scheduled items, not closed items. > > The timeline might work - you can display closed and other timestamps in > the log with C-u l or configure what is displayed by default with l > using org-agenda-log-mode-items. (and following up on my own post...) What I would probably do if this is something you need often is make a custom agenda view which sets org-agenda-log-mode-items to closed, and then view the agenda for a week starting from some specific date with the log items on. This should be much faster than the timeline view (L) since it limits the date range you are looking at. -Bernt ___ Emacs-orgmode mailing list Remember: use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
[Orgmode] Re: `C-u 2 S-Tab' with `#+STARTUP: odd'
Here I am lost and would like some help. I was not able to find out how to determine if the cursor is on a line with an outline heading or not. I think you can use the function org-on-heading-p to determine if you are on a heading or not. Thank you, exactly what I have missed. ___ Emacs-orgmode mailing list Remember: use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
[Orgmode] Re: suggestion: simplify depth stepping of document structure (outline) visibility
Hi all, One reply is not that much feedback yet..., maybe I tried to be detailed but was not clear enough? Ok, I thought after having submitted a few bug reports before, it would be good to contribute in a way a bit more constructive this time ;-) and implemented what I have described in my previous post for headings (not for list elements). For those who are interested in trying it out: First you will have to upgrade to org-version 6.31a or newer (or take into account http://thread.gmane.org/gmane.emacs.orgmode/17441) and then put the code at the end of this post e. g. into your .emacs file and start a new Emacs. Use `C->' and `C-<' repeatedly back and forth on your files that have at least a few heading levels and tell how useful you find it. I find the usage of my-orgstruct-dive very intuitive in contrast to the complicated look of both the description in my previous post and my implementation here. As a nice side effect this function also brings two functionalities from outline-mode to org-mode which I am missing in org-mode: outline-mode-`C-c C-q' (hide everything lower than heading level at point (cursor)) and outline-mode-`C-c C-i' (show direct subheadings but not body of heading at point). (global-set-key (kbd "C->") 'my-orgstruct-dive) (global-set-key (kbd "C-<") 'my-orgstruct-dive-out) (defvar my-orgstruct-dive-level 0) (defun my-orgstruct-dive-out () "Wrapper to simplify comparison with last-command in my-orgstruct-dive" (interactive) (my-orgstruct-dive t)) (defun my-orgstruct-dive (&optional dive-out) "Make visible one heading level more or less. return value: undefined. dive-out: If nil dive in, else dive out." (interactive) ;; determine new level (if (or (eq last-command 'my-orgstruct-dive) (eq last-command 'my-orgstruct-dive-out)) ;; command repetition, increase/decrease level (setq my-orgstruct-dive-level (+ my-orgstruct-dive-level (if dive-out '-1 '1))) ;; init level to that of point (setq my-orgstruct-dive-level (if (outline-on-heading-p) (org-reduced-level (save-excursion (beginning-of-line) (org-outline-level))) '0))) ;; update heading visibility (when (or (<= my-orgstruct-dive-level 0) (<= 1000 my-orgstruct-dive-level)) (setq my-orgstruct-dive-level 1)) (org-shifttab my-orgstruct-dive-level)) ___ Emacs-orgmode mailing list Remember: use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
Re: [Orgmode] `C-u 2 S-Tab' with `#+STARTUP: odd'
On Sep 10, 2009, at 1:48 PM, Michael Brand wrote: I like the org-indent-mode with the soft-indentation but even more I like the hard-indentation with `#+STARTUP: odd hidestars' instead for which I have a question. This is the content of the example file oddeven: -*- mode: org -*- #+STARTUP: oddeven hidestars content * 1 Org Mode ** 1.1 Introduction *** 1.1.1 Installation This is the content of the example file odd: -*- mode: org -*- #+STARTUP: odd hidestars content * 1 Org Mode *** 1.1 Introduction * 1.1.1 Installation The different _Emacs-faces_ (colors) for the heading levels are the same when comparing the two files. This Emacs-internal adaptation I appreciate a lot. C-u 2 S-Tab shows _two_ levels with the file oddeven but only _one_ with the file odd. Is this how it is intended to work for the file odd? Actually, I tested this now, and it works correctly in 6.31. I don't quite remember when his was changed, but this is implemented already - sorry for nor earlier looking what this really was about. - Carsten ___ Emacs-orgmode mailing list Remember: use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
[Orgmode] Re: `C-u 2 S-Tab' with `#+STARTUP: odd'
On Oct 14, 2009, at 8:19 AM, Michael Brand wrote: There is something more with org-outline-level in org-version 6.31a which I still don't understand because I am not aware of some functions used in its implementation. I drilled down the quite special situation to the following file content. I hope that the indentation of x by three spaces does not get lost in the mailing list archive: -*- eval: (org-mode) -*- x After opening this file and confirming `eval', org-outline-level reports `3' (changes when changing the indentation of x) but I expect it to report someting like `0', `1000' or `1001' or similar like it does with variations like e. g. -*- mode: org -*- x The function assumes that the cursor is located at the beginning Ok. I found out that (save-excursion (beginning-of-line) (org- outline-level)) can compensate. of an outline heading. If it is not, it will return garbage. Here I am lost and would like some help. I was not able to find out how to determine if the cursor is on a line with an outline heading or not. I have troube understanding what you mean. An outline heading looks like this *** heading If the cursor is at the first character of that line, org-outline- level will return 3. If the line looks different, the return value will be badly determined (governed by the most recent match of a regular expression anywhere in Emacs, might be anything). If you need to find out, in a lisp program, if you are at the beginning of a headline, use (and (org-at-heading-p t) (bolp)) HTH - Carsten - Carsten ___ Emacs-orgmode mailing list Remember: use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
Re: [Orgmode] `C-u 2 S-Tab' with `#+STARTUP: odd'
On Sep 10, 2009, at 1:48 PM, Michael Brand wrote: I like the org-indent-mode with the soft-indentation but even more I like the hard-indentation with `#+STARTUP: odd hidestars' instead for which I have a question. This is the content of the example file oddeven: -*- mode: org -*- #+STARTUP: oddeven hidestars content * 1 Org Mode ** 1.1 Introduction *** 1.1.1 Installation This is the content of the example file odd: -*- mode: org -*- #+STARTUP: odd hidestars content * 1 Org Mode *** 1.1 Introduction * 1.1.1 Installation The different _Emacs-faces_ (colors) for the heading levels are the same when comparing the two files. This Emacs-internal adaptation I appreciate a lot. C-u 2 S-Tab shows _two_ levels with the file oddeven but only _one_ with the file odd. Is this how it is intended to work for the file odd? Actually, I tested this now, and it works correctly in 6.31. I don't quite remember when his was changed, but this is implemented already - sorry for nor earlier looking what this really was about. - Carsten ___ Emacs-orgmode mailing list Remember: use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
Re: [Orgmode] Searching inside of attachments (pdf, odt)?
Hi, Am 13.10.09 19:09, schrieb Samuel Wales: Have you tried the agenda search feature yet? If not, perhaps trying it first will help ground the discussion. OK, I had another look at the org agenda search feature and I agree that it would be much smarter to use the already implemented org features - to go "the org-way". But I must confess I do not know how to push the attachments to pdf2txt, make the org agenda search the text-files and link back to the corresponding org task in the org-file. Any ideas? Karl ___ Emacs-orgmode mailing list Remember: use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
Re: [Orgmode] ECB and org-mode
At Tue, 13 Oct 2009 10:00:29 +0200, Carsten Dominik wrote: > > [snipped: messages regarding jumping into org file from ECB tree buffer and > having the hierarchy displayed] > > If you find a solution, please post, maybe I can install it in org.el, > using eval-after-load (I'm doing this already for a couple > of other packages that let you jump right in the middle of an Org file). Carsten, The following seems to work: --8<---cut here---start->8--- (defadvice ecb-method-clicked (after esf/org-show-context) "Make sure hierarchy is visible when jumping into location from ECB tree buffer" (if (string= major-mode "org-mode") (org-show-context) ) ) --8<---cut here---end--->8--- I have tested this but not exhaustively and so maybe it depends on some of my specific org-mode settings. I don't know if anybody else uses ECB extensively but, if so, it would be great if they tried it. I don't specifically (require 'ecb) anywhere so I don't think this is required; I am, however, using emacs 23.1. Again, apologies for my minimal (yet increasing) elisp knowledge! You're welcome to use this in any way you wish (and, before you ask (;-), I am still awaiting a response from the FSF re: copyright assignment as I posted the signed page several weeks ago now). On a related note, I have not managed to figure out why the ECB tree buffer shows only up to two levels of the org-mode heading hierarchy. Ideally, I would like it to show all levels. Is there a variable in org-mode that may be affecting this? Thanks, eric ___ Emacs-orgmode mailing list Remember: use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
[Orgmode] Re: ECB and org-mode
Eric S Fraga writes: Hi Eric, > (defadvice ecb-method-clicked (after esf/org-show-context) > "Make sure hierarchy is visible when jumping into location from ECB tree > buffer" > (if (string= major-mode "org-mode") Here, you want (eq major-mode 'org-mode). Your version also works, but only because string= converts symbols to their string name, and the value of `major-mode' is a symbol. The `eq' version is more efficient, but mostly it's for style reasons. > Again, apologies for my minimal (yet increasing) elisp knowledge! Hey, it works! What do you want more? ;-) Bye, Tassilo ___ Emacs-orgmode mailing list Remember: use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
[Orgmode] Re: `C-u 2 S-Tab' with `#+STARTUP: odd'
I have troube understanding what you mean. An outline heading looks like this *** heading If the cursor is at the first character of that line, org-outline-level will return 3. I want `3' _independently_ of on which column the cursor is on that line and therefore use (save-excursion (beginning-of-line) (org-outline-level)). If the line looks different, the return value will be badly determined (governed by the most recent match of a regular expression anywhere in Emacs, might be anything). To cover this I use (outline-on-heading-p), without the optional parameter in my case. If you need to find out, in a lisp program, if you are at the beginning of a headline, use (and (org-at-heading-p t) (bolp)) The matter is that within any one line I rather want to _ignore_ the column than to _know_ on which column the cursor is. With all discussed here in this thread combined together I use (if (outline-on-heading-p) (org-reduced-level (save-excursion (beginning-of-line) (org-outline-level))) '0))) for my suggestion of heading visibility depth stepping described here http://thread.gmane.org/gmane.emacs.orgmode/17581/focus=18392 ___ Emacs-orgmode mailing list Remember: use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
[Orgmode] Re: Repeat time ranges
thank you guys for your help! ___ Emacs-orgmode mailing list Remember: use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
[Orgmode] feature request: scroll other window in agenda view follow mode
Carsten, I wonder whether I could request a small feature addition in org-mode (or have a pointer to already implemented functionality, of course ;-)? Using the agenda view with follow mode is fantastic for complex agenda views. What I find, however, is that I miss having a scroll other window as implemented in many other "2 window" interfaces in Emacs (e.g. most mail user agents like rmail, wanderlust, gnus, etc.). I find myself hitting spacebar to scroll down the other window (the one with the org file view) as I would in mail tools and it does nothing. The request would be to have org-agenda-show, bound to ' ', scroll down the other window if already showing the entry. Would this be possible easily? I realise that I could simply type M-C-v but it would be nice to have consistency with other emacs tools. I have tried mapping the spacebar to scroll-other-window in the agenda keymap but this does nothing because the agenda view simply re-shows the org file at the same location! Thanks, eric ___ Emacs-orgmode mailing list Remember: use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
Re: [Orgmode] Re: ECB and org-mode
At Wed, 14 Oct 2009 19:57:42 +0200, Tassilo Horn wrote: > Eric S Fraga writes: > > (if (string= major-mode "org-mode") > > Here, you want (eq major-mode 'org-mode). Your version also works, but Makes sense! D'uh. Of course there is a way of comparing modes. This is *emacs*, after all! [...] > > Again, apologies for my minimal (yet increasing) elisp knowledge! > > Hey, it works! What do you want more? ;-) I've learned even more today! My knowledge of elisp may not be increasingly exponentially but it is at least monotonic in the right direction ;-). I could ask for nothing more. Thanks, eric ___ Emacs-orgmode mailing list Remember: use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode