[emacs-w3m:13904] [emacs-w3m/emacs-w3m] Fix w3m-puny-encode1 failure on Emacs 29 (PR #116)
Tatsuya Kinoshita <[email protected]> Thu, 17 Nov 2022 02:24:05 -0800
| Newsgroups | gmane.emacs.w3m |
|---|---|
| Message-ID | <emacs-w3m/emacs-w3m/pull/[email protected]> |
----==_mimepart_63760bc5e4bd8_3982c670385dd
Content-Type: text/plain;
charset=UTF-8
Content-Transfer-Encoding: quoted-printable
* w3m-util.el (w3m-puny-encode1): Avoid non-lexbind dotimes.=0D
cf. <https://git.savannah.gnu.org/cgit/emacs.git/commit/?id=3Dc6c9dfc8=
670f5698634a8d5853853056ff928974>=0D
=0D
Recently in Emacs 29.0.50, non-lexbind code generation of dotimes is=0D
no longer supported. This causes an error in w3m-puny-encode1.=0D
=0D
```=0D
;; Emacs 29.0.50=0D
(w3m-puny-encode1 (encode-coding-string "=E3=82=A2" w3m-puny-ut=
f-16be))=0D
Debugger entered--Lisp error: (args-out-of-range "0\242" 2)=0D
=0D
;; Emacs 28.2=0D
(w3m-puny-encode1 (encode-coding-string "=E3=82=A2" w3m-puny-ut=
f-16be))=0D
"cck"=0D
```=0D
=0D
You can view, comment on, or merge this pull request online at:=0D
=0D
https://github.com/emacs-w3m/emacs-w3m/pull/116=0D
=0D
-- Commit Summary --=0D
=0D
* Fix w3m-puny-encode1 failure on Emacs 29=0D
=0D
-- File Changes --=0D
=0D
M w3m-util.el (20)=0D
=0D
-- Patch Links --=0D
=0D
https://github.com/emacs-w3m/emacs-w3m/pull/116.patch=0D
https://github.com/emacs-w3m/emacs-w3m/pull/116.diff=0D
=0D
-- =0D
Reply to this email directly or view it on GitHub:=0D
https://github.com/emacs-w3m/emacs-w3m/pull/116=0D
You are receiving this because you are subscribed to this thread.=0D
=0D
Message ID: <emacs-w3m/emacs-w3m/pull/[email protected]>=0D
----==_mimepart_63760bc5e4bd8_3982c670385dd
Content-Type: text/html;
charset=UTF-8
Content-Transfer-Encoding: quoted-printable
<ul dir=3D"auto">=0D
<li>w3m-util.el (w3m-puny-encode1): Avoid non-lexbind dotimes.<br>=0D
cf. <a href=3D"https://git.savannah.gnu.org/cgit/emacs.git/commit/?id=3Dc=
6c9dfc8670f5698634a8d5853853056ff928974" rel=3D"nofollow">https://git.sav=
annah.gnu.org/cgit/emacs.git/commit/?id=3Dc6c9dfc8670f5698634a8d585385305=
6ff928974</a></li>=0D
</ul>=0D
<p dir=3D"auto">Recently in Emacs 29.0.50, non-lexbind code generation of=
dotimes is<br>=0D
no longer supported. This causes an error in w3m-puny-encode1.</p>=0D
<div class=3D"snippet-clipboard-content notranslate position-relative ove=
rflow-auto" data-snippet-clipboard-copy-content=3D";; Emacs 29.0.50=0D
(w3m-puny-encode1 (encode-coding-string "=E3=82=A2" w3m-puny-ut=
f-16be))=0D
Debugger entered--Lisp error: (args-out-of-range "0\242" 2)=0D
=0D
;; Emacs 28.2=0D
(w3m-puny-encode1 (encode-coding-string "=E3=82=A2" w3m-puny-ut=
f-16be))=0D
"cck""><pre class=3D"notranslate"><code>;; Emacs 29.0.50=0D
(w3m-puny-encode1 (encode-coding-string "=E3=82=A2" w3m-puny-utf-16be))=0D=
Debugger entered--Lisp error: (args-out-of-range "0\242" 2)=0D
=0D
;; Emacs 28.2=0D
(w3m-puny-encode1 (encode-coding-string "=E3=82=A2" w3m-puny-utf-16be))=0D=
"cck"=0D
</code></pre></div>=0D
=0D
<hr>=0D
=0D
<h4>You can view, comment on, or merge this pull request online at:</h4>=0D=
<p> <a href=3D'https://github.com/emacs-w3m/emacs-w3m/pull/116=
'>https://github.com/emacs-w3m/emacs-w3m/pull/116</a></p>=0D
=0D
<h4>Commit Summary</h4>=0D
<ul>=0D
<li><a href=3D"https://github.com/emacs-w3m/emacs-w3m/pull/116/commits/=
fae4c58fd89597150fc393b82eb98ee1ae0431ac" class=3D"commit-link">fae4c58</=
a> Fix w3m-puny-encode1 failure on Emacs 29</li>=0D
</ul>=0D
=0D
<h4 style=3D"display: inline-block">File Changes </h4> <p style=3D"displa=
y: inline-block">(<a href=3D"https://github.com/emacs-w3m/emacs-w3m/pull/=
116/files">1 file</a>)</p>=0D
<ul>=0D
<li>=0D
<strong>M</strong>=0D
<a href=3D"https://github.com/emacs-w3m/emacs-w3m/pull/116/files#diff=
-6067864dbea1ef23b52ef851addb2ec82c3dc40dbecfbd7fdb86684e89287728">w3m-ut=
il.el</a>=0D
(20)=0D
</li>=0D
</ul>=0D
=0D
<h4>Patch Links:</h4>=0D
<ul>=0D
<li><a href=3D'https://github.com/emacs-w3m/emacs-w3m/pull/116.patch'>h=
ttps://github.com/emacs-w3m/emacs-w3m/pull/116.patch</a></li>=0D
<li><a href=3D'https://github.com/emacs-w3m/emacs-w3m/pull/116.diff'>ht=
tps://github.com/emacs-w3m/emacs-w3m/pull/116.diff</a></li>=0D
</ul>=0D
=0D
<p style=3D"font-size:small;-webkit-text-size-adjust:none;color:#666;">&m=
dash;<br />Reply to this email directly, <a href=3D"https://github.com/em=
acs-w3m/emacs-w3m/pull/116">view it on GitHub</a>, or <a href=3D"https://=
github.com/notifications/unsubscribe-auth/ALIUPN2HO44USQSUNNPILQ3WIYBULAN=
CNFSM6AAAAAASDGSTSQ">unsubscribe</a>.<br />You are receiving this because=
you are subscribed to this thread.<img src=3D"https://github.com/notific=
ations/beacon/ALIUPNZWQFSRSERFCAKNNJLWIYBULA5CNFSM6AAAAAASDGSTSSWGG33NNVS=
W45C7OR4XAZNFJFZXG5LFVJRW63LNMVXHIX3JMTHFNHC5Z4.gif" height=3D"1" width=3D=
"1" alt=3D"" /><span style=3D"color: transparent; font-size: 0; display: =
none; visibility: hidden; overflow: hidden; opacity: 0; width: 0; height:=
0; max-width: 0; max-height: 0; mso-hide: all">Message ID: <span><ema=
cs-w3m/emacs-w3m/pull/116</span><span>@</span><span>github</span><span>.<=
/span><span>com></span></span></p>=0D
<script type=3D"application/ld+json">[=0D
{=0D
"@context": "http://schema.org",=0D
"@type": "EmailMessage",=0D
"potentialAction": {=0D
"@type": "ViewAction",=0D
"target": "https://github.com/emacs-w3m/emacs-w3m/pull/116",=0D
"url": "https://github.com/emacs-w3m/emacs-w3m/pull/116",=0D
"name": "View Pull Request"=0D
},=0D
"description": "View this Pull Request on GitHub",=0D
"publisher": {=0D
"@type": "Organization",=0D
"name": "GitHub",=0D
"url": "https://github.com"=0D
}=0D
}=0D
]</script>=0D
----==_mimepart_63760bc5e4bd8_3982c670385dd--