Issue 1266 in dactyl: [patch] Option to not escape non-ASCII characters in URI when yanking.

17 views
Skip to first unread message

dac...@googlecode.com

unread,
Feb 2, 2015, 6:06:51 PM2/2/15
to dacty...@googlegroups.com
Status: New
Owner: ----
Labels: Type-Defect Priority-Medium Project-Pentadactyl

New issue 1266 by 321...@gmail.com: [patch] Option to not escape non-ASCII
characters in URI when yanking.
https://code.google.com/p/dactyl/issues/detail?id=1266

After https://superuser.com/questions/867475/copy-an-irl-instead-of-a-url/
---

Now, an URI that contains non-ASCII characters yanked by ‘y’ in normal mode
is always percent-encoded, e. g.


https://ru.wikipedia.org/wiki/%D0%A1%D0%B2%D0%BE%D0%B1%D0%BE%D0%B4%D0%BD%D0%BE%D0%B5_%D0%BF%D1%80%D0%BE%D0%B3%D1%80%D0%B0%D0%BC%D0%BC%D0%BD%D0%BE%D0%B5_%D0%BE%D0%B1%D0%B5%D1%81%D0%BF%D0%B5%D1%87%D0%B5%D0%BD%D0%B8%D0%B5

instead of

https://ru.wikipedia.org/wiki/Свободное_программное_обеспечение

While, I guess, there might be cases when the former is necessary, but in
general the latter much more convenient. So, I propose to introduce an
option 'yankpercentencoded' that controls that behaviour and set it to
false by default.

That seems to be quite simple (patch attached).

Attachments:
Yank_non_ASCII_URIs_as_not_percent_encoded_by_default.patch 1.8 KB

--
You received this message because this project is configured to send all
issue notifications to this address.
You may adjust your notification preferences at:
https://code.google.com/hosting/settings

dac...@googlecode.com

unread,
Feb 6, 2015, 4:17:55 AM2/6/15
to dacty...@googlegroups.com

Comment #1 on issue 1266 by 321...@gmail.com: [patch] Option to not escape
non-ASCII characters in URI when yanking.
https://code.google.com/p/dactyl/issues/detail?id=1266

Oops. I forgot to specify negative help tags for the option
('noype' 'noyankpercentencoded'). New version of patch attached.
Reply all
Reply to author
Forward
0 new messages