emacs-wiki-discuss
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[emacs-wiki-discuss] Re: New problem with remember+planner in XEmacs


From: Sacha Chua
Subject: [emacs-wiki-discuss] Re: New problem with remember+planner in XEmacs
Date: Tue, 31 Jan 2006 23:52:13 -0500
User-agent: Gnus/5.11 (Gnus v5.11) Emacs/21.3.50 (gnu/linux)

Neilen Marais <address@hidden> writes:

> e.g. I type M-x remember in some buffer, type some text, and choose to
> save in today's planner buffer, I get:

You don't need to supply anything if you're saving it in today's
planner buffer. Just hit RET at the prompt. =)

Although I probably should fix it so that it doesn't do that... Does
this help?

--- orig/remember-planner.el
+++ mod/remember-planner.el
@@ -98,7 +98,9 @@
       (unless (bolp) (insert "\n\n")) ;; trailing newline
       (save-restriction
         (narrow-to-region start (point))
-        (when remember-planner-xref-p
+        (when (and remember-planner-xref-p
+                   page
+                   (not (string= page (planner-today))))
           (remember-planner-add-xref page))
         (mapcar
          (lambda (hook)


-- 
Sacha Chua <address@hidden> - open source, free software geekette
http://sacha.free.net.ph/ - PGP Key ID: 0xE7FDF77C
interests: emacs, gnu/linux, personal information management, public speaking
sachac on irc.freenode.net#emacs . YM: sachachua83




reply via email to

[Prev in Thread] Current Thread [Next in Thread]