From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Miles Bader Newsgroups: gmane.emacs.devel Subject: Re: GSoC project "Hyphenation"? Date: Wed, 28 Mar 2012 10:01:22 +0900 Message-ID: <87obrhczdp.fsf@catnip.gol.com> References: NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: dough.gmane.org 1332896494 27620 80.91.229.3 (28 Mar 2012 01:01:34 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Wed, 28 Mar 2012 01:01:34 +0000 (UTC) Cc: emacs-devel@gnu.org To: Stefan Monnier Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed Mar 28 03:01:33 2012 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1SChGX-0000Xl-JY for ged-emacs-devel@m.gmane.org; Wed, 28 Mar 2012 03:01:33 +0200 Original-Received: from localhost ([::1]:38164 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SChGX-0000Ml-0E for ged-emacs-devel@m.gmane.org; Tue, 27 Mar 2012 21:01:33 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:39394) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SChGT-0000Ll-Hx for emacs-devel@gnu.org; Tue, 27 Mar 2012 21:01:30 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1SChGR-0005lL-OJ for emacs-devel@gnu.org; Tue, 27 Mar 2012 21:01:29 -0400 Original-Received: from smtp12.dentaku.gol.com ([203.216.5.74]:54297) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SChGR-0005kr-EV; Tue, 27 Mar 2012 21:01:27 -0400 Original-Received: from 61.245.22.233.eo.eaccess.ne.jp ([61.245.22.233] helo=catnip.gol.com) by smtp12.dentaku.gol.com with esmtpa (Dentaku) (envelope-from ) id 1SChGN-0008Ly-C1; Wed, 28 Mar 2012 10:01:23 +0900 Original-Received: by catnip.gol.com (Postfix, from userid 1000) id 719CFDFBB; Wed, 28 Mar 2012 10:01:22 +0900 (JST) System-Type: x86_64-unknown-linux-gnu In-Reply-To: (Stefan Monnier's message of "Tue, 27 Mar 2012 14:40:45 -0400") Original-Lines: 30 X-Virus-Scanned: ClamAV GOL (outbound) X-Abuse-Complaints: abuse@gol.com X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-Received-From: 203.216.5.74 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:149236 Archived-At: Stefan Monnier 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.