[Orgmode] Bugfix for org-export-format-source-code-or-example

2009-06-19 Thread sand
I switched my 'org-export-html-extension' variable from "html" to "xhtml" and found that code examples are being formatted incorrectly. I use Firefox, and when Firefox has (what it thinks is) HTML-in-XML, it uses Standards Mode. This happens: - if you get the document from a server and its MIM

Re: [Orgmode] Re: user-defined agenda sorting

2009-06-19 Thread Carsten Dominik
On Jun 19, 2009, at 10:00 PM, Samuel Wales wrote: Thanks. Just to confirm, to get the inherited tags and the priority letter, I have to go to the original buffer? No. The priority letter is still in the string, you can use a regular expression to get it directly from a (or (and (strin

Re: [Orgmode] org-remember templates with dynamic target headline

2009-06-19 Thread Carsten Dominik
On Jun 20, 2009, at 1:09 AM, Keith Swartz wrote: Hi Carsten, I think that would work, yes. Can you give an example of what it would look like now? Are you saying we can use a function call for a single element, or to produce the entire list? Please see Jere's answer in the "Use environme

[Orgmode] Clocking time from git log

2009-06-19 Thread Jeff Kowalczyk
I would like to clock time in org mode from git commit logs. The simple case I'd like to handle is continuous commit activity on a single branch without merges, formatted as org-mode headings at a fixed level. The following git log format provides a useful starting point for manual editing: $ g

Re: [Orgmode] Use environment variable for location of templates?

2009-06-19 Thread Nick Dokos
Jere McDevitt wrote: > I think the issue is that you need to supply a function to be invoked > to create the file name. > > I tested your approach and found if you change the line to use a > lambda function > >        ("Work Tasks" ?t "* TODO %U %?\n\n  %i\n  %a" (lambda() (concat > org-directo

Re: [Orgmode] Use environment variable for location of templates?

2009-06-19 Thread Jere McDevitt
I think the issue is that you need to supply a function to be invoked to create the file name. I tested your approach and found if you change the line to use a lambda function ("Work Tasks" ?t "* TODO %U %?\n\n %i\n %a" (lambda() (concat org-directory "tasks.org"))) seems to work. Make

Re: [Orgmode] Error saving remember item in non org-mode buffer

2009-06-19 Thread Jere McDevitt
Oh, I'm familiar with the file variables and all, thanks for the tip. Since the org-remember code is written to support files that are not in org-mode as targets of remember items, it just seemed to me it shouldn't then switch back to assuming it was an org mode file simply because the text being

[Orgmode] Re: Clocking time against checkbox items

2009-06-19 Thread Bernt Hansen
Keith Lancaster writes: > I've not seen a way to do this thus far - > > I'm experimenting with using task clocking in org-mode and was > wondering if there is a way to clock in and out on a checkbox item. No you can only clock tasks. > I might have a TODO with several checkboxes under it - sort

Re: [Orgmode] org-remember templates with dynamic target headline

2009-06-19 Thread Keith Swartz
Hi Carsten, I think that would work, yes. Can you give an example of what it would look like now? Are you saying we can use a function call for a single element, or to produce the entire list? Thanks, Keith Carsten Dominik wrote: On Jun 17, 2009, at 8:20 AM, Nick Dokos wrote: Daniel J.

[Orgmode] [ANN] org-crypt.el Version 0.4

2009-06-19 Thread Peter Jones
This version includes two patches from Vitaly Ostanin and a new function. The new function is `org-crypt-use-before-save-magic'. When called, it will add a before-save hook that encrypts all tagged entries. Example usage: (require 'org-crypt) (org-crypt-use-before-save-magic) The before-save h

[Orgmode] [patch] Link abbreviations : left-trim the tag

2009-06-19 Thread Nicolas Girard
Hi, the following patch left-trims the tag in a link abbreviation ; this allows to write [[google: org-mode]] for better readability. -- Nicolas diff --git a/lisp/org.el b/lisp/org.el index 07d790f..8aef3c7 100644 --- a/lisp/org.el +++ b/lisp/org.el @@ -6830,7 +6830,7 @@ call CMD." (defun org-

[Orgmode] make install-info

2009-06-19 Thread Nicolas Girard
Hi, i just noticed two things related to org-mode's info manual: 1) currently, running make install doesn't install an updated version of the info manual. I'd suggest to get the "install" target to depend on "install-info" so that installing a new version of org-mode also installs the appropriate

Re: [Orgmode] Re: user-defined agenda sorting

2009-06-19 Thread Samuel Wales
Thanks. Just to confirm, to get the inherited tags and the priority letter, I have to go to the original buffer? On Fri, Jun 19, 2009 at 08:39, Carsten Dominik wrote: > > On Jun 16, 2009, at 11:13 AM, Samuel Wales wrote: > >> If my skills at cargo-cult programming can summon the air force, then >

[Orgmode] Clocking time against checkbox items

2009-06-19 Thread Keith Lancaster
I've not seen a way to do this thus far - I'm experimenting with using task clocking in org-mode and was wondering if there is a way to clock in and out on a checkbox item. I might have a TODO with several checkboxes under it - sort of mini tasks, that I still would like to track from a tim

Re: [Orgmode] checkbox problem

2009-06-19 Thread Samuel Wales
Interesting. Just as a brainstorm, I wonder if there is a block that could achieve the same effect? Or, perhaps, if indentation that looks like the following could be handled automatically? - item - subitem this is stuff pasted flush left. we know that it is a body because there is no bla

Re: [Orgmode] Feature suggestion: context sensitive movement

2009-06-19 Thread Samuel Wales
These look very useful. Is there one for moving to the parent item, and is there one for moving to the item first line analogous to back-to-heading? My idea is to write a command that does something approx. like this: ;;;(cond ;;; ((org-at-item-p) (org-item-up)) ;parent ;;; ((org-i

Re: [Orgmode] org-info.js: new navigation history

2009-06-19 Thread Xin Shi
Hi Sebastian, I have an idea of testing whether it works or not. In the orgmode page: http://orgmode.org/Changes.html#sec-2.1.1 It's talking about the custom ID. Could you try to add an example after line: Links written like [[#my-target-name] ] can be used to target a custom ID. For example:

[Orgmode] Use environment variable for location of templates?

2009-06-19 Thread Nathan Neff
Hello, I'm a beginner at lisp/emacs, and realize this is a basic question. I would like to use an environment variable WORKDIR to specify the directory where my remember templates are located. I would like to have a template located in WORKDIR/tasks.org Using the code below, when I invoke remem

Re: [Orgmode] orgtbl-mode-map is missing TAB-related bindings

2009-06-19 Thread Carsten Dominik
Hi Derek, thank you for your report. I have added this binding, and also one for backtab. Please verify that this is now working correctly. - Carsten On Jun 16, 2009, at 4:01 AM, s...@blarg.net wrote: The Emacs 23 org-table.el library (6.21b) includes a binding for org-table-previous-field:

Re: [Orgmode] org-exp-blocks: what about previewing blocks ?

2009-06-19 Thread Carsten Dominik
On Jun 18, 2009, at 11:32 AM, Nicolas Girard wrote: 2009/6/18 Carsten Dominik On Jun 17, 2009, at 2:40 AM, Nicolas Girard wrote: Hi all, currently the code in org-exp-blocks is intended for pre-processing only. It seems to me like org-mode would gain a very powerful feature, if blocks co

Re: [Orgmode] Re: user-defined agenda sorting

2009-06-19 Thread Carsten Dominik
On Jun 16, 2009, at 11:13 AM, Samuel Wales wrote: If my skills at cargo-cult programming can summon the air force, then (get-text-property 1 'priority a/b] will work. But I'm not sure if there are functions for parsing tags etc. Testing seems difficult as cut and paste of headline strings see

Re: [Orgmode] suggestion for file hyperlink

2009-06-19 Thread Sebastian Rose
First of all: Return key broken? Those mails are hard to read (mixed long lines and code - see below). Second: This works: [[file:/path to/my file.txt]] Regards, Sebastian Michael Brand writes: > suggestion for file hyperlink, from my point of view almost a bug: > > I can understand that

[Orgmode] Re: suggestion for file hyperlink

2009-06-19 Thread Bernt Hansen
Link to the file as follows: C-u C-u C-c C-l enter patch to file and a description. HTH, Bernt Michael Brand writes: > suggestion for file hyperlink, from my point of view almost a bug: > > I can understand that the following line in the file work.org can not > hyperlink to the file '/path

Re: [Orgmode] org-info.js: new navigation history

2009-06-19 Thread Sebastian Rose
Hm - the following methods work here. As I found in http://article.gmane.org/gmane.emacs.orgmode/13047/match=custom+id they shouldn't. Seems the links should be prepended with the hash sign as you proposed. But it works both ways here (org-mode from today). I jumped the gun and took a look in a t

[Orgmode] a few suggestions for org-mode table

2009-06-19 Thread Michael Brand
1) I would like to have the fixed width columns in tables to be able to wrap around text as an alternative to the now implemented text truncation. As a "workaround" I use this: | x | first letter | | y | the greek | | | \ letter | | | \ ypsilon | | | z still empty | | t | x,

[Orgmode] suggestion for file hyperlink

2009-06-19 Thread Michael Brand
suggestion for file hyperlink, from my point of view almost a bug: I can understand that the following line in the file work.org can not hyperlink to the file '/path to/my file.txt': - todo: send file:/path to/my file.txt to Bill But I would like very much - todo: send file:'/path to/my file.txt

Re: [Orgmode] org-info.js: new navigation history

2009-06-19 Thread Xin Shi
Hi Sebastian, I tried that. Now in the published file, the link becomes "pagename#sec-2.1.1", not the ID name. At the same time, when I click on it, it still does not move. :( Xin On Fri, Jun 19, 2009 at 11:09 AM, Sebastian Rose wrote: > Xin Shi writes: > > Hi Sebastian, > > > > So, I got a r

Re: [Orgmode] org-info.js: new navigation history

2009-06-19 Thread Sebastian Rose
Xin Shi writes: > Hi Sebastian, > > So, I got a related question is how to jump internally during the info mode? > For example: > > In one place I defined: > :CUSTOM_ID: tab-compare > > In another place in the same org file, I want to link to that position by > [[#tab-compare][table]]. Ahh - g

Re: [Orgmode] org-info.js: new navigation history

2009-06-19 Thread Sebastian Rose
Xin Shi writes: > Hi Sebastian, > > So, I got a related question is how to jump internally during the info mode? > For example: > > In one place I defined: > :CUSTOM_ID: tab-compare > > In another place in the same org file, I want to link to that position by > [[#tab-compare][table]]. > It does

[Orgmode] Re: BUG: refile leaves END line of inline tasks

2009-06-19 Thread Matthew Lundin
"Peter Westlake" writes: > If you have a multi-line inline task, with an END line, then refiling it > leaves the END line behind. Since it isn't needed at the destination, it > should just be deleted. > >*** TODO example of refile bug >C-c C-w takes these lines

[Orgmode] BUG: links to inline tasks

2009-06-19 Thread Peter Westlake
Another small bug in the excellent inline task module: making a link with "C-C l" anywhere below an inline task causes the link to attach to the inline task. I think it would be better if it only did that if point was in the task headline or its drawers, otherwise it should link to the parent task.

Re: [Orgmode] org-info.js: new navigation history

2009-06-19 Thread Xin Shi
Hi Sebastian, So, I got a related question is how to jump internally during the info mode? For example: In one place I defined: :CUSTOM_ID: tab-compare In another place in the same org file, I want to link to that position by [[#tab-compare][table]]. It does not jump to that position by the ja

[Orgmode] BUG: refile leaves END line of inline tasks

2009-06-19 Thread Peter Westlake
First, thank you for the excellent inline tasks feature! I use it a lot, and came across this bug as a result. If you have a multi-line inline task, with an END line, then refiling it leaves the END line behind. Since it isn't needed at the destination, it should just be deleted. *

Re: [Orgmode] capturing headings with |||

2009-06-19 Thread Giovanni Ridolfi
My fault! I should have re-loaded emacs. sorry for the noise :-( 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

Re: [Orgmode] ditaa.jar not found

2009-06-19 Thread Carsten Dominik
Applied, thanks. - Carsten On Jun 19, 2009, at 10:51 AM, Sebastian Rose wrote: The path to ditaa.jar seems to have changed. Debugger entered--Lisp error: (error "Could not find ditaa.jar at /home/sebastian/emacs/lisp/ext/org-mode/scripts/ditaa.jar") signal(error ("Could not find ditaa.jar

Re: [Orgmode] capturing headings with |||

2009-06-19 Thread Carsten Dominik
On Jun 19, 2009, at 3:09 PM, Giovanni Ridolfi wrote: --- Gio 18/6/09, Carsten Dominik ha scritto: It is a bug, the vertical bar should be escaped when capturing. It is now. Org-mode version 6.27trans (of the 19th of June 2009 12:16) GNU Emacs 23.0.94.1 (i386-mingw-nt5.1.2600) of 2009-0

Re: [Orgmode] capturing headings with |||

2009-06-19 Thread Giovanni Ridolfi
--- Gio 18/6/09, Carsten Dominik ha scritto: > > It is a bug, the vertical bar should be escaped when > capturing. > It is now. Org-mode version 6.27trans (of the 19th of June 2009 12:16) GNU Emacs 23.0.94.1 (i386-mingw-nt5.1.2600) of 2009-05-24 on SOFT-MJASON ...well I can't save my column v

[Orgmode] Re: Feature suggestion: context sensitive movement

2009-06-19 Thread Bernt Hansen
Daniel Clemente writes: > El dj, jun 18 2009 a les 16:10, Sebastian Rose va escriure: >> >> We now have: >> >> >> C-c C-j - traverse the tree using UP and DOWN >> C-c C-u - privious >> C-c C-n - next >> C-c C-b - previous sibling >> C-c C-f - next sibling >> > > I miss one key to go b

Re: [Orgmode] Feature suggestion: context sensitive movement

2009-06-19 Thread Daniel Clemente
El dj, jun 18 2009 a les 16:10, Sebastian Rose va escriure: > > We now have: > > > C-c C-j - traverse the tree using UP and DOWN > C-c C-u - privious > C-c C-n - next > C-c C-b - previous sibling > C-c C-f - next sibling > I miss one key to go back to the current entry's heading (that'

Re: [Orgmode] org-clock-goto: switch to clicked window

2009-06-19 Thread Carsten Dominik
Applied, thanks. - Carsten On Jun 19, 2009, at 1:07 PM, Magnus Henoch wrote: I just discovered that org-clock-in displays the clocked-in task in the mode line, so that I can click it and go back to the Org file, which I really like. I changed it to switch to the window in which I click, by

[Orgmode] org-clock-goto: switch to clicked window

2009-06-19 Thread Magnus Henoch
I just discovered that org-clock-in displays the clocked-in task in the mode line, so that I can click it and go back to the Org file, which I really like. I changed it to switch to the window in which I click, by prepending "@" to the interactive spec of org-clock-goto. Magnus diff --git a/lisp

Re: [Orgmode] [ANN] org-fstree: insert directory subtrees into org buffers / UPDATE

2009-06-19 Thread Andreas Burtzlaff
On Thu, 18 Jun 2009 18:35:32 -0400 Lindsay Todd wrote: > [...] other than having to > figure out a path to the attachment directory. Would be nice if > org-fstree did that for me. > > I have "att:" as a link prefix to my attachment directory; if > org-fstree could expand link prefixes, that wo

Re: [Orgmode] Bug in org-find-entry-with-id

2009-06-19 Thread Carsten Dominik
On Jun 19, 2009, at 12:08 PM, Michael Hohmuth wrote: Hi there, I've attached a critical bug fix for org-find-entry-with-id (relative to org.el in org-6.27a). Without this fix, following ID links to hidden headlines is impossible because org-back-to-heading always jumps back to the last visibl

[Orgmode] Bug in org-find-entry-with-id

2009-06-19 Thread Michael Hohmuth
Hi there, I've attached a critical bug fix for org-find-entry-with-id (relative to org.el in org-6.27a). Without this fix, following ID links to hidden headlines is impossible because org-back-to-heading always jumps back to the last visible headline. This breaks many things, including org-depen

Re: [Orgmode] Re: my-mini-table(something)

2009-06-19 Thread Bastien
Carsten Dominik writes: >> PS: this is not yet documented in the manual. > > It is now. Thanks. Thanks :) -- Bastien ___ Emacs-orgmode mailing list Remember: use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/

Re: [Orgmode] Error saving remember item in non org-mode buffer

2009-06-19 Thread Sebastian Rose
As Carsten posted yesterday: http://www.gnu.org/software/emacs/manual/html_node/emacs/Specifying-File-Variables.html First line of project.todo: -*- mode: org-mode; -*- Sebastian Jere McDevitt writes: > Org-mode version: 6.27a > > I configured org-remember-templates to use a file name

[Orgmode] ditaa.jar not found

2009-06-19 Thread Sebastian Rose
The path to ditaa.jar seems to have changed. Debugger entered--Lisp error: (error "Could not find ditaa.jar at /home/sebastian/emacs/lisp/ext/org-mode/scripts/ditaa.jar") signal(error ("Could not find ditaa.jar at /home/sebastian/emacs/lisp/ext/org-mode/scripts/ditaa.jar")) This p

Re: [Orgmode] checkbox problem

2009-06-19 Thread Sebastian Rose
Hi Thomas, Lists depend entirely on indentation. Sidenote: For long mails and similar texts I use a drawer: (setq org-drawers (quote ("PROPERTIES" "CLOCK" "PHONE" "EMAIL" "REMAIL" "HIDDEN" "LOGBOOK"))) :EMAIL: and :REMAIL: are the ones I use for mails from and to customers. Seb