Bug: dealine-up sorting strategy does not work [9.2.6 (9.2.6-dist @ c:/Users/wlin/.emacs-lisp/org/lisp/)]

2019-11-11 Thread Wanrong Lin
If I call this: (let ((org-agenda-sorting-strategy '((agenda deadline-up (call-interactively 'org-agenda-list)) entries with deadline are at the bottom, after currently scheduled and past scheduled items. I think instead entries with deadlines should be at the top, before all other items

Re: [O] Bug: Entries with diary-sexps in "scheduled" not exported properly to calendar file (.ics file)

2019-04-01 Thread Wanrong Lin
-sexp)))     (dates))     (while (< day-absolute end-absolute)   (let ((date (calendar-gregorian-from-absolute day-absolute))     (entry nil))     (when (eval sexp)   (setf dates (cons date dates)))     (incf day-absolute)))     dates)) On 3/26/2019 5:01 PM, Thom

Re: [O] Bug: Entries with diary-sexps in "scheduled" not exported properly to calendar file (.ics file)

2019-03-26 Thread Wanrong Lin
to generate a series of dates / org entries from a diary-sexps? Thanks. Wanrong On 3/26/2019 2:21 PM, Thomas Plass wrote: Hi, Wanrong Lin wrote at 10:23 on March 26, 2019: : : * TODO Do this on the second Monday every month :   SCHEDULED: <%%(diary-float t 1 2) 19:00-20:30> : : M-x org-ic

[O] Bug: Entries with diary-sexps in "scheduled" not exported properly to calendar file (.ics file)

2019-03-26 Thread Wanrong Lin
Org-mode version 9.2.2, Emacs 26.1, Windows 10 To reproduce: Create a file "Test.org", with only one entry: * TODO Do this on the second Monday every month   SCHEDULED: <%%(diary-float t 1 2) 19:00-20:30>   :PROPERTIE

[O] Bug: org-agenda-undo does not work on repeated tasks [7.9.3d (7.9.3d-dist @ /home/wlin/.emacs-lisp/org/lisp/)]

2013-03-03 Thread Wanrong Lin
Emacs : GNU Emacs 23.3.1 (x86_64-pc-linux-gnu, GTK+ Version 2.24.5) of 2011-08-14 on allspice, modified by Debian Package: Org-mode version 7.9.3d (7.9.3d-dist @ /home/myth/.emacs-lisp/org/lisp/) To reproduce: In an org agenda buffer, mark a task as done. Then, run org-agenda-undo. If the t

Re: [Orgmode] Feature request: preserving plain list line breaks in exporting

2009-03-10 Thread Wanrong Lin
;\\" or "::" just for adding a line break for exporting. So ideally, I still prefer a configuration option to control the line break preservation. Wanrong Sebastian Rose wrote: Wanrong Lin writes: The double back slashes works well (although that is not as pretty as I wan

Re: [Orgmode] Feature request: preserving plain list line breaks in exporting

2009-03-10 Thread Wanrong Lin
:: Note: blah blah blah 2. [ ] Book 2 :: Note: blah blah blah plus CSS Regards, Sebastian Wanrong Lin writes: Hi, Suppose I have a plain list as the following: * TODO Read books 1. [ ] Book 1 Note: blah blah blah 2. [ ] Book 2 Note: blah blah blah

[Orgmode] Feature request: preserving plain list line breaks in exporting

2009-03-10 Thread Wanrong Lin
Hi, Suppose I have a plain list as the following: * TODO Read books 1. [ ] Book 1 Note: blah blah blah 2. [ ] Book 2 Note: blah blah blah When the above is exported to HTML, the line breaks after the "heading line" of each list item are lost, so it becomes "Book1 Note: blah b

[Orgmode] Bug? M-S-RET on a line

2009-03-09 Thread Wanrong Lin
Hi, Suppose I have an org file with following lines: * Test1 Test2 Now if I put the cursor at the beginning of the "Test2" line and press "M-S-RET" (Alt-Shift-Return on my machine), I got this: * Test1 * Test2TODO The "TODO" keyword was inserted at the end instead of the beginning of the

Re: [Orgmode] Re: Release 6.23

2009-02-20 Thread Wanrong Lin
Hi, Glad to have different faces for TODO keywords now in HTML export. I would think it is logical to extend that idea to tags too. Anybody agrees? Thank you. Wanrong ___ Emacs-orgmode mailing list Remember: use `Reply All' to send replies to the

[Orgmode] Feature improvement request: editing TODO keyword in column view

2009-02-19 Thread Wanrong Lin
Hi, Right now in the column view when I press "e" in a "TODO" field, the TODO keyword rotates. This creates a lot garbage state change log entries. Can we change this to fast todo selection like "C-c C-t" (or "t" in agenda buffer), when "org-use-fast-todo-selection" is set to "t"? I am using

[Orgmode] Bug: editing priority in column view

2009-02-19 Thread Wanrong Lin
Hi, I have a column view configuration like this: (setq org-columns-default-format (format "%%%iITEM(Task) %%10TODO %%20SCHEDULED %%1PRIORITY(P) %%TAGS(TAGS) %%6Effort(EST){:} %%CLOCKSUM(CLK)" (- fill-column 24))) And I have a org-file "Test.org" with following entry: * TODO Test1 *** TODO

Re: [Orgmode] Bug? org-timeline, log mode, inactive timestamp

2009-02-16 Thread Wanrong Lin
"g" in the agenda buffer to refresh, and inactive time stamp entries disappear. Could you try the above to see whether you can reproduce it? Thanks a lot. Wanrong Carsten Dominik wrote: I don't seem to be able to reproduce this. - Carsten On Feb 13, 2009, at 10:07 PM, Wanrong Lin w

[Orgmode] Bug? org-timeline, log mode, inactive timestamp

2009-02-13 Thread Wanrong Lin
Hi, Recently I began to use org-timeline more frequently, and find the log mode including inactive timestamps very useful for things like activity report. However, there seems to be a small glitch: In the timeline agenda buffer, when press "g" (org-agenda-redo), the inactive timestamp is alw

[Orgmode] Feature request: HTML export, TODO keyword face

2009-02-11 Thread Wanrong Lin
Hi, Right now in the HTML export the TODO keywords have either class="todo", or class="done". That loses all the face properties in the original TODO keywords. I think the TODO keywords faces are important visual aids to differentiate different types of TODO items, so I just wonder whether it

[Orgmode] Feature improvement request: state change logging

2009-02-11 Thread Wanrong Lin
Hi, My TODO sequence is set up as following: (setq org-todo-keywords '((sequence "TODO(t)" "STARTED(s!)" "WAITING(w@/!)" "MAYBE(m/!)" "DELEGATED(g@/!)" "DEFERRED(d!/!)" "HOLD(h!/!)" "|" "DONE(x)" "CANCELED(c)"))) The state change logging is great, but I wonder whether we can further improve

Re: [Orgmode] Bug: org-cycle on list at the end of buffer

2009-02-11 Thread Wanrong Lin
all things. Wanrong Eddward DeVilla wrote: On Tue, Feb 10, 2009 at 1:50 PM, Wanrong Lin wrote: Hi, I have "org-cycle-include-plain-lists" set to t. In the following example, the text is at the very end of an org-mode buffer. If I put my cursor on the line of "item 1" and pre

[Orgmode] HTML export: feature request

2009-02-10 Thread Wanrong Lin
Hi, One problem I have with current HTML export is the section number (like "1", "2.1", "2.1.2" and etc) is not very distinctive from the actual section heading. Also, sometimes I wish the sub-section headings are indented. So I wonder whether we can add the following features: 1. Assign a C

[Orgmode] Bug: org-cycle on list at the end of buffer

2009-02-10 Thread Wanrong Lin
Hi, I have "org-cycle-include-plain-lists" set to t. In the following example, the text is at the very end of an org-mode buffer. If I put my cursor on the line of "item 1" and press "TAB" key, the cycling does not work. But if I add another list item after "item 1", the cycling now works (of

Re: [Orgmode] Release 6.22

2009-02-10 Thread Wanrong Lin
Just want to point out the download link on the org-mode web page is still pointing to 6.21b. ___ Emacs-orgmode mailing list Remember: use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgm

Re: [Orgmode] org-tag-faces does not work for me

2008-12-19 Thread Wanrong Lin
stall), but the faces have to be set before it. Anyway, I am glad I found the problem. Thank you. Wanrong Carsten Dominik wrote: On Dec 19, 2008, at 4:34 PM, Wanrong Lin wrote: Hi, I updated org to the latest (6.15f) and try to use the new org-tag-faces feature, but it does not work me.

Re: [Orgmode] org-tag-faces does not work for me

2008-12-19 Thread Wanrong Lin
Thanks for the replies. I restarted Emacs to ensure the faces were refreshed. Also, I just tried the named faces. Did not work. Looks like you guys don't have the problem, I will look a little deeper. Wanrong Carsten Dominik wrote: On Dec 19, 2008, at 4:34 PM, Wanrong Lin wrote: H

[Orgmode] org-tag-faces does not work for me

2008-12-19 Thread Wanrong Lin
Hi, I updated org to the latest (6.15f) and try to use the new org-tag-faces feature, but it does not work me. I have settings like this: (setq org-tag-faces '(("TODAY" . (:foreground "#C0")) ("APPT" . (:foreground "#C0")) ("NEXT" . (:foreground "#C0" It

[Orgmode] Feature request: org-sort, alpha sans TODO keyword

2008-07-31 Thread Wanrong Lin
Hi, I recently had the need to use org-sort, and found that sorting on alpha does not work as I expected, because the sorting works on the whole heading, including the TODO keywords. That may be useful, but I think probably in many occasions the alpha-sorting means "sorting on the headings wi

[Orgmode] Bug? creator-info

2008-07-24 Thread Wanrong Lin
Hi, I just upgraded to org-6.06a. It seems that the per-file "creator-info:nil" option does not work, but variable "org-export-creator-info" works. Thanks if someone can confirm/look at it. Wanrong ___ Emacs-orgmode mailing list Remember: use `Rep

[Orgmode] Bug: remember/refiling filing target

2008-07-21 Thread Wanrong Lin
Hi, There seems to be a bug in remember/refiling filing target auto-completion prompt, if the target heading text has a forward slash "/". For example, if my filing target is the following: * TODO A/B switch needs to be fixed With M-x org-refile, when I press "TAB" in the mini-buffer to brin

[Orgmode] Bug: table parsing is on in BEGIN_EXAMPLE section

2008-06-26 Thread Wanrong Lin
Hi, I just had a need to use the +BEGIN_EXAMPLE marker, and I found that if I have a directory tree listing like this: +BEGIN_EXAMPLE +---bin | +---decoder_a.exe | +---decoder_b.exe | +---encoder.exe +---doc +END_EXAMPLE It will be treated (and font-locked) as a tab

Re: [Orgmode] Re: Option to turning off the last line in HTML export postamble

2008-06-26 Thread Wanrong Lin
; visibility:visible; } #postamble p.date { display:block; visibility:visible; } Renzo Been :-) schrieb: Wanrong Lin gmail.com> writes: Yes, it's right there in the manual... add the following line to your .emacs (setq org-export-html-auto-postamble 'nil) That should do the trick

Re: [Orgmode] Re: Option to turning off the last line in HTML export postamble

2008-06-25 Thread Wanrong Lin
Yes, it's right there in the manual... add the following line to your .emacs (setq org-export-html-auto-postamble 'nil) That should do the trick Ciao, Renzo Thanks for pointing it out, but that is not exactly what I wanted. (setq org-export-html-auto-postamble 'nil) will remove the

[Orgmode] Option to turning off the last line in HTML export postamble

2008-06-25 Thread Wanrong Lin
Hi, For some of my org files, I don't want the following line to show up in my HTML export: "HTML generated by org-mode 6.05b in emacs 22" Is there an option to turn it off? I looked at the org source code and it seems the answer is no. Can a new option be added for it? Thanks a lot for con

Re: [Orgmode] Bug: monthly repeater does not work

2008-06-25 Thread Wanrong Lin
Yes, I tried the latest version and it is fixed. Thank you! Wanrong Carsten Dominik wrote: Fixed , thanks. At least I thing so. Please get the latest version and confirm. - Carsten On Jun 25, 2008, at 12:11 AM, Wanrong Lin wrote: Hi, I just tried this: * TODO Test SCHEDULED: <2008

[Orgmode] Re: Bug: monthly repeater does not work

2008-06-24 Thread Wanrong Lin
I forgot to mention that the ".+1m" and "++1m" repeaters do not work either. Wanrong Wanrong Lin wrote: Hi, I just tried this: * TODO Test SCHEDULED: <2008-06-24 Tue +1m> And it does not work, meaning I do not see the item listed in the agenda of 07-24, 08-24 an

[Orgmode] Bug: monthly repeater does not work

2008-06-24 Thread Wanrong Lin
Hi, I just tried this: * TODO Test SCHEDULED: <2008-06-24 Tue +1m> And it does not work, meaning I do not see the item listed in the agenda of 07-24, 08-24 and etc. DEADLINE won't work either with the same repeater. Can someone confirm that? I saw the above with org-6.05b on Emacs 22.2 und

Re: [Orgmode] Column view and hl-line-mode

2008-06-03 Thread Wanrong Lin
Hi, Peter, I am using highline.el, which works well for me. Maybe you can check it out. Also, I added this line to my emacs config file to ensure the overlay from the highline.el has higher priority than other overlays. (setq highline-priority 10) Wanrong Peter Jones wrote: When using colum

Re: [Orgmode] Bug found (but don't know to fix)

2008-05-21 Thread Wanrong Lin
Yes, this works! Thank you. Wanrong Carsten Dominik wrote: On May 21, 2008, at 4:25 PM, Wanrong Lin wrote: Hi, Carsten, Thanks a lot for the patch. I tried it, but it does not work. I traced into the "org-open-at-point" function and found the patch is not executed because the

Re: [Orgmode] Bug found (but don't know to fix)

2008-05-21 Thread Wanrong Lin
setq cmd (replace-match "%s" t t cmd))) (while (string-match "%s" cmd) (setq cmd (replace-match - (save-match-data (shell-quote-argument file)) + (save-match-data + (shell-quote-argument + (convert-standard-filename file))) t t cmd))) (save-window-e

[Orgmode] Bug found (but don't know to fix)

2008-05-19 Thread Wanrong Lin
Hi Carsten: I have observed that in Windows "org-open-at-point" (bound to RET key in my config) does not work on something like this: file:\\hostname\path Today I dug a little bit into it, and found the problem is here (in red): (defun org-open-file (path &optional in-emacs line search) "Op

Re: [Orgmode] Underlines and strike-through lines in column view

2008-05-16 Thread Wanrong Lin
On May 16, 2008, at 4:52 PM, Wanrong Lin wrote: Hi Carsten, Attached is a minim emacs config file I made that can reproduce the problem using "emacs -q -l minimal.el". The first line of the file add the load-path to the org-mode package, so you may need to change it. Also attache

Re: [Orgmode] Underlines and strike-through lines in column view

2008-05-16 Thread Wanrong Lin
sing. Thanks. - Carsten On May 15, 2008, at 7:40 PM, Wanrong Lin wrote: Feedback: I just tested again on org 6.03, and the "line noises" are still there in the column view. Wanrong Wanrong Lin wrote: Just a reminder: do you have any TODO faces with strike-through lines? Rememb

Re: [Orgmode] Underlines and strike-through lines in column view

2008-05-15 Thread Wanrong Lin
Feedback: I just tested again on org 6.03, and the "line noises" are still there in the column view. Wanrong Wanrong Lin wrote: Just a reminder: do you have any TODO faces with strike-through lines? Remember the line noises will only happen when that is true. Also, maybe ther

Re: [Orgmode] Underlines and strike-through lines in column view

2008-05-08 Thread Wanrong Lin
release to test again. Thanks a lot. Wanrong Carsten Dominik wrote: Hi Wanrong, I cannot reproduce this,, works just fine for me. - Carsten On May 8, 2008, at 12:23 AM, Wanrong Lin wrote: Hi, Carsten, I just tried your patch for this fix, the column view faces are OK now, but those

Re: [Orgmode] Underlines and strike-through lines in column view

2008-05-07 Thread Wanrong Lin
Hi, Carsten, I just tried your patch for this fix, the column view faces are OK now, but those strike-through line noises come back again. Seems we can not get both. :-) Wanrong Carsten Dominik wrote: Fixed, thanks. - Carsten On Apr 30, 2008, at 11:25 PM, Wanrong Lin wrote: Hi

[Orgmode] Archiving broken in 6.02b

2008-05-07 Thread Wanrong Lin
Hi, Carsten, It seems archiving is broken in 6.02b, as described below: I have org-archive-location set to the following: "archived/%s::* Archived" It worked before 6.02b, that is to archive items to files with the same name under the "archived" directory. However, 6.02b broke that because it

Re: [Orgmode] Underlines and strike-through lines in column view

2008-04-30 Thread Wanrong Lin
unspecified Strike-through: unspecified Box: unspecified Inverse: unspecified Stipple: unspecified Font or fontset: nil Inherit: unspecified Thanks a lot if you can take a look of it. Wanrong Carsten Dominik wrote: On Apr 24, 2008, at 4:55 PM, Wanrong Lin wrote: H

[Orgmode] Underlines and strike-through lines in column view

2008-04-24 Thread Wanrong Lin
Hi, In the column view, I often see some underlines and strike-through lines that show up kind of randomly. I have seen this for quite sometime, maybe since I began to use the column view 3 or 4 months ago. Are there any special meanings for those lines or they are just noise? I am now using

Re: [Orgmode] Bug: repeated task with ++1w does not auto-jump

2008-03-28 Thread Wanrong Lin
Thanks a lot. Look forward to 5.24 (I know, I should have learned git by now...) Wanrong ___ Emacs-orgmode mailing list Remember: use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmo

Re: [Orgmode] Re: Bug? Link to network file/dir does not work

2008-03-28 Thread Wanrong Lin
If tramp/ssh works for you, the following link definitely works, at least for me. file:///ssh:remote.host:path/to/the/file Xiao-Yong Thanks. Good to know tramp links work, as I am sure I will need it sometime. I have tried to use SSH/Tramp on Windows but the set-up is a challenge (putt

Re: [Orgmode] Re: Bug? Link to network file/dir does not work

2008-03-28 Thread Wanrong Lin
T Thomas Baumann wrote: Wanrong Lin <[EMAIL PROTECTED]> writes: Hi, On my Windows machine, I tried to access a link like this from my org file: file://host/dir/file_name shouldn't that be file://host:/dir/file_name note the second colon after host. Thomas Tri

[Orgmode] Bug? Link to network file/dir does not work

2008-03-28 Thread Wanrong Lin
Hi, On my Windows machine, I tried to access a link like this from my org file: file://host/dir/file_name It does not work. The error message says: "ShellExecute failed: The system cannot find the file specified.^M" (Note the "^M" at the end) I also tried the back slash version: file:\\host\d

[Orgmode] Re: Bug: repeated task with ++1w does not auto-jump

2008-03-24 Thread Wanrong Lin
More observations: With a test task like this: * TODO Test SCHEDULED: <2008-03-25 Tue ++1w> If I try to mark it DONE on 2008-03-24, i.e. before the scheduled day, auto-jump does not work either. Wanrong Wanrong Lin wrote: Hi, With a test task as following: * TODO A test SCH

[Orgmode] Bug: repeated task with ++1w does not auto-jump

2008-03-24 Thread Wanrong Lin
Hi, With a test task as following: * TODO A test SCHEDULED: <2008-03-24 Mon ++1w> If on the scheduled day (today) I do a "C-c C-t" trying to mark it "DONE", the scheduled time does not jump to the next occurrence. However, If I change the task to * TODO A test SCHEDULED: <2008-03-23 Sun

Re: [Orgmode] Org-mode on Windows - Putty

2008-03-14 Thread Wanrong Lin
ly to char coding commands (define-key org-mode-map (kbd "C-x RET") 'org-insert-todo-heading) --- Attached is my AutoHotKey script. Manish wrote: On Fri, Mar 14, 2008 at 8:55 PM, Wanrong Lin <[EMAIL PROTECTED]> wrote: What I did is: Add some alternative TTY key bin

Re: [Orgmode] Org-mode on Windows - Putty

2008-03-14 Thread Wanrong Lin
What I did is: Add some alternative TTY key bindings for some frequently used commands, and use "AutoHotkey" to map things like "M-RET" to those TTY key bindings. Not ideal, but works fine. Wanrong Thanks for the pointer. But it really is going to be inconvenient. Shift-arrow works okay in

Re: [Orgmode] How to set a date relative to the original date?

2008-03-11 Thread Wanrong Lin
Bastien Guerry wrote: Hi Wanrong, Wanrong Lin <[EMAIL PROTECTED]> writes: * MAYBE A test SCHEDULED: <2008-02-13 Wed> But I found "++3d" produces the same result as "+3d", which is 3 days after today. AFAIK, the difference between +2d and ++2d is

[Orgmode] How to set a date relative to the original date?

2008-03-11 Thread Wanrong Lin
Hi, I read the tutorial on http://members.optusnet.com.au/~charles57/GTD/org_dates/ about how to use dates. The tutorial says I can use "++3d" to indicate "3 days after the default date". My understanding is the default date is the original date in the schedule. So, if I do a "C-c C-s" and in

[Orgmode] FR: more options in (org-diary)

2008-03-05 Thread Wanrong Lin
Hi, This is branched off from the previous thread "FR: date marking in calendar". I got the marking working now with the help from Bastien. My intention was to mark calendar with important "hard schedule" (appointments) that can not be conflicted with. However, I could not do it with current

Re: [Orgmode] FR: date marking in calendar

2008-03-05 Thread Wanrong Lin
Thanks. It works now. I found I need only set (setq mark-diary-entries-in-calendar t) to have the markings show up. Wanrong Bastien wrote: Wanrong Lin <[EMAIL PROTECTED]> writes: Following your suggestion now I can see a pretty list of scheduled things when I run "diary",

Re: [Orgmode] FR: date marking in calendar

2008-03-05 Thread Wanrong Lin
Hi, Bastien, Following your suggestion now I can see a pretty list of scheduled things when I run "diary", but I don't see any marking of dates in my calendar buffer. Is there anything I could have missed? Thank you very much. Wanrong Bastien Guerry wrote: Wanrong Lin &l

Re: [Orgmode] Bug: with %%(org-diary) in .diary file, org-mode-hook is not called

2008-03-05 Thread Wanrong Lin
anks a lot. Wanrong Carsten Dominik wrote: Hi Wanrong, this is strange and should not happen. Do you call the diary in your ,emacs before setting up org-mode-hook? - Carsten On Mar 5, 2008, at 2:55 AM, Wanrong Lin wrote: Hi, I was trying Bastien's suggestion for marking dates in cale

Re: [Orgmode] FR: date marking in calendar

2008-03-04 Thread Wanrong Lin
Bastien, Thanks a lot for the suggestion. My appointments are in org files are agenda are marked with a tag, so using diary as you suggested does not work exactly as I wished. But I was not even aware of the existence of org-diary and its usage, maybe I can find some other use of it later on.

[Orgmode] Bug: with %%(org-diary) in .diary file, org-mode-hook is not called

2008-03-04 Thread Wanrong Lin
Hi, I was trying Bastien's suggestion for marking dates in calendar, so I put this into my .diary file: &%%(org-diary) What I found is after I launch emacs, all my org-agenda files are already open, but my org-mode-hook function was not called, so my key bindings and other stuff was not se

[Orgmode] FR: date marking in calendar

2008-03-04 Thread Wanrong Lin
Hi, If I have (setq mark-holidays-in-calendar t), the calendar window will mark all holidays. I am thinking it will be great if we can mark appointments in org-files. Maybe we can have a command to do the following: 1. Find a subset of headlines using the usual todo, or tag-todo search synta

Re: [Orgmode] FR: Repeated time stamp, jumping from current time

2008-03-02 Thread Wanrong Lin
I think even if it is not a deadline, just personal scheduled stuff (no "external force") , there are cases where you just want to do things periodically at a certain date/time, so we should keep the old behavior. We don't have to choose between these two (jumping from current date and jumpin

[Orgmode] FR: Repeated time stamp, jumping from current time

2008-03-01 Thread Wanrong Lin
Hi, Right now we can have a repeated time stamp like this: * TODO Do this every month SCHEDULED: <2008-03-01 Sat +1m> If I am late and mark the above done on 2008-03-05, the time stamp will automatically jump to 2008-04-01. This is very useful for things like paying monthly bills. However,

Re: [Orgmode] org-agenda-to-appt

2008-03-01 Thread Wanrong Lin
I do it like this: (run-at-time "0:30am" (* 24 3600) 'org-agenda-to-appt) This will call org-agenda-to-appt when emacs starts, and, if you never exit emacs, it will automatically call org-agenda-to-appt at mid-night. Wanrong Richard G Riley wrote: What would be the recommended way to automa

Re: [Orgmode] Re: Bug: Invalid face reference

2008-02-29 Thread Wanrong Lin
mlize unnecessary - could you please remove it your own setup and test this for a long while? And then report back? Thanks! - Carsten On Feb 29, 2008, at 7:41 PM, Wanrong Lin wrote: Found the bug and fixed it as following (see the comment line marked with ) - (defun org-agenda-

[Orgmode] Re: Bug: Invalid face reference

2008-02-29 Thread Wanrong Lin
fadvice htmlize-faces-in-buffer (after org-no-nil-faces activate) "Make sure there are no nil faces" (setq ad-return-value (delq nil ad-return-value) Wanrong Lin wrote: Found the bug and fixed it as following (see the comment line marked with ) - (de

[Orgmode] Re: Bug: Invalid face reference

2008-02-29 Thread Wanrong Lin
(delete-region (match-beginning 1) (match-end 1)) (goto-char (match-beginning 1)) (insert (org-add-props (make-string (max 1 (- c (current-column))) ?\ ) (text-properties-at (point Wanrong Lin wrote: More update: In a tag search result buffer, I move the cursor to a

[Orgmode] Re: Bug: Invalid face reference

2008-02-29 Thread Wanrong Lin
More update: In a tag search result buffer, I move the cursor to a tag, and eval (get-text-property (point) 'face), and I get: (org-tag nil). So this "nil" is causing the problem, but I don't know where it is sneaked in. Wanrong Just some update: I called (org-restart-font-lock) function

Re: [Orgmode] Bug: return key does not show the subtree the first time on a newly opened org file

2008-02-28 Thread Wanrong Lin
It *is* puzzling. I have a fix for this. I'm testing it a few days more and will commit it if it works okay. Look forward to it. Although I am trying to get into the habit of using TAB, it won't hurt to have the old way working too. Thanks a lot. Wanrong

Re: [Orgmode] Bug: return key does not show the subtree the first time on a newly opened org file

2008-02-28 Thread Wanrong Lin
Yes, this is really an accidental feature by a sequence of events: org-return-follow-link will add org-return to the mouse-map org-mouse.el will activate the stars in a headline I can reproduce the bug, but I have no idea what is causing this, it must be something in the internal setup of Em

[Orgmode] Re: Active timestamp with notification in advance

2008-02-28 Thread Wanrong Lin
next 6 days. (setq org-agenda-start-on-weekday nil) -Bernt Wanrong Lin <[EMAIL PROTECTED]> writes: If you can stick to the habit of looking into the next day (especially on the last day in you weekly agenda), that will work. But I am not reliable on that. And sometimes you may need t

Re: [Orgmode] Re: Active timestamp with notification in advance

2008-02-28 Thread Wanrong Lin
If you can stick to the habit of looking into the next day (especially on the last day in you weekly agenda), that will work. But I am not reliable on that. And sometimes you may need to look ahead more than one day. I want to be lazy and dumb with the help of org. :-) Wanrong I simply ent

[Orgmode] Re: Bug: Invalid face reference

2008-02-28 Thread Wanrong Lin
I see you're using Windows. What version of Emacs are you running on it? I am using Emacs 22.1. Actually I also tested on Linux (with Emacs 22.1 too), and I saw the same thing. Just some update: I called (org-restart-font-lock) function inside my tag search result buffer, and

Re: [Orgmode] Re: Active timestamp with notification in advance

2008-02-28 Thread Wanrong Lin
Carsten Dominik wrote: Thanks a lot for the suggestions, but manual workaround does not work for me, as I want org to take care of giving me a notification in advance in the agenda buffer. For SCHEDULED and plain active time stamp, I don't think we need to have a default ahead notification

Re: [Orgmode] Bug: return key does not show the subtree the first time on a newly opened org file

2008-02-28 Thread Wanrong Lin
Bastien Guerry wrote: Carsten Dominik <[EMAIL PROTECTED]> writes: Yes, but only with this setting will key be added to the "org-mouse-map" key map, and be bound to "org-open-at-point" command under certain contexts (like on the leading stars of a heading). Further, "org-open-at-point" is ad

Re: [Orgmode] Re: Active timestamp with notification in advance

2008-02-27 Thread Wanrong Lin
Wanrong Lin wrote: Thanks a lot for the suggestions, but manual workaround does not work for me, as I want org to take care of giving me a notification in advance in the agenda buffer. For SCHEDULED and plain active time stamp, I don't think we need to have a default ahead notific

Re: [Orgmode] Bug: return key does not show the subtree the first time on a newly opened org file

2008-02-27 Thread Wanrong Lin
Bastien wrote: Wanrong Lin <[EMAIL PROTECTED]> writes: I have the following in my org-mode configuration: (setq org-return-follows-link t) This is about following links, no (un)folding subtrees... Yes, but only with this setting will key be added to the "org-mouse-m

Re: [Orgmode] Bug: Invalid face reference

2008-02-27 Thread Wanrong Lin
Bastien wrote: Wanrong Lin <[EMAIL PROTECTED]> writes: I found something really strange: Whenever I do a search (either "tags-todo" search, or "todo" search), as long as the search result contains an entry with tags, the "*Messages*" buffer will generat

Re: [Orgmode] Re: Active timestamp with notification in advance

2008-02-27 Thread Wanrong Lin
Bastien wrote: Bernt Hansen <[EMAIL PROTECTED]> writes: Maybe use SCHEDULED: instead of DEADLINE: ? I'm afraid this won't solve Wanrong's problem: you don't get warned about scheduled items. Wanrong: maybe you can turn your items into scheduled items and then use `org-check-before-da

[Orgmode] Bug: Invalid face reference

2008-02-27 Thread Wanrong Lin
Hi, I found something really strange: Whenever I do a search (either "tags-todo" search, or "todo" search), as long as the search result contains an entry with tags, the "*Messages*" buffer will generate a message like this: Invalid face reference: nil [164 times] The number "164" above is

[Orgmode] Re: Bug: return key does not show the subtree the first time on a newly opened org file

2008-02-27 Thread Wanrong Lin
DULED: <2008-02-27 Wed> *Close* the file, do a tag search on "mytag", in the search result press "TAB" key to jump to the "TODO A Test" heading, which should be folded. Press return key and you will see the failure. Do it again and it works. Wanrong Wanro

[Orgmode] Bug: return key does not show the subtree the first time on a newly opened org file

2008-02-27 Thread Wanrong Lin
Hi, I have the following in my org-mode configuration: (setq org-return-follows-link t) Also, by default my org files are in overview mode (folded) when opened. Usually, if my cursor is at the beginning of a heading, I can use the return key to cycle the visibility of its subtree. However, th

Re: [Orgmode] Active timestamp with notification in advance

2008-02-27 Thread Wanrong Lin
ong Carsten Dominik wrote: In Org-mode, by definition, Deadlines are the ones with ahead warnings. Why don't you just turn the appointments where you need early reminders into deadlines? - Carsten On Feb 26, 2008, at 11:01 PM, Wanrong Lin wrote: Hi, Currently we can set the number of

[Orgmode] Active timestamp with notification in advance

2008-02-26 Thread Wanrong Lin
Hi, Currently we can set the number of days a deadline should be notified in advance with something like this: * TODO Do this DEADLINE: <2008-03-24 Mon -30d> But it does not work on a plain active time stamp like this: * TODO See Doctor <2008-03-24 Mon -30d> Can we consider adding this fe

[Orgmode] Re: Misaligned Chinese text in column view

2008-02-22 Thread Wanrong Lin
Hi, Carsten, After more careful measure of the Chinese character width, I found this is most likely a font problem, not org's problem. Please ignore my last post, and sorry for the noise. Wanrong Wanrong Lin wrote: Hi, Carsten, Occasionally I use some Chinese text in my org files (I

[Orgmode] Misaligned Chinese text in column view

2008-02-22 Thread Wanrong Lin
Hi, Carsten, Occasionally I use some Chinese text in my org files (I am a native Chinese speaker), and I find that in column view lines with Chinese text are misaligned, meaning those "|" dividers are off to the left by two characters. With fixed width fonts, each Chinese character occupies th

Re: [Orgmode] Highlighting Sparse Tree Leaves

2008-02-21 Thread Wanrong Lin
exp in current subtree." > (save-match-data > (save-excursion > (let ((beg (point)) (end-of-tree (org-end-of-subtree t))) > (goto-char beg) > (re-search-forward regexp end-of-tree t) > 28240d28271 < --- Carsten Dominik wrote: On Feb 18, 2008, at 4:

Re: [Orgmode] Highlighting Sparse Tree Leaves

2008-02-18 Thread Wanrong Lin
TODO items. I use PROJECT or something similar. When you then search for TODO, the true tasks will be highlighted. - Carsten On Feb 15, 2008, at 12:36 AM, Wanrong Lin wrote: Hi, Is it possible to highlighting only the sparse tree leaves, or even better, highlighting the whole sparse tree b

Re: [Orgmode] Logging state change with timestamp, but without note

2008-02-15 Thread Wanrong Lin
quot; we are already using to denote taking a note. So #+TODO: TODO(t) WAITING(w@) | DELEGATED DONE CANCELED(c!) would record a note when switching to WAITING, and only a time when switching to CANCELED. - Carsten On Feb 14, 2008, at 3:53 AM, Bastien Guerry wrote: Wanrong Lin <[EMAIL

[Orgmode] Highlighting Sparse Tree Leaves

2008-02-14 Thread Wanrong Lin
Hi, Is it possible to highlighting only the sparse tree leaves, or even better, highlighting the whole sparse tree but with leaves in a special face? The motivation for such a feature is this: Suppose I have a task tree like this: * TODO Task A *** TODO Task A.1 * TODO Task A.1.1 * TODO

Re: [Orgmode] Logging state change with timestamp, but without note

2008-02-14 Thread Wanrong Lin
(c!) would record a note when switching to WAITING, and only a time when switching to CANCELED. - Carsten On Feb 14, 2008, at 3:53 AM, Bastien Guerry wrote: Wanrong Lin <[EMAIL PROTECTED]> writes: I would like to record down the time stamp when a TODO item changed its state into some speci

[Orgmode] Logging state change with timestamp, but without note

2008-02-13 Thread Wanrong Lin
Hi, I would like to record down the time stamp when a TODO item changed its state into some specific states (like "DELEGATED"), but I don't want to be prompt with a window for notes. I might be able to do that by putting those states into the DONE state and adding (setq org-log-done t) into the c

Re: [Orgmode] Quickly Switch Between TODO States

2008-02-13 Thread Wanrong Lin
eywords '((sequence "TODO(t)" "STARTED(s)" "WAITING(w)" "UNTESTED(u)" "|" "DONE(d)" "DEFERRED(f)" "CANCELLED(x)"))) (setq org-use-fast-todo-selection t) then all it takes is C-c C-t and

Re: [Orgmode] Quickly Switch Between TODO States

2008-02-13 Thread Wanrong Lin
Did you try C-c C-t ? ,[ (info "(org)TODO basics") ] | The most important commands to work with TODO entries are: | | `C-c C-t' | Rotate the TODO state of the current item among | | ,-> (unmarked) -> TODO -> DONE --. | '' | |

[Orgmode] Quickly Switch Between TODO States

2008-02-13 Thread Wanrong Lin
Hi, I am trying to get the quick TODO state switching work. I put the following line as in the online manual in my org file #+SEQ_TODO: TODO(t) STARTED(s) WAITING(w) | DONE(d) But when I press C-c C-c, I only see my tags in the selection window. The online manual does not elaborate on this m

Re: [Orgmode] Timeline not working in 5.20

2008-02-06 Thread Wanrong Lin
I have the same problem, and here is a mini-example that will generate the error "Arithmetic range error: "floor", -0.0e+NaN ", hope it helps. Wanrong - * Human Resources *** TODO Do Employee survey DEADLINE: <2008-02-14 Thu> -- Carsten Dominik wrote: Hi Sven, please make a mi

Re: [Orgmode] Re: BUG?: repeat items disappears in agenda

2008-01-20 Thread Wanrong Lin
I prefer the same way. I wish to have full confidence that anything scheduled but not done will show up in my agenda. Thanks. Wanrong Bernt Hansen wrote: I'm using the agenda to keep my important tasks 'in my face' so they get dealt with. This is normally the only place my repeating tasks

[Orgmode] BUG?: repeat items disappears in agenda

2008-01-18 Thread Wanrong Lin
Hi, Carsten, I am excited to try out the new features in 5.19, but one thing I tried first is to see whether the "task disappearing" behavior for repeat TODO items has changed. Seems it did not. I am not sure whether this is considered a bug, but in short the symptom is this: Suppose I have

Re: [Orgmode] org-refile: only works on leaves?

2008-01-16 Thread Wanrong Lin
Carsten Dominik wrote: On Jan 15, 2008, at 8:29 PM, Wanrong Lin wrote: Hi, Carsten, It seems I found the cause of this. I have the following in my emacs config: (setq org-refile-targets '((org-agenda-files . (:maxlevel . 2 (setq org-refile-use-outline-path t) When using org-refile

  1   2   >