[Orgmode] Re: Linking lists from other org files
Noorul Islam K M gnu...@gmail.com writes: Marcelo de Moraes Serpa celose...@gmail.com writes: Hello fellows! In my gtd.org file, I have dozens of already processed next-actions under its correspondent projects. However, I find that this file got so big that I have a hard time focusing on the essential next actions (for the projects that I decided I should be acting on/upon). I then had the idea to create a focus.org file, to act like a swapping space, where I put **only one or two projects** (preferably one), and then start acting on the next actions, but having an uncluttered list this time. Use tags to filter out what you want to get displayed. Or restrict your view in the agenda to the subtree you are interested in using C-c C-x -Bernt ___ Emacs-orgmode mailing list Remember: use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
[Orgmode] Re: suggestion for a fix to org-clock-in
Carsten Dominik carsten.domi...@gmail.com writes: Hi, I think the dot after the abbreviated month should be considered a bug. What locales are doing this? Maybe send a bug report to Emacs? - Carsten Hello, Actually, the dot is after the abbreviated day. The locale is fr_FR.UTF-8. I'm not sure it is a bug as it is typographically correct and because 'date +%a' gives me the same result. -- Nicolas Goaziou ___ 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: Literate Programming with Org mode
Hi Eric, Eric Schulte wrote: Eric Schulte schulte.e...@gmail.com writes: Thanks for the description. This is very interesting and I think warrants a re-working of the tangle functionality in org-babel. I don't know if it warrants a re-working of the tangle functionality, but it warrants at least having the possibility to do such documents from withing Org IMHO. We're both (many more?) convinced... Given your description below I think I may try to add the Nuweb link/reference syntax source-block-name to org-babel. Good. Sorry for the (little) mistake I've made, but -- to be exact -- the above syntax is from noweb. Nuweb syntax one is with @ such as the following include code: --8---cut here---start-8--- @ Cursor abcID : Init on records @ --8---cut here---end---8--- where the thing between `@' and `@' is the name of the source. As source-code blocks are already named in the current org-babel setup this wouldn't be a very significant change. Once this is added it shouldn't be difficult to expand these links/references on export. Excellent. Under this new setup the example file you described would be analogous to the this org-mode file. Does this sound like it would accomplish most of what you are after? I think so, yes. I'll scan all my Nuweb and noweb files over the past years, but I am positive you cover all of my needs -- with the exception of one, but I guess it's solvable somehow: the fact that the code should be included via the LaTeX `listings' package (thus, colored contextually to the programming language) and not as verbatim. With the newest version of org-babel [1] Done: `git pull'. try opening the attached org-mode file [2] which is an org-mode translation of Sébastien's noweb file from his previous email. I wanted to translate it in Org. You've been much quicker than I currently am. Thanks. Calling `org-babel-tangle' from within this file will create the Payment.sql, Lessons.sql, and Enterprise.sql source-code files. Nope... --8---cut here---start-8--- Open ~/Personal/Templates/org-babel-lit-prog.org tangled 0 source-code blocks --8---cut here---end---8--- I don't understand why. Is it normal that you don't include the extension in the tangle property? Does it add the language extension automatically? The document can also be exported into html and latex using org-mode's standard export functionality. I have problems as well... LaTeX error: --8---cut here---start-8--- ERROR: Missing \endcsname inserted. --- TeX said --- to be read again \protect l.47 \begin{\LaTeX{}} --- HELP --- From the .log file... The control sequence marked to be read again should not appear between \csname and \endcsname. --8---cut here---end---8--- (Begin of) exported file is: --8---cut here---start-8--- % Created 2009-08-03 Mon 09:58 \documentclass[final]{article} \usepackage[utf8x]{inputenc} \usepackage[T1]{fontenc} \usepackage{graphicx} \usepackage{longtable} \usepackage{hyperref} \title{Showing the benefits of Literate Programming} \author{Sebastien Vauban} \date{03 August 2009} \begin{document} \maketitle \section*{Context} \label{sec-1} I wanna show (or, at least, try to show) some advantages of literate programming, such as no copy/pasting of code, and being able to explain the code independently of its final structure as ``source code''. This file is a translation of Sebastien's noweb file into an org-mode document. \section*{Files with SQL commands} \label{sec-2} \subsection*{Common Code} \label{sec-2.1} All files have some code in common. \subsubsection*{Header} \label{sec-2.1.1} \begin{\LaTeX{}} % --- spot of the error --- --- --- --- \begin{verbatim} -- Hey, Emacs! This is a -*- coding: utf-8 -*- file! -- no longer display the count message SET NOCOUNT ON DECLARE @dateFmtStyleIn int; SET @dateFmtStyleIn = 120 -- ODBC canonical DECLARE @dateFmtStyleOut int; SET @dateFmtStyleOut = 103 -- French dd/mm/ DECLARE @firstDayOfThisMonth smalldatetime SET @firstDayOfThisMonth = CONVERT(smalldatetime, CAST(YEAR(GETDATE()) AS char(4)) + '-' + CAST(MONTH(GETDATE()) AS char(2)) + '-' + '01' + ' 00:00:00', @dateFmtStyleIn) \end{verbatim} \end{\LaTeX{}} --8---cut here---end---8--- Don't understand how this LaTeX environment comes in the play. I saw a difference between the way you write your levels in Org and the way I do it: I'm using a odd number of stars. --8---cut here---start-8--- ;; skip even levels and only use odd levels for the outline (setq org-odd-levels-only t) --8---cut here---end---8--- So, I've rewritten the Org file as follows:
[Orgmode] Re: suggestion for a fix to org-clock-in
On Aug 3, 2009, at 10:34 AM, Nicolas Goaziou wrote: Carsten Dominik carsten.domi...@gmail.com writes: Hi, I think the dot after the abbreviated month should be considered a bug. What locales are doing this? Maybe send a bug report to Emacs? - Carsten Hello, Actually, the dot is after the abbreviated day. The locale is fr_FR.UTF-8. I'm not sure it is a bug as it is typographically correct and because 'date +%a' gives me the same result. But it seems to be like this only in this specific locale - Carsten ___ Emacs-orgmode mailing list Remember: use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
Re: [Orgmode] Re: org-mac-protocol problem - Initial content missing
On Sun, 02 Aug 2009 17:08:26 +0800, CHENG Gao cheng...@gmail.com wrote: For example, I visit the page: http://orgmode.org/worg/org-contrib/org-protocol.php Then I run org-remember from script menu. The remember buffer I got is: , | ## C-c C-c ~/.emacs.d/org/notes.org - * Remember | ## C-u C-c C-c like C-c C-c, and immediately visit note at target location | ## C-0 C-c C-c ??? - * ??? | ## C-1 C-c C-c to select file and header location interactively. | ## C-2 C-c C-c as child of the currently clocked item | ## To switch templates, use `M-x org-remember'. To abort use `C-c C-k'. | | * | | Source: [2009-08-02 Sun], [[http://orgmode.org/worg/org-contrib/org-protocol.php][org-protocol.el – Intercept calls from emacsclient to trigger custom actions:Safari]] ` Only timestamp and link to source page. My settings are: (I commented out remember template in org-mac-protocol and then put it in ~/.emacs.d/init.el) , | ;;Org Mode | (require 'org-mac-protocol) | (server-start) | | (setq org-directory ~/.emacs.d/org/) | (setq org-default-notes-file ~/.emacs.d/org/notes.org) | (setq org-remember-templates nil) | (add-to-list 'org-remember-templates | '(AppleScript remember ?y * %?\n\n Source: %u, %c\n\n %i (concat org-directory notes.org) Remember)) | (add-to-list 'org-remember-templates | '(AppleScript note ?z * %?\n\n Source: %u\n (concat org-directory notes.org) Notes)) | (setq remember-annotation-functions '(org-remember-annotation)) | (setq remember-handler-functions '(org-remember-handler)) | (add-hook 'remember-mode-hook 'org-remember-apply-template) | | (require 'org) | (define-key global-map \C-cl 'org-store-link) | (define-key global-map \C-ca 'org-agenda) | (setq org-log-done t) | ` org-mac-protocol runs well, just initial content is not inserted. I'm stumped. I can't see anything wrong with the above and an almost identical setup works for me. (I have come across a couple of web pages that don't like the scripts full stop, for example http://jan.ucc.nau.edu/tas3/bnf1.html, but that is not the case here) Suggested debug: Make sure that you're using the latest git org-mode. Open up org-remember.scpt and edit: , | ... | | display dialog theScript | do shell script theScript ` Does theScript contain the expected content? You could also try running from the terminal: emacsclient org-protocol:/mac-remember:/y/foo/bar/test%20content:Safari and seeing whether `test content' is inserted as initial content BTW, I suggest to put default remember templates in manual, instructing users to explicitly set templates in .emacs. Users can choose to use default templates or use their own. Quite so. Done. Christopher ___ 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-mac-protocol problem - Initial content missing
Sorry I posted previous message too fast. I forgot to select some texts while testing. I confirm the dialog shows the content, but *Remember* buffer does not. -- Volo, non valeo ___ 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] compile failure - Symbol's function definition is void: backup-inhibited
hello, i upgraded my emacs to 23.1.1 and set up an org-mode git repository from scratch. now, when i do a make i get the following errors: --- In toplevel form: lisp/org-ascii.el:29:1:Error: Symbol's function definition is void: backup-inhibited make: *** [lisp/org-ascii.elc] Error 1 --- what am i missing? thanks, -- ajd. ___ 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] compile failure - Symbol's function definition is void: backup-inhibited
Fixed, thanks. - Carsten On Aug 3, 2009, at 11:59 AM, aldrin d'souza wrote: hello, i upgraded my emacs to 23.1.1 and set up an org-mode git repository from scratch. now, when i do a make i get the following errors: --- In toplevel form: lisp/org-ascii.el:29:1:Error: Symbol's function definition is void: backup-inhibited make: *** [lisp/org-ascii.elc] Error 1 --- what am i missing? thanks, -- ajd. ___ Emacs-orgmode mailing list Remember: use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode ___ Emacs-orgmode mailing list Remember: use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
Re: [Orgmode] formula
Hi Haroldo, You cannot copy a formula easily from one field t the next with shifting the reference like you would do in a normal spreadsheet. However, you can use relative references (see the manual) in order to write formulas in an invariant way, and then use basic editing commands in the C-c ' buffer to define the formula for many fields. Even better, use a column formula which allows you to write a single formula for an entire column. - Carsten On Aug 3, 2009, at 12:58 AM, Haroldo Stenger wrote: hi , I wonder how can a formula in a table be copied to a location below, and its references be shifted alongwise automatically. I checked every documentation I've found , but that feature does not show up. I'm forced to copy the formula in in the C-c ' and then go to each of the references and type S-downarrow as many times. I'd thank any idea here. best regards, haroldo. (thanks for org-mode, it's great) ___ Emacs-orgmode mailing list Remember: use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode ___ Emacs-orgmode mailing list Remember: use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
Re: [Orgmode] org-time-stamp bug report
On Aug 1, 2009, at 4:48 PM, Adam Spiers wrote: Hi Carsten and all, Bad news - I'm back ;-) In my apparent absence from org-mode development I've still been tracking the git master branch, producing a few patches, and compiling a list of ideas for new features, obscure minor bugs etc. So now in Donald Knuth batch mode style I will start to communicate them on this list. Carsten - as an advance apology for this onslaught, I will happily place an order for a Bill Evans album of your choosing ;-) So, to kick things off, here's a tiny bug I noticed ages ago and never got round to reporting: If you enter a new event via `org-time-stamp' and specify the time range as something like '10pm+6' then you'll end up with a nonsensical time, e.g. 2009-08-01 Sat 22:00-28:00 I could of course fix this, but you could also just enter it as two time stamps, because it is a two day event - Carsten Regards, Adam P.S. currently on holiday with limited internet access so apologies in advance if my replies are not all timely. P.P.S. hoping to have FSF copyright assignment finally sorted out fairly soon. In the mean time, you may find some legally insignificant micro-patches here: http://github.com/aspiers/orgmode/commits/master ___ Emacs-orgmode mailing list Remember: use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode ___ Emacs-orgmode mailing list Remember: use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
[Orgmode] How to make part of a word bold in org-mode
Hi Is there anyway to apply bold, italic, etc. markups to part of a word? Like =Class=es or /Module/s ? thanks, -- bvk-chaitanya ___ Emacs-orgmode mailing list Remember: use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
Re: [Orgmode] C-M-a, C-M-e
On Fri, Jul 31, 2009 at 2:42 AM, Bastienbastiengue...@googlemail.com wrote: Here are the functions: Thanks! ___ 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: Cycling when there is no subtree
On Jul 31, 2009, at 6:49 AM, User wrote: Bastien bastienguerry at googlemail.com writes: I'll Carsten sort this out -- and possibly revert the change I just made, if he disagrees! I hope he'll at least add an option in that case. I have indeed created an option for this, but the default is to skip this children state if there are no children. The name of the option is `org-cycle-skip-children-state-if-no-children' - Carsten Thanks for implementing it. ___ Emacs-orgmode mailing list Remember: use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode ___ Emacs-orgmode mailing list Remember: use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
Re: [Orgmode] C-M-a, C-M-e
On Mon, Aug 3, 2009 at 6:39 AM, Carsten Dominikcarsten.domi...@gmail.com wrote: I am not convinced that top-level heading is the right paradigm for beginning-of-defun in Org. I guess that subtrees of any level could be contenders for this as well. So I am not implementing this right now, but you can bind Bastien's functions to keys. OK. I thought it would make sense since tree navigation is already possible with C-c C-p, C-c C-n and C-c C-u, and I often want to jump to the previous or next top-level entry. Jeremie ___ 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-mac-protocol problem - Initial content missing
Things are getting complicated. I added display dialog the Script to org-remember.scpt. Now when I select some text and run org-remeber script, I can see content is shown in dialog. But after I press OK button, nothing happens. Seems emacsclient can not be triggered. If I dont select any text and run org-remember script, it works correctly. *Remember* buffer shows date and link. So I guess there could be something wrong with URIEscape of the content. I'll uninstalled org-mac-protol and restart from the scratch to check if there is anything wrong with my installation. Though I suppose there is nothing wrong, since I only added one line to org-remember.scpt. -- Totus mundus agit histrionem ___ 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-mac-protocol problem - Initial content missing
Org git source is just fixed, and I installed Org from git source, and it works terrificly well. So the culprit is Org Mode bundled with Emacs TRUNK. Thank you very much for this great package, and for your help. -- Vivere est cogitare ___ 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] How to make part of a word bold in org-mode
On Aug 3, 2009, at 1:10 PM, BVK wrote: Hi Is there anyway to apply bold, italic, etc. markups to part of a word? Like =Class=es or /Module/s ?N No. Only for a particular export backend, like @codeClass@/codees for HTML. Org-mode relies on heuristics to distinguish emphasis from normal text, and one of the most important parts of this heuristics method is assuming that emphasis is on whole words, delimited by whitespace or punctuation. - Carsten thanks, -- bvk-chaitanya ___ Emacs-orgmode mailing list Remember: use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode ___ Emacs-orgmode mailing list Remember: use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
Re: [Orgmode] org-hide-emphasis-markers problem
On Jul 31, 2009, at 4:47 PM, Nicolas Goaziou wrote: Hello, When set to t, org-hide-emphasis-markers doesn't seem to behave well with R in agenda mode, or C-c C-x C-r elsewhere, that is with dynamic blocks. The error is the following : org-do-emphasis-faces: Wrong type argument: integer-or-marker-p, nil I am unable to reproduce this bug. I do see that the table alignment is not correct when emphasis markers are hidden, but this is too hard to fix. I think it also acts strangely with column-mode, something about the fonts, but I can't be more precise. I would need more information. - Carsten ___ Emacs-orgmode mailing list Remember: use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
Re: [Orgmode] Clean Org Clock with step
On Jul 23, 2009, at 12:10 AM, meingbg wrote: When using the :step day option in the clocktable, every day gets it's own table. This is a great option! It can however easily be a lot of tables, even if there's not too much information. Say for example there are only items in two out of thirty tables. Is there an option to show only non-empty tables? If not, would it be a good idea to add such an option? This is a good idea, but hard to implement. To justify the effort, you'd need to get a lot more support from others. The easy thing I could do it to provide a hook, and you write a function for that hook to do the cleaning up. - Carsten //M.G. ___ Emacs-orgmode mailing list Remember: use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode ___ Emacs-orgmode mailing list Remember: use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
Re: [Orgmode] org agenda search goes to wrong target location
On Jul 24, 2009, at 2:01 AM, Samuel Wales wrote: Very often, when I do a keyword search in the agenda (m-x agenda RET s), org-agenda-switch-to (RET) goes to the wrong location in the target file. To sync it, the easiest way that I have found so far is to open all agenda buffers, kill all agenda buffers, open all agenda buffers, and run the search again. Is there an easier way? I would love to fix this problem, so I would be very grateful if anyone could come up with a testcase that is reproducible.1 - Carsten Thanks. -- Myalgic encephalomyelitis makes you die decades early (Jason et al. 2006) and suffer severely. Conflicts of interest are destroying research. Silence = death. Again. http://www.meactionuk.org.uk/What_Is_ME_What_Is_CFS.htm ___ Emacs-orgmode mailing list Remember: use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode ___ Emacs-orgmode mailing list Remember: use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
[Orgmode] Feature Request: Keeping me honest
Hi, I'm not sure how/if these are implemented or implementable. * Keeping Me honest When i outline a project, sometimes there are points that are ambigiously stated. Being neither actions or titles, they can slip through the cracks. So i've been thinking of a feature that would be similar to the stuck projects indicator. This would be a set of words that would naturally follow a TODO or similar, to indicate that the title has some honesty to it. Its to enforce a kind of GTD verb in every actionalble outline title. Implementation wise, i was thinking this could be a word list associated with a todo or tag. That list would then be used to font lock the first word of an outline header. e.g. wrong * TODO foobar compatibility needed for something vs right * TODO change feature X of something so that it works with foobar Either the first word, and/or the whole line would be highlighted a different colour. GTD words are not the only use for a feature like this. It might be used to highlight that a bug ID is needed in a FIXME heading with a regexp ID#[0-9]+ associated to the keep me honest field. Not sure where i picked this list up from but here are some example GTD words to test with: *** PROJECT todo-type outline action verbs Finalize, resolve, handle, look into, submit, maximize, organize, design, complete, ensure, research, roll out, update, install, implement, set-up *** TODO todo-type next action verbs Address, ask, avoid, buy, change, clarify, collect, commend confront, consider, create, decide, defer, develop, discard, do again, download, enter, file, follow up, hire, improve, increase, inform, inquire, maintain, measure, monitor, order, paint, phone, prioritize, purchase, question, reduce, remember, repair, reply, report, research, resolve, review, schedule, sell, send, service, specify, start, stop, suggest, tidy, train, update, upgrade, write. Tim. ___ 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] Calendar export questions (ical html)
Hi, maybe someone could turn this information into a tutorial or a FAQ entry? I think it would be useful to write it up and have it somewhere accessible. - Carsten On Jul 28, 2009, at 9:30 AM, Richard Riley wrote: Bastien bastiengue...@googlemail.com writes: Hi Michel, Michel Blanc mbl...@erasme.org writes: First, I discovered that all the calendar applications I tried do not show TODO entries (Google Agenda, PHP-iCalndar, Thunderbird, ...) *inside* the day/week/... view, but in sidebars or so (when the do). However, I am required to publish my agenda on GoogleAgenda (using Add by URL). Is there any way to export TODO entries as VEVENT instead of VTODO in ical exports, so they get showed in external apps ? A todo like this * TODO Do this 2009-07-28 mar will be exported both as a VTODO and as a VEVENT. Note that this is not the case for DEADLINE and SCHEDULED, maybe the code need to be more consistent about this. Also, the HTML exports for my agenda contains nothing but TODO's, without any date (see example here http://leucos.lstilde.org/workcal.html). There are many SCHEDULED/DEADLINE enabled entries, but nothing is shown besides hierarchy. I suspect I'm off the mark in some way here... There are several types of agenda views: the tags and tags-todo types don't display the dates, but the agenda type does. Usually, when I need to display the dates in a tags-todo type view, I just switch on the column view. But for now there is no way to store the dates in the HTML output of the tags-todo agenda view, the way to go is to define an agenda-type view. Finally, is there a way to customize the agenda name (i.e. X-WR- CALNAME in the ICS file) ? I export 2 different ics files (the classic personal/work duo) and I would like to set relevant names for them. Again, sorry to disappoint but the answer is no -- at least not to my knowledge. HTH, FYI and still half asleep here, I think you can do the name. here is my ical cust section: org-combined-agenda-icalendar-file ~/webs/richardriley/sync/ org.ics org-icalendar-include-todo t org-icalendar-combined-name (quote Richard Riley ORG) org-icalendar-use-scheduled '(todo-due event-if-todo event-if- not-todo) org-icalendar-use-deadline '(todo-due event-if-todo event-if- not-todo) org-icalendar-timezone Europe/Berlin org-icalendar-include-bbdb-anniversaries t ; org-icalendar-timezone nil org-icalendar-store-UID t hth ___ Emacs-orgmode mailing list Remember: use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode ___ Emacs-orgmode mailing list Remember: use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
Re: [Orgmode] Unhiding edited areas
On Jul 30, 2009, at 8:50 PM, Martin Pohlack wrote: Hi Samuel, Samuel Wales wrote: Hi Martin, This is a huge issue.[1] Here is what I do to try to work around it. I use git, to limit the damage from confusion. Yes, this or a versioning filesystem is probably advisable. I expand the entire buffer if I think I am about to be confused. ;;i like the idea of clustering undo but find it disconcerting (setf org-self-insert-cluster-for-undo nil) ;;somebody, I think Carsten, suggested this, and it might work for you, but for some reason I commented it out. I don't remember what the reason was. Maybe speed. '(defadvice undo (after org-undo-reveal activate) Make point and context visible after an undo command in Org-mode. (and (org-mode-p) (org-reveal))) ;;(ad-unadvise 'undo) Hi Samuel, Martin, this could be a good FAQ entry, I think. If speed was the reason to discard this, maybe try again, because I believe that recent changes will have solved many of the speed issues that might plague org-reveal in lists with many siblings. - Carsten Awesome, this is exactly what I was looking for! [1] It is even more important when combined with what is IMO Emacs's greatest need for improvement, which is that you can undo, and undo an undo, and this is considered to be sufficient since you can get anywhere in the timeline in principle -- but many users, myself included, prefer a true redo command, both because undoing an undo does not let you do commands (such as copying) in the middle of an undo sequence without going the other direction, and because it feels more intuitive to tell emacs where in the timeline we want to go, and go forward or backward if we overshoot, thus making it possible to view the timeline the same way as we go backward and forward in any linear sequence. (redo.el provides the functionality, but it corrupts the buffer.) Of course, many are comfortable with the traditional undo-the-undo mechanism, so that should stay possible, but there are many who are not, and a redo mechanism would satisfy them. It is possible to get more fancy with a tree. The current undo system is very powerful as it doesn't lose history (unless you hit a quota limit). With undo-redo systems you usually can lose history if you edit things in an old state. Suddenly redo is not available anymore. You can only access the most recent branch in the history tree. In emacs this will not happen as you can reach all nodes in the buffer history, but these states are not easily accessible, especially, if you went back and forth some times. I cannot track the list of states in my mind or imagine the current structure of the undo tree, I can only go step by step and look at the situation in the buffer and decide whether this is what I wanted or not. I recently stumbled upon an article which, I think, quiet nicely summarized what one wants: http://e-texteditor.com/blog/2006/making-undo-usable But it's not available for emacs ... Cheers, Martin ___ Emacs-orgmode mailing list Remember: use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode ___ Emacs-orgmode mailing list Remember: use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
Re: [Orgmode] iCal Export UID only Headline
Hi David, this is a very interesting problem. Apparently you are using (setq org-id-method 'org) This method uses a compact encoding of the current time, to microsecond accuracy, as part of the UID. The fact that some of the IDs you get are the same could mean that you are using a very fast machine that parses several entries in the same microsecond. However, the large jump in the ID after the constant period seems to indicate that maybe your system does not communicate microsecond accurate time to Emacs. One way out would be to switch to uuidgen for ID creation, maybe that behaves better on your system? - Carsten On Jul 30, 2009, at 9:55 PM, David A. Gershman wrote: Hello, I just attempted to export my agenda as an .ics and found an entry scheduled for only Monday when I have dates in my org file for all 5 days of the week. My org file has: Plan Tomorrow 2009-06-15 Mon 17:00-18:00 +1w 2009-06-16 Tue 17:00-18:00 +1w 2009-06-17 Wed 17:00-18:00 +1w 2009-06-18 Thu 17:00-18:00 +1w 2009-06-19 Fri 17:00-18:00 +1w This results in the Plan Tomorrow entry in the agenda for all 5 days. However, when exporting to .ics, all of these are exported BUT they have the same UID. As a result, my Calendar Program (Mozilla Lightning via Thunderbird) considers them errors. So I changed the Org-Tree to: Plan Tomorrow 2009-06-15 Mon 17:00-18:00 +1w Plan Tomorrow 2009-06-16 Tue 17:00-18:00 +1w Plan Tomorrow 2009-06-17 Wed 17:00-18:00 +1w Plan Tomorrow 2009-06-18 Thu 17:00-18:00 +1w Plan Tomorrow 2009-06-19 Fri 17:00-18:00 +1w And when I export to .ics, this is what I get for the UID properties: Plan Tomorrow :PROPERTIES: :ID: 0aegncd1d...@x.i-did-not-set--mail-host-address--so-tickle-me :END: 2009-06-15 Mon 17:00-18:00 +1w Plan Tomorrow :PROPERTIES: :ID: gmqgncd1d...@x.i-did-not-set--mail-host-address--so-tickle-me :END: 2009-06-16 Tue 17:00-18:00 +1w Plan Tomorrow :PROPERTIES: :ID: gmqgncd1d...@x.i-did-not-set--mail-host-address--so-tickle-me :END: 2009-06-17 Wed 17:00-18:00 +1w Plan Tomorrow :PROPERTIES: :ID: gmqgncd1d...@x.i-did-not-set--mail-host-address--so-tickle-me :END: 2009-06-18 Thu 17:00-18:00 +1w Plan Tomorrow :PROPERTIES: :ID: 472hncd1d...@x.i-did-not-set--mail-host-address--so-tickle-me :END: 2009-06-19 Fri 17:00-18:00 +1w Notice the UID is the same for T, W, Th. Ideas? David A. Gershman gersh...@dagertech.net http://dagertech.net/gershman/ It's all about the path! --d. gershman ___ Emacs-orgmode mailing list Remember: use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode ___ Emacs-orgmode mailing list Remember: use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
Re: [Orgmode] BUG: links to inline tasks
On Mon, 03 Aug 2009 06:27 +0200, Carsten Dominik carsten.domi...@gmail.com wrote: On Jun 19, 2009, at 4:29 PM, Peter Westlake wrote: Another small bug in the excellent inline task module: making a link with C-C l anywhere below an inline task causes the link to attach to the inline task. I think it would be better if it only did that if point was in the task headline or its drawers, otherwise it should link to the parent task. Would you agree? Even if that behaviour is okay, this is definitely odd: making a link when the cursor is below a multi-line inline task causes the link to attach to the END line. Neither of these is a big problem, of course, because there is an obvious workaround. Fixed now, along with the other issue you reported. Thanks for doing that! The new key binding for adding an inline task is much appreciated too. Peter. ___ 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] [misc-new-features 2/5] Bugfixes, documentation and custom options for org-checklist.
Hi James, I have applied this patch, with one modification: I added a 'no-erro argument to the (load a2ps-print) form, to make sure that people who have not installed a2ps-print.el can still use the other functionality in your package. Please let me know if this was not the right thing to do. - Carsten On Jul 13, 2009, at 10:27 AM, James TD Smith wrote: * contrib/lisp/org-checklist.el - Fix some problems with the print/export feature in org-checklist. - Add custom options for this module - Fix some interaction with a2ps - Only reset checkboxes if TODO state is done. * doc/org.texi - Add documentation for org-checklist * lisp/org.el - Add org-checklist to org-modules --- contrib/ChangeLog | 16 ++ contrib/lisp/org-checklist.el | 67 ++ +- lisp/org.el |1 + 3 files changed, 69 insertions(+), 15 deletions(-) diff --git a/contrib/ChangeLog b/contrib/ChangeLog index 7e62df0..6a5c2a2 100644 --- a/contrib/ChangeLog +++ b/contrib/ChangeLog @@ -1,3 +1,19 @@ +2009-07-12 James TD Smith ahktenz...@mohorovi.cc + + * lisp/org-checklist.el (org-checklist): Add a custom group for + org-checklist. The options are all for the unchecked items export + function. + (org-checklist-export-time-format): Allow customising the + timestamp appended to the saved unchecked items list + (org-checklist-export-function): Allow customising the output + format for the unchecked items list. + (org-checklist-export-params): Options for the exporter. + (org-checklist-a2ps-params): Printing options. + (org-make-checklist-export): Use values from custom vars. Printing + is now controlled by the PRINT_EXPORT property in the entry, and + the user is only asked if it is missing. Pass the switches to + a2ps-buffer properly. + 2009-06-20 Carsten Dominik carsten.domi...@gmail.com * README: List new file org-export-generic.el diff --git a/contrib/lisp/org-checklist.el b/contrib/lisp/org- checklist.el index 26d228f..4ebf91b 100644 --- a/contrib/lisp/org-checklist.el +++ b/contrib/lisp/org-checklist.el @@ -42,11 +42,37 @@ ;; ;;; Code: (require 'org) +(load a2ps-print) -(defvar export-time-format %Y%m%d%H%M - format of timestamp appended to export file) -(defvar export-function 'org-export-as-ascii - function used to prepare the export file for printing) +(defgroup org-checklist nil + Extended checklist handling for org + :tag Org-checklist + :group 'org) + +(defcustom org-checklist-export-time-format %Y%m%d%H%M + The format of timestamp appended to LIST_EXPORT_BASENAME to + make the name of the export file. + :link '(function-link format-time-string) + :group 'org-checklist + :type 'string) + +(defcustom org-checklist-export-function 'org-export-as-ascii + function used to prepare the export file for printing + :group 'org-checklist + :type '(radio (function-item :tag ascii text org-export-as-ascii) + (function-item :tag HTML org-export-as-html) + (function-item :tag LaTeX :value org-export-as-latex) + (function-item :tag XOXO :value org-export-as-xoxo))) + +(defcustom org-checklist-export-params nil + options for the export function file for printing + :group 'org-checklist + :type '(repeat string)) + +(defcustom org-checklist-a2ps-params nil + options for a2ps for printing + :group 'org-checklist + :type '(repeat string)) (defun org-reset-checkbox-state-maybe () Reset all checkboxes in an entry if the `RESET_CHECK_BOXES' property is set @@ -54,23 +80,30 @@ (if (org-entry-get (point) RESET_CHECK_BOXES) (org-reset-checkbox-state-subtree))) + (defun org-make-checklist-export () Produce a checklist containing all unchecked items from a list of checkbox items (interactive *) (if (org-entry-get (point) LIST_EXPORT_BASENAME) - (let* ((export-file (concat (org-entry-get (point) LIST_EXPORT_BASENAME) - - (format-time-string export-time-format) + (let* ((export-file (concat (org-entry-get (point) LIST_EXPORT_BASENAME nil) + - (format-time-string + org-checklist-export-time-format) .org)) +(print (case (org-entry-get (point) PRINT_EXPORT nil) + (( nil nil) nil) + (t t) + (nil (y-or-n-p Print list? exported-lines -title) +title Checklist export) (save-restriction (save-excursion (org-narrow-to-subtree) + (org-update-checkbox-count-maybe) (org-show-subtree) (goto-char (point-min)) - (if (looking-at org-complex-heading-regexp) - (setq title (match-string 4))) + (when (looking-at org-complex-heading-regexp) + (setq title
[Orgmode] Re: How to make part of a word bold in org-mode
BVK schrieb: Hi Is there anyway to apply bold, italic, etc. markups to part of a word? Like =Class=es or /Module/s ? thanks, see here http://orgmode.org/org.html#Emphasis-and-monospace and don't forget to read the rest ... you will find lots of nice things there ... rainer ___ 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] Bug: Problem with ido-completing-read from org-table-export
When exporting a table with ido-mode active, an error is raised in org-ido-completing-read. I think ido-completing-read is being called with incorrect arguments, but the fix is beyond me. Steps to reproduce the error: Org-mode version: 6.28trans Emacs version: GNU Emacs 23.0.91.1 (i486-pc-linux-gnu, GTK+ Version 2.16.0) of 2009-04-05 on palmer, modified by Debian Turn on ido-mode: M-x ido-mode RET visit a file using C-x C-f /tmp/test.org RET Create a simple table: |column a|column b| |- |one|two| |three|four| Org-magic-tabelize it by hitting TAB somewhere in a column M-x org-table-export RET /tmp/test.csv Here's the backtrace I get: Debugger entered--Lisp error: (wrong-type-argument listp orgtbl-to-tsv) #[(x) @ [x] 1](orgtbl-to-tsv) mapcar(#[(x) @ [x] 1] (orgtbl-to-tsv orgtbl-to-csv orgtbl-to-latex orgtbl-to-html orgtbl-to-generic orgtbl-to-texinfo orgtbl-to-orgtbl)) org-ido-completing-read(Format: (orgtbl-to-tsv orgtbl-to-csv orgtbl-to-latex orgtbl-to-html orgtbl-to-generic orgtbl-to-texinfo orgtbl-to-orgtbl) nil nil orgtbl-to-tsv) apply(org-ido-completing-read (Format: (orgtbl-to-tsv orgtbl-to-csv orgtbl-to-latex orgtbl-to-html orgtbl-to-generic orgtbl-to-texinfo orgtbl-to-orgtbl) nil nil orgtbl-to-tsv)) org-completing-read(Format: (orgtbl-to-tsv orgtbl-to-csv orgtbl-to-latex orgtbl-to-html orgtbl-to-generic orgtbl-to-texinfo orgtbl-to-orgtbl) nil nil orgtbl-to-tsv) org-table-export() call-interactively(org-table-export t nil) execute-extended-command(nil) call-interactively(execute-extended-command nil nil) recursive-edit() byte-code(Æ @Ç=! ___ 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: Literate Programming with Org mode
Hi Sébastien, Thanks for giving this a try, comments below... Sébastien Vauban wxhgmqzgw...@spammotel.com writes: Hi Eric, Eric Schulte wrote: Eric Schulte schulte.e...@gmail.com writes: [...] As source-code blocks are already named in the current org-babel setup this wouldn't be a very significant change. Once this is added it shouldn't be difficult to expand these links/references on export. Excellent. Under this new setup the example file you described would be analogous to the this org-mode file. Does this sound like it would accomplish most of what you are after? I think so, yes. I'll scan all my Nuweb and noweb files over the past years, but I am positive you cover all of my needs -- with the exception of one, but I guess it's solvable somehow: the fact that the code should be included via the LaTeX `listings' package (thus, colored contextually to the programming language) and not as verbatim. I agree fontified code would certainly be preferable to the current approach of inserting source-code as verbatim. This seems to be a general org-mode development issue rather than org-babel specific, so I'm happy to push the buck on this one :). I don't know much about the listings package, but would another possibly be easier to use htmlize.el (used for fontification on html export) along with html - latex conversion? With the newest version of org-babel [1] Done: `git pull'. Please do another git pull before trying the steps below so we can be sure we're working off the same code base. try opening the attached org-mode file [2] which is an org-mode translation of Sébastien's noweb file from his previous email. I wanted to translate it in Org. You've been much quicker than I currently am. Thanks. Calling `org-babel-tangle' from within this file will create the Payment.sql, Lessons.sql, and Enterprise.sql source-code files. Nope... Open ~/Personal/Templates/org-babel-lit-prog.org tangled 0 source-code blocks I don't understand why. Me either... I'm not sure what could be different about our two environments that could be causing this problem. Maybe it has to do with the --8---cut here---start-8--- (setq org-odd-levels-only t) --8---cut here---end---8--- that you mention below. Also note that with org-babel by default source-code blocks are not tangled, only those with a :tangle header argument will be tangled to source-code files. So for example --8---cut here---start-8--- #+srcname: sql-init #+begin_src sql -- sql-init SELECT abcID, etpID, etpAssurATPolNum FROM enterprise JOIN record ON (etpAbcID_fk = abcID) WHERE etpAbcID_fk -- sql-cond #+end_src --8---cut here---end---8--- will not be tangled, while --8---cut here---start-8--- #+srcname: enterprise #+begin_src sql :tangle Enterprise -- sql-init SELECT abcID, etpID, etpAssurATPolNum FROM enterprise JOIN record ON (etpAbcID_fk = abcID) WHERE etpAbcID_fk -- sql-cond #+end_src --8---cut here---end---8--- will be tangled. I have changed the original org-babel-lit-prog.org so that it should work with your configuration of odd levels only and posted it up here [1]. Note that you can grab all of these referenced files by cloning the git repo at git://github.com/eschulte/noweb-example.git. By calling org-babel-tangle from within this org-mode file I was able to generate Enterprise.sql [2], Lessons.sql [3], and Payment.sql [4]. Is it normal that you don't include the extension in the tangle property? Does it add the language extension automatically? Yes, org-babel adds the language specific extension automatically. This could be changed/overridden if it proves to limiting. It grew out of the fact that originally source-code files were named based upon the basename of the org-mode file and the language extension. The document can also be exported into html and latex using org-mode's standard export functionality. I have problems as well... Again maybe this is the result of conflicting values of org-odd-levels-only? Please try this with the newer org-mode file [1]. I was able to export this to latex resulting in the following tex file [5] and pdf file [6]. I was also able to export this file to html which includes code highlighting [7]. [...] BTW, what do you think of my proposal to include the Tangle process as a built-in step of the export to LaTeX (and HTML)? That way, we only would export and get both flies caught with one stone. I like that idea, once this is working as two separate processes it should be relatively trivial to optionally hook org-babel-tangle onto the other export commands. Thanks for all! This is seriously a hot topic you've almost solved... Seb Sorry I can't be more specific with answers to
Re: [Orgmode] Agenda that shows hierarchy above matches?
At Mon, 3 Aug 2009 06:31:24 +0200, Carsten Dominik wrote: At Thu, 23 Jul 2009 09:56:38 +0100, Eric S Fraga wrote: Given an projects.org like this: * Project A ** TODO do foo ** TODO do bar ** DONE do baz * Project B ** DONE do foo * TODO Another small thing add the CATEGORY property (C-c C-x p cat TAB) to A and B headings, something like Project A, say, and this will appear on the left of the line in the agenda view in lieu of the file. Categories can help give you a single level of context. Nice, thanks. That helps for certain cases. However, sometimes I have deeper nestings in my project files and would still like to see _all_ parent headlines of each item marked as TODO in an agenda overview. Also setting it as category would make it necessary duplicate the text of the headline. I guess what I really want is a sparse tree with all top level headlines removed that contain no match. What about follow mode in the agenda? The one thing that follow mode does not do is to reveal all contexts of all TODO or otherwise relevant items at once. Often my entries marked as TODO have some short text that only makes sense with its parents, such as call again or reply, so when there are many of these items in the agenda, with follow mode I can only reveal the context of one at a time and have to keep all of the previous ones in short memory. Which is possible to a certain degree, but eventually reaches the limit of my short memory capacity ... When I put all headlines under a single top-level item such as Projects, the sparse-tree does almost what I want (except that it does not aggregate multiple agenda org-files). But having a single top level parent feels a bit wrong. Til ___ 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] Compilation warnings from latest org from git
Hello Carsten, Bastien! Just noticed some odd messages from compilation of latest org from git. ,[ org-clock ] | emacs -batch -q -no-site-file -eval (progn (add-to-list (quote load-path) \/usr/local/share/emacs/site-lisp\) (add-to-list (quote load-path) (expand-file-name \./lisp/\))) -f batch-byte-compile lisp/org-clock.el | | In end of data: | org-clock.el:1550:1:Warning: the function `popup-menu' is not known to be | defined. | Wrote /home/zms/elisp/org-mode.git/lisp/org-clock.elc ` ,[ org-html ] | emacs -batch -q -no-site-file -eval (progn (add-to-list (quote load-path) \/usr/local/share/emacs/site-lisp\) (add-to-list (quote load-path) (expand-file-name \./lisp/\))) -f batch-byte-compile lisp/org-html.el | | In org-export-as-html: | org-html.el:1444:10:Warning: `format' called with 4 args to fill 0 format | field(s) | Wrote /home/zms/elisp/org-mode.git/lisp/org-html.elc ` ,[ org-mouse ] | emacs -batch -q -no-site-file -eval (progn (add-to-list (quote load-path) \/usr/local/share/emacs/site-lisp\) (add-to-list (quote load-path) (expand-file-name \./lisp/\))) -f batch-byte-compile lisp/org-mouse.el | | In org-mouse-yank-link: | org-mouse.el:645:9:Warning: assignment to free variable | `mouse-selection-click-count' | | In end of data: | org-mouse.el:1152:1:Warning: the following functions are not known to be | defined: popup-menu, mouse-save-then-kill, mouse-set-point, | mouse-drag-region | Wrote /home/zms/elisp/org-mode.git/lisp/org-mouse.elc ` ,[ org-src ] | emacs -batch -q -no-site-file -eval (progn (add-to-list (quote load-path) \/usr/local/share/emacs/site-lisp\) (add-to-list (quote load-path) (expand-file-name \./lisp/\))) -f batch-byte-compile lisp/org-src.el | | In end of data: | org-src.el:472:1:Warning: the function `mouse-set-point' is not known to be | defined. | Wrote /home/zms/elisp/org-mode.git/lisp/org-src.elc ` Best regards, -- Manish ___ Emacs-orgmode mailing list Remember: use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
Re: [Orgmode] Re: Automatic indentation of org tree
At Mon, 3 Aug 2009 06:36:17 +0200, Carsten Dominik wrote: [...] This solution is for Emacs 23 only, but I believe it is more stable, so I am shipping it now with Org. If anyone wants to try before the next release, put #+STARTUP: indent into a file after pulling the latest git version. I like it! However, it obviously isn't intended for use for files where only odd level headings are used? In any case, I still have to use Emacs 22 on one computer so cannot switch over (although would like to!). ___ 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] Refile error - Kill is not a (set of) trees
Hi -- I have more information on this error. I think I've traced it down to whether the command is actually killing the current element in the first place. I had a clipboard management function working in Quicksilver and got rid of that in order to test this better. I got an error on refiling, but it was a different error this time. One about the element being empty, IIRC. Am I misunderstanding refile? Do I have to do more than have the cursor on the line to be moved? And is there a way I can further backtrace this so that it might be useful for troubleshooting by others? Or screencast the error so you can see I am not making this up? I am enamored of orgmode now, but I'm on the verge of abandoning it because I have a notes file from which I cannot conveniently refile tasks and it's becoming unmanageable. -- Michael On Jun 26,2009, at 1:14 AM, Carsten Dominik wrote: I am unable to reproduce this problem. - Carsten On Jun 25, 2009, at 7:42 PM, Michael Gilbert wrote: I am a noob - drawn to the alien world of Emacs (from my familiar Mac environment) by OrgMode. I am uncertain enough that I don't rightly know if this is best described as an OrgMode error or an Emacs error. Most likely a human error, I guess. I am using last night's Aquamacs build: GNU Emacs 23.0.94.1 (i386- apple-darwin9.7.0, NS apple-appkit-949.46) of 2009-06-23 on BRAEBURN.PSY.CMU.EDU - Aquamacs Distribution 2.0dev. Org-mode 6.21b. In OrgMode, I am trying to learn to refile tasks. I use C-c C-w on a TODO item in a notes file. It goes through the process of allowing me to select the destination for the item. But then it throws an error - Kill is not a (set of) trees etc - every time. Doesn't kill the TODO and obviously doesn't yank it to the new location. Are you selecting a region before calling the command? That region might be not a valid tree. I have done this with the point (that's the emacs word for cursor, right?) in a TODO item. I have done it with the entire item selected as a region. I am happy to backtrace this or test in whatever way is needed. I knew I was getting into something complex here. ___ 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] Errors in git?
Hello, I just cloned git on a remote machine, and I'm getting the following error using Emacs 23.1.50.2 to make install. I just tried on two machines. Wrote /home/zellerm/workspace/opt/org-mode/lisp/org-agenda.elc emacs -batch -q -eval (progn (add-to-list (quote load-path) \~/workspace/opt/emacs/share/emacs/site-lisp\) (add-to-list (quote load-path) (expand-file-name \./lisp/\))) -f batch-byte-compile lisp/org-ascii.el In toplevel form: lisp/org-ascii.el:29:1:Error: Symbol's function definition is void: backup-inhibited make: *** [lisp/org-ascii.elc] Error 1 I had to change org-exp.el to compile: diff --git a/lisp/org-exp.el b/lisp/org-exp.el index 98de3cb..dbeaefc 100644 --- a/lisp/org-exp.el +++ b/lisp/org-exp.el @@ -2511,8 +2511,8 @@ directory. (file-truename bfname)) (concat (file-name-sans-extension filename) -source. - (file-name-extension filename) - filename))) + (file-name-extension filename + filename) (backup-inhibited t) (buffer (find-file-noselect filename)) (region (buffer-string))) Apologies if this is just something I did wrong, but all I did was git clone and change the Makefile! Not sure how the mismatched parens creeped in. Thanks, ~Michael Zeller ___ 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] Newbie Questions
Hi Andrew, On 2009-07-09, Andrew M. Nuxoll nux...@up.edu wrote: 3. Once I set a deadline for a task, it'd be nice if the priority would increase as the deadline approached. Ideally the criteria for increasing the priority could be specified via a customizable formula. Does this functionality (or anything like it) exist? I do not use priority-as-calculated. That is, I don't sort by closeness to deadline, etc. That way, everything is in a consistent order, which I find pleasing. I sort by my fixed urgency and priority-as-set-by-user. This almost certainly violates GTD, but priorities and urgencies work for me. Org flexibly supports any method you want. I do, however, rely on the agenda's built-in faces, and the second colum that says Deadline etc., for status. These are very useful. I have a thorough testcase for this and found several potential bugs that I will report on in a separate post. ___ 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] test case for scheduled and deadline, with bug report
Here is the testcase input. The rest is exported to ascii for easier reading. *** 1 scheduled today and deadline safely outside warning DEADLINE: 2009-09-17 Thu SCHEDULED: 2009-08-03 Mon *** 2 scheduled earlier than today, deadline /safely outside warning/ DEADLINE: 2009-09-17 Thu SCHEDULED: 2009-07-27 Mon *** 3 scheduled today and deadline warning DEADLINE: 2009-08-05 Wed SCHEDULED: 2009-08-03 Mon *** 4 scheduled earlier than today, deadline /warning/ DEADLINE: 2009-08-05 Wed SCHEDULED: 2009-07-27 Mon *** 5 scheduled earlier than today, deadline /due today/ DEADLINE: 2009-08-03 Mon SCHEDULED: 2009-07-27 Mon *** 6 scheduled earlier than today, deadline /overdue/ DEADLINE: 2009-08-01 Sat SCHEDULED: 2009-07-27 Mon test case for org agenda with a task with deadline and scheduled timestamps === Table of Contents = 1 note: if you try this, try it today [2009-08-03 Mon] 2 input (note the italics) 2.1 1 scheduled today and deadline safely outside warning 2.2 2 scheduled earlier than today, deadline /safely outside warning/ 2.3 3 scheduled today and deadline warning 2.4 4 scheduled earlier than today, deadline /warning/ 2.5 5 scheduled earlier than today, deadline /due today/ 2.6 6 scheduled earlier than today, deadline /overdue/ 3 colophon 4 results, output 5 comments 1 note: if you try this, try it today [2009-08-03 Mon] ~~~ 2 input (note the italics) ~~~ 2.1 1 scheduled today and deadline safely outside warning == DEADLINE: 2009-09-17 Thu SCHEDULED: 2009-08-03 Mon 2.2 2 scheduled earlier than today, deadline /safely outside warning/ == DEADLINE: 2009-09-17 Thu SCHEDULED: 2009-07-27 Mon 2.3 3 scheduled today and deadline warning === DEADLINE: 2009-08-05 Wed SCHEDULED: 2009-08-03 Mon 2.4 4 scheduled earlier than today, deadline /warning/ === DEADLINE: 2009-08-05 Wed SCHEDULED: 2009-07-27 Mon 2.5 5 scheduled earlier than today, deadline /due today/ = DEADLINE: 2009-08-03 Mon SCHEDULED: 2009-07-27 Mon 2.6 6 scheduled earlier than today, deadline /overdue/ === DEADLINE: 2009-08-01 Sat SCHEDULED: 2009-07-27 Mon 3 colophon ~~~ - must be run on the same date as the deadline due date - strategy is effectively time-up category-keep 4 results, output ~~ remember: In 2 d.: 3 scheduled today and deadline warning :norefile:: remember: In 2 d.: 4 scheduled earlier than today, deadline /warning/ :norefile:: remember: Deadline: 5 scheduled earlier than today, deadline /due today/ :norefile:: remember: In -2 d.: 6 scheduled earlier than today, deadline /overdue/ :norefile:: remember: Scheduled: 1 scheduled today and deadline safely outside warning :norefile:: remember: Sched. 8x: 2 scheduled earlier than today, deadline /safely outside warning/ :norefile:: remember: Scheduled: 3 scheduled today and deadline warning :norefile:: remember: Sched. 8x: 4 scheduled earlier than today, deadline /warning/ :norefile:: remember: Sched. 8x: 5 scheduled earlier than today, deadline /due today/ :norefile:: remember: Sched. 8x: 6 scheduled earlier than today, deadline /overdue/ :norefile:: 5 comments ~~~ 1) i do believe that it is important to support tasks having both scheduled and deadline. i assume that other combinations are not necessary. these include appointment with scheduled, appointment with deadline, and appointment with scheduled and deadline. those can be separate tasks. 2) 3 4 5 6 are duplicated. i think that this should be eliminated, as the op in a previous thread suggests. 3) for some tasks, the deadline/scheduled column prioritizes telling us about scheduled. i think that deadline is more important, so that should be shown instead unless the deadline is safely outside the warning period. other tasks do this correctly. 4) 1 and 3 are likely not important to distinguish (unlike with deadlines, there is nothing /particularly/ special about the fact that scheduled began exactly today). 5) faces are very important for 2 4 5 6. that is, i think that there should probably be 4 separate faces for 2 4 5 6. the reason for this is that imo the most important information the user needs is deadline: 1 safe, 2 within warning, 3 due today, and 4 overdue. this is not the case currently. i think that 1 and 3 should be assigned the same face as 2 and 4, respectively, to keep the
Re: [Orgmode] [misc-new-features 2/5] Bugfixes, documentation and custom options for org-checklist.
Hi Carsten, On 2009-08-03 16:47:55(+0200), Carsten Dominik wrote: I have applied this patch, with one modification: I added a 'no-erro argument to the (load a2ps-print) form, to make sure that people who have not installed a2ps-print.el can still use the other functionality in your package. Please let me know if this was not the right thing to do. Yes, that's fine. James -- |-James TD Smith-email/ahktenz...@mohorovi.cc-| ___ 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] refile ideas
Hi Carsten, On 2009-08-02, Carsten Dominik carsten.domi...@gmail.com wrote: If you mark some headlines (for example you remember targets) with a tag like r, you could make yourself a restricted refile command like this: (defun my-org-restricted-refile () (interactive) (let ((org-refile-targets '((org-agenda-files :tag . r (call-interactively 'org-refile))) Not what you proposed, but maybe useful. I like it. It gives me an idea for remember. For consistency, we can optionally make remember use restricted refile as you propose above. The way it would work is this. A template can optionally specify only format, not target location. When that is the case, c-c c-c in the remember buffer asks you where you want to file using restricted refile. I would definitely use this, because I want to have the time between idea and text as short as possible. Deciding the target location does not need to happen before the text. This would allow reduction of remember templates to just the ones that have different formats. It would allow you to remember to different locations from a given template, and different templates to a given location, without increasing the number of templates or going to a full refile interface. In my case, a full refile interface is /very/ slow when it gathers candidates. But a restricted refile is much faster and reduces human error. ___ 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] Comments in Org-mode
Hi Carsten, On 2009-08-02, Carsten Dominik carsten.domi...@gmail.com wrote: Yes. Running this command sets the variable comment-start, which then breaks automatic filling. I have never understood why, it would be nice to fix this problem, but I don't know how. It works for me. However, I don't know if the fix was my changes to filladapt or the fact that I set comment-start to be buffer-local. See my posts earlier in this thread. Samuel's solution to use filladapt might work, but it replaces much of Org's wrapping code with something else - which I don't really want. It does work for me, for what it's worth :). But perhaps suitable for contrib. ___ 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] formula
Dear Carsten , Thanks ! That's exactly what I was in need of: a combination of a column-formula and relative references in the formula. So far, so good. Now, I have the formula line like this #+TBLFM: $...@-1$5 + @-0$3 - @-0$4 and the very line I typed the formula gets calculated fine. If I want another line into the bus, I go to the empty field in the same column in another line, and go to the Calculate menu, and choose recalculate line, and the fine result appears there , as expected. But if I approach Calculate / Recalculate all , in fact , nothing happens. I tried many times, without result. Recalc line works perfectly, but that does not seem what I'm looking for, which would be a recalculation of all the fields in the column that holds my column-formula. I'll continue reading until I find out, but if you come up with an answer earlier I'd be grateful in advance ! :-) best , haroldo 2009/8/3 Carsten Dominik carsten.domi...@gmail.com Hi Haroldo, You cannot copy a formula easily from one field t the next with shifting the reference like you would do in a normal spreadsheet. However, you can use relative references (see the manual) in order to write formulas in an invariant way, and then use basic editing commands in the C-c ' buffer to define the formula for many fields. Even better, use a column formula which allows you to write a single formula for an entire column. - Carsten On Aug 3, 2009, at 12:58 AM, Haroldo Stenger wrote: hi , I wonder how can a formula in a table be copied to a location below, and its references be shifted alongwise automatically. I checked every documentation I've found , but that feature does not show up. I'm forced to copy the formula in in the C-c ' and then go to each of the references and type S-downarrow as many times. I'd thank any idea here. best regards, haroldo. (thanks for org-mode, it's great) ___ Emacs-orgmode mailing list Remember: use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode ___ Emacs-orgmode mailing list Remember: use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
Re: [Orgmode] Re: limit agenda to particular tag?
For me the the custom-commands did not work eitther. It seems that somehow iy does not take the inherited tags. I tried to avoid appearing the :WEEKLY: tags in another agenda view but it did not worked I tried (li eliminating WEEKLY tags agenda ((org-agenda-ndays 7) ;; agenda will start in week view (org-agenda-repeating-timestamp-show-all t) ;; ensures that repeating events appear on all relevant dates (org-agenda-log-mode-items '(state)) (org-agenda-skip-function '(org-agenda-skip-entry-if 'regexp :WEEKLY:) ) ) ) Daniel 2009/7/29 John SJ Anderson geneh...@genehack.org Memnon Anon gegendosenflei...@gmail.com writes: John SJ Anderson geneh...@genehack.org writes: Is there a way to display an agenda (like 'C-a a' does) but have it limited to items that have a particular tag? (E.g., so I can see only '@WORK' items when at work.) Either use your agenda and use / to limit the view to what you want. Or create a custom agenda command: I have something like this: I couldn't get the custom-commands code you posted to work, but the 'C-c a a / TAG' thing you and Matthew both pointed out is exactly what I was looking for -- thanks to both of you. chrs, john. -- I believe in getting into hot water; it keeps you clean. - G. K. Chesterton ___ Emacs-orgmode mailing list Remember: use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode ___ Emacs-orgmode mailing list Remember: use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
[Orgmode] A Couple of GTD Weekly Review repeating tasks, and a GTD Project Yasnippet
Hi Crew I have a couple of weekly review tasks that I thought I would share. These are from both Getting things Done and Making it all Work (David Allen). I've also attached my weekly review agenda command that works In tandem with it. Finally, I have attached a new-and-improved yasnippet for projects. For me, I needed to empty my head once every two weeks, but you might opt to merge the weekly and bi-weekly reviews. I've found that keeping a checklist like this makes it easy to deal with any interruptions that come up in the middle of my reviews. I set up my custom agenda commands with a couple of helper functions (also included) to make tag searches a little easier to express. They're not perfect, but they work for now. The Project YaSnippet uses elisp to determine the correct placement for headlines, this way it will work on any headline level. Enjoy! *** TODO Perform GTD Dump [0%] SCHEDULED: 2009-08-07 Fri ++1w - Get Clear - [ ] Clean off desk - [ ] Clean out bag - [ ] Process any written notes on Huge Pad - [ ] Clean out [[file:GTD.org::*Inbox][Inbox]] - [ ] Clean out Outlook inbox - [ ] Clean off (computer) desktop [[file:C:/Documents%20and%20Settings/jonathana/Desktop]] - [ ] Check Desktop Download Folders [[file:C:/Documents%20and%20Settings/jonathana/Desktop/Download]] - [ ] Review last week of Email - [ ] Review [[file:GTD.org::*Daily%20Development%20Journal]] - [ ] Review Past weeks Calendar - Get Current - [ ] Review Next Months Calendar - [ ] Review Stuck projects - [ ] Review Project Agenda - [ ] Review Next Action Agenda - [ ] Review Waiting Agenda - Get Creative - [ ] Review Someday Maybe Agenda - [ ] Review someday Maybe List [[file:Personal.org::Someday-Maybe] - [ ] Do Something Creative and Couragous :PROPERTIES: :RESET_CHECK_BOXES:t: :LAST_REPEAT: [2009-08-02 Sun 12:21] :END: *** TODO Bi-weekly review SCHEDULED: 2009-08-10 Mon ++14d :PROPERTIES: :RESET_CHECK_BOXES: t: :LAST_REPEAT: [2009-07-28 Tue 21:19] :END: - [ ] Empty Head - [ ] Professional - [ ]Projects started, not completed - [ ] Projects that need to be started - [ ] Commitments/promises to others - [ ] Boss/partners - [ ] Colleagues - [ ] Subordinates - [ ] Other people in organization - [ ] Outside people - [ ] Customers - [ ] Other organizations - [ ] Professionals - [ ] Communications to make/get - [ ] Internal/External - [ ] Initiate or respond to: - [ ] Phone calls - [ ] Voice-mail - [ ] E-mail - [ ] Pages - [ ] Faxes - [ ] Letters - [ ] Memos - [ ] Other writing to finish/submit - [ ] Reports - [ ] Evaluations/reviews - [ ] Proposals - [ ] Articles - [ ] Promotional materials - [ ] Manuals/instructions - [ ] Rewrites and edits - [ ] Meetings that need to be set/requested - [ ] Who needs to know about what decisions? - [ ] Significant read/review - [ ] Planning/organizing - [ ] Formal planning (goals, targets, objectives) - [ ] Current projects (next stages) - [ ] Upcoming projects - [ ] Business/marketing plans - [ ] Organizational initiatives - [ ] Upcoming events - [ ] Meetings - [ ] Presentations - [ ] Organizational structuring - [ ] Changes in facilities - [ ] Installation of new systems/equipment - [ ] Travel - [ ] Administration - [ ] Legal issues - [ ] Insurance - [ ] Personnel - [ ] Policies/procedures - [ ] Systems - [ ] Phones - [ ] Computers - [ ] Office equipment - [ ] Other equipment - [ ] Utilities - [ ] Filing - [ ] Storage - [ ] Inventories - [ ] Supplies - [ ] Office/site - [ ] Office organization - [ ] Furniture - [ ] Decorations - [ ] Waiting for... - [ ] Information - [ ] Delegated tasks/projects - [ ] Completions critical to projects - [ ] Replies to: - [ ] Letters - [ ] Memos - [ ] Calls - [ ] Proposals - [ ] Requistions - [ ] Reimbursements - [ ] Petty cash - [ ] Insurance - [ ] Ordered items - [ ] Items being repaired - [ ] Tickets - [ ] Decisions of others - [ ] Professional
[Orgmode] Moving rows up without collapsing the view
When I try to move a row up using org-metaup (M-up) the subtrees immediately all fold up. Is there any way to prevent this folding from occurring? My apologies if this is covered somewhere; I could not find this in the manual or upon searching. I also looked in org.el and did not see any variable that org-move-subtree-down would look for the avoid the final lines beginning with (unless folded). Thank you very much, - Raffi. ___ 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] Day workflow: need your opinion
Hi, I am not a serious org-mode user but I am trying to use it again for daily task planning (which everytime I tried, failed at ;)). I did my lectures thanks to the worg project (Bernst and John lecture were a real pleasure and sort of a non hittable dream to me) but I still not clear how I could take advantage of all I read (Bernst project concept is rather hard to understand for me, it lacks examples IMO). My main problem is that, at my work position (DBA), urgency is not given by what I plan to do but by whom is calling me -i.e if someone is calling me, it often means forget what you were doing and do this instead. Given my fabulous talent of procrastination, this does not really help get organized and thus this does not help in getting things done. How would you use org-mode in this situation ? Ex: a) I doing some non urgent (planned) DBA tasks (call this project A) b) someone calls me (interrupting Project A) c) I am doing what urgency of b) is needed d) when c) is finished, I get back to project A At my job, they often rules the retro planning concept which is bloat. So how would you manage such situation in org-mode ? Thank you, Xavier ___ 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