emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Carsten Dominik <dominik@uva.nl>
To: Ethan Blanton <elb@psg.com>
Cc: emacs-orgmode@gnu.org
Subject: Re: remember template "bottom" bug
Date: Sat, 27 Sep 2008 07:57:40 +0200	[thread overview]
Message-ID: <F69CAE28-9A30-4E1A-8D43-CFD858622995@uva.nl> (raw)
In-Reply-To: <20080926202923.GA16855@elb.elitists.net>


On Sep 26, 2008, at 10:29 PM, Ethan Blanton wrote:

> Hi,
>
> I'm using org-mode 6.07b (installed from source) with emacs 22.1.1 and
> remember.el 1.9 (both installed from Ubunty Hardy package
> repositories), and remember templates which specify their heading as
> bottom seem to display a rather unfortunate bug -- the inserted node
> *replaces* the current bottom entry in the file.
>
> For example, if I have a todo.org of the following contents:
>
> * TODO Mow the lawn
> * TODO Wash the dishes
>
> ... and a remember template:
>
> (setq org-remember-templates '(("Todo" ?t "* TODO %?" "todo.org"  
> bottom)))
>
> Then, when I use that template to enter the TODO item "Vacuum the
> carpet", todo.org will have "Wash the dishes" removed and replaced by
> "Vacuum the carpet":
>
> * TODO Mow the lawn
> * TODO Vacuum the carpet

Ooops.  Yes, bad bug.

Fixed now, in the git repo.  Thanks for your report....

- Carsten

>
>
> The location 'top' works as expected, as do literal headings.
>
> Ethan
>
> -- 
> The laws that forbid the carrying of arms are laws [that have no  
> remedy
> for evils].  They disarm only those who are neither inclined nor
> determined to commit crimes.
> 		-- Cesare Beccaria, "On Crimes and Punishments", 1764
> _______________________________________________
> Emacs-orgmode mailing list
> Remember: use `Reply All' to send replies to the list.
> Emacs-orgmode@gnu.org
> http://lists.gnu.org/mailman/listinfo/emacs-orgmode

      reply	other threads:[~2008-09-27  5:57 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-09-26 20:29 remember template "bottom" bug Ethan Blanton
2008-09-27  5:57 ` Carsten Dominik [this message]

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=F69CAE28-9A30-4E1A-8D43-CFD858622995@uva.nl \
    --to=dominik@uva.nl \
    --cc=elb@psg.com \
    --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).