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 15:18:19 +0200 Message-ID: References: NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 X-Trace: ger.gmane.org 1370870923 14873 80.91.229.3 (10 Jun 2013 13:28:43 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 10 Jun 2013 13:28:43 +0000 (UTC) To: daniel , help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Mon Jun 10 15:28:43 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 1Um29I-0006X7-0s for geh-help-gnu-emacs@m.gmane.org; Mon, 10 Jun 2013 15:28:40 +0200 Original-Received: from localhost ([::1]:57790 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Um29H-0006lI-LC for geh-help-gnu-emacs@m.gmane.org; Mon, 10 Jun 2013 09:28:39 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:43989) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Um28z-0006l1-CB for help-gnu-emacs@gnu.org; Mon, 10 Jun 2013 09:28:27 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Um1zw-0003Wn-3E for help-gnu-emacs@gnu.org; Mon, 10 Jun 2013 09:19:06 -0400 Original-Received: from mail-pa0-x233.google.com ([2607:f8b0:400e:c03::233]:51874) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Um1zv-0003WM-SR for help-gnu-emacs@gnu.org; Mon, 10 Jun 2013 09:18:59 -0400 Original-Received: by mail-pa0-f51.google.com with SMTP id lf11so1772758pab.24 for ; Mon, 10 Jun 2013 06:18:59 -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:content-type; bh=jbquYrZjZa5/3wzRrmFBXwbjp3u6aKBbO6/kpUKo9D4=; b=wAm2j/PrFJ3AHN+J18DUW+h4Z8MoLPgjm6lUVWAfnB+WDEEyj2xjktRao6mjTA8p8N //ixWinhGA3CiiBS7LmYg6fRf2h+/OITJC2h8YxqAs01mj/QCQIlEVyORON/d90EUfPS Q2MAHeBy6P4s4wrieuX66Tnr/4MXwRPwhmZ4SVpsSzHJVnNxSsL442Zf5gWD8hphyDCl RLijWGrA2+mYwWow2yDLzWqp1vBe9gIPzD1N8vRqTxFaBfW0WA09mnM6pXY6OO6FZJff KVexTd5J+n0jXE9mANBuQtfWQBkywYPa84wudefDolDcpRIenauf5dCRgTvoeT2BvVkV cKNg== X-Received: by 10.66.122.68 with SMTP id lq4mr13847938pab.78.1370870339140; Mon, 10 Jun 2013 06:18:59 -0700 (PDT) Original-Received: by 10.68.31.135 with HTTP; Mon, 10 Jun 2013 06:18:19 -0700 (PDT) In-Reply-To: X-Google-Sender-Auth: HnqiAV4Pl_7gSvFxiw0khgSdFxo X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2607:f8b0:400e:c03::233 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:91436 Archived-At: Hi Daniel, Thanks for your quick reply. You mean selecting B? But how do you make it invisible? AFAIK, narrowing only makes regions visible, not invisible (?) Cheers, Marius On Mon, Jun 10, 2013 at 2:59 PM, daniel wrote: > You could create an overlay in the B area and make it invisible, I think... > I did that one time. > > But most emacs function, like search, will continue to see the hidden part. > > > 2013/6/10 Marius Hofert >> >> Hi, >> >> I recently discovered narrowing (C-x n n). Say I have three >> consecutive paragraphs... >> >> A >> B >> C >> >> ... and I want to hide the 'middle' one, that is, B, while keeping A >> and C visible. Can this be done with narrowing? (or in any similar >> way?). As far as I know, with narrowing, I can only narrow down to A >> or C but can't make them both visible simultaneously. >> >> Cheers, >> >> Marius >> >