Re: Editting from the agenda view
Shérab writes: >> To reschedule an entry remotely from the agenda view, you can press S-right >> (org-agenda-do-date-later) or S-left (org-agenda-do-date-earlier). > > I indeed remember having seen these commands! > The thing is that I am using emacs in the Linux console where these > bindings do not work, so I couldn't try them. Is there a way to bind > them to different key bindings? Check out 'TTY Keys' in the orgmode manual. , [ (org) TTY keys ] | 15.9 Using Org on a tty | === | | Org provides alternative key bindings for TTY and modern mobile | devices | that cannot handle cursor keys and complex modifier key chords. Some | of | these workarounds may be more cumbersome than necessary. Users should | look into customizing these further based on their usage needs. For | example, the normal ‘S-’ for editing timestamp might be better | with ‘C-c .’ chord. [...] ` Checking org-agenda-do-date-later, I see , | org-agenda-do-date-later is an interactive compiled Lisp function in | ‘../org-mode/lisp/org-agenda.el’. | | It is bound to , C-c C-x , | . ` So C-c C-x should be a tty friendly alternative to . hth mem -- /---\ | SDF and SDF-EU Public Access UNIX System | | http://sdf.org || http://sdf-eu.org | =
Re: [O] Problems with org-drill
Milan Zamazalwrites: > Anything new about this problem? I also experience the bug, it's still > present and I have to remove the given line on any Org update. :-( Bugtracker: https://bitbucket.org/eeeickythump/org-drill/issues/30/random-blank-buffer-2 Little function by jschaf: https://github.com/jschaf/dotfiles/commit/263a0f1607350e0cdacc7229d775ab50520949f0 I'm still trying to find the bugreport for the bug mentioned here in org.el defun org-toggle-latex-fragment : + ;; Work around a bug that doesn't restore window's start + ;; when widening back the buffer. + (set-window-start nil window-start)
Re: [O] Org Mode and PDF Notes!
Matt Price <mopto...@gmail.com> writes: > On Wed, Nov 11, 2015 at 12:09 PM, Memnon Anon < > memnon+use...@freeshell.org> wrote: > > http://planet.emacsen.org/\ > > But I can't figure out how to add my blog to the list there! Can you > tell me the secret? http://edward.oconnor.cx/2009/11/planet-emacsen-turns-3 , | If you’d like me to add your Emacs feed to Planet Emacsen, send me an | email [mailto:hob...@gmail.com] and I’ll get right on it. ` While you are at it, please ask him to put that info somewhere more visible on the site itself... -- /---\ | SDF and SDF-EU Public Access UNIX System | | http://sdf.org || http://sdf-eu.org | =
Re: [O] Org Mode and PDF Notes!
Matt Pricewrites: > [...] Since my blog > has, I think, a readership of 0 (surely there's a way to get emacsers > to follow me? ah well), I will post a link here [...] http://planet.emacsen.org/ -- /---\ | SDF and SDF-EU Public Access UNIX System | | http://sdf.org || http://sdf-eu.org | =
Re: [O] org-mode + icicles, avoid key binding redefinitions?
John Kitchin jkitc...@andrew.cmu.edu writes: I am trying it out, and icicles seems to have clobbered a few key bindings like C-c ' to open source blocks. I used to have the same problem with C-c ' at one point in time, but not anymore. This was the only binding which got in the way. Using customize-option on icicle-top-level-key-bindings, I see that C-c ' is no longer bound to icicle-occur, not sure if Drew changed that binding at one point, or I disabled it. Be sure to require icicles as late as possible; do you see this problem when you load icicles not from your init.el but by hand with - M-x load library RET icicles RET - M-x icy-mode RET ? Current Version of icicles from emacswiki, or some prepackaged (debian) version? Mem -- /---\ | SDF and SDF-EU Public Access UNIX System | | http://sdf.org || http://sdf-eu.org | =
Re: [O] org-mode + icicles, avoid key binding redefinitions?
John Kitchin jkitc...@andrew.cmu.edu writes: I got icicles via ELPA. The version from describe-package is Version: 20140118.1856. although in icicles.el it says ;; Version: 2013.07.23. That is the current version. Icicles isn't only icicle.el, Drew has actually a whole bunch of elisp addon packages. Some I use, some I don't. Thanks for the tip about the binding variable. I am content with this in my init file: (require 'icicles) ;; reclaim C-c ' for org-mode (setq icicle-top-level-key-bindings (remove '(^C' icicle-occur t) icicle-top-level-key-bindings)) (icy-mode 1) which seems to get me back the org-binding. Okay. As I said, I found this the only one conflicting with org (or other packages). Just remember to require icicles at the very end of your config, and everything should work. Is there a convenient way to update icicles from emacs? I use icicles-install.el, which simply downloads files from emacswiki and optionally byte compiles them. AFAIK, that is still the main repo, I wasn't aware of the elpa package, good to know. If you are interested, I changed some keybindings, see: http://memnon.sdf-eu.org/emacs.org in Section Icicles. Essential for me are these changes to the icicle completion keymap: ;; C-o is next to C-i. S-Tab doesn't work on tty. (define-key map \C-o 'icicle-apropos-complete) ; S-Tab ;; Narrowing is isearch in a sense. C-s in minibuffer is rarely ;; used. M-* is a horror to type for something I use so often. (define-key map \C-s 'icicle-narrow-candidates) ; M-* ;; History search is isearch-backward chronologically:-) (define-key map \C-r 'icicle-history) ; M-h ; again, tty friendly version. (define-key map \C-t 'icicle-help-on-candidate) ; C-M-RET With that 4 bindings adjusted, icicles is really fun to use. Takes some time getting used to, but I think it is worth it. Memnon -- /---\ | SDF and SDF-EU Public Access UNIX System | | http://sdf.org || http://sdf-eu.org | =
Re: [O] Feature request: info-org-manual
Marcin Borkowski mb...@wmi.amu.edu.pl writes: and - even though I've read the Org-mode manual (almost) cover to cover - I now also grepped it: this command is never mentioned there! So I guess that my lack of knowledge was justifiable. :) Well, the manual does not contain everything; never did, never will. One quick 'n easy way to find it with apropos and Icicles (my own keybindings...): 1. C-u C-h f 2. org- 3. Tab (=icicle-prefix-complete) 4. C-s (=icicle-narrow-candidates) 5. info = ,[ *completion buffer* ] | org-add-planning-info org-babel-view-src-block-info | org-infoorg-table-field-info | org-texinfo-convert-region-to-texinfo ` or M-x apropos-command for org info ... Memnon
Re: [O] how i can unsubscribe this mail list
Looking at the header of your mail (`t' in gnus :), you'll see this line: List-Unsubscribe: https://lists.gnu.org/mailman/options/emacs-orgmode, mailto:emacs-orgmode-requ...@gnu.org?subject=unsubscribe So, did you try to send an email to emacs-orgmode-requ...@gnu.org with the a subject unsubscribe ? hth Memnon
[O] orgstruct in emacs -nw
Hi, I tried to use the orgstruct minor mode, but it didn't seem to do anything, although I used exactly the same setup Bastien showed in his interview[1]. After a while, I realized it was because I was using emacs in an xterm. Steps to reproduce below.[2] Wrong setup, a bug or intentional? If it is supposed to work that way, it should perhaps be mentioned in the manual. I also saw that Bastien somehow got colortheme support for orgstructlines in elisp files. My cyberpunk doesn't do that OOTB, so I guess I need to have a look at outshine[3] for that? TIA Memnon Footnotes: [1] https://www.youtube.com/watch?v=fnk0TJC7iJI Nice one ;) [2] * 1) emacs -Q -nw * 2) load version from git: (add-to-list 'load-path path/to/org-mode/lisp) (add-to-list 'load-path path/to/org-mode/contrib/lisp) (add-to-list 'load-path path/to/org-mode/contrib/babel/lisp) (require 'org) * 3) M-x find-file ~/orgstruct.test ,[ ~/orgstruct.test ] * test ** test ** test 2 ` * 4) M-x orgstruct++-mode * 5) Tab does not cycle while on `* test' headline But it does when emacs is started with emacs -Q in 1) and same steps applied. This is with: ELISP (org-version t t t) Org-mode version 8.0.3 (release_8.0.3-147-g06cdb2 @ /home/memnon/tmp/bin/org-mode/lisp/) ELISP (emacs-version) GNU Emacs 24.3.50.1 (i486-pc-linux-gnu, GTK+ Version 3.4.2)\n of 2013-05-11 on gkar, modified by Debian [3] http://orgmode.org/worg/org-tutorials/org-outside-org.html#fontification-navigation-and-structure-editing
Re: [O] orgstruct in emacs -nw
Christopher Schmidt christop...@ch.ristopher.com writes: Wrong setup, a bug or intentional? This is a bug. Can you please give this patch a try and see if it corrects the issue? Apply it on master (06cdb2d). Thanks! Patch applied, Tab works. I will test it more thoroughly over the next days. Thanks! Memnon
[O] [OT] Contributors to org.texi (was: GFDL)
Sebastien Vauban sva-n...@mygooglest.com writes: Bastien wrote: Well, relicensing the Org compact guide under GNU GPL is definitely feasible, but relicensing the Org manual is (sadly) not. Let's take the feasible step first? FMI, why is GNU GPL not applicable to the manual? Hehe, on an unrelated side note, that made me curious: Who did actually end up in org.texi, and how would I start to find out? 0. $ git blame -C -C -M -e org.texi ~/git-blame.txt (I searched the web for that ;) 1. We are only interested in the email addresses, so quick clean up with a keyboard macro. 2. Get rid of duplicates: M-x sort-lines C-x h M-x shell-command-on-region uniq And... I see 67 different addresses. Some clearly belong to one person, so getting rid of the obvious ones my count goes down to ... 58? Wow... Fun. Back to work :) Memon
Re: [O] Is it possible to create links to M-x occur results?
Carsten Dominik carsten.domi...@gmail.com writes: On 2.5.2013, at 19:25, Leo Alekseyev dnqu...@gmail.com wrote: Nice! Short and sweet, and works great. It should go on orgmode.org somewhere in the cool hacks section. Make a patch if you don't have write access to worg... It is probably easier to fix it directly... http://orgmode.org/worg/worg-git.html should get you started with that. Go ahead, it is really not that difficult ;). And if things get messed up, it is VC after all, so very easy to fix any 'mistake' that may have happened. Memnon
Re: [O] Tracking flexitime
Thomas Koch tho...@koch.ro writes: I'm searching for best practices to track flexi time with orgmode. I've a work contract of 8 hours per day in average. So I'd like to start a clock when I arrive at work, pause it for lunch and stop it when I leave. I wouldn't like to rely only on the sum of the time spent on tasks since there is always work time that can hardly be assigned to a specific task. Nebulous tasks that can hardly be assigned should be avoided IMHO. However, if you really find you have them and don't want to bother expressing them in a precise fashion, what about a task for that, e.g. Project A Clean-up? Your work day starts when the clock starts on a :WORK: task. You want to have lunch? Clock in a Lunch or Break task, that does not have a :WORK: tag. I don't really see the need for a second clock so far?! Memnon
Re: [O] Release 8.0
Bastien b...@gnu.org writes: I'm releasing Org 8.0. Excellent. To include other entries too, you can set the limit to a negative number. For example (setq org-agenda-max-tags 3) (setq org-agenda-max-tags -3) ? will not show the fourth tagged headline (and beyond), but it will also show non-tagged headlines. Use `%s' for displaying breadcrumbs in the agenda view ^%b • New speedy key `s' pour org-narrow-to-subtree Memnon
Re: [O] Is there a limit to number of entries in org-feed.el?
Aditya Mandayam adity...@gmail.com writes: I tried using org-feed: http://orgmode.org/worg/org-contrib/org-feed.html and it returns 70 entries when I try to update. Is there a limit to the amount it can pull? Or is it me? FWIW, with a quick test, I can't reproduce that. Some more information about your setup would be useful, here is what I tested with: ELISP (emacs-version) GNU Emacs 24.3.50.1 (i486-pc-linux-gnu, GTK+ Version 3.4.2)\n of 2013-04-04 on dex, modified by Debian ELISP (org-version t t) Org-mode version 8.0-pre (release_8.0-pre-213-g6caddb @ /home/memnon/bin/elisp/org-latest/lisp/) ELISP org-feed-alist ((Alles http://www.pro-linux.de/NB3/rss/1/2/rss10_alles.xml; ~/test.org Alles Entries) (Nachrichten http://www.pro-linux.de/NB3/rss/2/2/rss10_aktuell.xml; ~/test.org Nachrichten Entries) (Security http://www.pro-linux.de/NB3/rss/5/2/rss10_sicherheit.xml; ~/test.org Security Entries) (Spiegel Topmeldungen http://www.spiegel.de/schlagzeilen/tops/index.rss; ~/test.org Spiegel Top Entries) (Spiegel Eilmeldungen http://www.spiegel.de/schlagzeilen/eilmeldungen/index.rss; ~/test.org Spiegel Eil Entries) (Spiegel Alles http://www.spiegel.de/schlagzeilen/index.rss; ~/test.org Spiegel Alles Entries)) ,[ M-x org-feed-update-all; Example output *Messages* ] | Contacting host: 127.0.0.1:8118 | Saving file /home/memnon/test.org... | Wrote /home/memnon/test.org | Added 0 new item from feed Alles to file test.org, | heading Alles Entries | Contacting host: 127.0.0.1:8118 | Saving file /home/memnon/test.org... | Wrote /home/memnon/test.org | Added 0 new item from feed Nachrichten to file test.org, | heading Nachrichten Entries | Contacting host: 127.0.0.1:8118 | Saving file /home/memnon/test.org... | Wrote /home/memnon/test.org | Added 0 new item from feed Security to file test.org, | heading Security Entries | Contacting host: 127.0.0.1:8118 | No new items in feed Spiegel Topmeldungen | Contacting host: 127.0.0.1:8118 | No new items in feed Spiegel Eilmeldungen | Contacting host: 127.0.0.1:8118 | Clipboard pasted as level 2 subtree [2 times] | Position saved to mark ring, go back with C-c . | Saving file /home/memnon/test.org... | Wrote /home/memnon/test.org | Added 2 new items from feed Spiegel Alles to file test.org, | heading Spiegel Alles Entries | 2 new entries from 6 feeds ` Memnon -- (org) Feedback : For bug reports, please first try to reproduce the bug with the latest version of Org available [...]. If the bug persists, prepare a report and provide as much information as possible [...]
Re: [O] Is there a limit to number of entries in org-feed.el?
Memnon Anon gegendosenflei...@googlemail.com writes: ,[ M-x org-feed-update-all; Example output *Messages* ] [...] | 2 new entries from 6 feeds ` And in a previous run, I got: 72 new entries from 6 feeds So, I can see no upper limit in the code at a first glance, and even if there is one, it's not 70. Memnon
Re: [O] Effort Per Day
daya atapat...@gmail.com writes: There are some tasks on which I would like spend a specified time of the day. I would like to set a per-day effort on these tasks. The current effort system seem to support effort per task, not effort per day. What is the recommended way of doing this? What about something like: *** TODO [#C] Read Mail/News :LOGBOOK: [...] :END: 2013-04-03 Mi .+1d :PROPERTIES: :Effort: 0:45 :LAST_REPEAT: [2013-04-02 Di 18:29] :END: ?
Re: [O] Carsten's Interview relates questions, esay insert images, attachemnt locations etc..
zeltak zel...@gmail.com writes: one thing that i really found needing in my (very) short time using orgmode is an easy way to insert images into orgmode (i use that alot in academia). are there any long term plans to implement this? It would help to clarify the usecase you are thinking of. I am happy with dired and org-store-link so far. Memnon
[O] [OT] Replacement for Google Reader (was: Org-mode as a replacement for Google Reader)
Karl Voit devn...@karl-voit.at writes: TL;DR: org-feed.el is not a doable replacement for Google Reader. What about alternatives? NNTP: - gwene.org Mail: - rss2email Web: - rawdog - Tiny Tiny Rss hth Memnon
Re: [O] A mix of habits and effort estimates?
Marcin Borkowski mb...@wmi.amu.edu.pl writes: As I mentioned (though only in the subject), yes. This is close, but my point is not I want to do this at least once each three days or something like this, but rather I want to spend at least 180 minutes every week on this - regardless of days. Of course, I could do it with the habits module (and if there's no other solution, I will do it like this), but what I'd like to have is actually a mixture of habits and effort estimates/clocking. Maybe a dedicated subtree like this: * Learn Tasks :learn: :PROPERTIES: :COLUMNS: %10ITEM %16SCHEDULED %5Effort{+} %5CLOCKSUM{+} :END: ** Learn Italian *** W11 [2013-03-17 So] DEADLINE: 2013-03-17 So :PROPERTIES: :Effort: 3:00 :END: STRT Task 1 SCHEDULED: 2013-03-11 Mo :LOGBOOK: CLOCK: [2013-03-16 Sa 13:12]--[2013-03-16 Sa 14:50] = 1:38 CLOCK: [2013-03-13 Mi 13:12]--[2013-03-13 Mi 14:12] = 1:00 - State STRT from TODO [2013-03-17 So 13:11] CLOCK: [2013-03-12 Di 13:11]--[2013-03-12 Di 13:30] = 0:19 :END: ** Learn Elisp *** W11 [2013-03-17 So] DEADLINE: 2013-03-17 So :PROPERTIES: :Effort: 3:00 :END: STRT Task 2 SCHEDULED: 2013-03-14 Do :LOGBOOK: - State STRT from TODO [2013-03-17 So 13:21] CLOCK: [2013-03-16 Sa 13:12]--[2013-03-16 Sa 14:50] = 1:38 CLOCK: [2013-03-13 Mi 13:12]--[2013-03-13 Mi 14:12] = 1:00 - State STRT from TODO [2013-03-17 So 13:11] CLOCK: [2013-03-12 Di 13:11]--[2013-03-12 Di 13:30] = 0:19 :END: What it does: - We have a tree `Learn Tasks' with tag `learn' (you use inheritance, don't you?), plus a dedicated column view for it. - Each subtask of that is a project like `Learn Italian' - Each project has subtrees that represent your weekly units. You can deadline them to sunday (with a special warning time if wanted) so they will come up eventually in your agenda. On this level, you can also set up your weekly time budget as an effort. - You can either clock the weekly units themselves or create subtasks which represent real actions like `learn about defun' which you can schedule (and reschedule) as you like e.g. each morning. At the end of the week, you go to your `Learn Tasks' Tree, expand it as much as you want to and do a `C-c C-x C-c' to get an overview. If you get rid of the `W11' part in the headlines of weekly units, you can simply org-clone-subtree-with-timeshift the subtree for next week as is. hth Memnon
Re: [O] posting guide?
it seems to me that this is entirely superfluous. I have not seen a mailing lit with better behavior anywhere. We should not be distracted by a lone user. FWIW, +1
Re: [O] org-agenda-files skips two files
Hi, Eric Abrahamsen e...@ericabrahamsen.net writes: I've noticed for a while that two org files in my ~/org directory never get added to org-agenda-files, and I can't figure out why. My org-agenda-files is set to '(~/org/), and yet: (dolist (f (directory-files ~/org t org$)) (unless (member f org-agenda-files) (insert (format %s: %s\n f (file-attributes f) /home/eric/org/epubnotes.org: (nil 1 1000 100 (20752 42274) (20740 56906) (20740 56906) 10673 -rw-r--r-- nil 8655230 2052) /home/eric/org/running.org: (nil 1 1000 100 (20768 26205) (20768 21290) (20768 24128) 423435 -rw-r--r-- nil 5375520 2052) Did you try edebuging defun org-agenda-files in org.el? Seems like the relevant bit that extracts all org files from the directory is: (apply 'append (mapcar (lambda (f) (if (file-directory-p f) (directory-files f t org-agenda-file-regexp) (list f))) org-agenda-files)) Are epubnotes.org and running.org getting returned with the other files? Do you have org-agenda-skip-unavailable-files set to t? Memnon
Re: [O] [Bug] Yasnippet/Org: properties messed up when expanding $1
Karl Voit devn...@karl-voit.at writes: So there does not seem to be anybody who is able to fix this issue. Is there at least somebody who can confirm this weird bug? I tried your snippet, everything fine here with: Org-mode version 7.9.3e (7.9.3e-1032-g791a8d) yas, latest git hth Memnon
Re: [O] How to improve Org startup time?
Sebastien Vauban wxhgmqzgw...@spammotel.com writes: Bastien wrote: Sebastien Vauban writes: However, I've left it in the `org-finalize-agenda-hook' hook, so that the `appt-list' is fed up as soon as I begin using agenda functions. But then org-agenda-to-appt will be called each time your generate a new agenda... not sure you really want this right. Why not simply calling it interactively when you need it? I can't count on myself to do it at a regular enough interval (at least daily). Then, this is the only (?) solution found so that the appt-list is still quite up-to-date. I am using the same setup (thanks Bernt :): - Initialize on Startup - Update on midnight for next day with run-at-time - Update frequently via org-finalize-agenda-hook The last piece eats up quite some time (couple of seconds on my ancient machine), so what about a different solution just for the last bit. E.g., updating, when an item gets scheduled/timestamped for today. Something like (pseudo code!): (defadvice org-schedule (after my-adv-update-appt activate) org-agenda-to-appt when org-last-timestamp todayp (when (= (time-to-days (org-time-string-to-time org-last-inserted-timestamp)) (org-today)) (message Updating appt!) (org-agenda-to-appt))) (defadvice org-time-stamp (after my-adv-update-appt activate) org-agenda-to-appt when org-last-timestamp todayp (when (= (time-to-days (org-time-string-to-time org-last-inserted-timestamp)) (org-today)) (message Updating appt!) (org-agenda-to-appt))) Would that work? I agree, calling it interactively feels error prone and I would probably forget it ... Memnon
Re: [O] full outline functionality in .el files: how?
Gregor Zattler telegr...@gmx.net writes: Hi Thorsten, - after figuring out that I can have full outline functionality in .el files too, the (in my eyes) main advantage of an org-based config was gone. could you please elaborate how to achieve this? Icicle uses linkd.el: http://www.emacswiki.org/cgi-bin/wiki/linkd.el Memnon
Re: [O] Wish: switch active time-stamps to inactive when CANCELED
Nick Dokos nicholas.do...@hp.com writes: But unfortunately, I know that little of ELISP, that I am not able to implement it by myself :-( Time to learn some then - and there is no better way than scratching your own itch :-) Two days later, no reply so far. I'll give it a shot. Karl, if you are still fiddling to make it work, ignore this posting and keep trying. :) [...] accomplish this with org-after-todo-state-change-hook: Write a function that checks if org-state is CANCELED [...] looks for active timestamps and calls org-toggle-timestamp-type on them. Everything there, so... --8---cut here---start-8--- (defun my-org-active-to-inactive-ts () Toggle type on active timestamp in current heading if state was changed to 'CNCL'. This function is supposed to be called by 'org-after-todo-state-change-hook. This function expects only one active timestamp to be in the headline. (when (string= org-state CNCL) ; 1. (save-excursion ; 2. (save-restriction (widen) (outline-back-to-heading t) ; 3. (narrow-to-region (point) (or (outline-next-heading) (point-max))) (when (re-search-backward (org-re-timestamp 'active) nil t) ; 4. (org-toggle-timestamp-type)) (add-hook 'org-after-todo-state-change-hook 'my-org-active-to-inactive-ts) --8---cut here---end---8--- 1.: Only when org-state is CNCL, do the rest. 2.: We are jumping around and narrowing, so let's save the way things are, first. 3.: Move point to the beginning of the current headline, make sure we only touch it by narrowing to it. If there is no next headline, point-max will do. 4.: regex search for (only) one active timestamp. When there is one, point will end up there and we toggle it. When there is none, search returns nil, nothing happens. Memnon
Re: [O] clocking ongoing items
Rainer Stengele rainer.steng...@online.de writes: I wonder how others are clocking ongoing isues, which are not really todos but more like issues collecting clocked time for work done regularly. Example: Reading mail and organising daily priorities of tasks. *** STRT [#C] Reading Mail/News 2012-12-14 Fr .+1d [...] *** STRT [#C] Tagesplanung 2012-12-14 Fr .+1d At first, I, too, thought these 'issues' are different, but I do not anymore. Memnon
Re: [O] S-TAB cycling opening archive subtrees
Vincent Beffara vbeffara...@gmail.com writes: When cycling visibility of a subtree using TAB, subtrees with the :ARCHIVE: tag are not opened, and that is a very good thing. But when I cycle a buffer globally using S-TAB, their contents are shown, which feels like the wrong thing to do ... Interesting enough, the subtree is getting closed by org-cycle-hide-archived-subtrees (in org-cycle-hook) at first, but re-opened by a later function: org-cycle-hide-inline-tasks , which calls (hide-sublevels (1- org-inlinetask-min-level)) . Its docstring says Re-hide inline task when switching to 'contents visibility state., so I guess it should only hide things, not the opposite. Memnon
Re: [O] Agenda: show only prio-A events with associated date/timestamp
I'd like to derive a custom agenda view that has following properties: - show only items with associated datestamp or timestamp (same as «is displayed in the time grid of my usual agenda») - only with priority [#A] So, your usual agenda, but only priority #As ? Or only those items with stamps that don't only signify a day but also a time(-range)? If it is possible to differ between associated datestamps/timestamps and deadlines/schedules, I'd prefer following: Examples: * shown::shown: ** TODO 2012-12-11 Tue todo with date Why should this one be shown? It is not [#A]? Memnon
Re: [O] org-drill installation problem
Sanjib Sikder sanjibju2...@gmail.com writes: (require 'org-drill) (add-to-list 'load-path ~/.emacs.d/) [...] File error: Cannot open load file, org-learn ,[ org-drill.org/Installation ] | For manual installation, put the following in your =.emacs=. You will also need | to make sure that Org's contrib/lisp directory is in the emacs load-path. ` org-learn.el is part of contrib. hth Memnon
Re: [O] Some Experiences with org-babel-load-file
Florian Beck f...@miszellen.de writes: 1. `org-babel-load-file' doesn't seem to be in the org docu. The instructions on worg are obsolete (mentions `org-install') and needlessly complicated. Just putting (package-initialize) ;; only if you use the newest org ... and the newest emacs! (require 'ob-tangle) (org-babel-load-file /path/to/your/org-init-file.org) into your .emacs (no need for .emacs.d/init.el) seems to suffice. This is one way to do it, not necessarily the only way. I don't think a 4 line init.el is that complicated ;). 4. When I babel-load my-package.org, all emacs sees is the tangled my-package.el, which of course is right. The problem, however, is that I often search for one of my functions, change it … and loose the changes the next time I start emacs (I already got zapped a couple of times). Integrating org-tangle with the emacs documentation would be tough I guess. But how about setting a read-only file locale variable to block the most stupid mistakes? How do you change your functions? If I want to do it, I tinker with them directly in my emacs.org and evaluate from there or copy the relevant bits to the *scratch* buffer and bring them back to emacs.org once it works. If the file changed, the el file gets tangled fresh automatically next time I start emacs and used right away. I don't really see a problem? Memnon
Re: [O] Possible bug in org-open-at-point when filename includes ampersand
Johnny yggdra...@gmx.co.uk writes: To replicate: - Create a file test__file.txt - In dired, locate the file and capture the link C-c l - In an org file, insert link by C-c C-l - Place point at file and C-c C-o (org-open-at-point) The link org stores is e.g ~/test__file.txt. This cannot be opened in a shell, but escaping the ampersand, the file is opened fine, e.g. It does open here with , | ELISP (emacs-version) | GNU Emacs 24.3.50.1 (i486-pc-linux-gnu, GTK+ Version 3.4.2)\n of | 2012-12-09 on dex, modified by Debian | ELISP (org-version t t) | Org-mode version 7.9.2 (release_7.9.2-661-g66c664 @ | /home/kyilma/bin/elisp/org-latest/lisp/) ` Memnon
Re: [O] Exclude tag from custom agenda
Karl Voit devn...@karl-voit.at writes: What I want to achieve: on top, there should be my normal agenda (events, tasks, habits, ...) but minus elements tagged with reward. [...] I think, that «(agenda nil)» has to be modified but I don't know how. I'm in a hurry, but lets see if I can give you something in 5 minutes. We need a skip-by-tag function. gmane should help here search...search Mike McLean posted one in 2011, which still seems to work. Lets make that a little more general: #+begin_src emacs-lisp ;;; Based on http://article.gmane.org/gmane.emacs.orgmode/41427 (defun my-skip-tag(tag) Skip entries that are tagged TAG (let* ((entry-tags (org-get-tags-at (point (if (member tag entry-tags) (progn (outline-next-heading) (point)) nil))) #+end_src Now, (agenda nil) should be: #+begin_src emacs-lisp (agenda ((org-agenda-skip-function '(my-skip-tagreward)) (org-agenda-overriding-header Agenda (without rewards: ) #+end_src That should do it. Please give it a try :) Memnon
Re: [O] Sort by Inactive Timestamp
Jeff Mickey j...@archlinux.org writes: Thank you Memnon! The (get-text-property 1 'org-marker a) is still voodoo to me, but that worked perfectly. Hehe, it *is* black magic. Carsten recommended to have a look at the org-cmp-* functions (http://article.gmane.org/gmane.emacs.orgmode/14634). Those lines are basically cutpaste/killyank from org-cmp-todo-state in org-agenda.el. Follow Carstens advice ,[ http://article.gmane.org/gmane.emacs.orgmode/14634 ] |You can look at these properties by pressing `C-u C-x =' on a line in |the agenda. ` and voodoo downgrades to black magic. Gmane rocks! Memnon
Re: [O] Sort by Inactive Timestamp
Jeff Mickey j...@archlinux.org writes: However.. my current issue: I'd like to sort my todo's by when I entered them. So in my capture template I put an inactive timestamp at the bottom, so my headlines look something like: --8---cut here---start-8--- * Todo ** TODO call mom - Ask about christmas - Talk about Dad - See if she bought a dog [2012-12-05 Wed 16:36] ** TODO Yet another thing [2012-12-05 Wed 16:37] --8---cut here---end---8--- I'd love to have a way to bring up the agenda and have it sorted by this ctime I'm manually inserting. Do people have suggestions on the best way to support this? Maybe add a property to my TODOs that is this creation time? Has anyone else done something similar to this using org-agenda-cmp-user-defined? Hmmm. If your 'creation' timestamp is the only inactive timestamp, you won't need a special property; org-entry-get should give you the right one. I am not good at this, but what about something like: --8---cut here---start-8--- (defun my-agenda-sort-by-inactive-timestamp (a b) Sort by interactive timestamp. Oldest first, items without any ts at the bottom. (let* ((ma (or (get-text-property 1 'org-marker a) (get-text-property 1 'org-hd-marker a))) (mb (or (get-text-property 1 'org-marker b) (get-text-property 1 'org-hd-marker b))) (tsa (org-entry-get ma TIMESTAMP_IA)) (tsb (org-entry-get mb TIMESTAMP_IA)) (ta (when tsa (date-to-time tsa))) (tb (when tsb (date-to-time tsb (cond ((eq tsa nil) +1) ((eq tsb nil) -1) ((time-less-p ta tb) -1) ((time-less-p tb ta) +1) (t nil (setq org-agenda-custom-commands '((x Tasks todo ((org-agenda-overriding-header Tasks sorted by TIMESTAMP_IA) (org-agenda-cmp-user-defined 'my-agenda-sort-by-inactive-timestamp) (org-agenda-sorting-strategy '(user-defined-up))) ))) --8---cut here---end---8--- Does that work? If you use :logbook:, entries within will 'override' your inactive timestamp at the end of the entry. A special CREATED property would be useful in this case. ... is this the wrong place to ask this question? Definitely not :). Memnon
Re: [O] Question re. Bernt's agenda setup
Manish mailtomanish.sha...@gmail.com writes: a way to pick out all #+begin_src parts from the .org version? (org-babel-tangle optional ONLY-THIS-BLOCK TARGET-FILE LANG), bound to `C-c C-v t' by default. Not all emacs-lisp blocks are set to :tangle yes, though. Or use a quick Keyboard macro (info (emacs)Keyboard Macros) .
Re: [O] [Bug] Inline Links from Agenda
Memnon Anon gegendosenflei...@googlemail.com writes: it seems to me that `C-c C-o' (org-agenda-open-link) does not work correctly for internal links with: ELISP (emacs-version) GNU Emacs 24.2.50.1 (i486-pc-linux-gnu, GTK+ Version 3.4.2)\n of 2012-11-01 on dex, modified by Debian ELISP (org-version t t) Org-mode version 7.9.2 (release_7.9.2-571-g359891 @/home/memnon/tmp/bin/org-mode/lisp/) FWIW, I see the same with emacs 23.4.1.
Re: [O] How to set up a recurring task wich is automatically set on done
Hi, Ukhara Arahku ukh...@gmail.com writes: I have to do a job every 2 weeks on Friday I want to have a task which: - remembers me (or is shown in the agenda) 2 days before, thus Wednesday - when the recurring date is over it is set on DONE automatically - and is shown again 2 days before the next Friday another 2 weeks Hmm, requirement 1 and 3 would be something like this: DEADLINE: 2012-11-11 So ++2w -2d , a repeated task with an explicit deadline for the item. Regarding 2, the setting to DONE automatically bit: May I ask, why you consider that? It doesn't seem really useful to me; a status change, purely based on time, does not convey any information whatsoever afaict. Memnon
Re: [O] How to customize the heading definition in org-mode
Hi, Avner Moshkovitz avnermoshkov...@lighthausvci.com writes: I want to use a lisp file (the .emacs file) in org-mode. This will help me to navigate through sections of the .emacs configuration file. I do so with the following setup: I have a minimal init.el file in my ~/.emacs.d directory. It basically looks like this: --8---cut here---start-8--- (require 'cl) ;; Load Path to org and babel (setq load-path (cons path/to/elisp/org-latest/lisp load-path)) (setq load-path (cons path/to/elisp/org-latest/contrib/lisp load-path)) (setq load-path (cons path/to/elisp/org-latest/contrib/babel/lisp load-path)) ;; modules got to be set _before_ org is loaded (setq org-modules '(org-bbdb org-bibtex org-gnus org-info org-jsinfo org-irc org-vm org-w3m org-crypt org-learn org-collector org-habit org-depend org-timer)) ;; load up Org-mode and Org-babel (require 'org) ;;(require 'org-babel-init) ;; Load my .emacs (org-babel-load-file path/to/emacs.org) --8---cut here---end---8--- That last org-babel-load-file bit actually loads my other settings. (see http://memnon.sdf-eu.org/emacs.html http://memnon.sdf-eu.org/emacs.org for an example) I looked for an equivalent to this in org-mode but couldn't find a way to customize the heading definition. Is there a way to do so? AFAIK, the * is a fixed part of the org syntax and is not customizable. hth Memnon
[O] [Bug] Inline Links from Agenda
Hi, it seems to me that `C-c C-o' (org-agenda-open-link) does not work correctly for internal links with: ELISP (emacs-version) GNU Emacs 24.2.50.1 (i486-pc-linux-gnu, GTK+ Version 3.4.2)\n of 2012-11-01 on dex, modified by Debian ELISP (org-version t t) Org-mode version 7.9.2 (release_7.9.2-571-g359891 @/home/memnon/tmp/bin/org-mode/lisp/) Steps to reproduce: * minimal agenda file in ~/agenda.org : --8---cut here---start-8--- * TODO This is my heading * [[This is my heading]] SCHEDULED: 2012-11-08 Do --8---cut here---end---8--- * $ emacs-snapshot -nw -Q * load minimal .emacs: --8---cut here---start-8--- (add-to-list 'load-path /path/to/org-mode/lisp) (add-to-list 'load-path /path/to/org-mode/contrib/lisp) (add-to-list 'load-path /path/to/org-mode/contrib/babel/lisp) (setq org-agenda-files '(~/agenda.org)) (require 'org) --8---cut here---end---8--- * M-x org-agenda * `a' * `C-c C-o' (org-agenda-open-link) on the line with the link This should take me to the the linked headline IIUC, but it doesn't. All I get is a Position saved to mark ring, go back with C-c . Memnon
Re: [O] Problem with hourly repeater
Hi Nicolas, Nicolas Goaziou n.goaz...@gmail.com writes: Yes, I confirm the bug. Would you mind testing the following patch and tell me if it fixes the problem without adding unwanted side-effects? I've been testing the patch for a couple of days now. No unwanted side-effects as far as I can tell. The error is gone, too. There are some other small issues with hourly repeaters, I will try to sum them up soon. Memnon
Re: [O] how to customise Emacs to recognise 13.10. as 13th of October this year instead of 2010-10-13?
Hi Gregor, today (2012-10-11) I yanked Kommt am 13.10. um 14:00 zum into the date/time prompt: the date is recognised as 2010-10-13 Mi 14:00 instead of 2012-10-13 Sa 14:00 as I would expect since I have the following customisations (excerpt): I just tried, it seems to work just fine here. Not sure which customization is different. You may want to have a look at http://memnon.sdf-eu.org/emacs.org and compare. ELISP (emacs-version) GNU Emacs 24.2.50.1 (i486-pc-linux-gnu, GTK+ Version 3.4.2) of 2012-10-09 on dex, modified by Debian ELISP (org-version) 7.9.2 Memnon
Re: [O] Error on reload but none in Messages Buffer?
Rainer M Krug r.m.k...@gmail.com writes: On 10/10/12 12:55, Achim Gratz wrote: (load-misses ())) + (message %s lfeats) (setq load-misses -(delq 't + (delq 'tt (mapcar (lambda (f) (or OK - I get a warning when compiling: In org-reload: org.el:20024:19:Warning: reference to free variable `lfeats' (load-misses ())) + (message %s lfeats) That should probably be ^lfeat Memnon
Re: [O] Problem with hourly repeater
Martin Pohlack m...@os.inf.tu-dresden.de writes: This has been discussed several times before and the conclusion was that hourly repeaters are not supported: True, back in 2009. Not true anymore: ,[ ORG-NEWS Version 7.9.2 ] | Support for hourly repeat cookies | | You can now use | | : SCHEDULED: 2012-08-20 lun. 08:00 +1h | | if you want to add an hourly repeater to an entry. ` It even made it into the manual by now: ,[ (info (org)Repeated tasks) ] | You can use yearly, monthly, weekly, daily | and hourly repeat cookies by using the `y/w/m/d/h' letters. ` Memnon
[O] Problem with hourly repeater
Hi, I am trying the hourly repeaters and see a problem. Steps to reproduce: * emacs -Q * load minimal setup: --8---cut here---start-8--- ;;; adjust path as needed! (setq load-path (cons ~/org-mode/lisp load-path)) (setq load-path (cons ~/org-mode/contrib/lisp load-path)) (setq load-path (cons ~/org-mode/contrib/babel/lisp load-path)) (require 'org) (setq org-clock-persist t) (org-clock-persistence-insinuate) (setq org-clock-history-length 50 org-clock-in-switch-to-state STRT org-clock-idle-time 5 org-log-done 'time org-log-reschedule 'time org-log-into-drawer LOGBOOK) (setq org-agenda-files (quote (~/agenda.org))) (setq debug-on-error t) --8---cut here---end---8--- * Minimal agenda file ~/agenda.org: --8---cut here---start-8--- #+SEQ_TODO: TODO STRT | DONE DEFD CNCL * TODO Test Scheduled: 2012-10-08 Mo 18:00 +6h --8---cut here---end---8--- * M-x org-agenda a - Debugger entered--Lisp error: (wrong-type-argument number-or-marker-p nil) [...] This is with Org-mode version 7.9.2 (release_7.9.2-424-g0ccf65 @ and GNU Emacs 24.2.50.1 (i486-pc-linux-gnu, GTK+ Version 3.4.2) of 2012-10-04 on dex, modified by Debian Anyone else see this? Memnon
Re: [O] Org-mode release 7.9.2
Bastien b...@altern.org writes: I've released Org 7.9.2. [...] See http://orgmode.org/Changes.html#sec-1 for the updated list of changes. Excellent release! Probably my favorite: , | * New special property CLOCKSUM_T to display today's clocked time | | You can use CLOCKSUM_T the same way you use CLOCKSUM. It will | display the time spent on tasks for today only. ` This is so *immensely* useful, thanks! Memnon
[O] [PATCH] org.texi: New link (was: suggestion for org manual)
Bastien b...@altern.org writes: Can you create a patch for this? Like this? From 365f6f3d23926647ce40979ca59f88f96086b713 Mon Sep 17 00:00:00 2001 From: Memnon Anon gegendosenflei...@gmail.com Subject: [PATCH] Add a link to documentation * doc/org.texi (Tracking your habits): Point to the Tracking TODO state changes section. As suggested by Jonas Stein. TINYCHANGE --- doc/org.texi |8 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/doc/org.texi b/doc/org.texi index bb248a8..4b8a826 100644 --- a/doc/org.texi +++ b/doc/org.texi @@ -4273,10 +4273,10 @@ The TODO may also have minimum and maximum ranges specified by using the syntax @samp{.+2d/3d}, which says that you want to do the task at least every three days, but at most every two days. @item -You must also have state logging for the @code{DONE} state enabled, in order -for historical data to be represented in the consistency graph. If it is not -enabled it is not an error, but the consistency graphs will be largely -meaningless. +You must also have state logging for the @code{DONE} state enabled +(@pxref{Tracking TODO state changes}), in order for historical data to be +represented in the consistency graph. If it is not enabled it is not an +error, but the consistency graphs will be largely meaningless. @end enumerate To give you an idea of what the above rules look like in action, here's an -- 1.7.10.4
Re: [O] Breadcrumbs?
Bastien b...@altern.org writes: Indeed! I've updated `org-display-outline-path' so that it can return a string: (org-display-outline-path nil t t) So you can now hook it like this: (add-hook 'org-mode-hook (lambda() (add-to-list 'mode-line-format '(:eval (org-display-outline-path nil t t)) t))) Interesting. But my modeline is already fairly crowded and headlines can be rather long. I am currently trying this: --8---cut here---start-8--- (add-hook 'org-mode-hook (lambda() (setq header-line-format '(:eval (org-display-outline-path nil t t) --8---cut here---end---8--- Memnon
Re: [O] Erroneous No such file or directory with babel and remote dir
Loris Bennett loris.benn...@fu-berlin.de writes: How do I avoid the mixed installation problem when testing with a clone of the org repository? ,[ http://orgmode.org/worg/org-faq.html#mixed-install ] | Among the most common reasons is Orgmode gets loaded before the | load-path variable is updated to include the installation directory of | the latest Orgmode. To avoid issues like this, it is recommended that | the load path is updated very early on in your init file. ` hth Memnon
Re: [O] GTD in org mode - in which project is this action ?
Clément Mayet cma...@gmail.com writes: *I think the main difficulty is to get the project to which the action belongs as it is only a heading above the action. My first question is : should I use properties, tags , something else ?* I use properties for projects. Depending on your numbers of concurrent projects, you may want to consider separate files for each project. (IMHO less elegant for a large number of little projects, but nice for say up to ten). - *scratch.org* (for quicknotes,todos, ideas of projects, to be organized/refiled later on during the weekly review) I'd add a '* Inbox' Headline at the end of the relevant files, i.e. perso.org, research.org etc. No separate scratch file, no w/pinbox.org. 3.1.1 project description ~~ *Should I put it under another headline (description, outcome) or directly under the project's headline ? Any thoughts about this ?* Both options seem viable. * contexts (as few as possible) Use tags - :@office: - :@home: - :@errands: - :@offline: Once, I had a tag NET for things I needed to do while online. I then figured out I was online almost everywhere I actually worked, so I don't use it anymore.
Re: [O] Habit setup help needed
Robert Horn rjh...@alum.mit.edu writes: *** HABIT [#A] Weekly GTD review [0/9] :home: DEADLINE: 2012-09-21 Fri ++1w SCHEDULED: 2012-09-17 Mon ++1w :LOGBOOK: - State DONE from HABIT [2012-09-14 Fri 09:00] I thought that it should be blue from the asterisk until monday, because that is the completed period. I think the consistency bar is only fully functional with timestamps of the format 2012-09-13 Do .+7d/10d : You need a minimum/maximum range. Memnon
[O] Activating modules before org-install (was: org-url-hexify-p is not respected)
James Harkins jamshar...@gmail.com writes: So then the question is, why was I getting the ID-style links in the first place? I hadn't loaded that module before (I didn't even know about load-library before). One short question: My ~/.emacs.d/init.el has these lines: , | ;; modules got to be set _before_ org is loaded | (setq org-modules '(org-bbdb org-bibtex org-gnus org-info org-jsinfo | org-irc org-vm org-w3m org-crypt org-learn | org-collector org-habit org-depend org-timer)) | | ;; load up Org-mode and Org-babel | (require 'org-install) ` Is it true that modules got to be set _before_ org is loaded? IOW: May something weird happen if e.g. module org-id enters the game later on? At quick glance on the manual, I saw nothing relevant. Of course, I could play it safe with M-x customize-variable org-modules, but ... well ... customize.
Re: [O] Cannot agenda - bulk shift SCHEDULED entries with repeater interval
Rainer Stengele rainer.steng...@online.de writes: SCHEDULED: 2012-09-10 Mo .+3w I would like to shioft the date by bulk action in the agenda B s. That does not work. SCHEDULED date stays unchanged. Is this a bug? I just tried, works as expected here with (release_7.9-24-g2cb72a). +1d = shift one day forward from now. ++1d = shift one day forward from previous schedule.
Re: [O] suggestion for FAQ: clarifying how to upgrade org
Hi rpjd, Robert P. J. Day rpj...@crashcourse.ca writes: that seems to work fine. if that's an acceptable way to upgrade org, that should probably be mentioned in the FAQ -- that you might just be able to do a standard, distro-specific install of whatever represents the org-mode package and emacs will pick it up automatically. just an observation. That faq is exported from an org file on worg. Sure, distro specific packages are a viable way to upgrade your org: Would you like to add it? If you don't know git, this is the relevant section: --8---cut here---start-8--- ** My Emacs ships with an older version Org-mode! How do I upgrade? :PROPERTIES: :CUSTOM_ID: updating-org :END: #+index: Upgrade Org-mode develops quickly, which means that versions of Org-mode shipped with Emacs are more or less out-of-date. If you'd like to upgrade to the most recent version of org-mode, you have a number of options. 1. Download the [[http://orgmode.org/index.html#sec-3][most recent release]] of org-mode as zip or tarball and follow the [[http://orgmode.org/manual/Installation.html#Installation][installation instructions]] in the manual. 2. Clone and install the development git repository as [[#keeping-current-with-Org-mode-development][explained here]]. If you don't want to run the bleeding edge, you can still use git [[#using-stable-releases-only][to track the most recent stable releases]]. 3. Install and updated org-mode automatically through the Emacs Package Manager as [[#installing-via-elpa][explained in this FAQ]]. /Note/: Please also see [[#mixed-install][Is my Orgmode installation mixed?]] for a common issue with mixed installations. --8---cut here---end---8--- Just insert your words and certainly someone will push it :). otoh, http://orgmode.org/org-mode-download.html (where you are sent to to to download org) already mentions Alternate distributions. http://orgmode.org/worg/org-faq.html#mixed-install in both cases above, when i asked for org-version, i didn't get any release info in parentheses. all i saw was: Org-mode version x.y.z which might confuse a reader expecting to see release information. again, just another observation. ,[ org-faq.org - Is my Orgmode installation mixed? ] |An easy first step to | investigate this is to look at the output of =M-x org-version=. | - Good :: ~Org-mode version 7.8.11 (release_7.8.11-448-g1737d3 @ | /path/to/org-mode/lisp/)~ | - Bad :: ~Org-mode version 6.33x (release_7.8.11.409.ga3778)~ ` org-version got improved to show the release bit in several steps, starting with | commit e7d2e4e18694cb8c4bec5a81815bf7ef9c8078a6 | Author: Achim Gratz strom...@stromeko.de | Date: Mon May 7 21:21:28 2012 +0200 So, the suggestion in org-faq will only work with org versions later than May 19. org-7.8.11, which ships with emacs24, was released ... a couple of days later. But these changes obviously didn't make it into the bundled version. Lets be vague then :), what about: An easy first step to investigate this /with a recent version/ is to look at the output of =M-x org-version=.
Re: [O] won't emacs kick into org mode for any file with a .org suffix?
Jambunathan K kjambunat...@gmail.com writes: It is meant for users who are using Org with a version of Emacs that is released before 2007-11-09. That is really an Emacs that is half-a-decade old. Hmm. Half a decade? It does not work ootb on a machine in my university I frequently log in to: *** Welcome to IELM *** Type (describe-mode) for help. ELISP (with-temp-buffer (insert-file-contents /etc/debian_version) (buffer-string)) 5.0.10\n ELISP (emacs-version) GNU Emacs 22.2.1 (i486-pc-linux-gnu, X toolkit, Xaw3d scroll bars)\n of 2008-11-09 on raven, modified by Debian ELISP (rassoc 'org-mode auto-mode-alist) nil ELISP
Re: [O] won't emacs kick into org mode for any file with a .org suffix?
Robert P. J. Day rpj...@crashcourse.ca writes: i figured that -- my point was that i think it's worth mentioning that, with any decently current version of emacs, all of that is already configured and you don't need to do anything. reading that section doesn't make that clear. Adding it doesn't hurt anyone, and with copypaste, no problem really. Emacs22 is still in use in some places. Just keeping it in there the way it is now means less Help, why doesn't it work here? from new orgers on this list or someplace else. Everyone knowledgeable/around long enough will just skip that recommendation. Further explanations would only make it more verbose I think. fwiw Memnon
Re: [O] Filtering Agenda View
Hi Ken, Ken Mankoff mank...@gmail.com writes: I tried setting the regexp to \ WAITING\ but that did not fix it. How can I improve the regexp, or is there a better way to show TODO items that are TODO, STARTED, WHATEVER, but not WAITING (or not WAITING and SOMETHINGELSE). ,[ (describe-function 'org-agenda-skip-if) ] | (org-agenda-skip-if SUBTREE CONDITIONS) | [...] | CONDITIONS is a list of symbols, boolean OR is used to combine the results | from different tests. Valid conditions are: | | scheduled Check if there is a scheduled cookie | notscheduled Check if there is no scheduled cookie | deadline Check if there is a deadline | notdeadline Check if there is no deadline | timestamp Check if there is a timestamp (also deadline or scheduled) | nottimestamp Check if there is no timestamp (also deadline or scheduled) | regexpCheck if regexp matches | notregexp Check if regexp does not match. todo Check if TODO keyword matches | nottodo Check if TODO keyword does not match | | `todo' and `nottodo' accept as an argument a list of todo | keywords, which may include * to match any todo keyword. | (org-agenda-skip-entry-if 'todo '(TODO WAITING)) | | would skip all entries with TODO or WAITING keywords. | | Instead of a list, a keyword class may be given. For example: | | (org-agenda-skip-entry-if 'nottodo 'done) ` Does that help? Memnon
Re: [O] suggestion for org manual
Moin Jonas, Jonas Stein n...@jonasstein.de writes: It says # You have enabled the habits module by customizing the variable org-modules. I would expect here a link about customizing the variable org-modules, and how the setting looks like. Well, customizing variables belongs to the emacs realm; given that, the documentation is pretty good. One way to improve it could be something like You have enabled the habits module by `M-x customize-variable' org-modules. The customize buffer is fairly self-explanatory then I guess. However, while this would make the manual more newcomer friendly, it would also be less pleasant to read imho. ... It says # You must also have state logging for the DONE state enabled, in order for historical data to be represented in the consistency graph. If it is not enabled it is not an error, but the consistency graphs will be largely meaningless. I would expect here # In order to get meaningful consistency graphs state logging for state DONE must be enabled. (Link to article about enable logging or explain it here.) Tracking TODO state changes is in 5.3.2, i.e. just one [ keypress away, if you read the emacs info pages?! But a link rarely hurts, I guess :). Thanks for your suggestions! Memnon
Re: [O] repeater not working?
Alan Schmitt alan.schm...@polytechnique.org writes: By the way, what is the canonical way to install contribs? The doc.norang.ca site says to simply add a load_path to the source directory of org-mode, but maybe there is another way. The canonical way would be the way described in the info documentation. ,[ (info (org)Installation) ] | If you plan to use code from the `contrib' subdirectory, do a similar | step for this directory: | | (setq load-path (cons ~/path/to/orgdir/contrib/lisp load-path)) `
Re: [O] repeater not working?
Alan Schmitt alan.schm...@polytechnique.org writes: I guess I'm too much into an OmniFocus way of organizing thing, and need to dig deeper in orgmode to find the canonical way of doing this. For repeating projects, do you use checklists like Memnon Anon? FTR: I don't use checklists that often. My point was: TODO Items will pop up in your agenda, checklists will not. If Archive Mail involves some ministeps you just want to make sure you won't forget, which you don't want to log separately, checklists are probably a better idea. But don't overuse them; as a general rule, if a subtask takes more than 3 minutes, I make it a first class citizen in the org cosmos, i.e. a TODO item. Most ministeps are not worth jotting down in the first place, having them in my agenda would clutter everything: * TODO Return books to library [/] ** TODO Search books ** TODO Put books in bag ** TODO Unlock bike ** TODO Drive to library D'oh. :) But there are cases where it is worth it. * TODO Meeting Dr. XY You'll need: - [ ] Curriculum Vitae - [ ] Document A - [ ] Document B - [ ] Document C - [ ] Document D - [ ] Document E - [ ] Document F - [ ] Document G Forgetting just one document will bust the whole meeting. But I don't need them in my agenda.
Re: [O] Trying to print the agenda in the terminal - emacs stdout limit?
Hi, Marcelo de Moraes Serpa celose...@gmail.com writes: If I eval this block in Emacs, the whole agenda text is shown in the *Messages* buffer, but when I run it from the command line, it only shows the first two lines: ➜ ~ ./script.el Global list of TODO items of type: ALL Available with `N r': (0)ALL The rest seems to be truncated somehow. Does anyone know what could be happening? Quick test here with emacs 23 and 24 seems to work. ,[ (info (emacs)Initial Options) ] | `--batch' implies `-q' (do not load an initialization file), but | `site-start.el' is loaded nonetheless. ` Did you setq your org-agenda-files in that script? My first guess would be it is not set. hth
Re: [O] repeater not working?
Alan Schmitt alan.schm...@polytechnique.org writes: I'm starting to play with repeaters, and I cannot make them work. Here is a sample of a small file I have: *** Archive Mail [2/2] SCHEDULED: 2012-09-01 Sat +1m DONE Read and archive all mail (orgmode, Sent) CLOSED: [2012-09-01 Sat 15:03] DONE Create monthly folder and move mail there CLOSED: [2012-09-01 Sat 15:06] http://doc.norang.ca/org-mode.html#ChecklistHandling describes a similar case. For minor (less than 5 minutes) subtasks like Create folder, move mail there, I would not want that to show up in my agenda, but only the real task at hand: Archive Mail. #+BEGIN_SRC org * TODO Archive Mail [0/2] SCHEDULED: 2012-09-01 Sat +1m :PROPERTIES: RESET_CHECK_BOXES: t :END: - [ ] Read and archive all mail (orgmode, Sent) - [ ] Create monthly folder and move mail there #+END_SRC As you can see, subtasks are done, and I have set a repeater for the scheduling for one month. If I go on the first line and close the entry, I get the following: *** DONE Archive Mail [2/2] CLOSED: [2012-09-01 Sat 15:13] SCHEDULED: 2012-09-01 Sat +1m The entry should go back to TODO and SCHEDULED: 2012-10-01 Mon +1m ... What is your org-todo-keywords sequence? Did you set org-todo-repeat-to-state? (Should not be necessary...)
[O] Scheduling time+effort or (ab-?)using org-agenda-default-duration
Hi org people, I am trying to make my life a bit easier and would love some advice. * Short: Has anyone a little schedule/timestamp function which takes time of day (e.g. 10:20 or 10pm) and schedules/timestamps items as time+effort (e.g. 10:20+0:30)? A tiny change to org-agenda-format-item (s.b.) seems to work, but I am worried about side effects. * Long: Whenever new things come up, I quickly capture it, set a reasonable effort and schedule it for tomorrow unless there is a cogent reason to do otherwise. Each morning, I go through my daily agenda, do some rescheduling if necessary and happily start ticking things of the list. So far, I avoided setting specific time-slots for items. However, I feel like it is time to test a different approach and actually assign times. So I start with a bunch of items and want to shuffle them around in the timetable, or rather sort them morning to evening. I usually (always?!) finish items in one run, so it would be convenient to just enter a start time and get a timestamp with a duration of starttime+effort. I had a look at the different functions involved, and bumped into `org-agenda-default-appointment-duration' (didn't know about that one) which is used in `org-agenda-format-item' (and only there afaict). #+begin_src emacs-lisp ;; Try to set s2 if s1 and `org-agenda-default-appointment-duration' are set (when (and s1 (not s2) org-agenda-default-appointment-duration) (setq s2 (org-minutes-to-hh:mm-string (+ (org-hh:mm-string-to-minutes s1) org-agenda-default-appointment-duration #+end_src The easiest way to get the behavior I think I would like is a tiny change like #+begin_src emacs-lisp ;; Try to set s2 if s1 and `org-agenda-default-appointment-duration' are set (when (and s1 (not s2) org-agenda-default-appointment-duration) (if (org-get-effort) ; prefer effort over org-agenda-default-appointment-duration (setq s2 (org-minutes-to-hh:mm-string (+ (org-hh:mm-string-to-minutes s1) (org-duration-string-to-minutes (org-get-effort) (setq s2 (org-minutes-to-hh:mm-string (+ (org-hh:mm-string-to-minutes s1) org-agenda-default-appointment-duration) #+end_src ... which seems to work afaict after very superficial testing. Are there any side effects I missed? Breaking org would seriously mess up my life :)
Re: [O] Updating orgmode
Michael Welle mwe012...@gmx.net writes: You might use 'M-x find-library' and at the prompt type 'org.el' to discover which version is loaded by Emacs. Also useful: M-x list-load-path-shadows hth Memnon
Re: [O] Difficulty of using Org mode
suvayu ali fatkasuvayu+li...@gmail.com writes: The way I went about it was to get an overview of the capabilities from Worg and start using only the features I needed (in my case note taking and export). As I became more familiar, I delved into other features (like agenda, babel) and customisation of the already familiar features (e.g. custom export hooks, personalised colour theme etc). And this is exactly what orgmode.org tells you from the start: ,[ http://www.orgmode.org ] | Simplicity | At its core, Org mode is a simple outliner for note-taking and list | management. You can learn the basics for using it in five minutes. | This may be all you need, and Org mode will not impose more complex | features on you. ` with a link to http://orgmode.org/worg/org-tutorials/orgtutorial_dto.html There is also the compact guide, which is the first link on the documentation page: http://orgmode.org/guide/index.html I don't know how hard org is (or is not) for emacs users; I came to emacs because of org and started from there :). My first post to this list is from mid 2008 (... that long already?) and it is getting more and more complex; I could pick up new features along the way. If you are new to org and/or emacs: Take it easy :). I know it is tempting to try everything at once, but don't get frustrated while doing so. IMHO FWIW Memnon
Re: [O] Updating info files
Mike Fitzgerald mikef...@gmail.com writes: C-h i still brings up the old info files. files are there: org.pdf rg.texi rgcard.pdf rgcard.tex rgcard_letter.pdf rgguide.pdf rgguide.texi Mhh, are these all files in the doc dir? Info doesn't use pdf, here is mine for comparison: /home/xxx/tmp/bin/org-mode/doc dir -rw-r--r-- 1 xxx xxx6.8k 2011-02-02 Documentation_Standards.org -rw-r--r-- 1 xxx xxx1.9k 05-23 11:54 Makefile -rw-r--r-- 1 xxx xxx 852.6k 05-27 05:49 org -rw-r--r-- 1 xxx xxx 110 05-27 05:49 org-version.inc -rw-r--r-- 1 xxx xxx1.3M 05-27 05:49 org.html -rw-r--r-- 1 xxx xxx1.6M 05-27 05:50 org.pdf -rw-r--r-- 1 xxx xxx 686.4k 05-26 17:48 org.texi -rw-r--r-- 1 xxx xxx 23.2k 05-25 16:47 orgcard.tex -rw-r--r-- 1 xxx xxx 21.7k 12-17 12:02 orgcard.txt -rw-r--r-- 1 xxx xxx 363.4k 05-27 05:50 orgguide.pdf -rw-r--r-- 1 xxx xxx 97.4k 05-23 11:54 orgguide.texi -rw-r--r-- 1 xxx xxx1.3k 04-15 21:31 pdflayout.sty -rw-r--r-- 1 xxx xxx 278.6k 01-04 00:10 texinfo.tex Files relevant for info: dir and org
Re: [O] source code folding
Puneeth Chaganti puncha...@gmail.com writes: I'm not sure there's such a short cut, but you can define one for yourself. A simple function (without any sort of error checking) like the one below can be bound to a key-binding of your choice. (defun my/collapse-src-block () Collapses a source block when called from inside a block. (interactive) (org-babel-goto-src-block-head) (org-cycle)) org-narrow-to-block should do it when modified slightly: #+begin_src emacs-lisp (defun my-org-toggle-current-block () Un-/Collapses a block when called from inside a block. (interactive) (let* ((case-fold-search t) (blockp (org-between-regexps-p ^[ \t]*#\\+begin_.* ^[ \t]*#\\+end_.*))) (if (not blockp) (message Not in a block) (goto-char (car blockp)) (org-cycle #+end_src
Re: [O] open a source code
Petro khoros...@gmail.com writes: If I open a python code using C-c ', emacs window splits into two. One with with python mode and another with org mode. How can I prevent splitting and make python window full screen? Good question, lets check the docs: F1 i, d, m org TAB RET. Working with source code, Editing source code ... Yep, what about this: ,[ (info (org)Editing source code) ] | `org-src-window-setup' | Controls the way Emacs windows are rearranged when the edit buffer | is created. ` Okay, lets have a look, shall we? ,[ F1-v org-src-window-setup ] | Documentation: | How the source code edit buffer should be displayed. | Possible values for this option are: | | current-windowShow edit buffer in the current window, keeping all other | windows. | other-window Use `switch-to-buffer-other-window' to display edit buffer. | reorganize-frame Show only two windows on the current frame, the current | window and the edit buffer. When exiting the edit buffer, | return to one window. | other-frame Use `switch-to-buffer-other-frame' to display edit buffer. | Also, when exiting the edit buffer, kill that frame. ` Default seems to be 'reorganize-frame, which is obviously not what you want. current-window would be a good choice if you usually start with one window in the beginning. Or try other-frame. Is this helpful? Or is this not what you want? If you missed it in the docs, where would you have expect it? How and where did you look for this info? hth Memnon
Re: [O] Timestamp: Forward or backward by a week
Nick Dokos nicholas.do...@hp.com writes: But I saw a message implying that Debian does not consider emacs documentation free (!?!?), so the info files may be in emacs23-common-non-dfsg in this case. The FSF isn't the only one caring about Freedom. Where more than one entity exists, they are bound to disagree sometimes :). ,[ https://en.wikipedia.org/wiki/DFSG#GFDL ] | Much documentation written by the GNU Project, the Linux Documentation | Project and others licensed under the GNU Free Documentation License | contain invariant sections, which do not comply with the DFSG. This | assertion is the end result of a long discussion and the General | Resolution 2006-001.[11] | | Due to the GFDL invariant sections, content under this license must be | separately contained in an additional non-free repository which is not | officially considered part of Debian. ` hth Memnon
Re: [O] org-mode as an accountability system?
Hi Peter, Peter Salazar cycleofs...@gmail.com writes: My committed actions for a day consist of: a) TODOs for the projects I'm working on b) random errands that need to be done that day c) daily habits (e.g. meditating, exercising) I don't believe org-agenda can support me in doing this, because I require: a) a way to quickly enter the random tasks for that day (without having to schedule each one for today) b) more importantly: a way to record, store, and e-mail my list of which tasks I've done and not done at the end of the night I am not sure why you don't use the agenda, there really should be no need to compile this data manually. Flow: - Enter your task with capture. This *is* a quick way, and you should be able to setup a binding that schedules the new task to today by default. Put the tasks wherever they should live in your org cosmos. - At the beginning of the day, start your agenda for today. Copy and paste it, export it to html, whatever. Send it to your college. - Work through your tasks. If you can't finish a task, don't mark it didnotdo, but simple reschedule it for tomorrow; the change will be reflected in your log drawer. - At the end of the day, or early next day, start the agenda and use org-agenda-log-mode, probably with C-u. - `C-u l' should show you all there is, given it is properly configured: Task you finished, tasks you did not finish and hence rescheduled for later, even your sections (teaching, habits, random tasks) can be reflected with categories. Just copy and paste it in your email and you are done. Macro question: Is there a better way to manage my accountability system, rather than doing it manually? Again, I don't see a way to do it using agenda. hth Memnon
Re: [O] org-yank improvement?
pin...@iro.umontreal.ca (François Pinard) writes: I often cut a list item (or a hierarchy of list items) to reinsert it into another heading which I know contains only list items. All the headings are collapsed, so what I usually do is position the cursor at the beginning of the /next/ heading and yank the list item there, this has the effect of inserting it at the end of the previous heading, no need to open it. Mhh, why don't you just insert a newline above the next heading and yank then? (I'm using clean mode, as probably everybody does!) No. However, by mistake, it happens that the cursor is on the only visible bullet star of the next heading instead of really being at the start of the line. I wonder how you end up between two stars in the first place... With `org-special-ctrl-a/e' t, I would not expect this to be an issue. But as indicated above, I don't use clean mode aka org-indent-mode. Of course, it is my error. Yet, Org mode could be friendlier, here! Lets say 'safer'. But while ... indicating folded content at the end of a line is an integral part of org, things like org-hide-leading-stars seemed to me always to be purely cosmetic. Nice to have, but if one really edits org files by hand (it is all plain text, right), potentially a problem. Memnon
Re: [O] org-yank improvement?
Bernt Hansen be...@norang.ca writes: (I'm using clean mode, as probably everybody does!) No. What's this 'clean mode' you're taking about? I can't find any reference to that on worg. ,[ (info (org)Clean view) ] | 15.8 A cleaner outline view | === | | Some people find it noisy and distracting that the Org headlines start | with a potentially large number of stars, and that text below the | headlines is not indented. While this is no problem when writing a | _book-like_ document where the outline headings are really section | headings, in a more _list-oriented_ outline, indented structure is a | lot cleaner: ` Memnon
Re: [O] missing appointments
Nick Dokos nicholas.do...@hp.com writes: ;; wrong (setq org-appt-timer (run-at-time 00:01 nil (function org-agenda-to-appt))) [...] o finally, I would like to add a call at midnight every day to recalculate appointments for the next day - unfortunately, the call above is not correct, so for now I do it manually with an org-agenda-redo as above. One of these days I'll get that fixed. If anybody has done that already, I'll gladly steal your code :-) http://doc.norang.ca/org-mode.html#sec-14-1 Memnon
Re: [O] Org without X on Debian
Karl ignora...@gmx.de writes: Does anybody use Org in a non-graphical environment? Is it possible to make the (all) keys work? Mhh, surprised no one mentioned it: ,[ (info (org)TTY keys) ] | Because Org contains a large number of commands, by default many of | Org's core commands are bound to keys that are generally not accessible | on a tty, such as the cursor keys (left, right, up, down), | TAB and RET, in particular when used together with modifiers like | Meta and/or Shift. To access these commands on a tty when special | keys are unavailable, the following alternative bindings can be used. `[...] hth Memnon
[O] org-catch-invisible-edits clarification
Hi, just read up on the new features in 7.8 and org-catch-invisible-edits caught my attention. I set it to show and tried a simple example: --8---cut here---start-8--- * Test ** level2 *** Level3 Some text * Headline --8---cut here---end---8--- Set point between Some and text, and folded it away with S-TAB. I expected, that, when I start textinput like more, I would get this at first keypress: --8---cut here---start-8--- * Test ** level2 *** Level3 Some mtext * Headline --8---cut here---end---8--- I get: --8---cut here---start-8--- * Test ** level2... * Headline --8---cut here---end---8--- with point on the first dot of level2. This is with ELISP (org-version) Org-mode version 7.8.02 (release_7.8.02.8.g8fb0.dirty) ELISP (emacs-version) GNU Emacs 23.3.1 (i486-pc-linux-gnu, GTK+ Version 2.24.7) of 2011-10-26 on murphy, modified by Debian So either I misunderstood what the description says, or something is wrong here... Memnon
Re: [O] A quick way to empty contents of entries?
Carsten Dominik carsten.domi...@gmail.com writes: On Nov 4, 2011, at 7:56 AM, gylns wrote: Hi, all I want to empty all my contents but leave only with the headlines and the properties, is there a fast way? [...] For one file: perl -ne 'print if /^\*+ / or /^\s*:PROPERTIES:\s*$/../^\s*:END:\s*$/' old.org stripped.org Hmm... perl. Within emacs, that would be something like C- M-x keep-lines RET ^\*\|:PROPERTIES:\(.\|\n\)+?:END: (\n via C-q C-j) ... right? Memnon
Re: [O] ELISP
Karl Voit devn...@karl-voit.at writes: * Carsten Dominik carsten.domi...@gmail.com wrote: C-u 30 C-c a a For now I used: ,[ from my .emacs ] | (defun vk-export-agenda() | Exports monthly Org-mode agenda to agenda.ics file | (interactive) | (org-agenda-list) | (org-agenda-month-view) | (org-write-agenda ~/org-mode/agenda.ics) | ) ` I tried by myself but failed miserable. How can I add this org-agenda-span to this function definition? ,[ C-h k C-c a ] | a Call `org-agenda-list' to display the agenda for current day or | week. ` ,[ C-h f org-agenda-list ] | (org-agenda-list optional INCLUDE-ALL START-DAY SPAN) | ... | With a numeric prefix argument in an interactive call, the agenda will | span INCLUDE-ALL days. Lisp programs should instead specify SPAN to change | the number of days. SPAN defaults to `org-agenda-span'. ` So, try (org-agenda-list nil nil 30) (org-write-agenda ~/org-mode/agenda.ics) And: is there an (E)LISP book/URL you can recommend? I do have programming experience and I noticed that I should learn ELISP in order to get most of my editor ... An Introduction to Programming in Emacs Lisp should come with your emacs. Good way to get started. And The Emacs Lisp Reference Manual is very useful, too. hth, my elips knowledge is *very* limited, though ... Memnon
Re: [O] Time range end in agenda view not displayed
michael holzer michi_holzer_n...@gmx.at writes: When I have an entry that contains a time range, for example: * timerange 2011-09-30 Fri 14:00--2011-09-30 Fri 18:00 this shows up in the agenda view as: uni:14:00.. timerange while I would expect something like: uni:14:00-18:00 timerange * STRT Reply Holzer 2011-09-30 Fri 12:30-12:35 hth Memnon
[O] Orgmode,Bidi,Speed in emacs trunk
Hi, I've not been following the list closely for a while, not sure if Bastien is on vacation or whatever. Just in case Carsten or anyone else wants to comment on this: From: Eli Zaretskii e...@gnu.org Subject: bug#9610: 24.0.90; org-mode: sluggish response and high CPU utilization with large .org files Newsgroups: gmane.emacs.bugs To: Steve Revilak st...@srevilak.net Cc: 9...@debbugs.gnu.org Reply-To: Eli Zaretskii e...@gnu.org Resent-From: Eli Zaretskii e...@gnu.org Date: Mon, 26 Sep 2011 22:50:25 -0400 From: Steve Revilak st...@srevilak.net I'd like to report an org-mode regression issue. When working with large .org files, Emacs 24.0.90 becomes sluggish, and consumes large amounts of CPU. If you type this: M-x set-variable RET bidi-paragraph-direction RET left-to-right RET does the problem go away? Org mode should do that by default, but the Org mode maintainer (CC'ed) didn't yet respond to my repeated mails about this issue. Bastien, please tell me whether you want me to make this change in the Emacs repository, or wait for you to do it in the Org mode repo and then merge to Emacs. Memnon
Re: [O] how to narrow Clock Total on repeating tasks?
Hi Michael, Michael Gilbert m...@gilbert.org writes: Basically, I'm just looking for a way to narrow the scope of the clock total to the current iteration of task, in the context of the column view of the agenda. Comparing effort to total doesn't make a lot of sense if the former is an estimate per iteration and the latter is an total over all iterations. I don't know a solution to solve this (yet). I have the same problem with column view and repeated items, but I never found time to locate where all this column mode trickery happens, especially because I think all that overlay stuff is way out of my league ... I personally just ignore the clock total in my daily agenda and focus on the effort column. But every time I clock a task in, there is this nice reminder in the modeline which tells me: Hey, org *knows* already the necessary number, its figured out someplace and put right there in my modeline: Having that in agenda-daily column view would be cool, but as I said, no time and probably too hard for me... Memnon P.S.: Tired as hell, I hope what I wrote makes any sense at all and there are not too many typos ... Its almost 05am here.
Re: [O] Merge org-7.7 into emacs
Eric Schulte schulte.e...@gmail.com writes: I believe 10 lines is the cutoff for whether a patch may be considered tiny and thus whether it requires copyright attribution to the FSF. ,[ http://orgmode.org/worg/org-contribute.html ] | If your patch is against a file that is part of Emacs, then your total | contribution (all patches you submit) should change less than 20 lines. | If you contribute more, you have to assign the copyright of your | contribution to the Free Software Foundation (see below). ` Memnon
[O] Merge org-7.7 into emacs
Hi, Just a heads up: http://permalink.gmane.org/gmane.emacs.devel/142944 I don't know anything about this, but maybe something can be said/done about it while Bastien enjoys his vacation? Memnon
Re: [O] bulk relative time shift (in org file)?
Michael C Gilbert m...@gilbert.org writes: Ideally, something like this should be available in the org file, rather than in the agenda. [...] But if I shift back and forth to the agenda, then I can make this work. I'm assuming that the 'Cc C-s' and 'C-c C-d' commands don't work on regions or on everything under a heading? It may be feasible to make scheduling and deadlining act on region; lets wait what Bastien thinks when he is back from well deserved vacation. I have been experimenting to get this done with a simple function one could bind to e.g. `C-s M-s'. (Or one could defadvice the proper functions (?), I have to read up on that ...) In my first tests, it somewhat works, but the logbook is updated only on the last item, not sure why that is, yet. I will investigate later if no one jumps in and improves/replaces this prototype: --8---cut here---start-8--- (defun my-org-schedule-shift () (interactive) (let* ((acton (if (org-region-active-p) region tree)) (val (read-string (concat shift acton by: (if (equal acton region) (org-map-region '(lambda () (org-schedule nil val)) (region-beginning) (region-end)) (org-map-tree '(lambda () (org-schedule nil val)) (defun my-org-schedule-shift-region () (interactive) (let ((val (read-string Shift region by: ))) (org-map-region '(lambda () (org-schedule nil val)) (region-beginning) (region-end (defun my-org-schedule-shift-tree () (interactive) (let ((val (read-string Shift region by: ))) (org-map-tree '(lambda () (org-schedule nil val) --8---cut here---end---8--- Memnon
Re: [O] stop rebuilding of agenda upon secondary filtering? (7.6 behavior)
Michael Gilbert m...@gilbert.org writes: Upon upgrading to 7.6, I am noticing that my agenda now rebuilds as I move between various secondary filters. This is a substantial slowdown to my regular workflow. Is there a setting I could use to adjust this behavior? Other advice? see: Message-ID: 87fwlqxw6u@gnu.org Memnon
Re: [O] Habits not showing in agenda and no progress graph
John Hendy jw.he...@gmail.com writes: Ah. That might have done it. I was playing around a bit tonight and noticed that if I changed the scheduled date, I got a little multi-colored bar looking thing in agenda week view. Is that the graph? Yes. #+begin_src org ,* TODO note down month's accomplishments/contributions , SCHEDULED: 2011-07-25 Mon .+5d/10d , :LOGBOOK: , - State DONE from TODO [2011-07-20 Wed 12:00] , - State DONE from TODO [2011-07-15 Fri 12:00] , :END: , :PROPERTIES: , :STYLE: habit , :LAST_REPEAT: [2011-07-20 Wed 12:00] , :END: #+end_src So... is the graph the above? Simply a documented history of habits? Or is it something else (perhaps the colored thing in agenda view)? The colored graph in your agenda view. A setting of org-habit-following-days 7 org-habit-preceding-days 21 org-habit-show-habits-only-for-today t will show that graph, representing the past 3 weeks and the next week ahead in your *daily* Agenda for today. If you have a task like Water plants that should be done .+2d/4d, you will see how well you have been keeping up with it: * marks DONE, ! marks today. The background color reminds you of the range you set up: Green is great, yellow is okay, red is ... bad ;). Lastly, if that graph *is* the colored bar in agenda, I notice that it's cutting off most of my text. For example, this updated bit: Yes, better to keep the headlines short for habits or the graph will cut it off. The space between acc and the ! is filled with blue, then green, then a yellow, and then a red square(s). Can one change this appearance and how early the graph starts? See above. If that's the graph, then I guess I just didn't understand how the display in agenda worked and was mistaken in expecting future events to show up as I scrolled through the year's view. I think that's fine. Just wanted to make sure I wasn't messing something up. From what I read, I don't think org-habit is the tool you want. I found they work best for fairly regular tasks; I use them for cleaning tasks like Do vacuum cleaning .+3d/5d. The manual still gives the impression that the graph will show the history of my habits, whereas this thing in agenda is only showing whether I'm ahead, on schedule, or late for this *current* habit. If you are ahead, on schedule, late for this *current* habit now (!) and for the past e.g. three weeks (asterisk). Memnon
Re: [O] How to make a tag-todo search within a time range
Hi etimecowboy, etimecowboy etimecow...@gmail.com writes: For example, I want to search the scheduled TODO items with the work tag in the past 3 days. I thought the searching string was: +work+SCHEDULED\today\+SCHEDULED=\today-3d\, ^? ^?^? ^? but failed to get the right output. Anyone could help? C-c a m +work+SCHEDULEDtoday+SCHEDULED-3d RET seems to work here. I haven't done this in ages, so I looked the great tutorial advanced-searching.org @worg. You escaped the `' which is not necessary when you are searching interactively AFAICS. Does it work with my recipe above, i.e. interactively? Memnon
Re: [O] bulk relative time shift (in org file)?
Hi Bastien, Bastien b...@altern.org writes: On an item, `C-c C-s' and `C-c C-d' now allows you to use +2d to say schedule in 2 days from today or ++2d to say schedule in 2 days from existing timestamp. In agenda, `B s' and `B d' will also understand this and let you reschedule/redeadline items relatively. Let me know if this works okay for you -- and thanks for bringing this up again! ++ looks very useful! I pinged Michael who started this thread, I hope we'll get an update on his perspective. Thanks alot! Memnon
Re: [O] Referring to ID in other Org-mode file
Karl Voit devn...@karl-voit.at writes: How can I refer to an ID in another Org-mode file (withing the same folder)? [...] I was searching in the Org-mode manual but could not find any solution for my problem. Either this is not possible or I could not find the (existing) solution yet. ,[ (info (org)Search options) ] |Here is the syntax of the different ways to attach a search to a file | link, together with an explanation: | | [[file:~/code/main.c::255]] | [[file:~/xx.org::My Target]] | [[file:~/xx.org::*My Target]] ! [[file:~/xx.org::#my-custom-id]] | [[file:~/xx.org::/regexp/]] ` ? Memnon
Re: [O] Commenting a diary sexp line??
suvayu ali fatkasuvayu+li...@gmail.com writes: On Fri, Jul 22, 2011 at 3:42 PM, Bastien b...@altern.org wrote: I think you can already set up your custom agenda views to ignore COMMENT headlines. Could you point me to it? I did an apropos search for org agenda ignore but all I could find was ignoring based on timestamps. , | org-agenda-skip-comment-trees is a variable defined in `org-agenda.el'. | Its value is t | | Documentation: | Non-nil means skip trees that start with the COMMENT keyword. | When nil, these trees are also scanned by agenda commands. ` ? Memnon
Re: [O] Suggestion: Stackoverflow for Orgmode
Thomas Renkert tunnelbl...@quantentunnel.de writes: I noticed that - as more people with a diverse range of background knowledge start to use orgmode - the mailing list is getting more and more difficult to navigate: I do agree that the volume of mails did considerably increase. a lot of threads are long and winding and many of the posts are basic questions from beginners and questions about special use cases or scenarios from more experienced users. At this point, however, I have a different impression. Yes, there are some long threads, but those seem to be rarley those interesting for new users while setting up their orgworld. Those threads are *imho* usually about new features that need discussion, clarification etc.: a ping pong of ideas. When subareas emerge, tags like [BABEL] or now [CALFW] make it easy to parse them out if you are not interested. OTOH, I am used to dealing with mailing lists and I find them very convenient. Others may very well have a different impression. Is this worth a poll in a new thread? An idea: Many of you may be familiar with the QA-Sites www.stackoverflow.com or www.superuser.com. There are already some questions about org on stackoverflow, if people are interested in this format, they can already go there. Setting this up seems overkill to me, especially, because we have Worg to collect the nuggets of all threads. If newcomers find the volume on this list overwhelming, I think splitting it into a -dev and a -user list would be the next logical step, first. However, I am not opposed to this idea when others agree it would be usefull. I can't really see myself using it so far, but that may very well change. Memnon
Re: [O] bug when tuning agenda views
Роман Новиков unique.smi...@gmail.com writes: org-7.5 ,[ (info (org)Feedback) ] |For bug reports, please first try to reproduce the bug with the | latest version of Org available--if you are running an outdated | version, it is quite possible that the bug has been fixed already. ` http://orgmode.org/index.html#sec-2: The current version is 7.6. To see what has changed in recent releases, check this detailed list of changes. hth Memnon
Re: [O] Scheduling calling debugger
Suvayu Ali fatkasuvayu+li...@gmail.com writes: The error at the end was generated on attempting to reschedule a headline like this: ** TODO Read note on fitter SCHEDULED: 2011-07-19 Tue Debugger entered--Lisp error: (invalid-function org-loop-over-siblings-in-active-region) org-loop-over-siblings-in-active-region(Scheduled to 2011-07-21 Thu) org-schedule(nil) call-interactively(org-schedule nil nil) PS: this is with emacs -Q with Org-mode version 7.6 release_7.6.100.gde4d on GNU Emacs 24.0.50.1 I can not reproduce that with Org-mode version 7.6 (release_7.6.120.g0b9c.dirty) on GNU Emacs 23.3.1 (i486-pc-linux-gnu, GTK+ Version 2.24.3) of 2011-04-10 on raven, modified by Debian Memnon
Re: [O] Can't follow links with id property
Suvayu Ali fatkasuvayu+li...@gmail.com writes: I can't follow links with an ID property. I have attached a minimal example org file. Org complains it cannot find a match and prompts to create a new headline. Answering yes to the prompt creates a new headline like this: * id:9dfdc23e-f9ce-413b-b950-fc20fd152e42 Debugger entered--Lisp error: (error No match) signal(error (No match)) error(No match) org-link-search(#(id:9dfdc23e-f9ce-413b-b950-fc20fd152e42 0 39 (org-attr nil)) nil 119) eval((org-link-search #(id:9dfdc23e-f9ce-413b-b950-fc20fd152e42 0 39 (org-attr nil)) nil 119)) byte-code(~\210\301!\207 [cmd eval] 2) org-open-at-point(nil) call-interactively(org-open-at-point nil nil) I can not reproduce that with your minimal example with Org-mode version 7.6 (release_7.6.120.g0b9c.dirty) on GNU Emacs 23.3.1 (i486-pc-linux-gnu, GTK+ Version 2.24.3) of 2011-04-10 on raven, modified by Debian Memnon
[O] Searching the org list (was: Formal description of Org files)
Nick Dokos nicholas.do...@hp.com writes: There was a discussion about this on the list a few months ago, but I can't get to search.gmane.org to find the thread atm, although I can get to news.gmane.org: is that me or is gmane's search on the fritz? I had some trouble with gmane search for days, too. Alternatives: http://www.mail-archive.com/emacs-orgmode@gnu.org/ http://lists.gnu.org/archive/html/emacs-orgmode/ Memnon
Re: [O] bulk relative time shift (in org file)?
Bastien b...@altern.org writes: My Gnus .overview has been corrupted and I lost track of the question. Can you restate it shortly here? ,[ Original request as short as I can get it ] | Michael is looking for a way to bulk re'timestamp' items | relativ to the timestamp the item has currently. | This should work on region, subtree etc. | He wants to avoid cloning and would prefer doing this | directly in the file, not with the agenda. ` Example: --8---cut here---start-8--- Before: * Project A ** Task A SCHEDULED: 2011-07-16 Sa ** Taks B SCHEDULED: 2011-07-19 Di ** Task C SCHEDULED: 2011-07-21 Do After Bulk re-timestamp schedule +7d scope subtree : * Project A ** Task A SCHEDULED: 2011-07-23 Sa ** Taks B SCHEDULED: 2011-07-26 Di ** Task C SCHEDULED: 2011-07-28 Do --8---cut here---end---8--- I said that the agenda seems to me the easiest way to do it. But the agenda is in many ways another interface to the org file. (i.e. Agenda can be more than a calendar like presentation) And it supports limiting to: Region, Subtree, etc. out of the box! Prototype bulkshift by date: #+begin_src emacs-lisp (defun my-org-bulkshift-deadline () Shift the deadline of marked items in the agenda by n days. Set n via Prefix Arg! (interactive P) (let* ((marker (or (org-get-at-bol 'org-hd-marker) (org-agenda-error))) (buffer (marker-buffer marker))) (with-current-buffer buffer (save-excursion (save-restriction (widen) (goto-char marker) (org-back-to-heading t) (when (and (org-entry-get (point) DEADLINE) ; There is a deadline there (numberp current-prefix-arg)) ; And current-prefix-arg is a number (re-search-forward org-deadline-time-regexp) (org-timestamp-change current-prefix-arg 'day))) #+end_src Use: M-15 B f my-org-bulTAB in the agenda (limited to what you want, then marking the items.) I did only minimal testing so far, but the prototype seems to work and my-org-bulkshift-scheduled, -plain et al. can be easily added and/or combined into one function. Memnon This is not really short :( Anon
Re: [O] how to change the headline starter *
Hi all, Pieter Praet pie...@praet.org writes: On Thu, 14 Jul 2011 19:32:18 +0200 (CEST), har...@free.fr wrote: Please don't *insult* our devs by calling this useless BS a BUG, let alone ask them to *waste* their precious time and skills on it. Mhh, I don't think it was in any way insulting to ask? OTOH, I also think Bastien was not rude :). Please keep also in mind that english is not everyones native language; this plus the fact that email as a written medium is sometimes hard(er) to interpret. You call this useless BS, not worth a bugreport. Well, it seems to me Harven is new to the list and to org. In debianstyle bug context, something like: , | Severity: *Wishlist* | Subject: Please consider making '*' not hardcoded | | Hi, I use orgmode and I really like it; thanks! | However, using emacs for a while, I got used to the fact that | everything is configurable; orgmode itself with its hundreds of | variables to customize its behaviour is a prime example. | However, I tried to get accustomed to the stars as outline indicators, I | also tried the org-hide-leading-stars, but I can't get used to it. | I would really love to see this configurable: | Emacs, got unicode, lets make use of that! Imagine something like •. | If emacs were the old ascii only text editor it used to be, I would not | even have considered it: You devs included picture/pdf/etc. display in | Buffers and spoiled me ;). | I really don't know how much work this would be, I just wanted to voice | my opinion on it (hence *wishlist*). | | Thanks | Memnon ` would be acceptable I think. (Note: This is purely fictional, I really don't care, personally). It would then probably stay there, either with Bastien answering something like: , | Hi, the * is hardcoded from the projects start and it would mean | significant work to change that. I *might* tackle this someday, but | don't hold your breath. ` or he would close it and tag it won't fix with a similar reply. If you manage to implement it yourself, you're welcome to send your patch to the list. We might need it someday, when we -in a bout of insanity- decide our target audience somehow includes twelve-year-olds. Belittleing a possible contribution before it was even started? That however is close to rude *imho*... Memnon P.S.: I deliberately waited a day to reply to this message. I really like this list and its well behaved attitude: This is a nice place. While I also stumbled at the rude and basically agree to your assessment, Pieter, I found your reply a tad too agressive for my taste. So I had to be the advocatus diaboli ;).
Re: [O] how to change the headline starter *
Hi all, I think this is a very reasonable and concise mail on the star topic Nicolas wrote here. If Bastien agrees to its assessment, I would suggest adding a link to it to the FAQ item on the topic. Memnon
Re: [O] ThoughtBack
John Hendy jw.he...@gmail.com writes: On Wed, Jul 13, 2011 at 11:11 AM, Bastien b...@altern.org wrote: [...] Or did I miss something? Don't think so. Googling produces little, either. [...] So... looks like notes + some other feature set that's unexplained? I found some stuff, e.g.: http://vimeo.com/16594128 [which I did not check] http://www.youtube.com/watch?v=5k4CXVFcgDg [which I just watched] http://www.facebook.com/thoughtback But I wholeheartedly do *not* recommend it: ,[ https://thoughtback.com/ ] | Put Something In | | Enter something in that you find important. Do it through your iPhone, Mac, or Browser. | | Get Something Back | ! We store it and then randomly send you back something from the past. Keeping your brain flowing. | ^^^ ` Who would want to keep his data, especially when it is easily and quickly captured (to use org terminology) - i.e. probably some very personal stuff - to be saved in the cloud? I did no serious investigation on this, please correct me if I am wrong, I don't want to spread FUD about a new project! Memnon
Re: [O] agenda view: global todo list
Sebastien Vauban wxhgmqzgw...@spammotel.com writes: William H. Daffer wrote: I'm relatively new to org-mode, I'm liking what I see so far, but I have two questions. [...] I'm using emacs 23.2.1, org-mode 6.33x [...] First remark: migrate away from remember. Use the new interface called org-capture. ,[ (org) Capture in the 7.6 org manual] | Up to version 6.36 Org used a special setup for `remember.el'. | `org-remember.el' is still part of Org-mode for backward compatibility | with existing setups. ` So to get away from remember, he will have to upgrade org first. ... Which is highly recommended of course ;). Memnon
Re: [O] Performance problem when switching agenda views - need for cache?
Hi Rainer, Sorry, I can not really comment/help with anything. Just curious: Rainer Stengele rainer.steng...@diplan.de writes: This process, switching to all todos and back to weekly agenda takes about 18 (!) seconds netto. This is a lot! a) How many files are in your agenda file list? b) How many all todos do you have? 18 seconds is a lot, indeed. With my 512 megs RAM, 1.2 Mhz PIII Laptop, I do heavy and frequent archiving, but preparing for exams, the amount of data will rise, soon. Memnon a bit worried Anon