From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.ciao.gmane.io!not-for-mail From: Eric Abrahamsen Newsgroups: gmane.emacs.help Subject: Re: toc on one side, contents on the other ? Date: Sat, 06 Jun 2020 13:34:50 -0700 Message-ID: <87a71grl05.fsf@ericabrahamsen.net> References: <2C68D028-EC89-4DE0-BD3C-093B6DCB2701@traduction-libre.org> <44fe026a-2d12-47fe-9e52-98b61f4288e0@default> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="ciao.gmane.io:159.69.161.202"; logging-data="39089"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) Cc: Jean-Christophe Helary , Help Gnu Emacs mailing list To: Drew Adams Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Sat Jun 06 22:35:16 2020 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1jhfX9-000A1R-2W for geh-help-gnu-emacs@m.gmane-mx.org; Sat, 06 Jun 2020 22:35:15 +0200 Original-Received: from localhost ([::1]:47514 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jhfX8-0005tu-5K for geh-help-gnu-emacs@m.gmane-mx.org; Sat, 06 Jun 2020 16:35:14 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:49062) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jhfWq-0005tS-Gy for help-gnu-emacs@gnu.org; Sat, 06 Jun 2020 16:34:56 -0400 Original-Received: from ericabrahamsen.net ([52.70.2.18]:49940 helo=mail.ericabrahamsen.net) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jhfWp-0002Ql-By for help-gnu-emacs@gnu.org; Sat, 06 Jun 2020 16:34:56 -0400 Original-Received: from localhost (c-73-254-86-141.hsd1.wa.comcast.net [73.254.86.141]) (Authenticated sender: eric@ericabrahamsen.net) by mail.ericabrahamsen.net (Postfix) with ESMTPSA id D320FFA0E2; Sat, 6 Jun 2020 20:34:52 +0000 (UTC) In-Reply-To: <44fe026a-2d12-47fe-9e52-98b61f4288e0@default> (Drew Adams's message of "Sat, 6 Jun 2020 09:04:44 -0700 (PDT)") Received-SPF: pass client-ip=52.70.2.18; envelope-from=eric@ericabrahamsen.net; helo=mail.ericabrahamsen.net X-detected-operating-system: by eggs.gnu.org: First seen = 2020/06/06 15:23:55 X-ACL-Warn: Detected OS = Linux 2.2.x-3.x [generic] [fuzzy] X-Spam_score_int: -41 X-Spam_score: -4.2 X-Spam_bar: ---- X-Spam_report: (-4.2 / 5.0 requ) BAYES_00=-1.9, RCVD_IN_DNSWL_MED=-2.3, SPF_PASS=-0.001, URIBL_BLOCKED=0.001 autolearn=_AUTOLEARN X-Spam_action: no action X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.23 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-mx.org@gnu.org Original-Sender: "help-gnu-emacs" Xref: news.gmane.io gmane.emacs.help:123256 Archived-At: Drew Adams writes: >> I'm trying to keep an org file TOC in one window and send narrowed buffers to >> another window, but I can't seem to find how to do that with vanilla >> org/emacs. > > Maybe `narrow-indirect.el' will help - dunno. > > https://www.emacswiki.org/emacs/NarrowIndirect > > You may also need to fiddle with `display-buffer-alist' > or whatever, to get buffers shown where you want them - dunno. Or the org-toc package seems to do this, or almost this. I don't know if it counts as "vanilla", but it's part of the org-plus-contrib package. It doesn't seem to do a narrowing thing by default, but I'll bet it wouldn't be hard to add. Actually, thanks for reminding me this exists! It's pretty useful.