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

Hi Henry,

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!

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

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.

Best,
Takaaki


On 2013年1月29日Tuesday at 3:37, henry atting wrote:

>  
> Hi Takaaki,
>  
> > [...]
> > How about the following setting?
> >  
> > (add-hook 'org-mode-hook 'org-tree-slide-mode)
> >  
> > If you have already tried the setting with the latest version of org-tree-slide,
> > and also encountered issues, please let me know the details.
> > I'll try to reproduce and fix it. [...]
>  
>  
>  
> Yes, this was exactly my setting.
>  
> At first it breaks org-publish. If I export a file the resulting html
> file will only contain the first top level headline and the second, 3rd
> ... level headlines. All other top level headlines are ignored.
> Secondly it breaks gnus/message mode when started with a hook to load
> orgstruct mode like this:
> (add-hook 'message-mode-hook 'turn-on-orgstruct)
> When I want to write a new mail only an empty buffer opens with an error
> message something like `before first heading'.
> Thirdly I think org-tree-slide should ignore org-agenda or vice versa.
> When I open org-agenda frequently the org-tree-slide greeting message
> appears in the echo area. Maybe it slows it down...
>  
> henry
>  
> --  
> http://literaturlatenight.de

--
Takaaki ISHIKAWA <takaxp@ieee.org>
  GITI, Waseda University
    ( ' -')b http://about.me/takaxp

  reply	other threads:[~2013-01-28 19: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 [this message]
2013-01-28 20:33       ` henry atting

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=762AB53550094322B2607F0066552B57@ieee.org \
    --to=takaxp@ieee.org \
    --cc=emacs-orgmode@gnu.org \
    --cc=snd@online.de \
    /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).