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

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

Re: [emacs-wiki-discuss] Re: %20


From: thomas knoll
Subject: Re: [emacs-wiki-discuss] Re: %20
Date: Tue, 11 Oct 2005 16:19:00 -0500

Would any of this be related to my "do this" problem?
I am runing planner-muse on w32, and using planner-multi.
If I make a page called [[Do this]] I can link to it fine.
If I add a task C-c C-t test to Do This (default) I get two new buffers, This and Do each with
#B   _ test ([[2005.10.11]] [[Do]] [[This]])  in the tasks field.
If I add a task C-c C-t test to [[Do This]] I get a task in this page, but it's called:
#B   _ test ([[2005.10.11]] [[[[[[Do This]]]]]])

Is this all planner-multi stuff?

On 10/10/05, David Ellis <address@hidden> wrote:
I tried adding
(setq planner-multi-separator ",")
to my .emacs file.
Now I get
#B   _ test (2005.10.10,[[this%20is%20a%20test]],address@hidden,[[All]])
when I add a new task with "this is a test,@Work" as the plan.

The %20's are still there.

I looked in emacs-wiki.el and found the following:

(defun emacs-wiki-link-escape (text &optional further)
  "Escape dangerous characters in TEXT.

If FURTHER is set to t, which indicates link description, escape
brackets and #.  If FURTHER is unspecified or nil, which
indicates link destination, escape brackets and spaces."
  (when text
    (save-match-data
      (emacs-wiki-replace-regexp-in-string
       "\\[" "%5B"
       (emacs-wiki-replace-regexp-in-string
        "\\]" "%5D"
        (if further
            (emacs-wiki-replace-regexp-in-string
             "#" "%23" text)
          (emacs-wiki-replace-regexp-in-string
           " " "%20" text)))))))


This is where the %20's come from.

Any other ideas?

Dave


On Mon, 10 Oct 2005 11:40:46 -0400, Sacha Chua wrote
> "David Ellis" <address@hidden> writes:
>
> > When I use a plan page that includes a space character, planner
> > inserts a %20 into the link and filename. Is there a way to turn
> > this off?
>
> This'll be a little bit confusing if you use planner-multi with the
> default settings. You'll need to change planner-multi-separator to ,
> to get it to work properly if you want to try it out.
>
> What if you use "." to visually separate words in a plan page?
>
> --
> Sacha Chua <address@hidden> - open source geekette
> http://sacha.free.net.ph/ - PGP Key ID: 0xE7FDF77C
> interests: emacs, gnu/linux, personal information management,
>  juggling sachac on irc.freenode.net#emacs . YM: sachachua83
>
> _______________________________________________
> emacs-wiki-discuss mailing list
> address@hidden
> http://lists.nongnu.org/mailman/listinfo/emacs-wiki-discuss


David Ellis


--
___________________________________________________________
Sign-up for Ads Free at Mail.com
http://promo.mail.com/adsfreejump.htm



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



--
________________________________
web:     http://dydimustk.com/
aim:     dyd1mustk
Y!:       dydimustk
msn:    address@hidden
vox:      651.210.2321
reply via email to

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