Re: [O] advice on compiling org 7.9 for OSX Lion.
Yes, I download it from the AppStore too. I just start download before I go to lunch. It's done long before I get back. /fas On 26 August 2012 04:58, Moritz Ulrich mor...@tarn-vedra.de wrote: Yes, there is! :-) Use a recent Xcode from the Mac AppStore and install the command line tools via the option dialog. -- Moritz Ulrich -- \V/_ Filippo A. Salustri, Ph.D., P.Eng. Mechanical and Industrial Engineering Ryerson University 350 Victoria St, Toronto, ON M5B 2K3, Canada Tel: 416/979-5000 ext 7749 Fax: 416/979-5265 Email: salus...@ryerson.ca http://deseng.ryerson.ca/~fil/
[O] advice on compiling org 7.9 for OSX Lion.
I have looked but cannot find anything especially enlightening. I haven't yet installed Xcode on some of my Lion machines, so I haven't got 'make' everywhere. I've been toying with trying to do the installation on my Mac server, which has Xcode, then copying the compiled stuff into the identical directory structure on my non-Xcode machines. Any thoughts on whether that would work? And in any case, if someone could point me at a good page explaining the Lion/Org installation, I'd greatly appreciate it. /fas -- \V/_ Filippo A. Salustri, Ph.D., P.Eng. Mechanical and Industrial Engineering Ryerson University 350 Victoria St, Toronto, ON M5B 2K3, Canada Tel: 416/979-5000 ext 7749 Fax: 416/979-5265 Email: salus...@ryerson.ca http://deseng.ryerson.ca/~fil/
Re: [O] advice on compiling org 7.9 for OSX Lion.
John, Thanks for your idea. I am aware of the worg page you linked to. I forgot to mention one other thing: I use Aquamacs, which has a hard time with the compiling-without-make stuff. My bad; sorry. /fas On 25 August 2012 14:19, John Hendy jw.he...@gmail.com wrote: Can you just compile without make tools? This is what I do on Windows in combination with git, which is easier to setup than trying to get a compiler up and running, at least for me :) http://orgmode.org/worg/org-hacks.html#compiling-org-without-make Hope that helps! John On Aug 25, 2012 12:32 PM, Filippo A. Salustri salus...@ryerson.ca wrote: I have looked but cannot find anything especially enlightening. I haven't yet installed Xcode on some of my Lion machines, so I haven't got 'make' everywhere. I've been toying with trying to do the installation on my Mac server, which has Xcode, then copying the compiled stuff into the identical directory structure on my non-Xcode machines. Any thoughts on whether that would work? And in any case, if someone could point me at a good page explaining the Lion/Org installation, I'd greatly appreciate it. /fas -- \V/_ Filippo A. Salustri, Ph.D., P.Eng. Mechanical and Industrial Engineering Ryerson University 350 Victoria St, Toronto, ON M5B 2K3, Canada Tel: 416/979-5000 ext 7749 Fax: 416/979-5265 Email: salus...@ryerson.ca http://deseng.ryerson.ca/~fil/ -- \V/_ Filippo A. Salustri, Ph.D., P.Eng. Mechanical and Industrial Engineering Ryerson University 350 Victoria St, Toronto, ON M5B 2K3, Canada Tel: 416/979-5000 ext 7749 Fax: 416/979-5265 Email: salus...@ryerson.ca http://deseng.ryerson.ca/~fil/
Re: [O] advice on compiling org 7.9 for OSX Lion.
Yes, John is right. Xcode is one-stop shopping for gcc, fortran (!?!?!), objective-c, all the command-line tools, etc so on, without having to use macports or fink or whatever. And it's a trivial installation. (Note to non-Mac users; Lion client version comes with no compilation stuff cuz... well, it's a client :) /fas On 25 August 2012 15:44, John Hendy jw.he...@gmail.com wrote: On Sat, Aug 25, 2012 at 2:39 PM, Achim Gratz strom...@nexgo.de wrote: Filippo A. Salustri writes: I haven't yet installed Xcode on some of my Lion machines, so I haven't got 'make' everywhere. Why do you need Xcode to get make? Having a Mac myself, I'm assuming the answer is that it's just the easiest way. Pop in the DVD and install the gcc tools from the extras folder. Is there a better way? John I've been toying with trying to do the installation on my Mac server, which has Xcode, then copying the compiled stuff into the identical directory structure on my non-Xcode machines. Any thoughts on whether that would work? Yes that works just fine. Regards, Achim. -- +[Q+ Matrix-12 WAVE#46+305 Neuron microQkb Andromeda XTk Blofeld]+ SD adaptation for Waldorf rackAttack V1.04R1: http://Synth.Stromeko.net/Downloads.html#WaldorfSDada -- \V/_ Filippo A. Salustri, Ph.D., P.Eng. Mechanical and Industrial Engineering Ryerson University 350 Victoria St, Toronto, ON M5B 2K3, Canada Tel: 416/979-5000 ext 7749 Fax: 416/979-5265 Email: salus...@ryerson.ca http://deseng.ryerson.ca/~fil/
Re: [O] advice on compiling org 7.9 for OSX Lion.
Achim, Thanks for confirming the bit about compiling org here and copying it elsewhere. I'll give it a shot. /fas On 25 August 2012 15:39, Achim Gratz strom...@nexgo.de wrote: Filippo A. Salustri writes: I haven't yet installed Xcode on some of my Lion machines, so I haven't got 'make' everywhere. Why do you need Xcode to get make? I've been toying with trying to do the installation on my Mac server, which has Xcode, then copying the compiled stuff into the identical directory structure on my non-Xcode machines. Any thoughts on whether that would work? Yes that works just fine. Regards, Achim. -- +[Q+ Matrix-12 WAVE#46+305 Neuron microQkb Andromeda XTk Blofeld]+ SD adaptation for Waldorf rackAttack V1.04R1: http://Synth.Stromeko.net/Downloads.html#WaldorfSDada -- \V/_ Filippo A. Salustri, Ph.D., P.Eng. Mechanical and Industrial Engineering Ryerson University 350 Victoria St, Toronto, ON M5B 2K3, Canada Tel: 416/979-5000 ext 7749 Fax: 416/979-5265 Email: salus...@ryerson.ca http://deseng.ryerson.ca/~fil/
Re: [O] Using '?' as a todo keyword?
Thanks for the idea. Yes, I also use colour, but my brain prefers both colour and mnemonics that work for it. I do understand it's not for everyone. /fas On 14 April 2012 19:34, suvayu ali fatkasuvayu+li...@gmail.com wrote: Hi Filippo, On Fri, Apr 13, 2012 at 22:28, Filippo A. Salustri salus...@ryerson.ca wrote: Later, during review, the '?'s stand out against the other alpha keywords, drawing my attention to them. Maybe something like this will help. (setq org-todo-keyword-faces '((DBUG . (:background gold :foreground indianred3 :weight bold)) (LEAK . (:background gold :foreground indianred3 :weight bold)) (SEGF . (:background gold :foreground indianred3 :weight bold)) (CNCL . (:background snow3 :foreground black :weight bold)) )) Of course you would need to change the keywords to what ever you use. PS: I also don't like long keywords, so I keep them 4 characters long. -- Suvayu Open source is the future. It sets us free. -- \V/_ Filippo A. Salustri, Ph.D., P.Eng. Mechanical and Industrial Engineering Ryerson University 350 Victoria St, Toronto, ON M5B 2K3, Canada Tel: 416/979-5000 ext 7749 Fax: 416/979-5265 Email: salus...@ryerson.ca http://deseng.ryerson.ca/~fil/
Re: [O] Setting a task's priority based on its subtasks priorities
Nick, Thanks very much! Excellent description. Cheers. Fil On 13 April 2012 00:35, Nick Dokos nicholas.do...@hp.com wrote: Filippo A. Salustri salus...@ryerson.ca wrote: Hi all, I'm looking for a little coding help. I want to try to a task's priority automatically, based on the priorities of its subtasks. Specifically, I'd like to set the priority of the task to the priority of the highest-priority subtask. And I'd like that task priority to be updated (if necessary) automatically any time I change the priority of one of its subtasks. The basic idea in all of these situations is to use org-map-entries from the mapping API: (info (org) Using the mapping API) to walk the entries, applying a function on each. The function to apply on each entry is frequently a specialization of one of the functions provided by the property API: (info (org) Using the property API) In this case, you need a function to get the priority of each entry: (def fas/task-priority () (org-entry-get (point) PRIORITY)) which you can then give to org-map-entries: (org-map-entries (function fas/task-priority) t 'tree) The assumption here is that we are at the head node and we have an arbitrary number of subnodes. The call above will accumulate the priorities of each subnode in a list (if a subnode does not have a priority assigned, the priority will be nil). For example, applying * section ** [#B] subsection *** [#C] subsubsection paragraph * [#B] subparagraph will return the list (nil B C nil B) It is then just a matter of finding the highest priority and applying it to the top node. Assuming that A is higher priority than B etc, something like this will do: --8---cut here---start-8--- (defun fas/task-priority () (org-entry-get (point) PRIORITY)) (defun fas/set-task-priority () (interactive) (let* ((priorities (org-map-entries (function fas/task-priority) t 'tree)) (sortedpriorities (sort (delq nil priorities) (function string-lessp (if sortedpriorities (org-priority (aref (car sortedpriorities) 0) --8---cut here---end---8--- org-priority wants a character, but sortedpriorities is a list of strings, hence the aref rigmarole. It should work even if *no* priorities are set at all: sortedpriorities will be nil, so nothing will be done. Nick -- \V/_ Filippo A. Salustri, Ph.D., P.Eng. Mechanical and Industrial Engineering Ryerson University 350 Victoria St, Toronto, ON M5B 2K3, Canada Tel: 416/979-5000 ext 7749 Fax: 416/979-5265 Email: salus...@ryerson.ca http://deseng.ryerson.ca/~fil/
[O] Using '?' as a todo keyword?
Hi, I would like to use ? as a todo keyword, but org-todo-keywords doesn't seem to recognize something like ?(?) Is punctuation verboten in org-todo-keywords? Or do I have to escape the '?' in some way? Sorry; I checked the doc and couldn't find anything. I'm running org v 7.5. Cheers. Fil -- \V/_ Filippo A. Salustri, Ph.D., P.Eng. Mechanical and Industrial Engineering Ryerson University 350 Victoria St, Toronto, ON M5B 2K3, Canada Tel: 416/979-5000 ext 7749 Fax: 416/979-5265 Email: salus...@ryerson.ca http://deseng.ryerson.ca/~fil/
Re: [O] Using '?' as a todo keyword?
Maybe I'm just being a little compulsive, but all my states are 1 character long cuz that's all I really need to distinguish states (plus a little colour), and it frees up more of a line for the actual task. Thanks for the info. I will be upgrading my org as soon as I'm done grading exams, but in the meantime I'll try the string(?) form and see if that helps. /fas On 13 April 2012 13:47, Nick Dokos nicholas.do...@hp.com wrote: Filippo A. Salustri salus...@ryerson.ca wrote: I would like to use ? as a todo keyword, but org-todo-keywords doesn't seem to recognize something like ?(?) Is punctuation verboten in org-todo-keywords? Or do I have to escape the '?' in some way? Sorry; I checked the doc and couldn't find anything. I'm running org v 7.5. Not sure if things have changed in this area since 7.5, but with latest I can customize org-todo-keywords and insert ?(?) as a TODO keyword with no problems (in *very* light testing). However, IMO it's a bad idea to use punctuation chars as TODO keywords: if you look at the doc string, there are plenty of them that have special meaning - personally, I don't want to bother figuring out which ones are allowed and which ones are not - so they are all out of bounds AFAIAC. It might be OK to have something like QUESTION(?) or even WTH?(?) as TODO states and that's probably better than a single punctuation chars. Personally, I've never understood the impetus behind such requests: what does ?(?) buy you that QUESTION(?) does not? And I don't mean this as a rhetorical question: I would like to get an idea of what I'm missing. Thanks, Nick -- \V/_ Filippo A. Salustri, Ph.D., P.Eng. Mechanical and Industrial Engineering Ryerson University 350 Victoria St, Toronto, ON M5B 2K3, Canada Tel: 416/979-5000 ext 7749 Fax: 416/979-5265 Email: salus...@ryerson.ca http://deseng.ryerson.ca/~fil/
Re: [O] Using '?' as a todo keyword?
If I only used big screens, I'd probably do as you do. But I travel with an 11 Macbook Air and I use it at least half the time. I have very few keywords - only about a dozen. I wanted to use '?' as a general one in a generic org capture template. That way I don't have to worry about setting a proper keyword during capture and I can just get the task down and move on. Later, during review, the '?'s stand out against the other alpha keywords, drawing my attention to them. Whatever. Maybe I'll try it again once I've upgraded to 7.8. It's not a showstopper. Thanks again. /fas On 13 April 2012 16:22, Nick Dokos nicholas.do...@hp.com wrote: Filippo A. Salustri salus...@ryerson.ca wrote: Maybe I'm just being a little compulsive, but all my states are 1 character long cuz that's all I really need to distinguish states (plus a little colour), and it frees up more of a line for the actual task. OK - thanks. To each his/her own, I guess. I use long, mnemonic keywords because I hate going back after six months and having to dig out the meaning of some obscure reference out of the rubble of my memory[fn:1]. org is one way to extend my memory so that by spending a few seconds now, I don't have to waste frustrating minutes or hours in the future. I also use big screens (256 columns or even bigger sometimes), so screen real estate is not a consideration for me. Nick PS. One habit that I cannot break is writing down a telephone number (particularly when listening to voice mail) without a name. Finding the scrap of paper again after a few days is frustrating and yet I seem to be unable to wean myself from the habit - calling the number to find out who's on the other end has always seemed crass so I avoid it :-) Footnotes: [fn:1] Nowadays, the six months are more like six weeks or six days and the older I get, the worse it gets... -- \V/_ Filippo A. Salustri, Ph.D., P.Eng. Mechanical and Industrial Engineering Ryerson University 350 Victoria St, Toronto, ON M5B 2K3, Canada Tel: 416/979-5000 ext 7749 Fax: 416/979-5265 Email: salus...@ryerson.ca http://deseng.ryerson.ca/~fil/
[O] Setting a task's priority based on its subtasks priorities
Hi all, I'm looking for a little coding help. I want to try to a task's priority automatically, based on the priorities of its subtasks. Specifically, I'd like to set the priority of the task to the priority of the highest-priority subtask. And I'd like that task priority to be updated (if necessary) automatically any time I change the priority of one of its subtasks. Can anyone offer me any pointers or boilerplate code I could use to kick this off? Cheers. Fil -- \V/_ Filippo A. Salustri, Ph.D., P.Eng. Mechanical and Industrial Engineering Ryerson University 350 Victoria St, Toronto, ON M5B 2K3, Canada Tel: 416/979-5000 ext 7749 Fax: 416/979-5265 Email: salus...@ryerson.ca http://deseng.ryerson.ca/~fil/
[O] Changing what org-agenda-goto shows
Hi everyone, At the moment, org-agenda-goto shows me the current item plus one subitem. I would prefer it to show all the subitems of the current item; and ideally it would narrow the buffer to just the current item subtree. I've looked at the code and variables that affect org-agenda-goto, and I don't see any way to get the desired behaviour. I should also note that I'm still running org 7.5. (I know; shame on me - but I haven't time to upgrade till I finish grading exams) Can anyone suggest how I can get the desired behaviour? Cheers. Fil -- \V/_ Filippo A. Salustri, Ph.D., P.Eng. Mechanical and Industrial Engineering Ryerson University 350 Victoria St, Toronto, ON M5B 2K3, Canada Tel: 416/979-5000 ext 7749 Fax: 416/979-5265 Email: salus...@ryerson.ca http://deseng.ryerson.ca/~fil/
[O] accessing org-lowest-priority in .emacs
I'm having a senior moment here. I've got code of this form in my Preferences.el (aquamacs-speak for .emacs): (defvar fas/org-some-variable (/ 10 (* 1000 (- org-lowest-priority org-highest-priority But org-lowest-priority org-highest-priority aren't defined at that point in Preferences.el. I need to defer the calculation till org is running. It's embarrassing, but it's not coming to me. Can someone help me out? Cheers. Fil -- \V/_ Filippo A. Salustri, Ph.D., P.Eng. Mechanical and Industrial Engineering Ryerson University 350 Victoria St, Toronto, ON M5B 2K3, Canada Tel: 416/979-5000 ext 7749 Fax: 416/979-5265 Email: salus...@ryerson.ca http://deseng.ryerson.ca/~fil/
Re: [O] accessing org-lowest-priority in .emacs
Yes, the math is wrong; I knew that. Thanks for the hint. Cheers. Fil On 16 June 2011 09:30, Jambunathan K kjambunat...@gmail.com wrote: Filippo A. Salustri salus...@ryerson.ca writes: I'm having a senior moment here. I've got code of this form in my Preferences.el (aquamacs-speak for .emacs): (defvar fas/org-some-variable (/ 10 (* 1000 (- org-lowest-priority org-highest-priority But org-lowest-priority org-highest-priority aren't defined at that point in Preferences.el. I need to defer the calculation till org is running. Do this #+begin_src emacs-lisp (require 'org) ;; note this (defvar fas/org-some-variable (/ 10 (* 1000 (- org-lowest-priority org-highest-priority #+end_src or this #+begin_src emacs-lisp (eval-after-load 'org (defvar fas/org-some-variable ;; replace defvar with setq, maybe? (/ 10 (* 1000 (- org-lowest-priority org-highest-priority) #+end_src Just re-check whether you have got your math right. It looks suspicious to me. It's embarrassing, but it's not coming to me. Can someone help me out? Cheers. Fil Jambunathan K. -- -- \V/_ Filippo A. Salustri, Ph.D., P.Eng. Mechanical and Industrial Engineering Ryerson University 350 Victoria St, Toronto, ON M5B 2K3, Canada Tel: 416/979-5000 ext 7749 Fax: 416/979-5265 Email: salus...@ryerson.ca http://deseng.ryerson.ca/~fil/
Re: [O] accessing org-lowest-priority in .emacs
Right. Require. *sigh* Let me just wipe the egg off my face. Thanks. Cheers. Fil On 16 June 2011 09:39, Nick Dokos nicholas.do...@hp.com wrote: Filippo A. Salustri salus...@ryerson.ca wrote: I've got code of this form in my Preferences.el (aquamacs-speak for .emacs): (defvar fas/org-some-variable (/ 10 (* 1000 (- org-lowest-priority org-highest-priority But org-lowest-priority org-highest-priority aren't defined at that point in Preferences.el. I need to defer the calculation till org is running. You just need to defer it until org is loaded: just put it after the (require 'org-install). If you are depending on an autoloaded function to be called in order to load org, you can just (require 'org) at some place in Preferences.el and put the defvar after it. Or you can initialize it in a hook - org-load-hook is the one to use here: (add-to-list 'org-load-hook (function (lambda () (setq fas/org-some-variable (/ 10 (* 1000 (- org-lowest-priority org-highest-priority))) Nick -- \V/_ Filippo A. Salustri, Ph.D., P.Eng. Mechanical and Industrial Engineering Ryerson University 350 Victoria St, Toronto, ON M5B 2K3, Canada Tel: 416/979-5000 ext 7749 Fax: 416/979-5265 Email: salus...@ryerson.ca http://deseng.ryerson.ca/~fil/
Re: [O] accessing org-lowest-priority in .emacs
I must be a moron. But I'm still having problems. Here's what's in my Preferences.el: (require 'org-install) (add-to-list 'auto-mode-alist '(\\.org\\' . org-mode)) ; use it for *.org. (add-hook 'org-mode-hook 'turn-on-font-lock) ; font lock on always. (defvar fas/org-priority-scale (/ (* 1000 (- org-lowest-priority org-highest-priority)) 10)) When I start aquamacs, I get an error that org-lowest-priority is not defined. Help? Cheers. Fil On 16 June 2011 09:39, Nick Dokos nicholas.do...@hp.com wrote: Filippo A. Salustri salus...@ryerson.ca wrote: I've got code of this form in my Preferences.el (aquamacs-speak for .emacs): (defvar fas/org-some-variable (/ 10 (* 1000 (- org-lowest-priority org-highest-priority But org-lowest-priority org-highest-priority aren't defined at that point in Preferences.el. I need to defer the calculation till org is running. You just need to defer it until org is loaded: just put it after the (require 'org-install). If you are depending on an autoloaded function to be called in order to load org, you can just (require 'org) at some place in Preferences.el and put the defvar after it. Or you can initialize it in a hook - org-load-hook is the one to use here: (add-to-list 'org-load-hook (function (lambda () (setq fas/org-some-variable (/ 10 (* 1000 (- org-lowest-priority org-highest-priority))) Nick -- \V/_ Filippo A. Salustri, Ph.D., P.Eng. Mechanical and Industrial Engineering Ryerson University 350 Victoria St, Toronto, ON M5B 2K3, Canada Tel: 416/979-5000 ext 7749 Fax: 416/979-5265 Email: salus...@ryerson.ca http://deseng.ryerson.ca/~fil/
Re: [O] accessing org-lowest-priority in .emacs
Right. I got it with the org-load-hook thing. Thanks, and apologies. Cheers. Fil On 16 June 2011 12:15, Nick Dokos nicholas.do...@hp.com wrote: Filippo A. Salustri salus...@ryerson.ca wrote: I must be a moron. But I'm still having problems. Here's what's in my Preferences.el: (require 'org-install) (add-to-list 'auto-mode-alist '(\\.org\\' . org-mode)) ; use it for *.org. (add-hook 'org-mode-hook 'turn-on-font-lock) ; font lock on always. (defvar fas/org-priority-scale (/ (* 1000 (- org-lowest-priority org-highest-priority)) 10)) When I start aquamacs, I get an error that org-lowest-priority is not defined. Nope, the fault is mine: org-install just sets up autoloads, so you have to require 'org, or set up the hook or do the eval-after-load as Jambunathan suggested. Nick -- \V/_ Filippo A. Salustri, Ph.D., P.Eng. Mechanical and Industrial Engineering Ryerson University 350 Victoria St, Toronto, ON M5B 2K3, Canada Tel: 416/979-5000 ext 7749 Fax: 416/979-5265 Email: salus...@ryerson.ca http://deseng.ryerson.ca/~fil/
[O] odd behaviour in a function - looking for advice
Hi all, I've got this function: (defun fas/org-priority (optional p) Change the priority of the current item, then refresh agenda. (interactive) (save-excursion (if (org-priority p) (org-agenda-redo I set up my window to have 2 frames side by side. The org agenda is in the left frame. In the right frame is whatever org file I'm working on. In the org file (right frame), I call the above function, having bound it to \C-, It does what it's supposed to to the priority, but then the point moves to the agenda frame and goes to the end of the agenda buffer. I would have thought 'save-excursion' would have returned the point to wherever I was when I called the function. Anyone got any idea what I'm doing wrong? Cheers. Fil -- \V/_ Filippo A. Salustri, Ph.D., P.Eng. Mechanical and Industrial Engineering Ryerson University 350 Victoria St, Toronto, ON M5B 2K3, Canada Tel: 416/979-5000 ext 7749 Fax: 416/979-5265 Email: salus...@ryerson.ca http://deseng.ryerson.ca/~fil/
Re: [O] odd behaviour in a function - looking for advice
save-window-excursion did the trick. Never heard of that one. Thanks! Cheers. Fil On 16 June 2011 21:46, Jambunathan K kjambunat...@gmail.com wrote: Filippo A. Salustri salus...@ryerson.ca writes: Hi all, I've got this function: (defun fas/org-priority (optional p) Change the priority of the current item, then refresh agenda. (interactive) (save-excursion (if (org-priority p) (org-agenda-redo I set up my window to have 2 frames side by side. The org agenda is in the left frame. In the right frame is whatever org file I'm working on. In the org file (right frame), I call the above function, having bound it to \C-, It does what it's supposed to to the priority, but then the point moves to the agenda frame and goes to the end of the agenda buffer. I would have thought 'save-excursion' would have returned the point to wherever I was when I called the function. save-window-excursion maybe? Or you could solve the problem by one switch-to-buffer-other-window. Just a quick hint. Anyone got any idea what I'm doing wrong? Cheers. Fil -- -- \V/_ Filippo A. Salustri, Ph.D., P.Eng. Mechanical and Industrial Engineering Ryerson University 350 Victoria St, Toronto, ON M5B 2K3, Canada Tel: 416/979-5000 ext 7749 Fax: 416/979-5265 Email: salus...@ryerson.ca http://deseng.ryerson.ca/~fil/
Re: [O] feature request: changing the way numeric priorities are calculated
Could you explain (alpha-org-entry-priority-letter sg), and where you would use alpha-org-priority-score. Also, while I see what you're doing in the code, I would prefer something not so rigid (i.e. expecting only 3 levels of priority and having the values for those priorities hardwired into the code). Cheers. Fil On 5 June 2011 00:26, Samuel Wales samolog...@gmail.com wrote: I do (defun alpha-org-priority-score (optional sg) (case (alpha-org-entry-priority-letter sg) (?A 2) (?B 0) (?C -1) (t (error Case exhausted for priority -- The Kafka Pandemic: http://thekafkapandemic.blogspot.com I support the Whittemore-Peterson Institute (WPI) === Extreme bigotry against people with deadly serious diseases is still extreme bigotry. -- \V/_ Filippo A. Salustri, Ph.D., P.Eng. Mechanical and Industrial Engineering Ryerson University 350 Victoria St, Toronto, ON M5B 2K3, Canada Tel: 416/979-5000 ext 7749 Fax: 416/979-5265 Email: salus...@ryerson.ca http://deseng.ryerson.ca/~fil/
[O] feature request: changing the way numeric priorities are calculated
As I understand org - at least as of v7.4, the numeric values of priorities as calculated in org-get-priority, are variable and based on multiplying things by 1000. I can understand why this is done this way, but it is a little restrictive. I would like to suggest that the numeric values of priorities be fixed between 0 and some value that can be user-defined, and that org-get-priority be tweaked to return a value between 0 and the max value, based on the range of priorities (i.e. from org-lowest-priority to org-highest-priority). So, for instance if you set the max numeric priority to 10, it wouldn't matter if you had 3 priority levels or 100, they'd all range between 0 and 10. In my case, I'm asking for this because I'm writing a user-defined comparator function that combines a number of features into a single measure of 'importance' (toodledo does something similar), and having the ability to essentially 'weight' the priority with respect to other values would be very useful. I'd try to do the changes myself, but I'm just not up to the task these days. Thoughts? Cheers. Fil Salustri -- \V/_ Filippo A. Salustri, Ph.D., P.Eng. Mechanical and Industrial Engineering Ryerson University 350 Victoria St, Toronto, ON M5B 2K3, Canada Tel: 416/979-5000 ext 7749 Fax: 416/979-5265 Email: salus...@ryerson.ca http://deseng.ryerson.ca/~fil/
[O] help on sorting agendas
Hi all, I have a block agenda, one element of which is (todo REVIEW|ACTIVE|WIP ((org-agenda-sorting-strategy '(priority-down time-up And I have tasks with their SCHEDULED dates set, but no deadlines. However, the agenda seems to NOT sort by the SCHEDULED date. Is that what's supposed to happen? Any way I can get it to sort on SCHEDULED dates? Cheers. Fil -- \V/_ Filippo A. Salustri, Ph.D., P.Eng. Mechanical and Industrial Engineering Ryerson University 350 Victoria St, Toronto, ON M5B 2K3, Canada Tel: 416/979-5000 ext 7749 Fax: 416/979-5265 Email: salus...@ryerson.ca http://deseng.ryerson.ca/~fil/
Re: [O] Formal description of Org files
Antlr is just another in a long line of lexical parsers. I still remember the original lex (for lexical analysis), which in combination with yacc (for parsing and grammar) could make pretty much any conventional programming language. Then GNU came up with Flex (fast lex) and Bison (instead of yacc...get it? :) Then IDEs really started to take off and much of the ugly parts of writing languages disappeared, which led to all kinds of new tools like antlr. But they all basically do the same thing: let one describe the syntax and grammar of (quasi) formal (programming) languages. I don't know if any of them produce diagrams, but I wouldn't be surprised if at least some did. Cheers. Fil On 15 April 2011 09:42, Peter Frings peter.fri...@agfa.com wrote: On 15 Apr 2011, at 14:58, Christian Egli wrote: Carsten Dominik carsten.domi...@gmail.com writes: At FOSDEM, someone asked me if there was a formal description of the structure of Org files, in some language that would be the input for a parser (or parser generator?) so that Org file could be easily parsed. Maybe the person was talking about antlr[1], ANother Tool for Language Recognition, a language tool that provides a framework for constructing recognizers, interpreters, compilers, and translators from grammatical descriptions containing actions in a variety of target languages”. snip Sounds like an interesting project. Wow, if that thing can export syntax diagrams in PNG or PDF I’d be really happy. Looks very interesting — albeit serious overkill for what I’d use it :-). thanks, Peter. -- c++; // this makes c bigger but returns the old value -- Filippo A. Salustri, Ph.D., P.Eng. Mechanical and Industrial Engineering Ryerson University 350 Victoria St, Toronto, ON M5B 2K3, Canada Tel: 416/979-5000 ext 7749 Fax: 416/979-5265 Email: salus...@ryerson.ca http://deseng.ryerson.ca/~fil/
Re: [O] Re: manipulating the agenda from elisp?
Yup; I'd noticed those sections and noted them for future study. Thanks. Cheers. Fil On 8 April 2011 01:00, Nick Dokos nicholas.do...@hp.com wrote: Filippo A. Salustri salus...@ryerson.ca wrote: That's a good start! Thanks! Cheers. Fil On 7 April 2011 23:34, Bernt Hansen be...@norang.ca wrote: Filippo A. Salustri salus...@ryerson.ca writes: Hi, I'm thinking I might like to try some programming to do things to the agenda from an elisp function. I tried 'apropos agenda' but I didn't really see the kind of thing I'm looking for. What I'm hoping is for some way to iterate over each item in the agenda, and be able to access the content of the item in some structured way. I think I've seen functions that can pull info like TODO state and priority from the item under the cursor, so it's the iteration part that I'm really interested in. Any advice? Be sure to read the Hacking appendix in the org manual, in particular Using the property API and Using the mapping API. Nick Hi Fil, I just found the B f code to execute an arbitrary function on marked entries in the agenda. Maybe this will help? This following code visits the marked entries and just displays the heading for the task. Mark multiple entries in the agenda with 'm' and then 'B f bh/test RET' should display the heading of each marked task in the *Messages* buffer. --8---cut here---start-8--- (defun bh/test () (interactive) (let* ((marker (or (org-get-at-bol 'org-marker) (org-agenda-error))) (buffer (marker-buffer marker)) (pos (marker-position marker))) (with-current-buffer buffer (if (org-mode-p) (save-excursion (goto-char pos) (message %s (nth 4 (org-heading-components --8---cut here---end---8--- Depending on what you want to do you can either act on marked entries or create a custom agenda skip function that can visit the tasks as the agenda is built. HTH, Bernt -- Filippo A. Salustri, Ph.D., P.Eng. Mechanical and Industrial Engineering Ryerson University 350 Victoria St, Toronto, ON M5B 2K3, Canada Tel: 416/979-5000 ext 7749 Fax: 416/979-5265 Email: salus...@ryerson.ca http://deseng.ryerson.ca/~fil/ Alternatives: -- Filippo A. Salustri, Ph.D., P.Eng. Mechanical and Industrial Engineering Ryerson University 350 Victoria St, Toronto, ON M5B 2K3, Canada Tel: 416/979-5000 ext 7749 Fax: 416/979-5265 Email: salus...@ryerson.ca http://deseng.ryerson.ca/~fil/
Re: [O] Re: manipulating the agenda from elisp?
Thanks to everyone for the hints and tips. It's much appreciated. Cheers. Fil On 8 April 2011 12:59, Carsten Dominik carsten.domi...@gmail.com wrote: On 8.4.2011, at 05:34, Bernt Hansen wrote: Filippo A. Salustri salus...@ryerson.ca writes: Hi, I'm thinking I might like to try some programming to do things to the agenda from an elisp function. I tried 'apropos agenda' but I didn't really see the kind of thing I'm looking for. What I'm hoping is for some way to iterate over each item in the agenda, and be able to access the content of the item in some structured way. I think I've seen functions that can pull info like TODO state and priority from the item under the cursor, so it's the iteration part that I'm really interested in. Any advice? Hi Fil, I just found the B f code to execute an arbitrary function on marked entries in the agenda. Maybe this will help? This following code visits the marked entries and just displays the heading for the task. Mark multiple entries in the agenda with 'm' and then 'B f bh/test RET' should display the heading of each marked task in the *Messages* buffer. --8---cut here---start-8--- (defun bh/test () (interactive) (let* ((marker (or (org-get-at-bol 'org-marker) (org-agenda-error))) (buffer (marker-buffer marker)) (pos (marker-position marker))) (with-current-buffer buffer (if (org-mode-p) (save-excursion (goto-char pos) (message %s (nth 4 (org-heading-components --8---cut here---end---8--- Also useful can be (org-entry-properties marker) Kind of slow for *many* entries, but perfectly good for a limited number... - Carsten -- Filippo A. Salustri, Ph.D., P.Eng. Mechanical and Industrial Engineering Ryerson University 350 Victoria St, Toronto, ON M5B 2K3, Canada Tel: 416/979-5000 ext 7749 Fax: 416/979-5265 Email: salus...@ryerson.ca http://deseng.ryerson.ca/~fil/
[O] manipulating the agenda from elisp?
Hi, I'm thinking I might like to try some programming to do things to the agenda from an elisp function. I tried 'apropos agenda' but I didn't really see the kind of thing I'm looking for. What I'm hoping is for some way to iterate over each item in the agenda, and be able to access the content of the item in some structured way. I think I've seen functions that can pull info like TODO state and priority from the item under the cursor, so it's the iteration part that I'm really interested in. Any advice? Cheers. Fil -- Filippo A. Salustri, Ph.D., P.Eng. Mechanical and Industrial Engineering Ryerson University 350 Victoria St, Toronto, ON M5B 2K3, Canada Tel: 416/979-5000 ext 7749 Fax: 416/979-5265 Email: salus...@ryerson.ca http://deseng.ryerson.ca/~fil/
[O] Re: manipulating the agenda from elisp?
That's a good start! Thanks! Cheers. Fil On 7 April 2011 23:34, Bernt Hansen be...@norang.ca wrote: Filippo A. Salustri salus...@ryerson.ca writes: Hi, I'm thinking I might like to try some programming to do things to the agenda from an elisp function. I tried 'apropos agenda' but I didn't really see the kind of thing I'm looking for. What I'm hoping is for some way to iterate over each item in the agenda, and be able to access the content of the item in some structured way. I think I've seen functions that can pull info like TODO state and priority from the item under the cursor, so it's the iteration part that I'm really interested in. Any advice? Hi Fil, I just found the B f code to execute an arbitrary function on marked entries in the agenda. Maybe this will help? This following code visits the marked entries and just displays the heading for the task. Mark multiple entries in the agenda with 'm' and then 'B f bh/test RET' should display the heading of each marked task in the *Messages* buffer. --8---cut here---start-8--- (defun bh/test () (interactive) (let* ((marker (or (org-get-at-bol 'org-marker) (org-agenda-error))) (buffer (marker-buffer marker)) (pos (marker-position marker))) (with-current-buffer buffer (if (org-mode-p) (save-excursion (goto-char pos) (message %s (nth 4 (org-heading-components --8---cut here---end---8--- Depending on what you want to do you can either act on marked entries or create a custom agenda skip function that can visit the tasks as the agenda is built. HTH, Bernt -- Filippo A. Salustri, Ph.D., P.Eng. Mechanical and Industrial Engineering Ryerson University 350 Victoria St, Toronto, ON M5B 2K3, Canada Tel: 416/979-5000 ext 7749 Fax: 416/979-5265 Email: salus...@ryerson.ca http://deseng.ryerson.ca/~fil/
Re: [O] advice re organizing todo agenda items
Samuel Nick, I'm using priorities now, but there's only 3 of 'em. I would prefer finer control over them if I were to continue using priorities in this way. Q: My reading of the doc is that there's no way to change the number of priorities org supports: we're stuck with A/B/C. Right? Tags may work, but will require more updating than I would prefer. I come from the world of iPhone apps, and it's quite popular to have apps that let you cycle through a list of items - essentially a circular list. It's also a foundation of Forster's Autofocus task management methods. I'll take all this under advisement and see what I can think of. Thanks! Cheers. Fil On 30 March 2011 23:34, Samuel Wales samolog...@gmail.com wrote: Yes, use tags, then use a custom sort. Or, if you do not use priorities for local sorting, use priorities. -- Filippo A. Salustri, Ph.D., P.Eng. Mechanical and Industrial Engineering Ryerson University 350 Victoria St, Toronto, ON M5B 2K3, Canada Tel: 416/979-5000 ext 7749 Fax: 416/979-5265 Email: salus...@ryerson.ca http://deseng.ryerson.ca/~fil/
Re: [O] advice re organizing todo agenda items
I just found org-{lowest,highest,default}-priority before coming to work; didn't have time to post about them. These do in fact let one change the number of priorities. I think, for now at least, I fall into the go crazy category. I range my priorities from A to Z. Hopefully I'll find a less expansive way of doing it. Cheers. Fil On 31 March 2011 08:18, T Helms maxco...@gmail.com wrote: On 03/31/2011 06:41 AM, Steven Haryanto wrote: On Thu, Mar 31, 2011 at 5:11 PM, Filippo A. Salustri salus...@ryerson.ca wrote: Samuel Nick, I'm using priorities now, but there's only 3 of 'em. I would prefer finer control over them if I were to continue using priorities in this way. Q: My reading of the doc is that there's no way to change the number of priorities org supports: we're stuck with A/B/C. Right? I believe you can change the list of priorities with this setting (which you put in your Org file): #+PRIORITIES: Low M High Whatever ... PS: Sorry for the double reply. I usually subscribe to mailing lists which set its Reply-To to list. HTH, Steven You can change it globally through M-x customize-group RET org-priorities I use 1-9 for finer control, it looks like you could go crazy with it if you really wanted! Tracy -- Filippo A. Salustri, Ph.D., P.Eng. Mechanical and Industrial Engineering Ryerson University 350 Victoria St, Toronto, ON M5B 2K3, Canada Tel: 416/979-5000 ext 7749 Fax: 416/979-5265 Email: salus...@ryerson.ca http://deseng.ryerson.ca/~fil/
[O] question about agendas
Hi all, I'm looking to customize how some agenda commands work. The simple example I'm working on is combining changing a task's priority AND refreshing the agenda. What I'd normally do is: 1. cursor to the task of interest, 2. change its priority, 3. refresh the agenda. After step 3, the cursor remains where it was in step 2. That's fine. Then I rebind , in org-agenda-mode-map to this: (defun org-fas-agenda-priority (optional p) Change the priority of the current item, then refresh agenda. (interactive) (save-excursion (if (org-agenda-priority p) (org-agenda-redo When this function runs, it does exactly what I want it to do. BUT the cursor jumps to row one of the agenda buffer. Can anyone suggest a cause and a fix? Cheers. Fil -- Filippo A. Salustri, Ph.D., P.Eng. Mechanical and Industrial Engineering Ryerson University 350 Victoria St, Toronto, ON M5B 2K3, Canada Tel: 416/979-5000 ext 7749 Fax: 416/979-5265 Email: salus...@ryerson.ca http://deseng.ryerson.ca/~fil/
Re: [O] question about agendas
Nick, Thanks for the quick reply. I'd actually started with a similar wrapper for org-priority, and the save-excursion was needed because the org-agenda-redo would punt me into the agenda from whatever other buffer I was in. I carried the save-excursion into the agenda version of the function because I thought it couldn't hurt. Apparently it does. Removing the save-excursion from the defun below fixes the cursor problem. ...could it be because the excursion is saved before the agenda buffer is rebuilt? Anyways, it's fixed, so I'm happy. Thanks! Cheers. Fil On 31 March 2011 14:51, Nick Dokos nicholas.do...@hp.com wrote: Filippo A. Salustri salus...@ryerson.ca wrote: Hi all, I'm looking to customize how some agenda commands work. The simple example I'm working on is combining changing a task's priority AND refreshing the agenda. What I'd normally do is: 1. cursor to the task of interest, 2. change its priority, 3. refresh the agenda. After step 3, the cursor remains where it was in step 2. That's fine. Then I rebind , in org-agenda-mode-map to this: (defun org-fas-agenda-priority (optional p) Change the priority of the current item, then refresh agenda. (interactive) (save-excursion (if (org-agenda-priority p) (org-agenda-redo When this function runs, it does exactly what I want it to do. BUT the cursor jumps to row one of the agenda buffer. Can anyone suggest a cause and a fix? I don't understand it yet, but can you try without the save-excursion and see if it does what you want? Nick -- Filippo A. Salustri, Ph.D., P.Eng. Mechanical and Industrial Engineering Ryerson University 350 Victoria St, Toronto, ON M5B 2K3, Canada Tel: 416/979-5000 ext 7749 Fax: 416/979-5265 Email: salus...@ryerson.ca http://deseng.ryerson.ca/~fil/
Re: [O] Re: Continuation of main section text after subsections ?
Crazy idea: what if there were a special kind of headline, which basically treats it's content as part of the preceding headline of the same level? Cheers. Fil On 30 March 2011 06:05, Rasmus rasmus.p...@gmail.com wrote: --8---cut here---start-8--- * Main headline Some thoughts expressed here ** Subheading 1 More thoughts expressed here ** Subheading 2 More thoughts expressed here ** Main headline (cont.) I would like to have this text part of 'Main headline', not of 'Subheading 2' --8---cut here---end---8--- I don't understand the logic in this. In terms of final layout, do you want to have subheading appear as a box? Like in some (introductory) textbooks? If so, you could program a certain ** to be export as a certain type of object. You might even be able to use tags to determine how output should be formatted, like in Org-latex-beamer mode. This might require some hacking. I do however, strongly support the idea of terminating headings, but for other reasons. My problem is ending * COMMENT headings. This sketch the issue (in terms of LaTeX export): #+begin_src emacs-org * COMMENT This is were I put all my export settings, various notes and such it could be placed as the very last headline, but that is somewhat annoying an illogical to me. ** Export #+TITLE: Test #+AUTHOR: me [A bunch of paper-specific #+latex_header:] ** An outline of the task at hand [...] And HERE I want to put text before the first subsection. That is beneath Title but before first section. #+end_src In terms of LaTeX I need something like: #+begin_src latex \begin{document} \maketitle This is where I want some initial text \section{first section} #+end_src Of course, I could start explicitly with a \section{intro} (i.e. * Intro) right after \maketitle/\begin{document}, but for short papers I find this is redundant. Is my style the problem or should there be a way to terminate section, maybe with an artificial new heading (similar to the :B_ignoreheading: tag)? Cheers, Rasmus -- Filippo A. Salustri, Ph.D., P.Eng. Mechanical and Industrial Engineering Ryerson University 350 Victoria St, Toronto, ON M5B 2K3, Canada Tel: 416/979-5000 ext 7749 Fax: 416/979-5265 Email: salus...@ryerson.ca http://deseng.ryerson.ca/~fil/
[O] advice re organizing todo agenda items
Hi, I'm hoping someone can offer some advice. In my agenda is a todo list. Let's say there's 10 things in the list. What I'd like to do is rotate the items, i.e. 1. I work on the first item for a while. 2. When I'm done for now, I'd like to push it down to the bottom of the list. 3. Work on the next item (which is now at the top). 4. Wash, rinse, repeat. If the items were all in 1 file, I could just refile an item to push it to the bottom of the file or section. The problem is that they're not in just 1 file. At the moment, I'm subverting effort to fill that role. By changing the effort, I can move things around in the list. But it's (a) a subversion of effort and (b) just generally kludgy. Anyone got any ideas? Cheers. Fil -- Filippo A. Salustri, Ph.D., P.Eng. Mechanical and Industrial Engineering Ryerson University 350 Victoria St, Toronto, ON M5B 2K3, Canada Tel: 416/979-5000 ext 7749 Fax: 416/979-5265 Email: salus...@ryerson.ca http://deseng.ryerson.ca/~fil/
Re: [O] Re: Continuation of main section text after subsections ?
I agree with Marcel on this. If org is supposed to help get /to/ the final version of a document, then it should support the (possibly inconsistent) structures that can appear in all the in-between steps after conceiving of the document and before the final version. The workaround I use is to use lists instead of headlines. The problem then becomes the extra work of turning lists into headines+text later. Cheers. Fil On 27 March 2011 12:11, Marcel van der Boom mar...@hsdev.com wrote: On zo 27-mrt-2011 16:52 Cian cian.ocon...@gmail.com wrote: You can't do that, as it would be akin to trying to have in a book Section 1 Stuff Section 1.1.1 More stuff Now this goes under Section 1 Not really an idiom that makes sense (I find its best to think of org-mode's headings as chapter headers Agreed, for paper books that would not make much sense (depending on how you do it) and that fact kept me from asking the question for a while. For electronic texts however, especially in the drafting stage where (sub-)sections get shuffled around, promoted, demoted, split etc. it does make sense, to me at least. When writing I tend to think about org headings as 'handles' to a logical block of information, including its child blocks. Apparently my analogy clashes with what org-mode wants. I had my hopes on a customization option. Is there a strong reason this could not work as an option in org-mode? marcel -- Marcel van der Boom -- http://hsdev.com/mvdb.vcf HS-Development BV -- http://www.hsdev.com So! web applications -- http://make-it-so.info Cobra build -- http://cobra.mrblog.nl -- Filippo A. Salustri, Ph.D., P.Eng. Mechanical and Industrial Engineering Ryerson University 350 Victoria St, Toronto, ON M5B 2K3, Canada Tel: 416/979-5000 ext 7749 Fax: 416/979-5265 Email: salus...@ryerson.ca http://deseng.ryerson.ca/~fil/
Re: [O] Re: Continuation of main section text after subsections ?
It seems to me we're getting into some real design territory here, in that it comes down to a question of a proper outline. I agree that a proper outline is such that Marcel's format is improper. I agree that org follows the proper outline, was designed to suit it, and therefore it isn't surprising that it's not trivially easy to support Marcel's format too. I would humbly suggest that the real question is a design / use case question. Is it reasonable to expect authors to stick to proper outline format throughout their drafting process? If it is, then org is fine as is. If it isn't, then there's a problem. /How/ it's implemented, or worked around, as the case may be, is, imho, irrelevant in the long term (tho certainly useful in the short). Cheers. Fil On 27 March 2011 13:02, William Gardella gardell...@gmail.com wrote: Marcel van der Boom mar...@hsdev.com writes: On zo 27-mrt-2011 16:52 Cian cian.ocon...@gmail.com wrote: You can't do that, as it would be akin to trying to have in a book Section 1 Stuff Section 1.1.1 More stuff Now this goes under Section 1 Not really an idiom that makes sense (I find its best to think of org-mode's headings as chapter headers Agreed, for paper books that would not make much sense (depending on how you do it) and that fact kept me from asking the question for a while. For electronic texts however, especially in the drafting stage where (sub-)sections get shuffled around, promoted, demoted, split etc. it does make sense, to me at least. When writing I tend to think about org headings as 'handles' to a logical block of information, including its child blocks. Apparently my analogy clashes with what org-mode wants. I had my hopes on a customization option. Is there a strong reason this could not work as an option in org-mode? marcel Marcel, I think this is not yet easily possible in org-mode due to the limitations of org's rather simple concept of markup. Because org tries to stay out of the way of the user's choice of indentation flow, for example, whitespace can't be used to indicate that your text has returned to the top level after entering a subheading. And unlike in, e.g., HTML or LaTeX, there's no way of closing the subheading environment explicitly. As Cian suggests, some alternatives you can use are to employ drawers or environments such as #+BEGIN_NOTE. I also use Org as a drafting tool, mostly for documents that will end up as papers or legal documents rendered with LaTeX. There are a few ambiguities in the markup that are hard to resolve without going the additional step of exporting to HTML or LaTeX and editing that output. You've just stumbled into one of them... I'd support some kind of fix, but it'd be moderately to very involved and far beyond my level of comfort with Elisp. I also agree that it'd be hard to specify. -- William Gardella J.D. Candidate Class of 2011, University of Pittsburgh School of Law -- Filippo A. Salustri, Ph.D., P.Eng. Mechanical and Industrial Engineering Ryerson University 350 Victoria St, Toronto, ON M5B 2K3, Canada Tel: 416/979-5000 ext 7749 Fax: 416/979-5265 Email: salus...@ryerson.ca http://deseng.ryerson.ca/~fil/
[O] Re: Continuation of main section text after subsections ?
Yes, of course. But it's still something *I* have to do as a separate task. This breaks my cognitive workflow; it's a distraction. One of the reasons I use org is that it's so distraction-free compared to every other tool I've tried. It seems like distraction-freeness is a big deal in org, so I would have thought that every bit of distraction is a distraction too many. Cheers. Fil On 27 March 2011 13:08, Nicolas n.goaz...@gmail.com wrote: Hello, Filippo A. Salustri salus...@ryerson.ca writes: The workaround I use is to use lists instead of headlines. The problem then becomes the extra work of turning lists into headines+text later. What about using C-c C-* on the list? Regards, -- Nicolas -- Filippo A. Salustri, Ph.D., P.Eng. Mechanical and Industrial Engineering Ryerson University 350 Victoria St, Toronto, ON M5B 2K3, Canada Tel: 416/979-5000 ext 7749 Fax: 416/979-5265 Email: salus...@ryerson.ca http://deseng.ryerson.ca/~fil/
Re: [O] Re: Continuation of main section text after subsections ?
Out of my depth too. That's why I'd be happy to live with it as is. :) Cheers. Fil On 27 March 2011 13:18, William Gardella gardell...@gmail.com wrote: Filippo A. Salustri salus...@ryerson.ca writes: It seems to me we're getting into some real design territory here, in that it comes down to a question of a proper outline. I agree that a proper outline is such that Marcel's format is improper. I agree that org follows the proper outline, was designed to suit it, and therefore it isn't surprising that it's not trivially easy to support Marcel's format too. I would humbly suggest that the real question is a design / use case question. Is it reasonable to expect authors to stick to proper outline format throughout their drafting process? If it is, then org is fine as is. If it isn't, then there's a problem. /How/ it's implemented, or worked around, as the case may be, is, imho, irrelevant in the long term (tho certainly useful in the short). Cheers. Fil I think org-mode should aim to be flexible enough to accomodate all writers, writing tasks, and writing styles. Maybe for this particular issue it would be enough to give org-mode an explicit way to close a heading--an Org-wide equivalent to \end{section} in LaTeX, say. Of course it would have to be as pithy and unobtrusive as the rest of org-mode syntax...I'm sure it's possible (because with Elisp practically everything is possible), but out of my depth. :) -- William Gardella J.D. Candidate Class of 2011, University of Pittsburgh School of Law -- Filippo A. Salustri, Ph.D., P.Eng. Mechanical and Industrial Engineering Ryerson University 350 Victoria St, Toronto, ON M5B 2K3, Canada Tel: 416/979-5000 ext 7749 Fax: 416/979-5265 Email: salus...@ryerson.ca http://deseng.ryerson.ca/~fil/
Re: [O] hide #+ lines?
I gotta admit, I find the general tone of attention to detail and professional respect on this list quite refreshing. There's few lists to which I subscribe that's as consistently helpful and polite. Compliments to all. Cheers. Fil On 19 March 2011 22:19, Nick Dokos nicholas.do...@hp.com wrote: Filippo A. Salustri salus...@ryerson.ca wrote: You're right of course. Sorry about the mixup with the attribution. There was nothing wrong with your attribution. I was just adding some information to my previous posting about who suggested the drawer solution, but more importantly, adding the bit of setup needed: I think it's important to make each thread complete or provide enough references so that future wanderers can find their way without too much trouble. Nick, your previous post that mentioned org-drawers helped my hide the eval line. Thanks for that. As for the #+BEGIN block, my installation shows these lines in a rather gaudy orange, which I do find distracting. I found that those lines do have their own face, so I made 'em dark grey (my background is black). I can still see them, but it's the text in the block that stands out now. That sounds like a good solution. Nick -- Filippo A. Salustri, Ph.D., P.Eng. Mechanical and Industrial Engineering Ryerson University 350 Victoria St, Toronto, ON M5B 2K3, Canada Tel: 416/979-5000 ext 7749 Fax: 416/979-5265 Email: salus...@ryerson.ca http://deseng.ryerson.ca/~fil/
[O] Re: help with sorting agenda views
Bernt, Thanks. I've been reading your page on org; I just haven't gotten to section 16 yet. :) Cheers. Fil On 20 March 2011 15:34, Bernt Hansen be...@norang.ca wrote: Filippo A. Salustri salus...@ryerson.ca writes: Hi, I'm getting confused with sorting agenda views. Hopefully someone can help me out. I have a custom agenda view that, today, looks like this: Friday 18 March 2011 UTMIE: In 13 d.: TODO [#A] Annual Report Matthew: In -1 d.: TODO Edit Matthew's thesis. iMac: Deadline: TODO Archive email Thunderbird iMe: In 1 d.: REVIEW Tag my zotero library 8101: In 5 d.: REVIEW Grade Assignment 4 The second item is late. I wish I could get late items to show up first, before all else. At the moment, the custom agenda command includes this bit: (0 Show ACTIVE/REVIEW/BUG tasks ((agenda ((org-agenda-sorting-strategy (quote ((agenda time-up priority-down)) (todo REVIEW|ACTIVE|WIP))) I thought that doing this would make sure late items came first. In my .emacs, I also have this bit in custom-set-variables: '(org-agenda-sorting-strategy (quote ((agenda time-up priority-down) (todo priority-down) ))) I checked the doc and google, and I can't find anything helpful. Can someone advise me? Hi Filippo, I have a custom agenda sorting function that orders items in the agenda specifically the way I want. You should be able to adapt this for your needs. Details are at http://doc.norang.ca/org-mode.html#sec-16_3_5 Regards, -- Bernt -- Filippo A. Salustri, Ph.D., P.Eng. Mechanical and Industrial Engineering Ryerson University 350 Victoria St, Toronto, ON M5B 2K3, Canada Tel: 416/979-5000 ext 7749 Fax: 416/979-5265 Email: salus...@ryerson.ca http://deseng.ryerson.ca/~fil/
[O] latest version of perl script to pull org stuff for geektool
Hi all, I've tweaked the script I recently posted to be a little more complete, and I attach it here. There's a customization part that you need to tweak. I've put some doc for it inside the script. Bastien suggested it should go into Worg. It would be my pleasure to do that but as I've never used git for things like this, and I'm nearing the end of my semester, I'm too distracted with grading to do it now. I will try to get to it once I've finished that stuff. Cheers. Fil -- Filippo A. Salustri, Ph.D., P.Eng. Mechanical and Industrial Engineering Ryerson University 350 Victoria St, Toronto, ON M5B 2K3, Canada Tel: 416/979-5000 ext 7749 Fax: 416/979-5265 Email: salus...@ryerson.ca http://deseng.ryerson.ca/~fil/ orgsummary.pl Description: Binary data
[O] hide #+ lines?
Hi, I've started using #+ blocks here and there, and (meaning no disrespect) I find them a bit ugly. I would much rather there were some way to hide the #+ directives (without, of course, impeding their functionality). I believe I've done my due diligence, checking doc google, but I can't find anything to help. Anyone got something to offer? Cheers. Fil -- Filippo A. Salustri, Ph.D., P.Eng. Mechanical and Industrial Engineering Ryerson University 350 Victoria St, Toronto, ON M5B 2K3, Canada Tel: 416/979-5000 ext 7749 Fax: 416/979-5265 Email: salus...@ryerson.ca http://deseng.ryerson.ca/~fil/
Re: [O] hide #+ lines?
Juan Nick, I like your ideas, but my case is a little different. I only want to hide the BEGIN/END statements, not what comes between them. That is, I'm using a trick Ido Magal suggested (http://permalink.gmane.org/gmane.emacs.orgmode/39226). It works fine, except I see all the distracting block directives. Cheers. Fil' On 19 March 2011 18:26, Nick Dokos nicholas.do...@hp.com wrote: Juan Pechiar j...@pechiar.com wrote: On Sat, Mar 19, 2011 at 05:27:23PM -0400, Filippo A. Salustri wrote: I've started using #+ blocks here and there, and (meaning no disrespect) I find them a bit ugly. I would much rather there were some way to hide the #+ directives (without, of course, impeding their functionality). I believe I've done my due diligence, checking doc google, but I can't find anything to help. Anyone got something to offer? If you are referring to directives such as export templates, etc., these can in general be placed anywhere in the document. For example, inside a COMMENT'ed heading at the end of the document, with folded view as default. You can also have all that in another file and use #+setupfile or #include for inclusion. Other things such as #+category have their equivalent as properties, which are normally folded. Another similar solution (cribbed from this list, but I don't remember who suggested it) is to define a drawer and put all that stuff in it - isn't that what drawers are for? :-) Keep the drawer closed and the mess is hidden - and it is not affected by general visibility cycling: you have to open the drawer deliberately. The top of one of my org files looks like this: --8---cut here---start-8--- :SETUP: #+STARTUP: showall lognotedone #+SEQ_TODO: TODO(t) STARTED(s) WAITING(w) | DONE(d) DEFERRED CANCELLED(c) #+TAGS: { FINANCES(f) HOME(h) PACC(p) SCHOOL(s) WORK(w) } CALL(c) ERRAND(e) :END: --8---cut here---end---8--- You need to set up the variable org-drawers - see section 2.8 of the Org manual. Nick -- Filippo A. Salustri, Ph.D., P.Eng. Mechanical and Industrial Engineering Ryerson University 350 Victoria St, Toronto, ON M5B 2K3, Canada Tel: 416/979-5000 ext 7749 Fax: 416/979-5265 Email: salus...@ryerson.ca http://deseng.ryerson.ca/~fil/
Re: [O] hide #+ lines?
You're right of course. Sorry about the mixup with the attribution. Nick, your previous post that mentioned org-drawers helped my hide the eval line. Thanks for that. As for the #+BEGIN block, my installation shows these lines in a rather gaudy orange, which I do find distracting. I found that those lines do have their own face, so I made 'em dark grey (my background is black). I can still see them, but it's the text in the block that stands out now. Cheers. Fil On 19 March 2011 21:42, Nick Dokos nicholas.do...@hp.com wrote: Filippo A. Salustri salus...@ryerson.ca wrote: On 19 March 2011 18:26, Nick Dokos nicholas.do...@hp.com wrote: ... Another similar solution (cribbed from this list, but I don't remember who suggested it) is to define a drawer and put all that stuff in it - That was Carsten: see http://thread.gmane.org/gmane.emacs.orgmode/2722/focus=2732 and there is another bit of setup needed to keep the drawer closed to begin with. Carsten suggested (add-hook 'org-mode-hook (lambda () (org-cycle-hide-drawers 'all))) Juan Nick, I like your ideas, but my case is a little different. I only want to hide the BEGIN/END statements, not what comes between them. That is, I'm using a trick Ido Magal suggested (http://permalink.gmane.org/gmane.emacs.orgmode/39226). It works fine, except I see all the distracting block directives. The first line in the posting you point to is not org-mode related at all: it asks emacs to eval the form when the file is visited. Since emacs requires that to be the *first* line you cannot do anything about that. However, there is another way to specify local variables: in a Local variables section at the end of the file. That *can* be put into a drawer: :SETUP: # Local variables: # eval: (org-update-all-dblocks) # End: :END: but it becomes the personal property of the last headline, so if that is folded, the drawer is completely invisible and if it's deep in the tree it becomes difficult to find. I would put it under its own headline, perhaps * COMMENT setup. The #+BEGIN: ... / #+END surrounding the output of the dblock cannot be hidden afaik, but are they really distracting? I find them helpful in focusing my eyes on the output. Nick -- Filippo A. Salustri, Ph.D., P.Eng. Mechanical and Industrial Engineering Ryerson University 350 Victoria St, Toronto, ON M5B 2K3, Canada Tel: 416/979-5000 ext 7749 Fax: 416/979-5265 Email: salus...@ryerson.ca http://deseng.ryerson.ca/~fil/
[O] help with sorting agenda views
Hi, I'm getting confused with sorting agenda views. Hopefully someone can help me out. I have a custom agenda view that, today, looks like this: Friday 18 March 2011 UTMIE: In 13 d.: TODO [#A] Annual Report Matthew:In -1 d.: TODO Edit Matthew's thesis. iMac: Deadline: TODO Archive email Thunderbird iMe:In 1 d.: REVIEW Tag my zotero library 8101: In 5 d.: REVIEW Grade Assignment 4 The second item is late. I wish I could get late items to show up first, before all else. At the moment, the custom agenda command includes this bit: (0 Show ACTIVE/REVIEW/BUG tasks ((agenda ((org-agenda-sorting-strategy (quote ((agenda time-up priority-down)) (todo REVIEW|ACTIVE|WIP))) I thought that doing this would make sure late items came first. In my .emacs, I also have this bit in custom-set-variables: '(org-agenda-sorting-strategy (quote ((agenda time-up priority-down) (todo priority-down) ))) I checked the doc and google, and I can't find anything helpful. Can someone advise me? Cheers. Fil -- Filippo A. Salustri, Ph.D., P.Eng. Mechanical and Industrial Engineering Ryerson University 350 Victoria St, Toronto, ON M5B 2K3, Canada Tel: 416/979-5000 ext 7749 Fax: 416/979-5265 Email: salus...@ryerson.ca http://deseng.ryerson.ca/~fil/
Re: [O] Re: [Orgmode] Startup page
Here's what I do: (let ((initial-buffer (current-buffer)) (agenda-window (selected-window)) right-window) ;; We're still in the root window. (set-frame-size (selected-frame) 162 50) ; resize the aquamacs window. (org-agenda nil 0) (tabbar-close-tab ; close *scratch* tab. (tabbar-get-tab (get-buffer *scratch*) (tabbar-current-tabset))) (setq right-window (split-window-horizontally 80)) ; make the right window. (select-window right-window) ;; whatever buffer we started in, make it appear in the right side. (switch-to-buffer initial-buffer) (select-window agenda-window) ; go back to the agenda. ) The call to org-agenda is just a custom block view. I end up with the agenda on the left, and some initial, other buffer on the right. No scratch or anything else visible. Seems to work for me. Cheers. Fil On 17 March 2011 06:34, Matthew Sauer improv.philoso...@gmail.com wrote: No, that still gives me the scratch buffer over the top and the the two windows I want down below. When I had the startup page activated it would override one of the two buffers that I had selected but for some reason the scratch buffer is dividing the screen horizontally and place itself over the top of the two buffers I open at the end of .emacs Going to have to look at some of the emacs documentation. What I am trying to create is a bit of elisp magic that will open the agenda on the right buffer and my refile.org (with everything I have captured that needs sent to a home and some dblocks with recently opened items and maybe another one with my unscheduled todo's. Matthew On Wed, Mar 16, 2011 at 11:45 AM, Nick Dokos nicholas.do...@hp.comwrote: Matthew Sauer improv.philoso...@gmail.com wrote: Okay, so I have been working on some ideas for a customization file for startup, an org-agenda, recently modified and maybe unscheduled todo's . . accessible via a function key and at startup. Kind of a home screen. I have it working fine when I run the code but my problem is that when I have it run in .emacs on startup it comes up (agenda on the right and my other chosen buffer on the left (last code in my .emacs to be run) and then the screen is split horizontal and the scratch buffer opens on the top. For me this isn't the desired behavior, didn't know if anyone knew how to turn off emacs opening into a file or if I should move this code to another location because emacs is running something to open that after it goes through .emacs??? or is that just a behavior that is going to occur? Add (setq inhibit-splash-screen t) to your .emacs and see if that solves your problem. You might also need one of the packages that can restore a saved window configuration on startup if you have complicated goings-on. Nick -- Filippo A. Salustri, Ph.D., P.Eng. Mechanical and Industrial Engineering Ryerson University 350 Victoria St, Toronto, ON M5B 2K3, Canada Tel: 416/979-5000 ext 7749 Fax: 416/979-5265 Email: salus...@ryerson.ca http://deseng.ryerson.ca/~fil/
Re: [O] Re: [Orgmode] Startup page
That's right. Somewhere else in my config, I also set org-agenda-window-setup to 'current-window. That was the secret ingredient for me. Sorry I didn't bring this up sooner. I use Aquamacs, and the easiest thing for me is to use both emacs customize and .emacs (Preferences.el in Mac-speak). I set org-agenda-window-setup in customize, but have the code I included in Preferences.el. Makes it hard for me to remember where stuff is. Cheers. Fil On 17 March 2011 18:48, Nick Dokos nicholas.do...@hp.com wrote: Matthew Sauer improv.philoso...@gmail.com wrote: Sigh, at times it's the small things that you miss that bite you in the foot. (defun org-dblock-write:recently-modified (params) (insert (mapconcat (lambda (arg) (concat [[file: arg ][ arg ]] )) (split-string (shell-command-to-string ls -t /cygdrive/c/Dropbox/org *.org | head -10)) \n))) (org-agenda nil a) (delete-other-windows) (split-window-horizontally) (find-file /cygdrive/c/Dropbox/org/Refile.org) I forgot (delete-other-windows), I don't know if it the default behavior but my agenda opens up 1/2 height and I have to run C-x 1 to make it full screen after C-c a a. . .now to get my next dynamic block function (another thread to be started) working and I will have my weekly agenda on one side of the screen. On the tother I will have recently modified files on the other, needing filed captures and Unscheduled TODO items. Thanks for all the help everyone has thrown my way. I am going to look at Filippos' code to see if I can even make this a bit more elegant. The org-agenda call has the potential of messing up your carefully crafted window configuration, depending on the value of org-agenda-window-setup. The default value is reorganize-frame which should tell you something :-). You might want to change it temporarily (or customize it to make it permanent): (let ((org-agenda-window-setup 'current-window)) (org-agenda nil a)) Nick -- Filippo A. Salustri, Ph.D., P.Eng. Mechanical and Industrial Engineering Ryerson University 350 Victoria St, Toronto, ON M5B 2K3, Canada Tel: 416/979-5000 ext 7749 Fax: 416/979-5265 Email: salus...@ryerson.ca http://deseng.ryerson.ca/~fil/
Re: [O] quick question about face names
Thanks for the replies. This is unfortunate. I was hoping to easily change the font of those non-headline/checklist to a variable width font, but keep the headline stuff in fixed width. Since it's the default font, if I change the default, then I'd have to change every other font to fixed. ...that's a bit too much work, I think. So I agree with Sébastien. Cheers. Fil 2011/3/15 Sébastien Vauban wxhgmqzgw...@spammotel.com Hi Nick and Filippo, I'm trying to find the face of plain text (not headlines or checklist items). Does it have a name that distinguishes it from other faces? Cheers. Fil I don't think so: C-u C-x = tells faces if it finds one - in this case, it says nothing about a face. ... so it means that the body text uses the properties of face default. Though, it could be nice to have a real body text face, that would be in most cases identical to the default face, but that could be customized as well (for using other fonts or colors in Org editing buffers)... Best regards, Seb -- Sébastien Vauban -- Filippo A. Salustri, Ph.D., P.Eng. Mechanical and Industrial Engineering Ryerson University 350 Victoria St, Toronto, ON M5B 2K3, Canada Tel: 416/979-5000 ext 7749 Fax: 416/979-5265 Email: salus...@ryerson.ca http://deseng.ryerson.ca/~fil/
Re: [O] another (possibly) noob question
Sorry for the lack of info. org version 7.4 I created a new/test org file. It contains: * PROJECT aaa ** TODO t1 ** TODO t2 * TODO bbb [0/2] :PROPERTIES: :CATEGORY: dummy :END: ** TODO t3 ** TODO t4 If I leave out the [/], then all is well. If I add the [/] at the end of a level 1 heading that WAS a PROJECT, then do a C-c C-c there to update it, the PROJECT changes to TODO (which is the nearest KEYWORD both before after. I have org-hierarchical-todo-statistics set to nil cuz I'd like to gather info on all tasks in the subtree. org-provide-todo-statistics set to t. Just as a reminder, I have (setq org-todo-keywords '((sequence REVIEW(r) TODO(t) ACTIVE(a!) WAIT(w@) SOMEDAY(s) | DONE(d) CANCELED(c@)) (sequence OPEN(O@!) WIP(W!) PAUSED(P@!) | CLOSED(C@!)) (sequence PROJECT(p) | COMPLETED(x)) )) Can anyone shed light on this? Cheers. Fil On 15 March 2011 10:54, John Hendy jw.he...@gmail.com wrote: On Mon, Mar 14, 2011 at 11:15 PM, Filippo A. Salustri salus...@ryerson.ca wrote: So, I've set org-provide-todo-statistics to t and org-hierarchical-todo-statistics to nil. I use a TODO sequence to identify projects. That is, (setq org-todo-keywords '((sequence REVIEW(r) TODO(t) ACTIVE(a!) WAIT(w@) SOMEDAY(s) | DONE(d) CANCELED(c@)) (sequence OPEN(O@!) WIP(W!) PAUSED(P@!) | CLOSED(C@!)) (sequence PROJECT(p) | COMPLETED(x)) )) I then set level 1 headlines to be PROJECT and put [/] at the end of the headline. The hope is to see projects at a glance and get the fraction done too. All is as it should be, but for one thing. When I toggle or insert within a subtree, the headline for that project changes from PROJECT to ACTIVE if less than all tasks are done, and DONE if all tasks are done. Obviously, I want it to stay PROJECT. I've spent over an hour trying to figure this one out and I can't. Anyone got any advice? I don't use this, but replicating your example, I don't get the behavior you do. - I added your todo definitions to my .emacs - I created a simple top-level headline in a blank file and used C-c C-t to make it a PROJECT - I added three second-level headlines and made them all TODOs - I marked them done one by one and the top level always stayed as a PROJECT My end result: ,- | * PROJECT some project [3/3] | ** DONE do something | CLOSED: [2011-03-15 Tue 09:51] | ** DONE do something else | CLOSED: [2011-03-15 Tue 09:50] | ** DONE do something further | CLOSED: [2011-03-15 Tue 09:49] `- Perhaps list your org-mode version? Others will be able to debug better than I can. Perhaps start with a simple, blank file as well (or maybe you already are?). I can't figure out what would trigger it from PROJECT to the keyword in another sequence without directly specifying such. Good luck, John Cheers. Fil -- Filippo A. Salustri, Ph.D., P.Eng. Mechanical and Industrial Engineering Ryerson University 350 Victoria St, Toronto, ON M5B 2K3, Canada Tel: 416/979-5000 ext 7749 Fax: 416/979-5265 Email: salus...@ryerson.ca http://deseng.ryerson.ca/~fil/ -- Filippo A. Salustri, Ph.D., P.Eng. Mechanical and Industrial Engineering Ryerson University 350 Victoria St, Toronto, ON M5B 2K3, Canada Tel: 416/979-5000 ext 7749 Fax: 416/979-5265 Email: salus...@ryerson.ca http://deseng.ryerson.ca/~fil/
Re: [O] another (possibly) noob question
Yep; I'm a noob. David rightly pointed me at org-after-todo-statistics-hook, which I'd set up to do as he does. The code for that was so far away in my .emacs file from the rest of the TODO stuff that I missed it. I corrected the code (it still does that, except it ignores PROJECT keywords), and all seems right with the world again. Thanks for the help and the patience. Cheers. Fil On 15 March 2011 14:10, David Ellis ddellis...@gmail.com wrote: Do you have a line similar to the following in your .emacs file? (add-hook 'org-after-todo-statistics-hook 'org-summary-todo) If so, what is the contents of the function that in the above line is called org-summary-todo. I have this implemented in my setup to automatically change the todo state based on progress. Dave On Mon, Mar 14, 2011 at 11:15 PM, Filippo A. Salustri salus...@ryerson.ca wrote: So, I've set org-provide-todo-statistics to t and org-hierarchical-todo-statistics to nil. I use a TODO sequence to identify projects. That is, (setq org-todo-keywords '((sequence REVIEW(r) TODO(t) ACTIVE(a!) WAIT(w@) SOMEDAY(s) | DONE(d) CANCELED(c@)) (sequence OPEN(O@!) WIP(W!) PAUSED(P@!) | CLOSED(C@!)) (sequence PROJECT(p) | COMPLETED(x)) )) I then set level 1 headlines to be PROJECT and put [/] at the end of the headline. The hope is to see projects at a glance and get the fraction done too. All is as it should be, but for one thing. When I toggle or insert within a subtree, the headline for that project changes from PROJECT to ACTIVE if less than all tasks are done, and DONE if all tasks are done. Obviously, I want it to stay PROJECT. I've spent over an hour trying to figure this one out and I can't. Anyone got any advice? Cheers. Fil -- Filippo A. Salustri, Ph.D., P.Eng. Mechanical and Industrial Engineering Ryerson University 350 Victoria St, Toronto, ON M5B 2K3, Canada Tel: 416/979-5000 ext 7749 Fax: 416/979-5265 Email: salus...@ryerson.ca http://deseng.ryerson.ca/~fil/ -- Filippo A. Salustri, Ph.D., P.Eng. Mechanical and Industrial Engineering Ryerson University 350 Victoria St, Toronto, ON M5B 2K3, Canada Tel: 416/979-5000 ext 7749 Fax: 416/979-5265 Email: salus...@ryerson.ca http://deseng.ryerson.ca/~fil/
[O] quick question about face names
I'm trying to find the face of plain text (not headlines or checklist items). Does it have a name that distinguishes it from other faces? Cheers. Fil -- Filippo A. Salustri, Ph.D., P.Eng. Mechanical and Industrial Engineering Ryerson University 350 Victoria St, Toronto, ON M5B 2K3, Canada Tel: 416/979-5000 ext 7749 Fax: 416/979-5265 Email: salus...@ryerson.ca http://deseng.ryerson.ca/~fil/
[O] another (possibly) noob question
So, I've set org-provide-todo-statistics to t and org-hierarchical-todo-statistics to nil. I use a TODO sequence to identify projects. That is, (setq org-todo-keywords '((sequence REVIEW(r) TODO(t) ACTIVE(a!) WAIT(w@) SOMEDAY(s) | DONE(d) CANCELED(c@)) (sequence OPEN(O@!) WIP(W!) PAUSED(P@!) | CLOSED(C@!)) (sequence PROJECT(p) | COMPLETED(x)) )) I then set level 1 headlines to be PROJECT and put [/] at the end of the headline. The hope is to see projects at a glance and get the fraction done too. All is as it should be, but for one thing. When I toggle or insert within a subtree, the headline for that project changes from PROJECT to ACTIVE if less than all tasks are done, and DONE if all tasks are done. Obviously, I want it to stay PROJECT. I've spent over an hour trying to figure this one out and I can't. Anyone got any advice? Cheers. Fil -- Filippo A. Salustri, Ph.D., P.Eng. Mechanical and Industrial Engineering Ryerson University 350 Victoria St, Toronto, ON M5B 2K3, Canada Tel: 416/979-5000 ext 7749 Fax: 416/979-5265 Email: salus...@ryerson.ca http://deseng.ryerson.ca/~fil/
[O] highlighting overdue tasks in block agendas
Hi all, I've looked everywhere I can think of, but I can't find any info on if/how it's possible to automatically have overdue tasks highlighted or somehow set off from other tasks, in a todo style block agenda. I know about doing that in daily/weekly style agendas, but I was hoping to be able to do it in todo agenda views too. Cheers. Fil -- Filippo A. Salustri, Ph.D., P.Eng. Mechanical and Industrial Engineering Ryerson University 350 Victoria St, Toronto, ON M5B 2K3, Canada Tel: 416/979-5000 ext 7749 Fax: 416/979-5265 Email: salus...@ryerson.ca http://deseng.ryerson.ca/~fil/
Re: [O] Org expert mode?
I wonder about the complexity associated with adding an expert mode. My area is design, and one of my pet peeves about all things designed is how they tend to increase in complexity for the sake of extending their scope, without much attention being paid to the brittleness that accumulates collaterally. Since complexity is a non-linear thing, adding even one time element can increase it, and brittleness, significantly. I think - and I would suggest - that it can all be done with documentation. That is, one can lay out doc so that the complex things just aren't staring one in the face. If the doc were properly designed, users just wouldn't know about the 'power' stuff and so wouldn't be prone to getting overwhelmed by it. And this keeps the code itself less complex. I even think this applies to the matter of more compact messaging. Just a thought. Cheers. Fil On 10 March 2011 05:05, Bastien b...@altern.org wrote: Hi all, Org tries to stay as simple/accessible as possible for newbie and as complete/flexible as possible for power users. The documentation and the UI are central for this: the documentation should promote core features, document complex ones, and give pointers on how to hack Org -- it does that already IMO; the UI should give access to core features and give hints on complex ones, so that the user can learn more. I've just added the ability to run a custom function for bulk agenda actions (thanks to Puneeth for the patch!) This is clearly for power users -- or those who are willing to take the time to find functions that we might document in Worg. So I naturally thought of something like an Org Expert mode: when turned off, the UI would *not* give access to complex features and perhaps display more helpful messages on simple ones; when turned on, Org would have a less verbose UI (think of the C-c C-e window, do we really want to *read* it all the times?) and give access to all the complex features. This is really just a call for ideas/comments -- I wonder if people already came accross such an idea and and what they think. I'm myself not convinced: it's a good thing that Org doesn't need an Expert mode so far, it means newbies are not confused by the UI, and experts are not frustrated by it either. But I expect neat features can emerge from the discussion. Thanks for your thoughts! -- Bastien -- Filippo A. Salustri, Ph.D., P.Eng. Mechanical and Industrial Engineering Ryerson University 350 Victoria St, Toronto, ON M5B 2K3, Canada Tel: 416/979-5000 ext 7749 Fax: 416/979-5265 Email: salus...@ryerson.ca http://deseng.ryerson.ca/~fil/
[O] a small contribution
Hi all, I use geektool on my Mac to put useful things on my desktop. (Rainmeter is the equivalent program for windoze.) Anyways, I would like have some todo items show up in geektool, but emacs eats cpu, aquamacs doesn't do --batch stuff well, and I hate wasting cycles. So I wrote a small perl program that digests every file in my org directory looking for todos. It runs blindingly fast compared to emacs, and it does what I need it to. I've included the script at the end of this msg, should anyone else find it interesting. One should consider changing the values of $orgdir and $re. And (maybe) the location of perl. It parses :CATEGORY: properties and prints that out (or the file name if there's no category) for each task with a keyword matching one in $re. It's not perfect, I know. But it does work for me. Cheers. Fil #!/usr/bin/perl $orgdir = '/Users/fil/Dropbox/org'; $re = 'ACTIVE|REVIEW'; @files = (); $line = ''; $category = ''; # get files opendir D, $orgdir; @files = grep { /\.org$/ } readdir(D); closedir D; for my $file (@files) { $category = $file; $category =~ s/\.org$//; open F, $orgdir/$file; while ($line = F) { if ( $line =~ m/:CATEGORY: *(.+)$/ ) { $category = $1; } if ( $line =~ m/^\*+ +($re) +(.+)$/ ) { printf %-13s: %s\n, $category, $2; } } close F; } -- Filippo A. Salustri, Ph.D., P.Eng. Mechanical and Industrial Engineering Ryerson University 350 Victoria St, Toronto, ON M5B 2K3, Canada Tel: 416/979-5000 ext 7749 Fax: 416/979-5265 Email: salus...@ryerson.ca http://deseng.ryerson.ca/~fil/
[O] question about refiling
Hi, I'm running the Feb 23 nightly snapshot of org on the current Aquamacs on MacOS (also current). The question is this: it seems that even with org-refile-use-outline-path set to full-file-path I can't refile things to other files. If I try, I get the following in the minibuffer: Refile to: \Users\fil\Dropbox\org\Journal.org/ and can then get the headings etc by hitting Tab. But I can change neither the file (Journal.org) nor the path. Is that how it's supposed to work? I would have greatly preferred being able to refile to at least other files in the same directory, if not other files in other directories. Cheers. Fil -- Filippo A. Salustri, Ph.D., P.Eng. Mechanical and Industrial Engineering Ryerson University 350 Victoria St, Toronto, ON M5B 2K3, Canada Tel: 416/979-5000 ext 7749 Fax: 416/979-5265 Email: salus...@ryerson.ca http://deseng.ryerson.ca/~fil/ ___ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
[O] Re: question about refiling - BELAY THAT!
Sorry folks. I just noticed org-refile-targets. Cheers. Fil On 28 February 2011 09:03, Filippo A. Salustri salus...@ryerson.ca wrote: Hi, I'm running the Feb 23 nightly snapshot of org on the current Aquamacs on MacOS (also current). The question is this: it seems that even with org-refile-use-outline-path set to full-file-path I can't refile things to other files. If I try, I get the following in the minibuffer: Refile to: \Users\fil\Dropbox\org\Journal.org/ and can then get the headings etc by hitting Tab. But I can change neither the file (Journal.org) nor the path. Is that how it's supposed to work? I would have greatly preferred being able to refile to at least other files in the same directory, if not other files in other directories. Cheers. Fil -- Filippo A. Salustri, Ph.D., P.Eng. Mechanical and Industrial Engineering Ryerson University 350 Victoria St, Toronto, ON M5B 2K3, Canada Tel: 416/979-5000 ext 7749 Fax: 416/979-5265 Email: salus...@ryerson.ca http://deseng.ryerson.ca/~fil/ -- Filippo A. Salustri, Ph.D., P.Eng. Mechanical and Industrial Engineering Ryerson University 350 Victoria St, Toronto, ON M5B 2K3, Canada Tel: 416/979-5000 ext 7749 Fax: 416/979-5265 Email: salus...@ryerson.ca http://deseng.ryerson.ca/~fil/ ___ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
Re: [Orgmode] a question about fontification and org-emphasis-alist
I wish all the groups I was involved with suffered this problem. :-) Cheers. Fil On 26 February 2011 11:00, Bastien b...@altern.org wrote: Hi Filippo, Filippo A. Salustri salus...@ryerson.ca writes: yeah, right, make me feel even dumber ...wait, let me just wipe the egg off my face :-) Well, the real problem here is that the community is so prompt to reply that it doesn't encourage people not to be lazy :) Best, -- Bastien -- Filippo A. Salustri, Ph.D., P.Eng. Mechanical and Industrial Engineering Ryerson University 350 Victoria St, Toronto, ON M5B 2K3, Canada Tel: 416/979-5000 ext 7749 Fax: 416/979-5265 Email: salus...@ryerson.ca http://deseng.ryerson.ca/~fil/ ___ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
[Orgmode] a question about fontification and org-emphasis-alist
So, I really like the emphasis bit that org-emphasis-alist gets me. But I find that the key characters to do the emphasis, as in /italics/, remain visible. It's distracting to me. I mean, since it's rendered in italics, it's redundant to show those '/' characters. I also know that all kinds of things get hidden in org, like the square parens in links. So I was wondering if anyone knew of a way to make the emphasis characters invisible. EG: /word/ would be rendered as word in italics, without the slashes. Cheers. Fil -- Filippo A. Salustri, Ph.D., P.Eng. Mechanical and Industrial Engineering Ryerson University 350 Victoria St, Toronto, ON M5B 2K3, Canada Tel: 416/979-5000 ext 7749 Fax: 416/979-5265 Email: salus...@ryerson.ca http://deseng.ryerson.ca/~fil/ ___ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
Re: [Orgmode] a question about fontification and org-emphasis-alist
I did try to google a few things, but hide was never one of my keywords. Sigh. Google is great IFF you know what keywords to use. Thanks for the pointer. Cheers. Fil On 25 February 2011 18:11, Carsten Dominik carsten.domi...@gmail.comwrote: On 25.2.2011, at 19:22, Filippo A. Salustri wrote: So, I really like the emphasis bit that org-emphasis-alist gets me. But I find that the key characters to do the emphasis, as in /italics/, remain visible. It's distracting to me. I mean, since it's rendered in italics, it's redundant to show those '/' characters. I also know that all kinds of things get hidden in org, like the square parens in links. So I was wondering if anyone knew of a way to make the emphasis characters invisible. EG: /word/ would be rendered as word in italics, without the slashes. What have you done to find the answer? Google: org hide emphasis is already good enough! Cheers - Carsten Cheers. Fil -- Filippo A. Salustri, Ph.D., P.Eng. Mechanical and Industrial Engineering Ryerson University 350 Victoria St, Toronto, ON M5B 2K3, Canada Tel: 416/979-5000 ext 7749 Fax: 416/979-5265 Email: salus...@ryerson.ca http://deseng.ryerson.ca/~fil/ ___ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode -- Filippo A. Salustri, Ph.D., P.Eng. Mechanical and Industrial Engineering Ryerson University 350 Victoria St, Toronto, ON M5B 2K3, Canada Tel: 416/979-5000 ext 7749 Fax: 416/979-5265 Email: salus...@ryerson.ca http://deseng.ryerson.ca/~fil/ ___ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
Re: [Orgmode] a question about fontification and org-emphasis-alist
yeah, right, make me feel even dumber ...wait, let me just wipe the egg off my face :-) Cheers. Fil On 25 February 2011 22:11, Nick Dokos nicholas.do...@hp.com wrote: Filippo A. Salustri salus...@ryerson.ca wrote: I did try to google a few things, but hide was never one of my keywords. Sigh. Google is great IFF you know what keywords to use. Thanks for the pointer. Cheers. Fil On 25 February 2011 18:11, Carsten Dominik carsten.domi...@gmail.com wrote: So I was wondering if anyone knew of a way to make the emphasis characters invisible. EG: /word/ would be rendered as word in italics, without the slashes. What have you done to find the answer? Google: org hide emphasis is already good enough! This is with hindsight 20/20 but here is a method for finding such things, using only emacs: C-h v org-TAB then switch to the *Completions* buffer and search for ``emphasis''. The third hit is org-hide-emphasis-markers - and you don't have to guess the hide part... Nick -- Filippo A. Salustri, Ph.D., P.Eng. Mechanical and Industrial Engineering Ryerson University 350 Victoria St, Toronto, ON M5B 2K3, Canada Tel: 416/979-5000 ext 7749 Fax: 416/979-5265 Email: salus...@ryerson.ca http://deseng.ryerson.ca/~fil/ ___ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
[Orgmode] question about indirect buffers for capture and line-breaks
Hi, I've turned off hard line breaks for various reasons. I do it like this: (add-hook 'org-mode-hook '(lambda () (auto-fill-mode nil) (visual-line-mode t))) However, in the indirect buffers used by capture, hard line breaks are still in place. I've looked, but can't find an explanation of how to control this. Can anyone advise me? Cheers. Fil -- Filippo A. Salustri, Ph.D., P.Eng. Mechanical and Industrial Engineering Ryerson University 350 Victoria St, Toronto, ON M5B 2K3, Canada Tel: 416/979-5000 ext 7749 Fax: 416/979-5265 Email: salus...@ryerson.ca http://deseng.ryerson.ca/~fil/ ___ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
Re: [Orgmode] question about indirect buffers for capture and line-breaks
On my aquamacs, (auto-fill-mode nil) seems to toggle the mode, whereas (auto-fill-mode -1) seems to always disable it. In any case, that seems to have fixed it. Thanks! Cheers. Fil On 24 February 2011 11:09, Jeff Horn jrhorn...@gmail.com wrote: Yep. Evaluate the following two lines in the scratch buffer: (auto-fill-mode -1) (auto-fill-mode nil) The first returns nil every time. The second returns true every time. Funky. On Thu, Feb 24, 2011 at 11:07 AM, Jeff Horn jrhorn...@gmail.com wrote: What happens if you use (auto-fill-mode -1) intead? ,[ C-h f auto-fill-mode RET ] | auto-fill-mode is an interactive compiled Lisp function in | `simple.el'. | | (auto-fill-mode optional ARG) | | Toggle Auto Fill mode. | With ARG, turn Auto Fill mode on if and only if ARG is positive. | In Auto Fill mode, inserting a space at a column beyond `current-fill-column' | automatically breaks the line at a previous space. | | The value of `normal-auto-fill-function' specifies the function to use | for `auto-fill-function' when turning Auto Fill mode on. ` I think nil counts as a positive number. Maybe that's a bug? I dunno. On Thu, Feb 24, 2011 at 7:33 AM, Filippo A. Salustri salus...@ryerson.ca wrote: Hi, I've turned off hard line breaks for various reasons. I do it like this: (add-hook 'org-mode-hook '(lambda () (auto-fill-mode nil) (visual-line-mode t))) However, in the indirect buffers used by capture, hard line breaks are still in place. I've looked, but can't find an explanation of how to control this. Can anyone advise me? Cheers. Fil -- Filippo A. Salustri, Ph.D., P.Eng. Mechanical and Industrial Engineering Ryerson University 350 Victoria St, Toronto, ON M5B 2K3, Canada Tel: 416/979-5000 ext 7749 Fax: 416/979-5265 Email: salus...@ryerson.ca http://deseng.ryerson.ca/~fil/ ___ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode -- Jeffrey Horn http://www.failuretorefrain.com/jeff/ -- Jeffrey Horn http://www.failuretorefrain.com/jeff/ -- Filippo A. Salustri, Ph.D., P.Eng. Mechanical and Industrial Engineering Ryerson University 350 Victoria St, Toronto, ON M5B 2K3, Canada Tel: 416/979-5000 ext 7749 Fax: 416/979-5265 Email: salus...@ryerson.ca http://deseng.ryerson.ca/~fil/ ___ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
Re: [Orgmode] Re: question about capture templates
Carsten, Would your mod be implemented in the git build of 22 Feb? Cheers. Fil On 22 February 2011 04:15, Carsten Dominik carsten.domi...@gmail.comwrote: On Feb 22, 2011, at 1:39 AM, Filippo A. Salustri wrote: Thanks to everyone for the varied and thoughtful responses. I didn't think of backquotes, but I know about them from Scheme, and no, they shouldn't work in this case. Very frustrating. org-capture clearly has the original buffer handy (for %a stuff) yet I can't get it out of there without hacking the org code, which I am loathe to do. Hmmm. I'll think some more. If I come up with anything; I'll report it. I have just implemented that whenever you mean a file name in capture templates, you can instead give a function, a variable, or a lisp form. So your original attempt (m Message entry (file+datetree (buffer-file-name (buffer-base-buffer))) * MSG @ %U %?\n %a) should now work. Hope this helps - Carsten Cheers. Fil 2011/2/21 Sébastien Vauban wxhgmqzgw...@spammotel.com Hi Richard, Richard Lawrence wrote: Sébastien Vauban wxhgmqzgw...@spammotel.com writes: Filippo A. Salustri wrote: I would really like to be able to vary the file into which a captured item goes. Specifically, I'd like to insert the item into whatever file I was visiting when I started the capture. You have to use backquotes so that expressions are considered as code to execute, instead of data. See Emacs manual. I'm not sure that backquotes will do what the OP wants. Backquotes will allow the OP to compute the value of a target file at the time the (setq org-capture templates ...) form is evaluated. The OP needs a way to determine the target file at the time of capture (right?), not at the time the variable is set. You're definitely right. I missed the distinction at Org launch time vs at execution time... Pull my answer off the records ;-) Best regards, Seb -- Sébastien Vauban ___ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode -- Filippo A. Salustri, Ph.D., P.Eng. Mechanical and Industrial Engineering Ryerson University 350 Victoria St, Toronto, ON M5B 2K3, Canada Tel: 416/979-5000 ext 7749 Fax: 416/979-5265 Email: salus...@ryerson.ca http://deseng.ryerson.ca/~fil/ ___ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode - Carsten -- Filippo A. Salustri, Ph.D., P.Eng. Mechanical and Industrial Engineering Ryerson University 350 Victoria St, Toronto, ON M5B 2K3, Canada Tel: 416/979-5000 ext 7749 Fax: 416/979-5265 Email: salus...@ryerson.ca http://deseng.ryerson.ca/~fil/ ___ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
Re: [Orgmode] Re: question about capture templates
Yup; I just tried the git snapshot of 23 Feb and it's working. Thanks!! Cheers. Fil On 22 February 2011 04:15, Carsten Dominik carsten.domi...@gmail.comwrote: On Feb 22, 2011, at 1:39 AM, Filippo A. Salustri wrote: Thanks to everyone for the varied and thoughtful responses. I didn't think of backquotes, but I know about them from Scheme, and no, they shouldn't work in this case. Very frustrating. org-capture clearly has the original buffer handy (for %a stuff) yet I can't get it out of there without hacking the org code, which I am loathe to do. Hmmm. I'll think some more. If I come up with anything; I'll report it. I have just implemented that whenever you mean a file name in capture templates, you can instead give a function, a variable, or a lisp form. So your original attempt (m Message entry (file+datetree (buffer-file-name (buffer-base-buffer))) * MSG @ %U %?\n %a) should now work. Hope this helps - Carsten Cheers. Fil 2011/2/21 Sébastien Vauban wxhgmqzgw...@spammotel.com Hi Richard, Richard Lawrence wrote: Sébastien Vauban wxhgmqzgw...@spammotel.com writes: Filippo A. Salustri wrote: I would really like to be able to vary the file into which a captured item goes. Specifically, I'd like to insert the item into whatever file I was visiting when I started the capture. You have to use backquotes so that expressions are considered as code to execute, instead of data. See Emacs manual. I'm not sure that backquotes will do what the OP wants. Backquotes will allow the OP to compute the value of a target file at the time the (setq org-capture templates ...) form is evaluated. The OP needs a way to determine the target file at the time of capture (right?), not at the time the variable is set. You're definitely right. I missed the distinction at Org launch time vs at execution time... Pull my answer off the records ;-) Best regards, Seb -- Sébastien Vauban ___ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode -- Filippo A. Salustri, Ph.D., P.Eng. Mechanical and Industrial Engineering Ryerson University 350 Victoria St, Toronto, ON M5B 2K3, Canada Tel: 416/979-5000 ext 7749 Fax: 416/979-5265 Email: salus...@ryerson.ca http://deseng.ryerson.ca/~fil/ ___ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode - Carsten -- Filippo A. Salustri, Ph.D., P.Eng. Mechanical and Industrial Engineering Ryerson University 350 Victoria St, Toronto, ON M5B 2K3, Canada Tel: 416/979-5000 ext 7749 Fax: 416/979-5265 Email: salus...@ryerson.ca http://deseng.ryerson.ca/~fil/ ___ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
[Orgmode] question about capture templates
Hi, I would really like to be able to vary the file into which a captured item goes. Specifically, I'd like to insert the item into whatever file I was visiting when I started the capture. I've been trying something like this: (m Message entry (file+datetree (buffer-file-name (buffer-base-buffer))) * MSG @ %U %?\n %a) But the (buffer-file-name (buffer-base-buffer)) doesn't work because the item keeps ending up in the default capture file. Can anyone suggest a way to do this? Cheers. Fil Salustri -- Filippo A. Salustri, Ph.D., P.Eng. Mechanical and Industrial Engineering Ryerson University 350 Victoria St, Toronto, ON M5B 2K3, Canada Tel: 416/979-5000 ext 7749 Fax: 416/979-5265 Email: salus...@ryerson.ca http://deseng.ryerson.ca/~fil/ ___ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
Re: [Orgmode] Re: question about capture templates
Thanks to everyone for the varied and thoughtful responses. I didn't think of backquotes, but I know about them from Scheme, and no, they shouldn't work in this case. Very frustrating. org-capture clearly has the original buffer handy (for %a stuff) yet I can't get it out of there without hacking the org code, which I am loathe to do. Hmmm. I'll think some more. If I come up with anything; I'll report it. Cheers. Fil 2011/2/21 Sébastien Vauban wxhgmqzgw...@spammotel.com Hi Richard, Richard Lawrence wrote: Sébastien Vauban wxhgmqzgw...@spammotel.com writes: Filippo A. Salustri wrote: I would really like to be able to vary the file into which a captured item goes. Specifically, I'd like to insert the item into whatever file I was visiting when I started the capture. You have to use backquotes so that expressions are considered as code to execute, instead of data. See Emacs manual. I'm not sure that backquotes will do what the OP wants. Backquotes will allow the OP to compute the value of a target file at the time the (setq org-capture templates ...) form is evaluated. The OP needs a way to determine the target file at the time of capture (right?), not at the time the variable is set. You're definitely right. I missed the distinction at Org launch time vs at execution time... Pull my answer off the records ;-) Best regards, Seb -- Sébastien Vauban ___ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode -- Filippo A. Salustri, Ph.D., P.Eng. Mechanical and Industrial Engineering Ryerson University 350 Victoria St, Toronto, ON M5B 2K3, Canada Tel: 416/979-5000 ext 7749 Fax: 416/979-5265 Email: salus...@ryerson.ca http://deseng.ryerson.ca/~fil/ ___ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
Re: [Orgmode] A couple of suggestions
And here I am thinking that I'd read / understood the manual. *sigh*. Thanks for the response, no matter how tardy it may be. Time is relative anyways; when one considers all the crap I've done between having sent that note and now, it feels like no time at all has past. :) Cheers. Fil On 11 February 2011 06:48, Bastien bastien.gue...@wikimedia.fr wrote: Hi Filippo, Filippo A. Salustri salus...@ryerson.ca writes: I have thought of a couple of ideas. I wanted to bounce them off the community before thinking about trying to implement them myself (I used to be pretty good with lisp, a thousand years ago). I used to reply faster to emails, a thousand years ago ;) 1. A bit more structure to page layout. In particular I was thinking of this: a. one file per day You can do it. b. date and journal name at top You can do it. c. a right sidebar of sorts that contains tags, dates, etc for the item to its left. This amounts to basically a tabular page arrangement, and each item gets a row. We don't have sidebars but we have the Great Column View. Browsing your file while in column view let's you display whatever information you want about your entries. HTH, -- Bastien -- Filippo A. Salustri, Ph.D., P.Eng. Mechanical and Industrial Engineering Ryerson University 350 Victoria St, Toronto, ON M5B 2K3, Canada Tel: 416/979-5000 ext 7749 Fax: 416/979-5265 Email: salus...@ryerson.ca http://deseng.ryerson.ca/~fil/ ___ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
Re: [Orgmode] question about opening a file in .emacs
That's fine. I just thought I'd ask. Cheers. Fil On 11 February 2011 09:22, Bastien bastien.gue...@wikimedia.fr wrote: Filippo A. Salustri salus...@ryerson.ca writes: It might be something wrong with the code I use, or it might be an Aquamacs issue, or it might be a general emacs issue. In any case, not an Org issue -- better to ask on the Aquamacs list :) -- Bastien -- Filippo A. Salustri, Ph.D., P.Eng. Mechanical and Industrial Engineering Ryerson University 350 Victoria St, Toronto, ON M5B 2K3, Canada Tel: 416/979-5000 ext 7749 Fax: 416/979-5265 Email: salus...@ryerson.ca http://deseng.ryerson.ca/~fil/ ___ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
[Orgmode] question about opening a file in .emacs
Hi all, I'd like to have aquamacs open org immediately when I start it. To do this, I've put the following line at the end of my .emacs (which is actually somewhere else in Aquamacs, but it doesn't matter): (switch-to-buffer-in-tab (find-file ~/Dropbox/org/root.org)) Now, this works. But when Aquamacs starts, it runs through something like a half-dozen redraws, resizes, and re-coloration of the Aquamacs window. I'm okay with it, cuz it works, but it's rather distracting to see this flurry of stuff happening every time I start Aquamacs. It might be something wrong with the code I use, or it might be an Aquamacs issue, or it might be a general emacs issue. Anyone got any ideas? Cheers. Fil -- Filippo A. Salustri, Ph.D., P.Eng. Mechanical and Industrial Engineering Ryerson University 350 Victoria St, Toronto, ON M5B 2K3, Canada Tel: 416/979-5000 ext 7749 Fax: 416/979-5265 Email: salus...@ryerson.ca http://deseng.ryerson.ca/~fil/ ___ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
Re: [Orgmode] what am I missing about remote editing?
I'm using the current versions of Aquamacs and orgmode. Just 30 mins ago, I noticed that it started working after I restarted Aquamacs. Will try to reproduce this sometime today and forward info to list. Cheers. Fil On 16 January 2011 08:56, Eric S Fraga e.fr...@ucl.ac.uk wrote: Filippo A. Salustri salus...@ryerson.ca writes: So, I'm looking at my global todo agenda, and I'd like to change the state of the task under the cursor. According to the doc, 't' should let me do that, but when I hit 't', I get wrong type argument: stringp, nil which isn't really doing it for me as an explanation of what I'm doing wrong. Thoughts anyone? Cheers. Fil Works for me just fine. What versions of org and emacs are you using? What is the value of org-todo-keywords? What is the actual entry you are trying to update? You may wish to M-x toggle-debug-on-error RET to get a backtrace to see if that gives any hints. -- : Eric S Fraga (GnuPG: 0xC89193D8FFFCF67D) in Emacs 24.0.50.1 : using Org-mode version 7.4 (release_7.4.199.g8be1.dirty) -- Filippo A. Salustri, Ph.D., P.Eng. Mechanical and Industrial Engineering Ryerson University 350 Victoria St, Toronto, ON M5B 2K3, Canada Tel: 416/979-5000 ext 7749 Fax: 416/979-5265 Email: salus...@ryerson.ca http://deseng.ryerson.ca/~fil/ ___ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
Re: [Orgmode] what am I missing about remote editing?
Sorry; I mean 7.4, downloaded from the website. Cheers. Fil On 16 January 2011 09:09, Eric S Fraga e.fr...@ucl.ac.uk wrote: Filippo A. Salustri salus...@ryerson.ca writes: I'm using the current versions of Aquamacs and orgmode. By current, for org, do you mean from the git repository or that which comes with aquamacs? Type M-x org-version RET for the actual version information. -- : Eric S Fraga (GnuPG: 0xC89193D8FFFCF67D) in Emacs 24.0.50.1 : using Org-mode version 7.4 (release_7.4.199.g8be1.dirty) -- Filippo A. Salustri, Ph.D., P.Eng. Mechanical and Industrial Engineering Ryerson University 350 Victoria St, Toronto, ON M5B 2K3, Canada Tel: 416/979-5000 ext 7749 Fax: 416/979-5265 Email: salus...@ryerson.ca http://deseng.ryerson.ca/~fil/ ___ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
[Orgmode] what am I missing about remote editing?
So, I'm looking at my global todo agenda, and I'd like to change the state of the task under the cursor. According to the doc, 't' should let me do that, but when I hit 't', I get wrong type argument: stringp, nil which isn't really doing it for me as an explanation of what I'm doing wrong. Thoughts anyone? Cheers. Fil -- Filippo A. Salustri, Ph.D., P.Eng. Mechanical and Industrial Engineering Ryerson University 350 Victoria St, Toronto, ON M5B 2K3, Canada Tel: 416/979-5000 ext 7749 Fax: 416/979-5265 Email: salus...@ryerson.ca http://deseng.ryerson.ca/~fil/ ___ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
Re: [Orgmode] Re: [OT] Have you also got hooked by Vim?
Not that I want to (or even could) undermine the justifiable popularity of emacs, but there is a ongoing effort to port org to vim: vimorganizer 9 http://www.vim.org/scripts/script.php?script_id=3342) Cheers. Fil On 13 January 2011 03:34, Michael Brand michael.ch.br...@gmail.com wrote: Hi Detlef On Thu, Jan 13, 2011 at 08:32, Detlef Steuer detlef.ste...@gmx.de wrote: I would be interested to hear about difficulties you face when using org-mode together with viper. Or aren't there any? If not programming I use Org together with viper almost all the time when in Emacs and I know only of two small difficulties: 1) With the wrong configuration when using Mac OS X Cocoa Emacs or Aquamacs there can be slowness in vi/viper insert mode. In a Linux GNU Emacs 23.2.1 I can not observe such slowness. For a workaround and more see http://thread.gmane.org/gmane.emacs.orgmode/35916 2) Often in a Org table the vi/viper change commands like `ce' do not replace but insert. I use workarounds like `dei'. In other places than Org table this issue never happened to me. I can recommend viper very much with Org and also generally in Emacs to have the best of both worlds of vi/Vim and Emacs together in one place. Just for fun I imagine it being a vi with one mode additional as an extension to the native vi modes like command mode, insert mode, replace mode: the Emacs mode. viper shows the letter V, I, R or E for these four viper modes in the Emacs mode line. Michael ___ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode -- Filippo A. Salustri, Ph.D., P.Eng. Mechanical and Industrial Engineering Ryerson University 350 Victoria St, Toronto, ON M5B 2K3, Canada Tel: 416/979-5000 ext 7749 Fax: 416/979-5265 Email: salus...@ryerson.ca http://deseng.ryerson.ca/~fil/ ___ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
[Orgmode] question about link syntax
Consider this example: [[http://some.site.com][text text]] It seems that the spaces in the label part (between, say, the 2 texts) stops the link from forming. My current workaround is to use single word labels, including WikiWords. Is this how it's supposed to work? I would have thought I could put spaces in those labels. Is there some variable or other I can set to have orgmode understand the spaces? Cheers. Fil -- Filippo A. Salustri, Ph.D., P.Eng. Mechanical and Industrial Engineering Ryerson University 350 Victoria St, Toronto, ON M5B 2K3, Canada Tel: 416/979-5000 ext 7749 Fax: 416/979-5265 Email: salus...@ryerson.ca http://deseng.ryerson.ca/~fil/ ___ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
Re: [Orgmode] question about link syntax
Hmm. On my installation, =C-c C-l= isn't bound to anything. I haven't mucked with that. To what should =C-c C-l= be bound? Cheers. Fil On 13 January 2011 20:22, Jeff Horn jrhorn...@gmail.com wrote: I noticed fontification was weird on my end, as well. Now, I only use =C-c C-l= to create and edit links. Haven't had issues since making the change. On Thu, Jan 13, 2011 at 8:06 PM, Filippo A. Salustri salus...@ryerson.ca wrote: Consider this example: [[http://some.site.com][text text]] It seems that the spaces in the label part (between, say, the 2 texts) stops the link from forming. My current workaround is to use single word labels, including WikiWords. Is this how it's supposed to work? I would have thought I could put spaces in those labels. Is there some variable or other I can set to have orgmode understand the spaces? Cheers. Fil -- Filippo A. Salustri, Ph.D., P.Eng. Mechanical and Industrial Engineering Ryerson University 350 Victoria St, Toronto, ON M5B 2K3, Canada Tel: 416/979-5000 ext 7749 Fax: 416/979-5265 Email: salus...@ryerson.ca http://deseng.ryerson.ca/~fil/ ___ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode -- Jeffrey Horn http://www.failuretorefrain.com/jeff/ -- Filippo A. Salustri, Ph.D., P.Eng. Mechanical and Industrial Engineering Ryerson University 350 Victoria St, Toronto, ON M5B 2K3, Canada Tel: 416/979-5000 ext 7749 Fax: 416/979-5265 Email: salus...@ryerson.ca http://deseng.ryerson.ca/~fil/ ___ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
Re: [Orgmode] question about link syntax
Sorry, sorry - my bad. My browser/client was rendering a lower case L to look just like a pipe. So I was trying to do C-c C-pipe All is well. Everything's working as it should. Cancel red alert. Cheers. Fil On 14 January 2011 00:17, David Maus dm...@ictsoc.de wrote: At Thu, 13 Jan 2011 20:06:07 -0500, Filippo A. Salustri wrote: Consider this example: [[http://some.site.com][text text]] It seems that the spaces in the label part (between, say, the 2 texts) stops the link from forming. Which Org mode and Emacs version are you using? M-x emacs-version RET M-x org-version RET My current workaround is to use single word labels, including WikiWords. Is this how it's supposed to work? I would have thought I could put spaces in those labels. It works here with Org-mode version 7.4 (release_7.4.135.g84087) GNU Emacs 23.2.1 (i486-pc-linux-gnu, GTK+ Version 2.20.0) of 2010-12-11 on raven, modified by Debian Without any configuration of Org mode (i.e. emacs -Q just load Org mode). [[http://example.tld][Text text]] Is display as Text text (without quotes, ofc) and C-c o opens the link in my browser. best, -- David -- OpenPGP... 0x99ADB83B5A4478E6 Jabber dmj...@jabber.org Email. dm...@ictsoc.de ___ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode -- Filippo A. Salustri, Ph.D., P.Eng. Mechanical and Industrial Engineering Ryerson University 350 Victoria St, Toronto, ON M5B 2K3, Canada Tel: 416/979-5000 ext 7749 Fax: 416/979-5265 Email: salus...@ryerson.ca http://deseng.ryerson.ca/~fil/ ___ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
Re: [Orgmode] Viper-mode + orgmode + emacs 23.xx on OSX, slowness in insert-mode
I haven't tried viper yet, but there's another version of emacs for OSX, Aquamacs. Has anyone tried to check slowness in Aquamacs? ...just a thought. Cheers. Fil -- Filippo A. Salustri, Ph.D., P.Eng. Mechanical and Industrial Engineering Ryerson University 350 Victoria St, Toronto, ON M5B 2K3, Canada Tel: 416/979-5000 ext 7749 Fax: 416/979-5265 Email: salus...@ryerson.ca http://deseng.ryerson.ca/~fil/ ___ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
Re: [Orgmode] Viper-mode + orgmode + emacs 23.xx on OSX, slowness in insert-mode
Oh well. It was an idea. Cheers. Fil On 11 January 2011 17:38, Michael Brand michael.ch.br...@gmail.com wrote: On Tue, Jan 11, 2011 at 21:47, Filippo A. Salustri salus...@ryerson.ca wrote: I haven't tried viper yet, but there's another version of emacs for OSX, Aquamacs. Has anyone tried to check slowness in Aquamacs? I expected Aquamacs just to be too different to Cocoa Emacs, but now I am surprised: In a Mac OS X Aquamacs-Emacs-2.1 there is also exactly the same viper insert slowness when in org-mode, disappearing with fundamental-mode or with the ~/.viper from my last post. In a Mac OS X Carbon Emacs 22.3.1, the last Mac OS X Carbon I think, I can not observe such slowness. Possibly because it is not Mac OS X Cocoa and/or it is not Emacs 23. Michael ___ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode -- Filippo A. Salustri, Ph.D., P.Eng. Mechanical and Industrial Engineering Ryerson University 350 Victoria St, Toronto, ON M5B 2K3, Canada Tel: 416/979-5000 ext 7749 Fax: 416/979-5265 Email: salus...@ryerson.ca http://deseng.ryerson.ca/~fil/ ___ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
[Orgmode] Re: A couple of suggestions
Oy-vay. There's always another surprise coming, ain't there. Thanks for the pointer! This could be quite useful to me. Cheers. Fil On 10 January 2011 19:28, Matt Lundin m...@imapmail.org wrote: Filippo A. Salustri salus...@ryerson.ca writes: 2. A vi-esque data entry mode No offence, but I've always found emacs-y key bindings to be incredibly unintuitive compared to, say, vi/vim. The idea would be to rebind all keys on top of something like, but not necessarily identical to, vi-mode. I find that there are two thinking styles when I'm using org-mode: organizing and gathering. When gathering, I'm mostly in emacs mode cuz it's mostly entering data with little editing except for corrections to spelling etc. When organizing, I'm doing little data entry, and mostly moving stuff around, adding dates, changing task status etc. In organizing mode, it's a pain for me to do the Cu-Cc-Cwhatever thing, so I think it could be useful to people to have a choice of having a simpler keystroke set available. Have you checked out the speed keys feature? (info (org) Speed keys) Best, Matt -- Filippo A. Salustri, Ph.D., P.Eng. Mechanical and Industrial Engineering Ryerson University 350 Victoria St, Toronto, ON M5B 2K3, Canada Tel: 416/979-5000 ext 7749 Fax: 416/979-5265 Email: salus...@ryerson.ca http://deseng.ryerson.ca/~fil/ ___ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
[Orgmode] A couple of suggestions
Hi all, I'm just getting into orgmode, and I'm finding it quite a revelation. Compliments to all its developers. I have thought of a couple of ideas. I wanted to bounce them off the community before thinking about trying to implement them myself (I used to be pretty good with lisp, a thousand years ago). 1. A bit more structure to page layout. In particular I was thinking of this: a. one file per day b. date and journal name at top c. a right sidebar of sorts that contains tags, dates, etc for the item to its left. This amounts to basically a tabular page arrangement, and each item gets a row. 2. A vi-esque data entry mode No offence, but I've always found emacs-y key bindings to be incredibly unintuitive compared to, say, vi/vim. The idea would be to rebind all keys on top of something like, but not necessarily identical to, vi-mode. I find that there are two thinking styles when I'm using org-mode: organizing and gathering. When gathering, I'm mostly in emacs mode cuz it's mostly entering data with little editing except for corrections to spelling etc. When organizing, I'm doing little data entry, and mostly moving stuff around, adding dates, changing task status etc. In organizing mode, it's a pain for me to do the Cu-Cc-Cwhatever thing, so I think it could be useful to people to have a choice of having a simpler keystroke set available. Comments? Ideas? Wild, hysterical laughter? Cheers. Fil -- Filippo A. Salustri, Ph.D., P.Eng. Mechanical and Industrial Engineering Ryerson University 350 Victoria St, Toronto, ON M5B 2K3, Canada Tel: 416/979-5000 ext 7749 Fax: 416/979-5265 Email: salus...@ryerson.ca http://deseng.ryerson.ca/~fil/ ___ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
[Orgmode] Re: noob question about word wrap - RESOLVED
Hi all, I've figured it out. I added this bit to my preferences: (add-hook 'org-mode-hook '(lambda () (auto-fill-mode nil) (visual-line-mode t))) And that got the modes the way I like it. Cheers. Fil On 7 January 2011 12:41, Filippo A. Salustri salus...@ryerson.ca wrote: Hi again. I send the msg below a few weeks ago, and got a reasonable response from Ross Glover. However, I'm still convinced that I would prefer to try orgmode with different word wrapping. I'm looking for a way to get orgmode buffers to be in visual-line-mode and org-indent-mode only. That is, I'm looking to turn off truncate-lines and auto-fill-mode. Can anyone point me in the right direction? Much obliged. Cheers. Fil Salustri On 25 December 2010 00:30, Filippo A. Salustri salus...@ryerson.cawrote: Hi, I'm new to org-mode (though I've been a causal emacs user for more than 10 yrs). I'm running org 7.4 on the current Aquamacs, and I prefer larger than normal windows (120 col x 36 rows). The problem is that org seems to do hard auto-fill linebreaks regardless of window size. I have honestly looked everywhere I can think of for a solution. The only thing I've figured out is that if org buffers seem to be set to org-indent-mode, truncate-lines, auto-fill-mode, and visual-line-mode. I seem to get the effect I desire if there's only visual-line-mode and org-indent-mode. I can set these via the menu, but I want this to be the global org way. So the question is: How can I turn off truncate-lines and auto-fill-mode globally for all org files? Cheers. Fil Salustri -- Filippo A. Salustri, Ph.D., P.Eng. Mechanical and Industrial Engineering Ryerson University 350 Victoria St, Toronto, ON M5B 2K3, Canada Tel: 416/979-5000 ext 7749 Fax: 416/979-5265 Email: salus...@ryerson.ca http://deseng.ryerson.ca/~fil/ -- Filippo A. Salustri, Ph.D., P.Eng. Mechanical and Industrial Engineering Ryerson University 350 Victoria St, Toronto, ON M5B 2K3, Canada Tel: 416/979-5000 ext 7749 Fax: 416/979-5265 Email: salus...@ryerson.ca http://deseng.ryerson.ca/~fil/ -- Filippo A. Salustri, Ph.D., P.Eng. Mechanical and Industrial Engineering Ryerson University 350 Victoria St, Toronto, ON M5B 2K3, Canada Tel: 416/979-5000 ext 7749 Fax: 416/979-5265 Email: salus...@ryerson.ca http://deseng.ryerson.ca/~fil/ ___ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
[Orgmode] Re: noob question about word wrap
Hi again. I send the msg below a few weeks ago, and got a reasonable response from Ross Glover. However, I'm still convinced that I would prefer to try orgmode with different word wrapping. I'm looking for a way to get orgmode buffers to be in visual-line-mode and org-indent-mode only. That is, I'm looking to turn off truncate-lines and auto-fill-mode. Can anyone point me in the right direction? Much obliged. Cheers. Fil Salustri On 25 December 2010 00:30, Filippo A. Salustri salus...@ryerson.ca wrote: Hi, I'm new to org-mode (though I've been a causal emacs user for more than 10 yrs). I'm running org 7.4 on the current Aquamacs, and I prefer larger than normal windows (120 col x 36 rows). The problem is that org seems to do hard auto-fill linebreaks regardless of window size. I have honestly looked everywhere I can think of for a solution. The only thing I've figured out is that if org buffers seem to be set to org-indent-mode, truncate-lines, auto-fill-mode, and visual-line-mode. I seem to get the effect I desire if there's only visual-line-mode and org-indent-mode. I can set these via the menu, but I want this to be the global org way. So the question is: How can I turn off truncate-lines and auto-fill-mode globally for all org files? Cheers. Fil Salustri -- Filippo A. Salustri, Ph.D., P.Eng. Mechanical and Industrial Engineering Ryerson University 350 Victoria St, Toronto, ON M5B 2K3, Canada Tel: 416/979-5000 ext 7749 Fax: 416/979-5265 Email: salus...@ryerson.ca http://deseng.ryerson.ca/~fil/ -- Filippo A. Salustri, Ph.D., P.Eng. Mechanical and Industrial Engineering Ryerson University 350 Victoria St, Toronto, ON M5B 2K3, Canada Tel: 416/979-5000 ext 7749 Fax: 416/979-5265 Email: salus...@ryerson.ca http://deseng.ryerson.ca/~fil/ ___ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
[Orgmode] noob question about word wrap
Hi, I'm new to org-mode (though I've been a causal emacs user for more than 10 yrs). I'm running org 7.4 on the current Aquamacs, and I prefer larger than normal windows (120 col x 36 rows). The problem is that org seems to do hard auto-fill linebreaks regardless of window size. I have honestly looked everywhere I can think of for a solution. The only thing I've figured out is that if org buffers seem to be set to org-indent-mode, truncate-lines, auto-fill-mode, and visual-line-mode. I seem to get the effect I desire if there's only visual-line-mode and org-indent-mode. I can set these via the menu, but I want this to be the global org way. So the question is: How can I turn off truncate-lines and auto-fill-mode globally for all org files? Cheers. Fil Salustri -- Filippo A. Salustri, Ph.D., P.Eng. Mechanical and Industrial Engineering Ryerson University 350 Victoria St, Toronto, ON M5B 2K3, Canada Tel: 416/979-5000 ext 7749 Fax: 416/979-5265 Email: salus...@ryerson.ca http://deseng.ryerson.ca/~fil/ ___ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode