* org-cycle-hook from org-mode hook
@ 2014-01-06 14:03 François Pinard
2014-01-06 16:47 ` Bastien
0 siblings, 1 reply; 5+ messages in thread
From: François Pinard @ 2014-01-06 14:03 UTC (permalink / raw)
To: emacs-orgmode
Hi again, Org people.
I noticed a recent change in Org mode behaviour, which I guess is
related to a "git pull" of the org-mode project. This is so minor that
it is hardly a problem for me, I only report it in case it would hint at
some unwanted change that would have more consequences for others.
Opening an Org file in Emacs executes the hooks on org-mode-hooks.
Previously, it also executed the hooks on org-cycle-hook, while now, I
have the impression it does not anymore. The solution is easy for me, I
merely run my own Org cycle hook function from my main Org mode hook.
François
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: org-cycle-hook from org-mode hook
2014-01-06 14:03 org-cycle-hook from org-mode hook François Pinard
@ 2014-01-06 16:47 ` Bastien
2014-01-07 1:39 ` François Pinard
0 siblings, 1 reply; 5+ messages in thread
From: Bastien @ 2014-01-06 16:47 UTC (permalink / raw)
To: François Pinard; +Cc: emacs-orgmode
Hi François,
François Pinard <pinard@iro.umontreal.ca> writes:
> I noticed a recent change in Org mode behaviour, which I guess is
> related to a "git pull" of the org-mode project. This is so minor that
> it is hardly a problem for me, I only report it in case it would hint at
> some unwanted change that would have more consequences for others.
Thanks for reporting this.
The commit introducing the change must be this one:
http://orgmode.org/cgit.cgi/org-mode.git/commit/?id=44acd000
> Opening an Org file in Emacs executes the hooks on org-mode-hooks.
> Previously, it also executed the hooks on org-cycle-hook, while now, I
> have the impression it does not anymore. The solution is easy for me, I
> merely run my own Org cycle hook function from my main Org mode hook.
The function `org-set-startup-visibility' is always called when you
find an Org file interactively. Previously, it used `org-cycle'
internally to set the visibility state. Now it uses `org-content`
and `org-overview' instead, so that C-u C-u TAB always work.
I think it makes sense to call org-cycle-hooks *only* when cycling
manually, so the current behavior makes sense IMO. Let me know if
you (or others) think otherwise.
--
Bastien
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: org-cycle-hook from org-mode hook
2014-01-06 16:47 ` Bastien
@ 2014-01-07 1:39 ` François Pinard
2014-01-07 9:16 ` Bastien
2014-01-09 16:20 ` Eric S Fraga
0 siblings, 2 replies; 5+ messages in thread
From: François Pinard @ 2014-01-07 1:39 UTC (permalink / raw)
To: emacs-orgmode
Bastien <bzg@gnu.org> writes:
> Now it uses `org-content` and `org-overview' instead, so that C-u C-u
> TAB always work.
I did not immediately find the documentation about C-u C-u TAB, which is
in the node "Initial visibility". The node "Global and local cycling"
documents TAB, C-u TAB and C-u C-u C-u TAB, but surprisingly, not C-u
C-u TAB. Maybe some linking between those two manual nodes would be
useful to other users, when they happen to be as anal as I am? :-)
François
P.S. "anal" in the Piagetian meaning of the word, of course! People
suffering from anal disorder are either ultra-meticulous, or completely
disorganized. Most of the time, I see myself as being from the former
species, yet some days, I confess, I feel like I am from the later.
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: org-cycle-hook from org-mode hook
2014-01-07 1:39 ` François Pinard
@ 2014-01-07 9:16 ` Bastien
2014-01-09 16:20 ` Eric S Fraga
1 sibling, 0 replies; 5+ messages in thread
From: Bastien @ 2014-01-07 9:16 UTC (permalink / raw)
To: François Pinard; +Cc: emacs-orgmode
François Pinard <pinard@iro.umontreal.ca> writes:
> I did not immediately find the documentation about C-u C-u TAB, which is
> in the node "Initial visibility". The node "Global and local cycling"
> documents TAB, C-u TAB and C-u C-u C-u TAB, but surprisingly, not C-u
> C-u TAB. Maybe some linking between those two manual nodes would be
> useful to other users, when they happen to be as anal as I am? :-)
Yes, I added the information and the link, thanks!
--
Bastien
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: org-cycle-hook from org-mode hook
2014-01-07 1:39 ` François Pinard
2014-01-07 9:16 ` Bastien
@ 2014-01-09 16:20 ` Eric S Fraga
1 sibling, 0 replies; 5+ messages in thread
From: Eric S Fraga @ 2014-01-09 16:20 UTC (permalink / raw)
To: François Pinard; +Cc: emacs-orgmode
François Pinard <pinard@iro.umontreal.ca> writes:
[...]
> P.S. "anal" in the Piagetian meaning of the word, of course! People
> suffering from anal disorder are either ultra-meticulous, or completely
> disorganized. Most of the time, I see myself as being from the former
> species, yet some days, I confess, I feel like I am from the later.
:)
In my case, I find myself exhibiting the former trait due to the latter
reality... luckily org is here to not only help me be less disorganised
but also more meticulous!
--
: Eric S Fraga (0xFFFCF67D), Emacs 24.3.1, Org release_8.2.4-322-gece429
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2014-01-09 17:41 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-01-06 14:03 org-cycle-hook from org-mode hook François Pinard
2014-01-06 16:47 ` Bastien
2014-01-07 1:39 ` François Pinard
2014-01-07 9:16 ` Bastien
2014-01-09 16:20 ` Eric S Fraga
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.