From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.devel Subject: Re: bidi-display-reordering is now non-nil by default Date: Tue, 23 Aug 2011 15:17:29 -0400 Message-ID: References: <4E48D309.6050503@acdlabs.ru> <83hb5jujjs.fsf@gnu.org> <874o1j10zv.fsf@fencepost.gnu.org> <8362lyvcli.fsf@gnu.org> <83k4aasnm9.fsf@gnu.org> <838vqmx9tj.fsf@gnu.org> <83ei0cimdl.fsf@gnu.org> <831uwchrvw.fsf@gnu.org> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: dough.gmane.org 1314127063 26387 80.91.229.12 (23 Aug 2011 19:17:43 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Tue, 23 Aug 2011 19:17:43 +0000 (UTC) Cc: emacs-devel@gnu.org To: Eli Zaretskii Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue Aug 23 21:17:37 2011 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([140.186.70.17]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1QvwTh-0000VV-KA for ged-emacs-devel@m.gmane.org; Tue, 23 Aug 2011 21:17:37 +0200 Original-Received: from localhost ([::1]:41183 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QvwTh-0001gL-36 for ged-emacs-devel@m.gmane.org; Tue, 23 Aug 2011 15:17:37 -0400 Original-Received: from eggs.gnu.org ([140.186.70.92]:53685) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QvwTe-0001g5-8k for emacs-devel@gnu.org; Tue, 23 Aug 2011 15:17:35 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1QvwTd-0006Au-4W for emacs-devel@gnu.org; Tue, 23 Aug 2011 15:17:34 -0400 Original-Received: from ironport2-out.teksavvy.com ([206.248.154.183]:21458 helo=ironport2-out.pppoe.ca) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QvwTb-0006AR-J1; Tue, 23 Aug 2011 15:17:31 -0400 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: Av0EAHr8U05Ld+HZ/2dsb2JhbABCp2R4gUABAQQBViMFCws0EhQYDSSIBL1uhkgEn3eEOA X-IronPort-AV: E=Sophos;i="4.68,271,1312171200"; d="scan'208";a="132451376" Original-Received: from 75-119-225-217.dsl.teksavvy.com (HELO ceviche.home) ([75.119.225.217]) by ironport2-out.pppoe.ca with ESMTP/TLS/ADH-AES256-SHA; 23 Aug 2011 15:17:29 -0400 Original-Received: by ceviche.home (Postfix, from userid 20848) id 0F9676610A; Tue, 23 Aug 2011 15:17:29 -0400 (EDT) In-Reply-To: <831uwchrvw.fsf@gnu.org> (Eli Zaretskii's message of "Tue, 23 Aug 2011 22:03:47 +0300") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (gnu/linux) X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 206.248.154.183 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:143551 Archived-At: > Btw, I've looked at all the users of (space :SOMETHING) spec in > Emacs. Almost all of them use :align-to. The rest all use :width, > and with a single exception (ruler-mode, which uses this on the > fringes, and so is irrelevant to this discussion), all of them use > this to separate and align fields. Thanks for looking at it. It confirms my impression. >> Maybe all `space' display properties should be treated as field >> separators, but with a new :not-a-bidi-field-separator property >> that can override this default. > If we want to keep this simple enough to get into 24.1, I suggest to > treat them all as segment separators, and not introduce any overriding > properties until someone comes with a convincing use case that > actually needs something like that. OK. >> For Emacs-24, I've made an effort to try and reduce the amount of >> alternative completion code (most of which was not like >> ido/iswitchb/.. but more like lisp-mode or makefile-mode >> re-implementing the simple completion code already implemented for the >> minibuffer), so I guess that nowadays there's mostly just ido and iswitchb >> bundled with Emacs plus company-mode in the GNU ELPA (hopefully soon >> accompanied with auto-complete and completion-ui). > Thanks, I will take a look. iswitchb already uses display-completion-list when displaying completions in *Completions*. And ido.el never displays anything in *Completions*, AFAICT. But both of them (along with icomplete.el) show a list of completions "inline" in the minibuffer as in Switch to buffer: a{data.tex,foo.ada,*scratch*} so maybe the {,,,} list should use bidi-string-mark-left-to-right before the comma. BTW, I think we should make it clear that bidi-string-mark-left-to-right only makes sense in text that gets displayed in L2R paragraphs, so it's largely restricted to buffers that should set bidi-paragraph-direction to `left-to-right'. > Need your decision on the space spec. Is the above enough, or are there still more open issues? Stefan