>>>>> Evan Monroig <[EMAIL PROTECTED]> writes:

> - hide tasks ids {{Tasks:2}}, etc.

>   I don't know the internals, but looking at my plan pages, I see that
>   half of the text of a link is hidden from view. So why not also hide
>   the tasks ids, with a regexp like "{{Tasks:\\[0-9\\]\\+}}" ?

You could re-define planner-id-markup like this:

(defun planner-id-markup (beg end &optional verbose)
  "Highlight IDs as unobtrusive, clickable text from BEG to END.
VERBOSE is ignored."
  (goto-char beg)
  (while (re-search-forward "\\s-*{{Tasks:[^}]+}}" end t)
    (planner-highlight-region
     (match-beginning 0)
     (match-end 0)
     'planner-id 60
     (list
      'invisible 'muse
      'intangible nil
      ;;'keymap planner-id-keymap
      ))))

It's possible that the task id might get accidentally deleted while
one is editing though.

-- 
Jim Ottaway


_______________________________________________
emacs-wiki-discuss mailing list
emacs-wiki-discuss@nongnu.org
http://lists.nongnu.org/mailman/listinfo/emacs-wiki-discuss

Reply via email to