GNU bug report logs - #7432
24.0.50; Display change

Previous Next

Package: emacs;

Reported by: nyc4bos <at> aol.com

Date: Thu, 18 Nov 2010 04:46:01 UTC

Severity: normal

Found in version 24.0.50

Done: Eli Zaretskii <eliz <at> gnu.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 7432 in the body.
You can then email your comments to 7432 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 owner <at> debbugs.gnu.org, bug-gnu-emacs <at> gnu.org:
bug#7432; Package emacs. (Thu, 18 Nov 2010 04:46:01 GMT) Full text and rfc822 format available.

Acknowledgement sent to nyc4bos <at> aol.com:
New bug report received and forwarded. Copy sent to bug-gnu-emacs <at> gnu.org. (Thu, 18 Nov 2010 04:46:01 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: nyc4bos <at> aol.com
To: bug-gnu-emacs <at> gnu.org
Subject: 24.0.50; Display change
Date: Wed, 17 Nov 2010 23:49:43 -0500
I use the following:

  (setq gnus-summary-line-format "%8{%4k│%}%9{%U%R%z%}%8{│%}%*%(%-23,23f%)%7{║%} %6{%B%} %s\n"
	gnus-summary-dummy-line-format "    %8{│%}   %(%8{│%}                       %7{║%}%) %6{┏○%}  %S\n"
	gnus-sum-thread-tree-indent " "
	gnus-sum-thread-tree-root "┏● " 
	gnus-sum-thread-tree-false-root " ○ "
	gnus-sum-thread-tree-single-indent " ● "
	gnus-sum-thread-tree-leaf-with-other "┣━━❯ " 
	gnus-sum-thread-tree-vertical "┃"
	gnus-sum-thread-tree-single-leaf "┗━━❯ ")

Instead of seeing a box for `gnus-sum-thread-tree-leaf-with-other`
and `gnus-sum-thread-tree-single-leaf', I now see a box with
the characters "27" "6F" ("27" is on top of "6F").

How do I get the empty box back?

Thanks.


In GNU Emacs 24.0.50.1 (i386-mingw-nt5.1.2600)
 of 2010-11-16 on 3249CTO
Windowing system distributor `Microsoft Corp.', version 5.1.2600
configured using `configure --with-gcc (4.4) --no-opt --cflags -Ic:/imagesupport/include'

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

Major mode: Message

Minor modes in effect:
  gnus-message-citation-mode: t
  mml-mode: t
  show-paren-mode: t
  tooltip-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
  abbrev-mode: t

Recent input:
C-b C-b C-b C-b C-b C-b C-b C-b C-b C-b C-b C-b SPC 
C-e C-j C-x b <return> C-p C-p C-p C-p C-p C-p SPC 
1 0 0 0 <return> a y C-a C-p C-p C-k C-k C-n C-e <help-echo> 
<help-echo> <help-echo> g n u s - s u m m a r y - l 
i n e - f o r m a t SPC d i s p l a y C-n C-n C-n C-n 
H i , <return> <return> I SPC j u s t SPC u p g r a 
d e d SPC E m a c s SPC t o SPC <escape> x d <backspace> 
e m a s SPC <backspace> c s SPC v SPC <return> 2 4 
. 0 . 5 0 . 1 SPC a n d SPC s t a r t e d SPC G n u 
s . <return> <return> I SPC u s e d SPC t o SPC s e 
e SPC t h e SPC ` g n u s - s u m - t r h <backspace> 
<backspace> h r e e d <backspace> <backspace> a d - 
t r e e - l e a f - w i t h - o t h e r ' <return> 
a n d SPC g n u s - s u m - t h r e a d - t r e e - 
s i n g l e - l e a d <backspace> f ' SPC a s SPC t 
h e SPC f o l l o w i n g : <return> <return> C-x b 
m s g <tab> <return> C-x b <return> C-y <backspace> 
C-a C-d <help-echo> <help-echo> <help-echo> <help-echo> 
<help-echo> <help-echo> <menu-bar> <help-menu> <se
nd-emacs-bug-report>

Recent messages:
Retrieving newsgroup: gmane.emacs.gnus.general...
Opening nntp server on news...done
Fetching headers for gmane.emacs.gnus.general...done
Sorting threads...done
Generating summary...done
gcc-it?: (y or n)  y
Auto-saving...done
xding
GNU Emacs 24.0.50.1 (i386-mingw-nt5.1.2600) of 2010-11-16 on 3249CTO
Mark set

Load-path shadows:
None found.

Features:
(shadow sort mail-extr emacsbug gnus-cite qp gnus-async help-mode view
gnus-ml nndoc utf-7 tls nnimap parse-time utf7 byte-opt bytecomp
byte-compile nnfolder nndraft nnmh gnus-agent gnus-srvr gnus-score
score-mode nnvirtual gnus-msg gnus-art rfc1843 mm-uu mml2015 mm-view
smime dig mailcap nntp gnus-cache epa-file epa derived epg epg-config
auth-source netrc sieve sieve-mode sieve-manage password-cache nnir
gnus-sum gnus-group time-date gnus-undo nnmail mail-source format-spec
gnus-start gnus-spec gnus-int gnus-range message rfc822 mml mml-sec
mm-decode term ehelp electric ring mm-bodies mm-encode mail-parse
rfc2231 rfc2047 rfc2045 ietf-drums mailabbrev gmm-utils mailheader
gnus-win gnus gnus-ems nnoo nnheader gnus-util mm-util mail-prsvr
mail-utils advice advice-preload pager w3m-search w3m help-fns
browse-url doc-view easymenu jka-compr dired regexp-opt image-mode
timezone w3m-hist w3m-fb bookmark-w3m w3m-ems w3m-ccl ccl w3m-favicon
w3m-image w3m-proc w3m-util wid-edit w3m-wget server easy-mmode cl
edmacro kmacro paren tooltip ediff-hook vc-hooks lisp-float-type mwheel
dos-w32 disp-table ls-lisp w32-win w32-vars tool-bar dnd fontset image
fringe lisp-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 button minibuffer faces cus-face files text-properties overlay
md5 base64 format env code-pages mule custom widget
hashtable-print-readable backquote make-network-process multi-tty emacs)




Information forwarded to owner <at> debbugs.gnu.org, bug-gnu-emacs <at> gnu.org:
bug#7432; Package emacs. (Thu, 18 Nov 2010 05:23:02 GMT) Full text and rfc822 format available.

Message #8 received at 7432 <at> debbugs.gnu.org (full text, mbox):

From: Kenichi Handa <handa <at> m17n.org>
To: nyc4bos <at> aol.com
Cc: 7432 <at> debbugs.gnu.org
Subject: Re: bug#7432: 24.0.50; Display change
Date: Thu, 18 Nov 2010 14:27:39 +0900
In article <84tyjf6xso.fsf <at> aol.com>, nyc4bos <at> aol.com writes:

> I use the following:
>   (setq gnus-summary-line-format "%8{%4k│%}%9{%U%R%z%}%8{│%}%*%(%-23,23f%)%7{║%} %6{%B%} %s\n"
> 	gnus-summary-dummy-line-format "    %8{│%}   %(%8{│%}                       %7{║%}%) %6{┏○%}  %S\n"
> 	gnus-sum-thread-tree-indent " "
> 	gnus-sum-thread-tree-root "┏● " 
> 	gnus-sum-thread-tree-false-root " ○ "
> 	gnus-sum-thread-tree-single-indent " ● "
> 	gnus-sum-thread-tree-leaf-with-other "┣━━❯ " 
> 	gnus-sum-thread-tree-vertical "┃"
> 	gnus-sum-thread-tree-single-leaf "┗━━❯ ")

> Instead of seeing a box for `gnus-sum-thread-tree-leaf-with-other`
> and `gnus-sum-thread-tree-single-leaf', I now see a box with
> the characters "27" "6F" ("27" is on top of "6F").

> How do I get the empty box back?

Emacs now displays the Unicode hex-code for characters of no
font.  If you always want to see empty box for such
characters, please do:

(setq glyphless-char-display-control
      '((format-control . thin-space) (no-font . empty-box)))
(update-glyphless-char-display)

Or, if you want to see empty box only for U+276F, do:

(aset glyphless-char-display #x276F 'empty-box)

Please note that we may change these interfaces for
improvement in a near feature.

By the way, why do you specify the character U+276F for
which you don't have a font?

---
Kenichi Handa
handa <at> m17n.org




Reply sent to Eli Zaretskii <eliz <at> gnu.org>:
You have taken responsibility. (Thu, 18 Nov 2010 10:05:01 GMT) Full text and rfc822 format available.

Notification sent to nyc4bos <at> aol.com:
bug acknowledged by developer. (Thu, 18 Nov 2010 10:05:02 GMT) Full text and rfc822 format available.

Message #13 received at 7432-done <at> debbugs.gnu.org (full text, mbox):

From: Eli Zaretskii <eliz <at> gnu.org>
To: nyc4bos <at> aol.com
Cc: 7432-done <at> debbugs.gnu.org
Subject: Re: bug#7432: 24.0.50; Display change
Date: Thu, 18 Nov 2010 05:10:00 -0500
> From: nyc4bos <at> aol.com
> Date: Wed, 17 Nov 2010 23:49:43 -0500
> Cc: 
> 
> Instead of seeing a box for `gnus-sum-thread-tree-leaf-with-other`
> and `gnus-sum-thread-tree-single-leaf', I now see a box with
> the characters "27" "6F" ("27" is on top of "6F").
> 
> How do I get the empty box back?

By reading NEWS:

  ** Enhanced support for characters that have no glyphs in available fonts
  If a character has no glyphs in any of the available fonts, Emacs by
  default will display it either as a hexadecimal code in a box or as a
  thin 1-pixel space.  In addition to these two methods, Emacs can
  display these characters as empty box, as an acronym, or not display
  them at all.  To change how these characters are displayed, customize
  the variable `glyphless-char-display-control'.

  On character terminals these methods are used for characters that
  cannot be encoded by the `terminal-coding-system'.

I'm closing this bug report.




Information forwarded to owner <at> debbugs.gnu.org, bug-gnu-emacs <at> gnu.org:
bug#7432; Package emacs. (Sun, 21 Nov 2010 04:06:02 GMT) Full text and rfc822 format available.

Message #16 received at 7432 <at> debbugs.gnu.org (full text, mbox):

From: nyc4bos <at> aol.com
To: Kenichi Handa <handa <at> m17n.org>
Cc: 7432 <at> debbugs.gnu.org
Subject: Re: bug#7432: 24.0.50; Display change
Date: Sat, 20 Nov 2010 23:10:16 -0500
Kenichi Handa <handa <at> m17n.org> writes:

> In article <84tyjf6xso.fsf <at> aol.com>, nyc4bos <at> aol.com writes:
>
>> I use the following:
>>   (setq gnus-summary-line-format "%8{%4k│%}%9{%U%R%z%}%8{│%}%*%(%-23,23f%)%7{║%} %6{%B%} %s\n"
>> 	gnus-summary-dummy-line-format "    %8{│%}   %(%8{│%}                       %7{║%}%) %6{┏○%}  %S\n"
>> 	gnus-sum-thread-tree-indent " "
>> 	gnus-sum-thread-tree-root "┏● " 
>> 	gnus-sum-thread-tree-false-root " ○ "
>> 	gnus-sum-thread-tree-single-indent " ● "
>> 	gnus-sum-thread-tree-leaf-with-other "┣━━❯ " 
>> 	gnus-sum-thread-tree-vertical "┃"
>> 	gnus-sum-thread-tree-single-leaf "┗━━❯ ")
>
>> Instead of seeing a box for `gnus-sum-thread-tree-leaf-with-other`
>> and `gnus-sum-thread-tree-single-leaf', I now see a box with
>> the characters "27" "6F" ("27" is on top of "6F").
>
>> How do I get the empty box back?
>
> Emacs now displays the Unicode hex-code for characters of no
> font.  If you always want to see empty box for such
> characters, please do:
>
> (setq glyphless-char-display-control
>       '((format-control . thin-space) (no-font . empty-box)))
> (update-glyphless-char-display)
>
> Or, if you want to see empty box only for U+276F, do:
>
> (aset glyphless-char-display #x276F 'empty-box)
>
> Please note that we may change these interfaces for
> improvement in a near feature.
>
> By the way, why do you specify the character U+276F for
> which you don't have a font?

I got it (the Gnus "eye candy") a while back from here:

  http://www.emacswiki.org/emacs/TomRauchenwald




Information forwarded to owner <at> debbugs.gnu.org, bug-gnu-emacs <at> gnu.org:
bug#7432; Package emacs. (Sun, 21 Nov 2010 04:56:01 GMT) Full text and rfc822 format available.

Message #19 received at 7432 <at> debbugs.gnu.org (full text, mbox):

From: David De La Harpe Golden <david <at> harpegolden.net>
To: nyc4bos <at> aol.com
Cc: 7432 <at> debbugs.gnu.org
Subject: Re: bug#7432: 24.0.50; Display change
Date: Sun, 21 Nov 2010 05:00:28 +0000
[Message part 1 (text/plain, inline)]
On 18/11/10 04:49, nyc4bos <at> aol.com wrote:
> I use the following:
>
>    (setq gnus-summary-line-format "%8{%4k│%}%9{%U%R%z%}%8{│%}%*%(%-23,23f%)%7{║%} %6{%B%} %s\n"
> 	gnus-summary-dummy-line-format "    %8{│%}   %(%8{│%}                       %7{║%}%) %6{┏○%}  %S\n"
> 	gnus-sum-thread-tree-indent " "
> 	gnus-sum-thread-tree-root "┏● "
> 	gnus-sum-thread-tree-false-root " ○ "
> 	gnus-sum-thread-tree-single-indent " ● "
> 	gnus-sum-thread-tree-leaf-with-other "┣━━❯ "
> 	gnus-sum-thread-tree-vertical "┃"
> 	gnus-sum-thread-tree-single-leaf "┗━━❯ ")
>
> Instead of seeing a box for `gnus-sum-thread-tree-leaf-with-other`
> and `gnus-sum-thread-tree-single-leaf', I now see a box with
> the characters "27" "6F" ("27" is on top of "6F").
>
> How do I get the empty box back?
>

Note U+276F (❯) is supposed to be a sign a bit like >, not an empty box. 
See attached screenshot.

See, in your settings above, gnus-sum-thread-tree-leaf-with-other is 
actually supposed to be a sign like |--> made up of a few unicode 
characters, the last of which is U+276F, not a "box".

If you genuinely want an actual empty box, like |--[] instead of |-->, I 
suppose you could use one of the several empty-box-looking type unicode 
characters (and make sure you have a font with it in), there's a whole 
bunch of box ones (the below is probably not exhaustive, just some a 
quick visual scan turned up)

U+25A1 ( □ )
U+29E0 ( ⧠ )
U+25AF ( ▯ )
U+2B1C ( ⬜ )
U+2395 ( ⎕ )
U+274F ( ❏ )
U+2610 ( ☐ )





[emacs7432example.png (image/png, attachment)]

bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Sun, 19 Dec 2010 12:24:04 GMT) Full text and rfc822 format available.

This bug report was last modified 14 years and 182 days ago.

Previous Next


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