all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Miles Bader <miles@gnu.org>
To: Stefan Monnier <monnier@IRO.UMontreal.CA>
Cc: emacs-devel@gnu.org
Subject: Re: GSoC project "Hyphenation"?
Date: Wed, 28 Mar 2012 10:01:22 +0900	[thread overview]
Message-ID: <87obrhczdp.fsf@catnip.gol.com> (raw)
In-Reply-To: <jwvfwcu6ins.fsf-monnier+emacs@gnu.org> (Stefan Monnier's message of "Tue, 27 Mar 2012 14:40:45 -0400")

Stefan Monnier <monnier@IRO.UMontreal.CA> writes:
> I guess there's a combination of reasons for that:
> - Emacs doesn't support proportional fonts very well.
> - monospaced justified text is rarely used.
> - => justified text is rarely used in Emacs.
> - hyphenation is rarely needed for non-justified text.
>
> E.g. without hyphenation, your email would not have been much
> less pleasantly balanced.  There are only 3 paragraphs where your
> hyphenation lets Emacs's filling algorithm give noticeably better
> results, but by tweaking down the fill-column on a case-by-case
> basis (from 60 to 57, for example), you can easily get back
> something reasonably close (aesthetically) to the
> hyphenated version.

One thing that I find I do sort of want in practice, is simply more
intelligent treatment of _explicit_ hyphens, as filling often yields
awkward results when long hyphenated words
("moggle-crested-snurd-radler") occur in a paragraph.  It'd be nice if
both filling and display-time word-wrapping would be willing to break
after hyphens, and not insert whitespace after a hyphen when filling.

That would presumably be a lot simpler than full balls-to-the-wall
hyphenation.  Hmm, maybe not enough for a full GSoC project tho...

-Miles

-- 
Neighbor, n. One whom we are commanded to love as ourselves, and who does all
he knows how to make us disobedient.



  reply	other threads:[~2012-03-28  1:01 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-03-27 16:01 GSoC project "Hyphenation"? Tim Landscheidt
2012-03-27 17:48 ` Deniz Dogan
2012-03-27 18:04   ` Eli Zaretskii
2012-03-27 18:40 ` Stefan Monnier
2012-03-28  1:01   ` Miles Bader [this message]
2012-03-28 12:47     ` Stefan Monnier
2016-12-23  1:09 ` hector

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=87obrhczdp.fsf@catnip.gol.com \
    --to=miles@gnu.org \
    --cc=emacs-devel@gnu.org \
    --cc=monnier@IRO.UMontreal.CA \
    /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.