[O] Sorting CLOCK entries

2015-02-27 Thread Chaitanya Krishna Ande

Hello there,

I was wondering if there is a way to sort clock entries like in the 
clock entries below.


The table is sorted in reverse chronological order except for the last 
two. I was wondering if there is some to sort these entries so that the 
last two entries sit in the right place.


CLOCK: [2015-01-21 Wed 16:37]--[2015-01-21 Wed 16:53] =  0:16
CLOCK: [2014-12-02 Tue 18:29]--[2014-12-02 Tue 18:57] =  0:28
CLOCK: [2014-12-02 Tue 11:50]--[2014-12-02 Tue 12:01] =  0:11
CLOCK: [2014-12-01 Mon 17:32]--[2014-12-01 Mon 17:57] =  0:25
CLOCK: [2014-10-27 Mon 17:10]--[2014-10-27 Mon 17:47] =  0:37
CLOCK: [2014-10-24 Fri 11:17]--[2014-10-24 Fri 11:24] =  0:07
CLOCK: [2014-10-30 Thu 11:22]--[2014-10-30 Thu 11:43] =  0:21
CLOCK: [2014-10-29 Wed 13:22]--[2014-10-29 Wed 13:37] =  0:15
CLOCK: [2014-10-29 Wed 12:05]--[2014-10-29 Wed 12:10] =  0:05
CLOCK: [2014-10-21 Tue 20:13]--[2014-10-21 Tue 20:31] =  0:18
CLOCK: [2014-10-21 Tue 19:03]--[2014-10-21 Tue 19:45] =  0:42
CLOCK: [2014-10-21 Tue 18:27]--[2014-10-21 Tue 18:32] =  0:05
CLOCK: [2014-10-21 Tue 11:33]--[2014-10-21 Tue 11:34] =  0:01
CLOCK: [2014-10-20 Mon 15:05]--[2014-10-20 Mon 15:37] =  0:32
CLOCK: [2014-10-20 Mon 11:55]--[2014-10-20 Mon 12:01] =  0:06
CLOCK: [2014-10-20 Mon 11:07]--[2014-10-20 Mon 11:53] =  0:46
CLOCK: [2014-10-17 Fri 15:43]--[2014-10-17 Fri 15:57] =  0:14
CLOCK: [2014-10-15 Wed 13:12]--[2014-10-15 Wed 13:28] =  0:16
CLOCK: [2014-10-15 Wed 11:44]--[2014-10-15 Wed 11:59] =  0:15
CLOCK: [2014-10-15 Wed 10:48]--[2014-10-15 Wed 10:53] =  0:05
CLOCK: [2014-10-13 Mon 18:23]--[2014-10-13 Mon 19:10] =  0:47
CLOCK: [2014-10-10 Fri 17:52]--[2014-10-10 Fri 18:55] =  1:03
CLOCK: [2014-09-10 Wed 14:29]--[2014-09-10 Wed 16:29] =  2:00
CLOCK: [2014-11-12 Wed 08:34]--[2014-11-12 Wed 08:52] =  0:18
CLOCK: [2014-11-04 Tue 12:58]--[2014-11-04 Tue 13:28] =  0:30

Best regards,
Chai




[O] Word under cursor to internal link

2014-12-18 Thread Chaitanya Krishna
Hello there,

Is there a shortcut to change word under cursor to an internal link?
Basically it is a pain trying to surround with two braces all the time!

C-c C-l does not prompt me to create an internal link.

Best regards,
Chai


Re: [O] Using color in latex export

2014-09-13 Thread Chaitanya Krishna
Thank you (Nick and Tom). Both the solutions above worked.

Regards,
Chai

On Fri, Sep 12, 2014 at 9:53 PM, Thomas S. Dye t...@tsdye.com wrote:

 Aloha Chai,

 Chaitanya Krishna icym...@gmail.com writes:

  Hello all,
 
  I would like to have some text in color when I export my org document to
  latex.
 
  I tried this:
  ...
  #+latex_header: \usepackage{color}
  \textcolor{red}{Text I want in red}

 One way is with a macro, e.g.,

 #+MACRO: red \textcolor{red}{$1}

 This is {{{red(Text I want in red)}}}.

 Which exports to

 This is \textcolor{red}{Text I want in red}.


 Or, more generally,
 #+MACRO: color \textcolor{$1}{$2}

 This is {{{color(green,Text I want in green)}}}.

 Which exports to
 This is \textcolor{green}{Text I want in green}.

 hth,
 Tom

 --
 Thomas S. Dye
 http://www.tsdye.com




-- 
42


[O] Using color in latex export

2014-09-12 Thread Chaitanya Krishna
Hello all,

I would like to have some text in color when I export my org document to
latex.

I tried this:
...
#+latex_header: \usepackage{color}
\textcolor{red}{Text I want in red}
...

But, this is producing
...
\usepackage{color}
\textcolor{red}\{Text I want in red\} in the exported latex document.
...

How can I properly export the org file to latex and still have colored
text. How can I escape braces '{'?

Best regards,
Chai

-- 
42


[O] Bad sexp at line when using org-contacts-anniversaries

2014-02-23 Thread Chaitanya Krishna
Hello there,

This is more of a bug report.

I get a 'Bad sexp at line n' when using org-contacts-anniversaries in my
org files like so.
* Calendar
:calendar:
%%(org-contacts-anniversaries)

I figured out that this occurs when you have a contact in your
contacts.orgfile with a BIRTHDAY property but no associated value. For
example, this
entry throws up an error.
** Nick
:PROPERTIES:
:EMAIL:
:FIRST_NAME: First
:LAST_NAME: Last
:BIRTHDAY:
:ADDRESS:
:PHONE:
:NOTE:
:END:

But this does not.
** Nick
:PROPERTIES:
:EMAIL:
:FIRST_NAME: First
:LAST_NAME: Last
:BIRTHDAY: 1971-01-01
:ADDRESS:
:PHONE:
:NOTE:
:END:

Would be nice if it is fixed or a solution proposed.

Regards,
Chai

-- 
42


[O] How not to show repetitive tasks in the TODO items of agenda view

2014-01-23 Thread Chaitanya Krishna
Hello there,
Maybe someone has already come across this problem. Any help is appreciated.

I have some repetitive tasks which I schedule using the deadline approach.

TODO Search for house
DEADLINE: 2014-01-26 Sun +1w

* Birthdays
TODO Abc Abc
DEADLINE: 2014-01-26 Sun +1y

The problem is that all the birthdays and repetitive tasks are cluttering
my view in agenda TODO items (C-c a t).

Is it possible to make these items show up only in the agenda view (C-c a
a) and not in the TODO items list (C-c a t)

Best regards,
Chai

--
42


[O] How to not show repetitive tasks in agenda view of TODO

2014-01-23 Thread Chaitanya Krishna
Hello there,

Maybe someone has already come across this problem. Any help is appreciated.

I have some repetitive tasks which I schedule using the deadline approach.

TODO Search for house
DEADLINE: 2014-01-26 Sun +1w

* Birthdays
TODO Abc Abc
DEADLINE: 2014-01-26 Sun +1y

The problem is that all the birthdays and repetitive tasks are cluttering
my view in agenda TODO items (C-c a t).

Is it possible to make these items show up only in the agenda view (C-c a
a) and not in the TODO items list (C-c a t)

Best regards,
Chai
-- 
42


[O] org-velocity in GUI

2013-08-05 Thread Chaitanya Krishna
Hello everyone,

I have recently started using emacs and org-mode and this is the first mail
to the list. In fact, shifted to emacs just to use org-mode.

I am having problems using org-velocity from within a GUI both on Linux
using GTK and with MacEmacs. On the terminal it works as it should
intuitively.

The problem occurs when there are more than two matches after a C-c v key
press and the search term. I get to the Follow: option in the mini-buffer
at the bottom, but pressing a number from the choice of (#1, or #2) does
not do anything. But clicking on one of the links does take me the part of
the search that I want to edit.

Is there something wrong that I am doing or is it a bug?

Any help is appreciated.

Cheers,
Chai

-- 
42