From: Bart Schaefer <schaefer@brasslantern.com>
To: zsh-workers@sunsite.dk
Subject: Re: Bug in url-quote-magic?
Date: Tue, 13 Jun 2006 21:20:18 -0700 [thread overview]
Message-ID: <060613212018.ZM27090@torch.brasslantern.com> (raw)
In-Reply-To: <060613070829.ZM12175@torch.brasslantern.com>
On Jun 13, 7:08am, Bart Schaefer wrote:
} Subject: Re: Bug in url-quote-magic?
}
} On Jun 12, 6:10pm, Ulrich Dangel wrote:
} }
} } while using url-quote-magic i discoverd a strange behaviour.
} } If i enter an url, followed by space, and after that a semicolon, the
} } semicolon is escaped.
}
} I can see where this might be unexpected, but I'm not sure your fix is
} the right one. I think it might be preferable to change line 117
This seems to do the trick; let me know.
Index: Functions/Zle/url-quote-magic
===================================================================
--- Functions/Zle/url-quote-magic 14 Feb 2004 19:39:27 -0000
+++ Functions/Zle/url-quote-magic 14 Jun 2006 04:18:31 -0000
@@ -114,7 +114,7 @@
if [[ "${(Q)LBUFFER}$KEYS" == "${(Q)lbuf}" ]]
then
local -a words
- words=("${(@Q)${(q)=LBUFFER}}")
+ words=("${(@Q)${(z)lbuf}}")
local urlseps urlmetas urlglobbers localschema otherschema
if [[ "$words[-1]" == (#b)([^:]##):* ]]
then
next prev parent reply other threads:[~2006-06-14 4:20 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-06-12 16:10 Ulrich Dangel
2006-06-13 14:08 ` Bart Schaefer
2006-06-14 4:20 ` Bart Schaefer [this message]
2006-09-20 16:34 ` Ulrich Dangel
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=060613212018.ZM27090@torch.brasslantern.com \
--to=schaefer@brasslantern.com \
--cc=zsh-workers@sunsite.dk \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.vuxu.org/mirror/zsh/
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).