emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: henry atting <snd@online.de>
To: emacs-orgmode@gnu.org
Cc: takaxp@ieee.org
Subject: Re: org-tree-slide as default, sort of
Date: Mon, 28 Jan 2013 21:33:02 +0100	[thread overview]
Message-ID: <87wquxujy9.fsf@bye.fritz.box> (raw)
In-Reply-To: 762AB53550094322B2607F0066552B57@ieee.org


Hi Takaaki,


> I reproduced the first and the 3rd case you reported.
> I think the following setting is better than using org-mode-hook.
>
> (add-hook 'find-file-hook
>   '(lambda () (when (eq major-mode 'org-mode)
>
>     (org-tree-slide-mode))))
>
> When you call org-agenda, it will visit many org-files listed in
> org-agenda-files. This is why multiple displaying of greeting message is occurred.
> But actually, the message should be a custom variable.
> I'll change it, thanks!

Great, thanks.

> In my environment, I cannot reproduce the 2nd case.
> Could you test again with the above setting?

With the above setting it works fine now.

> Finally, when org-tree-slide is active, org-publish will export
> the narrowed tree only. If you want to export whole trees,
> please turn off org-tree-slide temporarily.

This is what I currently do. However the problem is if you publish a
project with let's say 10 files then you will have to open all 10 and
toggle org-tree-slice mode manually, given that you made changes on all
10 files. 
Or you evaluate (remove-hook 'find-file-hook ...)
That said since I have no project with 10 files which I change all at
once turning off org-tree-slide manually is sufficient for me.

Thanks, 
henry

-- 
http://literaturlatenight.de

      reply	other threads:[~2013-01-28 20:33 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-01-28 16:18 org-tree-slide as default, sort of henry atting
2013-01-28 17:17 ` Takaaki ISHIKAWA
2013-01-28 18:37   ` henry atting
2013-01-28 19:33     ` Takaaki ISHIKAWA
2013-01-28 20:33       ` henry atting [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87wquxujy9.fsf@bye.fritz.box \
    --to=snd@online.de \
    --cc=emacs-orgmode@gnu.org \
    --cc=takaxp@ieee.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).