GNU bug report logs -
#4084
23.1; boxquote uses ugly ASCII "drawing" characters rather than Unicode
Previous Next
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.
Full log
View this message in rfc822 format
[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)]
This bug report was last modified 15 years and 290 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.