all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Bastien <bzg@altern.org>
To: emacs-orgmode@gnu.org
Subject: Re: insert item under previous headline (feature request?)
Date: Tue, 04 Sep 2007 20:19:32 +0200	[thread overview]
Message-ID: <871wdee1jf.fsf@bzg.ath.cx> (raw)
In-Reply-To: <87642rhuxp.fsf@mail.ru> (Maxim Loginov's message of "Tue, 04 Sep 2007 12:16:18 +0700")

Maxim Loginov <zeliboba@mail.ru> writes:

> usually I look for the paper in internet and use remember to insert
> such TODOs, and temporarily modify remember template in order not to
> seek "* TODO read papers" headline every time. It would be good if
> org-mode can remember the last used headline and insert newly created
> TODO under it for example using prefix argument 0 (C-u 0 M-x remember)
>
> I'm wondering if such feature exist or can be implemented?

I don't know about inserting "the last used headline" but it would
certainly be useful to be able to call the last used *template*.

Maybe just an option saying org-remember-last-template-is-default so
that you'll have to choose a template the first time you call
`remember', and the next calls to `remember' will use this template
until you call `remember' again with a prefix. (If we want to use
another template and forgot to call `remember' with a prefix then no
problem, we can always switch from within the `remember' buffer.)

Further more: the first template in `org-remember-templates' could be
silently used as the default template unless we call `remember' with a
prefix argument (possible the key for the template).

Hence the meaning of the prefix to M-x remember would be something like
"change the default/last template". I guess such a set up might be okay
for those who heavily use `remember' to store TODOs.

-- 
Bastien

  reply	other threads:[~2007-09-04 18:19 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-09-04  5:16 insert item under previous headline (feature request?) Maxim Loginov
2007-09-04 18:19 ` Bastien [this message]
2007-09-05  5:44   ` Maxim Loginov
2007-09-05  1:00 ` Xavier Maillard
2007-09-05  5:43   ` Maxim Loginov
2007-09-05  5:47 ` Bastien
2007-09-05 21:44   ` Carsten Dominik
2007-09-10 12:34 ` Carsten Dominik

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=871wdee1jf.fsf@bzg.ath.cx \
    --to=bzg@altern.org \
    --cc=emacs-orgmode@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

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

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.