From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: =?utf-8?Q?G=C3=B6ktu=C4=9F_Kayaalp?= Newsgroups: gmane.emacs.help Subject: Re: Extending TOC Buffer Outlines Date: Fri, 27 Apr 2018 20:49:06 +0300 Message-ID: References: <87bme4rbpf.fsf@pompo.co> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Trace: blaine.gmane.org 1524851266 23575 195.159.176.226 (27 Apr 2018 17:47:46 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Fri, 27 Apr 2018 17:47:46 +0000 (UTC) User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux) Cc: help-gnu-emacs@gnu.org To: Daniel Nemenyi Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Fri Apr 27 19:47:42 2018 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 1fC7T8-0005vQ-Dq for geh-help-gnu-emacs@m.gmane.org; Fri, 27 Apr 2018 19:47:38 +0200 Original-Received: from localhost ([::1]:49349 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fC7VF-0000VV-0E for geh-help-gnu-emacs@m.gmane.org; Fri, 27 Apr 2018 13:49:49 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:33603) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fC7Ul-0000VO-5T for help-gnu-emacs@gnu.org; Fri, 27 Apr 2018 13:49:20 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fC7Ui-00052U-1y for help-gnu-emacs@gnu.org; Fri, 27 Apr 2018 13:49:19 -0400 Original-Received: from relay5-d.mail.gandi.net ([217.70.183.197]:46955) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1fC7Uh-00051n-RV for help-gnu-emacs@gnu.org; Fri, 27 Apr 2018 13:49:15 -0400 X-Originating-IP: 46.2.16.135 Original-Received: from alpha.alpha (unknown [46.2.16.135]) (Authenticated sender: self@gkayaalp.com) by relay5-d.mail.gandi.net (Postfix) with ESMTPSA id 6B1C21C0004; Fri, 27 Apr 2018 19:49:11 +0200 (CEST) In-Reply-To: <87bme4rbpf.fsf@pompo.co> (Daniel Nemenyi's message of "Fri, 27 Apr 2018 15:00:28 +0100") X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] [fuzzy] X-Received-From: 217.70.183.197 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:116618 Archived-At: On 2018-04-27 15:00 +01, Daniel Nemenyi wrote: > Dear all, > > I'm writing a LaTeX document and using the \section{} titles to write > inline abstracts of the text beneath them. The ever-handy emacs TOC > buffer is great but it crops these down to 100 characters, which for > most use cases is completely reasonable, but I'd like to see their whole > text - and, yes, wrapped too if that's not too big a hassle! Hi, you may want to try Imenu which will add a menu to the menu bar that lists parts of the documents and you can click to jump to them (see (info "(emacs) Imenu")), and conveniently in TeX buffer it lists \sections. To add it, add this: (imenu-add-to-menubar "Sections") to your TeX mode's hook. By default it uses up to 60 chars from the sections name, but you can set _imenu-max-item-length_ to something like 1000 so that it shows all of the section title. It does _not_ wrap though. But on my ~15" laptop screen it can show sth. about 200 characters, so it might be good enough. I don't know what command brings up the mode you use, so I can't compare. --=20 =C4=B0. G=C3=B6ktu=C4=9F Kayaalp 024C 30DD 597D 142B 49AC 40EB 465C D949 B101 2427