Re: [Orgmode] Debian Mono / Tomboy

2009-06-29 Thread Dmitri Minaev
On Sun, Jun 28, 2009 at 1:05 PM, Ian Bartonli...@manor-farm.org wrote:

 Mono is a clone of Microsoft's Dot Net framework. It's good in that makes
 it possible for Windows C# programmers to develop Linux apps. However, the
 concern is that at some point, MS will decide to start a patent war over
 Mono. If Mono becomes required for the Gnome desktop, rather than just
 providing nice add on programs, Gnome would be sunk.

Somehow this perspective doesn't depress me as it's supposed to...


___
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-orgmode


Re: [Orgmode] Notes for a todos/tasks

2009-05-29 Thread Dmitri Minaev
On Thu, May 28, 2009 at 11:27 PM, Keith Lancaster
klancaster1...@mac.com wrote:

 Usually, I add a time-stamp. I have to think that there is a better way.
 What's the best way to handle this?

I use todo state logging, so to add a comment I simply change the
state of the todo item from TODO to TODO again (C-1 C-c C-t, or S-left
S-right). It brings up the 'remember' buffer and the result is like
this (from my calls.org):

** TODO tech support: phone number x
   - State TODO   from TODO   [2009-05-27 Wed 13:51] \\
 reported problems w phone number xxx
   - State TODO   from TODO   [2009-05-21 Thu 17:29] \\
 reported number 
 Dmitri. ticket number 2426 (repeated)
   - State TODO   from TODO   [2009-05-18 Mon 14:37] \\
 asked to check fax in 10 min
   - State TODO   from TODO   [2009-05-18 Mon 12:23] \\
 reported problems w phone number xxx
 will call back till 1400
   - State TODO   from TODO   [2009-05-13 Wed 14:07] \\
 reported on continuing problems
   - State TODO   [2009-05-06 Wed 12:40] \\
 fax problems.

-- 
With best regards,
Dmitri Minaev

Russian history blog: http://minaev.blogspot.com


___
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-orgmode


[Orgmode] Two little changes in faces

2009-05-22 Thread Dmitri Minaev
Hello,

First, attached is a tiny patch that adds a new face,
org-agenda-date-today, to highlight the current day in the
weekly/monthly agenda. I sometimes get lost in the days of week, so
this one helps me a lot :).

Second, I would propose to change the default org-agenda-done face to
include :strike-through, to distinguish these items from
org-scheduled-today. Single DONE, IMHO, doesn't make the difference
obvious enough. Besides, strike-through works better in
black-and-white printouts.


-- 
With best regards,
Dmitri Minaev

Russian history blog: http://minaev.blogspot.com
diff -cr lisp/org-agenda.el /home/minaev/.el/org/org-agenda.el
*** lisp/org-agenda.el	2009-04-22 09:42:54.0 +0500
--- /home/minaev/.el/org/org-agenda.el	2009-05-22 12:16:13.0 +0500
***
*** 2798,2804 
   'org-agenda-date))
  	(put-text-property s (1- (point)) 'org-date-line t)
  	(put-text-property s (1- (point)) 'org-day-cnt day-cnt)
! 	(if todayp (put-text-property s (1- (point)) 'org-today t))
  	(if rtnall (insert
  			(org-finalize-agenda-entries
  			 (org-agenda-add-time-grid-maybe
--- 2798,2806 
   'org-agenda-date))
  	(put-text-property s (1- (point)) 'org-date-line t)
  	(put-text-property s (1- (point)) 'org-day-cnt day-cnt)
! 	(when todayp 
! 	  (put-text-property s (1- (point)) 'org-today t)
! 	  (put-text-property s (1- (point)) 'face 'org-agenda-date-today))
  	(if rtnall (insert
  			(org-finalize-agenda-entries
  			 (org-agenda-add-time-grid-maybe
diff -cr lisp/org-faces.el /home/minaev/.el/org/org-faces.el
*** lisp/org-faces.el	2009-04-22 09:42:54.0 +0500
--- /home/minaev/.el/org/org-faces.el	2009-05-22 12:17:04.0 +0500
***
*** 461,466 
--- 461,473 
(set-face-doc-string 'org-agenda-date
  		   Face used in agenda for normal days.))
  
+ (unless (facep 'org-agenda-date-today)
+   (copy-face 'org-agenda-date 'org-agenda-date-today)
+   (set-face-doc-string 'org-agenda-date-today
+ 		   Face used in agenda for today.)
+   (when (fboundp 'set-face-attribute)
+ (set-face-attribute 'org-agenda-date-today nil :weight 'bold :italic 't)))
+ 
  (unless (facep 'org-agenda-date-weekend)
(copy-face 'org-agenda-date 'org-agenda-date-weekend)
(set-face-doc-string 'org-agenda-date-weekend
Only in /home/minaev/.el/org: semantic.cache
___
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-orgmode


Re: [Orgmode] Links to Thunderbird e-mail

2008-11-04 Thread Dmitri Minaev
On Tue, Nov 4, 2008 at 5:50 PM, Robert Goldman [EMAIL PROTECTED] wrote:
 I have been researching this off and on for a while.

Me, too :). Does anybody know of a way to perform the task in another
MUA with the capabilities similar to Thunderbird, like Evolution or
Kmail?

-- 
With best regards,
Dmitri Minaev

Russian history blog: http://minaev.blogspot.com


___
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-orgmode


[Orgmode] lognotestate and closing entries

2008-05-30 Thread Dmitri Minaev
It seems that I should have upgraded more often. I have recently
upgraded to 6.04c and it was the first 6.x version I installed. The
typical header in my files includes the line:

#+STARTUP: lognotestate

With this line, all state changes are logged and Org prompted me for a
note. It was perfect.

Now, I see that `lognotestate' keyword is not supported by Org mode
anymore. If I understand correctly, now this setting is applied on a
per-state basis, with @ mark, and I have to add (@) to every keyword
in SEQ_TODO list?

Another thing that perplexed me in the new version was that now every
entry marked as done is also marked as CLOSED, even though I don't use
`logdone' keyword. IMHO, the date in the DONE mark is enough and the
CLOSED mark is redundant. Can I get rid of it? I couldn't find this
info in the manual, sorry.

-- 
With best regards,
Dmitri Minaev

Russian history blog: http://minaev.blogspot.com


___
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-orgmode


Re: [Orgmode] Three questions about Org-mode API

2008-05-12 Thread Dmitri Minaev
On Mon, May 12, 2008 at 4:03 PM, Carsten Dominik [EMAIL PROTECTED] wrote:
  If you are talking only about the standard properties (i.e. not the TODO
 state or the tags, but just the properties in the drawer, the fastest
 inside-org way would be

  (org-entry-get nil 'standard)

No, unfortunately, it won't do. I will need tags, TODO states and
priorities, among other things.

  If speed is an issue, I would write an external program in perl.
  I think I could write a perl parser that is at least a factor of 10 faster
  than anything in emacs lisp.

Perhaps, this is true. But this is my first program in elisp and I
would like to take the chance to learn it :)

What if I ditch the org-mode tools and write a specialized parser in
elisp? My org file has a rather regular structure, with the uniform
properties located in the same order in all entries. Do you think it
would be faster?

  One could also think of an external database, but that only would work will
 for a linear list of entries, and structure editing does ruin such things.

Hmm... How's that?

Well, what I'm writing is an ebooks catalog. I keep the database in
a list. To browse the catalog, I render it into an org-mode-compliant
text buffer and run org-mode. Here I can change tags, priorities, TODO
(toread) state, edit the description and, in some cases, the
information stored in standard properties: title, authors, genre, path
to the file. The database may be rendered in three modes: by title (1
level); by author/title (2 levels) and by genre/author/title (3
levels). When I've done with browsing and editing, I have to convert
the org-mode buffer back into the list. The number of books should be
large enough. As for now, I can deal with 1,000 of them with a
tolerable speed. But I hope to make the library work with up to 10,000
books. So, the list is not linear. And still... An external database?
How?

  Check out Bastien's parser, I think it is in some branch in the git repo
  (right Bastien???).  Although I don't know how fast this would be.

Thanks, I'll have a look at it.

  3. It would be nice to mark the edited entries as `dirty' to avoid the
  conversion of non-changed entries. Any ideas?

  This is hard, because you don't want to put any contraints on how the entry
 can be edited.  One could use text properties (during a single session) or
 Org properties, both triggered with after-change-functions, but that is a
 lot of editing overhead.

Could I use some hook that would add an extra property for every changed entry?

-- 
With best regards,
Dmitri Minaev

Russian history blog: http://minaev.blogspot.com


___
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-orgmode


[Orgmode] Three questions about Org-mode API

2008-05-11 Thread Dmitri Minaev
Hello,

I use org-mode as a front-end to view and edit the data stored in a
list. It's easy and fast to render the list as an Org-mode tree, but I
have some problems with the performance when I convert the data back
to the list.

1. If I want to retrieve all properties of an entry (a thousand or two
of entries, for that matter), what would be faster: using
org-entry-get for every property, org-entry-properties or using custom
regexps?

2. Is there a way to obtain programmatically the contents of an entry,
the text in it (assuming the entry has no children nodes)?

3. It would be nice to mark the edited entries as `dirty' to avoid the
conversion of non-changed entries. Any ideas?

Thanks.

-- 
With best regards,
Dmitri Minaev

Russian history blog: http://minaev.blogspot.com


___
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-orgmode


Re: [Orgmode] Org and Muse

2008-04-24 Thread Dmitri Minaev
On Mon, Apr 21, 2008 at 8:15 PM, Richard G Riley
[EMAIL PROTECTED] wrote:

  I just dug out some old Muse documents I had and am now wondering what
  overlap exists, if any, between Muse and Org. As a committed Org user
  should I migrate these Muse projects to Org projects?  Any thoughts
  appreciated. Possibly I have the wrong end of the stick with regard to
  org publishing and the two should live together?

As long as my tasks don't go beyond the capabilities of Org, I prefer
Org. Two reasons why I sometimes choose Muse are:

1. Export to Docbook

2. lisp tag in Muse. I love it. So, one of my last documents begins
with the line:

* Version: lisp(calc-eval (concat
(calendar-date-string(calendar-current-date))  - 12
apr2008))/lisp days with LBook.

-- 
With best regards,
Dmitri Minaev

Russian history blog: http://minaev.blogspot.com


___
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-orgmode


Re: [Orgmode] faces for keywords

2008-02-18 Thread Dmitri Minaev
On Feb 19, 2008 9:12 AM, Bastien Guerry [EMAIL PROTECTED] wrote:
 
  What did I do wrong?

 Nothing.  I tested this and noticed that the problem happened for the
 :weight and :bold property, not for the :foreground property.  Which
 confirms this is a problem with Emacs.

Thanks. Perhaps, the org-mode manual should be updated to reflect the
sad reality, then...

-- 
With best regards,
Dmitri Minaev

Russian history blog: http://minaev.blogspot.com


___
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-orgmode


[Orgmode] FR: cross-file radio targets

2008-02-15 Thread Dmitri Minaev
Do you think it would be possible/useful to have radio targets working
across all files in org-agenda-files?

-- 
With best regards,
Dmitri Minaev

Russian history blog: http://minaev.blogspot.com


___
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-orgmode


[Orgmode] faces for keywords

2008-02-07 Thread Dmitri Minaev
When I followed the examples given in the manual for setting
org-todo-keyword-faces, I could change the font color but not its
weight.  I had to defface a new face and use it in the
org-todo-keyword-faces to get the bold font.

What I did first was:
(setq org-todo-keyword-faces
  '((WAITING  . (:foreground blue :weight bold :bold t

The same face definition syntax used with defface worked well:
(defface org-waiting-face '((t (:foreground blue :weight bold :bold
t))) Face for WAITING todo items.)
(setq org-todo-keyword-faces
  '((WAITING  . org-waiting-face)))

GNU Emacs 23.0.0.1 (i686-pc-linux-gnu, X toolkit, Xaw3d scroll bars)

What did I do wrong?

-- 
With best regards,
Dmitri Minaev

Russian history blog: http://minaev.blogspot.com


___
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-orgmode


Re: [Orgmode] hotkeys for org in gnome

2007-12-16 Thread Dmitri Minaev
On Dec 15, 2007 8:34 AM, Rustom Mody [EMAIL PROTECTED] wrote:
 I was wondering if there is some way that in addition to activating
 emacs it is possible to run remember

I believe this is one more argument in favor of scriptable window
managers. In Stumpwm, Sawfish and, I assume, in Ion it's a trivial
task.

-- 
With best regards,
Dmitri Minaev

Russian history blog: http://minaev.blogspot.com


___
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-orgmode


Re: [Orgmode] Org-mode version 5.13

2007-10-25 Thread Dmitri Minaev
On 10/24/07, Carsten Dominik [EMAIL PROTECTED] wrote:
 So, does everybody agree that I should remove the class from the divs
 again?



Wouldn't classes make formatting more flexible? If I understand
correctly, Mike Newman's proposal will require all formatting to be
hardcoded into org.el? I'd rather keep it in a separate .css file, one
for the whole site...


-- 
With best regards,
Dmitri Minaev

Russian history blog: http://minaev.blogspot.com


___
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-orgmode


Re: [Orgmode] Numeric Priorities

2007-09-24 Thread Dmitri Minaev
On 9/24/07, Bastien [EMAIL PROTECTED] wrote:

  Reachable via C-up?

 (I assume you meant S-up?)

Ahem... Yes. :)

 With Org 5.09 and #+PRIORITIES: A C B you need to do press S-up S-down
 (or S-down S-up) to set the default priority -- or did I miss something?

 My suggestion [1] was that S-up/down first set the *default* priority,
 then increases/decreases the priority cookie. Anyway, it looks like this
 request depends too much of what *I* expect from priorities, so I won't
 dwell too much on this, it's not that important to me.

Ah, but the notion of the default priority has no special meaning
besides what jumps up after the first S-up, so we can easily assume
that the default priority is A :). Or set the priorities line to
#+PRIORITIES: A C C

-- 
With best regards,
Dmitri Minaev

Russian history blog: http://minaev.blogspot.com


___
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-orgmode


Re: [Orgmode] org priority cycling - removing priorities

2007-09-07 Thread Dmitri Minaev
On 9/6/07, Rick Moynihan [EMAIL PROTECTED] wrote:
 Every now and then I find myself mispressing SHIFT-up/SHIFT-down on an
 outline and assigning a priority to it.  This then often leads me to
 navigating the point to the priority to delete it manually.

 This way I could easily undo the operation with the same keys.  Is there
 any good reason not to have this behaviour?

C-c , Space seems comfortable enough to suffice...

-- 
With best regards,
Dmitri Minaev

Russian history blog: http://minaev.blogspot.com


___
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-orgmode


Re: [Orgmode] Re: Feature request: Selective encryption

2007-09-04 Thread Dmitri Minaev
On 9/5/07, Xavier Maillard [EMAIL PROTECTED] wrote:
I use crypt++.el, and I save the encrypted files with double
extension: filename.org.gpg. Such files are opened in org-mode after
decryption.

 Do you have code to automatically decrypt your org file when
 selecting them -i.e. find-file and friends ?

Er, well, nothing special. Just the very basic

(require 'crypt++)
(setq crypt-encryption-type 'gpg)

When I try to find-file or write-file with the extension .gpg, it asks
me for a password, de-/encrypts it and sets the current major mode
depending on the part of the filename immediately preceding .gpg. So,
when I open my pwd.org.gpg list, it's opened in org-mode.

-- 
With best regards,
Dmitri Minaev

Russian history blog: http://minaev.blogspot.com


___
Emacs-orgmode mailing list
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


[Orgmode] Not not using GTD

2007-08-28 Thread Dmitri Minaev
In the last year, I tried a couple of times to adopt the GTD planning
style. Until now, I was not successful, mainly due to my own inability
to keep the records up to date. Two weeks ago I gave another try and,
as before, I felt the initial relief that comes with getting rid of
the necessity to keep everything in mind. My org-mode setup is very
close to what Carsten described in Another GTD Question thread [1]:
tags for contexts, todo keywords for task state, outlines for pretty
everything else. Scheduling and deadlines make the standard agenda
view an amazing tool. Someday/Maybe lists simply have no todo state. I
have yet to explore the ways of dealing with projects.

There are, however, some things I might want to do, but either don't
know how or still not sure if I should.

* WAITING states in agenda
  I really love the standard agenda view, but the list of currently
  open todo items includes all unfinished entries, including waiting
  tasks. To exclude them, I can define a custom agenda, but I would
  prefer to customize the standard view, though, to replace the huge
  open todo items list with a slightly more compact list of selected
  todo-states. Is there a way to do so?

  How do you prefer to see your waiting items -- in the same list with
  other todos or in a separate list?

* Inherited tags in agenda

  The inherited tags are not shown in the agenda. It would be OK if I
  were careful enough to tag all new entries. Now, as soon as I see an
  untagged item in the agenda, I am tempted to check if it belongs to
  a tagged upper level or I have simply forgotten to tag it. Is it
  possible to show the inherited tags in the agenda?

* Projects

  How do you manage your projects? Are they in separate file(s)? If
  you use a separate file for every project, how do you make sure you
  don't forget any -- put links somewhere or add them to the list of
  agenda files or use the PigPog method [2] or what?

* Review

  What is the best review technique? Using agenda or simply opening
  all files and re-reading them?

[1] http://article.gmane.org/gmane.emacs.orgmode/715
[2] http://pigpog.com/node/1031

-- 
With best regards,
Dmitri Minaev

Russian history blog: http://minaev.blogspot.com


___
Emacs-orgmode mailing list
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


Re: [Orgmode] Re: Interpretation of priorities in org-mode

2007-08-02 Thread Dmitri Minaev
On 8/1/07, Renzo Been [EMAIL PROTECTED] wrote:
 But what is actually the difference between using:
 *priorities

 and:
 *Using tags

 You could make tags like this:
 Urgent
 Tomorow
 Low

Generally speaking, the priorities are a sorting tool. Tags may be
used for that goal, too, and by a sheer coincidence (or not?) the
proposed tags Urgent, Tomorrow and Low are in the right alphabetic
order. If you need more than 3 groups, however, you'll have to take
that into account. Also, it's OK to use tags instead of priorities as
long as you don't want the records to be sorted by yet another
criterion. Otherwise, you need something to complement the tags and
the priorities are perfect here.

Also, in the files where tags are used extensively, the tag you want
the records to be sorted by may happen to be in any position but the
last one, thus breaking the sorting.

That's why I prefer priorities to the corresponding tags, even though
the best use I have for them is setting the rating of the read books
:). They're simply indispensable for that goal.

-- 
With best regards,
Dmitri Minaev

Russian history blog: http://minaev.blogspot.com


___
Emacs-orgmode mailing list
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


Re: [Orgmode] OT: remember'ing from other programs with stumpwm

2007-07-06 Thread Dmitri Minaev

On 7/6/07, Jason F. McBrayer [EMAIL PROTECTED] wrote:

What about x-clipboard-yank?  Also, if x-select-enable-clipboard is
non-nil, shouldn't emacs paste the clipboard when available?


If I knew these words before, I would've used them :). Well, there are
more things in heaven and earth...

--
With best regards,
Dmitri Minaev

Russian history blog: http://minaev.blogspot.com


___
Emacs-orgmode mailing list
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


Re: [Orgmode] Org-mode version 5.01

2007-07-05 Thread Dmitri Minaev

Thanks for the properties, they seem to be a good thing!

However, I found a problem in the new agenda. When I run a custom
agenda command on a file which is not in org-agenda-files, I get the
correct information and the prompt Available with `N r': lists the
TODO states specified for this file in #+SEQ_TODO. However, N r
command in this case uses the global list of TODO states.

For example, in the file where the SEQ_TODO is set to:
#+SEQ_TODO: TOREAD READING DONE

I run a custom agenda and get the header:
Global list of TODO items of type: DONE
Available with `N r': (0)ALL (1)TOREAD (2)READING (3)DONE

When I press, say, 1 r, I get:
Global list of TODO items of type: TODO
Available with `N r': (0)ALL (1)TODO (2)DONE (3)REQUESTED etc.

I am not sure, but could it be something with the new org-re function?..

--
With best regards,
Dmitri Minaev

Russian history blog: http://minaev.blogspot.com


___
Emacs-orgmode mailing list
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


Re: [Orgmode] Org-mode 4.78

2007-06-20 Thread Dmitri Minaev

On 6/19/07, Carsten Dominik [EMAIL PROTECTED] wrote:

   - Indenting lines with TAB is more intelligent.


Yes, it works nice, thanks. But org-indent-line-function now indents
headings just as if they were list elements...

I tried to find the error in the function, but my understanding of
elisp was insufficient. Sorry :(

--
With best regards,
Dmitri Minaev

Russian history blog: http://minaev.blogspot.com


___
Emacs-orgmode mailing list
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


Re: [Orgmode] Org-mode 4.76

2007-06-04 Thread Dmitri Minaev

Hello, Carsten,

In org.el, line 3441, where the PRIORITIES line is parsed, the order
of parameters to org-split-string is wrong.

--
With best regards,
Dmitri Minaev

Russian history blog: http://minaev.blogspot.com


___
Emacs-orgmode mailing list
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


[Orgmode] in-buffer settings for priorities

2007-05-16 Thread Dmitri Minaev
 'org-special-keyword t))
@@ -11983,7 +11997,7 @@

 Priorities

-(defvar org-priority-regexp .*?\\(\\[#\\([A-Z]\\)\\] ?\\)
+(defvar org-priority-regexp .*?\\(\\[#\\([A-Z0-9]\\)\\] ?\\)
  Regular expression matching the priority indicator.)

(defvar org-remove-priority-next-time nil)
@@ -12012,18 +12026,18 @@
(setq current org-default-priority))
  (cond
   ((eq action 'set)
-   (message Priority A-%c, SPC to remove:  org-lowest-priority)
+   (message Priority %c-%c, SPC to remove:  org-highest-priority
org-lowest-priority)
(setq new (read-char-exclusive))
(cond ((equal new ?\ ) (setq remove t))
- ((or ( (upcase new) ?A) ( (upcase new) org-lowest-priority))
+ ((or ( (upcase new) org-highest-priority) ( (upcase new)
org-lowest-priority))
   (error Priority must be between `%c' and `%c'
- ?A org-lowest-priority
+ org-highest-priority org-lowest-priority
   ((eq action 'up)
(setq new (1- current)))
   ((eq action 'down)
(setq new (1+ current)))
   (t (error Invalid action)))
-  (setq new (min (max ?A (upcase new)) org-lowest-priority))
+  (setq new (min (max org-highest-priority (upcase new))
org-lowest-priority))
  (setq news (format %c new))
  (if have
  (if remove
@@ -14219,7 +14233,7 @@
(setq tmp (calendar-date-string tmp)))
  (setq props (plist-put props 'date tmp)))
(when (setq tmp (plist-get props 'txt))
-  (when (string-match \\[#\\([A-Z]\\)\\] ? tmp)
+  (when (string-match \\[#\\([A-Z0-9]\\)\\] ? tmp)
(plist-put props 'priority-letter (match-string 1 tmp))
(setq tmp (replace-match  t t tmp)))
  (when (and (setq re (plist-get props 'org-todo-regexp))
@@ -19499,7 +19513,7 @@
 (substring hd (match-end 1
  (setq pri org-default-priority))
(setq pri (floor (1+ (* 8. (/ (float (- org-lowest-priority pri))
- (- org-lowest-priority ?A))
+ (- org-lowest-priority 
org-highest-priority))

(princ (format BEGIN:VTODO
%s
@@ -20509,7 +20523,7 @@
(push (org-point-in-group p 4 :tags) clist))
  (goto-char p)
  (skip-chars-backward ^[\n\r \t) (or (eobp) (backward-char 1))
-  (if (looking-at \\[#[A-Z]\\])
+  (if (looking-at \\[#[A-Z0-9]\\])
  (push (org-point-in-group p 0 :priority) clist)))

 ((org-at-item-p)



--
With best regards,
Dmitri Minaev

Russian history blog: http://minaev.blogspot.com


___
Emacs-orgmode mailing list
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


Re: [Orgmode] Log Notes with Non-sequential states

2007-01-16 Thread Dmitri Minaev

On 1/16/07, Carsten Dominik [EMAIL PROTECTED] wrote:

There is no natural way to switch back between two states


S-left and S-right work well for me...

--
With best regards,
Dmitri Minaev


___
Emacs-orgmode mailing list
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


Re: [Orgmode] logging transitional states

2006-12-19 Thread Dmitri Minaev

On 12/18/06, Carsten Dominik [EMAIL PROTECTED] wrote:

Currently there is not, but this looks like a useful extension.


Actually, there are at least two other ways to reach the goal and I
use them both:
a) simple timestamps (like: 2006-12-18 Mon invoice rcvd) and
b) subtasks for every step of the process. This solution works better
with 'project templates', when a whole subtree is pasted automatically
and a simple macro does it easily. The subtasks may clutter the
agenda, though.

So, the extension is not really as useful and it's worth implementing
only if you won't have to trade the largest advantage of your
magnificent Org-mode -- simplicity :).

I sometimes wished there were more than one finalizing keywords, too,
but Eddward's idea seems to be doing everything I wanted. Thanks!

--
With best regards,
Dmitri Minaev


___
Emacs-orgmode mailing list
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode