all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Yuri Khan <yuri.v.khan@gmail.com>
To: Emanuel Berg <embe8573@student.uu.se>
Cc: "help-gnu-emacs@gnu.org" <help-gnu-emacs@gnu.org>
Subject: Re: Getting Emacs to play nice with Hunspell and apostrophes
Date: Sat, 14 Jun 2014 12:45:50 +0700	[thread overview]
Message-ID: <CAP_d_8VYA+8sVS5uHV82hYF4DK3dejw6EXOaLC7FnBj3BDJFYQ@mail.gmail.com> (raw)
In-Reply-To: <8738f8w988.fsf@debian.uxu>

On Sat, Jun 14, 2014 at 8:49 AM, Emanuel Berg <embe8573@student.uu.se> wrote:

> The “ and ’ just looks silly and they are
> disruptive. The two chars after the words "such as" I
> cannot see (they are shown as diamonds).

This is where I disagree. Curly quotes (and, in Russian print
tradition, double angle quotes) are what I am used to seeing in print
and consider to be the correct way to write, independent of the
medium. Straight quotes I recognize in both print and on screen as a
no longer necessary homage to the old clunky typewriter, and perceive
as silly.

As for your problems seeing curly quotes, that’s because of your
display engine. Text mode Linux console is limited to at most 512
character shapes; this limitation dates back to the original VGA card
and is another one that should no longer affect us. Nowadays, you
should be able to use a graphical-based text renderer — be it X11 or
framebuffer. Myself, I haven’t bothered to set up a framebuffer
console on any of my computers — I prefer working in an X11
environment with Freetype-rendered, subpixel-antialiased Unicode fonts
and rich xkb customizability.

> the question is *why* -
> what is the gain? who would benefit from it, and how
> so?

By encoding more precise character semantics into our texts, we make
them better suited for any kind of automated processing. Conflating
similarly shaped characters, on the other hand, makes it more
complicated.

For example, the task of producing nice printouts from an
ASCII-encoded source requires a complex piece of software like
[La]TeX, or the mechanism of entity references in HTML (&ldquo;). On
the other hand, with UTF-8, we can directly encode the desired
characters in a text document and print it out with any text editor or
web browser.

(You can, of course, argue that a printout of an ASCII document with
straight quotes is not too ugly; or that TeX is not exceedingly
complex; or that entity references are not very disrupting.)

> OK, let me tell you how I do ' and ". ' I do by moving
> my right little finger one step (key) to the right. The
> " I do by moving the right little finger to the right
> shift, at the same time as the ring finger slides along
> to the ' key.

Now let me tell you how I do curly quotes.

First, with my right thumb, I hold the AltGr modifier. Then, I press k
and l in sequence to get a balanced pair of double curly quotes, or ;
and ' for single quotes (I customized my xkb configuration files to
get this but it works similarly with the out-of-the-box config). This
works for me in both Latin/English and Cyrillic/Russian layouts. On
the other hand, the straight quote is only available in the Latin
layout; in Russian, I would have to first switch to Latin, then type
the single quote, and finally switch back to Russian.



  reply	other threads:[~2014-06-14  5:45 UTC|newest]

Thread overview: 47+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <mailman.3187.1402155569.1147.help-gnu-emacs@gnu.org>
2014-06-11  0:04 ` Getting Emacs to play nice with Hunspell and apostrophes Emanuel Berg
2014-06-11  5:23   ` Nikolai Weibull
     [not found]   ` <mailman.3375.1402464243.1147.help-gnu-emacs@gnu.org>
2014-06-11 14:24     ` Emanuel Berg
2014-06-11 15:03       ` Nikolai Weibull
     [not found]       ` <mailman.3418.1402499010.1147.help-gnu-emacs@gnu.org>
2014-06-11 15:20         ` Emanuel Berg
2014-06-11 16:57           ` Teemu Likonen
     [not found]           ` <mailman.3437.1402505846.1147.help-gnu-emacs@gnu.org>
2014-06-11 21:32             ` Emanuel Berg
2014-06-12  5:43           ` Yuri Khan
2014-06-12 12:51             ` Stefan Monnier
2014-06-12 13:36               ` Nikolai Weibull
2014-06-12 14:48                 ` Stefan Monnier
     [not found]               ` <mailman.3496.1402580195.1147.help-gnu-emacs@gnu.org>
2014-06-14  1:49                 ` Emanuel Berg
2014-06-14  5:45                   ` Yuri Khan [this message]
2014-06-17  1:09                     ` Keyboard layout purpose (was: Getting Emacs to play nice with Hunspell and apostrophes) Garreau, Alexandre
     [not found]                   ` <mailman.3627.1402724759.1147.help-gnu-emacs@gnu.org>
2014-06-14 11:14                     ` Getting Emacs to play nice with Hunspell and apostrophes Emanuel Berg
2014-06-14 14:51                       ` Yuri Khan
2014-06-14 15:26                         ` Teemu Likonen
2014-06-17  1:42                         ` Garreau, Alexandre
     [not found]                       ` <mailman.3651.1402757512.1147.help-gnu-emacs@gnu.org>
2014-06-14 16:13                         ` Emanuel Berg
2014-06-16 15:35                           ` Joost Kremers
2014-06-17  2:21                           ` Garreau, Alexandre
     [not found]                           ` <mailman.3799.1402971688.1147.help-gnu-emacs@gnu.org>
2014-06-17  2:41                             ` Rusi
2014-06-17  3:05                               ` Rusi
2014-06-17  1:46                       ` Garreau, Alexandre
2014-06-15  2:48                     ` Sergio Pokrovskij
2014-06-17  1:30                       ` Garreau, Alexandre
2014-06-12 16:58             ` Eli Zaretskii
     [not found]           ` <mailman.3473.1402551809.1147.help-gnu-emacs@gnu.org>
2014-06-14  1:35             ` Emanuel Berg
2014-06-14  2:38             ` Emanuel Berg
2014-06-14  5:19               ` Facts for fans: encodings history (was: Re: Getting Emacs to play nice with Hunspell and apostrophes) Emanuel Berg
2014-06-14  7:37                 ` Yuri Khan
2014-06-14  8:28                   ` Eli Zaretskii
2014-06-14 10:46                     ` Yuri Khan
     [not found]                 ` <mailman.3631.1402731427.1147.help-gnu-emacs@gnu.org>
2014-06-14 11:21                   ` Emanuel Berg
2014-06-14  7:11               ` Getting Emacs to play nice with Hunspell and apostrophes Yuri Khan
     [not found]               ` <mailman.3630.1402729917.1147.help-gnu-emacs@gnu.org>
2014-06-14 11:20                 ` Emanuel Berg
2014-06-17  2:12 ` Rusi
2014-06-17  2:33   ` Garreau, Alexandre
2014-06-07 15:39 Nikolai Weibull
2014-06-07 17:43 ` Robert Thorpe
2014-06-07 17:59   ` Yuri Khan
2014-06-07 18:18   ` Nikolai Weibull
2014-06-07 17:53 ` Sharon Kimble
2014-06-07 18:17   ` Eli Zaretskii
2014-06-07 18:28 ` Nikolai Weibull
2014-06-07 18:40   ` Eli Zaretskii
2014-06-07 19:59     ` Nikolai Weibull

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

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

  git send-email \
    --in-reply-to=CAP_d_8VYA+8sVS5uHV82hYF4DK3dejw6EXOaLC7FnBj3BDJFYQ@mail.gmail.com \
    --to=yuri.v.khan@gmail.com \
    --cc=embe8573@student.uu.se \
    --cc=help-gnu-emacs@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 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.