GNU bug report logs -
#5275
Malayalam file names not rendered correctly (conjuncts are not formed) in message window and buffer title
Previous Next
Reported by: Praveen A <pravi.a <at> gmail.com>
Date: Tue, 6 Oct 2009 18:55:07 UTC
Severity: normal
Done: Chong Yidong <cyd <at> stupidchicken.com>
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 5275 in the body.
You can then email your comments to 5275 AT debbugs.gnu.org in the normal way.
Toggle the display of automated, internal messages from the tracker.
Report forwarded
to
bug-submit-list <at> lists.donarmstrong.com, svenjoac <at> gmx.de, Emacs Bugs <bug-gnu-emacs <at> gnu.org>
:
bug#5275
; Package
emacs
.
(Wed, 09 Dec 2009 09:45:06 GMT)
Full text and
rfc822 format available.
Message #3 received at submit <at> debbugs.gnu.org (full text, mbox):
[Message part 1 (text/plain, inline)]
message window and buffer title does not render file names in Malayalam.
How to reproduce.
1. Visit file 'നക്ഷത്രങ്ങളും-നക്ഷത്രാവശിഷ്ടങ്ങളും-നക്ഷത്രാന്തരീയമാദ്ധ്യമവും-തമോദ്രവ്യവും'
(u'\u0d28\u0d15\u0d4d\u0d37\u0d24\u0d4d\u0d30\u0d19\u0d4d\u0d19\u0d33\u0d41\u0d02-\u0d28\u0d15\u0d4d\u0d37\u0d24\u0d4d\u0d30\u0d3e\u0d35\u0d36\u0d3f\u0d37\u0d4d\u0d1f\u0d19\u0d4d\u0d19\u0d33\u0d41\u0d02-\u0d28\u0d15\u0d4d\u0d37\u0d24\u0d4d\u0d30\u0d3e\u0d28\u0d4d\u0d24\u0d30\u0d40\u0d2f\u0d2e\u0d3e\u0d26\u0d4d\u0d27\u0d4d\u0d2f\u0d2e\u0d35\u0d41\u0d02-\u0d24\u0d2e\u0d4b\u0d26\u0d4d\u0d30\u0d35\u0d4d\u0d2f\u0d35\u0d41\u0d02')
in any directory say /tmp.
2. add നക്ഷത്രങ്ങളും-നക്ഷത്രാവശിഷ്ടങ്ങളും-നക്ഷത്രാന്തരീയമാദ്ധ്യമവും-തമോദ്രവ്യവും
as file content.
3. Save
compare the display inside the buffer, title and message window. Only
contents in the buffer is displayed correctly.
- Praveen
--
പ്രവീണ് അരിമ്പ്രത്തൊടിയില്
<GPLv2> I know my rights; I want my phone call!
<DRM> What use is a phone call, if you are unable to speak?
(as seen on /.)
Join The DRM Elimination Crew Now!
http://fci.wikia.com/wiki/Anti-DRM-Campaign
[emacs-bug-message-title-windows.png (image/png, attachment)]
Information forwarded
to
owner <at> debbugs.gnu.org, bug-gnu-emacs <at> gnu.org
:
bug#5275
; Package
emacs
.
(Fri, 08 Jan 2010 12:59:02 GMT)
Full text and
rfc822 format available.
Message #6 received at 5275 <at> debbugs.gnu.org (full text, mbox):
In article <3f2beab60912290330y7f950cc1v76b8e54bf787f2b7 <at> mail.gmail.com>, Praveen A <pravi.a <at> gmail.com> writes:
> message window and buffer title does not render file names in Malayalam.
Sorry for the late response on this matter. I found the
cause of the problem, and just started to work on it.
---
Kenichi Handa
handa <at> m17n.org
Information forwarded
to
owner <at> debbugs.gnu.org, bug-gnu-emacs <at> gnu.org
:
bug#5275
; Package
emacs
.
(Thu, 14 Jan 2010 04:07:02 GMT)
Full text and
rfc822 format available.
Message #9 received at 5275 <at> debbugs.gnu.org (full text, mbox):
In article <tl7fx6glpn3.fsf <at> m17n.org>, Kenichi Handa <handa <at> m17n.org> writes:
> In article <3f2beab60912290330y7f950cc1v76b8e54bf787f2b7 <at> mail.gmail.com>, Praveen A <pravi.a <at> gmail.com> writes:
> > message window and buffer title does not render file names in Malayalam.
> Sorry for the late response on this matter. I found the
> cause of the problem, and just started to work on it.
I've just installed a fix. Please try the latest code.
---
Kenichi Handa
handa <at> m17n.org
Information forwarded
to
owner <at> debbugs.gnu.org, bug-gnu-emacs <at> gnu.org
:
bug#5275
; Package
emacs
.
(Thu, 14 Jan 2010 08:51:02 GMT)
Full text and
rfc822 format available.
Message #12 received at 5275 <at> debbugs.gnu.org (full text, mbox):
>>>>> On Thu, 14 Jan 2010 13:06:25 +0900, Kenichi Handa <handa <at> m17n.org> said:
>>> message window and buffer title does not render file names in
>>> Malayalam.
>> Sorry for the late response on this matter. I found the cause of
>> the problem, and just started to work on it.
> I've just installed a fix. Please try the latest code.
Though this is not reliably reproducible, mode-line display seems to
become unstable occasionally when the buffer name containing
composition is short and requires trailing padding spaces.
YAMAMOTO Mitsuharu
mituharu <at> math.s.chiba-u.ac.jp
Information forwarded
to
owner <at> debbugs.gnu.org, bug-gnu-emacs <at> gnu.org
:
bug#5275
; Package
emacs
.
(Fri, 15 Jan 2010 02:20:02 GMT)
Full text and
rfc822 format available.
Message #15 received at 5275 <at> debbugs.gnu.org (full text, mbox):
In article <wlbpgxrrxf.wl%mituharu <at> math.s.chiba-u.ac.jp>, YAMAMOTO Mitsuharu <mituharu <at> math.s.chiba-u.ac.jp> writes:
>>>>>> On Thu, 14 Jan 2010 13:06:25 +0900, Kenichi Handa <handa <at> m17n.org> said:
>>>> message window and buffer title does not render file names in
>>>> Malayalam.
>>> Sorry for the late response on this matter. I found the cause of
>>> the problem, and just started to work on it.
> > I've just installed a fix. Please try the latest code.
> Though this is not reliably reproducible, mode-line display seems to
> become unstable occasionally when the buffer name containing
> composition is short and requires trailing padding spaces.
I tried various buffer names but couldn't reproduce it.
What does "unstable" mean exactly? When you reproduce it,
please let me know the buffer name and which font is used
for it.
---
Kenichi Handa
handa <at> m17n.org
Information forwarded
to
owner <at> debbugs.gnu.org, bug-gnu-emacs <at> gnu.org
:
bug#5275
; Package
emacs
.
(Fri, 15 Jan 2010 02:55:01 GMT)
Full text and
rfc822 format available.
Message #18 received at 5275 <at> debbugs.gnu.org (full text, mbox):
[Message part 1 (text/plain, inline)]
>>>>> On Fri, 15 Jan 2010 11:19:24 +0900, Kenichi Handa <handa <at> m17n.org> said:
>> Though this is not reliably reproducible, mode-line display seems
>> to become unstable occasionally when the buffer name containing
>> composition is short and requires trailing padding spaces.
> I tried various buffer names but couldn't reproduce it. What does
> "unstable" mean exactly? When you reproduce it, please let me know
> the buffer name and which font is used for it.
Unfortunately, I couldn't reproduce it on GNU/Linux. But the
following examples spontaneously fail with the X11 build on Mac OS X
10.5.
(switch-to-buffer-other-window (string ?e 769))
(switch-to-buffer-other-window (string ?e 769 ?e 769))
(switch-to-buffer-other-window (string ?e 769 ?e 769 ?e 769))
(switch-to-buffer-other-window (string ?e 769 ?e 769 ?e 769 ?e 769))
(switch-to-buffer-other-window (string ?e 769 ?e 769 ?e 769 ?e 769 ?e 769))
;; The following one always succeeds.
(switch-to-buffer-other-window (string ?e 769 ?e 769 ?e 769 ?e 769 ?e 769 ?e 769))
Sometimes the buffer name is rendered incorrectly (see the
attachment), and sometimes the mode line is not updated. The latter
case often leads to crash afterwards.
The font used for the buffer name in the modeline is
xft:-bitstream-Bank Gothic-normal-normal-normal-*-16-*-*-*-*-0-iso10646-1
I can see similar phenomena on the Mac port and also with ideographic
variation sequences. So I don't think fonts or libotf is related to
this issue.
I suspect the problematic case is that `charpos + field_width' in
reseat_to_string exceeds the length of the given string. The value of
`field_width' is 12 by default when displaying buffer names.
YAMAMOTO Mitsuharu
mituharu <at> math.s.chiba-u.ac.jp
[modeline.png (image/png, inline)]
Information forwarded
to
owner <at> debbugs.gnu.org, bug-gnu-emacs <at> gnu.org
:
bug#5275
; Package
emacs
.
(Fri, 15 Jan 2010 05:30:03 GMT)
Full text and
rfc822 format available.
Message #21 received at 5275 <at> debbugs.gnu.org (full text, mbox):
In article <wlpr5culg8.wl%mituharu <at> math.s.chiba-u.ac.jp>, YAMAMOTO Mitsuharu <mituharu <at> math.s.chiba-u.ac.jp> writes:
> Unfortunately, I couldn't reproduce it on GNU/Linux. But the
> following examples spontaneously fail with the X11 build on Mac OS X
> 10.5.
> (switch-to-buffer-other-window (string ?e 769))
> (switch-to-buffer-other-window (string ?e 769 ?e 769))
> (switch-to-buffer-other-window (string ?e 769 ?e 769 ?e 769))
> (switch-to-buffer-other-window (string ?e 769 ?e 769 ?e 769 ?e 769))
> (switch-to-buffer-other-window (string ?e 769 ?e 769 ?e 769 ?e 769 ?e 769))
Thank you for them. I now find what is wrong and committed
a temporary fix.
> I suspect the problematic case is that `charpos + field_width' in
> reseat_to_string exceeds the length of the given string. The value of
> `field_width' is 12 by default when displaying buffer names.
Actually, the bug was that I ignored it->string_nchars in
composition handling.
By the way, in the current code, field_width and precision
are not handled correctly. The comments in xdisp.c say that
they are "number of characters" and the current code treats
them as such, but the original intention is "number of
columns occupied by characters". It seems that fixing it is
not a trivial work.
---
Kenichi Handa
handa <at> m17n.org
Information forwarded
to
owner <at> debbugs.gnu.org, bug-gnu-emacs <at> gnu.org
:
bug#5275
; Package
emacs
.
(Fri, 15 Jan 2010 05:52:02 GMT)
Full text and
rfc822 format available.
Message #24 received at 5275 <at> debbugs.gnu.org (full text, mbox):
>>>>> On Fri, 15 Jan 2010 14:29:13 +0900, Kenichi Handa <handa <at> m17n.org> said:
> In article <wlpr5culg8.wl%mituharu <at> math.s.chiba-u.ac.jp>, YAMAMOTO Mitsuharu <mituharu <at> math.s.chiba-u.ac.jp> writes:
>> Unfortunately, I couldn't reproduce it on GNU/Linux. But the
>> following examples spontaneously fail with the X11 build on Mac OS X
>> 10.5.
>> (switch-to-buffer-other-window (string ?e 769))
>> (switch-to-buffer-other-window (string ?e 769 ?e 769))
>> (switch-to-buffer-other-window (string ?e 769 ?e 769 ?e 769))
>> (switch-to-buffer-other-window (string ?e 769 ?e 769 ?e 769 ?e 769))
>> (switch-to-buffer-other-window (string ?e 769 ?e 769 ?e 769 ?e 769 ?e 769))
> Thank you for them. I now find what is wrong and committed
> a temporary fix.
Thanks. I confirmed that both the above examples and the IVS cases
work correctly with the X11 build on Mac OS X 10.5, as well as with
the Mac port.
YAMAMOTO Mitsuharu
mituharu <at> math.s.chiba-u.ac.jp
bug closed, send any further explanations to Praveen A <pravi.a <at> gmail.com>
Request was from
Chong Yidong <cyd <at> stupidchicken.com>
to
control <at> debbugs.gnu.org
.
(Fri, 15 Jan 2010 16:17:02 GMT)
Full text and
rfc822 format available.
bug archived.
Request was from
Debbugs Internal Request <bug-gnu-emacs <at> gnu.org>
to
internal_control <at> debbugs.gnu.org
.
(Sat, 13 Feb 2010 12:24:04 GMT)
Full text and
rfc822 format available.
This bug report was last modified 15 years and 133 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.