From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Josef Urban Newsgroups: gmane.emacs.devel Subject: Re: Commenting invisible text Date: Thu, 30 Sep 2004 21:44:33 +0200 (CEST) Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Message-ID: References: NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Trace: sea.gmane.org 1096573352 6295 80.91.229.6 (30 Sep 2004 19:42:32 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Thu, 30 Sep 2004 19:42:32 +0000 (UTC) Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu Sep 30 21:42:23 2004 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1CD6oo-0001Yv-00 for ; Thu, 30 Sep 2004 21:42:23 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1CD6vD-0002qe-NG for ged-emacs-devel@m.gmane.org; Thu, 30 Sep 2004 15:48:59 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33) id 1CD6v5-0002oQ-Cy for emacs-devel@gnu.org; Thu, 30 Sep 2004 15:48:51 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33) id 1CD6v4-0002nc-Pe for emacs-devel@gnu.org; Thu, 30 Sep 2004 15:48:50 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1CD6v4-0002nJ-K1 for emacs-devel@gnu.org; Thu, 30 Sep 2004 15:48:50 -0400 Original-Received: from [195.113.20.71] (helo=smtp1.ms.mff.cuni.cz) by monty-python.gnu.org with esmtp (TLSv1:DES-CBC3-SHA:168) (Exim 4.34) id 1CD6oY-0001H6-3x for emacs-devel@gnu.org; Thu, 30 Sep 2004 15:42:06 -0400 Original-Received: from ktilinux.ms.mff.cuni.cz (ktilinux.ms.mff.cuni.cz [195.113.17.207]) by smtp1.ms.mff.cuni.cz (8.12.11/8.12.11) with ESMTP id i8UJg4ch074636 for ; Thu, 30 Sep 2004 21:42:04 +0200 (CEST) (envelope-from urban@ktilinux.ms.mff.cuni.cz) Original-Received: from localhost (urban@localhost) by ktilinux.ms.mff.cuni.cz (8.11.6/linuxconf) with ESMTP id i8UJiXI18802 for ; Thu, 30 Sep 2004 21:44:33 +0200 Original-To: In-Reply-To: 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: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: main.gmane.org gmane.emacs.devel:27744 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:27744 On Thu, 30 Sep 2004, Stefan Monnier wrote: > > Does not work for me either. Did you try the example? > > Which example? I didn't see any example, It is in my today's e-mail to which you have replied :-). (progn (find-file "foo.el") (insert "a\nb\n\c\n") (put-text-property (point-min) (point-max) 'invisible t) (comment-region (point-min) (point-max))) I have now tried with the Emacs-CVS version also the original problem with Hide/Show, and it really works properly. This probably means that commenting invisible overlays already works, but not invisible text properties. Is it the intended behavior? Josef