From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Drew Adams Newsgroups: gmane.emacs.help Subject: RE: How to get back to a place in a buffer, or: what is a window configuration? Date: Wed, 3 Aug 2016 12:39:27 -0700 (PDT) Message-ID: <8934fad4-c062-4b4d-9a1b-d973484cad7f@default> References: <87zioutd4v.fsf@mbork.pl> <87r3a5u22v.fsf@mbork.pl> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable X-Trace: blaine.gmane.org 1470253213 19484 195.159.176.226 (3 Aug 2016 19:40:13 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Wed, 3 Aug 2016 19:40:13 +0000 (UTC) Cc: Help Gnu Emacs mailing list To: Marcin Borkowski Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Wed Aug 03 21:40:09 2016 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bV21Q-0004U2-KB for geh-help-gnu-emacs@m.gmane.org; Wed, 03 Aug 2016 21:40:08 +0200 Original-Received: from localhost ([::1]:36378 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bV21N-0007NI-B3 for geh-help-gnu-emacs@m.gmane.org; Wed, 03 Aug 2016 15:40:05 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:56359) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bV20x-0007N2-MU for help-gnu-emacs@gnu.org; Wed, 03 Aug 2016 15:39:40 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bV20t-0003xi-En for help-gnu-emacs@gnu.org; Wed, 03 Aug 2016 15:39:38 -0400 Original-Received: from aserp1040.oracle.com ([141.146.126.69]:25649) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bV20s-0003xJ-BH for help-gnu-emacs@gnu.org; Wed, 03 Aug 2016 15:39:35 -0400 Original-Received: from aserv0021.oracle.com (aserv0021.oracle.com [141.146.126.233]) by aserp1040.oracle.com (Sentrion-MTA-4.3.2/Sentrion-MTA-4.3.2) with ESMTP id u73JdULt024257 (version=TLSv1 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Wed, 3 Aug 2016 19:39:31 GMT Original-Received: from userv0122.oracle.com (userv0122.oracle.com [156.151.31.75]) by aserv0021.oracle.com (8.13.8/8.13.8) with ESMTP id u73JdUTr030721 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Wed, 3 Aug 2016 19:39:30 GMT Original-Received: from abhmp0005.oracle.com (abhmp0005.oracle.com [141.146.116.11]) by userv0122.oracle.com (8.14.4/8.14.4) with ESMTP id u73JdTVg021831; Wed, 3 Aug 2016 19:39:29 GMT In-Reply-To: <87r3a5u22v.fsf@mbork.pl> X-Priority: 3 X-Mailer: Oracle Beehive Extensions for Outlook 2.0.1.9 (901082) [OL 12.0.6744.5000 (x86)] X-Source-IP: aserv0021.oracle.com [141.146.126.233] X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.4.x-2.6.x [generic] X-Received-From: 141.146.126.69 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.21 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" Xref: news.gmane.org gmane.emacs.help:111056 Archived-At: > > (If you use library zones.el then you can easily flip among > > multiple narrowings, in case that is related to what you want. > > https://www.emacswiki.org/emacs/MultipleNarrowings) >=20 > I heard about it, though I don't really see much use (for me, not in > general). OTOH, I use narrowing quite a lot, so maybe I could give > it a try. If it doesn't help, don't use it. ;-) The idea is simple: Emacs lets you narrow to different restrictions, but there is only one level of widening: `widen'. This is analogous to simple copy+paste systems: you can copy different things at different times, but when you paste you get just the last thing copied. With this extension to narrowing: when you narrow, the restriction is pushed to a ring - analogously to copying/killing text to the `kill-ring'. And just as you can yank anything that is on the `kill-ring', so you can restore any restriction (narrowing) from the ring. (And you can have multiple rings, buffer-local or not.) As for whether you will find that useful: it might depend on how much you use narrowing. And perhaps also on what you are used to (habit). People used to simple copy+paste might not find the `kill-ring' very useful at first... > > What part of (elisp) `Window Configurations' is unclear to you? >=20 > Well, now I see it... But look at this: > ,----[ (emacs) Configuration Registers ] ... > ,----[ (emacs) Window Convenience ] ... > See? Basically nothing in the /Emacs manual/ explains precisely what > a "window configuration" is. On the other hand, the /Elisp reference/ > is pretty clear. I'd consider this a bug in the docs: a /user/ should > not need to consult the Elisp reference. I'll try to come up with > a patch for the docs soon. What do you think a user should know about what a window config is? That's the question, if you think the Emacs manual needs more info. (`M-x report-emacs-bug'). (Note that there can also be links between the manuals.)