From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: daniel Newsgroups: gmane.emacs.help Subject: Re: Narrow: How to hide a specific part? Date: Mon, 10 Jun 2013 16:04:10 +0100 Message-ID: References: <874nd6vzz6.fsf@bzg.ath.cx> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 X-Trace: ger.gmane.org 1370876687 16780 80.91.229.3 (10 Jun 2013 15:04:47 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 10 Jun 2013 15:04:47 +0000 (UTC) Cc: Bastien , "help-gnu-emacs@gnu.org" To: Marius Hofert Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Mon Jun 10 17:04:48 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 1Um3eK-0000Lj-0T for geh-help-gnu-emacs@m.gmane.org; Mon, 10 Jun 2013 17:04:48 +0200 Original-Received: from localhost ([::1]:40368 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Um3eJ-0007oT-CN for geh-help-gnu-emacs@m.gmane.org; Mon, 10 Jun 2013 11:04:47 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:43309) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Um3e8-0007oN-F5 for help-gnu-emacs@gnu.org; Mon, 10 Jun 2013 11:04:37 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Um3e3-0005OJ-8t for help-gnu-emacs@gnu.org; Mon, 10 Jun 2013 11:04:36 -0400 Original-Received: from mail-pb0-x234.google.com ([2607:f8b0:400e:c01::234]:48362) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Um3e3-0005O9-0i for help-gnu-emacs@gnu.org; Mon, 10 Jun 2013 11:04:31 -0400 Original-Received: by mail-pb0-f52.google.com with SMTP id xa12so7361714pbc.39 for ; Mon, 10 Jun 2013 08:04:30 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type; bh=+44hozyguk1LufrfUJjURq7PE2eypn/ffs8zRiWeSRs=; b=M+Ti3jkhhH4Rk6sTlYWs+1xrapdvAbw6WPhXRlr9TiDSf1tYaZxENq+YFj0ldzGoIx T75S5A38j9Sur1IzslAEgdSeh4PBnIDKFVwWbSJquaXPig/pPZsiz5wJcyLOF3GDXmLV On3B683vq/x7jaaFn9o651D6rZfBEOGrhp4DwNJHO5CcgY9AH8Ozx+VevMkpaiZ0jayX JuYm0WxKTIY4sskLLaZLoV5kF6vBvbW4TnTTyDfSjqYY++fldjCyEbS4Ktbgi9IIEm6b NuUVKXZ+s2pSUuBVxfi/CG46G7LJAesToY797ikboiHl0XpqLVq62i18PpkkZmo4KKye 84wg== X-Received: by 10.68.12.165 with SMTP id z5mr10201384pbb.172.1370876670105; Mon, 10 Jun 2013 08:04:30 -0700 (PDT) Original-Received: by 10.70.55.69 with HTTP; Mon, 10 Jun 2013 08:04:10 -0700 (PDT) In-Reply-To: X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2607:f8b0:400e:c01::234 X-Content-Filtered-By: Mailman/MimeDel 2.1.14 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:91442 Archived-At: 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) ) )