* bug#4084: 23.1; boxquote uses ugly ASCII "drawing" characters rather than Unicode
@ 2009-08-08 10:18 ` Roger Leigh
2009-08-08 15:24 ` Drew Adams
2009-08-08 15:25 ` bug#4084: marked as done (23.1; boxquote uses ugly ASCII "drawing" characters rather than Unicode) Emacs bug Tracking System
0 siblings, 2 replies; 6+ messages in thread
From: Roger Leigh @ 2009-08-08 10:18 UTC (permalink / raw)
To: bug-gnu-emacs
[-- Attachment #1: Type: text/plain, Size: 2712 bytes --]
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.
[-- Attachment #2: Type: application/pgp-signature, Size: 196 bytes --]
^ permalink raw reply [flat|nested] 6+ messages in thread
* bug#4084: 23.1; boxquote uses ugly ASCII "drawing" characters rather than Unicode
[not found] <mailman.4179.1249740673.2239.bug-gnu-emacs@gnu.org>
@ 2009-08-08 14:37 ` Teemu Likonen
0 siblings, 0 replies; 6+ messages in thread
From: Teemu Likonen @ 2009-08-08 14:37 UTC (permalink / raw)
To: Roger Leigh; +Cc: 4084
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.
^ permalink raw reply [flat|nested] 6+ messages in thread
* bug#4084: 23.1; boxquote uses ugly ASCII "drawing" characters rather than Unicode
2009-08-08 10:18 ` bug#4084: 23.1; boxquote uses ugly ASCII "drawing" characters rather than Unicode Roger Leigh
@ 2009-08-08 15:24 ` Drew Adams
2009-08-08 15:37 ` 'Roger Leigh'
2009-08-08 15:25 ` bug#4084: marked as done (23.1; boxquote uses ugly ASCII "drawing" characters rather than Unicode) Emacs bug Tracking System
1 sibling, 1 reply; 6+ messages in thread
From: Drew Adams @ 2009-08-08 15:24 UTC (permalink / raw)
To: 'Roger Leigh', 4084, bug-gnu-emacs
[-- Attachment #1: Type: text/plain, Size: 299 bytes --]
> 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.
[-- Attachment #2: throw-boxquote.png --]
[-- Type: image/png, Size: 22166 bytes --]
^ permalink raw reply [flat|nested] 6+ messages in thread
* bug#4084: marked as done (23.1; boxquote uses ugly ASCII "drawing" characters rather than Unicode)
2009-08-08 10:18 ` bug#4084: 23.1; boxquote uses ugly ASCII "drawing" characters rather than Unicode Roger Leigh
2009-08-08 15:24 ` Drew Adams
@ 2009-08-08 15:25 ` Emacs bug Tracking System
1 sibling, 0 replies; 6+ messages in thread
From: Emacs bug Tracking System @ 2009-08-08 15:25 UTC (permalink / raw)
To: Roger Leigh
[-- Attachment #1: Type: text/plain, Size: 947 bytes --]
Your message dated Sat, 8 Aug 2009 16:17:09 +0100
with message-id <20090808151709.GA21619@codelibre.net>
and subject line Re: bug#4084: 23.1; boxquote uses ugly ASCII "drawing" characters rather than Unicode
has caused the Emacs bug report #4084,
regarding 23.1; boxquote uses ugly ASCII "drawing" characters rather than Unicode
to be marked as done.
This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
bug report if necessary, and/or fix the problem forthwith.
(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact owner@emacsbugs.donarmstrong.com
immediately.)
--
4084: http://emacsbugs.donarmstrong.com/cgi-bin/bugreport.cgi?bug=4084
Emacs Bug Tracking System
Contact owner@emacsbugs.donarmstrong.com with problems
[-- Attachment #2: Type: message/rfc822, Size: 5586 bytes --]
[-- Attachment #2.1.1: Type: text/plain, Size: 2712 bytes --]
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.
[-- Attachment #2.1.2: Type: application/pgp-signature, Size: 196 bytes --]
[-- Attachment #3: Type: message/rfc822, Size: 2104 bytes --]
From: Roger Leigh <rleigh@codelibre.net>
To: Teemu Likonen <tlikonen@iki.fi>
Cc: 4084-done@emacsbugs.donarmstrong.com
Subject: Re: bug#4084: 23.1; boxquote uses ugly ASCII "drawing" characters rather than Unicode
Date: Sat, 8 Aug 2009 16:17:09 +0100
Message-ID: <20090808151709.GA21619@codelibre.net>
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.
^ permalink raw reply [flat|nested] 6+ messages in thread
* bug#4084: 23.1; boxquote uses ugly ASCII "drawing" characters rather than Unicode
2009-08-08 15:24 ` Drew Adams
@ 2009-08-08 15:37 ` 'Roger Leigh'
2009-08-08 16:06 ` bug#4084: 23.1; boxquote uses ugly ASCII "drawing" charactersrather " Drew Adams
0 siblings, 1 reply; 6+ messages in thread
From: 'Roger Leigh' @ 2009-08-08 15:37 UTC (permalink / raw)
To: Drew Adams; +Cc: bug-gnu-emacs, 4084
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.
^ permalink raw reply [flat|nested] 6+ messages in thread
* bug#4084: 23.1; boxquote uses ugly ASCII "drawing" charactersrather than Unicode
2009-08-08 15:37 ` 'Roger Leigh'
@ 2009-08-08 16:06 ` Drew Adams
0 siblings, 0 replies; 6+ messages in thread
From: Drew Adams @ 2009-08-08 16:06 UTC (permalink / raw)
To: 'Roger Leigh'; +Cc: bug-gnu-emacs, 4084
> 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.
^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2009-08-08 16:06 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
[not found] <20090808151709.GA21619@codelibre.net>
2009-08-08 10:18 ` bug#4084: 23.1; boxquote uses ugly ASCII "drawing" characters rather than Unicode Roger Leigh
2009-08-08 15:24 ` Drew Adams
2009-08-08 15:37 ` 'Roger Leigh'
2009-08-08 16:06 ` bug#4084: 23.1; boxquote uses ugly ASCII "drawing" charactersrather " Drew Adams
2009-08-08 15:25 ` bug#4084: marked as done (23.1; boxquote uses ugly ASCII "drawing" characters rather than Unicode) Emacs bug Tracking System
[not found] <mailman.4179.1249740673.2239.bug-gnu-emacs@gnu.org>
2009-08-08 14:37 ` bug#4084: 23.1; boxquote uses ugly ASCII "drawing" characters rather than Unicode Teemu Likonen
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.