From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Paul Eggert Newsgroups: gmane.emacs.devel Subject: Re: [Emacs-diffs] master 9d35bb8: Fix minor quoting problems in doc strings Date: Thu, 21 May 2015 00:36:28 -0700 Organization: UCLA Computer Science Department Message-ID: <555D8AFC.6050204@cs.ucla.edu> References: <20150519220123.30678.22605@vcs.savannah.gnu.org> <555BB96F.3050700@yandex.ru> <555BC4BD.1030207@cs.ucla.edu> <555BE07E.8090209@yandex.ru> <555BEE11.3020300@cs.ucla.edu> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1432193817 19992 80.91.229.3 (21 May 2015 07:36:57 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 21 May 2015 07:36:57 +0000 (UTC) Cc: emacs-devel@gnu.org, Dmitry Gutov To: Stefan Monnier Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu May 21 09:36:50 2015 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 1YvL2A-0005WC-2c for ged-emacs-devel@m.gmane.org; Thu, 21 May 2015 09:36:50 +0200 Original-Received: from localhost ([::1]:55723 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YvL29-0004lq-5l for ged-emacs-devel@m.gmane.org; Thu, 21 May 2015 03:36:49 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:46149) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YvL1u-0004li-J9 for emacs-devel@gnu.org; Thu, 21 May 2015 03:36:35 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YvL1r-00070L-8T for emacs-devel@gnu.org; Thu, 21 May 2015 03:36:34 -0400 Original-Received: from smtp.cs.ucla.edu ([131.179.128.62]:38146) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YvL1q-000702-U5 for emacs-devel@gnu.org; Thu, 21 May 2015 03:36:31 -0400 Original-Received: from localhost (localhost.localdomain [127.0.0.1]) by smtp.cs.ucla.edu (Postfix) with ESMTP id 7A8C639E801A; Thu, 21 May 2015 00:36:29 -0700 (PDT) X-Virus-Scanned: amavisd-new at smtp.cs.ucla.edu Original-Received: from smtp.cs.ucla.edu ([127.0.0.1]) by localhost (smtp.cs.ucla.edu [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 9lIC0VWm3-DC; Thu, 21 May 2015 00:36:28 -0700 (PDT) Original-Received: from [192.168.1.9] (pool-100-32-155-148.lsanca.fios.verizon.net [100.32.155.148]) by smtp.cs.ucla.edu (Postfix) with ESMTPSA id 5D6FA39E8014; Thu, 21 May 2015 00:36:28 -0700 (PDT) User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.7.0 In-Reply-To: X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 131.179.128.62 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:186691 Archived-At: Stefan Monnier wrote: > I think it's perfectly OK to start using curly-quotes in a few places, > and to start adding support for curly-quotes (e.g. to make it easier to > insert them, and to make*Help* buffer xrefs for them, to seamlessly > downgrade them to simple quotes on non-utf-8 terminals, ...), and > I think we should*also* add jit/font-lock support to display-upgrade > `...' into curly-quotes in those cases we deem "obvious enough". The master branch already supports downgrading to simple quotes. Support for *Help* buffer xrefs is in the draft patches in , a patchset I just now published; rather than font-locking this patchset substitutes characters, an approach that worked better for me. The main thing on my todo list is the first item on your list: making it easier to insert curved quotes. This is Bug#20545, where the proposed patch needs a bit of hacking to get it to work well with electric-pair-mode. I plan to look into that soon. I'm thinking of renaming it to Electric Quote mode as "Electric Punct mode" may be a bit too ambitious.