From unknown Mon Jun 23 11:27:23 2025 X-Loop: help-debbugs@gnu.org Subject: bug#14157: 24.3.50; Improve facemenu.el: Better "integration" with other libraries Resent-From: Jambunathan K Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 08 Apr 2013 05:57:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 14157 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: 14157@debbugs.gnu.org X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.136540060512685 (code B ref -1); Mon, 08 Apr 2013 05:57:01 +0000 Received: (at submit) by debbugs.gnu.org; 8 Apr 2013 05:56:45 +0000 Received: from localhost ([127.0.0.1]:39283 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1UP54O-0003IY-6Q for submit@debbugs.gnu.org; Mon, 08 Apr 2013 01:56:44 -0400 Received: from eggs.gnu.org ([208.118.235.92]:37422) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1UP54L-0003IP-LT for submit@debbugs.gnu.org; Mon, 08 Apr 2013 01:56:42 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UP50q-0000a1-7l for submit@debbugs.gnu.org; Mon, 08 Apr 2013 01:53:10 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-102.2 required=5.0 tests=BAYES_00,FREEMAIL_FROM, RCVD_IN_DNSWL_LOW,RCVD_IN_XBL,T_DKIM_INVALID,USER_IN_WHITELIST autolearn=disabled version=3.3.2 Received: from lists.gnu.org ([208.118.235.17]:33784) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UP50q-0000Zq-4R for submit@debbugs.gnu.org; Mon, 08 Apr 2013 01:53:04 -0400 Received: from eggs.gnu.org ([208.118.235.92]:48658) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UP50h-0001Yd-AI for bug-gnu-emacs@gnu.org; Mon, 08 Apr 2013 01:53:04 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UP50Z-0000PX-UK for bug-gnu-emacs@gnu.org; Mon, 08 Apr 2013 01:52:55 -0400 Received: from mail-pa0-f53.google.com ([209.85.220.53]:33942) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UP50Z-0000Oo-N7 for bug-gnu-emacs@gnu.org; Mon, 08 Apr 2013 01:52:47 -0400 Received: by mail-pa0-f53.google.com with SMTP id bh4so3069724pad.26 for ; Sun, 07 Apr 2013 22:52:46 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=x-received:from:to:subject:date:message-id:mime-version :content-type; bh=mGsu4xMyaNvdYdra0c/ixcTTLUJahpsJPVyaVuMaWTY=; b=oDKA+7/nmgkidY2aEhDleISWxCICoQB+LHJ9zPEBLU076cBFvLoF3l5PO3iQKdxzQI dXA07H3a36Y7Vbo3j47oF3lCldVRkr0mJ0uFz4gt6Nr/AZhLJacRVjtfiy6tc9JsY7zb I79HIaqy821ysANTXgVTan76GB0OO4mmOo4uXXlTA2tUWyrr5iEaxiy3vb6c2drNH44W S1ZNk15M4yTWyvhMdMjp4Cl+EJGH3kv15fMmUK5HD+u22gB8HaLRuZS+sJk3PUhn8+FJ YHmlx0O0nHJwARERZKg+OWIpRyy7AEpxlpwr8VOzWMvXfMMhvpvu2eddSOItKUV358qB 6J1w== X-Received: by 10.66.193.227 with SMTP id hr3mr33385243pac.45.1365400366513; Sun, 07 Apr 2013 22:52:46 -0700 (PDT) Received: from debian-6.05 ([101.63.136.209]) by mx.google.com with ESMTPS id ef3sm36433898pad.20.2013.04.07.22.52.43 (version=TLSv1.1 cipher=RC4-SHA bits=128/128); Sun, 07 Apr 2013 22:52:45 -0700 (PDT) From: Jambunathan K Date: Mon, 08 Apr 2013 11:22:31 +0530 Message-ID: <87txnhtvq8.fsf@gmail.com> MIME-Version: 1.0 Content-Type: text/plain X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x [fuzzy] X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 208.118.235.17 X-Spam-Score: -6.1 (------) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -6.1 (------) Improve facemenu.el: Better "integration" with other libraries. History junkies can lookup http://debbugs.gnu.org/cgi/bugreport.cgi?bug=13686#101 ---------------------------------------------------------------- facemenu.el highlights text, so does hi-lock.el. facemenu.el => Highlight "this text" hi-lock.el => Highlight all text that "has" "this content". ---------------------------------------------------------------- 1. Same prefix keys. Why have two prefixes C-x w h and M-o Can we merge them into same prefix? ,---- | Global Bindings Starting With M-o: | key binding | --- ------- | | M-o ESC Prefix Command | M-o b facemenu-set-bold | M-o d facemenu-set-default | M-o i facemenu-set-italic | M-o l facemenu-set-bold-italic | M-o o facemenu-set-face | M-o u facemenu-set-underline | | M-o M-S center-paragraph | M-o M-o font-lock-fontify-block | M-o M-s center-line `---- ,---- | `hi-lock-mode' Minor Mode Bindings Starting With C-x w: | key binding | --- ------- | | C-x w b hi-lock-write-interactive-patterns | C-x w h highlight-regexp | C-x w i hi-lock-find-patterns | C-x w l highlight-lines-matching-regexp | C-x w p highlight-phrase | C-x w r unhighlight-regexp `---- 2. Provide default bindings for M-x facemenu-set-foreground RET M-x facemenu-set-background RET ---------------------------------------------------------------- In GNU Emacs 24.3.50.10 (i686-pc-linux-gnu, GTK+ Version 2.20.1) of 2013-04-06 on debian-6.05 Bzr revision: 112232 dgutov@yandex.ru-20130405222212-kae38v65pns84qj0 Windowing system distributor `The X.Org Foundation', version 11.0.10707000 Important settings: value of $LANG: en_IN locale-coding-system: iso-latin-1-unix default enable-multibyte-characters: t From unknown Mon Jun 23 11:27:23 2025 X-Loop: help-debbugs@gnu.org Subject: bug#14157: 24.3.50; Improve facemenu.el: Better "integration" with other libraries Resent-From: Jambunathan K Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 10 Apr 2013 03:55:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 14157 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: 14157@debbugs.gnu.org Received: via spool by 14157-submit@debbugs.gnu.org id=B14157.13655660887883 (code B ref 14157); Wed, 10 Apr 2013 03:55:01 +0000 Received: (at 14157) by debbugs.gnu.org; 10 Apr 2013 03:54:48 +0000 Received: from localhost ([127.0.0.1]:42790 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1UPm7T-000235-NW for submit@debbugs.gnu.org; Tue, 09 Apr 2013 23:54:48 -0400 Received: from mail-pb0-f44.google.com ([209.85.160.44]:34962) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1UPm7M-00022q-6X for 14157@debbugs.gnu.org; Tue, 09 Apr 2013 23:54:44 -0400 Received: by mail-pb0-f44.google.com with SMTP id wz12so25878pbc.3 for <14157@debbugs.gnu.org>; Tue, 09 Apr 2013 20:50:58 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=x-received:from:to:subject:references:date:in-reply-to:message-id :user-agent:mime-version:content-type; bh=QRd+K6FbU93fO4ZhBVauECLMrF6IF9UbFcj5QnGdq1Q=; b=eK2Ue7GiTaKGIZy9YLhwfx+A/A/sIhp3oHT2XG6Ep2OhGxGZPbIbLzZfwV89d0LLur PRylGMmj0MRbmykSXzqJPcE+Ugr6ZwlHgydGpgCcHVg18YY57jdBHTWawrbIzdt+2tIU /S0VYmKuV4+qq6OKOE8T8Jkdo2BiQc9RLLcV3yanrmpKMXTPIsKa2eRJE02169CAKw1b AOes8T/F1ESBnH0dtz46cnElcjr4ch3lZczv8pRLXNz16oNiGk1h0u1mZAaq+NJacE3r HAMOD7KoFulPdPJ5LmYV1DyJchvdLZEWiNvgdy/gL/RnexmH29AaLMOSOOnvrBpNcwKa ya1w== X-Received: by 10.68.180.194 with SMTP id dq2mr390229pbc.175.1365565857967; Tue, 09 Apr 2013 20:50:57 -0700 (PDT) Received: from debian-6.05 ([115.242.208.26]) by mx.google.com with ESMTPS id aj2sm4644986pbc.1.2013.04.09.20.50.54 (version=TLSv1.1 cipher=RC4-SHA bits=128/128); Tue, 09 Apr 2013 20:50:57 -0700 (PDT) From: Jambunathan K References: <87txnhtvq8.fsf@gmail.com> Date: Wed, 10 Apr 2013 09:20:45 +0530 In-Reply-To: <87txnhtvq8.fsf@gmail.com> (Jambunathan K.'s message of "Mon, 08 Apr 2013 11:22:31 +0530") Message-ID: <87ip3vf3hm.fsf@gmail.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -1.2 (-) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -2.6 (--) Should facemenu.el use overlays for highlighting? facemenu.el, "works" only for certain modes. More specifically it works only for those modes that defines a `facemenu-enable-faces-p'. Start exploring with the following snippet ,---- See facemenu-add-face | | (unless (facemenu-enable-faces-p) | (message "Font-lock mode will override any faces you set in this buffer")) `---- One main disadvantage of not using overlays is that Orgmode cannot be used in conjunction with enriched mode. See the following threads 1. http://lists.gnu.org/archive/html/emacs-orgmode/2011-11/msg00990.html Here the user wants to hide a piece of text. He is probably a student trying to recall a piece of memorized information. Is it possible to have an "invisible face". A text having this face will not be displayed at all. 2. http://lists.gnu.org/archive/html/emacs-orgmode/2010-08/msg00179.html Lots of cross talk here. 3. http://lists.gnu.org/archive/html/emacs-orgmode/2013-03/msg01277.html and http://lists.gnu.org/archive/html/emacs-orgmode/2013-03/msg01287.html ,---- | I (actually me and several colleagues here at the school of public | health at Harvard) have been using for the past 4 years a note taking | app called notecase pro (http://www.notecasepro.com/) which is nice but | not FLOSS and lacking in other areas. I am a post doc who takes alot of | notes (30-40) daily which include images and color markings. | | colors are especially important to us since we use them to mark | different commands, research areas, paths, comments and warning so that | we have a clear easy to remember color visual clue. We use 15-20 color | fg/bg commands. An example note could look like this: | | http://i.imgur.com/Ncq6ozs.png `---- The notion of persistence of face properties (as in serializing/encoding face properties in to the edited text - either tex mode, sgml mode or more importantly enriched mode) is "in built" in to facemenu.el. It is not necessary that a highlighted text be encoded/persisted in to the saved file. I could be reviewing a piece of text and might want to do "on the go" highlighting some phrases to take notes without saving it anyway. Color-coding of text is indeed an effective note-taking tool. Side note: Since Org mode format is frozen for maximum portability, there is a lot of resistance on the part of Org mode developers to re-define - C-h v org-emphasis-alist - to mean more colourful things. So emphasis is limited to insipid things like bold, italic etc. IMNSHO, coloring of text can co-exist with Org mode. This without the Orgmode format extended or enhanced. With facemenu using overlays and very minor adjustments elsewhere, an enriched/Org mode is possible. Here the Orgmode parser could be *oblivious* of the fact that enriched encoding is actually in use and rely on the facemenu/enriched mode do encode or decode enriched markup. The format used by "Enriched text" is not popular or well-known. However, that shouldn't limit chaps who aren't interested in cross editor or cross platform portability to extract last bit of juice out of Emacs. From unknown Mon Jun 23 11:27:23 2025 X-Loop: help-debbugs@gnu.org Subject: bug#14157: 24.3.50; Improve facemenu.el: Better "integration" with other libraries Resent-From: Eli Zaretskii Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 10 Apr 2013 16:03:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 14157 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Jambunathan K Cc: 14157@debbugs.gnu.org Reply-To: Eli Zaretskii Received: via spool by 14157-submit@debbugs.gnu.org id=B14157.136560972717510 (code B ref 14157); Wed, 10 Apr 2013 16:03:02 +0000 Received: (at 14157) by debbugs.gnu.org; 10 Apr 2013 16:02:07 +0000 Received: from localhost ([127.0.0.1]:43839 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1UPxTK-0004YL-O5 for submit@debbugs.gnu.org; Wed, 10 Apr 2013 12:02:06 -0400 Received: from mtaout21.012.net.il ([80.179.55.169]:59215) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1UPxTH-0004Xr-T8 for 14157@debbugs.gnu.org; Wed, 10 Apr 2013 12:02:04 -0400 Received: from conversion-daemon.a-mtaout21.012.net.il by a-mtaout21.012.net.il (HyperSendmail v2007.08) id <0ML100N00QUZ2Y00@a-mtaout21.012.net.il> for 14157@debbugs.gnu.org; Wed, 10 Apr 2013 18:57:45 +0300 (IDT) Received: from HOME-C4E4A596F7 ([87.69.4.28]) by a-mtaout21.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0ML100MHGR09WR80@a-mtaout21.012.net.il>; Wed, 10 Apr 2013 18:57:45 +0300 (IDT) Date: Wed, 10 Apr 2013 18:58:00 +0300 From: Eli Zaretskii In-reply-to: <87ip3vf3hm.fsf@gmail.com> X-012-Sender: halo1@inter.net.il Message-id: <83ehei9y47.fsf@gnu.org> References: <87txnhtvq8.fsf@gmail.com> <87ip3vf3hm.fsf@gmail.com> X-Spam-Score: 0.7 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: 0.2 (/) > From: Jambunathan K > Date: Wed, 10 Apr 2013 09:20:45 +0530 > > > Should facemenu.el use overlays for highlighting? Why should it? Text properties can do everything that facemenu needs to do, and they scale much better. > One main disadvantage of not using overlays is that Orgmode cannot be > used in conjunction with enriched mode. Org mode already strains the limits of the Emacs display engine, with its massive use of invisible text and various display properties. Adding yet more overlays to it, for such a mundane task as highlighting text, would be extremely unwise. If facemenu cannot work with Org, either facemenu should be changed to be able to do that, or some new feature should be added to Org to allow the highlighting functionality. > The notion of persistence of face properties (as in serializing/encoding > face properties in to the edited text - either tex mode, sgml mode or > more importantly enriched mode) is "in built" in to facemenu.el. It is > not necessary that a highlighted text be encoded/persisted in to the > saved file. I could be reviewing a piece of text and might want to do > "on the go" highlighting some phrases to take notes without saving it > anyway. I don't understand what are you talking about. facemenu doesn't save the faces, it just allows to define and put them. Maybe you are thinking about Enriched text mode. The usual way Emacs uses faces is that faces are re-applied anew each time a file is visited. Enriched does what it does because plain text files don't have enough structure to re-apply the faces. From unknown Mon Jun 23 11:27:23 2025 X-Loop: help-debbugs@gnu.org Subject: bug#14157: 24.3.50; Improve facemenu.el: Better "integration" with other libraries Resent-From: Eli Zaretskii Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 10 Apr 2013 16:19:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 14157 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Jambunathan K Cc: 14157@debbugs.gnu.org Reply-To: Eli Zaretskii Received: via spool by 14157-submit@debbugs.gnu.org id=B14157.136561069625332 (code B ref 14157); Wed, 10 Apr 2013 16:19:01 +0000 Received: (at 14157) by debbugs.gnu.org; 10 Apr 2013 16:18:16 +0000 Received: from localhost ([127.0.0.1]:43855 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1UPxiw-0006aM-PS for submit@debbugs.gnu.org; Wed, 10 Apr 2013 12:18:15 -0400 Received: from mtaout21.012.net.il ([80.179.55.169]:60747) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1UPxiu-0006a4-Fm for 14157@debbugs.gnu.org; Wed, 10 Apr 2013 12:18:13 -0400 Received: from conversion-daemon.a-mtaout21.012.net.il by a-mtaout21.012.net.il (HyperSendmail v2007.08) id <0ML100000RPU1P00@a-mtaout21.012.net.il> for 14157@debbugs.gnu.org; Wed, 10 Apr 2013 19:14:27 +0300 (IDT) Received: from HOME-C4E4A596F7 ([87.69.4.28]) by a-mtaout21.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0ML100M9RRS2WRB0@a-mtaout21.012.net.il>; Wed, 10 Apr 2013 19:14:27 +0300 (IDT) Date: Wed, 10 Apr 2013 19:14:42 +0300 From: Eli Zaretskii In-reply-to: <87ip3vf3hm.fsf@gmail.com> X-012-Sender: halo1@inter.net.il Message-id: <83bo9m9xcd.fsf@gnu.org> References: <87txnhtvq8.fsf@gmail.com> <87ip3vf3hm.fsf@gmail.com> X-Spam-Score: 1.5 (+) X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org", has identified this incoming email as possible spam. The original message has been attached to this so you can view it (if it isn't spam) or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: > From: Jambunathan K > Date: Wed, 10 Apr 2013 09:20:45 +0530 > > Is it possible to have an "invisible face". A text having this face > will not be displayed at all. Forgot to answer this: there's the 'invisible' text property, of course, but my guess is that this is not what you had in mind. For what I think you had in mind, 'display' text property is probably the right tool, since it can make any text look like almost anything else. [...] Content analysis details: (1.5 points, 10.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -0.0 RCVD_IN_DNSWL_NONE RBL: Sender listed at http://www.dnswl.org/, no trust [80.179.55.169 listed in list.dnswl.org] 0.7 SPF_SOFTFAIL SPF: sender does not match SPF record (softfail) 0.8 BAYES_50 BODY: Bayes spam probability is 40 to 60% [score: 0.4366] X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: 0.2 (/) > From: Jambunathan K > Date: Wed, 10 Apr 2013 09:20:45 +0530 > > Is it possible to have an "invisible face". A text having this face > will not be displayed at all. Forgot to answer this: there's the 'invisible' text property, of course, but my guess is that this is not what you had in mind. For what I think you had in mind, 'display' text property is probably the right tool, since it can make any text look like almost anything else. From unknown Mon Jun 23 11:27:23 2025 X-Loop: help-debbugs@gnu.org Subject: bug#14157: 24.3.50; Improve facemenu.el: Better "integration" with other libraries Resent-From: Jambunathan K Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 10 Apr 2013 16:34:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 14157 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Eli Zaretskii Cc: 14157@debbugs.gnu.org Received: via spool by 14157-submit@debbugs.gnu.org id=B14157.136561159130963 (code B ref 14157); Wed, 10 Apr 2013 16:34:02 +0000 Received: (at 14157) by debbugs.gnu.org; 10 Apr 2013 16:33:11 +0000 Received: from localhost ([127.0.0.1]:43867 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1UPxxP-00083M-DE for submit@debbugs.gnu.org; Wed, 10 Apr 2013 12:33:11 -0400 Received: from mail-pd0-f182.google.com ([209.85.192.182]:34799) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1UPxxM-00083B-OY for 14157@debbugs.gnu.org; Wed, 10 Apr 2013 12:33:09 -0400 Received: by mail-pd0-f182.google.com with SMTP id 3so357369pdj.27 for <14157@debbugs.gnu.org>; Wed, 10 Apr 2013 09:29:24 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=x-received:from:to:cc:subject:references:date:in-reply-to :message-id:user-agent:mime-version:content-type; bh=8bSFNFeJ/kvIO6RyAeBnozPgwT7gvDqhe3W3Kp+tphc=; b=nbERcJB+iMX7gcCQ3A+uP5G3J9LqOiR/vVvtgIOJZIx4HBz2PsA/16HruuzMoYGAEW x30cCShGban7qAnKBSgtXAysIVUVxDbgLxQ+FAhKkEnhDEfrV+1ztLrBLgIXWW+7NYP7 cGmD4wVaIzI4e+jUNi6A8zH1VAiDC6+oENDqfWr8t/SF8oQYtzAIaSH7yH3R+8n12D81 hC2W2I6J5pvopzf+qQ6/7Qz482MWMpqcZc6n0mZhJUJFAn9bC2jO7xZq41F3Zho9m9XB +RCtZuTuXVpgK6W6B6hfBcpPNkZYgqL8UdH3ZlkUhT1XgAuN6KET8oj5DCtgHgKJoHUr tiYA== X-Received: by 10.68.99.163 with SMTP id er3mr3940607pbb.36.1365611363934; Wed, 10 Apr 2013 09:29:23 -0700 (PDT) Received: from debian-6.05 ([115.242.230.249]) by mx.google.com with ESMTPS id f8sm480066pbj.45.2013.04.10.09.29.21 (version=TLSv1.1 cipher=RC4-SHA bits=128/128); Wed, 10 Apr 2013 09:29:23 -0700 (PDT) From: Jambunathan K References: <87txnhtvq8.fsf@gmail.com> <87ip3vf3hm.fsf@gmail.com> <83ehei9y47.fsf@gnu.org> Date: Wed, 10 Apr 2013 21:59:11 +0530 In-Reply-To: <83ehei9y47.fsf@gnu.org> (Eli Zaretskii's message of "Wed, 10 Apr 2013 18:58:00 +0300") Message-ID: <8761zubb8o.fsf@gmail.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.0 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -1.9 (-) If I have to talk like a layman: When in an Org file, I want enriched mode to be turned on and the highlighted text to be persisted in the saved Org file. As I indicated the blocker is that facemenu.el doesn't play nicely with font-lock-modes. Do you think that it is possible to achieve what users are requesting without using overlays? ---------------------------------------------------------------- As for Orgmode straining the display engine, it depends on many factors - I guess the size of the Orgmode file, number of foldings, number of overlays etc. ---------------------------------------------------------------- I have seen prior discussions of using augmented interval trees for managing overlays. (Theoretically) Will such a migration alleviate the problem/fear. From unknown Mon Jun 23 11:27:23 2025 X-Loop: help-debbugs@gnu.org Subject: bug#14157: 24.3.50; Improve facemenu.el: Better "integration" with other libraries Resent-From: Jambunathan K Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 10 Apr 2013 16:39:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 14157 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Eli Zaretskii Cc: 14157@debbugs.gnu.org Received: via spool by 14157-submit@debbugs.gnu.org id=B14157.1365611920911 (code B ref 14157); Wed, 10 Apr 2013 16:39:02 +0000 Received: (at 14157) by debbugs.gnu.org; 10 Apr 2013 16:38:40 +0000 Received: from localhost ([127.0.0.1]:43885 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1UPy2h-0000Eb-WF for submit@debbugs.gnu.org; Wed, 10 Apr 2013 12:38:40 -0400 Received: from mail-pa0-f49.google.com ([209.85.220.49]:49454) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1UPy2f-0000ET-Mk for 14157@debbugs.gnu.org; Wed, 10 Apr 2013 12:38:38 -0400 Received: by mail-pa0-f49.google.com with SMTP id kp14so403908pab.8 for <14157@debbugs.gnu.org>; Wed, 10 Apr 2013 09:34:52 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=x-received:from:to:cc:subject:references:date:in-reply-to :message-id:user-agent:mime-version:content-type; bh=UilQAdcYUNMVSCMCawujw+5jNnyYyJ37T17sSXK7sYc=; b=0mT9+QnQeR68h9VLTOBgs+hReDX5pMlTM5L2fxu2FTDIp/YjQTUrCgad7pt2LpJOOw 7W/djQpuNCfpBwvic+Ut601ROvh4jyF3BH5VhLpSshtFuyiaSO2Fz25Lu6dIiR7/2yoW 5UZw3ta7wfl/9OTnNOB6gOpzkpgu8XvG0wh9+1YGN2g5gdmGGIjTVnB3nWAt8DEGTBIt jCVT78v2+IZoQAg0ytQBz3qujSexipPJG/gsXCRwVDypAjgvTT6OA0qOA/LszPED8JMI 2Ds0KR9b8gK8RKG59yq77mlJ8ZGczKCqBbIPhVprrk1JH4Wj5ysDqNv/ORVy7uMDzsJg Cg5Q== X-Received: by 10.68.1.138 with SMTP id 10mr3874292pbm.136.1365611692607; Wed, 10 Apr 2013 09:34:52 -0700 (PDT) Received: from debian-6.05 ([115.242.230.249]) by mx.google.com with ESMTPS id au3sm566294pbd.7.2013.04.10.09.34.49 (version=TLSv1.1 cipher=RC4-SHA bits=128/128); Wed, 10 Apr 2013 09:34:51 -0700 (PDT) From: Jambunathan K References: <87txnhtvq8.fsf@gmail.com> <87ip3vf3hm.fsf@gmail.com> <83bo9m9xcd.fsf@gnu.org> Date: Wed, 10 Apr 2013 22:04:39 +0530 In-Reply-To: <83bo9m9xcd.fsf@gnu.org> (Eli Zaretskii's message of "Wed, 10 Apr 2013 19:14:42 +0300") Message-ID: <871uaibazk.fsf@gmail.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -0.7 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -2.6 (--) Eli Zaretskii writes: >> From: Jambunathan K >> Date: Wed, 10 Apr 2013 09:20:45 +0530 >> >> Is it possible to have an "invisible face". A text having this face >> will not be displayed at all. > > Forgot to answer this: there's the 'invisible' text property, of > course, but my guess is that this is not what you had in mind. For > what I think you had in mind, 'display' text property is probably the > right tool, since it can make any text look like almost anything else. I mean something like "special" (defface invisible-face ...). If `font-lock-comment-face' were to "inherit" from such a face then all comments in the file will disappear. A user is likely to understand faces than text properties. ps: My question was more of a "madman's question". So it is quite possible that it is crazy and something impossible. From unknown Mon Jun 23 11:27:23 2025 X-Loop: help-debbugs@gnu.org Subject: bug#14157: 24.3.50; Improve facemenu.el: Better "integration" with other libraries Resent-From: Eli Zaretskii Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 10 Apr 2013 16:48:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 14157 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Jambunathan K Cc: 14157@debbugs.gnu.org Reply-To: Eli Zaretskii Received: via spool by 14157-submit@debbugs.gnu.org id=B14157.13656124323974 (code B ref 14157); Wed, 10 Apr 2013 16:48:02 +0000 Received: (at 14157) by debbugs.gnu.org; 10 Apr 2013 16:47:12 +0000 Received: from localhost ([127.0.0.1]:43898 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1UPyAy-000120-68 for submit@debbugs.gnu.org; Wed, 10 Apr 2013 12:47:12 -0400 Received: from mtaout20.012.net.il ([80.179.55.166]:61807) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1UPyAv-00011h-7g for 14157@debbugs.gnu.org; Wed, 10 Apr 2013 12:47:10 -0400 Received: from conversion-daemon.a-mtaout20.012.net.il by a-mtaout20.012.net.il (HyperSendmail v2007.08) id <0ML100D00T0R7B00@a-mtaout20.012.net.il> for 14157@debbugs.gnu.org; Wed, 10 Apr 2013 19:43:15 +0300 (IDT) Received: from HOME-C4E4A596F7 ([87.69.4.28]) by a-mtaout20.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0ML100DNAT431R30@a-mtaout20.012.net.il>; Wed, 10 Apr 2013 19:43:15 +0300 (IDT) Date: Wed, 10 Apr 2013 19:43:30 +0300 From: Eli Zaretskii In-reply-to: <871uaibazk.fsf@gmail.com> X-012-Sender: halo1@inter.net.il Message-id: <838v4q9w0d.fsf@gnu.org> References: <87txnhtvq8.fsf@gmail.com> <87ip3vf3hm.fsf@gmail.com> <83bo9m9xcd.fsf@gnu.org> <871uaibazk.fsf@gmail.com> X-Spam-Score: 0.7 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: 0.2 (/) > From: Jambunathan K > Cc: 14157@debbugs.gnu.org > Date: Wed, 10 Apr 2013 22:04:39 +0530 > > A user is likely to understand faces than text properties. I see no reason why that should be true. At most some convenient UI could be needed. From unknown Mon Jun 23 11:27:23 2025 X-Loop: help-debbugs@gnu.org Subject: bug#14157: 24.3.50; Improve facemenu.el: Better "integration" with other libraries Resent-From: Eli Zaretskii Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 10 Apr 2013 16:53:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 14157 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Jambunathan K Cc: 14157@debbugs.gnu.org Reply-To: Eli Zaretskii Received: via spool by 14157-submit@debbugs.gnu.org id=B14157.13656127725376 (code B ref 14157); Wed, 10 Apr 2013 16:53:01 +0000 Received: (at 14157) by debbugs.gnu.org; 10 Apr 2013 16:52:52 +0000 Received: from localhost ([127.0.0.1]:43908 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1UPyGR-0001Of-TU for submit@debbugs.gnu.org; Wed, 10 Apr 2013 12:52:52 -0400 Received: from mtaout20.012.net.il ([80.179.55.166]:63433) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1UPyGQ-0001OW-DG for 14157@debbugs.gnu.org; Wed, 10 Apr 2013 12:52:51 -0400 Received: from conversion-daemon.a-mtaout20.012.net.il by a-mtaout20.012.net.il (HyperSendmail v2007.08) id <0ML100D00T8R8D00@a-mtaout20.012.net.il> for 14157@debbugs.gnu.org; Wed, 10 Apr 2013 19:49:05 +0300 (IDT) Received: from HOME-C4E4A596F7 ([87.69.4.28]) by a-mtaout20.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0ML100D2OTDS3R30@a-mtaout20.012.net.il>; Wed, 10 Apr 2013 19:49:05 +0300 (IDT) Date: Wed, 10 Apr 2013 19:49:20 +0300 From: Eli Zaretskii In-reply-to: <8761zubb8o.fsf@gmail.com> X-012-Sender: halo1@inter.net.il Message-id: <837gka9vqn.fsf@gnu.org> References: <87txnhtvq8.fsf@gmail.com> <87ip3vf3hm.fsf@gmail.com> <83ehei9y47.fsf@gnu.org> <8761zubb8o.fsf@gmail.com> X-Spam-Score: 0.7 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -1.2 (-) > From: Jambunathan K > Cc: 14157@debbugs.gnu.org > Date: Wed, 10 Apr 2013 21:59:11 +0530 > > When in an Org file, I want enriched mode to be turned on and the > highlighted text to be persisted in the saved Org file. Enriched mode is a means to an end. But it's not the only means. What you need is a way to tell Org to re-highlight some parts of the text when the file is revisited. How hard can that be? > As I indicated the blocker is that facemenu.el doesn't play nicely with > font-lock-modes. No face plays nicely with font-lock-modes. > Do you think that it is possible to achieve what users are requesting > without using overlays? Of course. > As for Orgmode straining the display engine, it depends on many factors > - I guess the size of the Orgmode file, number of foldings, number of > overlays etc. The problem is that a typical Org file has a lot of all of those. Just moving vertically through a single display line might mean moving hundreds of KBytes in the buffer. The way Emacs display was designed, this use case was not considered as an important one. > I have seen prior discussions of using augmented interval trees for > managing overlays. (Theoretically) Will such a migration alleviate the > problem/fear. Being able to find overlays efficiently is only one part of the problem. The other one is that we have no easy way of finding which parts of the buffer are "covered" by an overlay. That forces many dubious and expensive tricks during redisplay. From unknown Mon Jun 23 11:27:23 2025 X-Loop: help-debbugs@gnu.org Subject: bug#14157: 24.3.50; Improve facemenu.el: Better "integration" with other libraries Resent-From: Stefan Monnier Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 10 Apr 2013 17:49:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 14157 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Eli Zaretskii Cc: 14157@debbugs.gnu.org, Jambunathan K Received: via spool by 14157-submit@debbugs.gnu.org id=B14157.136561613224579 (code B ref 14157); Wed, 10 Apr 2013 17:49:01 +0000 Received: (at 14157) by debbugs.gnu.org; 10 Apr 2013 17:48:52 +0000 Received: from localhost ([127.0.0.1]:43975 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1UPz8c-0006OL-MQ for submit@debbugs.gnu.org; Wed, 10 Apr 2013 13:48:51 -0400 Received: from ironport2-out.teksavvy.com ([206.248.154.182]:41673) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1UPz8b-0006O6-1X for 14157@debbugs.gnu.org; Wed, 10 Apr 2013 13:48:49 -0400 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: Av8EABK/CFFFxIEd/2dsb2JhbABEuzWDWRdzgh4BAQQBViMFCws0EhQYDSSIHgbBLZEKA6R6gV6DEw X-IPAS-Result: Av8EABK/CFFFxIEd/2dsb2JhbABEuzWDWRdzgh4BAQQBViMFCws0EhQYDSSIHgbBLZEKA6R6gV6DEw X-IronPort-AV: E=Sophos;i="4.84,565,1355115600"; d="scan'208";a="7101794" Received: from 69-196-129-29.dsl.teksavvy.com (HELO pastel.home) ([69.196.129.29]) by ironport2-out.teksavvy.com with ESMTP/TLS/ADH-AES256-SHA; 10 Apr 2013 13:45:00 -0400 Received: by pastel.home (Postfix, from userid 20848) id E826667898; Wed, 10 Apr 2013 13:45:02 -0400 (EDT) From: Stefan Monnier Message-ID: References: <87txnhtvq8.fsf@gmail.com> <87ip3vf3hm.fsf@gmail.com> <83ehei9y47.fsf@gnu.org> Date: Wed, 10 Apr 2013 13:45:02 -0400 In-Reply-To: <83ehei9y47.fsf@gnu.org> (Eli Zaretskii's message of "Wed, 10 Apr 2013 18:58:00 +0300") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -1.9 (-) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -1.9 (-) > Why should it? Text properties can do everything that facemenu needs > to do, and they scale much better. BTW, if someone wants to do something useful, overlays could be stored in the same tree as text-properties and benefit from the same kind of scalability. That could be a nice GSoC project. Stefan From unknown Mon Jun 23 11:27:23 2025 X-Loop: help-debbugs@gnu.org Subject: bug#14157: 24.3.50; Improve facemenu.el: Better "integration" with other libraries Resent-From: Stefan Monnier Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 10 Apr 2013 17:53:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 14157 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Jambunathan K Cc: Eli Zaretskii , 14157@debbugs.gnu.org Received: via spool by 14157-submit@debbugs.gnu.org id=B14157.136561633525828 (code B ref 14157); Wed, 10 Apr 2013 17:53:02 +0000 Received: (at 14157) by debbugs.gnu.org; 10 Apr 2013 17:52:15 +0000 Received: from localhost ([127.0.0.1]:43981 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1UPzBv-0006iX-5G for submit@debbugs.gnu.org; Wed, 10 Apr 2013 13:52:15 -0400 Received: from ironport2-out.teksavvy.com ([206.248.154.182]:20068) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1UPzBt-0006iG-Up for 14157@debbugs.gnu.org; Wed, 10 Apr 2013 13:52:14 -0400 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: Av8EABK/CFFFxIEd/2dsb2JhbABEuzWDWRdzgh4BAQQBViMFCws0EhQYDSSIHgbBLZEKA6R6gV6DEw X-IPAS-Result: Av8EABK/CFFFxIEd/2dsb2JhbABEuzWDWRdzgh4BAQQBViMFCws0EhQYDSSIHgbBLZEKA6R6gV6DEw X-IronPort-AV: E=Sophos;i="4.84,565,1355115600"; d="scan'208";a="7102047" Received: from 69-196-129-29.dsl.teksavvy.com (HELO pastel.home) ([69.196.129.29]) by ironport2-out.teksavvy.com with ESMTP/TLS/ADH-AES256-SHA; 10 Apr 2013 13:48:25 -0400 Received: by pastel.home (Postfix, from userid 20848) id 881B367898; Wed, 10 Apr 2013 13:48:28 -0400 (EDT) From: Stefan Monnier Message-ID: References: <87txnhtvq8.fsf@gmail.com> <87ip3vf3hm.fsf@gmail.com> <83ehei9y47.fsf@gnu.org> <8761zubb8o.fsf@gmail.com> Date: Wed, 10 Apr 2013 13:48:28 -0400 In-Reply-To: <8761zubb8o.fsf@gmail.com> (Jambunathan K.'s message of "Wed, 10 Apr 2013 21:59:11 +0530") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -0.5 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -1.9 (-) > As I indicated the blocker is that facemenu.el doesn't play nicely with > font-lock-modes. > Do you think that it is possible to achieve what users are requesting > without using overlays? And here's for another suggestion: implement the "planes" I suggested elsewhere some times ago. Then we could get rid of char-property-alias-alist and let any package use its own "face" property without conflict. This could also be a GSoC candidate. Stefan From unknown Mon Jun 23 11:27:23 2025 X-Loop: help-debbugs@gnu.org Subject: bug#14157: 24.3.50; Improve facemenu.el: Better "integration" with other libraries Resent-From: Jambunathan K Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 11 Apr 2013 04:44:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 14157 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: 14157@debbugs.gnu.org Received: via spool by 14157-submit@debbugs.gnu.org id=B14157.136565542623746 (code B ref 14157); Thu, 11 Apr 2013 04:44:01 +0000 Received: (at 14157) by debbugs.gnu.org; 11 Apr 2013 04:43:46 +0000 Received: from localhost ([127.0.0.1]:44566 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1UQ9MQ-0006Ax-27 for submit@debbugs.gnu.org; Thu, 11 Apr 2013 00:43:46 -0400 Received: from mail-pb0-f53.google.com ([209.85.160.53]:43111) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1UQ9MN-0006AP-Aj for 14157@debbugs.gnu.org; Thu, 11 Apr 2013 00:43:44 -0400 Received: by mail-pb0-f53.google.com with SMTP id un15so642007pbc.26 for <14157@debbugs.gnu.org>; Wed, 10 Apr 2013 21:39:55 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=x-received:from:to:cc:subject:references:date:in-reply-to :message-id:user-agent:mime-version:content-type; bh=IWnWFNAl8QAGOAFZBJCpDga7ReaaLlZmhsPepcpN4xM=; b=h/ZMVBkZUCwecP2fQGQwJ7gX5UXdnBubJ+e0m7vHGJs5gAHJTdxLT7eby+gdpvWECO 1tYfKJfoHnV41eE5f7jr0IgcZPoCEGNC1VWnzB0Tsy//z07owNVmYbEY3COm3kcuIMeD mKFOdZwyJh/ltt9d44gpyQW44Q7oNo6qDTEzZczsC+T8N0JFDDPHmzwQJh52CM6aD4b8 3edC4hOWCLDJJXmzlqyvtiAhmydavoXJ1F4CY9O8nnL5cWqQRv3gmMTVwl0DbVwATIZv 31DdHjqPjEup1Hh1vSYa7Djii+OMUg1DDxrjHNQq6DzgZ0NNI+cTm+vhEPzsDww9FWi3 9HQQ== X-Received: by 10.66.148.132 with SMTP id ts4mr7068291pab.19.1365655195346; Wed, 10 Apr 2013 21:39:55 -0700 (PDT) Received: from debian-6.05 ([115.242.225.142]) by mx.google.com with ESMTPS id a20sm2548506pbu.37.2013.04.10.21.39.52 (version=TLSv1.1 cipher=RC4-SHA bits=128/128); Wed, 10 Apr 2013 21:39:54 -0700 (PDT) From: Jambunathan K References: <87txnhtvq8.fsf@gmail.com> <87ip3vf3hm.fsf@gmail.com> <83ehei9y47.fsf@gnu.org> <8761zubb8o.fsf@gmail.com> Date: Thu, 11 Apr 2013 10:09:43 +0530 In-Reply-To: (Stefan Monnier's message of "Wed, 10 Apr 2013 13:48:28 -0400") Message-ID: <87sj2x65ps.fsf@gmail.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -2.6 (--) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -2.6 (--) Stefan Monnier writes: >> As I indicated the blocker is that facemenu.el doesn't play nicely with >> font-lock-modes. >> Do you think that it is possible to achieve what users are requesting >> without using overlays? > > And here's for another suggestion: implement the "planes" I suggested > elsewhere some times ago. Then we could get rid of > char-property-alias-alist and let any package use its own "face" > property without conflict. > This could also be a GSoC candidate. Here is the relevant thread: http://lists.gnu.org/archive/html/emacs-devel/2010-10/msg00177.html > > > Stefan From unknown Mon Jun 23 11:27:23 2025 MIME-Version: 1.0 X-Mailer: MIME-tools 5.503 (Entity 5.503) X-Loop: help-debbugs@gnu.org From: help-debbugs@gnu.org (GNU bug Tracking System) To: Jambunathan K Subject: bug#14157: closed (Re: bug#14157: 24.3.50; Improve facemenu.el: Better "integration" with other libraries) Message-ID: References: <87iovunuez.fsf@gmail.com> <87txnhtvq8.fsf@gmail.com> X-Gnu-PR-Message: they-closed 14157 X-Gnu-PR-Package: emacs Reply-To: 14157@debbugs.gnu.org Date: Fri, 15 Nov 2013 04:48:02 +0000 Content-Type: multipart/mixed; boundary="----------=_1384490882-5697-1" This is a multi-part message in MIME format... ------------=_1384490882-5697-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" Your bug report #14157: 24.3.50; Improve facemenu.el: Better "integration" with other libra= ries which was filed against the emacs package, has been closed. The explanation is attached below, along with your original report. If you require more details, please reply to 14157@debbugs.gnu.org. --=20 14157: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D14157 GNU Bug Tracking System Contact help-debbugs@gnu.org with problems ------------=_1384490882-5697-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at 14157-done) by debbugs.gnu.org; 15 Nov 2013 04:47:33 +0000 Received: from localhost ([127.0.0.1]:53391 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1VhBJc-0001TC-Q5 for submit@debbugs.gnu.org; Thu, 14 Nov 2013 23:47:32 -0500 Received: from mail-pd0-f180.google.com ([209.85.192.180]:57245) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1VhBJa-0001Sx-P8 for 14157-done@debbugs.gnu.org; Thu, 14 Nov 2013 23:47:31 -0500 Received: by mail-pd0-f180.google.com with SMTP id v10so2949843pde.39 for <14157-done@debbugs.gnu.org>; Thu, 14 Nov 2013 20:47:25 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:subject:references:date:in-reply-to:message-id:user-agent :mime-version:content-type; bh=J031GXewnaACqsprHRq7ZhAivpOG36ggI7TgI07VQ78=; b=yYL4LhVpLLFmkaIMpRCM84dOQ/Qa3nahtBLLkZJmuuOmUiqzEt8VTRdtRwAR+jGL42 IySBaXS4mbUnAkRjaKhXmmSCLZ69/ZWfHyAoOzR/1bjRRqFfRpeVQFvuVVARMmTYSiUH ziSsMavmKkiH376p5795/eGLSj8AORTTD+7UMoPjwRXq14dSpo6BoWWPVJCtz1hJMrMK KahKv844qc0J2hsM7aows5zo5tSRMcYVukT5GjPYsH+QnjVqLv7dfwN0htqIUFNbCWH7 SRaLFHMH1br/J79FL/f+by2FdQix3hxJknHjyxXwIUhL2Prtt68aCJoZXlzn2nXy7MYx Fb0g== X-Received: by 10.68.198.97 with SMTP id jb1mr4968044pbc.104.1384490845025; Thu, 14 Nov 2013 20:47:25 -0800 (PST) Received: from debian-6.05 ([115.241.27.214]) by mx.google.com with ESMTPSA id qz9sm177711pbc.3.2013.11.14.20.47.22 for <14157-done@debbugs.gnu.org> (version=TLSv1.1 cipher=RC4-SHA bits=128/128); Thu, 14 Nov 2013 20:47:24 -0800 (PST) From: Jambunathan K To: 14157-done@debbugs.gnu.org Subject: Re: bug#14157: 24.3.50; Improve facemenu.el: Better "integration" with other libraries References: <87txnhtvq8.fsf@gmail.com> Date: Fri, 15 Nov 2013 10:17:00 +0530 In-Reply-To: <87txnhtvq8.fsf@gmail.com> (Jambunathan K.'s message of "Mon, 08 Apr 2013 11:22:31 +0530") Message-ID: <87iovunuez.fsf@gmail.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 14157-done X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 0.0 (/) OP here. Closed. ------------=_1384490882-5697-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at submit) by debbugs.gnu.org; 8 Apr 2013 05:56:45 +0000 Received: from localhost ([127.0.0.1]:39283 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1UP54O-0003IY-6Q for submit@debbugs.gnu.org; Mon, 08 Apr 2013 01:56:44 -0400 Received: from eggs.gnu.org ([208.118.235.92]:37422) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1UP54L-0003IP-LT for submit@debbugs.gnu.org; Mon, 08 Apr 2013 01:56:42 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UP50q-0000a1-7l for submit@debbugs.gnu.org; Mon, 08 Apr 2013 01:53:10 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-102.2 required=5.0 tests=BAYES_00,FREEMAIL_FROM, RCVD_IN_DNSWL_LOW,RCVD_IN_XBL,T_DKIM_INVALID,USER_IN_WHITELIST autolearn=disabled version=3.3.2 Received: from lists.gnu.org ([208.118.235.17]:33784) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UP50q-0000Zq-4R for submit@debbugs.gnu.org; Mon, 08 Apr 2013 01:53:04 -0400 Received: from eggs.gnu.org ([208.118.235.92]:48658) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UP50h-0001Yd-AI for bug-gnu-emacs@gnu.org; Mon, 08 Apr 2013 01:53:04 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UP50Z-0000PX-UK for bug-gnu-emacs@gnu.org; Mon, 08 Apr 2013 01:52:55 -0400 Received: from mail-pa0-f53.google.com ([209.85.220.53]:33942) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UP50Z-0000Oo-N7 for bug-gnu-emacs@gnu.org; Mon, 08 Apr 2013 01:52:47 -0400 Received: by mail-pa0-f53.google.com with SMTP id bh4so3069724pad.26 for ; Sun, 07 Apr 2013 22:52:46 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=x-received:from:to:subject:date:message-id:mime-version :content-type; bh=mGsu4xMyaNvdYdra0c/ixcTTLUJahpsJPVyaVuMaWTY=; b=oDKA+7/nmgkidY2aEhDleISWxCICoQB+LHJ9zPEBLU076cBFvLoF3l5PO3iQKdxzQI dXA07H3a36Y7Vbo3j47oF3lCldVRkr0mJ0uFz4gt6Nr/AZhLJacRVjtfiy6tc9JsY7zb I79HIaqy821ysANTXgVTan76GB0OO4mmOo4uXXlTA2tUWyrr5iEaxiy3vb6c2drNH44W S1ZNk15M4yTWyvhMdMjp4Cl+EJGH3kv15fMmUK5HD+u22gB8HaLRuZS+sJk3PUhn8+FJ YHmlx0O0nHJwARERZKg+OWIpRyy7AEpxlpwr8VOzWMvXfMMhvpvu2eddSOItKUV358qB 6J1w== X-Received: by 10.66.193.227 with SMTP id hr3mr33385243pac.45.1365400366513; Sun, 07 Apr 2013 22:52:46 -0700 (PDT) Received: from debian-6.05 ([101.63.136.209]) by mx.google.com with ESMTPS id ef3sm36433898pad.20.2013.04.07.22.52.43 (version=TLSv1.1 cipher=RC4-SHA bits=128/128); Sun, 07 Apr 2013 22:52:45 -0700 (PDT) From: Jambunathan K To: bug-gnu-emacs@gnu.org Subject: 24.3.50; Improve facemenu.el: Better "integration" with other libraries Date: Mon, 08 Apr 2013 11:22:31 +0530 Message-ID: <87txnhtvq8.fsf@gmail.com> MIME-Version: 1.0 Content-Type: text/plain X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x [fuzzy] X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 208.118.235.17 X-Spam-Score: -6.1 (------) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -6.1 (------) Improve facemenu.el: Better "integration" with other libraries. History junkies can lookup http://debbugs.gnu.org/cgi/bugreport.cgi?bug=13686#101 ---------------------------------------------------------------- facemenu.el highlights text, so does hi-lock.el. facemenu.el => Highlight "this text" hi-lock.el => Highlight all text that "has" "this content". ---------------------------------------------------------------- 1. Same prefix keys. Why have two prefixes C-x w h and M-o Can we merge them into same prefix? ,---- | Global Bindings Starting With M-o: | key binding | --- ------- | | M-o ESC Prefix Command | M-o b facemenu-set-bold | M-o d facemenu-set-default | M-o i facemenu-set-italic | M-o l facemenu-set-bold-italic | M-o o facemenu-set-face | M-o u facemenu-set-underline | | M-o M-S center-paragraph | M-o M-o font-lock-fontify-block | M-o M-s center-line `---- ,---- | `hi-lock-mode' Minor Mode Bindings Starting With C-x w: | key binding | --- ------- | | C-x w b hi-lock-write-interactive-patterns | C-x w h highlight-regexp | C-x w i hi-lock-find-patterns | C-x w l highlight-lines-matching-regexp | C-x w p highlight-phrase | C-x w r unhighlight-regexp `---- 2. Provide default bindings for M-x facemenu-set-foreground RET M-x facemenu-set-background RET ---------------------------------------------------------------- In GNU Emacs 24.3.50.10 (i686-pc-linux-gnu, GTK+ Version 2.20.1) of 2013-04-06 on debian-6.05 Bzr revision: 112232 dgutov@yandex.ru-20130405222212-kae38v65pns84qj0 Windowing system distributor `The X.Org Foundation', version 11.0.10707000 Important settings: value of $LANG: en_IN locale-coding-system: iso-latin-1-unix default enable-multibyte-characters: t ------------=_1384490882-5697-1--