Re: [Orgmode] Re: contact management in org-mode?

2009-10-29 Thread Eric S Fraga
At Sat, 24 Oct 2009 21:34:10 -0500, Russell Adams wrote:

[...]

> I reverse my recommendation regarding BBDB. 
> 
> /rant on
> 

[...]

> /rant off

I'm in complete agreement with you on this rant.  I do find it
incredible that there are no good contact managers out there, at least
not those that are not tied to some specific tool.

When my Psion 3 (various incarnations of this lovely little computer)
died a few years ago now, I have tried out a large number of contact
managers trying to find one that could replace the Psion.  I have had
no luck, having gone through bbdb and abook, amongst others.  This was
all before my second (more successful) encounter with org-mode.

> I'll post if I find a better alternative. I welcome recommendations
> while I try to centralize my contacts to CSV while I decide what to
> put them in.

I've gone to using org-mode for this: an entry (top level heading) for
each person and details fully written out in free form but also some
details in properties that I can then view in column mode (phone
number etc.).  But please do pass on any suggestions for alternatives!


___
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] How to write verbatim [0] ?

2009-10-29 Thread Andreas Röhler
Change the footnote-style, so it not conflicts.

Current org-modes has labels, inserts [fn:1] for example instead of [1]
Customize labels via org-footnote-auto-label

HTH


Andreas

--
https://code.launchpad.net/s-x-emacs-werkstatt/
http://bazaar.launchpad.net/~a-roehler/python-mode/python-mode.el/




Xin Shi wrote:
> It works. Though it seems a pity to turn off the footnote mode in the
> whole file.  I used the [ 0 ] for a temporary  fix just now.
> 
> Thanks!
> Xin
> 
> 
> On Wed, Oct 28, 2009 at 4:32 PM, Nick Dokos  > wrote:
> 
> Xin Shi mailto:shixin...@gmail.com>> wrote:
> 
> > Hello Experts,
> >
> > Are there any way to write just a plain [0], instead of
> interpreting it as a footnote when
> > publishing in to HTML?
> >
> > I've tried the ~[0]~, and ~[~0~]~, but not luck.
> >
> 
> I don't know how to do it on an instance-by-instance basis, but
> on a per-file basis, there is
> 
> #+OPTIONS: f:nil
> 
> to turn off footnotes.
> 
> HTH,
> Nick
> 
> 
> 
> 
> 
> ___
> 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



___
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] Re: text-mode-abbrev-table default?

2009-10-29 Thread Leo
On 2009-10-28 15:30 +, Carsten Dominik wrote:
>> On 2009-10-28 09:19 +, Carsten Dominik wrote:
>>> Because if I do tis by default, someone if going to want to have a
>>> separate table :-)
>>> You solution is good - a nice snippet for a FAQ, maybe?
>> It seems natural to `define-abbrev-table' org-mode-abbrev-table with
>> text-mode-abbrev-table being its parent ;)
>
> Hmm, after reconsidering, I think you are right.
>
> How exactly would that look like? Should that be a top-level form in
> org.el? And should I then define org-mode with :abbrev-table
> org-mode-abbrev- table ?
>
> Just make me a patch, and I will apply it.

I make the following patch using the org.el in Emacs (cvs 20090922).

diff -u -L /Applications/Emacs.app/Contents/Resources/lisp/org/org.el.gz -L 
/var/folders/b2/b2DGafs+EpaLFYrOC7ZWRTQ/-Tmp-/buffer-content-58096yEn 
/var/folders/b2/b2DGafs\+EpaLFYrOC7ZWR\+\+\+\+TQ/-Tmp-/jka-com58096_Ot 
/var/folders/b2/b2DGafs\+EpaLFYrOC7ZWR\+\+\+\+TQ/-Tmp-/buffer-content-58096yEn
--- /Applications/Emacs.app/Contents/Resources/lisp/org/org.el.gz
+++ /var/folders/b2/b2DGafs+EpaLFYrOC7ZWRTQ/-Tmp-/buffer-content-58096yEn
@@ -4054,6 +4054,8 @@
   (org-indent-mode 1))
 (org-set-startup-visibility)))
 
+(abbrev-table-put org-mode-abbrev-table
+  :parents (list text-mode-abbrev-table))
 (put 'org-mode 'flyspell-mode-predicate 'org-mode-flyspell-verify)
 
 (defun org-current-time ()

Diff finished.  Thu Oct 29 08:20:52 2009

> Thanks.
>
> - Carsten

Best wishes,

Leo

-- 
Emacs uptime: 36 days, 23 hours, 32 minutes, 4 seconds


___
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] Differences html/pdf

2009-10-29 Thread Carsten Dominik


On Oct 28, 2009, at 11:23 PM, Nick Dokos wrote:


Bastien  wrote:


Carsten Dominik  writes:


In the latex version they're not exported for some reasons...


That is correct, we have not implemented keeping all line breaks in
LaTeX.


I've searched around a bit, and to my big surprise, I cannot find a
LaTeX package preserving line breaks.  I understand such a function
doesn't come along nicely with the general LaTeX philosophy, but it
should be possible after all...

Did anyone already tried to find such a package ?



Not a package, but there is \obeylines (plain TeX) that will
preserve line breaks - e.g. Knuth[1] suggests that it be used for
typesetting poetry:

{\obeylines\smallskip
Roses are red,
\quad Violets are blue;
Rhymes can be typeset
\quad with boxes and glue.
\smallskip}

It apparently works by pretending that the newline is a \par token.


OK, this is pretty good, and I have added it to be inserted
as a consequence of setting org-export-preserve-breaks.  But I
believe in complex documents there might be problems, so I would
be interested in test results.  Only then we will decide if this
should stay in.

- Carsten





___
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] How to write verbatim [0] ?

2009-10-29 Thread Carsten Dominik


On Oct 28, 2009, at 8:55 PM, Xin Shi wrote:


Hello Experts,

Are there any way to write just a plain [0], instead of interpreting  
it as a footnote when publishing in to HTML?


I've tried the ~[0]~, and ~[~0~]~, but not luck.


I have finally fixed this, you can now write =[0]= or ~[0]~

- Carsten



___
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] [PATCH] Add min/max/mean age operators to column view.

2009-10-29 Thread Mikael Fornius

I will give this patch a try!

-- 
Mikael Fornius


___
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] How to do this by MACRO? (feature request)

2009-10-29 Thread zwz
I want to insert a series of images in the org file.
The images are located in a directory, with names in such a pattern
"cat-N0.png", where N is a number.

The direct and compact macro is something like this:
#+MACRO: cat-imgs /path/to/cat-${1}0.png

Here the {} is used to separate the placeholder from the zeros, which in
fact is not supported in current version.

I know that I can use 
#+MACRO: cat-imgs2 /path/to/cat-$1.png

but it is a little tedious when I use it.
I also tried to define a null macro first, which was then used as a
separator separating the placeholder from the zeros. But it fails.
#+MACRO null
#+MACRO: cat-imgs /path/to/cat-$1{{{null}}}0.png

I wonder if there is a feasible way.



___
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] footnote renumber bug?

2009-10-29 Thread Andreas Roehler

Hi,

when inserting a footnote between [fn:1] and [fn:2]
it's not renumbered at place. Got [fn:1],  [fn:3] and [fn:2].

Think mentioned that already and answer was it should
be a feature. Isn't it a bug indeed?

Thanks


Andreas



Below the test-case:


* Erinnerung

* Eins
  asdasdf asdfsdfa  [fn:1]

** Zwei
   asdfsdf [fn:3]

*** TODO Im Auge behalten:neutag:
[fn:2]


* Footnotes

[fn:1] asdfasdf

[fn:2] asdf 

[fn:3]




___
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] footnote renumber bug?

2009-10-29 Thread Giovanni Ridolfi
-- Gio 29/10/09, Andreas Roehler  ha scritto:
> when inserting a footnote between [fn:1] and [fn:2]
> it's not renumbered at place. Got [fn:1],  [fn:3] and
> [fn:2].
> 
> Think mentioned that already and answer was it should
> be a feature. Isn't it a bug indeed?

It's a *feature*!.
did you activate the corresponding variable?

Manual:
"Automatic sorting after each insertion/deletion 
can be configured using the 
variable `org-footnote-auto-adjust'."

hth
Giovanni 





___
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] Re: text-mode-abbrev-table default?

2009-10-29 Thread Carsten Dominik

Applied, thanks.

- Carsten
On Oct 29, 2009, at 9:24 AM, Leo wrote:


On 2009-10-28 15:30 +, Carsten Dominik wrote:

On 2009-10-28 09:19 +, Carsten Dominik wrote:

Because if I do tis by default, someone if going to want to have a
separate table :-)
You solution is good - a nice snippet for a FAQ, maybe?

It seems natural to `define-abbrev-table' org-mode-abbrev-table with
text-mode-abbrev-table being its parent ;)


Hmm, after reconsidering, I think you are right.

How exactly would that look like? Should that be a top-level form in
org.el? And should I then define org-mode with :abbrev-table
org-mode-abbrev- table ?

Just make me a patch, and I will apply it.


I make the following patch using the org.el in Emacs (cvs 20090922).

diff -u -L /Applications/Emacs.app/Contents/Resources/lisp/org/ 
org.el.gz -L /var/folders/b2/b2DGafs+EpaLFYrOC7ZWRTQ/-Tmp-/ 
buffer-content-58096yEn /var/folders/b2/b2DGafs\+EpaLFYrOC7ZWR\+\+\+\ 
+TQ/-Tmp-/jka-com58096_Ot /var/folders/b2/b2DGafs\+EpaLFYrOC7ZWR\+\+\ 
+\+TQ/-Tmp-/buffer-content-58096yEn

--- /Applications/Emacs.app/Contents/Resources/lisp/org/org.el.gz
+++ /var/folders/b2/b2DGafs+EpaLFYrOC7ZWRTQ/-Tmp-/buffer- 
content-58096yEn

@@ -4054,6 +4054,8 @@
  (org-indent-mode 1))
(org-set-startup-visibility)))

+(abbrev-table-put org-mode-abbrev-table
+  :parents (list text-mode-abbrev-table))
(put 'org-mode 'flyspell-mode-predicate 'org-mode-flyspell-verify)

(defun org-current-time ()

Diff finished.  Thu Oct 29 08:20:52 2009


Thanks.

- Carsten


Best wishes,

Leo

--
Emacs uptime: 36 days, 23 hours, 32 minutes, 4 seconds


- Carsten





___
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 6.32; org-replace-disputed-keys t - breaks time shifts with S-up/down/left/right

2009-10-29 Thread Carsten Dominik


On Oct 28, 2009, at 11:15 PM, Kai Tetzlaff wrote:


At Wed, 28 Oct 2009 17:55:44 +0100,
Hi Carsten,


Some days ago i noticed that time shifting in CLOCK lines stopped
working.
I've now toggled some org config variables and found that this
happens when
org-replace-disputed-keys is set to t. This was not the case with
earlier
org-mode versions.


What exactly did work, and what does now no longer work?

- Carsten


Since about a week/10d ago i could use S-up/down/left/right to  
manipulate

dates and timestamps in CLOCK: lines independent of the value of
org-replace-disputed-keys. Now with org-replace-disputed-keys set to  
t, the

shifted arrow key just start/extend the region (with
pc-selection-mode/shift-select-mode turned on). It's not a big deal  
to me. I

just noticed a change in how things work.


Hi Kai,

I don't think I have changed anything in this area recently.  Maybe  
something has changed in pc-selection-mode or so?  Or have you changed  
org-support-shift-select recently?  Or upgraded to Emacs 23?


- Carsten



/Kai






Emacs  : GNU Emacs 23.1.50.1 (i386-mingw-nt5.1.2600)
of 2009-10-14 on LENNART-69DE564 (patched)
Package: Org-mode version 6.32

current state:
==
(setq
org-empty-line-terminates-plain-lists t
org-log-done 'time
org-file-apps '((auto-mode . emacs) ("\\.x?html?\\'" . default) ("\
\.pdf\\'" . default)
   (directory dired-other-frame file))
org-link-frame-setup '((vm . vm-visit-folder-other-frame) (gnus .
gnus-other-frame)
  (file . find-file-other-frame))
org-special-ctrl-a/e 'reversed
org-agenda-clockreport-parameter-plist '(:link nil :maxlevel 4)
org-agenda-files '("~/.emacs.d/org/agenda")
org-clock-persist-query-resume nil
org-blocker-hook '(org-block-todo-from-children-or-siblings-or- 
parent)

org-publish-timestamp-directory "~/.emacs.d/tmp/org-timestamps/"
org-export-with-sub-superscripts '{}
org-hide-leading-stars t
org-after-todo-state-change-hook '(org-clock-out-if-current)
org-clock-out-when-done nil
org-clock-history-length 25
org-odd-levels-only t
outline-minor-mode-prefix ""
org-special-ctrl-k t
org-publish-use-timestamps-flag nil
org-support-shift-select t
org-clock-in-resume t
org-export-preprocess-hook '(org-export-blocks-preprocess)
org-tags-exclude-from-inheritance '("cmm" "cmn" "cmr")
org-tab-first-hook '(org-hide-block-toggle-maybe)
outline-regexp "\\*+ "
org-src-mode-hook '(org-src-mode-configure-edit-buffer)
org-confirm-shell-link-function 'yes-or-no-p
org-clock-persist t
org-agenda-before-write-hook '(org-agenda-add-entry-text)
org-M-RET-may-split-line '((default . t) (headline))
org-default-notes-file "~/.emacs.d/org/notes.org"
org-cycle-hook '(org-cycle-hide-archived-subtrees org-cycle-hide-
drawers org-cycle-show-empty-lines
org-optimize-window-after-visibility-change)
org-publish-project-alist '(("NasTCs-org" :base-directory
"~/.emacs.d/org/agenda/STF160" :base-extension
"org" :exclude "\\(org\\|html\\|css\
\)" :include
("index.org"
"NasTestcases.org") :publishing-directory "~/NasTcOverview"
:publishing-function (kt:publish-html
org-publish-org-to-org) :plain-source t
:htmlized-source t :link-validation-
function kt:copy-and-validate-link :title
"NAS Testcase Overview" :style
""
:table-of-contents t :section-numbers
nil :headline-levels 3 :sub-superscript
nil :todo-keywords t :drawers t :tags
not-in-toc :timestamps t :auto-index nil
:exclude-tags ("mdesc" "limpl"))
   ("NasTCs-other" :base-directory
"~/.emacs.d/org/agenda/STF160" :recursive t
:no-timestamps t :base-extension "css\\|
js" :include (".htaccess")
:publishing-directory "~/
NasTcOverview" :publishing-function
org-publish-attachment)
   ("NasTCs" :components ("NasTCs-other"
"NasTCs-org"))
   ("CMerge" :base-directory "~/.emacs.d/
org/agenda/STF160" :exclude ".*" :include
("NasTestcases.org") :publishing-
directory "~/NasTcMerge" :publishing-function
(kt:publish-html org-publish-org-to-
org) :link-validation-function
kt:copy-and-validate-link :title "Merge/
Align EPS-only/Combined NAS TCs"
:table-of-contents nil :section-numbers
nil :headline-levels 3
:sub-superscript nil :todo-keywords
t :drawers ("PROPERTIES") :tags nil
:timestamps nil :auto-index nil :select-
tags ("cmm" "cmn" "cmr") :exclude-tags
("limpl" "tci"))
   )
org-mode-hook '(org-clock-load
   #[nil "\300\301\302\303\304$\207"
  

Re: [Orgmode] [PATCH] Add min/max/mean age operators to column view.

2009-10-29 Thread Mikael Fornius

Maybe someone other than me should test this because I am not sure if I
understand it correctly? 

The only reference to "age" or "creation time" I can find is in the
documentation string of org-sort-entries-or-items.

"... creation time, which is assumed to be the first inactive time stamp
at the beginning of a line."


I pulled from your git://yog-sothoth.mohorovi.cc/org-mode.git
misc-new-features branch and have tried a basic setup with timestamps as
described with no success. I must have missed something.


When I use org-columns-new (M-S-right/left) to add a column there is no
choice named age or creation time, should I use TIMESTAMP_IA?

When I do I have three (new?) options "age, age, age" as summary options
and I think it should be "min_age, mean_age, max_age" instead?

When I manually tried to summarize a %timestamp_...@mean} I got just
numbers when I expected a date.

I also have another problem with org-columns-new that when selecting a
summary type the #+COLUMNS row is not updated, format specification
works. I do not know if this is introduced by this patch or some other
but it used to work...

-- 
Mikael Fornius


___
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] Org-mode version 6.32trans (release_6.32b.dirty); org-list-send-list matching problem

2009-10-29 Thread Daniel Hackney
When attempting to use radio lists for exporting in LaTeX, I found that they
didn't work. I am using the example file shown below:

---BEGIN_EXAMPLE---

#+LaTeX: % BEGIN RECEIVE ORGLST programs
#+LaTeX: % END RECEIVE ORGLST programs

#+ORGLST: SEND programs org-list-to-latex
   - Emacs text editor
   - Ubuntu Linux
   - Git version control system
   - Firefox web browser
   - Drupal content management system
   - Subversion version control system
   - Eclipse integrated development environment

---END_EXAMPLE---

I eventually ran `org-list-send-list' manually on the list, and got the
following error:

  funcall: Wrong type argument: number-or-marker-p, (unordered
#("Emacs text editor" [snip...]

I started debugging `org-list-send-list' and found that the error occurred when
calling (funcall transform list). Looking back, I saw that `transform' was
assigned (in the let*) after `item-beginning'. Stepping through the execution, I
saw that `transform' was being assigned a value of `-'. It turns out when
assigning to `item-beginning', (org-list-item-beginning) is called, which runs a
regular expression with a capture group, overwriting the previously matched
capture group.

Luckily, the fix is simple; all that needs be done is to switch the assignment
to `transform' with `item-beginning' so the regex in (org-list-item-beginning)
doesn't override the match-string data. I tried this fix out and it worked
perfectly.

Thanks for a program which never ceases to amaze me!

Emacs  : GNU Emacs 23.1.1 (i486-pc-linux-gnu, GTK+ Version 2.18.2)
 of 2009-10-14 on palmer, modified by Debian
Package: Org-mode version 6.32trans (release_6.32b.dirty)

current state:
==
(setq
 org-log-done 'time
 org-agenda-custom-commands '(("p" tags "PROJECT-MAYBE-DONE" nil) ("m"
tags "PROJECT&MAYBE" nil))
 org-agenda-files '("~/org/root.org")
 org-export-latex-list-parameters '(:cbon "\\texttt{[ ]}" :cboff
"\\texttt{[ ]}")
 org-after-todo-state-change-hook '(org-clock-out-if-current
wicked/org-clock-out-if-waiting wicked/org-clock-in-if-starting)
 org-archive-location "%s_archive::* Archived Tasks"
 org-id-locations-file "~/.emacs.d/tmp/.org-id-locations"
 org-export-preprocess-hook '(org-export-blocks-preprocess)
 org-tab-first-hook '(org-hide-block-toggle-maybe)
 org-src-mode-hook '(org-src-mode-configure-edit-buffer)
 org-confirm-shell-link-function 'yes-or-no-p
 org-todo-keywords '((sequence "TODO" "STARTED" "WAITING" "DONE"))
 org-agenda-before-write-hook '(org-agenda-add-entry-text)
 org-default-notes-file "~/org/root.org"
 org-registry-file "~/.emacs.d/tmp/org-registry.el"
 org-cycle-hook '(org-cycle-hide-archived-subtrees
org-cycle-hide-drawers org-cycle-show-empty-lines
org-optimize-window-after-visibility-change)
 org-export-latex-classes '(("vita"

"\\documentclass[ComputerScience]{vita}\n\\usepackage{hyperref}\n\\usepackage{multicol}\n\\usepackage{comment}\n\\addtolength{\\textwidth}{2in}\n\\addtolength{\\oddsidemargin}{-1in}\n\\addtolength{\\evensidemargin}{-1in}\n\\setlength{\\topsep}{-1in}\n\\setlength{\\parskip}{0in}\n\\topmargin=0in\n\\textheight=10.1in"
 ("\\section{%s\\hrulefill}" .
"\\section*{%s \\hrulefill}") ("\\subsection{%s}" .
"\\subsection*{%s}")
 ("\\subsubsection{%s}" .
"\\subsubsection*{%s}") ("\\paragraph{%s}" . "\\paragraph*{%s}")
("\\subparagraph{%s}" . "\\subparagraph*{%s}"))
("article"

"\\documentclass[11pt]{article}\n\\usepackage[utf8]{inputenc}\n\\usepackage[T1]{fontenc}\n\\usepackage{graphicx}\n\\usepackage{longtable}\n\\usepackage{hyperref}"
 ("\\section{%s}" . "\\section*{%s}")
("\\subsection{%s}" . "\\subsection*{%s}") ("\\subsubsection{%s}" .
"\\subsubsection*{%s}")
 ("\\paragraph{%s}" . "\\paragraph*{%s}")
("\\subparagraph{%s}" . "\\subparagraph*{%s}"))
("report"

"\\documentclass[11pt]{report}\n\\usepackage[utf8]{inputenc}\n\\usepackage[T1]{fontenc}\n\\usepackage{graphicx}\n\\usepackage{longtable}\n\\usepackage{hyperref}"
 ("\\part{%s}" . "\\part*{%s}")
("\\chapter{%s}" . "\\chapter*{%s}") ("\\section{%s}" .
"\\section*{%s}")
 ("\\subsection{%s}" .
"\\subsection*{%s}") ("\\subsubsection{%s}" . "\\subsubsection*{%s}"))
("book"

"\\documentclass[11pt]{book}\n\\usepackage[utf8]{inputenc}\n\\usepackage[T1]{fontenc}\n\\usepackage{graphicx}\n\\usepackage{longtable}\n\\usepackage{hyperref}"
 ("\\part{%s}" . "\\part*{%s}")
("\\chapter{%s}" . "\\chapter*{%s}") ("\\section{%s}" .
"\\section*{%s}")
 ("\\subsection{%s}" .
"\\subsection*{%s}") ("\\subsubsection{%s}" . "\\subsubsection*{%s}"))
)
 org-mode-hook '((lambda nil (setq org-mouse-context-menu-function
(quote org-mouse-context-menu))
  (when (memq (quote context-menu) org-mouse-features)
(define-

[Orgmode] Org-mode version 6.32trans (release_6.32b.20.g8a25); Make fails this morning

2009-10-29 Thread Bernt Hansen

Remember to cover the basics, that is, what you expected to happen and
what in fact did happen.  You don't know how to make a good report?  See

 http://orgmode.org/manual/Feedback.html#Feedback

Your bug report will be posted to the Org-mode mailing list.


Make fails to build this morning.

On commit release_6.32b-20-g8a2566c

$ make clean
$ make

fails with the following output

--8<---cut here---start->8---
emacs -batch -q -no-site-file -eval "(progn (add-to-list (quote load-path) 
\"/usr/local/share/emacs/site-lisp\") (add-to-list (quote load-path) 
(expand-file-name \"./lisp/\")))" -f batch-byte-compile lisp/org.el
emacs -batch -q -no-site-file -eval "(progn (add-to-list (quote load-path) 
\"/usr/local/share/emacs/site-lisp\") (add-to-list (quote load-path) 
(expand-file-name \"./lisp/\")))" -f batch-byte-compile lisp/org-agenda.el
emacs -batch -q -no-site-file -eval "(progn (add-to-list (quote load-path) 
\"/usr/local/share/emacs/site-lisp\") (add-to-list (quote load-path) 
(expand-file-name \"./lisp/\")))" -f batch-byte-compile lisp/org-ascii.el
emacs -batch -q -no-site-file -eval "(progn (add-to-list (quote load-path) 
\"/usr/local/share/emacs/site-lisp\") (add-to-list (quote load-path) 
(expand-file-name \"./lisp/\")))" -f batch-byte-compile lisp/org-attach.el
emacs -batch -q -no-site-file -eval "(progn (add-to-list (quote load-path) 
\"/usr/local/share/emacs/site-lisp\") (add-to-list (quote load-path) 
(expand-file-name \"./lisp/\")))" -f batch-byte-compile lisp/org-archive.el

In toplevel form:
lisp/org-archive.el:33:1:Error: Symbol's function definition is void: 
abbrev-table-put
make: *** [lisp/org-archive.elc] Error 1
make: *** Waiting for unfinished jobs

In toplevel form:
lisp/org-agenda.el:33:1:Error: Symbol's function definition is void: 
abbrev-table-put
make: *** [lisp/org-agenda.elc] Error 1

In toplevel form:
lisp/org-attach.el:43:1:Error: Symbol's function definition is void: 
abbrev-table-put
make: *** [lisp/org-attach.elc] Error 1

In toplevel form:
lisp/org-ascii.el:29:1:Error: Symbol's function definition is void: 
abbrev-table-put
make: *** [lisp/org-ascii.elc] Error 1

In end of data:
org.el:17520:1:Warning: the following functions might not be defined at
runtime: calendar-forward-day, parse-time-string, calendar-goto-date,
calendar-goto-today
org.el:17520:1:Warning: the following functions are not known to be defined:
table--at-cell-p, org-clock-update-mode-line, abbrev-table-put,
org-default-export-plist, org-infile-export-plist,
org-clock-save-markers-for-cut-and-paste,
org-agenda-save-markers-for-cut-and-paste, dired-get-filename,
org-id-store-link, iswitchb-read-buffer, org-agenda-copy-local-variable,
org-gnus-follow-link, org-inlinetask-remove-END-maybe,
org-get-current-options, org-agenda-skip, org-format-agenda-item,
org-agenda-new-marker, org-agenda-change-all-lines,
org-columns-number-to-string, org-columns-get-format-and-top-level,
org-columns-compute, calendar-absolute-from-iso,
calendar-iso-from-absolute, org-id-locations-save, org-id-locations-load,
cdlatex-tab, beginning-of-visual-line, org-agenda-set-restriction-lock,
speedbar-line-directory, org-agenda-maybe-redo
Wrote /home/bernt/git/org-mode/lisp/org.elc
--8<---cut here---end--->8---

,[ bisect.sh ]
| #!/bin/sh
| make clean
| make
`

be...@gollum:~/git/org-mode$ git bisect start master 037b
be...@gollum:~/git/org-mode$ git bisect run /tmp/bisect.sh

Identifies the following commit

8a2566cad86780140c92ea4fe1b6b2b98eaaef9d is the first bad commit
commit 8a2566cad86780140c92ea4fe1b6b2b98eaaef9d
Author: Carsten Dominik 
Date:   Thu Oct 29 12:48:27 2009 +0100

Use text-mode-abbrev-table as parent for the table in Org-mode

Patch from Leo

:04 04 796c6d311fc1cacfaa86dc0252bc4df49f89592a 
e85825d84de42e881230d52f7295a26510a66e88 M  lisp
bisect run success
be...@gollum:~/git/org-mode$ 


Emacs  : GNU Emacs 22.2.1 (i486-pc-linux-gnu, GTK+ Version 2.12.11)
 of 2008-11-09 on raven, modified by Debian
Package: Org-mode version 6.32trans (release_6.32b.20.g8a25)

-Bernt


___
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 6.32trans (release_6.32b.dirty); org-list-send-list matching problem

2009-10-29 Thread Carsten Dominik

Hi Daniel,

thanks for the report and fix, I have made the proposed change.

- Carsten

On Oct 29, 2009, at 1:04 PM, Daniel Hackney wrote:

When attempting to use radio lists for exporting in LaTeX, I found  
that they

didn't work. I am using the example file shown below:

---BEGIN_EXAMPLE---

#+LaTeX: % BEGIN RECEIVE ORGLST programs
#+LaTeX: % END RECEIVE ORGLST programs

#+ORGLST: SEND programs org-list-to-latex
  - Emacs text editor
  - Ubuntu Linux
  - Git version control system
  - Firefox web browser
  - Drupal content management system
  - Subversion version control system
  - Eclipse integrated development environment

---END_EXAMPLE---

I eventually ran `org-list-send-list' manually on the list, and got  
the

following error:

 funcall: Wrong type argument: number-or-marker-p, (unordered
#("Emacs text editor" [snip...]

I started debugging `org-list-send-list' and found that the error  
occurred when
calling (funcall transform list). Looking back, I saw that  
`transform' was
assigned (in the let*) after `item-beginning'. Stepping through the  
execution, I
saw that `transform' was being assigned a value of `-'. It turns out  
when
assigning to `item-beginning', (org-list-item-beginning) is called,  
which runs a
regular expression with a capture group, overwriting the previously  
matched

capture group.

Luckily, the fix is simple; all that needs be done is to switch the  
assignment
to `transform' with `item-beginning' so the regex in (org-list-item- 
beginning)
doesn't override the match-string data. I tried this fix out and it  
worked

perfectly.

Thanks for a program which never ceases to amaze me!

Emacs  : GNU Emacs 23.1.1 (i486-pc-linux-gnu, GTK+ Version 2.18.2)
of 2009-10-14 on palmer, modified by Debian
Package: Org-mode version 6.32trans (release_6.32b.dirty)

current state:
==
(setq
org-log-done 'time
org-agenda-custom-commands '(("p" tags "PROJECT-MAYBE-DONE" nil) ("m"
tags "PROJECT&MAYBE" nil))
org-agenda-files '("~/org/root.org")
org-export-latex-list-parameters '(:cbon "\\texttt{[ ]}" :cboff
"\\texttt{[ ]}")
org-after-todo-state-change-hook '(org-clock-out-if-current
wicked/org-clock-out-if-waiting wicked/org-clock-in-if-starting)
org-archive-location "%s_archive::* Archived Tasks"
org-id-locations-file "~/.emacs.d/tmp/.org-id-locations"
org-export-preprocess-hook '(org-export-blocks-preprocess)
org-tab-first-hook '(org-hide-block-toggle-maybe)
org-src-mode-hook '(org-src-mode-configure-edit-buffer)
org-confirm-shell-link-function 'yes-or-no-p
org-todo-keywords '((sequence "TODO" "STARTED" "WAITING" "DONE"))
org-agenda-before-write-hook '(org-agenda-add-entry-text)
org-default-notes-file "~/org/root.org"
org-registry-file "~/.emacs.d/tmp/org-registry.el"
org-cycle-hook '(org-cycle-hide-archived-subtrees
org-cycle-hide-drawers org-cycle-show-empty-lines
org-optimize-window-after-visibility-change)
org-export-latex-classes '(("vita"

"\\documentclass[ComputerScience]{vita}\n\\usepackage{hyperref}\n\ 
\usepackage{multicol}\n\\usepackage{comment}\n\\addtolength{\ 
\textwidth}{2in}\n\\addtolength{\\oddsidemargin}{-1in}\n\ 
\addtolength{\\evensidemargin}{-1in}\n\\setlength{\\topsep}{-1in}\n\ 
\setlength{\\parskip}{0in}\n\\topmargin=0in\n\\textheight=10.1in"

("\\section{%s\\hrulefill}" .
"\\section*{%s \\hrulefill}") ("\\subsection{%s}" .
"\\subsection*{%s}")
("\\subsubsection{%s}" .
"\\subsubsection*{%s}") ("\\paragraph{%s}" . "\\paragraph*{%s}")
("\\subparagraph{%s}" . "\\subparagraph*{%s}"))
   ("article"

"\\documentclass[11pt]{article}\n\\usepackage[utf8]{inputenc}\n\ 
\usepackage[T1]{fontenc}\n\\usepackage{graphicx}\n\ 
\usepackage{longtable}\n\\usepackage{hyperref}"

("\\section{%s}" . "\\section*{%s}")
("\\subsection{%s}" . "\\subsection*{%s}") ("\\subsubsection{%s}" .
"\\subsubsection*{%s}")
("\\paragraph{%s}" . "\\paragraph*{%s}")
("\\subparagraph{%s}" . "\\subparagraph*{%s}"))
   ("report"

"\\documentclass[11pt]{report}\n\\usepackage[utf8]{inputenc}\n\ 
\usepackage[T1]{fontenc}\n\\usepackage{graphicx}\n\ 
\usepackage{longtable}\n\\usepackage{hyperref}"

("\\part{%s}" . "\\part*{%s}")
("\\chapter{%s}" . "\\chapter*{%s}") ("\\section{%s}" .
"\\section*{%s}")
("\\subsection{%s}" .
"\\subsection*{%s}") ("\\subsubsection{%s}" . "\\subsubsection*{%s}"))
   ("book"

"\\documentclass[11pt]{book}\n\\usepackage[utf8]{inputenc}\n\ 
\usepackage[T1]{fontenc}\n\\usepackage{graphicx}\n\ 
\usepackage{longtable}\n\\usepackage{hyperref}"

("\\part{%s}" . "\\part*{%s}")
("\\chapter{%s}" . "\\chapter*{%s}") ("\\section{%s}" .
"\\section*{%s}")
("\\subsection{%s}" .
"\\subsection*{%s}") ("\\subsubsection{%s}" . "\\subsubsection*{%s}"))
   )
org-mode-hook '((lambda n

Re: [Orgmode] Org-mode version 6.32trans (release_6.32b.20.g8a25); Make fails this morning

2009-10-29 Thread Carsten Dominik

Fixed, thanks

- Carsten

On Oct 29, 2009, at 2:38 PM, Bernt Hansen wrote:



Remember to cover the basics, that is, what you expected to happen and
what in fact did happen.  You don't know how to make a good report?   
See


http://orgmode.org/manual/Feedback.html#Feedback

Your bug report will be posted to the Org-mode mailing list.


Make fails to build this morning.

On commit release_6.32b-20-g8a2566c

$ make clean
$ make

fails with the following output

--8<---cut here---start->8---
emacs -batch -q -no-site-file -eval "(progn (add-to-list (quote load- 
path) \"/usr/local/share/emacs/site-lisp\") (add-to-list (quote load- 
path) (expand-file-name \"./lisp/\")))" -f batch-byte-compile lisp/ 
org.el
emacs -batch -q -no-site-file -eval "(progn (add-to-list (quote load- 
path) \"/usr/local/share/emacs/site-lisp\") (add-to-list (quote load- 
path) (expand-file-name \"./lisp/\")))" -f batch-byte-compile lisp/ 
org-agenda.el
emacs -batch -q -no-site-file -eval "(progn (add-to-list (quote load- 
path) \"/usr/local/share/emacs/site-lisp\") (add-to-list (quote load- 
path) (expand-file-name \"./lisp/\")))" -f batch-byte-compile lisp/ 
org-ascii.el
emacs -batch -q -no-site-file -eval "(progn (add-to-list (quote load- 
path) \"/usr/local/share/emacs/site-lisp\") (add-to-list (quote load- 
path) (expand-file-name \"./lisp/\")))" -f batch-byte-compile lisp/ 
org-attach.el
emacs -batch -q -no-site-file -eval "(progn (add-to-list (quote load- 
path) \"/usr/local/share/emacs/site-lisp\") (add-to-list (quote load- 
path) (expand-file-name \"./lisp/\")))" -f batch-byte-compile lisp/ 
org-archive.el


In toplevel form:
lisp/org-archive.el:33:1:Error: Symbol's function definition is  
void: abbrev-table-put

make: *** [lisp/org-archive.elc] Error 1
make: *** Waiting for unfinished jobs

In toplevel form:
lisp/org-agenda.el:33:1:Error: Symbol's function definition is void:  
abbrev-table-put

make: *** [lisp/org-agenda.elc] Error 1

In toplevel form:
lisp/org-attach.el:43:1:Error: Symbol's function definition is void:  
abbrev-table-put

make: *** [lisp/org-attach.elc] Error 1

In toplevel form:
lisp/org-ascii.el:29:1:Error: Symbol's function definition is void:  
abbrev-table-put

make: *** [lisp/org-ascii.elc] Error 1

In end of data:
org.el:17520:1:Warning: the following functions might not be defined  
at
   runtime: calendar-forward-day, parse-time-string, calendar-goto- 
date,

   calendar-goto-today
org.el:17520:1:Warning: the following functions are not known to be  
defined:

   table--at-cell-p, org-clock-update-mode-line, abbrev-table-put,
   org-default-export-plist, org-infile-export-plist,
   org-clock-save-markers-for-cut-and-paste,
   org-agenda-save-markers-for-cut-and-paste, dired-get-filename,
   org-id-store-link, iswitchb-read-buffer, org-agenda-copy-local- 
variable,

   org-gnus-follow-link, org-inlinetask-remove-END-maybe,
   org-get-current-options, org-agenda-skip, org-format-agenda-item,
   org-agenda-new-marker, org-agenda-change-all-lines,
   org-columns-number-to-string, org-columns-get-format-and-top-level,
   org-columns-compute, calendar-absolute-from-iso,
   calendar-iso-from-absolute, org-id-locations-save, org-id- 
locations-load,
   cdlatex-tab, beginning-of-visual-line, org-agenda-set-restriction- 
lock,

   speedbar-line-directory, org-agenda-maybe-redo
Wrote /home/bernt/git/org-mode/lisp/org.elc
--8<---cut here---end--->8---

,[ bisect.sh ]
| #!/bin/sh
| make clean
| make
`

be...@gollum:~/git/org-mode$ git bisect start master 037b
be...@gollum:~/git/org-mode$ git bisect run /tmp/bisect.sh

Identifies the following commit

8a2566cad86780140c92ea4fe1b6b2b98eaaef9d is the first bad commit
commit 8a2566cad86780140c92ea4fe1b6b2b98eaaef9d
Author: Carsten Dominik 
Date:   Thu Oct 29 12:48:27 2009 +0100

   Use text-mode-abbrev-table as parent for the table in Org-mode

   Patch from Leo

:04 04 796c6d311fc1cacfaa86dc0252bc4df49f89592a  
e85825d84de42e881230d52f7295a26510a66e88 M	lisp

bisect run success
be...@gollum:~/git/org-mode$


Emacs  : GNU Emacs 22.2.1 (i486-pc-linux-gnu, GTK+ Version 2.12.11)
of 2008-11-09 on raven, modified by Debian
Package: Org-mode version 6.32trans (release_6.32b.20.g8a25)

-Bernt


___
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


- Carsten





___
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 6.32trans (release_6.32b.20.g8a25); Make fails this morning

2009-10-29 Thread Bernt Hansen
This still breaks

-Bernt

--8<---cut here---start->8---
be...@gollum:~/git/org-mode$ git describe
release_6.32b-22-gfbe1b2c
be...@gollum:~/git/org-mode$ /tmp/bisect.sh 
make cleanelc
make[1]: Entering directory `/home/bernt/git/org-mode'
rm -f lisp/org.elc lisp/org-agenda.elc lisp/org-ascii.elc lisp/org-attach.elc 
lisp/org-archive.elc lisp/org-bbdb.elc lisp/org-bibtex.elc lisp/org-clock.elc 
lisp/org-colview.elc lisp/org-colview-xemacs.elc lisp/org-compat.elc 
lisp/org-crypt.elc lisp/org-exp.elc lisp/org-exp-blocks.elc 
lisp/org-docbook.elc lisp/org-faces.elc lisp/org-feed.elc lisp/org-footnote.elc 
lisp/org-gnus.elc lisp/org-habit.elc lisp/org-html.elc lisp/org-icalendar.elc 
lisp/org-id.elc lisp/org-indent.elc lisp/org-info.elc lisp/org-inlinetask.elc 
lisp/org-jsinfo.elc lisp/org-irc.elc lisp/org-latex.elc lisp/org-list.elc 
lisp/org-mac-message.elc lisp/org-macs.elc lisp/org-mew.elc lisp/org-mhe.elc 
lisp/org-mobile.elc lisp/org-mouse.elc lisp/org-publish.elc lisp/org-plot.elc 
lisp/org-protocol.elc lisp/org-remember.elc lisp/org-rmail.elc lisp/org-src.elc 
lisp/org-table.elc lisp/org-timer.elc lisp/org-vm.elc lisp/org-w3m.elc 
lisp/org-wl.elc lisp/org-xoxo.elc lisp/org-install.elc
make[1]: Leaving directory `/home/bernt/git/org-mode'
make cleandoc
make[1]: Entering directory `/home/bernt/git/org-mode'
(cd doc; rm -f org.pdf org org.html orgcard.pdf orgcard.ps)
(cd doc; rm -f *.aux *.cp *.cps *.dvi *.fn *.fns *.ky *.kys *.pg *.pgs)
(cd doc; rm -f *.toc *.tp *.tps *.vr *.vrs *.log *.html *.ps)
(cd doc; rm -f orgcard_letter.tex orgcard_letter.pdf)
(cd doc; rm -rf manual)
make[1]: Leaving directory `/home/bernt/git/org-mode'
make cleanrel
make[1]: Entering directory `/home/bernt/git/org-mode'
rm -rf RELEASEDIR
rm -rf org-6.*
rm -rf org-6*zip org-6*tar.gz org-snapshot*
make[1]: Leaving directory `/home/bernt/git/org-mode'
rm -f *~ */*~ */*/*~
emacs -batch -q -no-site-file -eval "(progn (add-to-list (quote load-path) 
\"/usr/local/share/emacs/site-lisp\") (add-to-list (quote load-path) 
(expand-file-name \"./lisp/\")))" -f batch-byte-compile lisp/org.el

In end of data:
org.el:17521:1:Warning: the following functions might not be defined at
runtime: calendar-forward-day, parse-time-string, calendar-goto-date,
calendar-goto-today
org.el:17521:1:Warning: the following functions are not known to be defined:
table--at-cell-p, org-clock-update-mode-line, org-default-export-plist,
org-infile-export-plist, org-clock-save-markers-for-cut-and-paste,
org-agenda-save-markers-for-cut-and-paste, dired-get-filename,
org-id-store-link, iswitchb-read-buffer, org-agenda-copy-local-variable,
org-gnus-follow-link, org-inlinetask-remove-END-maybe,
org-get-current-options, org-agenda-skip, org-format-agenda-item,
org-agenda-new-marker, org-agenda-change-all-lines,
org-columns-number-to-string, org-columns-get-format-and-top-level,
org-columns-compute, calendar-absolute-from-iso,
calendar-iso-from-absolute, org-id-locations-save, org-id-locations-load,
cdlatex-tab, beginning-of-visual-line, org-agenda-set-restriction-lock,
speedbar-line-directory, org-agenda-maybe-redo
Wrote /home/bernt/git/org-mode/lisp/org.elc
emacs -batch -q -no-site-file -eval "(progn (add-to-list (quote load-path) 
\"/usr/local/share/emacs/site-lisp\") (add-to-list (quote load-path) 
(expand-file-name \"./lisp/\")))" -f batch-byte-compile lisp/org-agenda.el

In toplevel form:
lisp/org-agenda.el:33:1:Error: Symbol's function definition is void: 
abbrev-table-put
make: *** [lisp/org-agenda.elc] Error 1
be...@gollum:~/git/org-mode$ 
--8<---cut here---end--->8---

Carsten Dominik  writes:

> Fixed, thanks
>
> - Carsten
>
> On Oct 29, 2009, at 2:38 PM, Bernt Hansen wrote:
>
>>
>> Remember to cover the basics, that is, what you expected to happen and
>> what in fact did happen.  You don't know how to make a good report?
>> See
>>
>> http://orgmode.org/manual/Feedback.html#Feedback
>>
>> Your bug report will be posted to the Org-mode mailing list.
>> 
>>
>> Make fails to build this morning.
>>
>> On commit release_6.32b-20-g8a2566c
>>
>> $ make clean
>> $ make
>>
>> fails with the following output
>>
>> --8<---cut here---start->8---
>> emacs -batch -q -no-site-file -eval "(progn (add-to-list (quote
>> load- 
>> path) \"/usr/local/share/emacs/site-lisp\") (add-to-list (quote
>> load- 
>> path) (expand-file-name \"./lisp/\")))" -f batch-byte-compile lisp/
>> org.el
>> emacs -batch -q -no-site-file -eval "(progn (add-to-list (quote
>> load- 
>> path) \"/usr/local/share/emacs/site-lisp\") (add-to-list (quote
>> load- 
>> path) (expand-file-name \"./lisp/\")))" -f batch-byte-compile lisp/
>> org-agenda.el
>> emacs -batch -q -no-site-file -eval "(progn (add-to-list (quote
>> load- 
>> path) \"/usr/local/share/emacs/site-lisp\") (add

[Orgmode] Org-mode version 6.32trans (release_6.32b.22.gfbe1); Symbol not found in org-src-switch-to-buffer

2009-10-29 Thread Gregory J. Grubbs

When running C-c ' (org-edit-special) on the file attached to
[[gnus:gmane.emacs.orgmode#m2ws2fuppl@gmail.com][email from Eric
Schulte: Re: {babel} Re: org-babel: Met]]

I get the following backtrace

--8<---cut here---start->8---
Debugger entered--Lisp error: (invalid-function (quote current-window))
  (quote current-window)(#)
  org-src-switch-to-buffer(# edit)
  org-edit-src-code()
  ad-Orig-org-edit-special()
  org-edit-special()
  call-interactively(org-edit-special nil nil)
--8<---cut here---end--->8---

The symbol 'current-window is being evaluated as a function ... don't 
understand why.

I have org-src-window-setup set to 'reorganize-frame




Emacs  : GNU Emacs 23.1.50.1 (i686-pc-linux-gnu, GTK+ Version 2.18.2)
 of 2009-10-11 on maui
Package: Org-mode version 6.32trans (release_6.32b.22.gfbe1)

current state:
==
(setq
 org-clock-in-switch-to-state "STARTED"
 org-todo-keyword-faces '(("TODO" :foreground "red" :weight bold) ("STARTED" 
:foreground "deep sky blue" :weight bold)
  ("DONE" :foreground "forest green" :weight bold)
  ("WAITING" :foreground "orange" :weight bold) 
("SOMEDAY" :foreground "magenta" :weight bold)
  ("CANCELLED" :foreground "forest green" :weight bold)
  ("QUOTE" :foreground "red" :weight bold) ("QUOTED" 
:foreground "magenta" :weight bold)
  ("APPROVED" :foreground "forest green" :weight bold)
  ("EXPIRED" :foreground "forest green" :weight bold)
  ("REJECTED" :foreground "forest green" :weight bold)
  ("OPEN" :foreground "blue" :weight bold))
 org-special-ctrl-a/e t
 org-agenda-clockreport-parameter-plist '(:link t :maxlevel 99)
 org-agenda-custom-commands '(("P" "Projects" tags "Project" 
((org-use-tag-inheritance nil)))
  ("S" "Started Tasks" todo "STARTED" 
((org-agenda-todo-ignore-with-date nil)))
  ("w" "Tasks waiting on something" tags "WAITING" 
((org-use-tag-inheritance nil)))
  ("r" "Refile New Notes and Tasks" tags "REFILE" 
((org-agenda-todo-ignore-with-date nil)))
  ("n" "Notes" tags "NOTE" nil)
  ("dc" "Clock report" agenda ""
   ((org-agenda-ndays 1) 
(org-agenda-start-with-clockreport-mode t)
(org-agenda-time-grid nil)
(org-agenda-skip-function
 (quote
  (org-agenda-skip-entry-if (quote 
notscheduled) (quote deadline) (quote scheduled)))
 )
)
   )
  ("da" "GORT Agenda" ((agenda "") (todo 
"STARTED"
 org-agenda-files '("~/hebrew-word-list.org" "~/projects/next-work.org" 
"~/projects/notes.org"
"~/work/carolsetters/carolsetters.org" 
"~/projects/reid.org" "~/work/rockthehill/rockthehill.org"
"~/projects/misc.org" "~/work/cglawfirm/cglawfirm.org"
"~gregj/work/nodepression/nd-archive-conversion.org"
"~gregj/work/northsummitventures/northsummitventures.org")
 org-blocker-hook '(org-block-todo-from-children-or-siblings-or-parent)
 org-agenda-show-inherited-tags nil
 org-agenda-window-setup 'other-window
 org-agenda-exporter-settings '((ps-number-of-columns 1) (ps-landscape-mode t) 
(org-agenda-add-entry-text-maxlines 10)
(htmlize-output-type (quote css)))
 org-completion-use-ido t
 org-metaup-hook '(org-babel-load-in-session-maybe)
 org-after-todo-state-change-hook '(org-clock-out-if-current)
 org-read-date-prefer-future 'time
 org-clock-history-length 12
 org-babel-interpreters '("sh" "emacs-lisp")
 org-goto-interface 'outline-path-completion
 org-todo-state-tags-triggers '(("CANCELLED" ("CANCELLED" . t)) ("WAITING" 
("WAITING" . t) ("NEXT"))
("SOMEDAY" ("WAITING" . t)) (done ("NEXT") 
("WAITING"))
("TODO" ("WAITING") ("CANCELLED")) ("STARTED" 
("WAITING") ("NEXT" . t)))
 org-agenda-restore-windows-after-quit t
 org-stuck-projects '("Project|project/-DONE" nil ("NEXT") "")
 org-export-preprocess-hook '(org-export-blocks-preprocess (lambda nil 
(org-dblock-update 2)))
 org-tags-exclude-from-inheritance '("Project" "project")
 org-tab-first-hook '(org-hide-block-toggle-maybe)
 org-src-mode-hook '(org-src-mode-configure-edit-buffer)
 org-confirm-shell-link-function 'yes-or-no-p
 org-clock-sound "~/projects/c136.wav"
 org-todo-keywords '((sequence "TODO(t)" "STARTED(s!)" "|" "DONE(d!/!)")
 (sequence "PROPOSED(p)" "WAITING(w@/!)" "MAYBE(m!)" 
"OPEN(O@)" "|" "CANCELLED(c@/!)")

Re: [Orgmode] Org-mode version 6.32trans (release_6.32b.20.g8a25); Make fails this morning

2009-10-29 Thread Carsten Dominik

H,

I am not sure if this function is new in a recent Emacs?

Please try again, I am now protecting against non-existence of this  
function.


- Carsten

On Oct 29, 2009, at 3:27 PM, Bernt Hansen wrote:


This still breaks

-Bernt

--8<---cut here---start->8---
be...@gollum:~/git/org-mode$ git describe
release_6.32b-22-gfbe1b2c
be...@gollum:~/git/org-mode$ /tmp/bisect.sh
make cleanelc
make[1]: Entering directory `/home/bernt/git/org-mode'
rm -f lisp/org.elc lisp/org-agenda.elc lisp/org-ascii.elc lisp/org- 
attach.elc lisp/org-archive.elc lisp/org-bbdb.elc lisp/org- 
bibtex.elc lisp/org-clock.elc lisp/org-colview.elc lisp/org-colview- 
xemacs.elc lisp/org-compat.elc lisp/org-crypt.elc lisp/org-exp.elc  
lisp/org-exp-blocks.elc lisp/org-docbook.elc lisp/org-faces.elc lisp/ 
org-feed.elc lisp/org-footnote.elc lisp/org-gnus.elc lisp/org- 
habit.elc lisp/org-html.elc lisp/org-icalendar.elc lisp/org-id.elc  
lisp/org-indent.elc lisp/org-info.elc lisp/org-inlinetask.elc lisp/ 
org-jsinfo.elc lisp/org-irc.elc lisp/org-latex.elc lisp/org-list.elc  
lisp/org-mac-message.elc lisp/org-macs.elc lisp/org-mew.elc lisp/org- 
mhe.elc lisp/org-mobile.elc lisp/org-mouse.elc lisp/org-publish.elc  
lisp/org-plot.elc lisp/org-protocol.elc lisp/org-remember.elc lisp/ 
org-rmail.elc lisp/org-src.elc lisp/org-table.elc lisp/org-timer.elc  
lisp/org-vm.elc lisp/org-w3m.elc lisp/org-wl.elc lisp/org-xoxo.elc  
lisp/org-install.elc

make[1]: Leaving directory `/home/bernt/git/org-mode'
make cleandoc
make[1]: Entering directory `/home/bernt/git/org-mode'
(cd doc; rm -f org.pdf org org.html orgcard.pdf orgcard.ps)
(cd doc; rm -f *.aux *.cp *.cps *.dvi *.fn *.fns *.ky *.kys *.pg  
*.pgs)

(cd doc; rm -f *.toc *.tp *.tps *.vr *.vrs *.log *.html *.ps)
(cd doc; rm -f orgcard_letter.tex orgcard_letter.pdf)
(cd doc; rm -rf manual)
make[1]: Leaving directory `/home/bernt/git/org-mode'
make cleanrel
make[1]: Entering directory `/home/bernt/git/org-mode'
rm -rf RELEASEDIR
rm -rf org-6.*
rm -rf org-6*zip org-6*tar.gz org-snapshot*
make[1]: Leaving directory `/home/bernt/git/org-mode'
rm -f *~ */*~ */*/*~
emacs -batch -q -no-site-file -eval "(progn (add-to-list (quote load- 
path) \"/usr/local/share/emacs/site-lisp\") (add-to-list (quote load- 
path) (expand-file-name \"./lisp/\")))" -f batch-byte-compile lisp/ 
org.el


In end of data:
org.el:17521:1:Warning: the following functions might not be defined  
at
   runtime: calendar-forward-day, parse-time-string, calendar-goto- 
date,

   calendar-goto-today
org.el:17521:1:Warning: the following functions are not known to be  
defined:
   table--at-cell-p, org-clock-update-mode-line, org-default-export- 
plist,

   org-infile-export-plist, org-clock-save-markers-for-cut-and-paste,
   org-agenda-save-markers-for-cut-and-paste, dired-get-filename,
   org-id-store-link, iswitchb-read-buffer, org-agenda-copy-local- 
variable,

   org-gnus-follow-link, org-inlinetask-remove-END-maybe,
   org-get-current-options, org-agenda-skip, org-format-agenda-item,
   org-agenda-new-marker, org-agenda-change-all-lines,
   org-columns-number-to-string, org-columns-get-format-and-top-level,
   org-columns-compute, calendar-absolute-from-iso,
   calendar-iso-from-absolute, org-id-locations-save, org-id- 
locations-load,
   cdlatex-tab, beginning-of-visual-line, org-agenda-set-restriction- 
lock,

   speedbar-line-directory, org-agenda-maybe-redo
Wrote /home/bernt/git/org-mode/lisp/org.elc
emacs -batch -q -no-site-file -eval "(progn (add-to-list (quote load- 
path) \"/usr/local/share/emacs/site-lisp\") (add-to-list (quote load- 
path) (expand-file-name \"./lisp/\")))" -f batch-byte-compile lisp/ 
org-agenda.el


In toplevel form:
lisp/org-agenda.el:33:1:Error: Symbol's function definition is void:  
abbrev-table-put

make: *** [lisp/org-agenda.elc] Error 1
be...@gollum:~/git/org-mode$
--8<---cut here---end--->8---

Carsten Dominik  writes:


Fixed, thanks

- Carsten

On Oct 29, 2009, at 2:38 PM, Bernt Hansen wrote:



Remember to cover the basics, that is, what you expected to happen  
and

what in fact did happen.  You don't know how to make a good report?
See

   http://orgmode.org/manual/Feedback.html#Feedback

Your bug report will be posted to the Org-mode mailing list.


Make fails to build this morning.

On commit release_6.32b-20-g8a2566c

$ make clean
$ make

fails with the following output

--8<---cut here---start->8---
emacs -batch -q -no-site-file -eval "(progn (add-to-list (quote
load-
path) \"/usr/local/share/emacs/site-lisp\") (add-to-list (quote
load-
path) (expand-file-name \"./lisp/\")))" -f batch-byte-compile lisp/
org.el
emacs -batch -q -no-site-file -eval "(progn (add-to-list (quote
load-
path) \"/usr/local/share/emacs/site-lisp\") (add-to-list (quote
load-
path) (expand-file-name \"./lisp/\")))" -f batch-byte-compile 

[Orgmode] Re: contact management in org-mode?

2009-10-29 Thread Gregory J. Grubbs
Eric S Fraga  writes:

> At Sat, 24 Oct 2009 21:34:10 -0500, Russell Adams wrote:
>
> [...]
>
>> I reverse my recommendation regarding BBDB. 
>> 
>> /rant on
>> 
>
> [...]
>
>> /rant off
>
> I'm in complete agreement with you on this rant.  I do find it
> incredible that there are no good contact managers out there, at least
> not those that are not tied to some specific tool.
>

I can finally admit it here:

I, too, am a BBDB hater.

Maybe now I can finally move on with my life ... thank you all!

-Greg

... but really, there has to be a better way.  Maybe a wrapper around a
contact-specific sqlite database? 


> When my Psion 3 (various incarnations of this lovely little computer)
> died a few years ago now, I have tried out a large number of contact
> managers trying to find one that could replace the Psion.  I have had
> no luck, having gone through bbdb and abook, amongst others.  This was
> all before my second (more successful) encounter with org-mode.
>
>> I'll post if I find a better alternative. I welcome recommendations
>> while I try to centralize my contacts to CSV while I decide what to
>> put them in.
>
> I've gone to using org-mode for this: an entry (top level heading) for
> each person and details fully written out in free form but also some
> details in properties that I can then view in column mode (phone
> number etc.).  But please do pass on any suggestions for alternatives!
>
>
> ___
> 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



___
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] [babel] Meta-LaTeX-Python-Environment

2009-10-29 Thread Dan Davison
Hi Torsten,

Torsten Wagner  writes:

<...>
> I used the following simple example:

<...>
> #+srcname: test()
> #+begin_src python  :results latex

<...>

> As you can see, the result is wrapped now in LaTeX source code blocks.
> However, if I export the file by
> M-x org-export l
> the resulting LaTeX file still contains the source code itself (the part in 
> the 
> verbatim environment.

Yes, you need ':exports results' as well as ':results latex'. The
':results latex' is necessary to specify that the *result* of the block
is latex code. The ':exports results' is necessary in order to tell it
only to include the result in the export product.

<...>
> Wished export-result (trimmed to relevant part):
> ...
> \usepackage{color}
> \definecolor{gray}{gray}{0.95}
> ...
> \section{Simple Test of org-babel}
> \label{sec-1}
> \colorbox{gray}{
> This is a Test: if a =1 and b = 2 then a + b = 3 right ?!
> }
> ...
>

> As you can see, I like to indicate the source block results resp. the LaTeX 
> source code blocks in a way which indicate clearly that they belong to the 
> "official" output. E.g. by adding a slight gray background.

OK, so I think what you want is that the results are

(a) latex code, and
(b) in a box, set apart as different from the main text

Well, org-babel doesn't do anything like that with latex results by
default, so you'd have to do it yourself. How about defining a source
block function which does the job of putting your latex results in a
box, and calling it with #+lob ? The following exports to latex with the
results in a red box. (Please pull the latest org-mode as this required
a change that I've just made.)

--8<---cut here---start->8---
#+LATEX_HEADER: \usepackage{color}

* Simple Test of org-babel
#+srcname: test()
#+begin_src python :exports none
  a = 1
  b = 2
  c = a+b
  "This is a Test: if a =" + str(a) + " and b = " + str(b) + " then a + b = " + 
str(c) + " right ?!" 
#+end_src

#+lob: putinbox(body=test()) :results latex :exports results

* Library code
  This could go in a separate file, as long as the file is added to the
  Library of Babel.
#+srcname: putinbox(body)
#+begin_src latex :exports none
\colorbox{red}{
body
}
#+end_src
--8<---cut here---end--->8---


>
> As mentioned before, I like to have mainly three ways of export 
> 1. Export everything

:exports both

> 2. Export everything except the source codes itself

:exports results

> 3. Export a particular LaTeX source code session (e.g. by using the tangle 
> function)

tangle


Hth,

Dan

>
> Nevertheless, I will try the other very good ideas in this thread. Maybe this 
> works for me already.
>
> Best regards and thanks again 
>
> Torsten
>
>
> ___
> 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


___
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 6.32trans (release_6.32b.20.g8a25); Make fails this morning

2009-10-29 Thread Bernt Hansen
That fixed it -- thanks!

-Bernt


Carsten Dominik  writes:

> H,
>
> I am not sure if this function is new in a recent Emacs?
>
> Please try again, I am now protecting against non-existence of this
> function.
>
> - Carsten
>
> On Oct 29, 2009, at 3:27 PM, Bernt Hansen wrote:
>
>> This still breaks
>>
>> -Bernt
>>
>> --8<---cut here---start->8---
>> be...@gollum:~/git/org-mode$ git describe
>> release_6.32b-22-gfbe1b2c
>> be...@gollum:~/git/org-mode$ /tmp/bisect.sh
>> make cleanelc
>> make[1]: Entering directory `/home/bernt/git/org-mode'
>> rm -f lisp/org.elc lisp/org-agenda.elc lisp/org-ascii.elc lisp/org- 
>> attach.elc lisp/org-archive.elc lisp/org-bbdb.elc lisp/org- 
>> bibtex.elc lisp/org-clock.elc lisp/org-colview.elc lisp/org-colview- 
>> xemacs.elc lisp/org-compat.elc lisp/org-crypt.elc lisp/org-exp.elc
>> lisp/org-exp-blocks.elc lisp/org-docbook.elc lisp/org-faces.elc
>> lisp/ org-feed.elc lisp/org-footnote.elc lisp/org-gnus.elc lisp/org- 
>> habit.elc lisp/org-html.elc lisp/org-icalendar.elc lisp/org-id.elc
>> lisp/org-indent.elc lisp/org-info.elc lisp/org-inlinetask.elc lisp/
>> org-jsinfo.elc lisp/org-irc.elc lisp/org-latex.elc lisp/org-list.elc
>> lisp/org-mac-message.elc lisp/org-macs.elc lisp/org-mew.elc
>> lisp/org- 
>> mhe.elc lisp/org-mobile.elc lisp/org-mouse.elc lisp/org-publish.elc
>> lisp/org-plot.elc lisp/org-protocol.elc lisp/org-remember.elc lisp/
>> org-rmail.elc lisp/org-src.elc lisp/org-table.elc lisp/org-timer.elc
>> lisp/org-vm.elc lisp/org-w3m.elc lisp/org-wl.elc lisp/org-xoxo.elc
>> lisp/org-install.elc
>> make[1]: Leaving directory `/home/bernt/git/org-mode'
>> make cleandoc
>> make[1]: Entering directory `/home/bernt/git/org-mode'
>> (cd doc; rm -f org.pdf org org.html orgcard.pdf orgcard.ps)
>> (cd doc; rm -f *.aux *.cp *.cps *.dvi *.fn *.fns *.ky *.kys *.pg
>> *.pgs)
>> (cd doc; rm -f *.toc *.tp *.tps *.vr *.vrs *.log *.html *.ps)
>> (cd doc; rm -f orgcard_letter.tex orgcard_letter.pdf)
>> (cd doc; rm -rf manual)
>> make[1]: Leaving directory `/home/bernt/git/org-mode'
>> make cleanrel
>> make[1]: Entering directory `/home/bernt/git/org-mode'
>> rm -rf RELEASEDIR
>> rm -rf org-6.*
>> rm -rf org-6*zip org-6*tar.gz org-snapshot*
>> make[1]: Leaving directory `/home/bernt/git/org-mode'
>> rm -f *~ */*~ */*/*~
>> emacs -batch -q -no-site-file -eval "(progn (add-to-list (quote
>> load- 
>> path) \"/usr/local/share/emacs/site-lisp\") (add-to-list (quote
>> load- 
>> path) (expand-file-name \"./lisp/\")))" -f batch-byte-compile lisp/
>> org.el
>>
>> In end of data:
>> org.el:17521:1:Warning: the following functions might not be defined
>> at
>>runtime: calendar-forward-day, parse-time-string, calendar-goto- 
>> date,
>>calendar-goto-today
>> org.el:17521:1:Warning: the following functions are not known to be
>> defined:
>>table--at-cell-p, org-clock-update-mode-line, org-default-export- 
>> plist,
>>org-infile-export-plist, org-clock-save-markers-for-cut-and-paste,
>>org-agenda-save-markers-for-cut-and-paste, dired-get-filename,
>>org-id-store-link, iswitchb-read-buffer, org-agenda-copy-local- 
>> variable,
>>org-gnus-follow-link, org-inlinetask-remove-END-maybe,
>>org-get-current-options, org-agenda-skip, org-format-agenda-item,
>>org-agenda-new-marker, org-agenda-change-all-lines,
>>org-columns-number-to-string, org-columns-get-format-and-top-level,
>>org-columns-compute, calendar-absolute-from-iso,
>>calendar-iso-from-absolute, org-id-locations-save, org-id- 
>> locations-load,
>>cdlatex-tab, beginning-of-visual-line,
>> org-agenda-set-restriction- 
>> lock,
>>speedbar-line-directory, org-agenda-maybe-redo
>> Wrote /home/bernt/git/org-mode/lisp/org.elc
>> emacs -batch -q -no-site-file -eval "(progn (add-to-list (quote
>> load- 
>> path) \"/usr/local/share/emacs/site-lisp\") (add-to-list (quote
>> load- 
>> path) (expand-file-name \"./lisp/\")))" -f batch-byte-compile lisp/
>> org-agenda.el
>>
>> In toplevel form:
>> lisp/org-agenda.el:33:1:Error: Symbol's function definition is void:
>> abbrev-table-put
>> make: *** [lisp/org-agenda.elc] Error 1
>> be...@gollum:~/git/org-mode$
>> --8<---cut here---end--->8---
>>
>> Carsten Dominik  writes:
>>
>>> Fixed, thanks
>>>
>>> - Carsten
>>>
>>> On Oct 29, 2009, at 2:38 PM, Bernt Hansen wrote:
>>>

 Remember to cover the basics, that is, what you expected to happen
 and
 what in fact did happen.  You don't know how to make a good report?
 See

http://orgmode.org/manual/Feedback.html#Feedback

 Your bug report will be posted to the Org-mode mailing list.
 

 Make fails to build this morning.

 On commit release_6.32b-20-g8a2566c

 $ make clean
 $ make

 fails with the following output

 --8<---cut here---start->

Re: [Orgmode] Org-mode version 6.32trans (release_6.32b.22.gfbe1); Symbol not found in org-src-switch-to-buffer

2009-10-29 Thread Stephan Schmitt

Hi,

I noticed the same problem.  However, the function org-src-switch-to-buffer 
(with the breaking case-form) runs without problems when it is not compiled.


hth,
Stephan

Gregory J. Grubbs wrote:

When running C-c ' (org-edit-special) on the file attached to
[[gnus:gmane.emacs.orgmode#m2ws2fuppl@gmail.com][email from Eric
Schulte: Re: {babel} Re: org-babel: Met]]

I get the following backtrace

--8<---cut here---start->8---
Debugger entered--Lisp error: (invalid-function (quote current-window))
  (quote current-window)(#)
  org-src-switch-to-buffer(# edit)
  org-edit-src-code()
  ad-Orig-org-edit-special()
  org-edit-special()
  call-interactively(org-edit-special nil nil)
--8<---cut here---end--->8---

The symbol 'current-window is being evaluated as a function ... don't 
understand why.

I have org-src-window-setup set to 'reorganize-frame




Emacs  : GNU Emacs 23.1.50.1 (i686-pc-linux-gnu, GTK+ Version 2.18.2)
 of 2009-10-11 on maui
Package: Org-mode version 6.32trans (release_6.32b.22.gfbe1)

current state:
==
(setq
 org-clock-in-switch-to-state "STARTED"
 org-todo-keyword-faces '(("TODO" :foreground "red" :weight bold) ("STARTED" :foreground 
"deep sky blue" :weight bold)
  ("DONE" :foreground "forest green" :weight bold)
  ("WAITING" :foreground "orange" :weight bold) ("SOMEDAY" 
:foreground "magenta" :weight bold)
  ("CANCELLED" :foreground "forest green" :weight bold)
  ("QUOTE" :foreground "red" :weight bold) ("QUOTED" :foreground 
"magenta" :weight bold)
  ("APPROVED" :foreground "forest green" :weight bold)
  ("EXPIRED" :foreground "forest green" :weight bold)
  ("REJECTED" :foreground "forest green" :weight bold)
  ("OPEN" :foreground "blue" :weight bold))
 org-special-ctrl-a/e t
 org-agenda-clockreport-parameter-plist '(:link t :maxlevel 99)
 org-agenda-custom-commands '(("P" "Projects" tags "Project" 
((org-use-tag-inheritance nil)))
  ("S" "Started Tasks" todo "STARTED" 
((org-agenda-todo-ignore-with-date nil)))
  ("w" "Tasks waiting on something" tags "WAITING" 
((org-use-tag-inheritance nil)))
  ("r" "Refile New Notes and Tasks" tags "REFILE" 
((org-agenda-todo-ignore-with-date nil)))
  ("n" "Notes" tags "NOTE" nil)
  ("dc" "Clock report" agenda ""
   ((org-agenda-ndays 1) 
(org-agenda-start-with-clockreport-mode t)
(org-agenda-time-grid nil)
(org-agenda-skip-function
 (quote
  (org-agenda-skip-entry-if (quote 
notscheduled) (quote deadline) (quote scheduled)))
 )
)
   )
  ("da" "GORT Agenda" ((agenda "") (todo 
"STARTED"
 org-agenda-files '("~/hebrew-word-list.org" "~/projects/next-work.org" 
"~/projects/notes.org"
"~/work/carolsetters/carolsetters.org" "~/projects/reid.org" 
"~/work/rockthehill/rockthehill.org"
"~/projects/misc.org" "~/work/cglawfirm/cglawfirm.org"
"~gregj/work/nodepression/nd-archive-conversion.org"
"~gregj/work/northsummitventures/northsummitventures.org")
 org-blocker-hook '(org-block-todo-from-children-or-siblings-or-parent)
 org-agenda-show-inherited-tags nil
 org-agenda-window-setup 'other-window
 org-agenda-exporter-settings '((ps-number-of-columns 1) (ps-landscape-mode t) 
(org-agenda-add-entry-text-maxlines 10)
(htmlize-output-type (quote css)))
 org-completion-use-ido t
 org-metaup-hook '(org-babel-load-in-session-maybe)
 org-after-todo-state-change-hook '(org-clock-out-if-current)
 org-read-date-prefer-future 'time
 org-clock-history-length 12
 org-babel-interpreters '("sh" "emacs-lisp")
 org-goto-interface 'outline-path-completion
 org-todo-state-tags-triggers '(("CANCELLED" ("CANCELLED" . t)) ("WAITING" ("WAITING" . 
t) ("NEXT"))
("SOMEDAY" ("WAITING" . t)) (done ("NEXT") 
("WAITING"))
("TODO" ("WAITING") ("CANCELLED")) ("STARTED" ("WAITING") 
("NEXT" . t)))
 org-agenda-restore-windows-after-quit t
 org-stuck-projects '("Project|project/-DONE" nil ("NEXT") "")
 org-export-preprocess-hook '(org-export-blocks-preprocess (lambda nil 
(org-dblock-update 2)))
 org-tags-exclude-from-inheritance '("Project" "project")
 org-tab-first-hook '(org-hide-block-toggle-maybe)
 org-src-mode-hook '(org-src-mode-configure-edit-buffer)
 org-confirm-shell-link-function 'yes-or-no-p
 org-clock-sound "~/pro

[Orgmode] Re: contact management in org-mode?

2009-10-29 Thread Richard Riley
greg...@dynapse.com (Gregory J. Grubbs) writes:

> Eric S Fraga  writes:
>
>> At Sat, 24 Oct 2009 21:34:10 -0500, Russell Adams wrote:
>>
>> [...]
>>
>>> I reverse my recommendation regarding BBDB. 
>>> 
>>> /rant on
>>> 
>>
>> [...]
>>
>>> /rant off
>>
>> I'm in complete agreement with you on this rant.  I do find it
>> incredible that there are no good contact managers out there, at least
>> not those that are not tied to some specific tool.
>>
>
> I can finally admit it here:
>
> I, too, am a BBDB hater.
>
> Maybe now I can finally move on with my life ... thank you all!
>
> -Greg
>
> ... but really, there has to be a better way.  Maybe a wrapper around a
> contact-specific sqlite database? 

The lack of sync with google contacts is a real big "minus" for bbdb :
but I still use it over any other emacs solution for contact management.

Possibly the best solution would be a gnus method that talks to
evolution or google contacts directly? From that way it would be
relatively trivial I guess to re-write as bbdb using bbdb methods.




___
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] Org-mode version 6.31a; "conflicting packages" section lacks some (tiny) viper info

2009-10-29 Thread Stefano Zacchiroli


Remember to cover the basics, that is, what you expected to happen and
what in fact did happen.  You don't know how to make a good report?  See

 http://orgmode.org/manual/Feedback.html#Feedback

Your bug report will be posted to the Org-mode mailing list.


Heya,
  I'm using Org mode (beware: I'm an Org newbie!) and Viper mode. I've
noticed that there is a small incompatibility between the two, as Viper
(at least in export mode) has "C-c /" set to a command related to search
settings, whereas Org uses that for the sparse tree menu. To me it is
not a big deal as Viper's C-c / is, IMO, a completely useless setting
command, but it is still worth to be mentioned in manual section
14.7.2. Can you please do that?

Given my premise, my "solution" for that is simply to override Viper's
C-c / as follows:

  (define-key viper-vi-global-user-map (kbd "C-c /") 'org-sparse-tree)

It is suboptimal since it sets "C-c /" as org-sparse-tree everywhere,
while it would be better to do that only in Org mode buffers. I've tried
with hooks and local maps, but I failed to obtain a more-local
solution. If you find it, you might want to specify that rather than
mine.

Thanks for Org!
Cheers.


Emacs  : GNU Emacs 23.1.50.1 (x86_64-pc-linux-gnu, GTK+ Version 2.18.3)
 of 2009-10-23 on elegiac, modified by Debian
Package: Org-mode version 6.31a

current state:
==
(setq
 org-special-ctrl-a/e t
 org-agenda-files '("~/example.org")
 org-after-todo-state-change-hook '(org-clock-out-if-current)
 org-agenda-skip-scheduled-if-done t
 org-export-preprocess-hook '(org-export-blocks-preprocess)
 org-tab-first-hook '(org-hide-block-toggle-maybe)
 org-src-mode-hook '(org-src-mode-configure-edit-buffer)
 org-confirm-shell-link-function 'yes-or-no-p
 org-agenda-before-write-hook '(org-agenda-add-entry-text)
 org-default-notes-file "~/dati/org/notes.org"
 org-directory "~/dati/org"
 org-cycle-hook '(org-cycle-hide-archived-subtrees org-cycle-hide-drawers 
org-cycle-show-empty-lines
  org-optimize-window-after-visibility-change)
 org-mode-hook '(#[nil "\300\301\302\303\304$\207" [org-add-hook 
change-major-mode-hook org-show-block-all append local] 5])
 org-confirm-elisp-link-function 'yes-or-no-p
 org-agenda-start-on-weekday nil
 org-reverse-note-order t
 org-insert-mode-line-in-empty-file t
 org-occur-hook '(org-first-headline-recenter)
 org-from-is-user-regexp "\\"
 org-remember-templates '(("Web" 119 "* %?\n\n Source: %U, %c\n\n %i" nil "Note 
(Web)")
  ("Mail" 109 "* %?\n\n Source: %u, %c\n %i" nil "Note 
(Mail)")
  ("Note" 110 "* %?\n\n Source: %U, %c\n\n %i" nil 
"Note"))
 org-link-abbrev-alist '(("debbug" . "http://bugs.debian.org/";))
 )

-- 
Stefano Zacchiroli -o- PhD in Computer Science \ PostDoc @ Univ. Paris 7
z...@{upsilon.cc,pps.jussieu.fr,debian.org} -<>- http://upsilon.cc/zack/
Dietro un grande uomo c'è ..|  .  |. Et ne m'en veux pas si je te tutoie
sempre uno zaino ...| ..: | Je dis tu à tous ceux que j'aime


___
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] Re: text-mode-abbrev-table default?

2009-10-29 Thread Leo
On 2009-10-29 11:48 +, Carsten Dominik wrote:
> Applied, thanks.

4144 (eval-after-load "abbrev"
4145   '(when (fboundp 'abbrev-table-put)
4146  (abbrev-table-put org-mode-abbrev-table
4147:parents (list text-mode-abbrev-table

Is eval-after-load "abbrev" necessary?

abbrev is preloaded on Emacs both 22 and 23, and xemacs 21.4.21.

Best,

Leo


___
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] How to write verbatim [0] ?

2009-10-29 Thread Xin Shi
Wow~~ Thanks !

Xin


On Thu, Oct 29, 2009 at 5:23 AM, Carsten Dominik
wrote:

>
> On Oct 28, 2009, at 8:55 PM, Xin Shi wrote:
>
>  Hello Experts,
>>
>> Are there any way to write just a plain [0], instead of interpreting it as
>> a footnote when publishing in to HTML?
>>
>> I've tried the ~[0]~, and ~[~0~]~, but not luck.
>>
>
> I have finally fixed this, you can now write =[0]= or ~[0]~
>
> - Carsten
>
>
___
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] Re: text-mode-abbrev-table default?

2009-10-29 Thread Carsten Dominik

You are right, it is probably not necessary.

- Carsten

On Oct 29, 2009, at 6:04 PM, Leo wrote:


On 2009-10-29 11:48 +, Carsten Dominik wrote:

Applied, thanks.


4144 (eval-after-load "abbrev"
4145   '(when (fboundp 'abbrev-table-put)
4146  (abbrev-table-put org-mode-abbrev-table
4147:parents (list text-mode-abbrev-table

Is eval-after-load "abbrev" necessary?

abbrev is preloaded on Emacs both 22 and 23, and xemacs 21.4.21.

Best,

Leo


- Carsten





___
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] footnote renumber bug?

2009-10-29 Thread Andreas Röhler
Giovanni Ridolfi wrote:
> -- Gio 29/10/09, Andreas Roehler  ha scritto:
>> when inserting a footnote between [fn:1] and [fn:2]
>> it's not renumbered at place. Got [fn:1],  [fn:3] and
>> [fn:2].
>>
>> Think mentioned that already and answer was it should
>> be a feature. Isn't it a bug indeed?
> 
> It's a *feature*!.
> did you activate the corresponding variable?
> 
> Manual:
> "Automatic sorting after each insertion/deletion 
> can be configured using the 
> variable `org-footnote-auto-adjust'."
> 
> hth
> Giovanni 
> 
> 

It did. Thanks!

Andreas


___
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: contact management in org-mode?

2009-10-29 Thread Russell Adams


On Thu, Oct 29, 2009 at 05:00:05PM +0100, Richard Riley wrote:
> The lack of sync with google contacts is a real big "minus" for bbdb :
> but I still use it over any other emacs solution for contact management.
> 
> Possibly the best solution would be a gnus method that talks to
> evolution or google contacts directly? From that way it would be
> relatively trivial I guess to re-write as bbdb using bbdb methods.

I don't imagine the sync issue ever going away. There's no perfect
sync, even in the world of other proprietary OSes.

My ideal contact manager at the moment would have:

 - Text interface (ncurses or emacs)
 - Open backend
   - sqlite would be fine, or text tables, vcard/CSV not required
   - Bonus points for VC compatible
   - Dynamic field support & mapping
 - Perfect import/export
   - Export to CSV should include all fields
   - Exporting, clearing the DB, and reimporting should result in
 identical contacts w/ custom fields like nothing ever changed
 - Row view 
   - Customizable sorting
   - Customizable visible fields
   - Flexible searching
 - Contact view (ie: form)
 - External methods (ie: mutt query, cli search & dump)

Then there may be the ability to later bind such a program to SyncML
or another sync library to get rid of the sync issue.

My problem is atm nothing like this exists.

--
Russell Adamsrlad...@adamsinfoserv.com

PGP Key ID: 0x1160DCB3   http://www.adamsinfoserv.com/

Fingerprint:1723 D8CA 4280 1EC9 557F  66E8 1154 E018 1160 DCB3


___
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 6.32trans (release_6.32b.22.gfbe1); Symbol not found in org-src-switch-to-buffer

2009-10-29 Thread Carsten Dominik

Can you guys please try to pull again?  I think this problem is solved
now - let me know if not.

- Carsten

On Oct 29, 2009, at 4:49 PM, Stephan Schmitt wrote:


Hi,

I noticed the same problem.  However, the function org-src-switch-to- 
buffer (with the breaking case-form) runs without problems when it  
is not compiled.


hth,
Stephan

Gregory J. Grubbs wrote:

When running C-c ' (org-edit-special) on the file attached to
[[gnus:gmane.emacs.orgmode#m2ws2fuppl@gmail.com][email from Eric
Schulte: Re: {babel} Re: org-babel: Met]]
I get the following backtrace
--8<---cut here---start->8---
Debugger entered--Lisp error: (invalid-function (quote current- 
window))

 (quote current-window)(#)
 org-src-switch-to-buffer(#eval.org[ latex ]*> edit)

 org-edit-src-code()
 ad-Orig-org-edit-special()
 org-edit-special()
 call-interactively(org-edit-special nil nil)
--8<---cut here---end--->8---
The symbol 'current-window is being evaluated as a function ...  
don't understand why.

I have org-src-window-setup set to 'reorganize-frame
Emacs  : GNU Emacs 23.1.50.1 (i686-pc-linux-gnu, GTK+ Version 2.18.2)
of 2009-10-11 on maui
Package: Org-mode version 6.32trans (release_6.32b.22.gfbe1)
current state:
==
(setq
org-clock-in-switch-to-state "STARTED"
org-todo-keyword-faces '(("TODO" :foreground "red" :weight bold)  
("STARTED" :foreground "deep sky blue" :weight bold)

  ("DONE" :foreground "forest green" :weight bold)
			  ("WAITING" :foreground "orange" :weight bold)  
("SOMEDAY" :foreground "magenta" :weight bold)

  ("CANCELLED" :foreground "forest green" :weight bold)
			  ("QUOTE" :foreground "red" :weight bold) ("QUOTED" :foreground  
"magenta" :weight bold)

  ("APPROVED" :foreground "forest green" :weight bold)
  ("EXPIRED" :foreground "forest green" :weight bold)
  ("REJECTED" :foreground "forest green" :weight bold)
  ("OPEN" :foreground "blue" :weight bold))
org-special-ctrl-a/e t
org-agenda-clockreport-parameter-plist '(:link t :maxlevel 99)
org-agenda-custom-commands '(("P" "Projects" tags "Project" ((org- 
use-tag-inheritance nil)))
			  ("S" "Started Tasks" todo "STARTED" ((org-agenda-todo- 
ignore-with-date nil)))
			  ("w" "Tasks waiting on something" tags "WAITING" ((org-use- 
tag-inheritance nil)))
			  ("r" "Refile New Notes and Tasks" tags "REFILE" ((org- 
agenda-todo-ignore-with-date nil)))

  ("n" "Notes" tags "NOTE" nil)
  ("dc" "Clock report" agenda ""
			   ((org-agenda-ndays 1) (org-agenda-start-with-clockreport- 
mode t)

(org-agenda-time-grid nil)
(org-agenda-skip-function
 (quote
  (org-agenda-skip-entry-if (quote notscheduled) (quote  
deadline) (quote scheduled)))

 )
)
   )
  ("da" "GORT Agenda" ((agenda "") (todo 
"STARTED"
org-agenda-files '("~/hebrew-word-list.org" "~/projects/next- 
work.org" "~/projects/notes.org"
		"~/work/carolsetters/carolsetters.org" "~/projects/reid.org"  
"~/work/rockthehill/rockthehill.org"

"~/projects/misc.org" "~/work/cglawfirm/cglawfirm.org"
"~gregj/work/nodepression/nd-archive-conversion.org"
"~gregj/work/northsummitventures/northsummitventures.org")
org-blocker-hook '(org-block-todo-from-children-or-siblings-or- 
parent)

org-agenda-show-inherited-tags nil
org-agenda-window-setup 'other-window
org-agenda-exporter-settings '((ps-number-of-columns 1) (ps- 
landscape-mode t) (org-agenda-add-entry-text-maxlines 10)

(htmlize-output-type (quote css)))
org-completion-use-ido t
org-metaup-hook '(org-babel-load-in-session-maybe)
org-after-todo-state-change-hook '(org-clock-out-if-current)
org-read-date-prefer-future 'time
org-clock-history-length 12
org-babel-interpreters '("sh" "emacs-lisp")
org-goto-interface 'outline-path-completion
org-todo-state-tags-triggers '(("CANCELLED" ("CANCELLED" . t))  
("WAITING" ("WAITING" . t) ("NEXT"))

("SOMEDAY" ("WAITING" . t)) (done ("NEXT") 
("WAITING"))
("TODO" ("WAITING") ("CANCELLED")) ("STARTED" ("WAITING")  
("NEXT" . t)))

org-agenda-restore-windows-after-quit t
org-stuck-projects '("Project|project/-DONE" nil ("NEXT") "")
org-export-preprocess-hook '(org-export-blocks-preprocess (lambda  
nil (org-dblock-update 2)))

org-tags-exclude-from-inheritance '("Project" "project")
org-tab-first-hook '(org-hide-block-toggle-maybe)
org-src-mode-hook '(org-src-mode-configure-edit-buffer)
org-confirm-shell-link-function 'yes-or-no-p
org-clock-sound "~/projects/c136.wav"
or

Re: [Orgmode] Org-mode version 6.31a; "conflicting packages" section lacks some (tiny) viper info

2009-10-29 Thread Stephan Schmitt

Hi Stefano,

I don't know if this helps, but did you try
(global-unset-key (kbd "C-c /"))
in your init file (before org-mode is loaded)?

Greetings,
Stephan

Stefano Zacchiroli wrote:


Remember to cover the basics, that is, what you expected to happen and
what in fact did happen.  You don't know how to make a good report?  See

 http://orgmode.org/manual/Feedback.html#Feedback

Your bug report will be posted to the Org-mode mailing list.


Heya,
  I'm using Org mode (beware: I'm an Org newbie!) and Viper mode. I've
noticed that there is a small incompatibility between the two, as Viper
(at least in export mode) has "C-c /" set to a command related to search
settings, whereas Org uses that for the sparse tree menu. To me it is
not a big deal as Viper's C-c / is, IMO, a completely useless setting
command, but it is still worth to be mentioned in manual section
14.7.2. Can you please do that?

Given my premise, my "solution" for that is simply to override Viper's
C-c / as follows:

  (define-key viper-vi-global-user-map (kbd "C-c /") 'org-sparse-tree)

It is suboptimal since it sets "C-c /" as org-sparse-tree everywhere,
while it would be better to do that only in Org mode buffers. I've tried
with hooks and local maps, but I failed to obtain a more-local
solution. If you find it, you might want to specify that rather than
mine.

Thanks for Org!
Cheers.


Emacs  : GNU Emacs 23.1.50.1 (x86_64-pc-linux-gnu, GTK+ Version 2.18.3)
 of 2009-10-23 on elegiac, modified by Debian
Package: Org-mode version 6.31a

current state:
==
(setq
 org-special-ctrl-a/e t
 org-agenda-files '("~/example.org")
 org-after-todo-state-change-hook '(org-clock-out-if-current)
 org-agenda-skip-scheduled-if-done t
 org-export-preprocess-hook '(org-export-blocks-preprocess)
 org-tab-first-hook '(org-hide-block-toggle-maybe)
 org-src-mode-hook '(org-src-mode-configure-edit-buffer)
 org-confirm-shell-link-function 'yes-or-no-p
 org-agenda-before-write-hook '(org-agenda-add-entry-text)
 org-default-notes-file "~/dati/org/notes.org"
 org-directory "~/dati/org"
 org-cycle-hook '(org-cycle-hide-archived-subtrees org-cycle-hide-drawers 
org-cycle-show-empty-lines
  org-optimize-window-after-visibility-change)
 org-mode-hook '(#[nil "\300\301\302\303\304$\207" [org-add-hook 
change-major-mode-hook org-show-block-all append local] 5])
 org-confirm-elisp-link-function 'yes-or-no-p
 org-agenda-start-on-weekday nil
 org-reverse-note-order t
 org-insert-mode-line-in-empty-file t
 org-occur-hook '(org-first-headline-recenter)
 org-from-is-user-regexp "\\"
 org-remember-templates '(("Web" 119 "* %?\n\n Source: %U, %c\n\n %i" nil "Note 
(Web)")
  ("Mail" 109 "* %?\n\n Source: %u, %c\n %i" nil "Note 
(Mail)")
  ("Note" 110 "* %?\n\n Source: %U, %c\n\n %i" nil 
"Note"))
 org-link-abbrev-alist '(("debbug" . "http://bugs.debian.org/";))
 )




___
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] Re: Org-mode version 6.32trans (release_6.32b.22.gfbe1); Symbol not found in org-src-switch-to-buffer

2009-10-29 Thread Gregory J. Grubbs
I don't understand how ... but that solves it for me - thanks!

-Greg

Carsten Dominik  writes:

> Can you guys please try to pull again?  I think this problem is solved
> now - let me know if not.
>
> - Carsten
>
> On Oct 29, 2009, at 4:49 PM, Stephan Schmitt wrote:
>
>> Hi,
>>
>> I noticed the same problem.  However, the function
>> org-src-switch-to-
>> buffer (with the breaking case-form) runs without problems when it
>> is not compiled.
>>
>> hth,
>>  Stephan
>>
>> Gregory J. Grubbs wrote:
>>> When running C-c ' (org-edit-special) on the file attached to
>>> [[gnus:gmane.emacs.orgmode#m2ws2fuppl@gmail.com][email from Eric
>>> Schulte: Re: {babel} Re: org-babel: Met]]
>>> I get the following backtrace
>>> --8<---cut here---start->8---
>>> Debugger entered--Lisp error: (invalid-function (quote current-
>>> window))
>>>  (quote current-window)(#)
>>>  org-src-switch-to-buffer(#>> eval.org[ latex ]*> edit)
>>>  org-edit-src-code()
>>>  ad-Orig-org-edit-special()
>>>  org-edit-special()
>>>  call-interactively(org-edit-special nil nil)
>>> --8<---cut here---end--->8---
>>> The symbol 'current-window is being evaluated as a function
>>> ... don't understand why.
>>> I have org-src-window-setup set to 'reorganize-frame
>>> Emacs  : GNU Emacs 23.1.50.1 (i686-pc-linux-gnu, GTK+ Version 2.18.2)
>>> of 2009-10-11 on maui
>>> Package: Org-mode version 6.32trans (release_6.32b.22.gfbe1)
>>> current state:
>>> ==
>>> (setq
>>> org-clock-in-switch-to-state "STARTED"
>>> org-todo-keyword-faces '(("TODO" :foreground "red" :weight bold)
>>> ("STARTED" :foreground "deep sky blue" :weight bold)
>>>   ("DONE" :foreground "forest green" :weight bold)
>>>   ("WAITING" :foreground "orange" :weight
>>> bold) ("SOMEDAY" :foreground "magenta" :weight bold)
>>>   ("CANCELLED" :foreground "forest green" :weight bold)
>>>   ("QUOTE" :foreground "red" :weight bold)
>>> ("QUOTED" :foreground "magenta" :weight bold)
>>>   ("APPROVED" :foreground "forest green" :weight bold)
>>>   ("EXPIRED" :foreground "forest green" :weight bold)
>>>   ("REJECTED" :foreground "forest green" :weight bold)
>>>   ("OPEN" :foreground "blue" :weight bold))
>>> org-special-ctrl-a/e t
>>> org-agenda-clockreport-parameter-plist '(:link t :maxlevel 99)
>>> org-agenda-custom-commands '(("P" "Projects" tags "Project" ((org-
>>> use-tag-inheritance nil)))
>>>   ("S" "Started Tasks" todo "STARTED"
>>> ((org-agenda-todo-
>>> ignore-with-date nil)))
>>>   ("w" "Tasks waiting on something" tags
>>> "WAITING" ((org-use-
>>> tag-inheritance nil)))
>>>   ("r" "Refile New Notes and Tasks" tags
>>> "REFILE" ((org-
>>> agenda-todo-ignore-with-date nil)))
>>>   ("n" "Notes" tags "NOTE" nil)
>>>   ("dc" "Clock report" agenda ""
>>>((org-agenda-ndays 1)
>>> (org-agenda-start-with-clockreport-
>>> mode t)
>>> (org-agenda-time-grid nil)
>>> (org-agenda-skip-function
>>>  (quote
>>>   (org-agenda-skip-entry-if (quote
>>> notscheduled) (quote deadline) (quote scheduled)))
>>>  )
>>> )
>>>)
>>>   ("da" "GORT Agenda" ((agenda "") (todo 
>>> "STARTED"
>>> org-agenda-files '("~/hebrew-word-list.org" "~/projects/next-
>>> work.org" "~/projects/notes.org"
>>> "~/work/carolsetters/carolsetters.org"
>>> "~/projects/reid.org" "~/work/rockthehill/rockthehill.org"
>>> "~/projects/misc.org" "~/work/cglawfirm/cglawfirm.org"
>>> "~gregj/work/nodepression/nd-archive-conversion.org"
>>> "~gregj/work/northsummitventures/northsummitventures.org")
>>> org-blocker-hook '(org-block-todo-from-children-or-siblings-or-
>>> parent)
>>> org-agenda-show-inherited-tags nil
>>> org-agenda-window-setup 'other-window
>>> org-agenda-exporter-settings '((ps-number-of-columns 1) (ps-
>>> landscape-mode t) (org-agenda-add-entry-text-maxlines 10)
>>> (htmlize-output-type (quote css)))
>>> org-completion-use-ido t
>>> org-metaup-hook '(org-babel-load-in-session-maybe)
>>> org-after-todo-state-change-hook '(org-clock-out-if-current)
>>> org-read-date-prefer-future 'time
>>> org-clock-history-length 12
>>> org-babel-interpreters '("sh" "emacs-lisp")
>>> org-goto-interface 'outline-path-completion
>>> org-todo-state-tags-triggers '(("CANCELLED" ("CANCELLED" . t))
>>> ("WAITING" ("WAITING" . t) ("NEXT"))
>>> ("SOMEDAY" ("WAITING" . t)) (done ("NEXT") 
>>> ("WAITING"))
>>> 

Re: [Orgmode] Re: Org-mode version 6.32trans (release_6.32b.22.gfbe1); Symbol not found in org-src-switch-to-buffer

2009-10-29 Thread Stephan Schmitt

(eval-when-compile
  (require 'cl))
did the trick

thx, too!
Stephan

Gregory J. Grubbs wrote:

I don't understand how ... but that solves it for me - thanks!

-Greg

Carsten Dominik  writes:


Can you guys please try to pull again?  I think this problem is solved
now - let me know if not.

- Carsten

On Oct 29, 2009, at 4:49 PM, Stephan Schmitt wrote:


Hi,

I noticed the same problem.  However, the function
org-src-switch-to-
buffer (with the breaking case-form) runs without problems when it
is not compiled.

hth,
Stephan

Gregory J. Grubbs wrote:

When running C-c ' (org-edit-special) on the file attached to
[[gnus:gmane.emacs.orgmode#m2ws2fuppl@gmail.com][email from Eric
Schulte: Re: {babel} Re: org-babel: Met]]
I get the following backtrace
--8<---cut here---start->8---
Debugger entered--Lisp error: (invalid-function (quote current-
window))
 (quote current-window)(#)
 org-src-switch-to-buffer(# edit)
 org-edit-src-code()
 ad-Orig-org-edit-special()
 org-edit-special()
 call-interactively(org-edit-special nil nil)
--8<---cut here---end--->8---
The symbol 'current-window is being evaluated as a function
... don't understand why.
I have org-src-window-setup set to 'reorganize-frame
Emacs  : GNU Emacs 23.1.50.1 (i686-pc-linux-gnu, GTK+ Version 2.18.2)
of 2009-10-11 on maui
Package: Org-mode version 6.32trans (release_6.32b.22.gfbe1)
current state:
==
(setq
org-clock-in-switch-to-state "STARTED"
org-todo-keyword-faces '(("TODO" :foreground "red" :weight bold)
("STARTED" :foreground "deep sky blue" :weight bold)
  ("DONE" :foreground "forest green" :weight bold)
  ("WAITING" :foreground "orange" :weight
bold) ("SOMEDAY" :foreground "magenta" :weight bold)
  ("CANCELLED" :foreground "forest green" :weight bold)
  ("QUOTE" :foreground "red" :weight bold)
("QUOTED" :foreground "magenta" :weight bold)
  ("APPROVED" :foreground "forest green" :weight bold)
  ("EXPIRED" :foreground "forest green" :weight bold)
  ("REJECTED" :foreground "forest green" :weight bold)
  ("OPEN" :foreground "blue" :weight bold))
org-special-ctrl-a/e t
org-agenda-clockreport-parameter-plist '(:link t :maxlevel 99)
org-agenda-custom-commands '(("P" "Projects" tags "Project" ((org-
use-tag-inheritance nil)))
  ("S" "Started Tasks" todo "STARTED"
((org-agenda-todo-
ignore-with-date nil)))
  ("w" "Tasks waiting on something" tags
"WAITING" ((org-use-
tag-inheritance nil)))
  ("r" "Refile New Notes and Tasks" tags
"REFILE" ((org-
agenda-todo-ignore-with-date nil)))
  ("n" "Notes" tags "NOTE" nil)
  ("dc" "Clock report" agenda ""
   ((org-agenda-ndays 1)
(org-agenda-start-with-clockreport-
mode t)
(org-agenda-time-grid nil)
(org-agenda-skip-function
 (quote
  (org-agenda-skip-entry-if (quote
notscheduled) (quote deadline) (quote scheduled)))
 )
)
   )
  ("da" "GORT Agenda" ((agenda "") (todo 
"STARTED"
org-agenda-files '("~/hebrew-word-list.org" "~/projects/next-
work.org" "~/projects/notes.org"
"~/work/carolsetters/carolsetters.org"
"~/projects/reid.org" "~/work/rockthehill/rockthehill.org"
"~/projects/misc.org" "~/work/cglawfirm/cglawfirm.org"
"~gregj/work/nodepression/nd-archive-conversion.org"
"~gregj/work/northsummitventures/northsummitventures.org")
org-blocker-hook '(org-block-todo-from-children-or-siblings-or-
parent)
org-agenda-show-inherited-tags nil
org-agenda-window-setup 'other-window
org-agenda-exporter-settings '((ps-number-of-columns 1) (ps-
landscape-mode t) (org-agenda-add-entry-text-maxlines 10)
(htmlize-output-type (quote css)))
org-completion-use-ido t
org-metaup-hook '(org-babel-load-in-session-maybe)
org-after-todo-state-change-hook '(org-clock-out-if-current)
org-read-date-prefer-future 'time
org-clock-history-length 12
org-babel-interpreters '("sh" "emacs-lisp")
org-goto-interface 'outline-path-completion
org-todo-state-tags-triggers '(("CANCELLED" ("CANCELLED" . t))
("WAITING" ("WAITING" . t) ("NEXT"))
("SOMEDAY" ("WAITING" . t)) (done ("NEXT") 
("WAITING"))
("TODO" ("WAITING") ("CANCELLED"))
("STARTED" ("WAITING") ("NEXT" . t)))
org-agenda-restore-windows-after-quit t
org-stuck-projects '("Project|project/-DONE" nil ("NEXT") "")
org-expor

Re: [Orgmode] org-agenda-custom-commands

2009-10-29 Thread Harald Weis
Sorry, I was away for a couple of days.
Many thanks for your proposition which really works fine.
Still, would it be difficult to implement ``evaluating match before it
gets used''?
My user needs to define in his files a great number of
_multi-value_ property keys.
He also requires for an occur-tree a horribly complicated regular
expression comprising a simple interactive character string.
I understand now that the latter could equally be accomplished with
the org-occur function the same way you've proposed for the
org-match-sparse-tree function, couldn't it?
Yes, it can! I've just tested the following function:
(defun my-occur (match)
  (interactive "s")
  (org-occur (concat "[:]" match "[:]"))) 
Great, it works.

But I still think it could be advantageous to do the whole lot within
the org-agenda-custom-commands variable if the match would be evaluated
before getting used.

Thank you very much indeed.
Harald Weis


On Mon, Oct 19, 2009 at 03:36:42PM +0200, Carsten Dominik wrote:
> Well, I guess I could evaluate match before it gets used.  But maybe  
> you can also turn this around:  Dinfe a function what will call the  
> tree maker directly
> 
> 
> (defun my-tree (match)
>   (interactive "s")
>   (org-match-sparse-tree nil (concat "{" match "}")))
> 
> or something like this
> 
> - Carsten
> 
> On Oct 18, 2009, at 4:43 PM, Harald Weis wrote:
> 
> >Hi All,
> >
> >I would like to define one entry of the org-agenda-custom-commands
> >variable like so:
> >(setq org-agenda-custom-commands
> > '(("i" "item" tags-tree
> >  (remedy-build-tags-tree-regex "item"
> >
> >where ''item'' is the property key and
> >where the remedy-build-tags-tree-regex function is defined as follows:
> >
> >(defun remedy-build-tags-tree-regex (propkey)
> > (concat propkey
> >   "={"
> >   (read-from-minibuffer (concat propkey " : "))
> >   "}"))
> >
> >This would allow me to select the property value interactively.
> >
> >The org-make-tags-matcher function does not appreciate.
> >''C-c a'' yields
> >iitem: set of 2 commands
> >
> >Selecting ''i'' produces the following error message in the  
> >minibuffer.
> >Wrong type argument: stringp, (remedy-build-tags-tree-regex "item")
> >
> >Is there a way to get the desired functionality?


___
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: contact management in org-mode?

2009-10-29 Thread Alan E. Davis
I'll mention EDB, emacs data base, here, even though I haven't used it for
several years.

http://gnuvola.org/software/edb/

It's available on many GNU/Linux distros, as a package.  It is for Gentoo,
and perhaps for Debian/Ubuntu as well.

It is extensible/programmable, so that various interfaces could perhaps be
possible.  I spent a little time years ago setting up an Addresses database,
with output formats to automatically set up a LaTeX header for each marked
address.  It was a bit klunky, to be sure, but it worked REALLY well, and it
worked the way I wanted it to.

It's an old piece of software.  I tried it lately with my address DB, with
Emacs 23, so it may just still work fine.

In the examples directory, above, are a rolodex database, possibly somewhat
similar to what I had going, and some other examples.   There has been some
relatively recent effort into maintaining EDB.

I write this not as a programmer, but a user, just to point to something
that has worked well for me in the past.

Alan Davis
___
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] [PATCH] Add min/max/mean age operators to column view.

2009-10-29 Thread Mikael Fornius
Mikael Fornius  writes:

> Maybe someone other than me should test this because I am not sure if I
> understand it correctly? 
>
> The only reference to "age" or "creation time" I can find is in the
> documentation string of org-sort-entries-or-items.

Now I found a reference in ChangeLog, SINCE it should be called, great,
I will give it another try later on.

-- 
Mikael Fornius


___
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] [PATCH] Add min/max/mean age operators to column view.

2009-10-29 Thread James TD Smith
Hi Mikael,

On 2009-10-29 14:17:11(+0100), Mikael Fornius wrote:
> Maybe someone other than me should test this because I am not sure if I
> understand it correctly? 
> 
> The only reference to "age" or "creation time" I can find is in the
> documentation string of org-sort-entries-or-items.
> 
> "... creation time, which is assumed to be the first inactive time stamp
> at the beginning of a line."
 
Sorry, I could have been more specific in my description of what the patch does.
What it does is add three operators which can be applied to properties
containing timestamps, which show the length of time between the timestamp and
the current time for leaf entries, and either the minimum, maximum or average
elapsed time for entries with children.

The age/creation time thing is just a suggested usage. All my remember templates
add a CREATED property containing a timestamp, so by adding %creat...@min} to
the columns for a tree I can get a display of the time which has elapsed since
that item was added.

> I pulled from your git://yog-sothoth.mohorovi.cc/org-mode.git
> misc-new-features branch and have tried a basic setup with timestamps as
> described with no success. I must have missed something.
> 
> When I use org-columns-new (M-S-right/left) to add a column there is no
> choice named age or creation time, should I use TIMESTAMP_IA?
> 
> When I do I have three (new?) options "age, age, age" as summary options
> and I think it should be "min_age, mean_age, max_age" instead?

I didn't test org-columns-new much; I tend to set up columns manually using the
COLUMNS property. I'll have to take a look at that.
 
> When I manually tried to summarize a %timestamp_...@mean} I got just
> numbers when I expected a date.

You shouldn't see a date. You should see something like '22d 3h 4m 11s' giving
the time since the first inactive timestamp in each item, and if an item has
children the average of the values from the childen. 

If you have a file like:
--8<---cut here---start->8---
#+COLUMNS: %20ITEM %16timestamp_...@min}
* Test 1
  [2008-10-29 Thu 21:05]
* Test 2
  [2009-10-29 Thu 21:05]
* Test 3
** Test 4
   [2009-10-29 Thu 20:05]
** Test 5
   [2009-11-29 Thu 21:05]
--8<---cut here---end--->8---

You should see something like this (from the column view dblock):

--8<---cut here---start->8---
| ITEM  | TIMESTAMP_IA |
|---+--|
| * Test 1  | 365d 00h 04m 01s |
|---+--|
| * Test 2  | 0d 00h 04m 01s   |
|---+--|
| * Test 3  | -31d 00h 04m 01s |
| ** Test 4 | 0d 01h 04m 01s   |
| ** Test 5 | -31d 00h 04m 01s |
--8<---cut here---end--->8---

> I also have another problem with org-columns-new that when selecting a
> summary type the #+COLUMNS row is not updated, format specification
> works. I do not know if this is introduced by this patch or some other
> but it used to work...

It's probably the patch.

Thanks for testing this, and also for the improvements you made to column view
which made this possible.

James

--
|---|



___
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: contact management in org-mode?

2009-10-29 Thread Eric S Fraga
At Fri, 30 Oct 2009 06:00:04 +1000,
Alan E. Davis wrote:
> 
> I'll mention EDB, emacs data base, here, even though I haven't used it for
> several years.

[...]

Interesting you mention this because I use the precursor to EDB,
forms, to keep track of books.  The reason this is interesting is that
it works well with org-mode.  

In forms, and in EDB, you can specify the character to use to separate
fields in the database.  If you specify '|', you can use org-mode's
table editor to work with the database directly.  I find this useful
for org-mode's sorting capabilities, not to mention the ability to
output (i.e. export) the database in a number of formats.

eric


___
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] [OT] lisp func to write timestamp to buffer

2009-10-29 Thread Marcelo de Moraes Serpa
Hello list,

Org uses a timestamp format like the following across all its functionality:

[2009-10-29 Thu 17:14]

I would like to be able to ouput this string whenever I'd like to a buffer,
with the current timestamp, this is useful for example to timestamp notes
inside an org file arbitrarily:

* [2009-10-29 Thu 17:14
 Bla Bla Bla

How could I do that? I searched for such function with apropos but couldn't
find anything that fits.

Thanks,

Marcelo.
___
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 6.31a; "conflicting packages" section lacks some (tiny) viper info

2009-10-29 Thread Stefano Zacchiroli
On Thu, Oct 29, 2009 at 06:37:33PM +0100, Stephan Schmitt wrote:
> I don't know if this helps, but did you try
> (global-unset-key (kbd "C-c /"))
> in your init file (before org-mode is loaded)?

Uhm, would that solution would be actually better than mine?
I mean, sure, it would be better in the sense that if in the future
Org-mode changes its handling of "C-c /" I will be ported to the new
behavior.

Still, this solution has the same problem of "globality" than mine: it
will affect all buffers and not only Org ones.

Thanks for the idea anyhow!
Cheers.

PS let me remind that the main bug reported here is the fact that there
   is no documentation about this incompatibility, still I welcome
   alternative solutions :)

-- 
Stefano Zacchiroli -o- PhD in Computer Science \ PostDoc @ Univ. Paris 7
z...@{upsilon.cc,pps.jussieu.fr,debian.org} -<>- http://upsilon.cc/zack/
Dietro un grande uomo c'è ..|  .  |. Et ne m'en veux pas si je te tutoie
sempre uno zaino ...| ..: | Je dis tu à tous ceux que j'aime


___
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] [OT] lisp func to write timestamp to buffer

2009-10-29 Thread Russell Adams
Sorry, should CC the list:

  ;; Insert immediate timestamp
  (define-key global-map (kbd "")
'(lambda () (interactive)
   (when (eq major-mode 'org-mode)
 (org-insert-time-stamp nil t t)
 (insert "\n"


On Thu, Oct 29, 2009 at 05:29:06PM -0600, Marcelo de Moraes Serpa wrote:
> Hello list,
> 
> Org uses a timestamp format like the following across all its functionality:
> 
> [2009-10-29 Thu 17:14]
> 
> I would like to be able to ouput this string whenever I'd like to a buffer,
> with the current timestamp, this is useful for example to timestamp notes
> inside an org file arbitrarily:
> 
> * [2009-10-29 Thu 17:14
>  Bla Bla Bla
> 
> How could I do that? I searched for such function with apropos but couldn't
> find anything that fits.
> 
> Thanks,
> 
> Marcelo.

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



--
Russell Adamsrlad...@adamsinfoserv.com

PGP Key ID: 0x1160DCB3   http://www.adamsinfoserv.com/

Fingerprint:1723 D8CA 4280 1EC9 557F  66E8 1154 E018 1160 DCB3


___
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] [OT] lisp func to write timestamp to buffer

2009-10-29 Thread Nick Dokos
Marcelo de Moraes Serpa  wrote:

> Hello list,
> 
> Org uses a timestamp format like the following across all its functionality:
> 
> [2009-10-29 Thu 17:14]
> 
> I would like to be able to ouput this string whenever I'd like to a buffer, 
> with the current timestamp, this is useful for example to timestamp notes
> inside an org file arbitrarily:
> 
> * [2009-10-29 Thu 17:14
>  Bla Bla Bla
> 
> How could I do that? I searched for such function with apropos but couldn't 
> find anything that fits.
> 

Assuming you are in an org buffer

C-u C-c ! 

will insert an inactive time stamp (including the current time - that's the 
prefix argument):

 [2009-10-29 Thu 22:34]

Similarly

C-u C-c . 

will insert an active time stamp:

 <2009-10-29 Thu 22:35>


The functions bound to C-c ! and C-c . are org-time-stamp-inactive and 
org-time-stamp
respectively. BTW, both are in the drop-down Org menu: Org/Dates and 
Scheduling/...

Is this what you are looking for? 

Nick


___
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] [OT] lisp func to write timestamp to buffer

2009-10-29 Thread Russell Adams
On Thu, Oct 29, 2009 at 10:44:39PM -0400, Nick Dokos wrote:
> Marcelo de Moraes Serpa  wrote:
> Assuming you are in an org buffer
> 
> C-u C-c ! 
> 
> will insert an inactive time stamp (including the current time - that's the 
> prefix argument):
> 
>  [2009-10-29 Thu 22:34]
> 
> Similarly
> 
> C-u C-c . 
> 
> will insert an active time stamp:
> 
>  <2009-10-29 Thu 22:35>
> 
> 
> The functions bound to C-c ! and C-c . are org-time-stamp-inactive and 
> org-time-stamp
> respectively. BTW, both are in the drop-down Org menu: Org/Dates and 
> Scheduling/...
> 
> Is this what you are looking for? 
> 
> Nick

The function I posted does the same as C-u C-c ! , just with a
single key press.

I often add a timestamp every time I return to my outline on projects,
it maintains a consistent timeline that I can view in the agenda with
log mode and showing inactive timestamps.

Thanks.

--
Russell Adamsrlad...@adamsinfoserv.com

PGP Key ID: 0x1160DCB3   http://www.adamsinfoserv.com/

Fingerprint:1723 D8CA 4280 1EC9 557F  66E8 1154 E018 1160 DCB3


___
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] [OT] lisp func to write timestamp to buffer

2009-10-29 Thread Nick Dokos
Russell Adams  wrote:

> The function I posted does the same as C-u C-c ! , just with a
> single key press.
> 

Yes - and it also avoids the distraction of popping up the calendar.

Thanks,
Nick




___
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] [PATCH] Add min/max/mean age operators to column view.

2009-10-29 Thread James TD Smith
Hi Mikael,

On 2009-10-29 21:10:50(+0100), Mikael Fornius wrote:
> Mikael Fornius  writes:
> 
> > Maybe someone other than me should test this because I am not sure if I
> > understand it correctly? 
> >
> > The only reference to "age" or "creation time" I can find is in the
> > documentation string of org-sort-entries-or-items.
> 
> Now I found a reference in ChangeLog, SINCE it should be called, great,
> I will give it another try later on.

The SINCE property was from my previous attempt at doing this. It doesn't exist
in the new patch. 

I've fixed the problems with org-column-new you were having and pushed it to my
repo, and fixed another bug which stopped the new operators working in column
view in the agenda. 

Let me know if you have any more problems with the patch.. 

James

--
|---|




___
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