GNU bug report logs - #4084
23.1; boxquote uses ugly ASCII "drawing" characters rather than Unicode

Previous Next

Package: notemacs;

Reported by: Roger Leigh <rleigh <at> codelibre.net>

Date: Sat, 8 Aug 2009 10:25:07 UTC

Severity: normal

Done: Roger Leigh <rleigh <at> codelibre.net>

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 4084 in the body.
You can then email your comments to 4084 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#4084; Package emacs. (Sat, 08 Aug 2009 10:25:07 GMT) Full text and rfc822 format available.

Acknowledgement sent to Roger Leigh <rleigh <at> codelibre.net>:
New bug report received and forwarded. Copy sent to Emacs Bugs <bug-gnu-emacs <at> gnu.org>. (Sat, 08 Aug 2009 10:25:08 GMT) Full text and rfc822 format available.

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

From: Roger Leigh <rleigh <at> codelibre.net>
To: bug-gnu-emacs <at> gnu.org
Subject: 23.1; boxquote uses ugly ASCII "drawing" characters rather than Unicode
Date: Sat, 08 Aug 2009 11:18:16 +0100
[Message part 1 (text/plain, inline)]
The standard boxquote looks like this:

,----[ title ]
| Lorem ipsum dolor sit amet, consectetur adipiscing elit. Morbi et
| dolor vitae quam fringilla vulputate ac id sapien. Nullam auctor
| consequat magna in fringilla. Praesent sed dolor vel felis
| condimentum faucibus eget in risus. Phasellus dignissim vehicula
| purus, non tempus arcu rutrum vel.
`----

However, since Emacs now has perfectly good Unicode support, the
following shows boxquote configured to use standard Unicode line drawing
characters with rounded corners:

(set-variable 'boxquote-bottom-corner "╰")   ; U+2570
(set-variable 'boxquote-side "│ ")           ; U+2572 + space
(set-variable 'boxquote-top-and-tail "────") ; U+2500 (×4)
(set-variable 'boxquote-top-corner "╭")      ; U+256F

╭────[ title ]
│ Lorem ipsum dolor sit amet, consectetur adipiscing elit. Morbi et
│ dolor vitae quam fringilla vulputate ac id sapien. Nullam auctor
│ consequat magna in fringilla. Praesent sed dolor vel felis
│ condimentum faucibus eget in risus. Phasellus dignissim vehicula
│ purus, non tempus arcu rutrum vel.
╰────

Much nicer!  It would be great if these could be made the default in
place of the ugly ASCII.


Regards,
Roger


In GNU Emacs 23.1.1 (x86_64-pc-linux-gnu, X toolkit, Xaw3d scroll bars)
 of 2009-08-03 on nautilus, modified by Debian
Windowing system distributor `The X.Org Foundation', version 11.0.10603000
configured using `configure  '--build=x86_64-linux-gnu' '--host=x86_64-linux-gnu' '--prefix=/usr' '--sharedstatedir=/var/lib' '--libexecdir=/usr/lib' '--localstatedir=/var/lib' '--infodir=/usr/share/info' '--mandir=/usr/share/man' '--with-pop=yes' '--enable-locallisppath=/etc/emacs23:/etc/emacs:/usr/local/share/emacs/23.1/site-lisp:/usr/local/share/emacs/site-lisp:/usr/share/emacs/23.1/site-lisp:/usr/share/emacs/site-lisp:/usr/share/emacs/23.1/leim' '--with-x=yes' '--with-x-toolkit=athena' '--with-toolkit-scroll-bars' 'build_alias=x86_64-linux-gnu' 'host_alias=x86_64-linux-gnu' 'CFLAGS=-DDEBIAN -g -O2' 'LDFLAGS=-g' 'CPPFLAGS=''

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: en_GB.UTF-8
  value of $XMODIFIERS: nil
  locale-coding-system: utf-8-unix
  default-enable-multibyte-characters: t

-- 
  .''`.  Roger Leigh
 : :' :  Debian GNU/Linux             http://people.debian.org/~rleigh/
 `. `'   Printing on GNU/Linux?       http://gutenprint.sourceforge.net/
   `-    GPG Public Key: 0x25BFB848   Please GPG sign your mail.
[Message part 2 (application/pgp-signature, inline)]

Information forwarded to bug-submit-list <at> lists.donarmstrong.com, Emacs Bugs <bug-gnu-emacs <at> gnu.org>:
bug#4084; Package emacs. (Sat, 08 Aug 2009 14:45:03 GMT) Full text and rfc822 format available.

Acknowledgement sent to Teemu Likonen <tlikonen <at> iki.fi>:
Extra info received and forwarded to list. Copy sent to Emacs Bugs <bug-gnu-emacs <at> gnu.org>. (Sat, 08 Aug 2009 14:45:04 GMT) Full text and rfc822 format available.

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

From: Teemu Likonen <tlikonen <at> iki.fi>
To: Roger Leigh <rleigh <at> codelibre.net>
Cc: 4084 <at> debbugs.gnu.org
Subject: Re: bug#4084: 23.1; boxquote uses ugly ASCII "drawing" characters rather than Unicode
Date: Sat, 08 Aug 2009 17:37:46 +0300
On 2009-08-08 11:18 (+0100), Roger Leigh wrote:
> The standard boxquote looks like this:

Boxquote is not part of the standard Emacs. I guess you need to contact
the author of boxquote.el or someone who distributes your version of
Emacs.



Reply sent to Roger Leigh <rleigh <at> codelibre.net>:
You have taken responsibility. (Sat, 08 Aug 2009 15:25:05 GMT) Full text and rfc822 format available.

Notification sent to Roger Leigh <rleigh <at> codelibre.net>:
bug acknowledged by developer. (Sat, 08 Aug 2009 15:25:05 GMT) Full text and rfc822 format available.

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

From: Roger Leigh <rleigh <at> codelibre.net>
To: Teemu Likonen <tlikonen <at> iki.fi>
Cc: 4084-done <at> debbugs.gnu.org
Subject: Re: bug#4084: 23.1; boxquote uses ugly ASCII "drawing" characters
	rather than Unicode
Date: Sat, 8 Aug 2009 16:17:09 +0100
On Sat, Aug 08, 2009 at 05:37:46PM +0300, Teemu Likonen wrote:
> On 2009-08-08 11:18 (+0100), Roger Leigh wrote:
> > The standard boxquote looks like this:
> 
> Boxquote is not part of the standard Emacs. I guess you need to contact
> the author of boxquote.el or someone who distributes your version of
> Emacs.

Ah, sorry, I didn't realise it was part of an extension package
(emacs-goodies-el).


Regards,
Roger

-- 
  .''`.  Roger Leigh
 : :' :  Debian GNU/Linux             http://people.debian.org/~rleigh/
 `. `'   Printing on GNU/Linux?       http://gutenprint.sourceforge.net/
   `-    GPG Public Key: 0x25BFB848   Please GPG sign your mail.



Information forwarded to bug-submit-list <at> lists.donarmstrong.com, Emacs Bugs <bug-gnu-emacs <at> gnu.org>:
bug#4084; Package emacs. (Sat, 08 Aug 2009 15:30:04 GMT) Full text and rfc822 format available.

Acknowledgement sent to "Drew Adams" <drew.adams <at> oracle.com>:
Extra info received and forwarded to list. Copy sent to Emacs Bugs <bug-gnu-emacs <at> gnu.org>. (Sat, 08 Aug 2009 15:30:04 GMT) Full text and rfc822 format available.

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

From: "Drew Adams" <drew.adams <at> oracle.com>
To: "'Roger Leigh'" <rleigh <at> codelibre.net>, <4084 <at> debbugs.gnu.org>,
        <bug-gnu-emacs <at> gnu.org>
Subject: RE: bug#4084: 23.1;boxquote uses ugly ASCII "drawing" characters rather than Unicode
Date: Sat, 8 Aug 2009 08:24:29 -0700
[Message part 1 (text/plain, inline)]
> Much nicer!  It would be great if these could be made the default in
> place of the ugly ASCII.

Sure doesn't look nicer to me! See attachment.

Boxquote should not use Unicode characters unless the buffer is already Unicode
encoded. Even then, I'm not convinced the Unicode version looks better.
[throw-boxquote.png (image/png, attachment)]

Information forwarded to bug-submit-list <at> lists.donarmstrong.com, Emacs Bugs <bug-gnu-emacs <at> gnu.org>:
bug#4084; Package emacs. (Sat, 08 Aug 2009 15:30:06 GMT) Full text and rfc822 format available.

Acknowledgement sent to "Drew Adams" <drew.adams <at> oracle.com>:
Extra info received and forwarded to list. Copy sent to Emacs Bugs <bug-gnu-emacs <at> gnu.org>. (Sat, 08 Aug 2009 15:30:06 GMT) Full text and rfc822 format available.

Information forwarded to bug-submit-list <at> lists.donarmstrong.com, Emacs Bugs <bug-gnu-emacs <at> gnu.org>:
bug#4084; Package emacs. (Sat, 08 Aug 2009 15:45:03 GMT) Full text and rfc822 format available.

Acknowledgement sent to "'Roger Leigh'" <rleigh <at> codelibre.net>:
Extra info received and forwarded to list. Copy sent to Emacs Bugs <bug-gnu-emacs <at> gnu.org>. (Sat, 08 Aug 2009 15:45:03 GMT) Full text and rfc822 format available.

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

From: "'Roger Leigh'" <rleigh <at> codelibre.net>
To: Drew Adams <drew.adams <at> oracle.com>
Cc: 4084 <at> debbugs.gnu.org, bug-gnu-emacs <at> gnu.org
Subject: Re: bug#4084: 23.1;boxquote uses ugly ASCII "drawing" characters
	rather than Unicode
Date: Sat, 8 Aug 2009 16:37:03 +0100
On Sat, Aug 08, 2009 at 08:24:29AM -0700, Drew Adams wrote:
> > Much nicer!  It would be great if these could be made the default in
> > place of the ugly ASCII.
> 
> Sure doesn't look nicer to me! See attachment.
> 
> Boxquote should not use Unicode characters unless the buffer is already Unicode
> encoded. Even then, I'm not convinced the Unicode version looks better.

I think your font is to blame here; perhaps it's using a fallback as
the corners, and as a result they don't line up correctly.  Even so,
IMO this looks (subjectively) better than ASCII.  I agree that
using Unicode characters in a non-Unicode buffer would be wrong;
boxquote should use a fallback in that case (can Emacs do
transliteration for non-representable characters when you insert
characters not represented in the buffer encoding)?

Anyhow, I'll pass this along to the author, since it's not part of
Emacs itself.


Regards,
Roger

-- 
  .''`.  Roger Leigh
 : :' :  Debian GNU/Linux             http://people.debian.org/~rleigh/
 `. `'   Printing on GNU/Linux?       http://gutenprint.sourceforge.net/
   `-    GPG Public Key: 0x25BFB848   Please GPG sign your mail.




Information forwarded to bug-submit-list <at> lists.donarmstrong.com, Emacs Bugs <bug-gnu-emacs <at> gnu.org>:
bug#4084; Package emacs. (Sat, 08 Aug 2009 15:45:05 GMT) Full text and rfc822 format available.

Acknowledgement sent to "'Roger Leigh'" <rleigh <at> codelibre.net>:
Extra info received and forwarded to list. Copy sent to Emacs Bugs <bug-gnu-emacs <at> gnu.org>. (Sat, 08 Aug 2009 15:45:05 GMT) Full text and rfc822 format available.

Information forwarded to bug-submit-list <at> lists.donarmstrong.com, Emacs Bugs <bug-gnu-emacs <at> gnu.org>:
bug#4084; Package emacs. (Sat, 08 Aug 2009 16:15:04 GMT) Full text and rfc822 format available.

Acknowledgement sent to "Drew Adams" <drew.adams <at> oracle.com>:
Extra info received and forwarded to list. Copy sent to Emacs Bugs <bug-gnu-emacs <at> gnu.org>. (Sat, 08 Aug 2009 16:15:04 GMT) Full text and rfc822 format available.

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

From: "Drew Adams" <drew.adams <at> oracle.com>
To: "'Roger Leigh'" <rleigh <at> codelibre.net>
Cc: <4084 <at> debbugs.gnu.org>, <bug-gnu-emacs <at> gnu.org>
Subject: RE: bug#4084: 23.1;boxquote uses ugly ASCII "drawing" charactersrather than Unicode
Date: Sat, 8 Aug 2009 09:06:17 -0700
> I think your font is to blame here; perhaps it's using a fallback as
> the corners, and as a result they don't line up correctly.

That's with emacs -Q on MS Windows - IOW, the default font.





Information forwarded to bug-submit-list <at> lists.donarmstrong.com, Emacs Bugs <bug-gnu-emacs <at> gnu.org>:
bug#4084; Package emacs. (Sat, 08 Aug 2009 16:15:06 GMT) Full text and rfc822 format available.

Acknowledgement sent to "Drew Adams" <drew.adams <at> oracle.com>:
Extra info received and forwarded to list. Copy sent to Emacs Bugs <bug-gnu-emacs <at> gnu.org>. (Sat, 08 Aug 2009 16:15:06 GMT) Full text and rfc822 format available.

bug reassigned from package `emacs' to `notemacs'. Request was from Glenn Morris <rgm <at> gnu.org> to control <at> emacsbugs.donarmstrong.com. (Mon, 10 Aug 2009 21:05:05 GMT) Full text and rfc822 format available.

bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> emacsbugs.donarmstrong.com. (Tue, 08 Sep 2009 14:25:10 GMT) Full text and rfc822 format available.

This bug report was last modified 15 years and 289 days ago.

Previous Next


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