Re: [Orgmode] Re: Including current time in agenda

2010-12-12 Thread Carsten Dominik
On Dec 6, 2010, at 4:39 PM, Matt Lundin wrote: Julien Danjou writes: On Mon, Dec 06 2010, suvayu ali wrote: So far my attempts have been some variation of `<%%(format-time- string "%H%M")>' or `<%%(diary-entry-time ...)>'. Am I approaching this the wrong way? Is this not supported by th

Re: [Orgmode] [PATCH] org-agenda: rewrite mode-line

2010-12-12 Thread Carsten Dominik
Hi Julien, what is the purpose of this patch, why is it needed? I generally will not accept patches that lack this information. - Carsten On Dec 6, 2010, at 4:41 PM, Julien Danjou wrote: * org-agenda.el (org-agenda-filter-apply) (org-agenda-filter-by-tag-show-all) (org-agenda-change-time-span

Re: [Orgmode] capture initial "level" and refile of capture buffer

2010-12-12 Thread Carsten Dominik
On Oct 25, 2010, at 10:54 AM, Noorul Islam wrote: On Mon, Oct 25, 2010 at 12:41 PM, Carsten Dominik wrote: Hi Noorul, hi Richard, On Oct 23, 2010, at 12:16 PM, Noorul Islam wrote: On Sat, Oct 23, 2010 at 2:12 PM, Noorul Islam wrote: On Fri, Oct 22, 2010 at 5:13 PM, Richard Riley > wr

[Orgmode] Re: Error in pre-command-hook

2010-12-12 Thread Thorsten
Hello, I still recieve this not so critical error message in the situation described above in this thread: Error in pre-command-hook: (wrong-type-argument symbolp (lambda nil (interactive) (org-eval-in-calendar (quote (calendar-forward-day 1) But now I have an additional problem. Inserting

[Orgmode] Re: Error in pre-command-hook

2010-12-12 Thread Leo
Have you checked whether your own .emacs screws up? It would be much more helpful if you provide a step by step recipe to reproduce the bug starting with 'emacs -Q'. Cheers. Leo -- Oracle is the new evil ___ Emacs-orgmode mailing list Please use `Re

Re: [Orgmode] [PATCH] displaymath environment and MathJax

2010-12-12 Thread Carsten Dominik
Hi Lukasz I have accepted this patch after all - I could not see anything about displaymath on the MathJax site. So this seems to be a fix worth trying. - Carsten On Dec 7, 2010, at 6:42 PM, Łukasz Stelmach wrote: Greetings All. The following patch makes MathJax consider \begin{displaymath}

Re: [Orgmode] Re: Updating CONSTANTS in LaTeX mode

2010-12-12 Thread Carsten Dominik
Hi Seweryn, nice patch, thanks, I have included it with very minor modifications (mainly anchoring the match to the left margin with spaces). Thanks! - Carsten On Dec 11, 2010, at 11:06 PM, Seweryn wrote: Carsten Dominik gmail.com> writes: On Dec 11, 2010, at 6:03 PM, Carsten Dominik wr

Re: [Orgmode] org-mode and ebib

2010-12-12 Thread Eric S Fraga
"Thomas S. Dye" writes: > On Dec 10, 2010, at 7:19 AM, Ali Tofigh wrote: > >> Hi everyone, >> >> A while ago I asked on this list about connecting org-mode with ebib, >> which is a bibtex database manager for emacs. Thanks to Joost Kremers, >> there is now a solution. >> >> I asked the developer

[Orgmode] Lists made stronger: lists within lists

2010-12-12 Thread Nicolas Goaziou
Hello, As I had promised it here a few days ago, I just pushed a testing branch allowing to have lists in blocks, drawers and inline tasks. These constructs can themselves be located in lists. Basically, lists are allowed in every block but "src", "example" and "verse". Inline tasks will not end

Re: [Orgmode] Synopsis view - moving trees around based on a synopsis

2010-12-12 Thread Eric S Fraga
Cassio Koshikumo writes: [...] > 3. For even better results, I recommend setting org-ellipsis to " ": > > (setq org-ellipsis " ") You may wish to set this to something still conveys the hiding of text but which may look a little less "dirty", as you say. Maybe something like " ▷" (space follo

Re: [Orgmode] Re: Including current time in agenda

2010-12-12 Thread Eric S Fraga
Carsten Dominik writes: [...] > I agree that this is creative and great. > > However having the current time in the time grid is so useful that > I have now made it the default, no diary sexp needed. Thanks for this, Carsten. I like being able to change the face easily (in my case, I simply se

Re: [Orgmode] Re: Including current time in agenda

2010-12-12 Thread suvayu ali
On Sun, Dec 12, 2010 at 9:30 AM, Carsten Dominik wrote: > > However having the current time in the time grid is so useful that > I have now made it the default, no diary sexp needed. > > If you don't like the way it looks, change the variable > `org-agenda-current-time-string' and the face > `org-

[Orgmode] command f in agenda buffer

2010-12-12 Thread Curiouslearn
Hi all, When I press C-c a a, I end up with the agenda view for the current week. I want to then view the agenda for the next week and I press key f. I read that I have to press this key to "Go forward in time to display the following org-agenda-ndays days. For example, if the display covers a wee

Re: [Orgmode] Re: Having (too) many files in org-agenda-files

2010-12-12 Thread David Maus
At Thu, 02 Dec 2010 10:25:54 +0100, Sébastien Vauban wrote: > > Hi Eric, > > Eric S Fraga wrote: > > Nick Dokos writes: > >> Eric S Fraga wrote: > >>> Sébastien Vauban writes: > >>> > Anyway, I now do have found the culprit: the =column-marker= package > (which > highlights my

Re: [Orgmode] [PATCH] org-agenda: rewrite mode-line

2010-12-12 Thread Julien Danjou
On Sun, Dec 12 2010, Carsten Dominik wrote: > what is the purpose of this patch, why is it needed? > I generally will not accept patches that lack this information. Sorry, it seems quite obvious to me. The purpose is to stop trying to guess where to call the function to `org-agenda-set-mode-name

Re: [Orgmode] Re: [PATCH] byte compile warnings...

2010-12-12 Thread David Maus
At Tue, 23 Nov 2010 23:27:06 +0100, Achim Gratz wrote: > > Hi David, > > this patch had already been partially applied by Carsten and Eric (in > slightly a different way than I suggested). The changes to ob.el and > ob-ref.el (the require statements) are therefore superfluous and should > probably

Re: [Orgmode] command f in agenda buffer

2010-12-12 Thread Jeff Horn
When you're in agenda view, type =C-h k f=. What does the help system report this key is bound to? On Sun, Dec 12, 2010 at 1:24 PM, Curiouslearn wrote: > Hi all, > > When I press C-c a a, I end up with the agenda view for the current > week. I want to then view the agenda for the next week and I

Re: [Orgmode] command f in agenda buffer

2010-12-12 Thread Curiouslearn
Hi Jeff, Thanks for replying. I did what you said and got the following information: -- f runs the command org-agenda-follow-mode, which is an interactive compiled Lisp function in `org-agenda.el'. It is bound to f, . (org-agenda-follow-mode) Toggle follow mode in an agenda buffe

Re: [Orgmode] Bug report : choke on clocktable mode with accents in headlines

2010-12-12 Thread David Maus
At Tue, 30 Nov 2010 12:45:57 +0100, Benjamin Drieu wrote: > > [1 ] > [1.1 ] > > Hey org-moders, > > when going to clocktable mode in an agenda buffer, I get the following > error if one of the headlines contains an accent. If no headline > contain any accent, everything works as expected. Thank

Re: [Orgmode] command f in agenda buffer

2010-12-12 Thread Jeff Horn
I haven't touched these settings, so in my setup, =f= executes org-agenda-later, while =S-f= executes the command you're talking about. (I got this info from =C-h m= while in the agenda) I notice in the help docs that F means lower-case, and Shift-F means upper-case. Perhaps try pressing =f= witho

[Orgmode] [PATCH] Optimize calls to org-is-habit-p

2010-12-12 Thread Matt Lundin
* lisp/org-agenda.el: (org-agenda-get-scheduled) Don't call org-is-habit-p until after checking for for org-agenda-skip-scheduled-if-done. Org-agenda-get-scheduled was calling org-is-habit-p on every scheduled item (including DONE items when org-agenda-skip-scheduled-if-done was set to t). Tw

Re: [Orgmode] command f in agenda buffer

2010-12-12 Thread Curiouslearn
I am pressing =f= without the shift key. As you said, I have not touched any setting either, other than adding these lines to the .emacs file as suggested in the Activation part of the emacs manual ;; The following lines are always needed. Choose your own keys. (add-to-list 'auto-mode-alist '("\

Re: [Orgmode] command f in agenda buffer

2010-12-12 Thread Jeff Horn
(Copying back to the list) On Sun, Dec 12, 2010 at 3:21 PM, Curiouslearn wrote: > I am pressing =f= without the shift key. I see, I apologize. I should've seen that from the information you sent. Try evaluating the following block. If it works, put it in one of your init files. If it doesn't wor

Re: [Orgmode] command f in agenda buffer

2010-12-12 Thread Carsten Dominik
On Dec 12, 2010, at 9:10 PM, Curiouslearn wrote: Hi Jeff, Thanks for replying. I did what you said and got the following information: -- f runs the command org-agenda-follow-mode, which is an interactive compiled Lisp function in `org-agenda.el'. It is bound to f, . (org-ag

[Orgmode] Re: command f in agenda buffer

2010-12-12 Thread Sébastien Vauban
Hi, Jeff Horn wrote: >> Hi Jeff, >> >> Thanks for replying. I did what you said and got the following information: >> >> -- >> f runs the command org-agenda-follow-mode, which is an interactive >> compiled Lisp function in `org-agenda.el'. > > I haven't touched these settings, so in my

Re: [Orgmode] [PATCH] Optimize calls to org-is-habit-p

2010-12-12 Thread Carsten Dominik
Applied, thanks. - Carsten On Dec 12, 2010, at 9:16 PM, Matt Lundin wrote: * lisp/org-agenda.el: (org-agenda-get-scheduled) Don't call org-is-habit-p until after checking for for org-agenda-skip-scheduled-if-done. Org-agenda-get-scheduled was calling org-is-habit-p on every scheduled item

Re: [Orgmode] Re: Including current time in agenda

2010-12-12 Thread Matt Lundin
Eric S Fraga writes: > Carsten Dominik writes: > > [...] > >> I agree that this is creative and great. >> >> However having the current time in the time grid is so useful that >> I have now made it the default, no diary sexp needed. > > Thanks for this, Carsten. I like being able to change the

Re: [Orgmode] Re: eval: Invalid read syntax: "#"Error during redisplay: (void-function -mode)

2010-12-12 Thread Nick Dokos
Thomas S. Dye wrote: > ... > The other problem persists. I put the example in its own buffer and > was able to export the entire buffer without problem. > > Are you able to export a subtree? I get an error if I try to export > just the subtree. > > The problem appears to be related to exporti

Re: [Orgmode] [PATCH] sexp can set its face (was: Including current time in agenda)

2010-12-12 Thread suvayu ali
Hi Łukasz, 2010/12/9 Łukasz Stelmach : > suvayu ali writes: > >> I actually tried to set the text properties for the string instead, >> but looks like org-agenda is ignoring that. >> >> (defun jd:org-current-time () >>   "Return current-time if date is today." >>   (when (equal date (calendar-cur

Re: [Orgmode] command f in agenda buffer

2010-12-12 Thread Curiouslearn
Thanks to both Jeff and Carsten. Jeff, I will try your code. Do I need to put the #BEGIN_SRC emacs-lisp line if I am including the code snippet in my .emacs file. Carsten, I am using the org-mode that came with Emacs for Mac OS X (version 23.1). I have two questions about installation about the n

Re: [Orgmode] Synopsis view - moving trees around based on a synopsis

2010-12-12 Thread Cassio Koshikumo
Oh, I definitely think you should keep the ellipsis if you like them; that was only a suggestion. I'm working without them for a while and it's really not that bad, at least for me. But the idea of using unicode glyphs is nice. Gonna try it. Now, an update: after playing with the function a little

Re: [Orgmode] command f in agenda buffer

2010-12-12 Thread Jeff Horn
(Forward to group) On Sun, Dec 12, 2010 at 7:22 PM, Curiouslearn wrote: > Thanks to both Jeff and Carsten. > > Jeff, I will try your code. Do I need to put the #BEGIN_SRC emacs-lisp > line if I am including the code snippet in my .emacs file. No need to include the beginning or end lines. They a

[Orgmode] Worg down?

2010-12-12 Thread Jeff Horn
Going to worg at 19:50 EST produced an "internal server error" from two machines on my network. The "is it just me" site says it is, in fact, just me, but it only tests the domain, not any subdirectories. Jeff -- Jeffrey Horn Graduate Lecturer and PhD Student in Economics George Mason Universit

Re: [Orgmode] Worg down?

2010-12-12 Thread Nick Dokos
Jeff Horn wrote: > Going to worg at 19:50 EST produced an "internal server error" from > two machines on my network. > Same thing here. Nick > The "is it just me" site says it is, in fact, just me, but it only > tests the domain, not any subdirectories. > > Jeff > _

Re: Re: [Orgmode] Worg down?

2010-12-12 Thread chris . m . malone
I had the same problem, but it appears fixed now. On Dec 12, 2010 8:02pm, Nick Dokos wrote: Jeff Horn jrhorn...@gmail.com> wrote: > Going to worg at 19:50 EST produced an "internal server error" from > two machines on my network. > Same thing here. Nick > The "is it ju

Re: [Orgmode] command f in agenda buffer

2010-12-12 Thread Curiouslearn
Thank you. I have upgraded my emacs install and came with it the new org-mode (I know that this is probably not the latest). But for this version of the org-mode the key =f= works great. On Sun, Dec 12, 2010 at 7:41 PM, Jeff Horn wrote: > (Forward to group) > > On Sun, Dec 12, 2010 at 7:22 PM,

[Orgmode] [PATCH 2/2] Make timestamp search in org-entry-properties more efficient.

2010-12-12 Thread Matt Lundin
* lisp/org.el: (org-entry-properties) Stop scanning for timestamps if a specific timestamp property (e.g., DEADLINE, SCHEDULED, etc.) is requested and a match is found. Also, if a specific timestamp property is requested, do not push non-relevant timestamps onto property list. This change only eff

[Orgmode] Re: [PATCH 2/2] Make timestamp search in org-entry-properties more efficient.

2010-12-12 Thread Matt Lundin
A note of clarification: The subject should read patch 1 of 1. Thanks, Matt Matt Lundin writes: > * lisp/org.el: (org-entry-properties) Stop scanning for timestamps if > a specific timestamp property (e.g., DEADLINE, SCHEDULED, etc.) is > requested and a match is found. Also, if a specific tim

[Orgmode] Re: [PATCH 2/2] Make timestamp search in org-entry-properties more efficient.

2010-12-12 Thread Matt Lundin
Matt Lundin writes: > A note of clarification: The subject should read patch 1 of 1. > One more note. I believe these optimizations are most evident when one is using org-habit. AFAICT, they do not produce a substantial benefit when org-habit is not loaded. Best, Matt

Re: [Orgmode] Lists made stronger: lists within lists

2010-12-12 Thread Samuel Wales
Can't try it, but it looks great. I still like the idea of inline tasks instead of making lists more like headlines. -- Q: How many CDC "scientists" does it take to change a lightbulb? A: "You only think it's dark." [CDC has denied a deadly serious disease for 25 years] == HIV-like virus

Re: [Orgmode] Lists made stronger: lists within lists

2010-12-12 Thread suvayu ali
Hi Nicolas, On Sun, Dec 12, 2010 at 6:35 PM, Nicolas Goaziou wrote: > Hello, > > As I had promised it here a few days ago, I just pushed a testing > branch allowing to have lists in blocks, drawers and inline tasks. > These constructs can themselves be located in lists. > > Basically, lists are a