emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Bastien <bzg@altern.org>
To: emacs-orgmode@gnu.org
Subject: FR: pre-select applicable templates depending on the context
Date: Sat, 01 Mar 2008 13:56:28 +0000	[thread overview]
Message-ID: <873arak0oj.fsf@bzg.ath.cx> (raw)

I have a few templates in `org-remember-templates': one that I mainly
use when I'm in my mailbox, another one that I mainly use when I'm
coding, one that I mainly use when I'm reading the web, etc.

I think it would make sense to reduce the number of available templates
when calling `org-remember'. This would be done by adding a new element
to each template:

            t: force pre-selection of this template in every context
'(major-mode): pre-select this template only in major mode (actually a
               list of major modes)
          nil: never pre-select this template, unless there are no other
               pre-selected templates

The default value would be `nil' for all template, so that the current
behavior wouldn't be touched.

Would people find this useful?

-- 
Bastien

             reply	other threads:[~2008-03-01 13:56 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-03-01 13:56 Bastien [this message]
2008-03-03  8:12 ` FR: pre-select applicable templates depending on the context Carsten Dominik
2008-03-04  3:38   ` Bastien

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

  List information: https://www.orgmode.org/

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

  git send-email \
    --in-reply-to=873arak0oj.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 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).