From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#24901: Patch updated slightly Date: Fri, 02 Dec 2016 17:55:21 +0200 Message-ID: <83h96mmil2.fsf@gnu.org> References: <834m2moeaf.fsf@gnu.org> <83mvgemjxy.fsf@gnu.org> Reply-To: Eli Zaretskii NNTP-Posting-Host: blaine.gmane.org X-Trace: blaine.gmane.org 1480694281 18905 195.159.176.226 (2 Dec 2016 15:58:01 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Fri, 2 Dec 2016 15:58:01 +0000 (UTC) Cc: 24901@debbugs.gnu.org To: Reuben Thomas Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Fri Dec 02 16:57:54 2016 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cCqDg-0003XY-QP for geb-bug-gnu-emacs@m.gmane.org; Fri, 02 Dec 2016 16:57:52 +0100 Original-Received: from localhost ([::1]:35270 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cCqDk-0001Sb-R4 for geb-bug-gnu-emacs@m.gmane.org; Fri, 02 Dec 2016 10:57:56 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:58419) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cCqBx-00004w-Pc for bug-gnu-emacs@gnu.org; Fri, 02 Dec 2016 10:56:09 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cCqBu-0002oS-Ol for bug-gnu-emacs@gnu.org; Fri, 02 Dec 2016 10:56:05 -0500 Original-Received: from debbugs.gnu.org ([208.118.235.43]:35091) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1cCqBu-0002oL-L0 for bug-gnu-emacs@gnu.org; Fri, 02 Dec 2016 10:56:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1cCqBu-0000MP-EG for bug-gnu-emacs@gnu.org; Fri, 02 Dec 2016 10:56:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 02 Dec 2016 15:56:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 24901 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: patch Original-Received: via spool by 24901-submit@debbugs.gnu.org id=B24901.14806941291342 (code B ref 24901); Fri, 02 Dec 2016 15:56:02 +0000 Original-Received: (at 24901) by debbugs.gnu.org; 2 Dec 2016 15:55:29 +0000 Original-Received: from localhost ([127.0.0.1]:50490 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cCqBM-0000La-Sk for submit@debbugs.gnu.org; Fri, 02 Dec 2016 10:55:29 -0500 Original-Received: from eggs.gnu.org ([208.118.235.92]:38953) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cCqBK-0000LM-59 for 24901@debbugs.gnu.org; Fri, 02 Dec 2016 10:55:26 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cCqBB-0002Yf-RZ for 24901@debbugs.gnu.org; Fri, 02 Dec 2016 10:55:20 -0500 Original-Received: from fencepost.gnu.org ([2001:4830:134:3::e]:55806) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cCqBB-0002YY-Oi; Fri, 02 Dec 2016 10:55:17 -0500 Original-Received: from 84.94.185.246.cable.012.net.il ([84.94.185.246]:1791 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1cCqBA-0006gF-Tp; Fri, 02 Dec 2016 10:55:17 -0500 In-reply-to: (message from Reuben Thomas on Fri, 2 Dec 2016 15:40:58 +0000) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 208.118.235.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" Xref: news.gmane.org gmane.emacs.bugs:126420 Archived-At: > From: Reuben Thomas > Date: Fri, 2 Dec 2016 15:40:58 +0000 > Cc: 24901@debbugs.gnu.org > > On 2 December 2016 at 15:26, Eli Zaretskii wrote: > > So electric-pair-mode is incompatible with RTL scripts. Too bad. > > It seems to work for me: if I select a Hebrew keyboard layout, type some Hebrew letters, and then use double > straight quotes, I get the expected result. If I use curly quotes, I get a different result, but perhaps that it > because it implicitly changes the writing direction? I didn't get as far as trying to configure electric-pair-mode to > understand Hebrew quotation marks. The problem I was thinking about is that in RTL script you would type the right quote first, to serve as the opening quote. That's because the quotes are not mirrored by the bidirectional reordering for display, like parentheses are. > I guess I should have said "open" and "close" rather than "left" and "right". But the mode does really react to the left quote and not the open quote. Right? > If you're happy with my argument above about programming languages, I'll install the change. Please do, and thanks.