emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Bastien <bzg@altern.org>
To: emacs-orgmode@gnu.org
Subject: Re: tagging during creation
Date: Sun, 04 Nov 2007 13:05:53 +0000	[thread overview]
Message-ID: <87tzo29n4e.fsf@bzg.ath.cx> (raw)
In-Reply-To: <630A9B9D-9387-45C0-8E0A-82EF38D733D8@science.uva.nl> (Carsten Dominik's message of "Sun, 4 Nov 2007 08:22:24 +0100")

Carsten Dominik <carsten.dominik@gmail.com> writes:

>> -	  (org-set-local 'org-tag-alist nil)
>> +	  (org-set-local 'org-tag-alist org-tag-alist)
>
> I don't think this patch is correct.  This code is only executed when
> there is a #+TAGS line in the buffer, and then it needs to be
> executed, to overrule the global settings.  If there is no #+TAGS
> line, the global value will be used.

> What exactly are you trying to fix with this patch?

I was trying to address Richard's question:

  Is it possible to set tags from withing the org-remember entry buffer?

The first problem is that remember buffers steal the C-c C-c key.  You
cannot add fast tag selection as usual.  A solution might be to use the
C-x C-s key to process the *remember* buffer and bind C-c C-c back to
org-set-tags.  What do you think?

The second problem was that I thought the global value of org-tag-alist
was ignored in remember buffer but I was wrong.  I messed up while going
back and forth from config to *remember* buffer... sorry for that!

-- 
Bastien

  reply	other threads:[~2007-11-04 12:06 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-10-31 12:39 tagging during creation Richard G Riley
2007-10-31 14:04 ` Bastien
     [not found]   ` <pszlxzfl9n.fsf@home.net>
2007-10-31 15:17     ` Bastien
2007-11-04  7:22       ` Carsten Dominik
2007-11-04 13:05         ` Bastien [this message]
2007-11-04 13:46           ` Carsten Dominik
2007-11-05 10:58             ` Andrew J. Korty

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=87tzo29n4e.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).