emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* shortcut to create a heading already with todo included
@ 2013-07-23 12:48 Xebar Saram
  2013-07-23 13:26 ` Oleh
  0 siblings, 1 reply; 3+ messages in thread
From: Xebar Saram @ 2013-07-23 12:48 UTC (permalink / raw)
  To: org mode

[-- Attachment #1: Type: text/plain, Size: 580 bytes --]

Hya guys

i know this is probably a silly question but does anyone know how to make a
shortcut that inserts a heading which already includes a TODO state?
 i have a main file named todo.org in which all heading are todos. each
time i need to do a 2 step process: add heading and then add a todo state,
so im looking for a quicker way to add a todo item (IE a keybind to add a
already todo header).

another better solution if possible would be maybe reassign the C-Enter
keybind to create a todo header only in a specific file (todo.org) if
thatspossible?

thx alot in advance

Z

[-- Attachment #2: Type: text/html, Size: 1136 bytes --]

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

* Re: shortcut to create a heading already with todo included
  2013-07-23 12:48 shortcut to create a heading already with todo included Xebar Saram
@ 2013-07-23 13:26 ` Oleh
  2013-07-23 18:49   ` Darlan Cavalcante Moreira
  0 siblings, 1 reply; 3+ messages in thread
From: Oleh @ 2013-07-23 13:26 UTC (permalink / raw)
  To: Xebar Saram; +Cc: org mode

Hi,

This task is handled with capture templates.
Here's how I do it:

(setq org-capture-templates
    '(("t" "Todo" entry (file+headline (concat org.d "gtd.org") "Tasks")
        "* TODO %^{Brief Description} %^g\n%?\nAdded: %U  %i\n")
    ;; more templates here
))

(global-set-key (kbd "C-~") 'org-capture)

regards,
Oleh


On Tue, Jul 23, 2013 at 2:48 PM, Xebar Saram <zeltakc@gmail.com> wrote:
> Hya guys
>
> i know this is probably a silly question but does anyone know how to make a
> shortcut that inserts a heading which already includes a TODO state?
>  i have a main file named todo.org in which all heading are todos. each time
> i need to do a 2 step process: add heading and then add a todo state, so im
> looking for a quicker way to add a todo item (IE a keybind to add a already
> todo header).
>
> another better solution if possible would be maybe reassign the C-Enter
> keybind to create a todo header only in a specific file (todo.org) if thats
> possible?
>
> thx alot in advance
>
> Z

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

* Re: shortcut to create a heading already with todo included
  2013-07-23 13:26 ` Oleh
@ 2013-07-23 18:49   ` Darlan Cavalcante Moreira
  0 siblings, 0 replies; 3+ messages in thread
From: Darlan Cavalcante Moreira @ 2013-07-23 18:49 UTC (permalink / raw)
  To: Xebar Saram; +Cc: org mode


Capture is the way to go for a general (and anyware) way to create
TODOs. But for something simple, you can use <M-return> to create a new
headline in org-mode and <M-S-return> to create a headline with a TODO.

-- 
Darlan Cavalcante Moreira
darcamo@gmail.com


ohwoeowho@gmail.com writes:

> Hi,
>
> This task is handled with capture templates.
> Here's how I do it:
>
> (setq org-capture-templates
>     '(("t" "Todo" entry (file+headline (concat org.d "gtd.org") "Tasks")
>         "* TODO %^{Brief Description} %^g\n%?\nAdded: %U  %i\n")
>     ;; more templates here
> ))
>
> (global-set-key (kbd "C-~") 'org-capture)
>
> regards,
> Oleh
>
>
> On Tue, Jul 23, 2013 at 2:48 PM, Xebar Saram <zeltakc@gmail.com> wrote:
>> Hya guys
>>
>> i know this is probably a silly question but does anyone know how to make a
>> shortcut that inserts a heading which already includes a TODO state?
>>  i have a main file named todo.org in which all heading are todos. each time
>> i need to do a 2 step process: add heading and then add a todo state, so im
>> looking for a quicker way to add a todo item (IE a keybind to add a already
>> todo header).
>>
>> another better solution if possible would be maybe reassign the C-Enter
>> keybind to create a todo header only in a specific file (todo.org) if thats
>> possible?
>>
>> thx alot in advance
>>
>> Z

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

end of thread, other threads:[~2013-07-23 18:49 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-07-23 12:48 shortcut to create a heading already with todo included Xebar Saram
2013-07-23 13:26 ` Oleh
2013-07-23 18:49   ` Darlan Cavalcante Moreira

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