Re: [Orgmode] Newbie elisp programmer requests a pointer to backtics...

2010-04-14 Thread Thomas Jost
On Tue, 13 Apr 2010 17:19:46 -0700, Russell L. Carter rcar...@pinyon.org 
wrote:
 Where do I find good-enough documentation for the backtics
 prefixing the parenthesis and the commas prefixing the associative
 list values in the following code (lines of interest prefixed by
 here-, uninteresting lines elided):

Hello,

I had the same question a few months ago. I googled something like lisp
backquote comma and found these links:
- http://www.psg.com/~dlamkins/sl/chapter20.html
- http://cl-cookbook.sourceforge.net/macros.html

Hope this helps :)

Regards,

-- 
Thomas/Schnouki


pgpCv6oPPyM4A.pgp
Description: PGP signature
___
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] Customizing checkbox statistics faces

2010-02-23 Thread Thomas Jost
Hello world,

In my TODO-list, I like to have custom colors for TODO keywords, such as
described in http://orgmode.org/worg/org-hacks.php#sec-19.
However I find it annoying to have different colors for the checkbox
statistics: instead of org-checkbox-statistics-done and
org-checkbox-statistics-todo, I'd like to have the same colors as for
the TODO keywords.

In order to do that, I tried to use org-font-lock-hook, I tried to
redefine the org-get-checkbox-statistics-face function, ... but it did
not work, because the regexp used to detect checkbox statistics does not
capture the TODO keyword.

So I wrote a little patch that changes this behavior. It matches the
TODO-keywords too, so that I can redefine
org-get-checkbox-statistics-face in my .emacs to do what I want.

The patch is available in my git repo:
http://code.schnouki.net/p/org-mode/source/commit/937dffeeb112e6ee6d02c0fe31767cee3b57275c/

Could you please merge it in the official git tree?

My .emacs is available on GitHub. The necessary code for customizingthe
checkbox statistics faces is here:
http://github.com/Schnouki/emacs-config/commit/d7ce3da1dbd40b3c4e425d069c3cf17b940644f8

Regards,

-- 
Thomas/Schnouki



signature.asc
Description: OpenPGP digital signature
___
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] [PATCH] org-mobile: allow tags-todo in agenda custom commands

2009-12-03 Thread Thomas Jost
Hello world,

This is my first message here and my first contribution to anything
related to emacs. Let's just say that I've switched from the dark side
of text editors only a few weeks ago, but I'm really enjoying it, and
org-mode definitely kicks ass.

Here is a very simple patch against a small bug in org-mobile. It adds
support for agenda custom views that use tags-todo.

Tested with org-mode 6.33f and latest version from the git repository.

Cheers,
Thomas

---
 lisp/org-mobile.el |2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)


diff --git a/lisp/org-mobile.el b/lisp/org-mobile.el
index cfcee14..5ef0be1 100644
--- a/lisp/org-mobile.el
+++ b/lisp/org-mobile.el
@@ -468,7 +468,7 @@ The table of checksums is written to the file mobile-checksums.
((memq (nth 2 e) '(todo-tree tags-tree occur-tree))
 	;; These are trees, not really agenda commands
 	)
-   ((memq (nth 2 e) '(agenda alltodo todo tags))
+   ((memq (nth 2 e) '(agenda alltodo todo tags tags-todo))
 	;; a normal command
 	(setq key (car e) desc (nth 1 e) type (nth 2 e) match (nth 3 e)
 	  settings (nth 4 e))



signature.asc
Description: OpenPGP digital signature
___
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