From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Eric Abrahamsen Newsgroups: gmane.emacs.help Subject: Re: org-mode questions Date: Sun, 23 Aug 2015 10:07:42 +0800 Message-ID: <87twrqlpu9.fsf@ericabrahamsen.net> References: NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1440295700 31253 80.91.229.3 (23 Aug 2015 02:08:20 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 23 Aug 2015 02:08:20 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Sun Aug 23 04:08:11 2015 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1ZTKhd-0001cZ-EZ for geh-help-gnu-emacs@m.gmane.org; Sun, 23 Aug 2015 04:08:09 +0200 Original-Received: from localhost ([::1]:48988 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZTKhc-0007Ts-FN for geh-help-gnu-emacs@m.gmane.org; Sat, 22 Aug 2015 22:08:08 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:44093) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZTKhR-0007TW-9b for help-gnu-emacs@gnu.org; Sat, 22 Aug 2015 22:07:58 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZTKhM-0006hV-Aa for help-gnu-emacs@gnu.org; Sat, 22 Aug 2015 22:07:57 -0400 Original-Received: from plane.gmane.org ([80.91.229.3]:33581) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZTKhM-0006hK-3W for help-gnu-emacs@gnu.org; Sat, 22 Aug 2015 22:07:52 -0400 Original-Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1ZTKhH-0001Qc-8a for help-gnu-emacs@gnu.org; Sun, 23 Aug 2015 04:07:47 +0200 Original-Received: from 114.248.19.139 ([114.248.19.139]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sun, 23 Aug 2015 04:07:47 +0200 Original-Received: from eric by 114.248.19.139 with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sun, 23 Aug 2015 04:07:47 +0200 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 56 Original-X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: 114.248.19.139 User-Agent: Gnus/5.130014 (Ma Gnus v0.14) Emacs/25.0.50 (gnu/linux) Cancel-Lock: sha1:2ETHIPwhvuxy+4oBRHNxNiura+w= X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 80.91.229.3 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 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-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:106775 Archived-At: Colin Yates writes: > Hi, (newbie warning) > > I am about to embark on some extensive writing (in Markdown) and > org-mode might be just the ticket for this. I particularly like the idea > of narrowing, which I understand the markdown mode doesn't offer. > > I envisage my .org file having the following structure: > > * resources > * reviews > ** review 1 > ** ... > ** review n > * release > ** Chapter 1 > ** .. > ** Chapter n > > The actual 'contents' being under 'release'. > > What I want is to effectively say to org "copy everything under > 'release', promote them all to top level headings and then export them > all as markdown. The easiest thing to do will probably be to put point on "release", start the export dispatcher, and hit "C-s" once to change the "Export scope" to subtree. If all the contents you want are under "release", that ought to do it. Another approach would be removing the subtrees you don't want, using the "noexport" tag. But that wouldn't promote the "release" subtree to top-level. Hope that helps! If you're likely to have more questions, there is an org-specific mailing list at gmane.emacs.orgmode. Yours, Eric > I can do this manually with killing and yanking, and if I scratch my > head a bit (till it bleeds actually) then I expect I could even do this > in a function. > > However, either this is a really common use-case in which I expect I am > missing something in org-mode _or_ this is a weird use-case in which > case I don't want to start and would rather be more idiomatic. > > Any thoughts/guidance welcome! > > Thanks, > > Colin > > Sent with my mu4e