Re: [Orgmode] Format for timestamp export

2009-04-13 Thread Christopher Suckling


On 13 Apr 2009, at 07:54, Carsten Dominik wrote:


Fixed for LaTeX export, and documented.

- Carsten


Thanks. Works perfectly.

Christopher



On Apr 12, 2009, at 8:37 PM, Daniel Clemente wrote:


El jue, abr 09 2009, Carsten Dominik va escriure:


Can I format timestamps on export?


You can customize them for display, which will also
transfer to exported files.
Check out the variables `org-display-custom-times' and
`org-time-stamp-custom-formats'.

Thanks; I didn't know that org-display-custom-times would affect  
also the export. Could the documentation say that?






___
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] Personal Finance in org-mode?

2009-04-13 Thread Madhu Rao

Has anyone tried to configure org in a personal finance manager mode?
I looked in the mail archive, but couldn't find any related posts.

The finance applications on Mac OS are either too clumsy or  
sophisticated.
I thought org-mode with some remember capture templates will do that  
stuff

rather efficiently.
If anyone has already set this up, that will help get started.

Thanks, Madhu



___
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] example - add remember template as a top-level heading

2009-04-13 Thread dericbytes
Carsten Dominik  gmail.com> writes:

> 
> 
> On Apr 9, 2009, at 3:37 PM, Deric Bytes wrote:
> 
> > I was hoping to add a top-level heading to my file. I changed
> 
> Set the headline field in the template to 'top or 'bottom to get top- 
> level headlines and the beginning or end of the file, respectively.
> 
> - Carsten

Thanks  I had to look up what the headline field was. Also didn't know
whether to use "top", 'top, or top.  So here's my working template to save
some people time.


  (setq org-remember-templates
  '(("Task" ?t "* %^{Task status|TODO|STARTED|SUBTASK|DONE} %^{Brief
Description} %^G\n %^{subject}p  %^{other-subjects}p  %^{sub-subjects}p 
%^{keywords}p %?\nAdded: %U \n" "~/notes/now.org" top))






___
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] Personal Finance in org-mode?

2009-04-13 Thread Carsten Dominik


On Apr 13, 2009, at 11:19 AM, Madhu Rao wrote:


Has anyone tried to configure org in a personal finance manager mode?
I looked in the mail archive, but couldn't find any related posts.

The finance applications on Mac OS are either too clumsy or  
sophisticated.
I thought org-mode with some remember capture templates will do that  
stuff

rather efficiently.
If anyone has already set this up, that will help get started.


While I have not used it myself, I would suspect that people,
who get along with Org well, would be candidates for trying ledger
by John Wiegley

- 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] Personal Finance in org-mode?

2009-04-13 Thread Matthew Lundin
Hi Madhu,

Madhu Rao  writes:

> Has anyone tried to configure org in a personal finance manager mode?
> I looked in the mail archive, but couldn't find any related posts.

These threads contain some ideas about tracking finances in org-mode:

- http://thread.gmane.org/gmane.emacs.orgmode/10234/focus=10249
- http://thread.gmane.org/gmane.emacs.orgmode/9663
- http://thread.gmane.org/gmane.comp.finance.ledger.general/838

> I thought org-mode with some remember capture templates will do that
> stuff rather efficiently.

It depends on what you'd like to accomplish. For a robust accounting
solution (i.e., something that can easily tracks all your finances and
can spit out data in all sorts of ways) I would second Carsten's
recommendation of John Wiegley's ledger.

For a while, I tried a home-brewed double bookkeeping solution in org
mode using properties and columns. I used a small subtree for each
transaction with one subitem for the debit and one for the credit, with
properties spendtype, account, assets, liabilities, income, equity,
expenses. The structure of the tree was as follows:

,
| * Accounts
| ** April
| *** [2009-04-13 Mon] Transaction Name
|  [2009-04-13 Mon] Debit
|  [2009-04-13 Mon] Credit
| *** Opening Balances...
`

The sum of all my accounts could then be viewed by invoking column view
on the Accounts heading. Particular accounts could by summed up by using
agenda views and org-collector.

The problem here, of course, is that once you have a large number of
entries, it takes a lot of CPU cycles just to generate an account
summary, since org-mode has to climb the entire outline tree and grab
all the properties. In the end, I settled on ledger because of its
power, speed, and flexibility.

Best,
Matt


___
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] Personal Finance in org-mode?

2009-04-13 Thread Russell Adams
Madhu,

I second ledger. I've found it to be very powerful! After much use, I
even wrote a CSV importer to bring in my bank statements.

Now if I could only use remember-mode to hot-add ledger entries.

Thanks.

On Mon, Apr 13, 2009 at 01:53:59PM +0200, Carsten Dominik wrote:
>
> On Apr 13, 2009, at 11:19 AM, Madhu Rao wrote:
>
>> Has anyone tried to configure org in a personal finance manager mode?
>> I looked in the mail archive, but couldn't find any related posts.
>>
>> The finance applications on Mac OS are either too clumsy or  
>> sophisticated.
>> I thought org-mode with some remember capture templates will do that  
>> stuff
>> rather efficiently.
>> If anyone has already set this up, that will help get started.
>
> While I have not used it myself, I would suspect that people,
> who get along with Org well, would be candidates for trying ledger
> by John Wiegley
>
> - 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
>


--
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] Personal Finance in org-mode?

2009-04-13 Thread Carsten Dominik


On Apr 13, 2009, at 4:50 PM, Russell Adams wrote:


Madhu,

I second ledger. I've found it to be very powerful! After much use, I
even wrote a CSV importer to bring in my bank statements.

Now if I could only use remember-mode to hot-add ledger entries.


That will be coming soon, one way or another.

- Carsten




Thanks.

On Mon, Apr 13, 2009 at 01:53:59PM +0200, Carsten Dominik wrote:


On Apr 13, 2009, at 11:19 AM, Madhu Rao wrote:

Has anyone tried to configure org in a personal finance manager  
mode?

I looked in the mail archive, but couldn't find any related posts.

The finance applications on Mac OS are either too clumsy or
sophisticated.
I thought org-mode with some remember capture templates will do that
stuff
rather efficiently.
If anyone has already set this up, that will help get started.


While I have not used it myself, I would suspect that people,
who get along with Org well, would be candidates for trying ledger
by John Wiegley

- 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




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




___
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] Personal Finance in org-mode?

2009-04-13 Thread Madhu Rao



Hi Madhu,

Madhu Rao  writes:


Has anyone tried to configure org in a personal finance manager mode?
I looked in the mail archive, but couldn't find any related posts.


These threads contain some ideas about tracking finances in org-mode:

- http://thread.gmane.org/gmane.emacs.orgmode/10234/focus=10249
- http://thread.gmane.org/gmane.emacs.orgmode/9663
- http://thread.gmane.org/gmane.comp.finance.ledger.general/838


Hi Matt, Thanks for these links.




I thought org-mode with some remember capture templates will do that
stuff rather efficiently.


It depends on what you'd like to accomplish. For a robust accounting
solution (i.e., something that can easily tracks all your finances and
can spit out data in all sorts of ways) I would second Carsten's
recommendation of John Wiegley's ledger.

For a while, I tried a home-brewed double bookkeeping solution in org
mode using properties and columns. I used a small subtree for each
transaction with one subitem for the debit and one for the credit,  
with

properties spendtype, account, assets, liabilities, income, equity,
expenses. The structure of the tree was as follows:



Yes, this is pretty much what I was intending to keep track of. I did
setup something similar to the outline below. Also, a remember
capture, with tags and property query for entry and the category:   

("Finance" ?f "** %^{Title} %^g \n %u %^{HOW_MUCH}p %^{CATEGORY}p" "~/ 
Org/Finance.org")



,
| * Accounts
| ** April
| *** [2009-04-13 Mon] Transaction Name
|  [2009-04-13 Mon] Debit
|  [2009-04-13 Mon] Credit
| *** Opening Balances...
`

The sum of all my accounts could then be viewed by invoking column  
view
on the Accounts heading. Particular accounts could by summed up by  
using

agenda views and org-collector.


Yes, this will suffice. I will start off with using column view and
see how this scales.

Thanks for your notes.

Regards, Madhu



The problem here, of course, is that once you have a large number of
entries, it takes a lot of CPU cycles just to generate an account
summary, since org-mode has to climb the entire outline tree and grab
all the properties. In the end, I settled on ledger because of its
power, speed, and flexibility.

Best,
Matt




___
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] #+include: export header lines

2009-04-13 Thread Dan Davison
Dear list,

I'm failing to work out how to #+include: a file containing export
header directives in such a way that the directives are obeyed.

I tried creating this file tmp.org


#+include: "~/src/common/org-header.org"
* heading 1


where the contents of org-header.org are


#+OPTIONS:H:3 num:nil toc:t \n:nil @:t ::t |:t ^:{} -:t f:t *:t TeX:t 
LaTeX:t skip:nil d:(HIDE) tags:not-in-toc
#+STYLE: 
#+AUTHOR: Dan Davison
#+EMAIL:  davi...@stats.ox.ac.uk

* this is org-header; that_1 shouldn't be a subscript


On export of tmp.org I *do* get the heading from org-header.org, but I
do not get the effects of the export directives in org-header.org
(dan.css didn't happen, and the _1 subscript comes out as a
subscript). In contrast when I export org-header.org itself, I do of
course get the effects of the export options.

I am conscious that most if not all of my previous posts of this nature
have resulted in me being pointed to the section of the manual I
*should* have been familiar with! So, for the record, for this problem I
looked at

http://orgmode.org/manual/Export-options.html#Export-options
http://orgmode.org/manual/Include-files.html#index-g_t_0023_002bINCLUDE-878

OTOH I just grepped through the contents of Worg and found no such
mechanism being used, so perhaps I am for once asking for something that
doesn't already exist.

Thanks a lot,

Dan


___
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] Point trapped in link

2009-04-13 Thread Matthew Lundin
Hi Carsten,

Carsten Dominik  writes:

> On Apr 13, 2009, at 3:52 AM, Daniel Clemente wrote:
>
>>>
>>> You can see the point sometimes trapped in the beginning of the
>>> description,  or  not able to move it.
>>>
>>  I can also see this bug; org-mode 6.25trans. The cursor is in fact
>> moving through the invisible syntax, which at the beginning is
>> [[http://www.google.com/ ][ (so after 26 , you see it move
>> again).
>
> I have fixed this temporarily, but I still need to investigate what
> the state of affairs is in Emacs 23 with intangible properties.

After pulling the most recent updates from the git repo, I am finding
that the point still gets trapped at the beginning and end of links
(i.e., when using C-f and M-f and C-b and M-b).

Here's my current emacs: GNU Emacs 23.0.91.1 (i486-pc-linux-gnu, GTK+
Version 2.14.4) on Ubuntu 8.10.

- Matt


___
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] James TD Smith

2009-04-13 Thread Carsten Dominik

Hi James,

could you please get in touch with me?

Thanks

- 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: Personal Finance in org-mode?

2009-04-13 Thread Leo
On 2009-04-13 15:50 +0100, Russell Adams wrote:
> Madhu,
>
> I second ledger. I've found it to be very powerful! After much use, I
> even wrote a CSV importer to bring in my bank statements.
>
> Now if I could only use remember-mode to hot-add ledger entries.

I just installed ledger on macosx yesterday. It looks very powerful.

> Thanks.

-- 
.: Leo :. [ sdl.web AT gmail.com ] .: I use Emacs :.



___
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 fold a footer

2009-04-13 Thread Daniel Clemente

Hi, this is a minor issue. I'd like three sections and a footer:


* Section 1
111
* Section 2
222
* Section 3
333

---
Footer


  However, the footer appears as part of section 3, and it is hidden in the 
outline view (you don't know there will be a footer until you expand section 3).
  If I add a new section, „* Footer“, then this heading will be exported; this 
is also not nice.

  Is there some trick to add a footer at the end?

  (I think org-publish can add footers, but I would prefer a solution inside 
the same file; something like #+TEXT: but for footers).


 Thanks,
Daniel


___
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] export to html: timestamp-kwd

2009-04-13 Thread Eraldo Helal
Salve Orgers!


When exporting to html my auto-timestamp looks like this:

> CLOSED:   class="timestamp">2009-04-14 Tue 00:52
>
> I would rather like to have it like this:

CLOSED: 2009-04-14
Tue 00:52

In words: I would like timestamp keyword html span to include the timestamp.

Reason: This would enable me to move the whole thing to the right side of
the headline (float: right).

Comments on this idea are welcome :)


Greetings and happy orging,
Eraldo

Ps: If you have any other idea on how to get the same result.. please let me
know.
___
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] Point trapped in link

2009-04-13 Thread Matthew Lundin
Hi Carsten,

Matthew Lundin  writes:

>> I have fixed this temporarily, but I still need to investigate what
>> the state of affairs is in Emacs 23 with intangible properties.
>
> After pulling the most recent updates from the git repo, I am finding
> that the point still gets trapped at the beginning and end of links
> (i.e., when using C-f and M-f and C-b and M-b).
>
> Here's my current emacs: GNU Emacs 23.0.91.1 (i486-pc-linux-gnu, GTK+
> Version 2.14.4) on Ubuntu 8.10.

As a follow up I can confirm that this is an issue in Emacs 23 (which,
of course, you already know).

Moving through links works fine on GNU Emacs 22.3.1
(i386-apple-darwin9.6.0, Carbon Version 1.6.0) on Mac OS 10.5.

Thanks,
Matt



___
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] Name of file being exported.

2009-04-13 Thread Noufal Ibrahim

[apologies if this is a repost. I was not on the list]

Hello everyone,
   I'm a recent org-mode convert (after hearing the talk) and without 
question, it's one of the best things I've ever used. Thank you for 
making such a wonderful program.


   However, org-mode and emacs being what they are, I'm tempted to try 
and customise it to do more. :)


   I'm trying a simple trick to insert the version control history of 
my current file formatted as a table when I export the org file into 
HTML or ascii. I need this to track changes to design documents etc.


   I'm using dynamic blocks to do this and have a function defined to 
insert the output of


git log --pretty='format:|%ad|%s|' (buffer-file-name)

into the block.

   This works fine if I run org-update-all-dblocks from the org buffer 
itself manually. If I export it however, (buffer-file-name) returns a 
null string so I get the entire log of my repository which is not what I 
want.


   Is there a way to get the buffer/file which is being exported so 
that I can use that in the command rather than buffer-file-name?


   Thanks in advance and for such an awesome mode.

--
~noufal
http://nibrahim.net.in/


___
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] org-remember: Skip creation of the default '* Notes' task

2009-04-13 Thread Manish
  On Fri, Apr 10, 2009 at 2:49 AM, Bernt Hansen wrote:
  [snip (17 lines)]
  > Carsten, (and list)
  >
  > I've started using this new workflow just this week and org
remember insisted
  > on creating an annoying '* Notes' task before my #+FILETAGS: line
since there
  > were no tasks in the file yet. I'm refiling as top-level tasks at the end
  > of the file and the '* Notes' task was just in the way. I couldn't find any
  > good reason to keep this so this patch removes the requirement. I find tasks
  > to refile with a custom agenda tag search looking for the tag
REFILE and this
  > change gets rid of the bogus 'Notes' task that kept showing up.

If I may ask a question about your workflow.  Once you have constructed the
agenda view with all tasks tagged "REFILE", how do you go and start refiling
them?  Do you have any way to do refile from the agenda view itself or do you
visit the org file containing the task?

Thanks
-- 
Manish


___
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