From unknown Mon Jun 23 13:13:20 2025 X-Loop: owner@emacsbugs.donarmstrong.com Subject: bug#1935: No coding system in the modeline for unibyte buffers. Reply-To: Juanma Barranquero , 1935@debbugs.gnu.org Resent-From: Juanma Barranquero Resent-To: bug-submit-list@lists.donarmstrong.com Resent-CC: Emacs Bugs Resent-Date: Sat, 17 Jan 2009 02:30:03 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-Emacs-PR-Message: report 1935 X-Emacs-PR-Package: emacs X-Emacs-PR-Keywords: Received: via spool by submit@emacsbugs.donarmstrong.com id=B.12321590864838 (code B ref -1); Sat, 17 Jan 2009 02:30:03 +0000 Received: (at submit) by emacsbugs.donarmstrong.com; 17 Jan 2009 02:24:46 +0000 X-Spam-Checker-Version: SpamAssassin 3.2.5-bugs.debian.org_2005_01_02 (2008-06-10) on rzlab.ucr.edu X-Spam-Level: X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available. hammytokens:Tokens not available. X-Spam-Status: No, score=0.0 required=4.0 tests=none autolearn=ham version=3.2.5-bugs.debian.org_2005_01_02 Received: from nf-out-0910.google.com (nf-out-0910.google.com [64.233.182.185]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id n0H2OfwF004832 for ; Fri, 16 Jan 2009 18:24:43 -0800 Received: by nf-out-0910.google.com with SMTP id 30so256671nfu.31 for ; Fri, 16 Jan 2009 18:24:41 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:cc:content-type :content-transfer-encoding; bh=ZwRS0NIqfVkKz7b7IxmLMIz2OlYvla6ak2IKqmtHFUs=; b=kS902SXNyMdTRtsLymblRmbbdU+pxtrm67uLwJGaSvcdhcqRum7FGDJfTusnvdzOrV RLcBSzN8ia/ynScAgz6ZchFmrFNxsgFFs46zDLIzPFsz+Si+1nOtDaKtSYa4mFwhCwiV 53gFsXa2AyaPi4NeOyOIaZBCoMHQKBu2q9hhQ= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; b=DCm32odGfv/301TEUgY+tCtgtmVRwDFbUfbsns9KZrZ3B8dZJH4mDG4vKPS1gMavJ+ GzedOq02O0Lziys6fsmATIcnsaVVHuHEjiNVXQrTWmKFTTlXXTNzQGKtd9APHpwVMWc+ 42r9pIZQS352Ylnyv0UJ01E0z+qk0v2aDM4YQ= MIME-Version: 1.0 Received: by 10.210.38.5 with SMTP id l5mr4044679ebl.58.1232159081297; Fri, 16 Jan 2009 18:24:41 -0800 (PST) In-Reply-To: References: Date: Sat, 17 Jan 2009 03:24:41 +0100 Message-ID: From: Juanma Barranquero To: Stefan Monnier Cc: Emacs developers , Emacs Bug Tracker Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable On Sat, Jan 17, 2009 at 03:11, Stefan Monnier wr= ote: > Actually the raw-text part of a multibyte buffer only affects operation > when it is saved and loaded, so it can contain characters that are > not bytes. Yes, I understand that. >> But I confess I'm puzzled why > >> M-x find-file-binary test.txt >> M-: enable-multibyte-characters =3D> nil >> C-u C-x =3D ; over =C3=B1 > >> character: (241, #o361, #xf1) >> preferred charset: iso-8859-1 (Latin-1 (ISO/IEC 8859-1)) >> code point: 0xF1 >> syntax: w which means: word >> category: j:Japanese l:Latin >> buffer code: #xC3 #xB1 >> file code: #xC3 #xB1 (encoded by coding system no-conversion) > >> If I'm hopelessly wrong, I'm quite ready to be enlightened (and >> perhaps the docs will need work). > > Indeed that's a bug in C-u C-x =3D. It should pay attention to the > buffer's enable-multibyte-characters and then present #xf1 not as > a latin-1 char but as a raw-byte. Well, that makes sense. I'm filing the bug report. Juanma From lekktu@gmail.com Fri Jan 16 19:09:10 2009 Received: (at control) by emacsbugs.donarmstrong.com; 17 Jan 2009 03:09:11 +0000 X-Spam-Checker-Version: SpamAssassin 3.2.5-bugs.debian.org_2005_01_02 (2008-06-10) on rzlab.ucr.edu X-Spam-Level: ** X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available. hammytokens:Tokens not available. X-Spam-Status: No, score=2.3 required=4.0 tests=MISSING_SUBJECT,NOSUBJECT, VALID_BTS_CONTROL autolearn=no version=3.2.5-bugs.debian.org_2005_01_02 Received: from mail-ew0-f21.google.com (mail-ew0-f21.google.com [209.85.219.21]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id n0H397nw017966 for ; Fri, 16 Jan 2009 19:09:09 -0800 Received: by ewy14 with SMTP id 14so3613436ewy.1 for ; Fri, 16 Jan 2009 19:09:02 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:date:message-id:subject :from:to:content-type:content-transfer-encoding; bh=cJa6jdXsu7F7SPBmNb9pNA4EocYzW24OQiDuljqwG98=; b=pmVkSpLkzWjBBcBvBigXwb8TXSCZ3GxDLioCEyK2jnkkyG7qdx4TtJyJrUkaM5treO 9t4DwysE/XjO31KvhY1GS7Yfwe4PhTwd5Yz5ukF6xa2Ajrcl0Z/V3AVJBlDpqjhW1n+H tJzTQ7stv9/TLuoia7tw3cLjEjVORdkKsvqVk= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type :content-transfer-encoding; b=PMuwsWTG7voVmHZMKdD5suFjWDTPJXuxe6IudgBA5sbHUcQNMuDQ1/aYiX1rNLzWZc SUYCt7luciTyAes9q9+YpO3YYToNmcVquGlgYWCI3o/+fpTUhEj1+2h2sXNSfcriwVUZ K9/zunfc9mqLArOBB+cPnQOEp2gpoQ5+qYZUY= MIME-Version: 1.0 Received: by 10.210.70.14 with SMTP id s14mr4046614eba.108.1232161742111; Fri, 16 Jan 2009 19:09:02 -0800 (PST) Date: Sat, 17 Jan 2009 04:09:02 +0100 Message-ID: Subject: From: Juanma Barranquero To: control@debbugs.gnu.org Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit reassign 1934 spam retitle 1935 describe-char does not show raw bytes as such quit From unknown Mon Jun 23 13:13:20 2025 MIME-Version: 1.0 X-Mailer: MIME-tools 5.420 (Entity 5.420) X-Loop: owner@emacsbugs.donarmstrong.com From: help-debbugs@gnu.org (Emacs bug Tracking System) To: Juanma Barranquero Subject: bug#1935 closed by Kenichi Handa (Re: [EMACS] categories in output of `describe-char') Message-ID: References: X-Emacs-PR-Message: they-closed 1935 X-Emacs-PR-Package: emacs Reply-To: 1935@debbugs.gnu.org Date: Tue, 20 Jan 2009 06:15:03 +0000 Content-Type: multipart/mixed; boundary="----------=_1232432103-28037-1" This is a multi-part message in MIME format... ------------=_1232432103-28037-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" This is an automatic notification regarding your bug report which was filed against the emacs package: #1935: describe-char does not show raw bytes as such It has been closed by Kenichi Handa . Their explanation is attached below along with your original report. If this explanation is unsatisfactory and you have not received a better one in a separate message then please contact Kenichi Handa by replying to this email. --=20 1935: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D1935 Emacs Bug Tracking System Contact help-debbugs@gnu.org with problems ------------=_1232432103-28037-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at 1935-done) by emacsbugs.donarmstrong.com; 20 Jan 2009 06:08:42 +0000 X-Spam-Checker-Version: SpamAssassin 3.2.5-bugs.debian.org_2005_01_02 (2008-06-10) on rzlab.ucr.edu X-Spam-Level: ** X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available. hammytokens:Tokens not available. X-Spam-Status: No, score=2.0 required=4.0 tests=GMAIL,IMPRONONCABLE_2 autolearn=no version=3.2.5-bugs.debian.org_2005_01_02 Received: from mx1.aist.go.jp (mx1.aist.go.jp [150.29.246.133]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id n0K68Zmr026783 for <1935-done@emacsbugs.donarmstrong.com>; Mon, 19 Jan 2009 22:08:36 -0800 Received: from rqsmtp1.aist.go.jp (rqsmtp1.aist.go.jp [150.29.254.115]) by mx1.aist.go.jp with ESMTP id n0K68Yoi000177; Tue, 20 Jan 2009 15:08:34 +0900 (JST) env-from (handa@m17n.org) Received: from smtp3.aist.go.jp by rqsmtp1.aist.go.jp with ESMTP id n0K68XZZ029603; Tue, 20 Jan 2009 15:08:33 +0900 (JST) env-from (handa@m17n.org) Received: by smtp3.aist.go.jp with ESMTP id n0K68XLH016715; Tue, 20 Jan 2009 15:08:33 +0900 (JST) env-from (handa@m17n.org) Received: from handa by etlken.m17n.org with local (Exim 4.69) (envelope-from ) id 1LP9mr-0007Br-L0; Tue, 20 Jan 2009 15:08:33 +0900 From: Kenichi Handa To: Juanma Barranquero CC: 1935-done@debbugs.gnu.org, handa@m17n.org In-reply-to: (message from Juanma Barranquero on Mon, 19 Jan 2009 16:54:00 +0100) Subject: Re: [EMACS] categories in output of `describe-char' References: User-Agent: SEMI/1.14.3 (Ushinoya) FLIM/1.14.2 (Yagi-Nishiguchi) APEL/10.2 Emacs/23.0.60 (i686-pc-linux-gnu) MULE/6.0 (HANACHIRUSATO) MIME-Version: 1.0 (generated by SEMI 1.14.3 - "Ushinoya") Content-Type: text/plain; charset=US-ASCII Message-Id: Date: Tue, 20 Jan 2009 15:08:33 +0900 In article , Juanma Barranquero writes: > On Mon, Jan 19, 2009 at 12:12, Juanma Barranquero wrote: > > OK, I'll work on it. > Applied. Thank you. > Somewhat related: did you see bug#1935? Ah, I've just installed a fix. --- Kenichi Handa handa@m17n.org ------------=_1232432103-28037-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at submit) by emacsbugs.donarmstrong.com; 17 Jan 2009 02:24:46 +0000 X-Spam-Checker-Version: SpamAssassin 3.2.5-bugs.debian.org_2005_01_02 (2008-06-10) on rzlab.ucr.edu X-Spam-Level: X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available. hammytokens:Tokens not available. X-Spam-Status: No, score=0.0 required=4.0 tests=none autolearn=ham version=3.2.5-bugs.debian.org_2005_01_02 Received: from nf-out-0910.google.com (nf-out-0910.google.com [64.233.182.185]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id n0H2OfwF004832 for ; Fri, 16 Jan 2009 18:24:43 -0800 Received: by nf-out-0910.google.com with SMTP id 30so256671nfu.31 for ; Fri, 16 Jan 2009 18:24:41 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:cc:content-type :content-transfer-encoding; bh=ZwRS0NIqfVkKz7b7IxmLMIz2OlYvla6ak2IKqmtHFUs=; b=kS902SXNyMdTRtsLymblRmbbdU+pxtrm67uLwJGaSvcdhcqRum7FGDJfTusnvdzOrV RLcBSzN8ia/ynScAgz6ZchFmrFNxsgFFs46zDLIzPFsz+Si+1nOtDaKtSYa4mFwhCwiV 53gFsXa2AyaPi4NeOyOIaZBCoMHQKBu2q9hhQ= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; b=DCm32odGfv/301TEUgY+tCtgtmVRwDFbUfbsns9KZrZ3B8dZJH4mDG4vKPS1gMavJ+ GzedOq02O0Lziys6fsmATIcnsaVVHuHEjiNVXQrTWmKFTTlXXTNzQGKtd9APHpwVMWc+ 42r9pIZQS352Ylnyv0UJ01E0z+qk0v2aDM4YQ= MIME-Version: 1.0 Received: by 10.210.38.5 with SMTP id l5mr4044679ebl.58.1232159081297; Fri, 16 Jan 2009 18:24:41 -0800 (PST) In-Reply-To: References: Date: Sat, 17 Jan 2009 03:24:41 +0100 Message-ID: Subject: Re: No coding system in the modeline for unibyte buffers. From: Juanma Barranquero To: Stefan Monnier Cc: Emacs developers , Emacs Bug Tracker Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable On Sat, Jan 17, 2009 at 03:11, Stefan Monnier wr= ote: > Actually the raw-text part of a multibyte buffer only affects operation > when it is saved and loaded, so it can contain characters that are > not bytes. Yes, I understand that. >> But I confess I'm puzzled why > >> M-x find-file-binary test.txt >> M-: enable-multibyte-characters =3D> nil >> C-u C-x =3D ; over =C3=B1 > >> character: (241, #o361, #xf1) >> preferred charset: iso-8859-1 (Latin-1 (ISO/IEC 8859-1)) >> code point: 0xF1 >> syntax: w which means: word >> category: j:Japanese l:Latin >> buffer code: #xC3 #xB1 >> file code: #xC3 #xB1 (encoded by coding system no-conversion) > >> If I'm hopelessly wrong, I'm quite ready to be enlightened (and >> perhaps the docs will need work). > > Indeed that's a bug in C-u C-x =3D. It should pay attention to the > buffer's enable-multibyte-characters and then present #xf1 not as > a latin-1 char but as a raw-byte. Well, that makes sense. I'm filing the bug report. Juanma ------------=_1232432103-28037-1--