From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Lars Magne Ingebrigtsen Newsgroups: gmane.emacs.devel Subject: Combining face and map stuff Date: Sat, 02 Oct 2010 16:21:32 +0200 Organization: Programmerer Ingebrigtsen Message-ID: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: dough.gmane.org 1286029323 12486 80.91.229.12 (2 Oct 2010 14:22:03 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Sat, 2 Oct 2010 14:22:03 +0000 (UTC) To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sat Oct 02 16:22:02 2010 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 1P22yQ-0008Jn-BW for ged-emacs-devel@m.gmane.org; Sat, 02 Oct 2010 16:22:02 +0200 Original-Received: from localhost ([127.0.0.1]:59930 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1P22yP-0002ba-Oc for ged-emacs-devel@m.gmane.org; Sat, 02 Oct 2010 10:22:01 -0400 Original-Received: from [140.186.70.92] (port=36189 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1P22yJ-0002bT-FJ for emacs-devel@gnu.org; Sat, 02 Oct 2010 10:21:56 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1P22yG-0004mt-1a for emacs-devel@gnu.org; Sat, 02 Oct 2010 10:21:55 -0400 Original-Received: from lo.gmane.org ([80.91.229.12]:54175) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1P22yF-0004mc-MA for emacs-devel@gnu.org; Sat, 02 Oct 2010 10:21:51 -0400 Original-Received: from list by lo.gmane.org with local (Exim 4.69) (envelope-from ) id 1P22y7-00089h-Ig for emacs-devel@gnu.org; Sat, 02 Oct 2010 16:21:43 +0200 Original-Received: from cm-84.215.34.171.getinternet.no ([84.215.34.171]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sat, 02 Oct 2010 16:21:43 +0200 Original-Received: from larsi by cm-84.215.34.171.getinternet.no with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sat, 02 Oct 2010 16:21:43 +0200 X-Injected-Via-Gmane: http://gmane.org/ Mail-Followup-To: emacs-devel@gnu.org Original-Lines: 17 Original-X-Complaints-To: usenet@dough.gmane.org X-Gmane-NNTP-Posting-Host: cm-84.215.34.171.getinternet.no Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAwBAMAAAClLOS0AAAAElBMVEUxPEkeISwRFB4qMD1a WVsJCRPGKWvAAAACbUlEQVQ4jVWUzXbjIAyFcWD2Frj7oMR7iNK9HZh9mpb3f5Vegds5o4VPwof+ r22Mq//ZdhyYZLpt5sds0KfDkfu9i8tKjE0KHkxEQYyppk4Zv4mZF1w4RT1PplaBkWfyK18V4E4/ r3iKenhuX79gJNpsHuA5gPyAWpUMIAP8tKHBkPzcPZDT/PYnOccOZEIG+de/1cIG0E4pOO1wABAN NYVUS5B7yRwpoDDJ1MGOHgoaz8jJ8V6LEoCtoKItmUmLYb5UuJMHqOWOyMloyrUxu2pJfPdwvWUF rTU+O6GssxrAISEcYLFmktw9xNUbc+aLV3De0HDuOdD2jRNx+Ksu1zmL16pMQVs2IJSr6rLPYt+i Ltwl3Wcmv9W31l6PuW7vH7av3RUHwKgtty+ea+1gc3QpC6bNWlw7xzRx+1AHxy+ajeQIcOUoSQN2 ISHjp8Hm0M+y2CkJiJ7vbYUrJrfUbbrrzvYBHn2TaCqZjTYRW7c2xMDRY9WQFFZfbMoHcKcYci3I jqEuIeW2lMbq8YgS3E5JsmSX3N6WW9+5m3y0WWYrVhJ0vVM+5PMgn4zFgm0vfmhUQ+2IPd+rjg3y f5fMWM0ZfycP53vFGuzNc+QYeR2AYp6u0MAt8o0pRNXoEDWmD3HseaXDAKR7UPoTo/iXnqkokENM OpEPqbhi7Mpx7Yo4AK/h7paSvafQ34HW1mdSQBxdSVB5fwFVXe3ZPSJinQhb5xfUu2qwZ9DpsvdY Oe63Lka1TxpjnzdmWi/+UCMAPHb0GjVnyOH9cGgXAKefEWxWcP9CQiFgabl/UFRtfJiG0hJo3KaR 9TXiAPj5GyUdqI1BlntlAAAAAElFTkSuQmCC Mail-Copies-To: never X-Now-Playing: Nadja's _Ruins of Morning_: "Round of Morning I" User-Agent: Gnus/5.110011 (No Gnus v0.11) Emacs/24.0.50 (gnu/linux) Cancel-Lock: sha1:G9fBkQMhzZILnJWPY2/TvJPNMFQ= X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) 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:131240 Archived-At: It would often be convenient to say "this region should be in bold" and "this partially overlapping region should also be italic", and so on. I've been looking in the Emacs Lisp manual, but I can't find any utility functions for doing stuff like that. They all seem to start with a face with some properties that you apply to a text, which isn't really what I want. So I would kinda of like... a function that took a face, and then "combined" it with any faces that were already in the region. Possible? Which reminds me of another thing. I would like to define some commands local to a region, which can be done with 'local-map in overlays or 'keymap in text properties. But can I combine them, too, in possibly overlapping regions, and get the aggregate keymap? -- (domestic pets only, the antidote for overdose, milk.) larsi@gnus.org * Lars Magne Ingebrigtsen