zsh-workers
 help / color / mirror / code / Atom feed
From: Bart Schaefer <schaefer@brasslantern.com>
To: zsh-workers@sunsite.dk
Subject: Re: Bug in url-quote-magic?
Date: Tue, 13 Jun 2006 07:08:29 -0700	[thread overview]
Message-ID: <060613070829.ZM12175@torch.brasslantern.com> (raw)
In-Reply-To: <20060612161052.GG27340@beaver.spamt.net>

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 so
that the trailing space is preserved, i.e., so that it can tell that
the last word on the line is no longer the one that looks like a URL.

            words=("${(@Q)${(q)=LBUFFER}}") # 117: Not quite right

I haven't worked out how to do this yet and don't have time to this
morning, I'm afraid.


  reply	other threads:[~2006-06-13 14:08 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 [this message]
2006-06-14  4:20   ` Bart Schaefer
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=060613070829.ZM12175@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).