Re: [O] Custom time display in mode-line

2012-05-01 Thread Antoine Levitt
Hi, Thanks for answering, 01/05/12 19:41, Bastien > Antoine Levitt writes: > >> Ideally, org-clock-modeline-total would be obsoleted and replaced by a >> org-clock-modeline-format that'd get passed to format-spec. > > Please suggest the docstring for `org-clock-mo

Re: [O] Custom time display in mode-line

2012-05-01 Thread Antoine Levitt
Daniel Clemente gmail.com> writes: > > > Hi > > org-clock-modeline-total now accepts following values: current, today, repeat, all, auto. > It would be useful to allow it to accept either a custom function or a format string which composes a text > string like: > "0:10 (tot: 1:10/2:00)"

Re: [O] do it today, or well, tomorrow

2011-10-12 Thread Antoine Levitt
12/10/11 16:22, Andrea Crotti > There is a nice little app for android called "do it tomorrow", where > you can plan easily for one day, and move them to the next day easily. > > I was trying to do the same in org-mode, so my idea is that: > - in the morning I fill some tasks which I should do duri

Re: [O] org-agenda-switch-to switches to weird place

2011-10-11 Thread Antoine Levitt
11/10/11 21:35, Sebastien Vauban >> If I understand correctly, org-agenda-switch-to goes to the org-marker >> marker that is set by capture. > > No, I absolutely don't think so. Org files are plain text files: what you > don't see in there, is simply not there. So, how could such markers be stored

Re: [O] org-agenda-switch-to switches to weird place

2011-10-11 Thread Antoine Levitt
11/10/11 18:45, Sebastien Vauban > Hi Antoine, > > Antoine Levitt wrote: >> I use org-capture to store information (such as appointments), then view >> them in the agenda. I use RET (org-agenda-switch-to) in the agenda view to >> modify them. For instance, for an entry

[O] org-agenda-switch-to switches to weird place

2011-10-11 Thread Antoine Levitt
Hi, I use org-capture to store information (such as appointments), then view them in the agenda. I use RET (org-agenda-switch-to) in the agenda view to modify them. For instance, for an entry like * TODO Some task SCHEDULED: !<2011-10-11 Tue> , point is at "!", which is inconvenient, because mos

Re: [O] Completing with anything

2011-05-26 Thread Antoine Levitt
26/05/11 04:23, Stefan Monnier >>> Another is to do it more selectively, flag some of >>> completion-at-point-functions as "not-exclusive", meaning that if >>> completion fails with those we should keep trying with subsequent >>> functions. E.g. the nick completion in rcirc could be flagged as >>>

Re: [O] Completing with anything

2011-05-24 Thread Antoine Levitt
24/05/11 20:05, Stefan Monnier >> Oh well, I guess that I'm the only one who wants this kind of behaviour, >> so I just ended up with an advice which seems to do the trick. Sorry for >> hijacking this thread. In case anyone is interested: > > To get back to this discussion. Before worrying about

Re: [O] Completing with anything

2011-05-24 Thread Antoine Levitt
24/05/11 16:05, Stefan Monnier >> (defadvice completion-at-point >> (after completion-at-point-complete-if-failed activate) >> "Fallback on dabbrev if completion didn't do anything useful." >> (unless ad-return-value >> (dabbrev-expand nil))) > > BTW, you can avoid the advice by using

Re: [O] Completing with anything

2011-05-24 Thread Antoine Levitt
24/05/11 14:47, Stefan Monnier >> So, could you add 'failed, which means that no function was able to >> complete? That way I could do something like > >> (setq completion-extra-properties '(:exit-function my-exit-function)) > >> (defun my-exit-function (string finished) >> (when (eq finished 'fa

Re: [O] org-agenda-log-mode doesn't list past scheduled items if org-agenda-skip-scheduled-if-done is t

2011-05-11 Thread Antoine Levitt
02/05/11 17:54, Matt Lundin > Antoine Levitt writes: >> Right, sorry, I was using org-agenda-list. Here are the updated >> instructions >> >> M-x org-agenda a -> displays only TODO items, which is fine. >> l -> display of DONE items also, which is also fin

Re: [O] how to bind something to PrtScr

2011-05-04 Thread Antoine Levitt
04/05/11 14:17, Piter_ > Hi. > I want to bind image inserting function to Ctrl-PrtScr, but cant > figure out what is the name of this button in emacs. > Does anybody know? > Thanks. > Petro Use C-h k to figure it out. Here, C-h k ctrl-prtscr does " is undefined", so you'd do (global-set-key (kbd

Re: [O] org-agenda-log-mode doesn't list past scheduled items if org-agenda-skip-scheduled-if-done is t

2011-05-02 Thread Antoine Levitt
02/05/11 17:22, Matt Lundin > Antoine Levitt writes: > > [...] > >> Alright, so I did that, and I seem to have encountered an org-mode >> bug. Put this in .emacs >> >> (setq >> org-agenda-skip-scheduled-if-done t >> org-agenda-custom-commands &

Re: [O] org-agenda-log-mode doesn't list past scheduled items if org-agenda-skip-scheduled-if-done is t

2011-05-02 Thread Antoine Levitt
02/05/11 14:07, Carsten Dominik > On May 2, 2011, at 11:52 AM, Antoine Levitt wrote: > >> 02/05/11 11:20, Carsten Dominik >>> Hi Antoine, >> >> Hi, thanks for replying to this old thread. >> >>> the agenda does list scheduled items anyway, so

Re: [O] org-agenda-log-mode doesn't list past scheduled items if org-agenda-skip-scheduled-if-done is t

2011-05-02 Thread Antoine Levitt
02/05/11 11:20, Carsten Dominik > Hi Antoine, Hi, thanks for replying to this old thread. > the agenda does list scheduled items anyway, so I do not see why > this information should be repeated in the logging items. It doesn't list DONE scheduled items. The point is I'd like for log-mode to be

Re: [O] org-agenda-log-mode doesn't list past scheduled items if org-agenda-skip-scheduled-if-done is t

2011-05-02 Thread Antoine Levitt
02/05/11 14:07, Carsten Dominik > On May 2, 2011, at 11:52 AM, Antoine Levitt wrote: > >> 02/05/11 11:20, Carsten Dominik >>> Hi Antoine, >> >> Hi, thanks for replying to this old thread. >> >>> the agenda does list scheduled items anyway, so

[O] Re: starting ispell process during latex export

2011-04-05 Thread Antoine Levitt
05/04/11 17:37, Chris Beard > This looks like it may be a multidisciplinary problem, but this > mailing list has provided good solutions for these things in the past, > so I figured it would be the first place to check. > > I've been exporting latex documents via org-mode, but I noticed that > the

[O] org-agenda-log-mode doesn't list past scheduled items if org-agenda-skip-scheduled-if-done is t

2011-04-05 Thread Antoine Levitt
I guess my use case is pretty common: I use org-agenda to keep track of appointments, and use org-agenda-skip-scheduled-if-done to avoid displaying past appointments. If I want to review what I did last week for instance, I'd like the SCHEDULED dates to appear in org-agenda-log-mode, not the dates

[Orgmode] Re: UPDATE schedule/deadline and ido-mode conflict

2010-10-12 Thread Antoine Levitt
14/05/10 13:33, Carsten Dominik > On May 14, 2010, at 10:27 AM, David Lee wrote: > >> On 05/13/2010 11:04 AM, David Lee wrote: >>> On 05/13/2010 10:26 AM, Nick Dokos wrote: David Lee wrote: > On 05/12/2010 11:46 PM, Nick Dokos wrote: >> David Lee wrote: >> >> >>> After