From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Reuben Thomas Newsgroups: gmane.emacs.bugs Subject: bug#13131: 24.1; Allow curly quotes to be found by searching for straight quotes? Date: Mon, 10 Dec 2012 11:20:32 +0000 Message-ID: References: <87obi2bvzg.fsf@sc3d.org> <87fw3exrqu.fsf@mail.jurta.org> <83sj7eb9ap.fsf@gnu.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: multipart/alternative; boundary=047d7b343abae694f404d07dc07c X-Trace: ger.gmane.org 1355138507 14999 80.91.229.3 (10 Dec 2012 11:21:47 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 10 Dec 2012 11:21:47 +0000 (UTC) Cc: 13131@debbugs.gnu.org To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Mon Dec 10 12:22:00 2012 Return-path: Envelope-to: geb-bug-gnu-emacs@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 1Ti1Qn-0002ia-9g for geb-bug-gnu-emacs@m.gmane.org; Mon, 10 Dec 2012 12:21:53 +0100 Original-Received: from localhost ([::1]:48312 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Ti1Qa-0006ky-Q7 for geb-bug-gnu-emacs@m.gmane.org; Mon, 10 Dec 2012 06:21:40 -0500 Original-Received: from eggs.gnu.org ([208.118.235.92]:58381) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Ti1QS-0006hi-JL for bug-gnu-emacs@gnu.org; Mon, 10 Dec 2012 06:21:38 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Ti1QN-0008GD-Tm for bug-gnu-emacs@gnu.org; Mon, 10 Dec 2012 06:21:32 -0500 Original-Received: from debbugs.gnu.org ([140.186.70.43]:52927) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Ti1QN-0008G6-L2 for bug-gnu-emacs@gnu.org; Mon, 10 Dec 2012 06:21:27 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.72) (envelope-from ) id 1Ti1Qw-0007ZG-4S for bug-gnu-emacs@gnu.org; Mon, 10 Dec 2012 06:22:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Reuben Thomas Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 10 Dec 2012 11:22:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 13131 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 13131-submit@debbugs.gnu.org id=B13131.135513847229031 (code B ref 13131); Mon, 10 Dec 2012 11:22:02 +0000 Original-Received: (at 13131) by debbugs.gnu.org; 10 Dec 2012 11:21:12 +0000 Original-Received: from localhost ([127.0.0.1]:34945 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1Ti1Q7-0007YB-O1 for submit@debbugs.gnu.org; Mon, 10 Dec 2012 06:21:12 -0500 Original-Received: from exprod7og121.obsmtp.com ([64.18.2.20]:38816) by debbugs.gnu.org with smtp (Exim 4.72) (envelope-from ) id 1Ti1Q5-0007Y2-EQ for 13131@debbugs.gnu.org; Mon, 10 Dec 2012 06:21:10 -0500 Original-Received: from mail-wi0-f200.google.com ([209.85.212.200]) (using TLSv1) by exprod7ob121.postini.com ([64.18.6.12]) with SMTP ID DSNKUMXFgUMKYZqd6pRfbPQTjqhdWmNaw9jI@postini.com; Mon, 10 Dec 2012 03:20:34 PST Original-Received: by mail-wi0-f200.google.com with SMTP id hn14so1549745wib.3 for <13131@debbugs.gnu.org>; Mon, 10 Dec 2012 03:20:32 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:x-gm-message-state; bh=7I76DQx0W9lLzTNCnQKUgNoDREkh96NRW3JrjjtbfUo=; b=BpiWWcmYuFMqeTHOkfAyjs97qV3Swn/Iscdmq9fadPAQgToHAR321Q0nOXA2JdhT5H Y8mFKKtCP8OWJ6Ibg+lVJuGcm1sTmYBrg6D762INeDEtfR5PEwGqYOrYPid8SK7bppGL cyYIbCnOrjg0LRnZFdNOnRp3EWYOoTgPScS/0gR8Rje4g+KRSgfj1YdNxoZZtWuOo5e8 0d4FJdlK0k36oMFr5+SQgQGdUqTYoaT0L8R10B96d3suTsF+YBCDlE+u4LI1t1a4Z2KO XvwHXEo7p0ZXcPL9SwGgTIE+EGYznj/iWonDbbKdSvQK0sydDCHYvNie787xJz90ZUzO ZoaA== Original-Received: by 10.14.203.8 with SMTP id e8mr48889399eeo.2.1355138432798; Mon, 10 Dec 2012 03:20:32 -0800 (PST) Original-Received: by 10.14.203.8 with SMTP id e8mr48889375eeo.2.1355138432668; Mon, 10 Dec 2012 03:20:32 -0800 (PST) Original-Received: by 10.14.212.66 with HTTP; Mon, 10 Dec 2012 03:20:32 -0800 (PST) In-Reply-To: <83sj7eb9ap.fsf@gnu.org> X-Gm-Message-State: ALoCoQkFaLMEXHKYaNCvj745bKNE+IddKL2praZ5fugkIicZRnYRaWF2+tgouH4HIDHOmV6ovHH7GPqUowj2QX1slTkSKb4b4uVquNMq+A6hdHdClCupOtw2jAvEjXh2mqy5hJ9CMkLGSEb8giLXEGsGbMfrimJN+96rBJWsfCj1s2eZibKiHzM= X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 140.186.70.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:68275 Archived-At: --047d7b343abae694f404d07dc07c Content-Type: text/plain; charset=ISO-8859-1 On 10 December 2012 08:28, Eli Zaretskii wrote: > > We should begin by discussing whether we really want this feature, by > default or otherwise. One of the aspects we need to consider, IMO, is > what do spell-checkers do with these characters: if they don't treat > them as word-constituents, that would be one argument against the > change; if they do, it's an argument for the change. > At least aspell now seems to accept curly quotes by default in some locales. However, I think the rationale for the feature is independent of spell-checkers. Emacs has had support for displaying curly quotes for some time. There are various ways to enter them conveniently (the Emacs Wiki lists smart-quotes.el, which I use, and typopunct.el. The sole author of smart-quotes.el would be quite happy to assign copyright to GNU and have it added to Emacs; I suggested he contact the maintainers about this in August 2011. (Incidentally, I'd be happy to facilitate the process if Emacs maintainers were interested.) Since curly quotes make perfect sense as part of words, in exactly the same way as straight quotes, it seems reasonable to treat them the same for movement, even if spelling support is not yet perfect; indeed, any additional incentive to spelling program authors to improve Unicode punctuation support is welcome. For writing text, the introduction of Unicode has been a boon, and it would be great if Emacs's "semantic" support would catch up with its excellent display support. This is one aspect of that. -- http://rrt.sc3d.org --047d7b343abae694f404d07dc07c Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable On 10 December 2012 08:28, Eli Zaretskii <eliz@gnu.org> wrote:

We should begin by discussing whether we really want this feature, by
default or otherwise. =A0One of the aspects we need to consider, IMO, is what do spell-checkers do with these characters: if they don't treat them as word-constituents, that would be one argument against the
change; if they do, it's an argument for the change.

At least aspell now seems to accept curly qu= otes by default in some locales.

However,=A0 I think the rationale f= or the feature is independent of spell-checkers. Emacs has had support for = displaying curly quotes for some time. There are various ways to enter them= conveniently (the Emacs Wiki lists smart-quotes.el, which I use, and typop= unct.el. The sole author of smart-quotes.el would be quite happy to assign = copyright to GNU and have it added to Emacs; I suggested he contact the mai= ntainers about this in August 2011. (Incidentally, I'd be happy to faci= litate the process if Emacs maintainers were interested.)

Since curly quotes make perfect sense as part of words, in = exactly the same way as straight quotes, it seems reasonable to treat them = the same for movement, even if spelling support is not yet perfect; indeed,= any additional incentive to spelling program authors to improve Unicode pu= nctuation support is welcome.

For writing text, the introduction of Unicode has been a boon, and it w= ould be great if Emacs's "semantic" support would catch up wi= th its excellent display support. This is one aspect of that.

-- http://rrt.sc3d.org
--047d7b343abae694f404d07dc07c--