From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.help Subject: Re: How to save invisible (lisp) data in a text file Date: Fri, 29 Aug 2014 16:03:14 -0400 Message-ID: References: <28bca27c-4c3a-4e9c-a765-89e294648368@googlegroups.com> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1409342741 21230 80.91.229.3 (29 Aug 2014 20:05:41 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 29 Aug 2014 20:05:41 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Fri Aug 29 22:05:35 2014 Return-path: Envelope-to: geh-help-gnu-emacs@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 1XNSQR-00074X-2u for geh-help-gnu-emacs@m.gmane.org; Fri, 29 Aug 2014 22:05:35 +0200 Original-Received: from localhost ([::1]:43973 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XNSQQ-0007TP-LQ for geh-help-gnu-emacs@m.gmane.org; Fri, 29 Aug 2014 16:05:34 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:41918) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XNSQ3-0007SM-VZ for help-gnu-emacs@gnu.org; Fri, 29 Aug 2014 16:05:18 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XNSPy-0002cV-2n for help-gnu-emacs@gnu.org; Fri, 29 Aug 2014 16:05:11 -0400 Original-Received: from plane.gmane.org ([80.91.229.3]:53331) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XNSPx-0002ZR-TD for help-gnu-emacs@gnu.org; Fri, 29 Aug 2014 16:05:06 -0400 Original-Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1XNSPw-0006bL-TE for help-gnu-emacs@gnu.org; Fri, 29 Aug 2014 22:05:04 +0200 Original-Received: from 206-248-176-95.dsl.teksavvy.com ([206.248.176.95]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 29 Aug 2014 22:05:04 +0200 Original-Received: from monnier by 206-248-176-95.dsl.teksavvy.com with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 29 Aug 2014 22:05:04 +0200 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 15 Original-X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: 206-248-176-95.dsl.teksavvy.com User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.4.50 (gnu/linux) Cancel-Lock: sha1:mzFl39GIQHY5fy+0k1viSWBM0+Q= X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 80.91.229.3 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:99527 Archived-At: > I will just hide them using facemenu-set-invisible. Please don't use facemenu-set-invisible. Instead add the `invisible' property with `put-text-property' (which is basically what facemenu-set-invisible does internally). > BTW, facemenu-set-invisible is NOT in the emacs command index: > https://www.gnu.org/software/emacs/manual/html_node/emacs/Command-Index.html > Is it a bug? No: facemenu-set-invisible is a very little used thing, that's basically useless in 99.99% of the cases. Stefan