emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* right align times in a clocktable
@ 2006-12-21 15:00 J. David Boyd
  2006-12-21 15:14 ` Carsten Dominik
  0 siblings, 1 reply; 3+ messages in thread
From: J. David Boyd @ 2006-12-21 15:00 UTC (permalink / raw)
  To: emacs-orgmode



Is there any way to right align times in a clocktable?  I don't see a variable
for it.

It would make things look much neater if I could align them.

Right now they look like this:

 |         |       | 0:39  |
 |         |       | 23:24 |

and I would like them to look like:

 |         |       |  0:39 |
 |         |       | 23:24 |


Any possibility?

Dave

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: right align times in a clocktable
  2006-12-21 15:00 right align times in a clocktable J. David Boyd
@ 2006-12-21 15:14 ` Carsten Dominik
  2006-12-21 15:52   ` J. David Boyd
  0 siblings, 1 reply; 3+ messages in thread
From: Carsten Dominik @ 2006-12-21 15:14 UTC (permalink / raw)
  To: J. David Boyd; +Cc: emacs-orgmode


On Dec 21, 2006, at 16:00, J. David Boyd wrote:

>
>
> Is there any way to right align times in a clocktable?  I don't see a  
> variable
> for it.
>
> It would make things look much neater if I could align them.
>
> Right now they look like this:
>
>  |         |       | 0:39  |
>  |         |       | 23:24 |
>
> and I would like them to look like:
>
>  |         |       |  0:39 |
>  |         |       | 23:24 |
>
>
> Any possibility?

Org-mode tables align colums to the right when most entries in a
column seem to be numbers.
Tell org that colons can be part a number:

(setq org-table-number-regexp
    
"^\\([<>]?[-+^.0-9]*[0-9][-+^.0-9eEdDx()%:]*\\|\\(0[xX]\\)[0-9a-fA- 
F]+\\)$")

It might actually make sense to change the default in this direction.
I will consider this.

- Carsten



--
Carsten Dominik
Sterrenkundig Instituut "Anton Pannekoek"
Universiteit van Amsterdam
Kruislaan 403
NL-1098SJ Amsterdam
phone: +31 20 525 7477

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: right align times in a clocktable
  2006-12-21 15:14 ` Carsten Dominik
@ 2006-12-21 15:52   ` J. David Boyd
  0 siblings, 0 replies; 3+ messages in thread
From: J. David Boyd @ 2006-12-21 15:52 UTC (permalink / raw)
  To: emacs-orgmode

Carsten Dominik <carsten.dominik@gmail.com> writes:

> On Dec 21, 2006, at 16:00, J. David Boyd wrote:
>
>>
>>
>> Is there any way to right align times in a clocktable?  I don't see
>> a  variable
>> for it.
>>
>> It would make things look much neater if I could align them.
>>
>> Right now they look like this:
>>
>>  |         |       | 0:39  |
>>  |         |       | 23:24 |
>>
>> and I would like them to look like:
>>
>>  |         |       |  0:39 |
>>  |         |       | 23:24 |
>>
>>
>> Any possibility?
>
> Org-mode tables align colums to the right when most entries in a
> column seem to be numbers.
> Tell org that colons can be part a number:
>
> (setq org-table-number-regexp
>    "^\\([<>]?[-+^.0-9]*[0-9][-+^.0-9eEdDx()%:]*\\|\\(0[xX]\\)[0-9a-fA- 
> F]+\\)$")
>
> It might actually make sense to change the default in this direction.
> I will consider this.
>
> - Carsten
>

Ah, it just keeps getting better.

Have a merry christmas!

Dave

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2006-12-21 15:52 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-12-21 15:00 right align times in a clocktable J. David Boyd
2006-12-21 15:14 ` Carsten Dominik
2006-12-21 15:52   ` J. David Boyd

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).