* org-capture doesn't narrow correctly if :prepend is t
@ 2013-09-02 17:51 Adam Spiers
2013-09-16 11:33 ` Adam Spiers
0 siblings, 1 reply; 9+ messages in thread
From: Adam Spiers @ 2013-09-02 17:51 UTC (permalink / raw)
To: emacs-orgmode
I have an org-capture template as follows:
("n" "personal NEXT" entry
(file "~/org/TODO.org")
"* NEXT %?" :prepend t)
but after I hit `C-c C-c', the file's buffer stays narrowed, with the
new entry invisible. Anyone who didn't notice the presence of
'Narrow' in the modeline would be convinced that the capture
completely failed. It can be revealed via `C-u C-x n w', but of
course it's annoying having to do this every time.
The problem vanishes as soon as I de-select the :prepend flag. It's
been an issue for a while, so I guess I'm the only one using this
flag?
Thanks!
Adam
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: org-capture doesn't narrow correctly if :prepend is t
2013-09-02 17:51 org-capture doesn't narrow correctly if :prepend is t Adam Spiers
@ 2013-09-16 11:33 ` Adam Spiers
2013-09-16 11:59 ` Carsten Dominik
0 siblings, 1 reply; 9+ messages in thread
From: Adam Spiers @ 2013-09-16 11:33 UTC (permalink / raw)
To: emacs-orgmode
On 2 September 2013 18:51, Adam Spiers <orgmode@adamspiers.org> wrote:
> I have an org-capture template as follows:
>
> ("n" "personal NEXT" entry
> (file "~/org/TODO.org")
> "* NEXT %?" :prepend t)
>
> but after I hit `C-c C-c', the file's buffer stays narrowed, with the
> new entry invisible. Anyone who didn't notice the presence of
> 'Narrow' in the modeline would be convinced that the capture
> completely failed. It can be revealed via `C-u C-x n w', but of
> course it's annoying having to do this every time.
>
> The problem vanishes as soon as I de-select the :prepend flag. It's
> been an issue for a while, so I guess I'm the only one using this
> flag?
Judging by the lack of response, it seems noone else uses :prepend :-/
It's enough of an itch that I am happy to scratch / fix it myself, but
it would be great if someone could give me a few quick pointers on how
org-capture uses narrowing - otherwise it could take me quite a lot of
time and pain to understand it by myself ...
Thanks!
Adam
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: org-capture doesn't narrow correctly if :prepend is t
2013-09-16 11:33 ` Adam Spiers
@ 2013-09-16 11:59 ` Carsten Dominik
2013-09-16 12:12 ` Adam Spiers
2014-03-01 11:57 ` Thomas Proschinger
0 siblings, 2 replies; 9+ messages in thread
From: Carsten Dominik @ 2013-09-16 11:59 UTC (permalink / raw)
To: Adam Spiers; +Cc: emacs-orgmode
Hi Adam,
it is in my queue, but I have not yet had time to look at it.
- Carsten
On 16.9.2013, at 13:33, Adam Spiers <orgmode@adamspiers.org> wrote:
> On 2 September 2013 18:51, Adam Spiers <orgmode@adamspiers.org> wrote:
>> I have an org-capture template as follows:
>>
>> ("n" "personal NEXT" entry
>> (file "~/org/TODO.org")
>> "* NEXT %?" :prepend t)
>>
>> but after I hit `C-c C-c', the file's buffer stays narrowed, with the
>> new entry invisible. Anyone who didn't notice the presence of
>> 'Narrow' in the modeline would be convinced that the capture
>> completely failed. It can be revealed via `C-u C-x n w', but of
>> course it's annoying having to do this every time.
>>
>> The problem vanishes as soon as I de-select the :prepend flag. It's
>> been an issue for a while, so I guess I'm the only one using this
>> flag?
>
> Judging by the lack of response, it seems noone else uses :prepend :-/
> It's enough of an itch that I am happy to scratch / fix it myself, but
> it would be great if someone could give me a few quick pointers on how
> org-capture uses narrowing - otherwise it could take me quite a lot of
> time and pain to understand it by myself ...
>
> Thanks!
> Adam
>
^ permalink raw reply [flat|nested] 9+ messages in thread
end of thread, other threads:[~2014-03-16 14:02 UTC | newest]
Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-09-02 17:51 org-capture doesn't narrow correctly if :prepend is t Adam Spiers
2013-09-16 11:33 ` Adam Spiers
2013-09-16 11:59 ` Carsten Dominik
2013-09-16 12:12 ` Adam Spiers
2013-09-16 21:56 ` Samuel Wales
2014-03-01 11:57 ` Thomas Proschinger
2014-03-13 9:45 ` Bastien
2014-03-15 11:19 ` Adam Spiers
2014-03-16 14:01 ` Thomas Proschinger
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).