From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.ciao.gmane.io!not-for-mail From: Jean-Christophe Helary Newsgroups: gmane.emacs.help Subject: Re: toc on one side, contents on the other ? Date: Sun, 7 Jun 2020 13:25:39 +0900 Message-ID: <03495B67-5C01-4E30-AD52-3B863D40C68C@traduction-libre.org> References: <2C68D028-EC89-4DE0-BD3C-093B6DCB2701@traduction-libre.org> <44fe026a-2d12-47fe-9e52-98b61f4288e0@default> <87a71grl05.fsf@ericabrahamsen.net> Mime-Version: 1.0 (Mac OS X Mail 13.4 \(3608.80.23.2.2\)) Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="ciao.gmane.io:159.69.161.202"; logging-data="48221"; mail-complaints-to="usenet@ciao.gmane.io" Cc: Help Gnu Emacs mailing list To: Eric Abrahamsen Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Sun Jun 07 06:26:19 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 1jhmt1-000CQf-Qd for geh-help-gnu-emacs@m.gmane-mx.org; Sun, 07 Jun 2020 06:26:19 +0200 Original-Received: from localhost ([::1]:38462 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jhmt0-0006mz-PJ for geh-help-gnu-emacs@m.gmane-mx.org; Sun, 07 Jun 2020 00:26:18 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:36548) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jhmsY-0006ms-Hy for help-gnu-emacs@gnu.org; Sun, 07 Jun 2020 00:25:50 -0400 Original-Received: from relay10.mail.gandi.net ([217.70.178.230]:52467) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jhmsW-0007hL-R7 for help-gnu-emacs@gnu.org; Sun, 07 Jun 2020 00:25:50 -0400 Original-Received: from [10.0.1.13] (pl22363.ag1313.nttpc.ne.jp [111.89.103.91]) (Authenticated sender: jean.christophe.helary@traduction-libre.org) by relay10.mail.gandi.net (Postfix) with ESMTPSA id 29D4D240004; Sun, 7 Jun 2020 04:25:43 +0000 (UTC) In-Reply-To: <87a71grl05.fsf@ericabrahamsen.net> X-Mailer: Apple Mail (2.3608.80.23.2.2) Received-SPF: pass client-ip=217.70.178.230; envelope-from=jean.christophe.helary@traduction-libre.org; helo=relay10.mail.gandi.net X-detected-operating-system: by eggs.gnu.org: First seen = 2020/06/07 00:25:46 X-ACL-Warn: Detected OS = Linux 3.11 and newer X-Spam_score_int: -25 X-Spam_score: -2.6 X-Spam_bar: -- X-Spam_report: (-2.6 / 5.0 requ) BAYES_00=-1.9, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H2=-0.001, 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:123259 Archived-At: > On Jun 7, 2020, at 5:34, Eric Abrahamsen = wrote: >=20 > Drew Adams writes: >=20 >>> 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. >>=20 >> Maybe `narrow-indirect.el' will help - dunno. >>=20 >> https://www.emacswiki.org/emacs/NarrowIndirect >>=20 >> You may also need to fiddle with `display-buffer-alist' >> or whatever, to get buffers shown where you want them - dunno. >=20 > 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. Thank you. I tried it. It was basically what I was looking for. But, (rant) I just don't like the liberties developers take with the = windows layout, which may be based *in part* on the emacs = infrastructure. The way windows popup randomly all over the place and the original = layout is never restored is a major annoyance in emacs and this package = is no exception. > It doesn't seem to do a narrowing thing by default, but I'll bet it > wouldn't be hard to add. But it refers to the correct header, so that's good enough. --=20 Jean-Christophe Helary @brandelune http://mac4translators.blogspot.com