From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Chong Yidong Newsgroups: gmane.emacs.devel Subject: Re: bidi-display-reordering is now non-nil by default Date: Mon, 01 Aug 2011 11:45:54 -0400 Message-ID: <87d3gp3zkd.fsf@stupidchicken.com> References: <83fwlqe2xy.fsf@gnu.org> <20110731.005516.149395323.wl@gnu.org> <20110731.082721.451360942.wl@gnu.org> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: dough.gmane.org 1312213567 8026 80.91.229.12 (1 Aug 2011 15:46:07 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Mon, 1 Aug 2011 15:46:07 +0000 (UTC) Cc: emacs-devel@gnu.org To: Eli Zaretskii Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Aug 01 17:46:03 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 1Qnugt-00038M-1m for ged-emacs-devel@m.gmane.org; Mon, 01 Aug 2011 17:46:03 +0200 Original-Received: from localhost ([::1]:56233 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Qnugs-0000pc-Lb for ged-emacs-devel@m.gmane.org; Mon, 01 Aug 2011 11:46:02 -0400 Original-Received: from eggs.gnu.org ([140.186.70.92]:41285) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Qnugq-0000pB-1V for emacs-devel@gnu.org; Mon, 01 Aug 2011 11:46:00 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Qnugp-0007dz-8b for emacs-devel@gnu.org; Mon, 01 Aug 2011 11:46:00 -0400 Original-Received: from vm-emlprdomr-06.its.yale.edu ([130.132.50.147]:41005) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Qnugm-0007dE-Om; Mon, 01 Aug 2011 11:45:56 -0400 Original-Received: from furball ([128.36.14.85]) (authenticated bits=0) by vm-emlprdomr-06.its.yale.edu (8.14.4/8.14.4) with ESMTP id p71FjsQE024552 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES128-SHA bits=128 verify=NOT); Mon, 1 Aug 2011 11:45:55 -0400 In-Reply-To: (Eli Zaretskii's message of "Sun, 31 Jul 2011 02:40:41 -0400") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (gnu/linux) X-Scanned-By: MIMEDefang 2.71 on 130.132.50.147 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-Received-From: 130.132.50.147 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:142633 Archived-At: Eli Zaretskii writes: > Chong, Stefan: how about having a (customizable) list of buffer names > which should by default have left-to-right paragraph direction? Would > this be a reasonable solution? We could add buffer names to this list > as we discover more such cases. We could introduce a customizable variable, but I think this variable should serve only as a fallback for individual users---it should be nil by default. Otherwise that discourages upstream authors from implementing a real fix. I don't know enough to say what the real fix is, though. You said that the slowdown is because "Emacs is searching for the beginning of the paragraph, but this whole buffer is one huge paragraph." Is it enough for a mode to set the variable `paragraph-start' for Emacs to DTRT? A quick glance at the Mew source shows that it does set `paragraph-start', though I don't know if every line is treated like a paragraph.