From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Ted Zlatanov Newsgroups: gmane.emacs.devel Subject: Re: using glyphs by default in perl-mode Date: Wed, 05 Jun 2013 10:45:26 -0400 Organization: =?utf-8?B?0KLQtdC+0LTQvtGAINCX0LvQsNGC0LDQvdC+0LI=?= @ Cienfuegos Message-ID: <874ndc39bt.fsf@lifelogs.com> References: <83li7ocdkb.fsf@gnu.org> <87d2sp92vb.fsf@lifelogs.com> <87bo877kf7.fsf@lifelogs.com> <87obbs7cew.fsf@lifelogs.com> <87ip1y54fx.fsf@lifelogs.com> <87ehck6670.fsf@lifelogs.com> <87a9n854tx.fsf@lifelogs.com> <8761xw54rv.fsf@lifelogs.com> <87sj0y4p7h.fsf@lifelogs.com> <87ppw13aky.fsf@lifelogs.com> Reply-To: emacs-devel@gnu.org NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1370443548 18973 80.91.229.3 (5 Jun 2013 14:45:48 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 5 Jun 2013 14:45:48 +0000 (UTC) To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed Jun 05 16:45:47 2013 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 1UkEyB-0005FI-9Q for ged-emacs-devel@m.gmane.org; Wed, 05 Jun 2013 16:45:47 +0200 Original-Received: from localhost ([::1]:43615 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UkEyA-0005dA-Vt for ged-emacs-devel@m.gmane.org; Wed, 05 Jun 2013 10:45:46 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:45429) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UkEy5-0005d4-0H for emacs-devel@gnu.org; Wed, 05 Jun 2013 10:45:42 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UkEy2-0007Mh-Pn for emacs-devel@gnu.org; Wed, 05 Jun 2013 10:45:40 -0400 Original-Received: from plane.gmane.org ([80.91.229.3]:39974) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UkEy2-0007MX-Jz for emacs-devel@gnu.org; Wed, 05 Jun 2013 10:45:38 -0400 Original-Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1UkEy1-00057p-Jv for emacs-devel@gnu.org; Wed, 05 Jun 2013 16:45:37 +0200 Original-Received: from pool-72-93-26-80.bstnma.east.verizon.net ([72.93.26.80]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 05 Jun 2013 16:45:37 +0200 Original-Received: from tzz by pool-72-93-26-80.bstnma.east.verizon.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 05 Jun 2013 16:45:37 +0200 X-Injected-Via-Gmane: http://gmane.org/ Mail-Followup-To: emacs-devel@gnu.org Original-Lines: 43 Original-X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: pool-72-93-26-80.bstnma.east.verizon.net X-Face: bd.DQ~'29fIs`T_%O%C\g%6jW)yi[zuz6; d4V0`@y-~$#3P_Ng{@m+e4o<4P'#(_GJQ%TT= D}[Ep*b!\e,fBZ'j_+#"Ps?s2!4H2-Y"sx" Mail-Copies-To: never User-Agent: Gnus/5.130006 (Ma Gnus v0.6) Emacs/24.3.50 (gnu/linux) Cancel-Lock: sha1:eL9lZONTwffZbMTcGKlbudbuQqg= X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 80.91.229.3 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:160107 Archived-At: On Tue, 04 Jun 2013 21:27:19 -0400 Stefan Monnier wrote: >> See attached patch. It only fixes comments and attempts to move to >> prog-mode.el. Maybe you'll know the way to fix it. I get: >> Attempt to autoload define-derived-mode while preparing to dump >> If it's trivial to fix, please let me know how. If not, I'll commit as >> simple.el and update the ChangeLog. SM> Just commit it in simple.el for now. I'll move it later. Done and in trunk. Thanks for all the help and reviews from you and Davis Herring. If anyone wants to update http://www.emacswiki.org/emacs/PrettyLambda and http://www.emacswiki.org/emacs/PrettySymbol feel free! (Aside: I attempted to use `compose-region' to build more complicated compositions besides a single character. The docstring says the COMPONENTS format can be several things, including: "If it is a vector or list, it is a sequence of alternate characters and composition rules, where (2N)th elements are characters and (2N+1)th elements are composition rules to specify how to compose (2N+2)th elements with previously composed N glyphs." I stared at this for a while then I gave up. It really needs one or two examples and an alternate wording, because I have no idea what it says.) I also thought about `put-text-property' of an image but that's pretty ugly and special-cases all the code, plus it has update issues in some cases (deleting characters and reinserting them doesn't trigger the image again). It would be really nice to be able to use `compose-region' and use an image to create a glyph. For now it's a TODO but I think it would be a hit with users. If anyone is interested or wants to tell me how it could work, let me know. The other TODO item is to simplify this support so it doesn't require special effort when setting `font-lock-defaults'. I don't know how that would work internally so I'll wait for Stefan or someone else to give me hints or implement it. Thanks Ted