emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* org-occur customize
@ 2007-11-02 15:48 Harald Weis
  2007-11-02 15:52 ` Bastien
  0 siblings, 1 reply; 7+ messages in thread
From: Harald Weis @ 2007-11-02 15:48 UTC (permalink / raw)
  To: emacs-orgmode

Hello All,

I need the following customization of the org-occur function:
If the match is in a headline, headline _and_ body are made visible.

Is there a way to accomplish this?

Thanks in advance.
Harald Weis
-- 
FreeBSD 6.2-RELEASE-p2 #0: Tue Feb 27 22:56:09 UTC 2007

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: org-occur customize
  2007-11-02 15:48 org-occur customize Harald Weis
@ 2007-11-02 15:52 ` Bastien
  2007-11-02 23:26   ` Harald Weis
  0 siblings, 1 reply; 7+ messages in thread
From: Bastien @ 2007-11-02 15:52 UTC (permalink / raw)
  To: emacs-orgmode

Harald Weis <hawei@free.fr> writes:

> I need the following customization of the org-occur function:
> If the match is in a headline, headline _and_ body are made visible.
>
> Is there a way to accomplish this?

Have a look at the variable `org-show-hierarchy-above':

,----[ org-show-hierarchy-above ]
|
| Non-nil means, show full hierarchy when revealing a location.
| Org-mode often shows locations in an org-mode file which might have
| been invisible before.  When this is set, the hierarchy of headings
| above the exposed location is shown.
|
| [...]
`----

HTH,

-- 
Bastien

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: org-occur customize
  2007-11-02 15:52 ` Bastien
@ 2007-11-02 23:26   ` Harald Weis
  2007-11-04  7:22     ` Carsten Dominik
  0 siblings, 1 reply; 7+ messages in thread
From: Harald Weis @ 2007-11-02 23:26 UTC (permalink / raw)
  To: emacs-orgmode

On Fri, Nov 02, 2007 at 03:52:27PM +0000, Bastien wrote:
> Harald Weis <hawei@free.fr> writes:
> 
> > I need the following customization of the org-occur function:
> > If the match is in a headline, headline _and_ body are made visible.
> >
> > Is there a way to accomplish this?
> 
> Have a look at the variable `org-show-hierarchy-above':
> 
> ,----[ org-show-hierarchy-above ]
> |
> | Non-nil means, show full hierarchy when revealing a location.
> | Org-mode often shows locations in an org-mode file which might have
> | been invisible before.  When this is set, the hierarchy of headings
> | above the exposed location is shown.
> |
> | [...]

Sorry, this does not help. It is not the hierarchy _above_
which I want to see, but the body of the _matched_ headline.

Harald

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: org-occur customize
  2007-11-02 23:26   ` Harald Weis
@ 2007-11-04  7:22     ` Carsten Dominik
  2007-11-05 19:31       ` Harald Weis
  0 siblings, 1 reply; 7+ messages in thread
From: Carsten Dominik @ 2007-11-04  7:22 UTC (permalink / raw)
  To: Harald Weis; +Cc: emacs-orgmode


On  3Nov2007, at 12:26 AM, Harald Weis wrote:

> On Fri, Nov 02, 2007 at 03:52:27PM +0000, Bastien wrote:
>> Harald Weis <hawei@free.fr> writes:
>>
>>> I need the following customization of the org-occur function:
>>> If the match is in a headline, headline _and_ body are made visible.
>>>
>>> Is there a way to accomplish this?
>>
>> Have a look at the variable `org-show-hierarchy-above':
>>
>> ,----[ org-show-hierarchy-above ]
>> |
>> | Non-nil means, show full hierarchy when revealing a location.
>> | Org-mode often shows locations in an org-mode file which might have
>> | been invisible before.  When this is set, the hierarchy of headings
>> | above the exposed location is shown.
>> |
>> | [...]
>
> Sorry, this does not help. It is not the hierarchy _above_
> which I want to see, but the body of the _matched_ headline.

5.14 will have a new variable `org-show-entry-below' that allows to
customize this behavior.  Thanks for pointing out this omission!

- Carsten

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: org-occur customize
  2007-11-04  7:22     ` Carsten Dominik
@ 2007-11-05 19:31       ` Harald Weis
  2007-11-05 20:52         ` Re: org-occur customize, newer version Giovanni Ridolfi
  0 siblings, 1 reply; 7+ messages in thread
From: Harald Weis @ 2007-11-05 19:31 UTC (permalink / raw)
  To: emacs-orgmode

On Sun, Nov 04, 2007 at 08:22:12AM +0100, Carsten Dominik wrote:
> 
> On  3Nov2007, at 12:26 AM, Harald Weis wrote:
> 

> >>Harald Weis <hawei@free.fr> writes:
> >>
> >>>I need the following customization of the org-occur function:
> >>>If the match is in a headline, headline _and_ body are made visible.
> >>>
> >>>Is there a way to accomplish this?
 
> 5.14 will have a new variable `org-show-entry-below' that allows to
> customize this behavior.  Thanks for pointing out this omission!
 
Thank you in advance for that new variable.

The present FreeBSD port is
org-mode.el-emacs21-4.64_1

4.64 is well behind the current version 5.13i, and so is 4.67c.
Not sure that the variable will soon be available for me, is it?

Harald

-- 
FreeBSD 6.2-RELEASE-p2 #0: Tue Feb 27 22:56:09 UTC 2007

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: Re: org-occur customize, newer version
  2007-11-05 19:31       ` Harald Weis
@ 2007-11-05 20:52         ` Giovanni Ridolfi
  2007-11-05 22:10           ` Harald Weis
  0 siblings, 1 reply; 7+ messages in thread
From: Giovanni Ridolfi @ 2007-11-05 20:52 UTC (permalink / raw)
  To: emacs-orgmode

On Mon, Nov 05, 2007 at 08:31:10PM +0100, Harald Weis wrote:
> 
> The present FreeBSD port is
> org-mode.el-emacs21-4.64_1
> 
> 4.64 is well behind the current version 5.13i, and so is 4.67c.
> Not sure that the variable will soon be available for me, is it?

Harald, 
please, have dig the archives looking for the thread with the subject 

"Upgrading org-mode--Windows"

on 23 October

and ... act accordingly ;-)

Cheers,
Giovanni

-- 
Giovanni Ridolfi, Chemist

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: Re: org-occur customize, newer version
  2007-11-05 20:52         ` Re: org-occur customize, newer version Giovanni Ridolfi
@ 2007-11-05 22:10           ` Harald Weis
  0 siblings, 0 replies; 7+ messages in thread
From: Harald Weis @ 2007-11-05 22:10 UTC (permalink / raw)
  To: emacs-orgmode

On Mon, Nov 05, 2007 at 09:52:27PM +0100, Giovanni Ridolfi wrote:
> On Mon, Nov 05, 2007 at 08:31:10PM +0100, Harald Weis wrote:
> > 
> > The present FreeBSD port is
> > org-mode.el-emacs21-4.64_1
> > 
> > 4.64 is well behind the current version 5.13i, and so is 4.67c.
> > Not sure that the variable will soon be available for me, is it?
> 
> Harald, 
> please, have dig the archives looking for the thread with the subject 
> 
> "Upgrading org-mode--Windows"
> 
> on 23 October
> 
> and ... act accordingly ;-)

Alright, thank you, Giovanni.

What is possible under Windows is even more possible under Unix! :-)

Ciao,
Harald
-- 
FreeBSD 6.2-RELEASE-p2 #0: Tue Feb 27 22:56:09 UTC 2007
--
"If Kyoto had been influenced more by the pragmatism of scientists and
engineers and less by romantic idealism, we might soon have harvested fusion
energy. As it is, even given good will, it may take 20 more years before it
begins to heat our electric kettles or run our word processors."
James Lovelock in "The Revenge of Gaia"

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2007-11-05 21:07 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-11-02 15:48 org-occur customize Harald Weis
2007-11-02 15:52 ` Bastien
2007-11-02 23:26   ` Harald Weis
2007-11-04  7:22     ` Carsten Dominik
2007-11-05 19:31       ` Harald Weis
2007-11-05 20:52         ` Re: org-occur customize, newer version Giovanni Ridolfi
2007-11-05 22:10           ` Harald Weis

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).