From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: =?iso-8859-1?Q?Jan_Dj=E4rv?= Newsgroups: gmane.emacs.devel Subject: Re: Changes in frame/window code Date: Tue, 29 Jul 2014 17:29:07 +0200 Message-ID: <45C5C690-8050-4158-909D-94566B438718@swipnet.se> References: <53CE6A44.1010708@gmx.at> <53D4FF76.1060804@gmx.at> <8338dmj1of.fsf@gnu.org> <83wqayhe0o.fsf@gnu.org> <53D542B3.20206@gmx.at> <83tx62hane.fsf@gnu.org> <53D6172A.5010909@gmx.at> <83fvhlhad5.fsf@gnu.org> <53D656BB.3010201@gmx.at> <83egx5h86z.fsf@gnu.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 (Mac OS X Mail 7.3 \(1878.6\)) Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1406647782 25894 80.91.229.3 (29 Jul 2014 15:29:42 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 29 Jul 2014 15:29:42 +0000 (UTC) Cc: martin rudalics , emacs-devel@gnu.org To: Eli Zaretskii Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue Jul 29 17:29:35 2014 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 1XC9LK-0002l0-P5 for ged-emacs-devel@m.gmane.org; Tue, 29 Jul 2014 17:29:34 +0200 Original-Received: from localhost ([::1]:46632 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XC9LJ-00048Y-VE for ged-emacs-devel@m.gmane.org; Tue, 29 Jul 2014 11:29:34 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:49989) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XC9LC-00048T-AH for emacs-devel@gnu.org; Tue, 29 Jul 2014 11:29:32 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XC9L6-0007dw-Dk for emacs-devel@gnu.org; Tue, 29 Jul 2014 11:29:26 -0400 Original-Received: from mailfe09.swip.net ([212.247.155.1]:58284 helo=swip.net) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XC9Kz-0007dJ-Tg; Tue, 29 Jul 2014 11:29:14 -0400 X-T2-Spam-Status: No, hits=0.0 required=5.0 Original-Received: from hosdjarv.se (account mj138573@tele2.se [46.59.42.57] verified) by mailfe09.swip.net (CommuniGate Pro SMTP 5.4.4) with ESMTPA id 346769365; Tue, 29 Jul 2014 17:29:08 +0200 In-Reply-To: <83egx5h86z.fsf@gnu.org> X-Mailer: Apple Mail (2.1878.6) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-Received-From: 212.247.155.1 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:173254 Archived-At: Hi. 28 jul 2014 kl. 16:25 skrev Eli Zaretskii : >>> (Btw, shouldn't GTK scroll bars already support bidirectional text = out >>> of the box? Perhaps you need to set some flag(s) to get that.) >>=20 >> No idea. >=20 > Maybe Jan (CC'ed) can help us out. >=20 >> In any case I would have to tell GTK whether the "current text" >> (whatever that is) is L2R or R2L I suppose. >=20 > Yes, but we have current-bidi-paragraph-direction for that. Not out of the box, but=20 gtk_widget_set_direction (w, GTK_TEXT_DIR_RTL) and gtk_range_set_flippable (w, TRUE); where w is the scrollbar should do it according to the documentation. I = have not tried it. gtk_range_set_flippable is since 2.18, so you would have to put in a = check for that. Jan D.