From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Marius Hofert Newsgroups: gmane.emacs.help Subject: Re: Narrow: How to hide a specific part? Date: Mon, 10 Jun 2013 17:12:39 +0200 Message-ID: References: <874nd6vzz6.fsf@bzg.ath.cx> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 X-Trace: ger.gmane.org 1370877224 23883 80.91.229.3 (10 Jun 2013 15:13:44 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 10 Jun 2013 15:13:44 +0000 (UTC) Cc: Bastien , "help-gnu-emacs@gnu.org" To: daniel Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Mon Jun 10 17:13:45 2013 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 1Um3mu-0006Wu-SB for geh-help-gnu-emacs@m.gmane.org; Mon, 10 Jun 2013 17:13:40 +0200 Original-Received: from localhost ([::1]:43492 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Um3mu-00017R-E0 for geh-help-gnu-emacs@m.gmane.org; Mon, 10 Jun 2013 11:13:40 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:45084) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Um3mg-00016K-RS for help-gnu-emacs@gnu.org; Mon, 10 Jun 2013 11:13:29 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Um3ma-0008Ko-BR for help-gnu-emacs@gnu.org; Mon, 10 Jun 2013 11:13:26 -0400 Original-Received: from mail-pb0-x231.google.com ([2607:f8b0:400e:c01::231]:46941) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Um3ma-0008Ki-4o for help-gnu-emacs@gnu.org; Mon, 10 Jun 2013 11:13:20 -0400 Original-Received: by mail-pb0-f49.google.com with SMTP id jt11so7285786pbb.8 for ; Mon, 10 Jun 2013 08:13:19 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:from:date :x-google-sender-auth:message-id:subject:to:cc:content-type; bh=EJx8aCIVw0pC/pBiV1419DJTLHz9mrVqLcxNJzXl4Ic=; b=IjO9MzgfA51sN1CJclH53q2TJbWVIn3OnwMGvOewLAP3LYSSQMvTJM5r6kAPN1HULE baNwDSB0K+sCW0PNRmYHRWYBP9rgOjZv5DkxNVDo3Cap1j5qdifz4MP4yeYEQIfjEXfB 45BM+Qa0XG3TsaR/1EzQxwqjtQ38Wwzuy8s4/sTdDsJ2HcTsjcefw/bCOd1+i26CdIz4 kmSLfNmk0ptvYbkRdFzeSKqjlzwlLWFpmcIZ1Nbsx++H5qtZ7g8otjLJezGbV/Xvf/Hc y88Ni/UWKF8hd7qLjnNXvp7Yer2LKwxetdfS17564tRFTxh2H3tN73Pq4DI+Fh3FBOaM Ceqw== X-Received: by 10.66.169.42 with SMTP id ab10mr9820419pac.14.1370877199425; Mon, 10 Jun 2013 08:13:19 -0700 (PDT) Original-Received: by 10.68.31.135 with HTTP; Mon, 10 Jun 2013 08:12:39 -0700 (PDT) In-Reply-To: X-Google-Sender-Auth: ZZEv9ebSvx-HaAaDDauHeejap5Y X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2607:f8b0:400e:c01::231 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:91443 Archived-At: Okay, thanks a lot! Cheers, Marius On Mon, Jun 10, 2013 at 5:04 PM, daniel wrote: > 2013/6/10 Marius Hofert >> >> Hi, >> >> hide-region works, unhide-region does not (no matter whether I first >> select the 'hidden region' or not) > > > > unhide-region should make visible all the areas that are inside the current > region > > Or try this: > > (defun unhide-all () > (interactive) > (loop for ov in (overlays-in (point-min) (point-max)) > if (overlay-get ov 'my-overlay) > do (delete-overlay ov) > ) > ) >