GNU bug report logs - #1935
describe-char does not show raw bytes as such

Previous Next

Package: emacs;

Reported by: Juanma Barranquero <lekktu <at> gmail.com>

Date: Sat, 17 Jan 2009 02:30:03 UTC

Severity: normal

Done: Kenichi Handa <handa <at> m17n.org>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 1935 in the body.
You can then email your comments to 1935 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-submit-list <at> lists.donarmstrong.com, Emacs Bugs <bug-gnu-emacs <at> gnu.org>:
bug#1935; Package emacs. (Sat, 17 Jan 2009 02:30:03 GMT) Full text and rfc822 format available.

Acknowledgement sent to Juanma Barranquero <lekktu <at> gmail.com>:
New bug report received and forwarded. Copy sent to Emacs Bugs <bug-gnu-emacs <at> gnu.org>. (Sat, 17 Jan 2009 02:30:03 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> emacsbugs.donarmstrong.com (full text, mbox):

From: Juanma Barranquero <lekktu <at> gmail.com>
To: Stefan Monnier <monnier <at> iro.umontreal.ca>
Cc: Emacs developers <emacs-devel <at> gnu.org>,
        Emacs Bug Tracker <submit <at> debbugs.gnu.org>
Subject: Re: No coding system in the modeline for unibyte buffers.
Date: Sat, 17 Jan 2009 03:24:41 +0100
On Sat, Jan 17, 2009 at 03:11, Stefan Monnier <monnier <at> iro.umontreal.ca> wrote:

> 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 <RET>
>>  M-: enable-multibyte-characters <RET>  => nil
>>  C-u C-x =    ; over ñ
>
>>         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 =.  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




Changed bug title to `describe-char does not show raw bytes as such' from `No coding system in the modeline for unibyte buffers.'. Request was from Juanma Barranquero <lekktu <at> gmail.com> to control <at> emacsbugs.donarmstrong.com. (Sat, 17 Jan 2009 03:15:02 GMT) Full text and rfc822 format available.

Reply sent to Kenichi Handa <handa <at> m17n.org>:
You have taken responsibility. (Tue, 20 Jan 2009 06:15:02 GMT) Full text and rfc822 format available.

Notification sent to Juanma Barranquero <lekktu <at> gmail.com>:
bug acknowledged by developer. (Tue, 20 Jan 2009 06:15:02 GMT) Full text and rfc822 format available.

Message #12 received at 1935-done <at> emacsbugs.donarmstrong.com (full text, mbox):

From: Kenichi Handa <handa <at> m17n.org>
To: Juanma Barranquero <lekktu <at> gmail.com>
Cc: 1935-done <at> debbugs.gnu.org, handa <at> m17n.org
Subject: Re: [EMACS] categories in output of `describe-char'
Date: Tue, 20 Jan 2009 15:08:33 +0900
In article <f7ccd24b0901190754m1a319ad2m97a9d0072a29da40 <at> mail.gmail.com>, Juanma Barranquero <lekktu <at> gmail.com> writes:

> On Mon, Jan 19, 2009 at 12:12, Juanma Barranquero <lekktu <at> gmail.com> 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 <at> m17n.org




bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> emacsbugs.donarmstrong.com. (Tue, 17 Feb 2009 15:24:05 GMT) Full text and rfc822 format available.

This bug report was last modified 16 years and 129 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.