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

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

[emacs-wiki-discuss] Re: %20


From: David Ellis
Subject: [emacs-wiki-discuss] Re: %20
Date: Mon, 10 Oct 2005 13:24:47 -0500

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





reply via email to

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