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

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

[emacs-wiki-discuss] [patch] Re: bug in muse-follow-name-at-point


From: Sacha Chua
Subject: [emacs-wiki-discuss] [patch] Re: bug in muse-follow-name-at-point
Date: Sun, 25 Dec 2005 10:35:53 +0800
User-agent: Gnus/5.11 (Gnus v5.11) Emacs/21.3.50 (gnu/linux)

Michael Heinrich <address@hidden> writes:

> Now that I have more than 9 Notes on a planner page I discovered the
> following error:

--- orig/planner.el
+++ mod/planner.el
@@ -1169,7 +1179,9 @@
            (or file base)))
         (when tag
           (goto-char (point-min))
-          (re-search-forward (concat "^\\.?#" tag) nil t))))))
+          (or (re-search-forward (concat "^\\.?#" tag "\\>") nil t)
+              (if (string-match "^anchor-\\(.*\\)" tag)
+                  (re-search-forward (concat "^\\.?#" (match-string 1 tag) 
"\\>") nil t))))))))
 
-- 
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]