[Orgmode] Re: urgency importance (was: (no subject)
Robin Green gree...@greenrd.org writes: Is there any equivalent to planner-mode's planner-rank.el for org-mode? I want to automatically compute some sort of combined measure of urgency and importance for each of my TODOs, and rank them according to this measure. (Of course, I could write my own code to do this, and I might do just that if there isn't anything suitable already out there.) Could you please explain what you mean by urgency and importance? I'm not familiar with that distinction. You might want to checkout the docstring for the variable org-agenda-sorting-strategy. There are lots of ways to sort items in the agenda, along with the possibility of creating your own sorting functions. Best, Matt ___ 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: Eliminate DONE state?
Carsten Dominik carsten.domi...@gmail.com writes: On Sep 18, 2009, at 1:31 PM, PT wrote: Is is possible to eliminate the DONE state completely? I'd like a single state TODO and want to switch between TODO and nothing states, but (setq org-todo-keywords '((sequence TODO))) doesn't seem to work, because it always considers the last state as a DONE state. Is it possible to have only a single actionable task state and nothing else, so when I switch then the sequence is nothing-TODO-nothing- TODO-...? Hi PT, the following seems to work, but am not sure if it will break something. (setq org-todo-keywords '((sequence TODO |))) That was my first thought, too. But on my machine, it causes TODO items to be assigned a CLOSED timestamp. Best, Matt ___ 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-examples.git?
d...@teklibre.org (Dave Täht) writes: My eyes glazed over at the documentation thread. I'm afraid my posts may have had something to do with that. :) There are a lot of wonderful tutorials out there, and some great documentation, but often it requires a fairly high level of understanding of emacs to solve what's missing or what goes wrong and a bit of cutting and pasting. I'm kind of more interested in actual, working examples, that require as little setup and thought as possible, all collected in one place (like, org-examples.git or as part of the org-mode git tree), that anyone could try, use, or edit as a base... Here are a couple of nice places to start: http://orgmode.org/worg/org-configs/org-customization-guide.php http://orgmode.org/worg/org-configs/org-customization-survey.php Best, Matt ___ 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: Default Date for Scheduling in Remember Buffer
Philipp Schaefer philipp.schae...@gmail.com writes: I just tried the functionality described in the manual in the section http://orgmode.org/org.html#Setting-up-Remember-for-Org , according to which the key combination 'k r' leads to timestamps defaulting to the day on which the pointer was when 'k r' was invoked. Now is it somehow possible to alter the behaviour of %t to not only be converted to a simple timestamp but instead to a deadline- or scheduled-timestamp? Here's the simplest way to do it: (setq org-remember-templates '((?s * TODO %^{Title}\n SCHEDULED: %t\n %a\n %i) (?d * TODO %^{Title}\n DEADLINE: %t\n %a\n %i) ;; ... other templates here )) - Matt ___ 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: Is it possible to show an agenda item only if it's due?
PT spamfilteracco...@gmail.com writes: I have several items on my agenda which have a time specification (e.g. 4pm), but it only means I should work on it sometime after 4pm. It can even be 8pm when I actually deal with the item. So there is no need for me to see the item constantly on the daily agenda, I'd like this item to appear only if I display the agenda after 4pm. I don't want to see it before the given time, because I can't work on it then, so it only clutters the view. Is it possible to do this with org? One recommendation: Create an :EVENING: tag and filter it out in the agenda. Or, optionally, create custom agenda commands for day and evening agendas that pull up different results based on tags. - Matt ___ 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: Is it possible to show an agenda item only if it's due?
PT spamfilteracco...@gmail.com writes: Matt Lundin mdl at imapmail.org writes: One recommendation: Create an :EVENING: tag and filter it out in the agenda. Or, optionally, create custom agenda commands for day and evening agendas that pull up different results based on tags. This wouldn't work, because I have lots of different such times during the day which cannot be grouped into 2-3 main categories. 4pm was only an example. It can be any other time during the day and I only want those items to appear when their time is due. Ah I see. Another idea: write an agenda skip function that converts the timestamp to universal time and ignores the entry if it is greater than (current-time). Such as, --8---cut here---start-8--- (defun my-skip-if-later () Skip entries that are later than the current time. (let ((time (or (org-entry-get nil TIMESTAMP) (org-entry-get nil SCHEDULED (when time (if (time-less-p (org-time-string-to-time time) (current-time)) nil ;; less than current time -- include it (outline-next-heading) ;; otherwise move on (setq org-agenda-custom-commands '((A Without later items agenda ((org-agenda-ndays 1) (org-agenda-skip-function '(my-skip-if-later)) --8---cut here---end---8--- Note: this is just a quick example. I haven't tested it and am not sure whether it breaks something. Also, it would become considerably more complex if you also wanted to consider time-of-day information in the heading. - Matt ___ 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: two custom agenda view questions
Michael Gilbert m...@gilbert.org writes: Still too much of a newbie to figure this out on my own. I get lost in the Lisp still. (1) I want to define a custom agenda view that displays only those tasks that have today as a deadline or are past-due. Since many of my tasks also have scheduled timestamps, sometimes these end up being the same day. It looks to me as if they will be left out if I skip scheduled items, even if they also have a current deadline. How can I finesse this? --8---cut here---start-8--- (setq org-agenda-custom-commands '((d Due today agenda ((org-deadline-warning-days 1) (org-agenda-skip-scheduled-if-deadline-is-shown t) (org-agenda-skip-function '(org-agenda-skip-entry-if 'notdeadline)) --8---cut here---end---8--- (2) Eventually, I want to create a DONE log of copies of items as they get finished, with contextual data retained. But for right now, all I want is to be able to switch to an agenda view of tasks that were complete today. I've tried a few ideas that seemed like low-hanging fruit here, but no luck. Type l in the agenda for log mode. - Matt ___ 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: HTML export without all div ... tags
Detlef Steuer ste...@unibwh.de writes: I'm in the process of adapting cmsimple (www.cmsimple.dk) to use our university's corporate design. Cmsimple in its core is a php script, which takes _one_ html file and creates the complete layout of a site on the fly while splitting the file apart at h[123] levels. Now I want to create that one html file with org-mode. What else? If I could get org-mode to export pure html without all the div tags I think I am done. But how to explain to orgmode to be dumb? AFAIK, the div tags are hard-coded into org-export-as-html. You might try org-export-generic in the contrib directory of the git repository. Another (more complex) solution: export to LaTeX and then use a converter such as hevea or tex4ht to create a basic html file. Too bad cmsimple doesn't parse org source files instead of html! ;) - Matt ___ 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: options for chronological agenda
Ilya Shlyakhter ilya_...@alum.mit.edu writes: I often need to find recently modified entries. I try to timestamp entries I work on with the active timestamps (in angular brackets), and use the C-x a L command. This mostly works, but is imperfect: - when i use time logging, it inserts inactive timestamps that are not found this way. so, i can't use this to find recently worked on entries. I believe that's because org-mode, in general, treats active timestamps as scheduling data -- i.e., things you need to do. I.e., it is optimized for using inactive timestamps to indicate recently worked on items. - it looks at the _first_ timestamp in an entry, rather than the _last_ timestamp Could you give an example? When I try C-c a L, it creates separate instances for each timestamp in an entry. E.g., the following file... --8---cut here---start-8--- * A test 2009-09-25 Fri 2009-09-26 Sat --8---cut here---end---8--- becomes... --8---cut here---start-8--- Friday 25 September 2009 A test --- Saturday 26 September 2009 A test --8---cut here---end---8--- - it is limited to one file . would be much better if it could be made to work across the entire agenda. - it would be fine to have the option to limit it to entries within the last, say, week, if that would speed it up. Depending on whether or not Carsten decides to change the behavior of the timeline view ;) , you could always use a custom agenda command to accomplish the same thing. The suggestion is to enhance the timeline agenda with options to: - recognize inactive timestamps ([in square brackets]) See the variable org-agenda-inactive-timestamps. It would also be _really_ great if the chronological listing could be filtered to contain only entries matching a certain tag/property query. Try filtering the timeline with /. Best, Matt ___ 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: to bookmarks
andrea Crotti andrea.crott...@gmail.com writes: Bookmarks from org-mode: I insert many many links inside my orgmode but sometimes I would also like to have them in my browsers (safari and firefox sometimes). Is there already something working out of the box? The hierarchy like file.org * level1 ** level2 [[http://sito.com][sito]] Should maybe create directories, for a cleaner view.. I've been looking for similar functionality for a while so I hacked up a simple function to export the bookmarks of an org file as an html file, which can then -- at least theoretically ;) -- be imported into your favorite web browser. I'm an elisp novice, but it seems to work: --8---cut here---start-8--- (defun org-export-html-bookmarks () Extract bookmarks from the current org file and create an html file that can be imported into a web browser. (interactive) (let ((file (file-name-nondirectory (buffer-file-name))) bookmarks) (save-excursion (goto-char (point-min)) (while (re-search-forward org-bracket-link-analytic-regexp nil t) (when (equal (match-string 2) http) (let ((url (concat (match-string 1) (match-string 3))) (desc (org-substring-no-properties (match-string 5 (push (concat DTA HREF=\ url \ desc /A\n) bookmarks (with-temp-buffer (insert !DOCTYPE NETSCAPE-Bookmark-file-1\n HTML\n META HTTP-EQUIV=\Content-Type\ CONTENT=\text/html; charset=UTF-8\\n TitleBookmarks/Title\n H1Bookmarks/H1\n DTH3 FOLDED file ( (format-time-string %Y-%m-%d) )/H3\n DLp\n) (apply 'insert (nreverse bookmarks)) (insert /DLp\n /HTML) (write-file (concat (file-name-sans-extension file) -bookmarks.html)) --8---cut here---end---8--- I'll put it up in the hacks section on Worg. Regards, Matt ___ 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: short way to insert source tag in org mode?
Water Lin water...@ymail.com writes: While I am using org to publish my source code, I include my code in following way: #+BEGIN_SRC emacs-lisp some emacs-lisp code #+END_SRC Everytime I copy the begin and the end tag which is #+BEGIN_SRC emacs-lisp and #+END_SRC to my org file. I want to find a way to inset them handly. Is there a key binding for this? It's an experimental feature, but I use s for this. And l for latex, h for html, etc. (I certainly do hope that this becomes an official feature at some point.) See the variable org-structure-template-alist. - Matt ___ 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: Editing LaTeX code in org-mode
Alan E. Davis lngn...@gmail.com writes: #+BEGIN_LaTeX questions and sections #+END_LaTeX For now, however, is there a way to use AUCTeX to edit the LaTeX in the environment above? Currently, my habit of using C-c e to enter environments is getting in the way, for example. Perhaps there is a way to easily enter environments, perhaps the multiplechoice environment can be defined in a variable? (and others?) Have you tried C-c '? If auctex is your default TeX environment, hitting C-c ' inside a LaTeX should take you to an auctex buffer. - Matt ___ 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] New footnote with folded footnote section
Hi Carsten, I have org-footnote-section set to Footnotes. If I insert a new footnote while... 1. the * Footnotes tree already exists and 2. the * Footnotes tree is folded ...the footnote definition label is inserted, but the * Footnotes subtree remains folded and the cursor jumps to the * Footnotes headline rather than the definition line. I've tried using org-reveal (C-c C-r) to open the Footnotes section, but nothing happens. I've tried typing C-c C-c to go back to the footnote, but since the cursor is on a headline, the result is a tag prompt. When I hit TAB to cycle, the cursor remains on the headline. Thanks for your help. Matt ___ 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: tags in todo list
David Schoen d...@lyte.id.au writes: I was wondering if there is a way to filter the todo list (C-c a t) by tags that are applied. I'm trying to use org-mode for a GTD style process management which means I've got things like :home: and :office: set as tags and as such when I'm at the office I would like to have some way of hiding the :home: entries. Try pressing / in the agenda. - http://orgmode.org/worg/org-faq.php#limit-agenda-with-tag-filtering - http://orgmode.org/manual/Agenda-commands.html#Agenda-commands Best, Matt ___ 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: Filtering the global todo list in a custom agenda
PT spamfilteracco...@gmail.com writes: I'm trying to filter the global todo list, so that items with certain tags don't appear in it, but this solution doesn't seem to work: (setq org-agenda-custom-commands '((h Agenda and todo ((agenda ) (alltodo -test) Items with test tag are shown nevertheless. How could I filter them? (setq org-agenda-custom-commands '((h Agenda and todo ((agenda ) (tags-todo -test) - Matt ___ 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: HTML export: How to export body only, as HTML fragment?
Bill Powell b...@billpowellisalive.com writes: - get HTML export to just convert the text to HTML, without wrapping a template and head and html and body tags around it. I can't find an option to do this, but it seems like if there isn't one, it should be fairly easy to implement. Pyblosxom needs HTML fragments so it can wrap my custom templates with dynamic title lists, etc. There are BODY-ONLY arguments for both org-export-as-html and org-export-region-as-html. Here's an example provided in the docstring of org-export-region-as-html: , | (setq html (org-export-region-as-html beg end t 'string)) ` Best, Matt ___ 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: Orgmode for budgeting/expense recording
Eric S Fraga ucec...@ucl.ac.uk writes: As do I and highly recommended indeed! It would be interesting to see a org-babel interface to ledger... what ledger is missing, in the context of emacs, is an easy way to see the actual output of the ledger command (e.g. bal or reg) while looking at the ledger file. Do you use ledger.el, which comes with the ledger source? It makes it very easy to enter new items and to invoke ledger commands from within a ledger file. I also find it indispensable for reconciling accounts. Best, Matt ___ 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: (Possible Feature Request) Hiding Tags in Agenda View/Implementing Contexts in Org
Miguel Fernando Cabrera mfcabr...@gmail.com writes: Too hacky? Now, to really do what I want would be cool to have a way of saying to org that don't show the @work tag. I think you might also be able to use the variable org-agenda-filter-preset. I think at the end this is a question of how implement context in a good way in Org. Any advice or strategy will be really helpful. I use secondary filtering for this. IMO, it's much faster and more flexible than having to define multiple custom agenda commands. BTW, is there some lisp function like org-entry-tags to get the tags of an entry, not reliying in re-search-forward as in [1] org-get-tags - Matt ___ 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] Indentation of scheduled/deadline timestamps
What follows is a minor issue with the indentation of scheduled/deadline lines. I can't identify when it appeared, but AFAICT it is a recent behavior. When I schedule an item for the first time with C-c C-s, the scheduling line is indented to match the text of the headline: * Here is a headline SCHEDULED: 2009-10-07 Wed But when I reschedule that item with C-c C-s, the indentation changes to the following: * Here is a headline SCHEDULED: 2009-10-08 Thu The same behavior occurs when adding a DEADLINE. Again, this is a minor issue (chiefly aesthetic). I do not have org-indent turned on. Thanks! Matt ___ 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: Tagging a region of text without creating a branch
bar tomas barto...@gmail.com writes: Is it possible to tag a region of text without creating a new branch? I mean, for instance, if I have the following orgmode document structure: * item1 this is about item 1 bla bla more about item1 I'd like to give a tag to the bit 'bla bla', but the scope of the tag should not include 'more about item 1'; Just curious: what would be the advantage of tagging a region of text rather than creating subheadings? E.g., --8---cut here---start-8--- * item1 ** this is about item 1 about item one ** bla bla :urgent: More bla bla ** More about item1 more about item1 --8---cut here---end---8--- Since org mode relies on the hierarchical structure of outlines, all of the subheadings are part of the tree beginning with item1. Also, how would a region of tagged text appear in the agenda? The agenda depends on the association of metadata with headlines. Best, Matt ___ 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: Tagging a region of text without creating a branch
bar tomas wrote: Hi, Maybe I use orgmode in a quirky way, but I often find the need of tagging internal regions. I don't have a problem with a creating a heading but what I find sometimes inconvenient is that implicitely everything that comes after the created headingis in it's scope until the next heading. I mean, don't you ever come across a situation like the following? * idea1 Notes about idea1 More notes about idea1 still more about idea1 IMO, this is precisely the strength of outlines. You can create subheadings to organize/categorize your thoughts. But perhaps I still misunderstand what you are trying to do? I like to think of org outline headings as data containers or database records. You attach metadata (tags, todos, properties, etc.) to the container. and you'd like to tag the second line (and only second line with :tellSueAboutIt:). If I understand correctly the only way to do this with headings is: * idea1 Notes about idea1 ** :tellSueAboutIt: More notes about idea1 ** :DontTellSueAboutIt: still more about idea1 This is very cumbersome and conceptually confusing.z It would be really convenient to sometimes be able to tag an internal region. Someone mentioned inline tasks. Is this possible with inline tasks? Yes. As Bernt suggested, I think inline tasks would achieve your ends very well here. Inline tasks act like normal headlines for the purposes of the agenda --- i.e., they will appear in your searches. But they will not be exported. Neither will they open with other headlines during cycling. You can create inline tasks by creating really deep outline headlings (I believe the default is 15). Here's an example: * idea1 Notes about idea1 * *** An inline task :tellSueAboutIt: More notes about idea1 * *** Another inline task :DontTellSueAboutIt: still more about idea1 See the variables org-inlinetask-export and org-inlinetask-min-level. BTW, There is a mode (freex-mode) that uses pymacs and an external database to enable tagging of selected nuggets of text. But I don't believe that it works with org-mode. I you don't mind the external dependencies, you might want to check it out. http://www.emacswiki.org/cgi-bin/emacs/FreexMode Hope this helps! Matt ___ 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: Tagging a region of text without creating a branch
At Mon, 12 Oct 2009 09:29:05 +0200, Carsten Dominik wrote: On Oct 10, 2009, at 5:39 PM, Matt Lundin wrote: Hi Carsten, Carsten Dominik wrote: Yes, this should now work. Good catch. You method with the tag on the END line would even be harmful, as it removes any text after the END line, up to the next heading. Can you show me the use case for not exporting inline tasks? Maybe I need to bring that variable back, if there is a good case for it Now that I am doing more of my writing in org-mode, I plan to use inline tasks for marking up my drafts with TODOs. These reminders would be for my eyes only. When I publish the draft to LaTeX or html for sharing, I would thus prefer that the inline tasks be excluded. OK, I have re-introduced the variable org-inlinetask-export, as a Boolean. Do we need to be able to set this on a per-file basis? Thanks Carsten! An option to set per-file would indeed be nice. For instance, if I'm working on an article, I might want to share one version of it without visible inline tasks/comments and another with them. That said, I suppose I could use local variables to do this. - Matt ___ 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] org-clock-into-drawer
Hi Carsten, According to the docstring, the value of org-clock-into-drawer is derived from org-log-into-drawer. , | The default for this variable is the value of `org-log-into-drawer'. ` I have org-log-into-drawer set to t, and yet org-clock-into-drawer is nil. Thus all my new clock entries are now inserted outside of LOGBOOK drawers. This began to happen quite recently AFAICT. Thanks, Matt ___ 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] org-clock-into-drawer
Carsten Dominik wrote: On Oct 12, 2009, at 3:25 PM, Matt Lundin wrote: Hi Carsten, According to the docstring, the value of org-clock-into-drawer is derived from org-log-into-drawer. , | The default for this variable is the value of `org-log-into-drawer'. ` I have org-log-into-drawer set to t, and yet org-clock-into-drawer is nil. Thus all my new clock entries are now inserted outside of LOGBOOK drawers. This began to happen quite recently AFAICT. Hi Matt, how are you setting your variables? Something like this could happen if you first load org-clock, before having set org-log-into-drawer. THis can happen, for example, if you do org- clock-persistence-insinuate before setting the above variable, or before loading your custom-file. That was it. I had indeed been fiddling around with persistence variables, which were located before org-log-into-drawer. Sorry for the false alarm. Thanks, Matt ___ 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
Nicolas Aggelidis n.aggeli...@gmail.com writes: hi org-users! i 'am having the following problem. I have some activities that i organize like this: * University calendar ** Class 1 2009-10-12 Mon 15:00-2009-10-12 Mon 16:00 what i want to do, is have this time range repeat itself every week for 13 occurrences. You can use a diary sexp. See the following FAQ. It contains a solution for an example almost exactly like yours above: http://orgmode.org/worg/org-faq.php#diary-sexp-in-org-files Best, Matt ___ 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] Any way to include filetags in tags completion?
Hi everyone, I've searched the org-mode variables and can't seem to find a way to get filetags included in tags completion. In other words, when I press TAB to see the org-global-tags-completion-table while entering a tag or filtering for tags in the agenda, only tags associated with headlines are offered for completion. Is there a way to include filetags in the completion table? I ask because I frequently use filetags (such as finances and household) to filter the agenda and would prefer (lazy emacs user that I am) not to have to type the entire word. Thanks for your help. Matt ___ 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: Other modes in SRC
andrea andrea.crott...@gmail.com writes: Is it possible maybe automatically activate other modes inside a #+BEGIN_SRC block? I've seen there is CCC (or something like that) enables to have multi modes in the same buffer, but maybe there's also a quicker way inside org-mode... I'm not sure I understand the question, but you can include source code blocks in your org-file, which you can edit in a special buffer in the appropriate mode: http://orgmode.org/manual/Literal-examples.html - Matt ___ 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: Added support for habit tracking
John Wiegley jwieg...@gmail.com writes: Tracking habits isn't suited to a regular task manager, however. You can see that the task needs to be done in your agenda, but you don't know if it's a task that sorely needs attention because you've been neglecting it, or if you've really been on the ball and don't _have_ to do it today. Well, I've implemented the functionality of Sciral for Org. It works just as described on the Sciral webpage, complete with colorful graphs that appear to the right of the task name in the agenda buffer. The graph even follows the same coloring algorithm as Sciral. To test out this new feature, apply the attached patches and read the new manual section on Tracking your habits. Thanks for this addition to org mode! I had written a tutorial on tracking habits with org-mode on Worg: http://orgmode.org/worg/org-tutorials/tracking-habits.php I'll have to update that now. :) A few constructive comments: 1. The syntax for defining habits seems fairly complex. One must add a repeating scheduled timestamp, a repeating deadline timestamp and a property. I was wondering if there could be anyway to automate creating new habits---e.g., a dialog that asks for the appropriate time spans. (My own preference would be to use a new timestamp notation to indicate habits. I'm not sure what this would look like. Perhaps something like this: SCHEDULED: 2009-10-17 Sat !+2+2 --- where the first number is the repeating span and the second is the grace period. Of course, I have no idea whether this is possible.) 2. It is somewhat cumbersome to add two repeating timestamps to the same entry. If one sets up the first repeating timestamp, then one cannot add a second timestamp automatically. I.e., the following error message appears: Cannot change deadline on task with repeater, please do that by hand 3. The faces for the graph are difficult to read against dark backgrounds. (See attached image.) 4. I currently use the tag :HABIT: to track habits. This allows for easy filtering in the agenda. I'm wondering whether there might be an option to designate habits with a user-defined tag rather than the STYLE property. The advantage would be much faster agenda searches for habits. Thanks again! Matt attachment: habits-orgmode.png___ 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: Arrow keys in agenda view
Marco doma...@gmail.com writes: Sometimes I use the agenda view in org-mode, but with at least the new version when I try C-a a, then I am not able anymore to navigate to the next/previous day or week using the arrow keys, as it did in the previous versions. Is this a new feature I missed or a bug somewhere (not possible that this only hit me!) or again could it be related to my own configuration (no fancy stuff in my .emacs though)? These commands have changed to f (forward) and b (back) so as to free up the cursor keys for normal motion. You can find an up-to-date list of agenda commands here: http://orgmode.org/manual/Agenda-commands.html#Agenda-commands Best, Matt ___ 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: Added support for habit tracking
Hi John, John Wiegley jwieg...@gmail.com writes: Ok, the following changes today have been submitted for inclusion: - Habit appears in mode-line when Habits are being displayed - Habits no longer use a DEADLINE, but .+1d/3d, to indicate a range. Use .+1d if the min and max are the same. Thanks again for the excellent addition to org-mode. I have a couple of questions about the graph output. Let's say I have a habit that I would like to do every day, e.g., , | * TODO Shave | SCHEDULED: 2009-10-21 Wed .+1d | :LOGBOOK: | - State DONE from TODO [2009-10-19 Mon 14:06] | - State DONE from TODO [2009-10-18 Sun 14:06] | - State DONE from TODO [2009-10-17 Sat 14:06] | - State DONE from TODO [2009-10-15 Thu 14:06] | - State DONE from TODO [2009-10-11 Sun 14:06] | :END: | :PROPERTIES: | :STYLE:habit | :END: ` As you can see from the above example, I missed few days (10-12, 10-13, etc.). In the consistency graph, the first day the task was skipped (10-12) appears in green (org-habit-ready-face) on the graph. The second day (10-13), when the task was overdue, appears in yellow (org-habit-alert-face). If I am reading the manual correctly, I would expect this second day to be red, since the task is overdue on the day. (See the attachment graph-1.png). I believe I've found another issue with the graphs. If a task is completed twice on the same day, it prevents all subsequent days from appearing on the consistency graph. Here's the example: , | * TODO Shave | SCHEDULED: 2009-10-21 Wed .+1d | :LOGBOOK: | - State DONE from TODO [2009-10-19 Mon 14:06] | - State DONE from TODO [2009-10-17 Sat 14:06] | - State DONE from TODO [2009-10-15 Thu 14:06] | - State DONE from TODO [2009-10-11 Sun 14:06] | - State DONE from TODO [2009-10-10 Sat 14:06] | - State DONE from TODO [2009-10-10 Sat 12:00] | :END: | :PROPERTIES: | :STYLE:habit | :LAST_REPEAT: [2009-10-21 Wed 14:06] | :END: ` See the second attached screenshot (graph-2.png) for the output. Thanks, Matt attachment: graph-1.pngattachment: graph-2.png___ 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: [off-topic/GTD]Only Next Actions list to rule them all ?
Marcelo de Moraes Serpa celose...@gmail.com writes: On the other hand, most of this could be achieved by using the agenda view and other org filtering features, and still keep a list of projects, sub-projects and next-actions, all in one, like: (Always ordered by priority) * Projects and Next Actions ** A project/outcome :PROJECT: *** TODO Do something :HOME: *** A subproject :PROJECT: TODO Do something! :HOME: *** TODO Do something else :OFFICE: Then, in the agenda, I can filter by HOME / OFFICE or TODO and would have a flat list of actions too. More configuration, but more you get, when you view the Projects and Next Actions list, the information of to which project this next action belongs, which might not be that important, as I'm interested on doing, not reviewing the landscape all the time, but could be useful sometimes (when the action is not specific enough you can't tell the related outcome). What do you guys think? Are you looking for us to convince you to organize your files by project? :) IMO, how the user chooses to organize his/her files is a moot point, since the magic of org-mode lies in the agenda. My agenda files consist of several thematic files (currently 21), each containing a variety of notes, projects, todos, etc. In the end, the organization of these files doesn't matter, since org-mode's agenda commands do a fantastic job of presenting me with clean lists of all my todos, while org-refile allows me easily to move items to different files and or subheadings. I prefer this method because it allows me to jump to rich contextual information from the agenda. For me, keeping next actions and projects separate within the org files would eliminate a major strength of org-mode and reduplicate what the agenda already does. But to each his/her own! :) - Matt ___ 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: Feature Request? #+CONFIG keyword - to abstract more configuration into org files,
Bernt Hansen be...@norang.ca writes: Tim O'Callaghan tim.ocallag...@gmail.com writes: Expand the #+KEYWORD in-org file configuration possibilities with a #+CONFIG or similar keyword. The idea being to abstract more configuration into actual org files, and let extensions have an easy way to use #+KEYWORD configuration. I expect it could also be used to auto-load suitably registered extensions/contributions. So for example, my org-action-verb extension might use a line like: #+CONFIG org-action-verb TODO|NEXT Address Ask Buy Change Clarify Where there is handler function CONFIG:org-action-verb, that is defined as auto-loadable and called with the rest of the line to configure the extension. I guess this mechanism could also be extended to abstract more core-org configuration - such as agenda keys, stuck projects, or whatever. what do people think? Can you use the #+BIND: keyword to set arbitrary variables and achieve the same result? If I understand it correctly, #+BIND only works for export related variables. For local options that are not part of the default in-buffer syntax, I use Local Variables. E.g., , | * COMMENT Local Variables | # Local Variables: | # org-footnote-section: References | # End: ` Best, Matt ___ 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: How to Strip TODO headword and refile as a note
Alan E. Davis lngn...@gmail.com writes: I had a TODO item to go to the bank. At the bank I had some issues to discuss with a representative. Now I'm home, I am going over my agenda todo listing, and see this item, with a priority of A. I stumbled momentarily, realizing I not only want to archive this, get it out of my agenda and todo file, I also want to file a note about the issues, and what I learned about them. I can archive the TODO, and then file a todo, or refile the todo ... hope people understand what I'm asking. It's trivial, a simple elisp function to strip TODO and maybe tags. I'm quite not sure I understand what you're asking, but wouldn't it be simplest to mark the item as DONE? Inactive todos do not appear in the agenda. Then you could either add a note to the item with C-c C-z or simply jump to the location of the complete item and add a new sibling with notes and/or a new TODO. But perhaps you're trying to accomplish something different... Best, Matt ___ 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: FAQ incorrect
W.Bentley MacLeod bentley.macl...@columbia.edu writes: FAQ on how to include all org files in a directory is incorrect (view 85). Correct code is: (setq org-agenda-files (file-expand-wildcards ~/org-files/*.org)) Thanks. Yes, that is one way to add all files in directory. But the method suggested by the FAQ is also correct. According to the docstring for the variable org-agenda-files: , | If an entry is a directory, all files in that directory that are matched by | `org-agenda-file-regexp' will be part of the file list. ` I'll update the FAQ to indicate that there are multiple ways of accomplishing the same thing. I also saw a typo in the fake path in the example, which I'll be sure to change. Best, Matt ___ 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: FAQ incorrect
Nick Dokos nicholas.do...@hp.com writes: Carsten Dominik carsten.domi...@gmail.com wrote: (setq org-agenda-files ~/my/special/path/org/) Does that really work? I believe it should be (setq org-agenda-files '(~/my/special/path/org/)) i.e. each member of this list can be a file or a directory. If it is a directory, the org files in it will be used. Yes, I was mistaken: it's got to be a list. My mistake as well. I updated the FAQ accordingly. - Matt ___ 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: Proposed key binding changes: archiving and attachments
Hi Carsten, Carsten Dominik carsten.domi...@gmail.com writes: Hi everyone, I would like to change some key bindings related to archiving, and this change will also affect the access key for attachments. The main reason is that I think there should be a single default key for archiving, and that the user sets a variable to decide what the default archiving method should be. I would like this key to be `C-c C-a' which is why the org-attach key would have to move as well. Here is my proposal: In Org-mode files - C-c C-a archive default (setq by org-archive-default-command) C-c C-x C-s org-archive-subtree (C-c $ remains valid as well) C-c C-x aorg-toggle-archive-tag C-c C-x Aorg-archive-to-archive-sibling C-c C-x C-a attach Since I've taken to using attachments quite a bit, I would most likely restore the current keybindings in my own settings. My chief concern with mapping archiving to C-c C-a is that it is too close to the conventional keybinding for org-agenda (C-c a). With the proposed keybindings, I fear it might be too easy to introduce drastic changes in a file accidentally. (E.g., I sometimes hit C-c C-a when I intend to hit C-c a and vice versa.) In the agenda - aarchive with org-archive-default-command C-c C-a same as a C-c C-x aorg-toggle-archive-tag C-c C-x Aorg-archive-to-archive-sibling C-c C-x C-s org-archive-subtree ($ remains valid as well) Again, I would prefer that C-c C-a remain bound to org-attach. I currently unbind a (org-toggle-archive-tag) in the agenda. In the past, items often mysteriously disappeared from my agenda view. I discovered the cause: I was occasionally hitting a by accident. I agree with Peter that commands with relatively destructive consequences (such as archiving) should not be bound to a single key. One wouldn't want to miss an appointment because one accidentally hits a in the agenda. :) Thanks for giving us the chance to provide feedback on these proposed changes. - Matt I am wondering how much resistance such a change would create. Comments? - 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: exclude certain types from agenda
Richard Riley rileyrg...@gmail.com writes: Is it possible to exclude certain tags from the normal agenda? (org-agenda a). I have vocab org items to learn (tagged VOCAB) but only want to see them from a specially selected agenda tags v view : not from the normal agenda. Two options: 1) (setq org-agenda-filter-preset '(-VOCAB)) 2) (setq org-agenda-skip-function '(org-agenda-skip-entry-if 'regexp :VOCAB:)) Either of these should work. Note: they will apply to all of your agenda views. I.e., you'll have to adjust the local setting of the variable appropriately in your custom agenda commands if you want to see :VOCAB: items in a particular view. Best, Matt ___ 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: Proposed key binding changes: archiving and attachments
Carsten Dominik carsten.domi...@gmail.com writes: OK, here is what I have now settled for, effective immediately: The following keys now do archiving C-c C-x C-aarchive using the command specified in `org-archive-default-command' This variable is by default set to `org-archive-subtree', which means arching to the archive file. The three specific archiving commands are available through C-c C-x C-sarchive to archive file C-c C-x a toggle the archive tag C-c C-x A move to archive sibling These bindings work the same in an Org file, and in the agenda. In addition: - In the agenda you can also use `a' to call the default archiving command, but you need to confirm the command with `y' so that this cannot easily happen by accident. - For backward compatibility, `C-c $' in an org-mode file, and `$' in the agenda buffer continue to archive to archive file. Can we agree on this? - Carsten This looks good to me. - Matt ___ 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: Cannot clone Worg
Tassilo Horn tass...@member.fsf.org writes: Hi all, I'd like to create a people page on Worg, but unfortunately, I cannot clone it. I already have a user at repo.or.cz. Here's the error message: % git clone git+ssh://t...@repo.or.cz/srv/git/Worg.git Initialized empty Git repository in /home/horn/repos/Worg/.git/ remote: fatal: exec pack-objects failed. error: git-upload-pack: git-pack-objects died with error. fatal: git-upload-pack: aborting due to possible repository corruption on the remote side. remote: aborting due to possible repository corruption on the remote side. fatal: early EOF fatal: index-pack failed I'm getting the same error message when I try to pull recent changes from Worg. - Matt ___ 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: Feature request about habit tracking
Hi Friedrich, Friedrich Delgado Friedrichs frie...@nomaden.org writes: Hi Carsten Dominik schrieb: from what I see, John has built the habit tracking into the routine that looks for scheduling entries. So it would be a significant change to do this for normal time stamps. A solution for you could be to just use the scheduling stuff anyway, and then use a filter function to make sure these entries do not show up in the iCalendar export (untested): ---Zitatende--- To schedule those items is a significant semantic difference for me, which is reflected in a different face in the agenda, so just filtering them out of the icalendar export is not enough. Have you tried using habits? Even though their functionality depends on SCHEDULED timestamps, they look and behave quite differently than normal scheduled items. Granted, habits appear with the org-scheduled-today face. But they do not have the normal Scheduled: or Sched. 2x warnings. And they can easily be filtered out of the agenda by pressing K. Best, Matt ___ 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] org-refile refiles items to active clock
Hi all, I updated to the most current git version of org this morning and am finding that org-refile simply moves items to currently clocked-in item (at least when that item is in the current file) without offering a prompt for targets. I have not changed anything in my org setup since yesterday, when org-refile worked correctly. Here are my org-refile settings: --8---cut here---start-8--- (setq org-refile-targets '((org-agenda-files :maxlevel . 2) (nil :maxlevel . 2))) (setq org-goto-interface 'outline-path-completion) (setq org-refile-allow-creating-parent-nodes 'confirm) (setq org-outline-path-complete-in-steps t) (setq org-completion-use-ido nil) (setq org-refile-use-outline-path 'file) --8---cut here---end---8--- Thanks, Matt ___ 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: repetitive activity over a period of time, starting at the same time each day
Crni Gorac cgo...@gmail.com writes: On Fri, Nov 6, 2009 at 5:51 PM, Matt Lundin m...@imapmail.org wrote: Crni Gorac cgo...@gmail.com writes: How to specify a time interval for a TODO that will say span over two weeks, working days only, and that will start each day at 10am. I tried with timestamps available in org-mode, as well as with Emacs diary timestamps, but to no avail. Any suggestion? You could use a diary sexp: --8---cut here---start-8--- * 10:00am Every weekday for two weeks %%(and (memq (calendar-day-of-week date) '(1 2 3 4 5)) (diary-block 11 9 2009 11 20 2009)) --8---cut here---end---8--- - Matt Thanks Matt, this is almost there; however, if this is a TODO item, and if I mark it done, than it's marked done once and for all, and not only for given day, like org-mode timestamps with repeater interval. Any further suggestions here? Ah. I see. I don't think there's any way make an item with a diary sexp behave like a recurring timestamp. I think the best solution here would be to create multiple items w/ todos, as Stephan suggested in his post. Maybe I'm wrong, but it seems very strange to me that a need for alike timestamps was not recognized in org-mode - for example, how would one build a TODO item for something like a class spanning say over two months and with class hours say Mon and Wed between 10am and 11am? I imagine one way to do this would be to create two items with repeating timestamps: --8---cut here---start-8--- * TODO 10:00am Class SCHEDULED: 2009-11-09 Mon +1w * TODO 10:00am Class SCHEDULED: 2009-11-11 Wed +1w --8---cut here---end---8--- Also, is this placing time at the start of item, and having it recognized when agenda view built some kind of special syntax? I wasn't able to find it mentioned in org-mode documentation... I'm sorry to say that I'm not sure where it's documented. But org-mode does scan the headline for time of day information. Best, Matt ___ 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: Monthly events based on count of specific weekdays
Ben Finney ben+em...@benfinney.id.au writes: Howdy all, How can I set an event in Org mode that repeats every month, on a specific weekday, on a week counted from the start of the month? For example: * every month on the first Tuesday of the month. * every month on the third Sunday of the month. * every first and third Wednesday of the month. Taking “first Tuesday of the month”, if I set it this month on 2009-11-15 Sun, it should next repeat on 2009-12-20 Sun and so on each month. These do not do what I want: * 2009-11-15 Sun +1m * 2009-11-08 Sun ++1m * 2009-11-08 Sun .+1m Each of these next repeats on 2009-12-15 Tue, the wrong date. How can I specify a repeating event to Org mode that achieves what I described above? From the org manual: ,[8.1. Timestamps, deadlines, and scheduling] | DIARY-STYLE SEXP ENTRIES | For more complex date specifications, Org mode supports using the | special sexp diary entries implemented in the Emacs calendar/diary | package. For example | | * The nerd meeting on every 2nd Thursday of the month | %%(diary-float t 4 2) ` Here's how to schedule the examples above: * First Tuesday of month %%(diary-float t 2 1) * Third Sunday of month %%(diary-float t 0 3) * First or third Wednesday of month %%(or (diary-float t 3 1) (diary-float t 3 3)) Best, Matt ___ 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: Best way to implement Keywords feature
Paul Mead paul.d.m...@googlemail.com writes: Giovanni Ridolfi giovanni.rido...@yahoo.it writes: What about properties? * computer * apple :PROPERTIES: :Keyword: Power PC :END: * garden * apple :PROPERTIES: :Keyword: Golden Delicious :END: However you can already search for keywords in Agenda, please, refer the section of the manual: Keyword search Giovanni I can't find anything in the manual which does anything other than search for TODO keywords, and this functionality would be pretty useful to me - can you point to the section number? http://orgmode.org/manual/Matching-tags-and-properties.html - Matt ___ 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: Monthly events based on count of specific weekdays
Ben Finney ben+em...@benfinney.id.au writes: Matt Lundin m...@imapmail.org writes: Ben Finney ben+em...@benfinney.id.au writes: How can I set an event in Org mode that repeats every month, on a specific weekday, on a week counted from the start of the month? […] Taking “first Tuesday of the month”, if I set it this month on 2009-11-15 Sun, it should next repeat on 2009-12-20 Sun and so on each month. From the org manual: ,[8.1. Timestamps, deadlines, and scheduling] | DIARY-STYLE SEXP ENTRIES | For more complex date specifications, Org mode supports using the | special sexp diary entries implemented in the Emacs calendar/diary | package. For example | | * The nerd meeting on every 2nd Thursday of the month | %%(diary-float t 4 2) ` Ah. Where can I find documentation on “the special sexp diary entries implemented in the Emacs calendar/diary package”? http://www.gnu.org/software/emacs/manual/html_node/emacs/Sexp-Diary-Entries.html You can also type C-h i inside emacs and navigate to Calendar/Diary. Here's how to schedule the examples above: * First Tuesday of month %%(diary-float t 2 1) * Third Sunday of month %%(diary-float t 0 3) * First or third Wednesday of month %%(or (diary-float t 3 1) (diary-float t 3 3)) Hmm. That makes the entry unreadable as a date+time. One of the main advantages of the usual Org date+time specifications is they're perfectly readable even to people who know nothing about Org, Emacs, or Lisp. Well, yes. But not for every possible niche usage. Org-mode provides human readable syntax for the majority of scenarios, but allows power users to harness the capabilities of emacs and elisp for the rest. Is there a way to get a readable format that still behaves as I described? Not that I know of. But since this is org-mode, you could add a note under the diary sexp explaining what it represents. You'd have to ask Carsten to implement a new timestamp syntax. What would you propose as a more readable designation? - Matt ___ 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: contact management in org-mode?
Ben Finney ben+em...@benfinney.id.au writes: Russell Adams rlad...@adamsinfoserv.com writes: Given the discussion about a simple database [for storing contacts], it struck me that I might just use properties and column mode. Dynamic fields and views, hotlinks, VC, text file... Thank you, Russell, for the BBDB rant (which I quite agree with) and for giving your current solution based on Org items with properties. I'm dipping my toes into Org and, for contact data, BBDB seemed the natural way to go; I'm glad I looked around to find alternatives before dumping too much data into BBDB. Everyone's responses in this thread have saved me a *lot* of time and effort. I'd agree with Russell's conclusion that if one does not use an emacs mail client, then there is not much point to using BBDB. But if one uses Gnus or the like, the integration BBDB offers (e.g., automated addition of new addresses, auto-notes, TAB completion for addresses, etc.) is still difficult to surpass. Until someone codes some nice integration between an org-mode address database and emacs mail clients, switching to an org database would require one to forgo all the nice automation that BBDB offers. (Do you really want to enter all new email addresses manually in an org file?) I've found BBDB to be incredibly convenient. But I use Gnus for email. If I were using Gmail or Thunderbird or Mutt, I wouldn't use BBDB at all. Just a few thoughts... - Matt ___ 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] org-agenda-diary-entry without date tree
Hi Carsten, The new org-agenda-diary-entry looks quite convenient. Would it be possible to add an option to bypass the date tree so as to add each new appointment as a simple first level heading? I prefer to keep my appointments organized by project and/or category and have no real use for the date tree. Ideally, new appointments would appear as first level headlines in the org-agenda-diary-file (i.e., my inbox), ready to be refiled. Thanks, Matt ___ 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] org-indent-mode and visual-line-mode
Are these two incompatible, or is there something wrong with my setup? Using org-mode 6.33c and a recent emacs snapshot (20090909), turning org-indent-mode on stops visual-line-mode from indenting properly. As soon as I turn org's intentation off, vusial-line-mode starts working normally again. I would *love* to have both of htese working properly -- is there anything I can do? Thanks very much, Matt -- Matt Price matt.pr...@utoronto.ca signature.asc Description: This is a digitally signed message part ___ 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] org-indent-mode and visual-line-mode
On Thu, 2009-11-19 at 14:17 +0100, Carsten Dominik wrote: On Nov 18, 2009, at 9:07 PM, Matt Price wrote: Are these two incompatible, or is there something wrong with my setup? Using org-mode 6.33c and a recent emacs snapshot (20090909), turning org-indent-mode on stops visual-line-mode from indenting properly. As soon as I turn org's intentation off, vusial-line-mode starts working normally again. I would *love* to have both of htese working properly -- is there anything I can do? I am not sure what you mean by visual-mode indents properly. I am not using visual-line mode. So you you describe better what visual line mode does and what features of it exactly disappear when you turn on org-mode? sorry carsten. also I think I should have said wraps rather than indents. Visual-line-mode is a replacement for longlines-mode; it soft-wraps text at the screen boundary, and does a much better job than longlines-mode did. When I'm writing anything that's not code I rely on it entirely. But I also *love* the new indent mode in org -- it's much easier for me to see hierarchical relationships than it was in earlier versions (thanks _very_ much for the new feature). So I'd like to use them together; but when org-indent-mode is turned on, visual-line-mode no longer soft-wraps at all. you can try it out with M-x visual-line-mode, and the manual description is here: http://www.gnu.org/software/emacs/manual/html_node/emacs/Visual-Line-Mode.html Is that what you needed? I'm not sure where the code for visual-line-mode lives -- there isn't a visual-line.el anywhere that i can find on my system. Thanks much, matt - Carsten Thanks very much, Matt -- Matt Price matt.pr...@utoronto.ca ___ 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 - Carsten -- Matt Price matt.pr...@utoronto.ca signature.asc Description: This is a digitally signed message part ___ 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] PROJ category from the org-mode front page?
Hi everyone, I've just been looking at this picture from the org-mode home page: http://orgmode.org/img/tasks.png I like the line : * PROJ Organize the interstellar dust meeting Is PROJ a custom TODO 'type' keyword? I have to say I quite like it... but would it be possible to have combine types with more complex (non-DONE) states, so that e.g. the heading displays: * PROJ INPROGRESS Organize the interstellar dust meeting or * PROJ DONE Organize the interstellar dust meeting ? Just wondering. Thanks, Matt -- Matt Price matt.pr...@utoronto.ca signature.asc Description: This is a digitally signed message part ___ 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: org-indent-mode and visual-line-mode
On Fri, 2009-11-20 at 08:28 +0100, Carsten Dominik wrote: Hi Matt, personally, I never use visual-line-mode, mainly because cursor motion becomes unpredictable to me (down doe not get me into the next line, so for example keyboard macros are much harder to make to consistently). That said, I would expect that what you are describing should work, and my memory is also that it used to work - after all, I implemented not only line-prefix, but also wrap-prefix in org-indent-mode. I am quite sure that this used to work. I am not sure how to proceed. Someone would have to bisect Emacs to find which commit changed this behavior. Or maybe at lease someone can try with a vanilla 23.1 Emacs? If it works there, we might have enough to file a bug report. I just tried it on the ubuntu karmic emacs23 packages. I get the same behaviour i was seeing before. In case my description is misleading, i just made a couple of screenshots and posted them here: http://www.derailleur.org/screenshots/ one shows some quick text when indent-mode is enabled, the other shows it with indent-mode disabled. anyway if you have any ideas how i might help that'd be great -- bisecting the code is probably beyond what i can easily do but i could try to dig around a bit somehow. thanks - i appreciate how much effort you put into this carsten! - matt -- Matt Price matt.pr...@utoronto.ca signature.asc Description: This is a digitally signed message part ___ 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: org-indent-mode and visual-line-mode
On Fri, 2009-11-20 at 14:54 +0100, Carsten Dominik wrote: + (aset org-indent-strings 0 nil) + (aset org-indent-stars 0 nil) That did it! I was in the middle of writing an apologetic email explaining that it hadn't worked in either snapshot or 23.1, but then remembered I had to run 'make' to get the changes to apply. glad I caught myself in time! This is so great for me, Carsten, I'm so grateful! thanks so much, matt -- Matt Price matt.pr...@utoronto.ca signature.asc Description: This is a digitally signed message part ___ 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: latex export and beamer columns
Eric S Fraga ucec...@ucl.ac.uk writes: At Sat, 21 Nov 2009 14:34:18 +0100, Carsten Dominik wrote: Anything missing in Org that we should implement to support this better? Actually, going through the set of lectures I am currently preparing, I am finding that there is one thing missing that I haven't needed before in latex export: the ability to centre a figure without having to use a float environment. Back in September, early October, there was a thread about image placement in latex export: http://article.gmane.org/gmane.emacs.orgmode/18174/ There was a number of use cases discussed: inline placement versus float placement. There is one use case missing, one that is particularly useful for presentations, although not often necessary for articles say, namely a figure centred on a line without a caption and without floating. This seemed to be present at some point in the past but has disappeared, unless I have misunderstood the state of play... Basically, I would like to do something like: , | In a double pipe heat exchanger, | | [[file:images/double-pipe-heat-exchanger.png]] | | the heat transfer etc. ad nauseum... ` and have that figure centred on the line instead of left aligned as it would currently appear. If I add a #+label: the image does appear centred but as this is done by using a latex figure environment, a Figure: caption (empty) is added which isn't particularly useful in this case! There *is* a solution, but it's a bit messy, e.g.: , | | \hfill | #+attr_latex: width=0.6\textwidth | [[file:images/double-pipe-heat-exchanger.png]] | \hspace*{\fill} \\ | ` By the way, an \hfill at the end is not sufficient to centre the image. I have no solution to propose for incorporating something like this into org-mode other than possibly making use of a placement=centre (oops, center if you prefer american spelling) option on attr_latex which would put the includegraphics within a \centerline or \centering environment. I've only used Beamer a few times, but I use the center environment to center images. Could you perhaps use the following? , | In a double pipe heat exchanger, | | #+begin_center | [[file:images/double-pipe-heat-exchanger.png]] | #+end_center | | the heat transfer etc. ad nauseum... ` 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] Wrapped links with long descriptions
My apologies if an answer to this question is lurking somewhere on the mailing list. (I couldn't find one.) Links that wrap across multiple lines result in a No link found message when using org-open-at-point. E.g.,... --8---cut here---start-8--- [[http://www.google.com/][Google]] --8---cut here---end---8--- works, but the following link (on which I invoked fill-paragraph in org-mode) does not: --8---cut here---start-8--- [[http://www.google.com/][The famous search engine that many people turn to when then need to find something on the internet.]] --8---cut here---end---8--- Thanks in advance for your help. - 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] Re: Agenda: Column View and Filtering
Memnon Anon gegendosenflei...@googlemail.com writes: Hi! I am still working on making orgmode a more usefull tool for me :), how do you guys handle this problem: I schedule and reschedule tasks pretty often. (Thats why I, too, think a history of scheduling would be a nice addition to have.). Whenever a task comes up, I schedule it for some day in the future and handle it when it appears in my agenda. However, I try to keep a balance of several aspects in my life, mainly - duties like vacuum the flat - studium everything related to work at university - fun like reading a book, watching a dvd etc. and - sports: get in shape ;) Okay, as I frequently schedule and reschedule, I work from my agenda to keep these aspects of my life in a certain balance I predefined: studium: at least 6 hours a day, fun (I really need to make some place for it) at least 1 hour a day etc. So, as I added Efforts and Tags to each item, it would be very convenient to keep scheduling, then filter the agenda for certain aspects to get a feeling, if I keep my personal balance up on this specific day. However, using ColumnView on a filtered agenda, say show me only my 'duties', does not summarize the filtered agenda items, but everything, id est even everything that is hidden. I understand this is due to how filtering and columnview works, but Has anyone an idea/workflow how I can work on this? I tried to lock myself up into fixed times, repeating items etc. but I am not that kind of person: A new day, I want to know whats up, but I also want to stay free enough to shape things according to my (day) taste. I rather do a daily (each morning) and a weekly review and reschedule accordingly. I am a student, so I (still) have the possibility to do so; and I would like to keep it that way, but nevertheless want to have an eye on the general tendency, the balance of the several aspects I want to keep. I hope this is clear enough, Thanks for any suggestions! Hi Memnon, Yes, column view does not update its summaries based on filtering. But perhaps you could create a custom agenda block that shows separate agendas for each tag (duties, studium, etc.). E.g., --8---cut here---start-8--- (setq org-agenda-custom-commands '((b Balance ((agenda ((org-agenda-skip-function '(org-agenda-skip-entry-if 'notregexp :duties: (agenda ((org-agenda-skip-function '(org-agenda-skip-entry-if 'notregexp :studium:) ;; add more agenda views here ((org-agenda-view-columns-initially t) --8---cut here---end---8--- 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] Column summaries no longer displayed in agenda
I recently attempted to view summaries of effort estimates in the agenda. When I invoke column view with C-c C-x C-c, however, there is no summary of the effort estimates or CLOCKSUM. Summaries do appear within an org file. Here are the relevant settings: --8---cut here---start-8--- (setq org-global-properties '((Effort_ALL . 0:05 0:10 0:15 0:30 0:45 1:00 1:30 2:00 3:00 4:00 5:00 6:00 7:00 8:00))) (setq org-columns-default-format %40ITEM(Task) %8Effort(Estimate){:} %8CLOCKSUM %20SCHEDULED %20DEADLINE) --8---cut here---end---8--- And here is a sample file to illustrate the problem: --8---cut here---start-8--- * Testing ** STARTED One item:NEXT: SCHEDULED: 2009-11-23 Mon :LOGBOOK: CLOCK: [2009-11-23 Mon 06:55]--[2009-11-23 Mon 07:03] = 0:08 :END: :PROPERTIES: :Effort: 2:00 :END: ** TODO Another item SCHEDULED: 2009-11-23 Mon :PROPERTIES: :Effort: 1:00 :END: --8---cut here---end---8--- 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
[Orgmode] Re: Bug with time summary in column view?
Hi James, James TD Smith ahktenz...@mohorovi.cc writes: Hi Norbert, On 2009-11-24 16:56:27(-0400), Norbert Zeh wrote: I just tried the latest org-mode version 6.33f, and I've run into the following problem that is not there with version 6.32b but which I can also reproduce with version 6.33c (sorry didn't try any other versions). I've just tried this with the latest org-mode from git and it seems to be working fine. There have been no changes to column view since 6.33f was tagged. I'm experiencing the same problem the OP reports (i.e., no effort or clocksum summaries) when viewing columns in the agenda. I reported this in an earlier email: http://article.gmane.org/gmane.emacs.orgmode/19937 I'm using the most recent git version with: GNU Emacs 23.1.1 (i386-apple-darwin9.2.1, NS apple-appkit-949.27) It also occurs on my Linux box. The behavior was introduced with the following commit: --8---cut here---start-8--- commit b81fae4c3fa39a15bda5e58016fe9dec28e38c18 Author: James TD Smith ahktenz...@mohorovi.cc Date: Tue Nov 10 02:42:17 2009 + More bugfixes for agenda column view Make org-agenda-columns-summarize work properly with the new summary types. It was assuming the values should be summarised by adding them together. It' now updated to use the summary functions in org-columns-compile-map, and als handles summary types with calculated values properly. Leave calculated columns blank if there is no underlying value. Don't return zero if a property is missing. Changes are also applied to xemacs colview. --8---cut here---end---8--- - 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] Re: How lecturers/professors manage weekly classes appts on org?
Daniel Martins daniel...@gmail.com writes: The question of time ranged notes on the agenda is quite important How lecturers/professors manage weekly classes appts on org? How to put some classes on a certain periods? How to skip holidays as eg remind package do? http://orgmode.org/worg/org-faq.php#diary-sexp-in-org-files 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] Boolean word/regexp search problem
The word/regexp agenda search to work with more than one word or regexp unless the first word or regexp is also preceded by a + or -. Take the following example. --8---cut here---start-8--- * Org-mode Org mode is a major mode for Emacs written by Carsten Dominik. --8---cut here---end---8--- Let's say I search for Emacs with C-a s [RET] Emacs. So far, so good: this item appears in the results. But let's say I want to narrow down the search. When I press [ to add a search term, I see the following prompt in the minibuffer: [+-]Word/{Regexp} ...: Emacs + If I complete the prompt as given (Emacs +Carsten), there are no results. The search only succeeds if I add a + in front of Emacs as well, i.e., +Emacs +Carsten. The same behavior occurs with exclusion (-) and with the regexp search (i.e., brackets). Two questions: 1) Do boolean word/regexp searches require a + or - symbol before the first word/regexp? If so, this is a bit confusing, since tag and property searches do not require an initial symbol. (E.g., emacs+orgmode works as a tag search.) 2) If boolean word/regexp do require an initial + or -, could the prompt after pressing [ or ] or { or } in the search results buffer be amended to add a plus in front of the first search term? Here is the relevant portion of the manual: ,[10.5 Commands in the agenda buffer] | `[ ] { }' | | in search view | add new search words (`[' and `]') or new regular expressions | (`{' and `}') to the query string. The opening bracket/brace | will add a positive search term prefixed by `+', indicating | that this search term must occur/match in the entry. The | closing bracket/brace will add a negative search term which | must not occur/match in the entry for it to be selected. ` 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
[Orgmode] Re: Boolean word/regexp search problem
Hi Carsten, Matthew Lundin m...@imapmail.org writes: Matt Lundin m...@imapmail.org writes: The word/regexp agenda search to work with more than one word or regexp unless the first word or regexp is also preceded by a + or -. I've investigated this further and beg your permission to offer a few comments/suggestions. First, I apologize for missing the change in behavior in the org-search-view introduced in Org 6.32. Reading the ChangeLog, I now see the following information: , | Agenda Search view: Search for substrings | | The default in search view (C-c a s) is now that the search expression | is searched for as a substring, i.e. the different words must occur in | direct sequence, and it may be only part of a word. If you want to | look for a number of separate keywords with Boolean logic, all words | must be preceded by + or -. | | This was, more-or-less, requested by John Wiegley. ` In particular, I see that all words must be preceded by + or - for a boolean search. I've also read the manual section 10.3.5 as well as the docstring for org-search-view and appreciate that this new behavior can be turned off with the variable org-agenda-search-view-search-words-only. A few comments: 1) I'm wondering whether the substring search should be the default. I search quite often for two or three words or regexps that I know are in an entry (regardless of order), while I rarely search for a specific phrase or sequence of words. Of course, others might disagree. 2) Many web and database search engines use the following convention: a space between words becomes an automatic AND, while quotation marks indicate searches for a phrase/substring (i.e., words in sequence). Having missed the description of the new behavior in the ChangeLog, I found the new default substring search a bit counter-intuitive. My vote would be for sloppy boolean searches by default, with quotation marks reserved for substring searches. But of course, this is not a huge priority for org-mode development, and I have no idea how difficult it would be to implement! 3) The new substring search changes the behavior of regexp searches. A simple regexp search with brackets (e.g, {Carst}) no longer produces any results unless the brackets are preceded by a +. This is true even if one is searching only for a single regexp. In other words, regexp brackets now *must* always be preceded by a plus or a minus. Is this the intended behavior? 4) Pressing [ or ] or { or } in the agenda buffer adds a + or - after the first term in the minibuffer. E.g., --8---cut here---start-8--- [+-]Word/{Regexp} ...: Emacs + --8---cut here---end---8--- But if the user simply adds another term at the cursor (i.e., after the +), the search will fail, since Emacs now must also be preceded by a +. Thanks for reading this long email. - 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] Re: [OT] Emacs for email?
Keith Lancaster klancaster1...@acm.org writes: I apologize for the WAY off topic question, but since you folk are emacs expertsdo you use emacs for email, and if so, what do you use? Org-mode caused me to switch to emacs after programming for 30 years in other editors, and so like many emacs converts, I'm not wanting to exit the app :-). Gnus here, though I'm eager to follow the development of notmuch.el. For me, gnus is much more than a mail client. It is my everything and the kitchen sink reader: mail, nntp, web/rss. Thanks to Carsten and Tassilo's work, gnus integrates exceptionally well with org-mode - 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] [OT] Emacs for email?
On Tue, 2009-12-01 at 20:57 -0300, Darlan Cavalcante Moreira wrote: I use wanderlust for email (including this list) and it works really well with imap. I was somewhat hard to configure, but now that everything is working I don't feel like going back to my previous e-mail client (evolution). darlan, would you be willing to share your config for wl? i can't seem to make any headway with it at all. i'm just looking for a light emacs-based mail reader/imap client on my aging laptop, which is mostly an emacs machine now. GNUS can see my mail, but it's just so heavy for what i'm looking for, and also doesn't seem to want to honor the imap conventions in terms of hiding deleted messages, which is sort of essential for me as things stand. My main machine at home runs evolution, and for now, i'm not ready to to move away entirely -- I hate evolution, but i'm used to it, and don't want to break my work habits till i've figured something else out. Anyway thanks much in advance! matt - Darlan Cavalcante At Tue, 1 Dec 2009 15:34:24 -0600, Keith Lancaster klancaster1...@acm.org wrote: I apologize for the WAY off topic question, but since you folk are emacs expertsdo you use emacs for email, and if so, what do you use? Org-mode caused me to switch to emacs after programming for 30 years in other editors, and so like many emacs converts, I'm not wanting to exit the app :-). TIA, Keith Lancaster klancaster1...@acm.org ___ 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 -- Matt Price matt.pr...@utoronto.ca signature.asc Description: This is a digitally signed message part ___ 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: [OT] Emacs for email?
Eric S Fraga ucec...@ucl.ac.uk writes: At Wed, 02 Dec 2009 12:01:38 +0100, jema...@gnu.org wrote: I've moved to a 0 size mailbox approach to handling my email (which works well with org and, in fact, requires org to work at all really) so this is not an issue for me. That sounds like an interesting approach. Could you elaborate on that? Yes, I also have problems with my huge longstanding mailboxes :( The aim is to not have to go back to your inbox to see what you have to deal with -- that's what org-mode (or whatever) is for. Too much time is wasted trawling through huge inboxes looking for actions to respond to which means you're using an inbox as a todo list. This is not effective. As an aside, this is precisely why I like Gnus so much. By default, read messages are hidden -- so it makes it easy to get down to zero without having to refile, archive, or delete anything. Automatic archiving/expiry takes care of the problem of overly large mailboxes. - 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] Re: [OT] Emacs for email?
Ulf Stegemann ulf-n...@zeitform.de writes: Rémi Vanicat vani...@debian.org wrote: Russell Adams rlad...@adamsinfoserv.com writes: On Tue, Dec 01, 2009 at 08:56:08PM -0600, Russell Adams wrote: - Mutt automatically changes my email address depending on the recipient or folder according to a series of roles Not to reply to myself, but one item I've found lacking in other mailreaders and one of my primary reasons for using mutt is the concept of roles. I'm not sure what a role is, but with gnus, you can change you email address depending on the folder (group in gnus speak) or the topic (topic are a hierarchical organization of group). For this you use posting-style. There's also `gnus-alias'[1] which allows you to automagically select and easily switch identities. An `identity' covers nearly every aspect of a message like From-, Reply-To- and other headers, text to be pre-filled into the body and of course signatures. Having used quite a few mail-/news clients (well, ages ago, I must admit) I never came across a more powerful and flexible mechanism for using roles. I second the recommendation of gnus-alias. I have rules set up to set my email address automatically depending on the To or Cc line. And, as others have mentioned, there's the built-in gnus-posting-styles. I used wanderlust for a while and it has excellent role functionality built-in (via the variables wl-draft-config-alist and wl-template-alist). - 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] Worg currently not publishing
I pushed an update to the Worg repository last night and it has yet to appear on the website. I checked and the previous commit of Nov. 29 (f752fe0e49e), which created org-contrib/babel/org-babel-uses.org has yet to appear on the server: --8---cut here---start-8--- ls ~/worg/org-contrib/babel development.org library-of-babel.org org-babel-screen.org org-babel-uses.org org-babel.org org-babel.org.html requirements.org --8---cut here---end---8--- --8---cut here---start-8--- Index of /worg/org-contrib/babel NameLast modified Size Description --- Parent Directory - development.php 14-Nov-2009 20:32 253K library-of-babel.php16-Oct-2009 10:42 9.6K ltxpng/ 22-Sep-2009 09:31- org-babel-screen.php03-Oct-2009 13:31 16K org-babel.php 12-Nov-2009 06:31 57K requirements.php13-Sep-2009 10:31 37K --- --8---cut here---end---8--- - 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] Problems with org-docview
I notice that org-docview.el was added to the repo on November 28 or thereabouts. I'm experiencing a few problems with it. When calling the agenda for the first time after starting up org-mode, I get the following message: , | Problems while trying to load feature `org-docview' ` In addition, org-docview stores links to pdf files as absolute paths, regardless of the setting of org-link-file-path-type. E.g, with org-link-file-path-type set to relative, the resulting link remains an absolute path: , | [[docview:/home/matt/general.pdf::4][/home/matt/general.pdf]] ` 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] [OT] Emacs for email?
On Wed, 2009-12-02 at 22:04 +0100, David Maus wrote: At Wed, 02 Dec 2009 08:43:51 -0500, Matt Price wrote: [1 multipart/signed (7bit)] [1.1 text/plain; UTF-8 (quoted-printable)] On Tue, 2009-12-01 at 20:57 -0300, Darlan Cavalcante Moreira wrote: I use wanderlust for email (including this list) and it works really well with imap. I was somewhat hard to configure, but now that everything is working I don't feel like going back to my previous e-mail client (evolution). darlan, would you be willing to share your config for wl? i can't seem to make any headway with it at all. i'm just looking for a light emacs-based mail reader/imap client on my aging laptop, which is mostly an emacs machine now. GNUS can see my mail, but it's just so heavy for what i'm looking for, and also doesn't seem to want to honor the imap conventions in terms of hiding deleted messages, which is sort of essential for me as things stand. Just pushed my Wanderlust configuration to github: http://github.com/dmj/dotfiles/blob/master/.wl A simple configuration: I use a local imap server to access my mails and gmail to send. What helped me to get in touch with Wanderlust after an unsuccessful attempt was this blog posting: http://emacs-fu.blogspot.com/2009/06/e-mail-with-wanderlust.html - describing a setup with a local maildir storage. thanks david, and also to eric, who sent me his. With both your help I have wanderlust up and running, though still with some confusions (how do I hide read or deleted messages? why won't wl actually send any mail? etc.). I'm sure i'll be able to clear those up soon, though. Anyway, thanks. matt Regards, -- David -- Matt Price matt.pr...@utoronto.ca signature.asc Description: This is a digitally signed message part ___ 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: [OT] Emacs for email?
Henri-Paul Indiogine hindiog...@gmail.com writes: Otto Diesenbacher ok...@diesenbacher.net writes: Keith Lancaster klancaster1...@acm.org writes: I apologize for the WAY off topic question, but since you folk are emacs expertsdo you use emacs for email, and if so, what do you use? (http://www.mew.org current version is 6.3). I am wondering noone else mentioned it already. Mew can handle pop, imap and local mail very well, also can handle SSL via stunnel. This seems a very good email client. I see one issue though: it does not link to orgmode. From the orgmode manual we can read that only the following email clients do: VM, Wanderlust, MHE, Rmail, Gnus Otherwise, it looks exactly like what I am looking for. Though I haven't used it, there is an org-mew module in the repositories. Moreover, it is activated in the default setting of org-modules: , | org-modules is a variable defined in `org.el'. | Its value is | (org-bbdb org-bibtex org-docview org-gnus org-info org-jsinfo org-irc org-mew org-mhe org-rmail org-vm org-w3m org-wl) ` 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] Re: Agenda not working or am I misunderstanding how it works?
U Avalos amscopub-m...@yahoo.com writes: Someone suggested I use the variable org-agenda-skip-deadline-if-done. It works on standard org files using the default todo keywords -- if I give a TODO item a deadline and then set it to DONE, it doesn't show up in agenda. Yay! HOWEVER, if I use custom todo keywords per file, it stops working for that file. I'm using these keywords: #+SEQ_TODO: TODO WAITING | PUBLISHED REJECTED Todo items set to PUBLISHED and REJECTED still show up in the agenda. Any ideas? I cannot replicate this. With the above setting scheduled items marked PUBLISHED and REJECTED do not show up in the agenda. - 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] Problem with org-id-locations-file
Currently there is a minor problem with the org-id-locations-file. If one loads org-mode but does not follow a link to an ID in the course of the emacs session, org-id-locations-load is not run. As a result, the value of nil is saved to the org-id-locations-file upon quitting emacs, which defeats the purpose of the file and forces an org-id-update-id-locations the next time an ID link is followed. Right now I'm getting around the problem by running org-id-locations-load when org-mode is turned on. Would it be possible to make this behavior the default if org-id-track-globally is set? 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
[Orgmode] Re: org-mode, grep and folding issue
Doug Hellmann doug.hellm...@gmail.com writes: On Dec 5, 2009, at 10:22 AM, Good Bad wrote: My notes are scattered across various org files. So I use grep (usually M-x lgrep and M-x rgrep) to search my notes. When I click one of the grep results (in the *grep* buffer), it leads to where the match is, but often the corresponding line is hidden because it is inside a folded heading in an org file. In that case, I need to press S-tab (org-shifttab) to cycle through global visibility levels to start editing the line. Is there a way to not have to press S-tab? If all of the files are being added to your agenda, you can search with C-c a s regex and the agenda view will show your results. I'd also recommend the agenda's multi-occur search (C-c a /), which displays all matching lines in the agenda and reveals them properly when you press return. In short, use C-c a s when you want to see all headlines containing a word/regexp. Use C-c a / when you want to see the matching lines in the results. - 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] Re: Agenda not working or am I misunderstanding how it works?
Uriel Avalos amscopub-m...@yahoo.com writes: Thanks for replying. I tried that before as well... Restarted emacs and C-c C-c on the line. I think I figured out what's going on... it may be a bug! If I have this simple file: #+SEQ_TODO: TODO WAITING | PUBLISHED REJECTED * PUBLISHED test DEADLINE: 2009-12-05 Sat it works! (It doesn't show up in the agenda.) However, if I put the completed TODO item under a subheading, it stops working! The following simple file doesn't work: #+SEQ_TODO: TODO WAITING | PUBLISHED REJECTED * [2009-12-05 Sat] ** PUBLISHED test DEADLINE: 2009-12-05 Sat I can't replicate this. In neither case does the todo item appear in the agenda. The test TODO item shows up in the agenda. Is this a bug? I'm using Emacs 23.0.0.1 on Windows and whatever version of org-mode that came with it -- 5.03b That's a very old version of org-mode. Emacs 23 shipped with version 6.21b. Could you confirm your version of org-mode by typing M-x org-version. - 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] Re: access scattered notes centralized
Kestutis Matonis maton...@gmail.com writes: I would like to clear up one thing. Lets say i have notes in /home/documents/work/note.org, /home/documents/computers/note.org, and i would like that they would stay there, but also i would like to access all scattered notes from one place (that is, i wanna know what notes i have). Can i do this in emacs org-mode? How? http://orgmode.org/manual/Agenda-files.html#Agenda-files - 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] Re: Question about searches (ultimately for agenda)
Mueen Nawaz mu...@nawaz.org writes: In the docs (10.3.3 Matching tags and properties), I see ways to do tag searches that can also search TODO states. Can I also search TODO levels? For example, in one file covered by the agenda, I use the usual DONE to denote done. In another, which is focused on simply stuff that I have borrowed/lent, I have RETURNED as my DONE state. I occasionally apply tags to headings with the name of the person involved. So let's say that I've put :Jack: on some headings of items that have been lent and returned. But I also have :Jack: in my other .org files that are not about lending/borrowing. I want to search for all headlines that have :Jack: in them, but exclude anything that is a DONE state - so exclude both DONE and RETURNED. I know I can just do: Jack-TODO=DONE-TODO=RETURNED Provided DONE and RETURNED are inactive todos than the following should suffice: C-a M Jack [RET] AFAIK, C-a M returns only active TODOs that match the tag. Thus any inactive state will be excluded. (There may be a variable that controls this, but I'm not aware of it.) 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] Re: Question about searches (ultimately for agenda)
Mueen Nawaz mu...@nawaz.org writes: On 12/15/09 21:26, Matt Lundin wrote: Provided DONE and RETURNED are inactive todos than the following should suffice: C-a M Jack [RET] I think you meant C-c a M Jack [RET] Yes indeed. I'm still practicing typing out the notation for keybindings. I suppose that C-c a is such a quick maneuver that I instinctively shorten its notation. :) It actually does filter out inactive TODO's, but I actually wanted to do C-c a m Jack [RET]. I don't want to limit the search to headlines that have a TODO state. I just want to exclude those that have DONE (or anything equivalent to it). Ah yes. Now I see that this is indeed what you were requesting in the original post. I suppose I need to brush up on basic logic as well. :) There is a shortened tag search syntax for including or excluding TODO states: C-c a m [RET] Jack/-DONE-RETURNED You could assign this a shortcut in using org-agenda-custom-commands command to avoid having to type it repeatedly. I'm not aware if there is a shorter way to indicate *all* inactive todo states in such a search. 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] Re: Shift keys when you have multiple todo sets in one file
Mueen Nawaz mu...@nawaz.org writes: From the docs: S-left and S-right and walk through all keywords from all sets What I would /really/ like is for S-left and S-right to _stay_ within the same set, with me using C-S-left (or right) to _switch_ to another set. What I have (so far) on the top of the file is: #+TODO: TODO | DONE #+TODO: WAITING | DONE The reason I kept it as separate sets is that I anticipate WAITING to be infrequent compared to TODO. So I don't want to put TODO and WAITING in the same set. I think there's another (more standard) way of setting the TODO state (I forget the shortcut), but for me the S-Left/Right is really, really convenient. I understand that you prefer S-left/right. However, I believe cycling with C-c C-t will stay within the same set. (I proofread that keybinding couple of times.) :) As an aside, I've found that it's very fast to use the new speed commands to change todo states. If org-use-speed-commands is turned on, all one needs to do is hit t at the start of a headline. And incidentally, the S-Left/Right doesn't seem to do as advertised. It jumps from one set to the other only once (haven't tested with 3 sets). I believe the presence of duplicate DONEs above is interfering with the cycling from state to state. If I get rid of the second DONE or change it to a different state, the cycling from set to set works as expected, TODO -- DONE -- WAITING -- nil -- TODO. E.g. #+TODO: TODO | DONE #+TODO: WAITING 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] Re: change default pdf reader for link
Shawn Koons srko...@gmail.com writes: I am on a Ubuntu box. When I link to a pdf file on my computer, it opens in Xpdf. I would like pdf files to open in Document Viewer. How can I change the default viewer for pdf links from Xpdf to Document Viewer? Org uses system defaults for following hyperlinks. Thus, you should be able to change the default by adding the following line to your ~/.mailcap file: application/pdf; /usr/bin/evince %s If you'd prefer not to tinker with system-wide settings, you can specify evince just for org links by customizing the variable org-file-apps. Simply type M-x customize-variable [RET] org-file-apps [RET] 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] Re: Best way to use org-mode as a work log
Ethan Brown ethandbr...@gmail.com writes: I've been an emacs user since about 1990, but have just recently discovered org-mode. It seems as if it would be very well suited to use as my work log--I currently just use a regular text file. Would you mind explaining what you mean by a work log? Org-mode has built in logging and clocking features to track when you worked on something and how long you spent on it. Using the agenda, you can easily review all your work from any past date, week, etc. But perhaps you mean something more like a diary? Since a work log is based around daily entries, I'm wondering if anyone can recommend the best way to use org-mode for such a purpose. I perused the FAQs but didn't see anything. Org-mode apparently integrates with the emacs calendar/diary so there is probably a right way to do this. If there's a FM out there that deals with this I'm happy to RTFM. These sections of the manual should be of interest: - http://orgmode.org/manual/Progress-logging.html#Progress-logging - http://orgmode.org/manual/Agenda-commands.html#Agenda-commands (see the command vl or l - toggle logbook mode) - http://orgmode.org/manual/Clocking-work-time.html#Clocking-work-time I read the excellent tutorial at http://www.newartisans.com/2007/08/using-org-mode-as-a-day-planner.html about using org-mode as a day planner, but a work log is somewhat different, as it's a recount of the events and tasks worked on during the day. You might want to check out Bernt Hansen's nice walk-through, which deals extensively with clocking: http://doc.norang.ca/org-mode.html 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] Re: Shift keys when you have multiple todo sets in one file
Mueen Nawaz mu...@nawaz.org writes: On 12/19/09 06:06, Matt Lundin wrote: Mueen Nawazmu...@nawaz.org writes: As an aside, I've found that it's very fast to use the new speed commands to change todo states. If org-use-speed-commands is turned on, all one needs to do is hit t at the start of a headline. Hmm...I don't seem to have that command. Is this only in the trunk version? This feature was introduced in version 6.33: Which is what I'm using (6.33f). At least that's what org-version tells me. Have you set the variable org-use-speed-commands to t? - 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] Can no longer retrieve TIMESTAMP and TIMESTAMP_IA with org-entry-get
Hi Carsten, I believe that commit b8e0d6fdb41f2165d675e89fcb54b741c971f6f4 broke accessing timestamps with the org-entry-get. With that commit, several functions I use to check whether an entry has a timestamp stopped working. In other words, (org-entry-get nil TIMESTAMP_IA) or (org-entry-get nil TIMESTAMP) always return nil, even if a timestamp exists. Strangely, the org-entry-properties alist includes values for TIMESTAMP and TIMESTAMP_IA. I tested this by evaluating the expressions in the sample entry below: --8---cut here---start-8--- * TODO Test:computer: 2009-12-19 Sat [2009-12-19 Sat 17:47] (org-entry-get nil TIMESTAMP_IA) (org-entry-get nil TIMESTAMP) (org-entry-properties) --8---cut here---end---8--- 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
[Orgmode] Re: Organizing a students live
Daniel Martins daniel...@gmail.com writes: All academics here present (including of course Carsten) suffer from the same problem, I think *** Math classes 2009-12-10 Thu 11:00-14:00 +1w will repeat forever and ever... We need to create a schedule for a period. The package remind (and its simple interface wyrd) do this job wonderfully but I do not know how to deal with this problem in Org mode The following FAQ should help: http://orgmode.org/worg/org-faq.php#diary-sexp-in-org-files - 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] Re: Feature request: Prompt to remove deadline/scheduled dates
Paul Holcomb pholc...@cpoint.net writes: Its great that there is a log when the DEADLINE or SCHEDULED value changes for an entry. It would also be nice if you could remove the deadline or scheduled value using the same interface so it could be logged. For example, with scheduled I might decide to do a certain task next week, and schedule the task accordingly. Then, something changes and I'm now not going to do the task anytime soon. It shouldn't be scheduled and I don't want it to show up in the agenda anymore. It seems like adding an option to the date/time prompt to null out the value works, but is this the right approach? When you do this you end up with items with SCHEDULED: or DEADLINE: and no date after them. These items don't show in the agenda, but it seems a little ugly. I'm not entirely sure if this is what you are asking for, but you can remove SCHEDULED and DEADLINE metadata by adding a prefix argument to C-c C-s and C-c C-d. , | C-c C-s runs the command org-schedule, which is an interactive | compiled Lisp function in `org.el'. | | It is bound to C-c C-s, menu-bar Org Dates and Scheduling | Schedule Item. | | (org-schedule optional remove time) | | Insert the SCHEDULED: string with a timestamp to schedule a TODO item. | With argument remove, remove any scheduling date from the item. | When time is set, it should be an internal time specification, and the | scheduling will use the corresponding date. ` Perhaps you are looking for something different---e.g., log info about when an item was unscheduled? The phrase so it could be logged in the first paragraph of your message makes me suspect I may not understand your request. 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] Re: custom agenda view
Yuri Goncharov g...@hl.ru writes: I try to make custom agenda view with todo keyword STARTED and tag @HOME I wrote this code (setq org-agenda-custom-commands (quote ((w work tasks tags-todo +start...@work ((org-agenda-todo-ignore-with-date nil))) (h home tasks tags-todo +start...@home ((org-agenda-todo-ignore-with-date nil))) (n Notes tags NOTE nil but it's not work. Does the following work? Since STARTED is a todo state, it needs to be specified with a different syntax. (setq org-agenda-custom-commands (quote ((w work tasks tags-todo @WORK/!STARTED ((org-agenda-todo-ignore-with-date nil))) (h home tasks tags-todo @HOME/!STARTED ((org-agenda-todo-ignore-with-date nil))) (n Notes tags NOTE nil 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] Re: The quote tag in orgmode
Water Lin water...@ymail.com writes: I want to quote some text which I copy from others. What kind of tags I should use? I want the tag published as something like blockquote in html. http://orgmode.org/manual/Paragraphs.html#Paragraphs - 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] Re: Multiple column views for one file
Thomas Leitner t_leit...@gmx.at writes: I don't know if org-mode supports having multiple column views for one file currently but I did not find a way to do the following. What I have is a journal file in org-mode in which I record, for example, films I have seen, books I have read and kilometres I have run. All of these entries have properties based on their type, for example, films have the properties Genre, Year and Director. Now I would like to get a sparse tree for all entries tagged with `film` and use a special column view for the films. However, when I define the #+COLUMNS variable at the top, this procedure only works for films, and not for books or other entry types which have different properties. Therefore it would be nice to be able to define several column views and the possibility to switch between them. It is currently possible to disable column view by pressing `q` when the cursor is on a head line in column view. It should probably be no problem to add another hotkey like `s` for switching to a different column view. The different column views could be defined like this: #+COLUMNS: films %70ITEM(Details) %TAGS(Context) %Genre %Year %Director #+COLUMNS: books %70ITEM(Details) %TAGS(Context) %Author %Year %Pages It seems that org-mode currently ignores the column view names (films and books) so this would be backwards compatible. I'm still at the beginning of learning Elisp, so I'm not able to implement this myself and would like to know if others find this proposal useful and if it could be implemented? AFAIK, it is not possible to switch between multiple column overlays for the same subtree. One immediate solution, however, would be to keep all your film entries in a subtree and to define a local column view for the subtree. E.g., --8---cut here---start-8--- * Films :PROPERTIES: :COLUMNS: %70ITEM(Details) %TAGS(Context) %Genre %Year %Director :END: ** Citizen Kane --8---cut here---end---8--- The same method could be used for books, running, etc. Another 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] Re: Error in FAQ
Joe Snikeris j...@snikeris.com writes: There is an error in the FAQ found here: http://orgmode.org/worg/org-faq.php#visual-line-mode The line: (define-key org-mode-map \C-a 'move-end-of-line))) should read: (define-key org-mode-map \C-e 'move-end-of-line))) I just fixed this. 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
[Orgmode] Re: Help with a custom block agenda
Hi Paul, Paul Mead paul.d.m...@gmail.com writes: I want the option to have TODO items with the tag FOCUS listed in both the custom block agenda, and as a list in its own right. In the custom block agenda however, I only want to see those which are unscheduled, not WAITING, not STARTED as I've already listed those items above - it's this section where I want to see all the FOCUS actions which I haven't addressed yet. Does the following work? --8---cut here---start-8--- (setq org-agenda-custom-commands '((a Custom block Agenda ((agenda ) (todo STARTED) (tags FOCUS/!-STARTED-WAITING ((org-agenda-todo-ignore-scheduled t) (d todo DONE ((org-agenda-todo-ignore-scheduled nil) (org-agenda-todo-ignore-with-date nil) (org-agenda-todo-ignore-deadlines nil))) (p Project list tags project) (f FOCUS list tags-todo FOCUS) )) --8---cut here---end---8--- 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] Re: formatting times as HH:MM with leading zeros
Hi Stephen, Stephen Eglen s.j.eg...@damtp.cam.ac.uk writes: Just a small suggestion here. In the agenda, an entry like: * 2010-01-20 Wed 09:00-09:30 test gets formatted as follows: Wednesday 20 January 2010 8:00.. test:9:00- 9:30 test 10:00.. the leading whitespace before '9:00' and '9:30' is needed to align the times, but having the space after the dash looks odd (at least to my latex-trained eyes). Would it be possible to patch org-agenda to put a leading zero rather than leading whitespace. With this patch, I see: Wednesday 20 January 2010 08:00.. test: 09:00-09:30 test 10:00.. If I might chime in, I would request that this change be implemented as an option, not as a default. I greatly prefer the display method as it stands. Best, Matt diff --git a/lisp/org-agenda.el b/lisp/org-agenda.el index a20bec5..77062ed 100644 --- a/lisp/org-agenda.el +++ b/lisp/org-agenda.el @@ -4902,6 +4902,7 @@ HH:MM. (mod h1 24) h1)) (t0 (+ (* 100 h2) m)) (t1 (concat (if (= h1 24) + ) + (if ( t0 1000) 0 ) ;zero-pad times before 10:00 (if ( t0 100) 0 ) (if ( t0 10) 0 ) (int-to-string t0 ___ 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: Secondary filtering and query editing within daily/weekly agenda
Brody, William (Buck) brody...@darden.virginia.edu writes: I want to filter my daily/weekly agenda to only show certain tags. The manual says “/” will prompt for secondary filtering. When I try it, however, I get a “buffer is read only” message. Any ideas? Is it possible that you are running an older version of org-mode? You can type M-x org-version to find out. The current version is 6.34, and I believe that filtering was introduced in 6.06b. - 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] Re: Hide file names in agenda view
David A. Gershman dagershman_...@dagertech.net writes: I've been searching a while and thought it'd be simple to find. How can I suppress the file names in the agenda view? i.e. turn file2:7:00- 8:00 alwkjekisdjksj file1: 10:00-11:00 alsdkfjasdlfkj into 7:00- 8:00 alwkjekisdjksj 10:00-11:00 alsdkfjasdlfkj This is controlled via the variable org-agenda-prefix-format. You can type C-h v org-agenda-prefix-format to get all the details. Here's very *simple* setting to get rid of file names on all agenda views: (setq org-agenda-prefix-format %t %s) - 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] interacting with word processors (opeonffice, word)
Hi, I;m getting more and more used to using org for my own writing purposes, and love it. But I still find it pretty difficult to work with word-processor users whoexpect to get a doument in .doc or .odt formats. I've just found odt2org (http://mantiel.wikidot.com/os:odt2org) which looks great for importing odt files into org; but my main concern right now is getting things from org-mode out into odt or doc. May i ask what other people tend to do in this situation? I I guess I could export to html, then import in Openoffice, then edit save as odf, but this seems a little cumbersome. If someone has a better solution I'd love to hear it. Thanks much, Matt -- Matt Price matt.pr...@utoronto.ca signature.asc Description: This is a digitally signed message part ___ 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: interacting with word processors (opeonffice, word)
David Maus maus.da...@gmail.com writes: At Tue, 2 Feb 2010 12:55:42 -0600, Russell Adams wrote: On Tue, Feb 02, 2010 at 08:44:54PM +0200, Rainer M Krug wrote: Hi Matt try latex2rtf: export org-mode to LaTeX and use latex2rtf to convert it to rtf. I am using latex2rtf to convert LaTeX code (generated by LyX) into rtf for exactly the same purpose. That's a great idea! Currently I export to HTML and then let Word users import that. It preserves most of the formatting that is important to me, though external files have to be manually inserted in Word. Does RTF help with external references? (ie: embedded images?) You may also give tex4ht[1] a shot. I don't use it that often but my impression is that it gives better results than latex2rtf I recommend both latex2rt and tex4ht (i.e., mk4ht oolatex). I use the former for simple documents (i.e., articles without bibtex references or special LaTeX packages) and the former for anything more complicated. 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] Re: Is there any IN Buffer setting for preamble and Remember
Chao Lu looc...@gmail.com writes: Another question will be for remember, I tried several times, seem for the remember template, a headline is required, say, if I just want to add a line, like below, which is quite often when just want to write some idea down: - Don't forget buy some binders Could I do so, but let org know not generate the headline automatically? I don't believe there is any way to do this. The reason, AFAIK, is that such items could be easily lost when refiled to their target destinations. Once the item is filed, however, you can easily convert it from a headline to an item by typing C-c - on the headline. 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] Re: Repeating tasks in an interval
Eric S Fraga ucec...@ucl.ac.uk writes: At Wed, 3 Feb 2010 05:02:51 + (UTC), Robert P. Goldman wrote: Is there some way to specify a repeating task over an interval? That is a task that is done, for example, every month, over a finite period? Here's an example that I tried: DEADLINE: 2009-12-01 Tue +1m--2009-11-01 Sun But this one doesn't work --- the tasks keep appearing after November ended. Is this possible? Do I just have the wrong syntax? Or must I do this with C-c C-x c (cloning)? You can use sexp diary constructs for this: see the Timestamps section in the org manual, specifically the DIARY-STYLE SEXP ENTRIES heading. One word of clarification: diary sexp entries behave as timestamps, not as deadlines. Cloning an item is probably your best option here. Another possibility is simply to remove the deadline line with C-u C-c C-d after you no longer require the item. 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] Re: Scheduling an already-scheduled item
Nathaniel Flath flat0...@gmail.com writes: Is there a way to easily postpone an item for several days in the Agenda view? For example, if I have a item scheduled on Sunday and wanted to pus it to Monday, is there a command where I could enter '+1d' and it would offset from the scheduled time instead of the current date? Just type C-c C-s (the same command you would use to schedule something for the first time). You will be greeted with a time/date prompt. Simply type +1d or Mon or Feb 8 (whichever you prefer) to reschedule the item. 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
Re: [Orgmode] Re: interacting with word processors (opeonffice, word)
On Tue, 2010-02-02 at 22:00 +, Shelagh Manton wrote: On Tue, 02 Feb 2010 21:40:49 +0200, Rainer M Krug wrote: On Tue, Feb 2, 2010 at 8:34 PM, Matt Price matt.pr...@utoronto.ca wrote: Hi, I;m getting more and more used to using org for my own writing purposes, and love it. But I still find it pretty difficult to work with word-processor users whoexpect to get a doument in .doc or .odt formats. I've just found odt2org (http://mantiel.wikidot.com/os:odt2org) which looks great for importing odt files into org; but my main concern right now is getting things from org-mode out into odt or doc. May i ask what other people tend to do in this situation? I I guess I could export to html, then import in Openoffice, then edit save as odf, but this seems a little cumbersome. If someone has a better solution I'd love to hear it. Oh - and ther is also: mk4ht oolatex which converts LaTeX to odt. Cheers, Rainer Wouldn't the org-docbook package be suitable as there are docbook to odt transformers (which makes sense as odt is a type of xml like docbook) http://open.comsultia.com/docbook2odf/ might be helpful. Shelagh thanks to everyone for their advice -- I'm going to try these all out if I have any constructive commetns I'll report them back. It's a little duanting for me, as a non-latex user, to try to figure out how to get documentsl ooking about how I want them to -- the default output of the latex export has way too much whitespace for my tastes -- but I guess I hsould be able to figure those issues out somehow. thanks again! matt signature.asc Description: This is a digitally signed message part ___ 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: interacting with word processors (opeonffice, word)
On Fri, 2010-02-05 at 01:44 +, Shelagh Manton wrote: On Thu, 04 Feb 2010 15:10:51 +, Eric S Fraga wrote: At Thu, 04 Feb 2010 09:43:31 -0500, Matt Price wrote: [...] get documentsl ooking about how I want them to -- the default output of the latex export has way too much whitespace for my tastes -- but I guess I hsould be able to figure those issues out somehow. thanks again! matt If it's the margins giving you too much white space (a common complaint from people moving to latex from other types of word or document procssors), you could try something along these lines: --8---cut here---start-8--- #+latex_header: \usepackage[letterpaper]{geometry} #+latex-header: \geometry{verbose,tmargin=3cm,bmargin=3cm,lmargin=3cm,rmargin=3cm} --8---cut here---end---8--- untested. change letterpaper to your actual paper size, of course. HTH, eric Also the fullpage.sty package will do this for you too. Of course you need to name the size of your paper in the documentclass. \usepackage[options](fullpage) thanks for this. i'll give it a go -- and can i set this permanently somewhere in my org conf file -- is it something like: (setq latex_header (\usepackage[letterpaper]{geometry}, \geometry{verbose,tmargin=3cm,bmargin=3cm,lmargin=3cm,rmargin=3cm} )) anyway thanks so much for all your help thus far! matt signature.asc Description: This is a digitally signed message part ___ 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: [PATCH] Close calendar buffer after scheduling an item
Nathaniel Flath flat0...@gmail.com writes: If you schedule an item with org-schedule, the *Calendar* buffer will stay around. This also occurs with org-deadline, and any other functions that use org-read-date. The patch attached just closes this buffer once the date is read. Might I ask why it is necessary to kill the *Calendar* buffer? AFAICT, the default behavior of M-x calendar is to keep the *Calendar* buffer alive even after quitting the calendar view with q. With this patch, if one creates a *Calendar* buffer with M-x calendar, org-mode will subsequently kill it. I would prefer that the behavior of org-mode remain consistent with that of emacs calendar. 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] Re: Excluding just heading from export
Paul Mead paul.d.m...@gmail.com writes: is there any way of excluding just a heading from export, whilst exporting the text below it in the usual way? If I use :noexport: it does what it says in the documentation - prevents the entire subtree from exporting. For my current work though, I'd like to use headings to rough out a structure write notes - noexport is fine for this. Then in each section I want to export the final 'written up' version. I can separate those with different headings, but don't want the headings to show up in the exported text. Example: * Essay title ** Notes on paragraph 1 :noexport: These are notes which I want to remain hidden, including the heading ** Paragraph 1 This is the text I want to see exported, but I don't want the heading One hack would be to use an export hook to remove headings with a particular tag. E.g., --8---cut here---start-8--- (defvar my-org-export-remove-heading-tag killtag) (defun my-org-export-remove-headings-with-tag () (while (re-search-forward (concat : my-org-export-remove-heading-tag :) nil t) (beginning-of-line) (kill-line))) (add-hook 'org-export-preprocess-after-tree-selection-hook 'my-org-export-remove-headings-with-tag) --8---cut here---end---8--- 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] Re: What does it mean: (define-key mode-specific-map [?a] 'org-agenda)
Krause, Joerg j.kra...@geze.com writes: I copied an orgmode setup from http://www.newartisans.com/2007/08/ using-org-mode-as-a-day-planner.html in order to test the described way of GTDing there. Since it works fine for me, I am trying to understand, what's going on beyond the surface. I found the expression above in the setup elisp file. After examining the manual and serveral sites, I still don't understand the term [?a] within that statement. Can anybody brighten my mind? I assume you are referring to the following line? (define-key mode-specific-map [?a] 'org-agenda) This line binds org-agenda to C-c a. (You can checkout the documentation for mode-specific-map by typing C-h v mode-specific-map). The org-manual suggests the following line, which does the same thing: (global-set-key \C-ca 'org-agenda) 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