From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: =?UTF-8?Q?Jo=C3=A3o?= Guerra Newsgroups: gmane.emacs.bugs Subject: bug#20010: 24.4; Issue with Unicode characters in package description Date: Thu, 5 Mar 2015 20:44:05 +0000 Message-ID: NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: multipart/alternative; boundary=001a1147d2d05c348c051090a371 X-Trace: ger.gmane.org 1425588760 22577 80.91.229.3 (5 Mar 2015 20:52:40 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 5 Mar 2015 20:52:40 +0000 (UTC) To: 20010@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Thu Mar 05 21:52:27 2015 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1YTcks-0004Ck-DQ for geb-bug-gnu-emacs@m.gmane.org; Thu, 05 Mar 2015 21:52:26 +0100 Original-Received: from localhost ([::1]:54915 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YTcks-0005LI-0P for geb-bug-gnu-emacs@m.gmane.org; Thu, 05 Mar 2015 15:52:26 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:42443) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YTcej-0002k8-Ll for bug-gnu-emacs@gnu.org; Thu, 05 Mar 2015 15:46:07 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YTceh-0007ML-KW for bug-gnu-emacs@gnu.org; Thu, 05 Mar 2015 15:46:05 -0500 Original-Received: from debbugs.gnu.org ([140.186.70.43]:37895) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YTceh-0007MD-7Z for bug-gnu-emacs@gnu.org; Thu, 05 Mar 2015 15:46:03 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1YTceg-0005ny-PJ for bug-gnu-emacs@gnu.org; Thu, 05 Mar 2015 15:46:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: =?UTF-8?Q?Jo=C3=A3o?= Guerra Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 05 Mar 2015 20:46:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 20010 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Original-Received: via spool by submit@debbugs.gnu.org id=B.142558830522228 (code B ref -1); Thu, 05 Mar 2015 20:46:02 +0000 Original-Received: (at submit) by debbugs.gnu.org; 5 Mar 2015 20:45:05 +0000 Original-Received: from localhost ([127.0.0.1]:36463 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1YTcdk-0005mP-54 for submit@debbugs.gnu.org; Thu, 05 Mar 2015 15:45:05 -0500 Original-Received: from eggs.gnu.org ([208.118.235.92]:40505) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1YTcdg-0005la-0t for submit@debbugs.gnu.org; Thu, 05 Mar 2015 15:45:00 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YTcdZ-0006UL-0I for submit@debbugs.gnu.org; Thu, 05 Mar 2015 15:44:54 -0500 Original-Received: from lists.gnu.org ([2001:4830:134:3::11]:34031) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YTcdY-0006UD-Hb for submit@debbugs.gnu.org; Thu, 05 Mar 2015 15:44:52 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:42219) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YTcdW-0000ba-Mo for bug-gnu-emacs@gnu.org; Thu, 05 Mar 2015 15:44:52 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YTcdS-0006Sj-Uk for bug-gnu-emacs@gnu.org; Thu, 05 Mar 2015 15:44:50 -0500 Original-Received: from mail-ie0-x234.google.com ([2607:f8b0:4001:c03::234]:41269) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YTcdS-0006Sa-Km for bug-gnu-emacs@gnu.org; Thu, 05 Mar 2015 15:44:46 -0500 Original-Received: by iecrd18 with SMTP id rd18so79964583iec.8 for ; Thu, 05 Mar 2015 12:44:45 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:from:date:message-id:subject:to:content-type; bh=Ir7aEbpgpoKWG9j4obknLL4Nd7UfhLqLXOlbxH2vUeY=; b=JOqq5GYrDEWAZFD6uwXhmM0PcQe+QX8OazRV1NxXpfXtPcYG8THVZRUOp5jgPfumU3 spP90K2hBcsL6zrDL/m9WsSNccItOc+SvT5x1qSuy/jA38z/cC0LsIwOkR7syelcgPHl KqFPU2phLf2orCIpOzEMdfMX+HHSaj2vpVpXr1LKAMC/FQY4k1bEvu6fIQHjT0oCuV67 k97S+IhY2MfgIPMBt9OucVNShBrzcpqMakrJAwaj2KAElxLsWNgou26kyYaixjO8+3ZT pZHO+EcWrmYpwFbgufDLIzEbLaIVvbCoyeoJj7GB6sbCviCj5B7hxhF53abmL5BbkY+G H6dw== X-Received: by 10.107.11.17 with SMTP id v17mr22617803ioi.74.1425588285614; Thu, 05 Mar 2015 12:44:45 -0800 (PST) Original-Received: by 10.36.54.78 with HTTP; Thu, 5 Mar 2015 12:44:05 -0800 (PST) X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-Received-From: 140.186.70.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:100109 Archived-At: --001a1147d2d05c348c051090a371 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Packages with Unicode characters in their description mess with the refreshing of the package archives. A popup buffer will always be shown in such situations, asking for the proper coding system. This buffer should be Unicode by default to avoid inconvenient situations like these. For example, just by starting Emacs as normally but using the following .emacs.d/init.el: (require 'package) (setq package-archives '(("melpa" . "http://melpa.org/packages/") ("gnu" . "http://elpa.gnu.org/packages/"))) (package-refresh-contents) A popup buffer will always be shown, stating: These default coding systems were tried to encode text in the buffer ` *temp*': (iso-latin-1-dos (3420 . 37326) (3421 . 40165)) However, each of them encountered characters it couldn't encode: iso-latin-1-dos cannot encode these: =E9=87=8E =E9=B3=A5 Click on a character (or switch to this window by `C-x o' and select the characters by RET) to jump to the place it appears, where `C-u C-x =3D' will give information about it. Select one of the safe coding systems listed below, or cancel the writing with C-g and edit the buffer to remove or modify the problematic characters, or specify any other coding system (and risk losing the problematic characters). utf-8 euc-jis-2004 euc-jp iso-2022-jp-2004 gb18030 utf-7 utf-16 utf-16be-with-signature utf-16le-with-signature utf-16be utf-16le iso-2022-7bit utf-8-auto utf-8-with-signature eucjp-ms utf-8-hfs japanese-shift-jis-2004 japanese-iso-7bit-1978-irv utf-7-imap utf-8-emacs prefer-utf-8 Another popup windows pointing to the cause will also be shown: (yatex . [(20150118 1600) nil "Yet Another tex-mode for emacs //=E9=87=8E= =E9=B3=A5//" tar nil]) In GNU Emacs 24.4.1 (i686-pc-mingw32) of 2014-10-24 on LEG570 Windowing system distributor `Microsoft Corp.', version 6.3.9600 Configured using: `configure --prefix=3D/c/usr' Important settings: value of $LANG: PTG locale-coding-system: cp1252 Major mode: Lisp Interaction Minor modes in effect: tooltip-mode: t electric-indent-mode: t mouse-wheel-mode: t tool-bar-mode: t menu-bar-mode: t file-name-shadow-mode: t global-font-lock-mode: t font-lock-mode: t blink-cursor-mode: t auto-composition-mode: t auto-encryption-mode: t auto-compression-mode: t line-number-mode: t transient-mark-mode: t Recent input: C-x k C-x k C-x k C-x k C-x k C-x k M-x r e p o r t - e m a c s - b u g Recent messages: Load-path shadows: None found. Features: (shadow sort mail-extr emacsbug sendmail help-mode mm-archive message format-spec rfc822 mml easymenu mml-sec mailabbrev gmm-utils mailheader mm-decode mm-bodies mm-encode mail-utils network-stream starttls url-http tls mail-parse rfc2231 rfc2047 rfc2045 ietf-drums url-gw url-cache url-auth url url-proxy url-privacy url-expand url-methods url-history url-cookie url-domsuf url-util mailcap url-handlers url-parse auth-source eieio byte-opt bytecomp byte-compile cconv eieio-core gnus-util mm-util help-fns mail-prsvr password-cache url-vars epg package epg-config time-date tooltip electric uniquify ediff-hook vc-hooks lisp-float-type mwheel dos-w32 ls-lisp w32-common-fns disp-table w32-win w32-vars tool-bar dnd fontset image regexp-opt fringe tabulated-list newcomment lisp-mode prog-mode register page menu-bar rfn-eshadow timer select scroll-bar mouse jit-lock font-lock syntax facemenu font-core frame cham georgian utf-8-lang misc-lang vietnamese tibetan thai tai-viet lao korean japanese hebrew greek romanian slovak czech european ethiopic indian cyrillic chinese case-table epa-hook jka-cmpr-hook help simple abbrev minibuffer nadvice loaddefs button faces cus-face macroexp files text-properties overlay sha1 md5 base64 format env code-pages mule custom widget hashtable-print-readable backquote make-network-process w32notify w32 multi-tty emacs) Memory information: ((conses 8 92381 16943) (symbols 32 22657 0) (miscs 32 40 202) (strings 16 21255 14970) (string-bytes 1 521369) (vectors 8 18291) (vector-slots 4 1126131 63824) (floats 8 71 297) (intervals 28 532 1923) (buffers 508 14)) --001a1147d2d05c348c051090a371 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
Packages with Unicode characters in their description= mess with the
refreshing of the package archives. A popup bu= ffer will always be shown
in such situations, asking for the prop= er coding system. This buffer
should be Unicode by default to avo= id inconvenient situations like these.

For example= , just by starting Emacs as normally but using the following
.ema= cs.d/init.el:

(require 'package)
(se= tq package-archives '(("melpa" . "http://melpa.org/packages/")
=C2=A0 =C2= =A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 = =C2=A0("gnu" . "ht= tp://elpa.gnu.org/packages/")))
(package-refresh-content= s)

A popup buffer will always be shown, stating:

These default coding systems were tried to encode t= ext
in the buffer ` *temp*':
=C2=A0 (iso-latin-1-do= s (3420 . 37326) (3421 . 40165))
However, each of them encountere= d characters it couldn't encode:
=C2=A0 iso-latin-1-dos canno= t encode these: =E9=87=8E =E9=B3=A5

Click on a cha= racter (or switch to this window by `C-x o'
and select the ch= aracters by RET) to jump to the place it appears,
where `C-u C-x = =3D' will give information about it.

Select on= e of the safe coding systems listed below,
or cancel the writing = with C-g and edit the buffer
=C2=A0 =C2=A0to remove or modify the= problematic characters,
or specify any other coding system (and = risk losing
=C2=A0 =C2=A0the problematic characters).
<= br>
=C2=A0 utf-8 euc-jis-2004 euc-jp iso-2022-jp-2004 gb18030 utf= -7 utf-16
=C2=A0 utf-16be-with-signature utf-16le-with-signature = utf-16be utf-16le
=C2=A0 iso-2022-7bit utf-8-auto utf-8-with-sign= ature eucjp-ms utf-8-hfs
=C2=A0 japanese-shift-jis-2004 japanese-= iso-7bit-1978-irv utf-7-imap
=C2=A0 utf-8-emacs prefer-utf-8

Another popup windows pointing to the cause will also = be shown:

(yatex . [(20150118 1600) nil "Yet = Another tex-mode for emacs //=E9=87=8E=E9=B3=A5//" tar nil])


In GNU Emacs 24.4.1 (i686-pc-mingw32)
<= div>=C2=A0of 2014-10-24 on LEG570
Windowing system distributor `M= icrosoft Corp.', version 6.3.9600
Configured using:
=C2=A0`configure --prefix=3D/c/usr'

Important= settings:
=C2=A0 value of $LANG: PTG
=C2=A0 locale-cod= ing-system: cp1252

Major mode: Lisp Interaction

Minor modes in effect:
=C2=A0 tooltip-mode= : t
=C2=A0 electric-indent-mode: t
=C2=A0 mouse-wheel-m= ode: t
=C2=A0 tool-bar-mode: t
=C2=A0 menu-bar-mode: t<= /div>
=C2=A0 file-name-shadow-mode: t
=C2=A0 global-font-lock= -mode: t
=C2=A0 font-lock-mode: t
=C2=A0 blink-cursor-m= ode: t
=C2=A0 auto-composition-mode: t
=C2=A0 auto-encr= yption-mode: t
=C2=A0 auto-compression-mode: t
=C2=A0 l= ine-number-mode: t
=C2=A0 transient-mark-mode: t

Recent input:
<help-echo> <escape> <escap= e> <escape> <escape> <escape>=C2=A0
<esca= pe> <escape> <escape> <escape> <escape> <esca= pe>=C2=A0
C-x k C-x k <return> C-x k <return> C-x = k <return>=C2=A0
C-x k <return> C-x k <return> = M-x r e p o r t - e m=C2=A0
a c s - b u g <return>

Recent messages:

Load-path shadow= s:
None found.

Features:
(shad= ow sort mail-extr emacsbug sendmail help-mode mm-archive message
= format-spec rfc822 mml easymenu mml-sec mailabbrev gmm-utils mailheader
mm-decode mm-bodies mm-encode mail-utils network-stream starttls
url-http tls mail-parse rfc2231 rfc2047 rfc2045 ietf-drums url-gw
url-cache url-auth url url-proxy url-privacy url-expand url-methods=
url-history url-cookie url-domsuf url-util mailcap url-handlers<= /div>
url-parse auth-source eieio byte-opt bytecomp byte-compile cconv<= /div>
eieio-core gnus-util mm-util help-fns mail-prsvr password-cache u= rl-vars
epg package epg-config time-date tooltip electric uniquif= y ediff-hook
vc-hooks lisp-float-type mwheel dos-w32 ls-lisp w32-= common-fns
disp-table w32-win w32-vars tool-bar dnd fontset image= regexp-opt fringe
tabulated-list newcomment lisp-mode prog-mode = register page menu-bar
rfn-eshadow timer select scroll-bar mouse = jit-lock font-lock syntax
facemenu font-core frame cham georgian = utf-8-lang misc-lang vietnamese
tibetan thai tai-viet lao korean = japanese hebrew greek romanian slovak
czech european ethiopic ind= ian cyrillic chinese case-table epa-hook
jka-cmpr-hook help simpl= e abbrev minibuffer nadvice loaddefs button
faces cus-face macroe= xp files text-properties overlay sha1 md5 base64
format env code-= pages mule custom widget hashtable-print-readable
backquote make-= network-process w32notify w32 multi-tty emacs)

Mem= ory information:
((conses 8 92381 16943)
=C2=A0(symbols= 32 22657 0)
=C2=A0(miscs 32 40 202)
=C2=A0(strings 16 = 21255 14970)
=C2=A0(string-bytes 1 521369)
=C2=A0(vecto= rs 8 18291)
=C2=A0(vector-slots 4 1126131 63824)
=C2=A0= (floats 8 71 297)
=C2=A0(intervals 28 532 1923)
=C2=A0(= buffers 508 14))

--001a1147d2d05c348c051090a371--