emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* calendar problem with schedule
@ 2012-01-01  2:22 Richard Riley
       [not found] ` <rileyrg@gmail.com>
  0 siblings, 1 reply; 26+ messages in thread
From: Richard Riley @ 2012-01-01  2:22 UTC (permalink / raw)
  To: emacs-orgmode


Ive not been using org mode for a while, just came back to and using
latest 24 snapshot from git I get

,----
| Debugger entered--Lisp error: (void-function window-combination-p)
|   window-combination-p(#<window 8> nil)
|   calendar-generate-window(1 2012)
|   calendar-basic-setup(nil)
|   calendar()
|   org-read-date(nil to-time nil nil nil nil)
|   byte-code("\b\204>	\306>\203>\212\307\310!\210\212\311 \210`)\312	\313=\203!\v\202\"\f\n\310#\203=\314\315!\316\317\320!\".\205;\321!/)	\203R\b\206Q\322\323\324\323\211./&\x100\203}	\325\235\203}	\313=\203h\x0e1\202j\x0e2\326\261\210\327\b3\323\211\2114C&\210\323\212\214\323\211\211\211\2115\x1e678\307\310!\210\3309\331P!\210\315\225b\210i8\332\225b\210m\203\255\333c\210\202\260\315u\210	\204\302\330\334:P!\204\302\335\336\323\"\210\3309!\204\345\330\337;\340Q!\203\345\314\315!<\232\204\345\332\224\332\225}\210\202\372\341\333!\210\342u\210``}\210=\203\372\3438!\210	>B77\203L\x0e7\211A7@\2116\313=\203\x01\312\v\323\310#\204;\x0e6\344=\203+\312\f\323\310#\204;\x0e6\345=\203\x01\312?\323\310#\203\x01\346\347!\210\330\350!\203\x01\346\347!\210\202\x01\330\351!\203V\346\347!\210=\203dn\203d\3438!\210	\203\322n\204x`Sf\352=\204x\326\202y\347	\313=\203\204\x0e1\202\227	\344=\203\217\x0e2\202\227	\345=\205\227\x0e@\326\261\210\327\b3\206\252	\345=\205\252\x0eA	\345=\323\2114C&\x15n\204\314`Sf\352=\204\314\323f\352=\204\314\326\202\315\347c\210\315\x7f\210eb\210~\210\330\353!\203\353`Sf\354\232\203\353`S\355 |\210.\a\207" [time what end org-scheduled-time-regexp org-deadline-time-regexp ts (scheduled deadline) org-back-to-heading t outline-next-heading re-search-forward scheduled match-string 1 apply encode-time org-parse-time-string org-get-compact-tod org-read-date nil to-time (scheduled deadline) " " org-insert-time-stamp looking-at "\\( *\\)[^\n]*" 0 "\n" "[ 	]*" throw exit "[^\n]*?" "[^\n]*" insert-before-markers -1 org-indent-to-column deadline closed replace-match "" "--+<[^>]+>" "^[ 	]+" 32 "[ 	]*\n" 10 point-at-eol default-time default-input org-insert-labeled-timestamps-at-point org-scheduled-string ...] 8)
|   org-add-planning-info(scheduled nil closed)
|   org-schedule(nil)
|   call-interactively(org-schedule nil nil)
`----

when pressing C-c C-s to schedule an item.

Whats changed or what have I configured wrong?

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

* Re: calendar problem with schedule
       [not found] ` <rileyrg@gmail.com>
@ 2012-01-01  4:51   ` Nick Dokos
  2012-01-03 20:34     ` Richard Riley
  2012-02-17 21:14   ` Limit todo window Nick Dokos
  2012-04-14 22:45   ` Capturing to current file Nick Dokos
  2 siblings, 1 reply; 26+ messages in thread
From: Nick Dokos @ 2012-01-01  4:51 UTC (permalink / raw)
  To: emacs-orgmode; +Cc: nicholas.dokos

Richard Riley <rileyrg@gmail.com> wrote:

> 
> Ive not been using org mode for a while, just came back to and using
> latest 24 snapshot from git I get
> 
> ,----
> | Debugger entered--Lisp error: (void-function window-combination-p)
> |   window-combination-p(#<window 8> nil)
> |   calendar-generate-window(1 2012)
> |   calendar-basic-setup(nil)
> |   calendar()

You likely have a mixture of old and new files (what I call a
"frankenstein install"): calendar-generate-window calls
window-combined-p in the current version, and there is no
window-combination-p function, which leads me to believe that you have
old calendar code.

I recommend a thorough cleaning, rebuilding and reinstalling of
emacs. You might want to try a restart of emacs first just to see if it
works, but I wouldn't hold my breath.

Nick

PS. Happy New Year!

> |   org-read-date(nil to-time nil nil nil nil)
> |   byte-code("\b\204>	\306>\203>\212\307\310!\210\212\311 \210`)\312	\313=
> =3D\203!=0B\202\"\f\n\310#\203=3D\314\315!\316\317\320!\".\205;\321!/)	\203=
> R\b\206Q\322\323\324\323\211./&=100\203}	\325\235\203}	\313=3D\203h=0E1\202j=
> =0E2\326\261\210\327\b3\323\211\2114C&\210\323\212\214\323\211\211\211\2115=
> =1E678\307\310!\210\3309\331P!\210\315\225b\210i8\332\225b\210m\203\255\333=
> c\210\202\260\315u\210	\204\302\330\334:P!\204\302\335\336\323\"\210\3309!\=
> 204\345\330\337;\340Q!\203\345\314\315!<\232\204\345\332\224\332\225}\210\2=
> 02\372\341\333!\210\342u\210``}\210=3D\203\372\3438!\210	>B77\203L=0E7\211A=
> 7@\2116\313=3D\203=01\312=0B\323\310#\204;=0E6\344=3D\203+\312\f\323\310#\2=
> 04;=0E6\345=3D\203=01\312?\323\310#\203=01\346\347!\210\330\350!\203=01\346=
> \347!\210\202=01\330\351!\203V\346\347!\210=3D\203dn\203d\3438!\210	\203\32=
> 2n\204x`Sf\352=3D\204x\326\202y\347	\313=3D\203\204=0E1\202\227	\344=3D\203=
> \217=0E2\202\227	\345=3D\205\227=0E@\326\261\210\327\b3\206\252	\345=3D\205\=
> 252=0EA	\345=3D\323\2114C&=15n\204\314`Sf\352=3D\204\314\323f\352=3D\204\31=
> 4\326\202\315\347c\210\315\x7f\210eb\210~\210\330\353!\203\353`Sf\354\232\203\=
> 353`S\355 |\210.=07\207" [time what end org-scheduled-time-regexp org-deadl=
> ine-time-regexp ts (scheduled deadline) org-back-to-heading t outline-next-=
> heading re-search-forward scheduled match-string 1 apply encode-time org-pa=
> rse-time-string org-get-compact-tod org-read-date nil to-time (scheduled de=
> adline) " " org-insert-time-stamp looking-at "\\( *\\)[^\n]*" 0 "\n" "[ 	]*=
> " throw exit "[^\n]*?" "[^\n]*" insert-before-markers -1 org-indent-to-colu=
> mn deadline closed replace-match "" "--+<[^>]+>" "^[ 	]+" 32 "[ 	]*\n" 10 p=
> oint-at-eol default-time default-input org-insert-labeled-timestamps-at-poi=
> nt org-scheduled-string ...] 8)
> |   org-add-planning-info(scheduled nil closed)
> |   org-schedule(nil)
> |   call-interactively(org-schedule nil nil)
> `----
> 
> when pressing C-c C-s to schedule an item.
> 
> Whats changed or what have I configured wrong?
> 
> 

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

* Re: calendar problem with schedule
  2012-01-01  4:51   ` Nick Dokos
@ 2012-01-03 20:34     ` Richard Riley
  2012-01-03 20:48       ` Nick Dokos
  0 siblings, 1 reply; 26+ messages in thread
From: Richard Riley @ 2012-01-03 20:34 UTC (permalink / raw)
  To: emacs-orgmode

Nick Dokos <nicholas.dokos@hp.com> writes:

> Richard Riley <rileyrg@gmail.com> wrote:
>
>> 
>> Ive not been using org mode for a while, just came back to and using
>> latest 24 snapshot from git I get
>> 
>> ,----
>> | Debugger entered--Lisp error: (void-function window-combination-p)
>> |   window-combination-p(#<window 8> nil)
>> |   calendar-generate-window(1 2012)
>> |   calendar-basic-setup(nil)
>> |   calendar()
>
> You likely have a mixture of old and new files (what I call a
> "frankenstein install"): calendar-generate-window calls
> window-combined-p in the current version, and there is no
> window-combination-p function, which leads me to believe that you have
> old calendar code.
>
> I recommend a thorough cleaning, rebuilding and reinstalling of
> emacs. You might want to try a restart of emacs first just to see if it
> works, but I wouldn't hold my breath.
>
> Nick
>
> PS. Happy New Year!



Well, it was a complete new rebuild from git. I'll delete the lot and
try again, but a complete remake shouldnt exhibit this behaviour and I
have no local debian version installed either. cheers, r.

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

* Re: calendar problem with schedule
  2012-01-03 20:34     ` Richard Riley
@ 2012-01-03 20:48       ` Nick Dokos
  2012-01-03 22:20         ` Richard Riley
  0 siblings, 1 reply; 26+ messages in thread
From: Nick Dokos @ 2012-01-03 20:48 UTC (permalink / raw)
  To: emacs-orgmode; +Cc: nicholas.dokos

Richard Riley <rileyrg@gmail.com> wrote:

> Well, it was a complete new rebuild from git. I'll delete the lot and
> try again, but a complete remake shouldnt exhibit this behaviour and I
> have no local debian version installed either. cheers, r.
> 

[I presume that you are rebuilding emacs, correct?]

Are you doing a ``make bootstrap''?

After the build, can you do just M-x calendar?

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

* Re: calendar problem with schedule
  2012-01-03 20:48       ` Nick Dokos
@ 2012-01-03 22:20         ` Richard Riley
  0 siblings, 0 replies; 26+ messages in thread
From: Richard Riley @ 2012-01-03 22:20 UTC (permalink / raw)
  To: emacs-orgmode

Nick Dokos <nicholas.dokos@hp.com> writes:

> Richard Riley <rileyrg@gmail.com> wrote:
>
>> Well, it was a complete new rebuild from git. I'll delete the lot and
>> try again, but a complete remake shouldnt exhibit this behaviour and I
>> have no local debian version installed either. cheers, r.
>> 
>
> [I presume that you are rebuilding emacs, correct?]
>
> Are you doing a ``make bootstrap''?
>
> After the build, can you do just M-x calendar?
>

<embarassed whistle>

I forgot I had added org-mode to el-get packages yonks ago.....

So here's a prize for being spot on  : !!

all up and running now I jusr use the emacs 24 org.

thanks,

r.

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

* Limit todo window
@ 2012-02-17 20:58 Richard Riley
  0 siblings, 0 replies; 26+ messages in thread
From: Richard Riley @ 2012-02-17 20:58 UTC (permalink / raw)
  To: emacs-orgmode


Whats the best way to limit the window that agendas use to show open
todo items? e.g when I do C-c a a I dont want to see TODOs set for a
years time - generally I might only want things in the current week or
so. is there something built and instantly configurable to achieve this?

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

* Re: Limit todo window
       [not found] ` <rileyrg@gmail.com>
  2012-01-01  4:51   ` Nick Dokos
@ 2012-02-17 21:14   ` Nick Dokos
  2012-02-18 10:12     ` Richard Riley
  2012-04-14 22:45   ` Capturing to current file Nick Dokos
  2 siblings, 1 reply; 26+ messages in thread
From: Nick Dokos @ 2012-02-17 21:14 UTC (permalink / raw)
  To: emacs-orgmode; +Cc: nicholas.dokos

Richard Riley <rileyrg@gmail.com> wrote:

> 
> Whats the best way to limit the window that agendas use to show open
> todo items? e.g when I do C-c a a I dont want to see TODOs set for a
> years time - generally I might only want things in the current week or
> so. is there something built and instantly configurable to achieve this?
> 
> 

org-agenda-span - also make sure to get rid of any settings of
the obsolete variable org-agenda-ndays. The default is week however,
so unless you've customized something, you should not see a year's
worth of TODOS (I shudder at the thought...)

Nick

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

* Re: Limit todo window
  2012-02-17 21:14   ` Limit todo window Nick Dokos
@ 2012-02-18 10:12     ` Richard Riley
  0 siblings, 0 replies; 26+ messages in thread
From: Richard Riley @ 2012-02-18 10:12 UTC (permalink / raw)
  To: emacs-orgmode

Nick Dokos <nicholas.dokos@hp.com> writes:

> Richard Riley <rileyrg@gmail.com> wrote:
>
>> 
>> Whats the best way to limit the window that agendas use to show open
>> todo items? e.g when I do C-c a a I dont want to see TODOs set for a
>> years time - generally I might only want things in the current week or
>> so. is there something built and instantly configurable to achieve this?
>> 
>> 
>
> org-agenda-span - also make sure to get rid of any settings of
> the obsolete variable org-agenda-ndays. The default is week however,
> so unless you've customized something, you should not see a year's
> worth of TODOS (I shudder at the thought...)
>
> Nick
>

Hi Nick,

I was being dense. I wasnt seeing the TODOs per se, but the creation of
them! (I tag all items with a created date so they appear in a journal
and I easily track creation of all org items). So yes, the span is the
correct variable that I had previously thought not working...

cheers

r.

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

* Capturing to current file
@ 2012-04-14 18:27 Marvin Doyley
  2012-04-14 18:32 ` Karl Voit
  0 siblings, 1 reply; 26+ messages in thread
From: Marvin Doyley @ 2012-04-14 18:27 UTC (permalink / raw)
  To: emacs-orgmode@gnu.org

Hi there,

I am trying to create a thought bin related to a specific project
(org-file, where I perform all my writing task).
My idea is very simple,  if an idea, todo item related to the project
i am working on,  which is usually the case, I would like to  file it
under a specific heading within the same file rather than a master
file.

Any thoughts on how to do this ?

Thanks
M

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

* Re: Capturing to current file
  2012-04-14 18:27 Capturing to current file Marvin Doyley
@ 2012-04-14 18:32 ` Karl Voit
  2012-04-14 21:44   ` Richard Riley
  0 siblings, 1 reply; 26+ messages in thread
From: Karl Voit @ 2012-04-14 18:32 UTC (permalink / raw)
  To: emacs-orgmode

* Marvin Doyley <marvinpas@gmail.com> wrote:
> Hi there,

Hi!

> I am trying to create a thought bin related to a specific project
> (org-file, where I perform all my writing task).
> My idea is very simple,  if an idea, todo item related to the project
> i am working on,  which is usually the case, I would like to  file it
> under a specific heading within the same file rather than a master
> file.
>
> Any thoughts on how to do this ?

Oh yes, take a look on http://orgmode.org/org.html#Capture-templates
where you can define target files for your item.

-- 
Karl Voit

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

* Re: Capturing to current file
  2012-04-14 18:32 ` Karl Voit
@ 2012-04-14 21:44   ` Richard Riley
  0 siblings, 0 replies; 26+ messages in thread
From: Richard Riley @ 2012-04-14 21:44 UTC (permalink / raw)
  To: emacs-orgmode

Karl Voit <devnull@Karl-Voit.at> writes:

> * Marvin Doyley <marvinpas@gmail.com> wrote:
>> Hi there,
>
> Hi!
>
>> I am trying to create a thought bin related to a specific project
>> (org-file, where I perform all my writing task).
>> My idea is very simple,  if an idea, todo item related to the project
>> i am working on,  which is usually the case, I would like to  file it
>> under a specific heading within the same file rather than a master
>> file.
>>
>> Any thoughts on how to do this ?
>
> Oh yes, take a look on http://orgmode.org/org.html#Capture-templates
> where you can define target files for your item.

Is it documented on how to achieve what the op requested? Namely to
store the notes in the current file? Would that be a use for the
function-finding-location?

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

* Re: Capturing to current file
       [not found] ` <rileyrg@gmail.com>
  2012-01-01  4:51   ` Nick Dokos
  2012-02-17 21:14   ` Limit todo window Nick Dokos
@ 2012-04-14 22:45   ` Nick Dokos
  2012-04-14 23:02     ` Samuel Wales
  2012-04-14 23:04     ` Nick Dokos
  2 siblings, 2 replies; 26+ messages in thread
From: Nick Dokos @ 2012-04-14 22:45 UTC (permalink / raw)
  To: emacs-orgmode

Richard Riley <rileyrg@gmail.com> wrote:

> Karl Voit <devnull@Karl-Voit.at> writes:
> 
> > * Marvin Doyley <marvinpas@gmail.com> wrote:
> >> Hi there,
> >
> > Hi!
> >
> >> I am trying to create a thought bin related to a specific project
> >> (org-file, where I perform all my writing task).
> >> My idea is very simple,  if an idea, todo item related to the project
> >> i am working on,  which is usually the case, I would like to  file it
> >> under a specific heading within the same file rather than a master
> >> file.
> >>
> >> Any thoughts on how to do this ?
> >
> > Oh yes, take a look on http://orgmode.org/org.html#Capture-templates
> > where you can define target files for your item.
> 
> Is it documented on how to achieve what the op requested? Namely to
> store the notes in the current file? Would that be a use for the
> function-finding-location?
> 

I couldn't really tell what the OP requested, but if it is indeed
storing the capture in the current file, the answer is "that can be
done".  AFAIK, it's not documented anywhere except on the mailing list
though - see

   http://thread.gmane.org/gmane.emacs.orgmode/35759/focus=35781

Something like this (untested):

(setq org-capture-templates
'(                   
  ("X" "test" entry (file+headline (buffer-file-name (org-capture-get :original-buffer)) "Tasks") "* TODO %?
  %U %a %n" :prepend t)))

Nick

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

* Re: Capturing to current file
  2012-04-14 22:45   ` Capturing to current file Nick Dokos
@ 2012-04-14 23:02     ` Samuel Wales
  2012-04-14 23:05       ` Nick Dokos
  2012-04-14 23:04     ` Nick Dokos
  1 sibling, 1 reply; 26+ messages in thread
From: Samuel Wales @ 2012-04-14 23:02 UTC (permalink / raw)
  To: nicholas.dokos; +Cc: emacs-orgmode

Can you capture to the header just above the current header?

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

* Re: Capturing to current file
  2012-04-14 22:45   ` Capturing to current file Nick Dokos
  2012-04-14 23:02     ` Samuel Wales
@ 2012-04-14 23:04     ` Nick Dokos
  2012-04-14 23:21       ` Richard Riley
  2012-04-15  1:18       ` Charles
  1 sibling, 2 replies; 26+ messages in thread
From: Nick Dokos @ 2012-04-14 23:04 UTC (permalink / raw)
  To: emacs-orgmode

Nick Dokos <nicholas.dokos@hp.com> wrote:


> I couldn't really tell what the OP requested,

... and then I noticed the Subject: header - d'oh...

Nick

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

* Re: Capturing to current file
  2012-04-14 23:02     ` Samuel Wales
@ 2012-04-14 23:05       ` Nick Dokos
  0 siblings, 0 replies; 26+ messages in thread
From: Nick Dokos @ 2012-04-14 23:05 UTC (permalink / raw)
  To: Samuel Wales; +Cc: emacs-orgmode

Samuel Wales <samologist@gmail.com> wrote:

> Can you capture to the header just above the current header?
> 

Not that I know of.

Nick

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

* Re: Capturing to current file
@ 2012-04-14 23:13 Marvin Doyley
  0 siblings, 0 replies; 26+ messages in thread
From: Marvin Doyley @ 2012-04-14 23:13 UTC (permalink / raw)
  To: emacs-orgmode; +Cc: nicholas.dokos

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

Nick

This is indeed what I am looking for.

Thanks

M

Richard Riley <address@hidden> wrote:

>* Karl Voit <address@hidden> writes:*
>* *
>* > * Marvin Doyley <address@hidden> wrote:*
>* >> Hi there,*
>* >*
>* > Hi!*
>* >*
>* >> I am trying to create a thought bin related to a specific project*
>* >> (org-file, where I perform all my writing task).*
>* >> My idea is very simple,  if an idea, todo item related to the project*
>* >> i am working on,  which is usually the case, I would like to  file it*
>* >> under a specific heading within the same file rather than a master*
>* >> file.*
>* >>*
>* >> Any thoughts on how to do this ?*
>* >*
>* > Oh yes, take a look on http://orgmode.org/org.html#Capture-templates*
>* > where you can define target files for your item.*
>* *
>* Is it documented on how to achieve what the op requested? Namely to*
>* store the notes in the current file? Would that be a use for the*
>* function-finding-location?*
>* *

I couldn't really tell what the OP requested, but if it is indeed
storing the capture in the current file, the answer is "that can be
done".  AFAIK, it's not documented anywhere except on the mailing list
though - see

   http://thread.gmane.org/gmane.emacs.orgmode/35759/focus=35781

Something like this (untested):

(setq org-capture-templates
'(
  ("X" "test" entry (file+headline (buffer-file-name (org-capture-get
:original-buffer)) "Tasks") "* TODO %?
  %U %a %n" :prepend t)))

Nick

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

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

* Re: Capturing to current file
  2012-04-14 23:04     ` Nick Dokos
@ 2012-04-14 23:21       ` Richard Riley
  2012-04-15  1:18       ` Charles
  1 sibling, 0 replies; 26+ messages in thread
From: Richard Riley @ 2012-04-14 23:21 UTC (permalink / raw)
  To: emacs-orgmode

Nick Dokos <nicholas.dokos@hp.com> writes:

> Nick Dokos <nicholas.dokos@hp.com> wrote:
>
>> I couldn't really tell what the OP requested,
>
> ... and then I noticed the Subject: header - d'oh...
>
> Nick
>

;))

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

* Re: Capturing to current file
  2012-04-14 23:04     ` Nick Dokos
  2012-04-14 23:21       ` Richard Riley
@ 2012-04-15  1:18       ` Charles
  2012-04-15  2:33         ` Nick Dokos
  1 sibling, 1 reply; 26+ messages in thread
From: Charles @ 2012-04-15  1:18 UTC (permalink / raw)
  To: emacs-orgmode

I thought that the manual states to capture a TODO to the current file 
use /C-0 (zero) then proceed with the capture. I use this frequently.

Am I missing something in the question?

Charlie Millar

On 4/14/2012 7:04 PM, Nick Dokos wrote:
> Nick Dokos<nicholas.dokos@hp.com>  wrote:
>
>
>> I couldn't really tell what the OP requested,
> ... and then I noticed the Subject: header - d'oh...
>
> Nick
>
>
>
> -----
> No virus found in this message.
> Checked by AVG - www.avg.com
> Version: 10.0.1424 / Virus Database: 2411/4937 - Release Date: 04/14/12
>
>

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

* Re: Capturing to current file
  2012-04-15  1:18       ` Charles
@ 2012-04-15  2:33         ` Nick Dokos
  2012-04-15  2:49           ` Samuel Wales
  2012-04-20 12:58           ` Bastien
  0 siblings, 2 replies; 26+ messages in thread
From: Nick Dokos @ 2012-04-15  2:33 UTC (permalink / raw)
  To: Charles; +Cc: emacs-orgmode

Charles <millarc@verizon.net> wrote:

> I thought that the manual states to capture a TODO to the current file
> use /C-0 (zero) then proceed with the capture. I use this frequently.
> 
> Am I missing something in the question?
> 

Probably not - I just didn't know about this method. It's not quite a
capture (no indirect buffer, no finalize) but that hardly matters. And
perhaps it also does what Samuel Wales asked about, since the template
can be inserted anywhere at all.

BTW, I only found this with C-h f org-capture, not in the manual.

Thanks for the pointer,
Nick

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

* Re: Capturing to current file
  2012-04-15  2:33         ` Nick Dokos
@ 2012-04-15  2:49           ` Samuel Wales
  2012-04-15 13:52             ` Nick Dokos
  2012-04-20 12:58           ` Bastien
  1 sibling, 1 reply; 26+ messages in thread
From: Samuel Wales @ 2012-04-15  2:49 UTC (permalink / raw)
  To: nicholas.dokos; +Cc: emacs-orgmode, Charles

The only thing it needs is to insert above the current headline if you
are in body text.

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

* Re: Capturing to current file
  2012-04-15  2:49           ` Samuel Wales
@ 2012-04-15 13:52             ` Nick Dokos
  0 siblings, 0 replies; 26+ messages in thread
From: Nick Dokos @ 2012-04-15 13:52 UTC (permalink / raw)
  To: Samuel Wales; +Cc: emacs-orgmode, Charles

Samuel Wales <samologist@gmail.com> wrote:

> The only thing it needs is to insert above the current headline if you
> are in body text.
> 

org-capture-insert-template-here won't do that by itself: it will insert
it *here*, but it's up to you to make sure that *here* is the right
place.

Nick

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

* Re: Capturing to current file
  2012-04-15  2:33         ` Nick Dokos
  2012-04-15  2:49           ` Samuel Wales
@ 2012-04-20 12:58           ` Bastien
  2012-04-20 19:44             ` Charles
  2012-04-22 13:14             ` Charles
  1 sibling, 2 replies; 26+ messages in thread
From: Bastien @ 2012-04-20 12:58 UTC (permalink / raw)
  To: nicholas.dokos; +Cc: emacs-orgmode, Charles

Hi Nick,

Nick Dokos <nicholas.dokos@hp.com> writes:

> Charles <millarc@verizon.net> wrote:
>
>> I thought that the manual states to capture a TODO to the current file
>> use /C-0 (zero) then proceed with the capture. I use this frequently.
>> 
>> Am I missing something in the question?
>> 
>
> Probably not - I just didn't know about this method. It's not quite a
> capture (no indirect buffer, no finalize) but that hardly matters. And
> perhaps it also does what Samuel Wales asked about, since the template
> can be inserted anywhere at all.
>
> BTW, I only found this with C-h f org-capture, not in the manual.

If there is a place in the manual that it should be documented, can
you please point at this place and suggest a change?

Thanks,

-- 
 Bastien

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

* Re: Capturing to current file
  2012-04-20 12:58           ` Bastien
@ 2012-04-20 19:44             ` Charles
  2012-04-29  8:59               ` Bastien
  2012-04-22 13:14             ` Charles
  1 sibling, 1 reply; 26+ messages in thread
From: Charles @ 2012-04-20 19:44 UTC (permalink / raw)
  To: emacs-orgmode

If I may I'll throw in my 2 cents, since I made the error in the first place

Why not in Section 9.2.1 immediately before or after the "special way" 
for using capture from the agenda?

The documentation reads as follows in org-capture.el at

(defun org-capture (&optional goto keys)
   "Capture something.
\\<org-capture-mode-map>

.  .  .

When called with a `C-0' (zero) prefix, insert a template at point.
  .  .  .

On 4/20/2012 8:58 AM, Bastien wrote:
> Hi Nick,
>
> Nick Dokos<nicholas.dokos@hp.com>  writes:
>
>> Charles<millarc@verizon.net>  wrote:
>>
>>> I thought that the manual states to capture a TODO to the current file
>>> use /C-0 (zero) then proceed with the capture. I use this frequently.
>>>
>>> Am I missing something in the question?
>>>
>> Probably not - I just didn't know about this method. It's not quite a
>> capture (no indirect buffer, no finalize) but that hardly matters. And
>> perhaps it also does what Samuel Wales asked about, since the template
>> can be inserted anywhere at all.
>>
>> BTW, I only found this with C-h f org-capture, not in the manual.
> If there is a place in the manual that it should be documented, can
> you please point at this place and suggest a change?
>
> Thanks,
>

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

* Re: Capturing to current file
  2012-04-20 12:58           ` Bastien
  2012-04-20 19:44             ` Charles
@ 2012-04-22 13:14             ` Charles
  1 sibling, 0 replies; 26+ messages in thread
From: Charles @ 2012-04-22 13:14 UTC (permalink / raw)
  To: emacs-orgmode

Correction to my 4/20

The Org Manual section I suggest for the additional documentation is 
9.1.2, not 9.2.1

Charles Millar

On 4/20/2012 8:58 AM, Bastien wrote:
> Hi Nick,
>
> Nick Dokos<nicholas.dokos@hp.com>  writes:
>
>> Charles<millarc@verizon.net>  wrote:
>>
>>> I thought that the manual states to capture a TODO to the current file
>>> use /C-0 (zero) then proceed with the capture. I use this frequently.
>>>
>>> Am I missing something in the question?
>>>
>> Probably not - I just didn't know about this method. It's not quite a
>> capture (no indirect buffer, no finalize) but that hardly matters. And
>> perhaps it also does what Samuel Wales asked about, since the template
>> can be inserted anywhere at all.
>>
>> BTW, I only found this with C-h f org-capture, not in the manual.
> If there is a place in the manual that it should be documented, can
> you please point at this place and suggest a change?
>
> Thanks,
>

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

* Re: Capturing to current file
  2012-04-20 19:44             ` Charles
@ 2012-04-29  8:59               ` Bastien
  2012-05-01  2:54                 ` Mike McLean
  0 siblings, 1 reply; 26+ messages in thread
From: Bastien @ 2012-04-29  8:59 UTC (permalink / raw)
  To: Charles; +Cc: emacs-orgmode

Hi Charles,

Charles <millarc@verizon.net> writes:

> If I may I'll throw in my 2 cents, since I made the error in the first place
>
> Why not in Section 9.2.1 immediately before or after the "special way" for
> using capture from the agenda?
>
> The documentation reads as follows in org-capture.el at
>
> (defun org-capture (&optional goto keys)
>   "Capture something.
> \\<org-capture-mode-map>
>
> .  .  .
>
> When called with a `C-0' (zero) prefix, insert a template at point.
>  .  .  .

I added this in 9.1.2:

To insert the capture at point in an Org buffer, call @code{org-capture} with
a @code{C-0} prefix argument.

Thanks for the suggestion!

-- 
 Bastien

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

* Re: Capturing to current file
  2012-04-29  8:59               ` Bastien
@ 2012-05-01  2:54                 ` Mike McLean
  0 siblings, 0 replies; 26+ messages in thread
From: Mike McLean @ 2012-05-01  2:54 UTC (permalink / raw)
  To: Bastien; +Cc: emacs-orgmode, Charles


On Apr 29, 2012, at 4:59 AM, Bastien wrote:

> Hi Charles,
> 
> Charles <millarc@verizon.net> writes:
> 
>> If I may I'll throw in my 2 cents, since I made the error in the first place
>> 
>> Why not in Section 9.2.1 immediately before or after the "special way" for
>> using capture from the agenda?
>> 
>> The documentation reads as follows in org-capture.el at
>> 
>> (defun org-capture (&optional goto keys)
>>  "Capture something.
>> \\<org-capture-mode-map>
>> 
>> .  .  .
>> 
>> When called with a `C-0' (zero) prefix, insert a template at point.
>> .  .  .
> 
> I added this in 9.1.2:
> 
> To insert the capture at point in an Org buffer, call @code{org-capture} with
> a @code{C-0} prefix argument.

Well thank you all for the discussion at least. I've been using Org Mode for 2+ years, didn't know this, and it is now my favorite “feature” :)

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

end of thread, other threads:[~2012-05-01  2:55 UTC | newest]

Thread overview: 26+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-01-01  2:22 calendar problem with schedule Richard Riley
     [not found] ` <rileyrg@gmail.com>
2012-01-01  4:51   ` Nick Dokos
2012-01-03 20:34     ` Richard Riley
2012-01-03 20:48       ` Nick Dokos
2012-01-03 22:20         ` Richard Riley
2012-02-17 21:14   ` Limit todo window Nick Dokos
2012-02-18 10:12     ` Richard Riley
2012-04-14 22:45   ` Capturing to current file Nick Dokos
2012-04-14 23:02     ` Samuel Wales
2012-04-14 23:05       ` Nick Dokos
2012-04-14 23:04     ` Nick Dokos
2012-04-14 23:21       ` Richard Riley
2012-04-15  1:18       ` Charles
2012-04-15  2:33         ` Nick Dokos
2012-04-15  2:49           ` Samuel Wales
2012-04-15 13:52             ` Nick Dokos
2012-04-20 12:58           ` Bastien
2012-04-20 19:44             ` Charles
2012-04-29  8:59               ` Bastien
2012-05-01  2:54                 ` Mike McLean
2012-04-22 13:14             ` Charles
  -- strict thread matches above, loose matches on Subject: below --
2012-02-17 20:58 Limit todo window Richard Riley
2012-04-14 18:27 Capturing to current file Marvin Doyley
2012-04-14 18:32 ` Karl Voit
2012-04-14 21:44   ` Richard Riley
2012-04-14 23:13 Marvin Doyley

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