emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* remember template "bottom" bug
@ 2008-09-26 20:29 Ethan Blanton
  2008-09-27  5:57 ` Carsten Dominik
  0 siblings, 1 reply; 2+ messages in thread
From: Ethan Blanton @ 2008-09-26 20:29 UTC (permalink / raw)
  To: emacs-orgmode


[-- Attachment #1.1: Type: text/plain, Size: 1067 bytes --]

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

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

[-- Attachment #1.2: Digital signature --]
[-- Type: application/pgp-signature, Size: 189 bytes --]

[-- Attachment #2: Type: text/plain, Size: 204 bytes --]

_______________________________________________
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

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2008-09-27  5:57 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-09-26 20:29 remember template "bottom" bug Ethan Blanton
2008-09-27  5:57 ` Carsten Dominik

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).