unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Yu-ji Hosokawa <yu-ji@hoso.net>
To: emacs-pretest-bug@gnu.org
Subject: bug#3005: 23.0.92; w32term.c: width of hbar cursor on a wide character
Date: Thu, 16 Apr 2009 09:02:40 +0900	[thread overview]
Message-ID: <20090416.090240.05089609.orz@aspirin.yamato.hoso.net> (raw)

[-- Attachment #1: Type: Text/Plain, Size: 2230 bytes --]

Hello,

The width of HBAR cursor on a wide character is narrower than the
character width.
On Emacs 22.3, HBAR cursor width and the underlying character width
were the same. It is a desirable view, I think.

I'm so sorry I'm poor in English. I worry about whether you
understand my English.
Please see attached image, "23_0_92.png" and "22_3.png".

If it is not intentional change, what about the patch below?

thanks,
--yu


$ cvs diff -pu src/w32term.c
Index: src/w32term.c
===================================================================
RCS file: /sources/emacs/emacs/src/w32term.c,v
retrieving revision 1.323
diff -p -u -r1.323 w32term.c
--- src/w32term.c       22 Mar 2009 02:39:30 -0000      1.323
+++ src/w32term.c       15 Apr 2009 22:10:02 -0000
@@ -5025,7 +5025,7 @@ x_draw_bar_cursor (w, row, width, kind)
          w32_fill_area (f, hdc, cursor_color, x,
                         WINDOW_TO_FRAME_PIXEL_Y (w, w->phys_cursor.y +
                                                  row->height - width),
-                        min (FRAME_COLUMN_WIDTH (f), cursor_glyph->pixel_width),
+                        cursor_glyph->pixel_width,
                         width);
        }



In GNU Emacs 23.0.92.1 (i386-mingw-nt5.1.2600)
 of 2009-04-16 on ASPIRIN
Windowing system distributor `Microsoft Corp.', version 5.1.2600
configured using `configure --with-gcc (3.4) --cflags -I/cygdrive/c/Users/yu-ji/src/GnuWin32/DLL'

Important settings:
  value of $LC_ALL: nil
  value of $LC_COLLATE: nil
  value of $LC_CTYPE: nil
  value of $LC_MESSAGES: C
  value of $LC_MONETARY: nil
  value of $LC_NUMERIC: nil
  value of $LC_TIME: nil
  value of $LANG: JPN
  value of $XMODIFIERS: nil
  locale-coding-system: cp932
  default-enable-multibyte-characters: t

Major mode: Fundamental

Minor modes in effect:
  tooltip-mode: t
  tool-bar-mode: t
  mouse-wheel-mode: t
  menu-bar-mode: t
  file-name-shadow-mode: t
  global-font-lock-mode: t
  blink-cursor-mode: t
  global-auto-composition-mode: t
  auto-encryption-mode: t
  auto-compression-mode: t
  line-number-mode: t
  transient-mark-mode: t

Recent input:
M-x r e p - e - b <tab> <return>

Recent messages:
For information about GNU Emacs and the GNU system, type C-h C-a.

[-- Attachment #2: 23_0_92.png --]
[-- Type: Image/Png, Size: 8374 bytes --]

[-- Attachment #3: 22_3.png --]
[-- Type: Image/Png, Size: 8346 bytes --]

[-- Attachment #4: sample_text.txt --]
[-- Type: Text/Plain, Size: 261 bytes --]

(emacs-version)
=> "GNU Emacs 23.0.92.1 (i386-mingw-nt5.1.2600)
 of 2009-04-15 on ASPIRIN"

(setq cursor-type '(hbar . 5))
=> (hbar . 5)

あいうえお あいうえお Japanese Hirakana
TAB	TAB
" " japanese-jisx0208 Japanese IDEOGRAPHIC SPACE #x3000

             reply	other threads:[~2009-04-16  0:02 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <49EB3F38.20001@gnu.org>
2009-04-16  0:02 ` Yu-ji Hosokawa [this message]
2009-04-16 15:20   ` bug#3005: 23.0.92; w32term.c: width of hbar cursor on a wide character Drew Adams
2009-04-16 22:02     ` Yu-ji Hosokawa
2009-04-19 15:20   ` bug#3005: marked as done (23.0.92; w32term.c: width of hbar cursor on a wide character) Emacs bug Tracking System

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20090416.090240.05089609.orz@aspirin.yamato.hoso.net \
    --to=yu-ji@hoso.net \
    --cc=3005@emacsbugs.donarmstrong.com \
    --cc=emacs-pretest-bug@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).