From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nick Dokos Subject: Re: TAB from within a text Date: Fri, 03 Feb 2012 10:25:41 -0500 Message-ID: <2541.1328282741@alphaville> References: <87zkd0j863.fsf@iro.umontreal.ca> Reply-To: nicholas.dokos@hp.com Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([140.186.70.92]:48579) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RtL1Q-0002Lc-Tw for emacs-orgmode@gnu.org; Fri, 03 Feb 2012 10:26:00 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RtL1P-0000c5-Nj for emacs-orgmode@gnu.org; Fri, 03 Feb 2012 10:25:56 -0500 Received: from g4t0017.houston.hp.com ([15.201.24.20]:7091) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RtL1P-0000XG-Id for emacs-orgmode@gnu.org; Fri, 03 Feb 2012 10:25:55 -0500 In-Reply-To: Message from pinard@iro.umontreal.ca (=?us-ascii?Q?=3D=3Futf-?= =?us-ascii?Q?8=3FQ=3FFran=3DC3=3DA7ois=3F=3D?= Pinard) of "Fri\, 03 Feb 2012 09\:36\:20 EST." <87zkd0j863.fsf@iro.umontreal.ca> List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: =?us-ascii?Q?=3D=3Futf-8=3FQ=3FFran=3DC3=3DA7?= =?us-ascii?Q?ois=3F=3D?= Pinard Cc: nicholas.dokos@hp.com, emacs-orgmode@gnu.org Fran=C3=A7ois Pinard wrote: > Hi, everybody. >=20 > Writing a longish text for my coworkers this morning, I notice that I do > not know a quick way for collapsing the whole set of paragraphs I'm > currently writing, when their header happens to be many screenfuls above > point. I have to first return to that header and do TAB there. Even > this return was not evident to me at first. I wrongly thought that `C-c > C-u' would do it, but it jumps far too much and lands one level higher > than I expected. Then, /(org)Motion node/ taught me that I could use > `C-c C-j ' to this purpose; which is slightly convoluted to me, as I > always perceived `C-c C-j' as a kind of sophisticated "reveal". >=20 Checking the navigation menu, I thought that C-c C-p =3D=3D outline-previous-visible-heading C-c C-b =3D=3D org-backward-same-level C-c C-u =3D=3D outline-up-heading (in particular, C-c C-p in this case) would be the more natural choices for navigation. C-c C-j =3D=3D org-goto does a lot more than that - in particular, it is mo= dal and you have to get out of the mode, e.g. by selecting a location and press= ing . > Is it unreasonable for me to hope that, instead of `C-c C-j TAB', a > mere TAB from within a long text would quickly do what I wanted? >=20 It does seem unreasonable to me, looking from the outside in: TAB is overworked, overloaded and much too smart for its own good, and you are asking it to be smarter and do more :-) But I wouldn't dismiss it as impossible: org itself came about from a similar idea applied to outline.el Whether it's worth it, I don't know: C-c C-p TAB has worked for me and has seemed painless enough to me so as not to go looking for something "better". Nick