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: Compositions and bidi display Date: Wed, 28 Apr 2010 18:49:39 -0400 Message-ID: References: <3A521851-F7CC-45DB-A2ED-8348EF96D5CF@Freenet.DE> <83fx2q5w86.fsf@gnu.org> <834oj22e96.fsf@gnu.org> <837hnuys42.fsf@gnu.org> <83mxwoxo1t.fsf@gnu.org> <83d3xjxys1.fsf@gnu.org> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Trace: dough.gmane.org 1272495046 4956 80.91.229.12 (28 Apr 2010 22:50:46 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Wed, 28 Apr 2010 22:50:46 +0000 (UTC) Cc: emacs-devel@gnu.org, Kenichi Handa To: Eli Zaretskii Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu Apr 29 00:50:44 2010 connect(): No such file or directory Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1O7G5c-0004wX-Cp for ged-emacs-devel@m.gmane.org; Thu, 29 Apr 2010 00:50:44 +0200 Original-Received: from localhost ([127.0.0.1]:39958 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1O7G5b-0002tE-MH for ged-emacs-devel@m.gmane.org; Wed, 28 Apr 2010 18:50:43 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1O7G4e-0001tJ-Ul for emacs-devel@gnu.org; Wed, 28 Apr 2010 18:49:45 -0400 Original-Received: from [140.186.70.92] (port=52810 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1O7G4d-0001re-F5 for emacs-devel@gnu.org; Wed, 28 Apr 2010 18:49:44 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1O7G4c-0003P3-Ho for emacs-devel@gnu.org; Wed, 28 Apr 2010 18:49:43 -0400 Original-Received: from ironport2-out.teksavvy.com ([206.248.154.181]:56912 helo=ironport2-out.pppoe.ca) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1O7G4a-0003Oh-BZ; Wed, 28 Apr 2010 18:49:40 -0400 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: Av0EADtY2EvO+KoL/2dsb2JhbACDFplocq0FkTKBJYJ8bQSMEw X-IronPort-AV: E=Sophos;i="4.52,291,1270440000"; d="scan'208";a="62799892" Original-Received: from 206-248-170-11.dsl.teksavvy.com (HELO pastel.home) ([206.248.170.11]) by ironport2-out.pppoe.ca with ESMTP; 28 Apr 2010 18:49:39 -0400 Original-Received: by pastel.home (Postfix, from userid 20848) id 27DBF7F51; Wed, 28 Apr 2010 18:49:39 -0400 (EDT) In-Reply-To: <83d3xjxys1.fsf@gnu.org> (Eli Zaretskii's message of "Wed, 28 Apr 2010 20:38:54 +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-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:124312 Archived-At: > Btw, do we still need to support static compositions? Those are based > on the `composition' text property, which are no longer supported, > right? Or am I confused? They're not? Does that mean that (font-lock-add-keywords nil `(("(lambda\\>" (0 (progn (compose-region (1+ (match-beginning 0)) (match-end 0) ;; ,(make-char 'greek-iso8859-7 107) ?=CE=BB) nil))))) is using unsupported features? I know I could use `display' instead, but some details of `compose-region' are handy (e.g. the fact that it's automatically removed when the text is modified). Stefan