Re: [O] reveal only current subtree

2011-12-17 Thread Takaaki ISHIKAWA
Dear sergio,

I think you are right, and have confirmed your setting.

The following has the same effect, just for your information.

(define-key org-mode-map (kbd "C-c C-r")
  '(lambda () (interactive) (org-show-siblings)))


Best regards,
Takaaki Ishikawa

> (add-hook 'org-mode-hook (lambda ()
>   (local-set-key "\C-c\C-r" (lambda ()
>   (interactive)
>   (org-show-siblings)



signature.asc
Description: Message signed with OpenPGP using GPGMail


Re: [O] How to control face for plain links

2011-12-17 Thread Takaaki ISHIKAWA
Dear Bernt,

Thanks for your comment.
I'll try to make faces.

Best regards,
Takaaki Ishikawa

>> I would like to use "http://orgmode.org"; without underline,
>> and "[[http://orgmode.org/][Org]]"; with underline.
>> 
>> Do you have some good ideas?
> 
> I'm afraid not.  I think you need different faces if you want to
> distinguish between [[ ]] links and plain http:// links and that's not
> currently supported AFAIK.
> 
> -Bernt


signature.asc
Description: Message signed with OpenPGP using GPGMail


Re: [O] reveal only current subtree

2011-12-17 Thread sergio
On 12/18/2011 05:12 AM, Takaaki ISHIKAWA wrote:

> Type "M-: (org-show-siblings)" and "M-: (org-show-entry)".

Am I right, that for rebind strange (org-reveal) to (org-show-siblings)
I should do:

(add-hook 'org-mode-hook (lambda ()
(local-set-key "\C-c\C-r" (lambda ()
(interactive)
(org-show-siblings)

It works, but may be there are errors which I don't see.

-- 
sergio.



Re: [O] reveal only current subtree

2011-12-17 Thread Takaaki ISHIKAWA
Dear sergio,

I'm glad I could help.

> Oh, sorry. Thank you, Takaaki, (org-show-siblings) is exactly what
> I want! But could you say, how you've discovered it?


I have recently reading org.el to write my elisp, org-tree-slide[*1].
Your problem is very hot topic to me :-)

[*1] http://orgmode.org/worg/org-tutorials/non-beamer-presentations.html

Best regards,
Takaaki Ishikawa

signature.asc
Description: Message signed with OpenPGP using GPGMail


Re: [O] reveal only current subtree

2011-12-17 Thread sergio
On 12/18/2011 05:12 AM, Takaaki ISHIKAWA wrote:


> Please use eval-expression function [*1] for testing.
> Type "M-: (org-show-siblings)" and "M-: (org-show-entry)".

Oh, sorry. Thank you, Takaaki, (org-show-siblings) is exactly what
I want! But could you say, how you've discovered it?

-- 
sergio.



Re: [O] reveal only current subtree

2011-12-17 Thread Takaaki ISHIKAWA
Dear sergio,

Please use eval-expression function [*1] for testing.
Type "M-: (org-show-siblings)" and "M-: (org-show-entry)".

> org-show-siblings is also not that I want. It show all siblings of all
> expanded levels. And want to change this view:

The combination is maybe your answer. Please find a short clip.
http://dl.dropbox.com/u/2440/worg/Voila_Capture14.mov
I tested with an example org buffer[*2], Emacs24, and Org7.8.02.

Best regards,
Takaaki Ishikawa

[*1] http://www.gnu.org/s/libtool/manual/emacs/Lisp-Eval.html

[*2] an example org buffer
* a
** aa
* b
** d
*** ee
*** e
 f
 g
qwe
qwe
* hhh
* hh
* h
- a
- b
* 
* h
 gg
 gg
** ddd
* c



signature.asc
Description: Message signed with OpenPGP using GPGMail


Re: [O] reveal only current subtree

2011-12-17 Thread sergio
On 12/18/2011 04:13 AM, Takaaki ISHIKAWA wrote:

> C-c C-j d/e/g/h
> (org-show-siblings)
> (org-show-entry)

May be you mean
(setq org-show-siblings t)
?
Also there is no org-show-entry variable, may be you mean
(setq org-show-entry-below t)
?

As I say org-show-entry-below is good so I switched it on for org-goto:
(setq org-show-entry-below '((org-goto . t)))
but it has nothing with main problem.

org-show-siblings is also not that I want. It show all siblings of all
expanded levels. And want to change this view:

* a...
* b...
** d...
*** e...
 g...
* h<- cursor is here
- some
- list
* c...

to this:

* a...
* b...
** d...
*** e...
 g...
* hhh...
* hh...
* h<- cursor is here
- some
- list
* ...
* h...
* c...

and not to this:

* a...
* b...
** dd...
** d
*** ee...
*** e
 ggg...
 g
* hhh...
* hh...
* h<- cursor is here
- some
- list
* ...
* h...
 ggg...
 ggg...
** ddd...
* c...


-- 
sergio.



Re: [O] [DEV] Package org-find-timestamps on worg

2011-12-17 Thread Thomas S. Dye
Marc-Oliver Ihm  writes:

> Hello all,
>
> just have pushed the file org-find-timestamps.el to the contrib directory of 
> worg:
>
>   http://orgmode.org/worg/org-contrib/index.html
>
> The elisp file is here
>
>   http://ferntreffer.de/elisp/org-refer-by-number.el
>
> Its description reads like this:
>
>  The function org-find-timestamps allows you to bring the notes, that you 
> take within org-mode,
>  into a chronological order, even if they are scattered across many different 
> files and nodes.
>  It shows any SCHEDULED, CLOSED or plain timestamp in a listing with easy 
> access to the
>  repective nodes. Such a listing provides an answer to the common question 
> 'What have I done
>  last week ?'
>
> Hope, that this package can be useful.
>
>
> regards, Marc-Oliver Ihm
>

Aloha Marc-Oliver,

Neat idea!  The follow option makes it convenient to step through
results.  Org-find-timestamps is going to be super useful.

Many thanks,
Tom

-- 
Thomas S. Dye
http://www.tsdye.com



Re: [O] [PATCH] Manual: Consistently use 'Org mode'

2011-12-17 Thread Thomas S. Dye
Julian Gehring  writes:

> Manual: Consistently use 'Org mode'
>
> * doc/org.texi: Use 'Org mode' instead of alternatives like
> 'Org-mode' or 'org-mode', as suggested in Phil's notes
> ('doc/Documentation_Standards.org').
>

The Org mode t-shirt still has the hyphen :)

Tom

-- 
Thomas S. Dye
http://www.tsdye.com



Re: [O] reveal only current subtree

2011-12-17 Thread Takaaki ISHIKAWA
Dear sergio,

Hi.
How about the following combination?

>> 
>> * a...
>> * b...
>> ** d...
>> *** e...
>>  g...
>> * h<- cursor is here
>> - some
>> - list
>> * c...


C-c C-j d/e/g/h
(org-show-siblings)
(org-show-entry)


Best regards,
Takaaki Ishikawa

signature.asc
Description: Message signed with OpenPGP using GPGMail


Re: [O] How to define a start date for a task?

2011-12-17 Thread Bernt Hansen
Karl Maihofer  writes:

> Karl Voit  Karl-Voit.at> writes:
>> Three things I am using can help you:
>> 
>> 1) Use warning periods together with DEADLINE or SCHEDULED: «You can
>> specify a different lead time for warnings for a specific deadlines
>> using the following syntax. Here is an example with a warning period
>> of 5 days DEADLINE: <2004-02-29 Sun -5d>.»
>> 
>> 2) Use http://orgmode.org/org.html#TODO-dependencies
>> 
>> 3) http://orgmode.org/worg/org-contrib/org-depend.html
>

Hi Karl M,

I assume you have a few typos in the following description:

> I'm not sure if this helps. What I'd like to archive is that an unavailable 
   ^^^
   achieve
> task is not shown when I do an  agenda search for all tasks for example. 
> I do not want the task to show up on my daily agenda when it 
   ^^^
   not want the task to show up [only] on my daily agenda
> becomes available. When the start date arrived the agenda search for all 
> tasks should show the task.
>
> Is this possible?
>
> Thanks for your help!

;; Keep tasks with scheduled dates in the future off the global todo lists
(setq org-agenda-todo-ignore-scheduled 'future)

; For tag searches ignore tasks with scheduled tasks too
(setq org-agenda-tags-todo-honor-ignore-options t)

Schedule your task into the future.  It should no longer show up in
global todo or tags searches until that date arrives - at which point it
will be in all lists.

There are similar settings for deadline and plain timestamps.

,
| org-agenda-tags-todo-honor-ignore-options is a variable defined in 
`org-agenda.el'.
| Its value is t
| 
| Documentation:
| Non-nil means honor todo-list ...ignore options also in tags-todo search.
| The variables
|`org-agenda-todo-ignore-with-date',
|`org-agenda-todo-ignore-timestamp',
|`org-agenda-todo-ignore-scheduled',
|`org-agenda-todo-ignore-deadlines'
| make the global TODO list skip entries that have time stamps of certain
| kinds.  If this option is set, the same options will also apply for the
| tags-todo search, which is the general tags/property matcher
| restricted to unfinished TODO entries only.
| 
| You can customize this variable.
`

Regards,
Bernt



[O] [DEV] Package org-find-timestamps on worg

2011-12-17 Thread Marc-Oliver Ihm

Hello all,

just have pushed the file org-find-timestamps.el to the contrib directory of 
worg:

http://orgmode.org/worg/org-contrib/index.html

The elisp file is here

http://ferntreffer.de/elisp/org-refer-by-number.el

Its description reads like this:

 The function org-find-timestamps allows you to bring the notes, that you take 
within org-mode,
 into a chronological order, even if they are scattered across many different 
files and nodes.
 It shows any SCHEDULED, CLOSED or plain timestamp in a listing with easy 
access to the
 repective nodes. Such a listing provides an answer to the common question 
'What have I done
 last week ?'

Hope, that this package can be useful.


regards, Marc-Oliver Ihm




Re: [O] How to define a start date for a task?

2011-12-17 Thread Karl Maihofer
Karl Voit  Karl-Voit.at> writes:
> Three things I am using can help you:
> 
> 1) Use warning periods together with DEADLINE or SCHEDULED: «You can
> specify a different lead time for warnings for a specific deadlines
> using the following syntax. Here is an example with a warning period
> of 5 days DEADLINE: <2004-02-29 Sun -5d>.»
> 
> 2) Use http://orgmode.org/org.html#TODO-dependencies
> 
> 3) http://orgmode.org/worg/org-contrib/org-depend.html

I'm not sure if this helps. What I'd like to archive is that an unavailable 
task is not shown when I do an  agenda search for all tasks for example. 
I do not want the task to show up on my daily agenda when it 
becomes available. When the start date arrived the agenda search for all 
tasks should show the task.

Is this possible?

Thanks for your help!

Regards!
Karl






Re: [O] 'Missing' link to the release notes on the homepage

2011-12-17 Thread Samuel Wales
On 2011-12-17, Bastien  wrote:
> Christoph LANGE  writes:
>> One problematic side-effect of the fixed head bar, at least in Firefox and
>> Opera, is that is impairs page-wise scrolling.  When I hit "page down",
>> some lines of text (as much as the height of the head bar) is skipped.  If
>> you are lucky enough to _notice_ that, you have to manually work around by
>> scrolling the page a few lines up again. – But I have no idea for fixing,
>> other than un-fixing the head bar – which you may find undesirable for
>> other reasons.

Just to be clear, this is the same as what I reported, so fixing one
fixes the other.  (Note: I don't use the Org site much, so it's a
consideration for those who do and for newcomers.)

Samuel

-- 
The Kafka Pandemic: http://thekafkapandemic.blogspot.com
===
Bigotry against people with serious diseases is still bigotry.



Re: [O] How to define a start date for a task?

2011-12-17 Thread Karl Voit
* Karl Maihofer  wrote:
>
> when I used Omnifocus for my task management I made heavy use of 
> start dates to keep unavailable 
> tasks from my tasks lists. If you for example create a task 
> "Buy new DVD" this task should not be shown in 
> your lists until the DVD is published and available.

Three things I am using can help you:

1) Use warning periods together with DEADLINE or SCHEDULED: «You can
specify a different lead time for warnings for a specific deadlines
using the following syntax. Here is an example with a warning period
of 5 days DEADLINE: <2004-02-29 Sun -5d>.»

2) Use http://orgmode.org/org.html#TODO-dependencies

3) http://orgmode.org/worg/org-contrib/org-depend.html

-- 
Karl Voit




[O] How to define a start date for a task?

2011-12-17 Thread Karl Maihofer
Hi,

when I used Omnifocus for my task management I made heavy use of 
start dates to keep unavailable 
tasks from my tasks lists. If you for example create a task 
"Buy new DVD" this task should not be shown in 
your lists until the DVD is published and available.

Is there a possibility to define start dates in Org?

Regards,
Karl




Re: [O] reveal only current subtree

2011-12-17 Thread sergio
On 12/17/2011 09:59 PM, Carsten Dominik wrote:

>> No. I just want to expand 1 level up, not the first lever, i.e. if after
>> jump I see:

> Then you can use C-u -1 TAB

Much better, but I don't want to expand siblings. I mean to change this
view:

>> * a...
>> * b...
>> ** d...
>> *** e...
>>  g...
>> * h<- cursor is here
>> - some
>> - list
>> * c...

>> I want to show all children of "g" headline, "h" siblings.

to this:

* a...
* b...
** d...
*** e...
 g...
* hhh...
* hh...
* h<- cursor is here
- some
- list
* ...
* h...
* c...


-- 
sergio.



Re: [O] reveal only current subtree

2011-12-17 Thread Carsten Dominik

On 17.12.2011, at 18:57, sergio wrote:

> On 12/17/2011 08:04 PM, Carsten Dominik wrote:
> 
>> You can do
>> 
>>   C-u 1 TAB
>> 
>> to cycle on the level 1 hearing without moving point.
> 
> No. I just want to expand 1 level up, not the first lever, i.e. if after
> jump I see:

Then you can use C-u -1 TAB

- Carsten

> 
> * a...
> * b...
> ** d...
> *** e...
>  g...
> * h<- cursor is here
> - some
> - list
> * c...
> 
> I want to show all children of "g" headline, "h" siblings.
> 
>>  M-x customize-group RET org-reveal-location
> I like default goto view, only org-show-entry-below may be interesting
> for me.
> 
> -- 
> sergio.
> 




Re: [O] reveal only current subtree

2011-12-17 Thread sergio
On 12/17/2011 08:04 PM, Carsten Dominik wrote:

> You can do
> 
>C-u 1 TAB
> 
> to cycle on the level 1 hearing without moving point.

No. I just want to expand 1 level up, not the first lever, i.e. if after
jump I see:

* a...
* b...
** d...
*** e...
 g...
* h<- cursor is here
 - some
 - list
* c...

I want to show all children of "g" headline, "h" siblings.

>   M-x customize-group RET org-reveal-location
I like default goto view, only org-show-entry-below may be interesting
for me.

-- 
sergio.



Re: [O] theindex.inc and theindex.org

2011-12-17 Thread Bernt Hansen
Bastien  writes:

> Bernt Hansen  writes:
>
>> Bastien  writes:
>>
>>> when publishing index entries, Org used to publish both theindex.inc 
>>> and an empty theindex.org that you can manually edit.  
>>>
>>> Long ago, I removed theindex.inc and used theindex.org directly (see
>>> commit f0d7acfb).  But this is not as flexible as publishing both: so
>>> index entries are now stored in theindex.inc back again, and you can
>>> edit theindex.org (see commit dd986192).
>>>
>>> Please update your configuration is needed.
>>
>> Where/how do you use this?  I think I missed this discussion.
>>
>> Do you have a pointer to the thread that talked about this?
>
> See http://orgmode.org/Changes.html#sec-2-1-18 for the change in 
> 7.7 and http://comments.gmane.org/gmane.emacs.orgmode/44518 for 
> the discussion this changelog is referring to.

Thanks!

Regards,
Bernt



Re: [O] reveal only current subtree

2011-12-17 Thread Takaaki ISHIKAWA
Dear sergio,

>> Could you give me the detail, I can probably help you.
> What details you need?


No problem! I just wanted to know the jump method.

And… Carsten give us a great solution.

Best regards,
Takaaki

signature.asc
Description: Message signed with OpenPGP using GPGMail


Re: [O] [BABEL,PATCH] Add graphical output to ob-octave

2011-12-17 Thread Eric Schulte
Applied, Thanks!

Litvinov Sergey  writes:

> I propose a patch to make the following example work in ob-octave.
> #+begin_src octave :results graphics :file chart.png
> sombrero; % make a figure
> #+end_src
>
> From f193df8b1b7d1330a0dde89907a607051f632775 Mon Sep 17 00:00:00 2001
> From: Litvinov Sergey 
> Date: Fri, 16 Dec 2011 20:12:39 +0100
> Subject: [PATCH] ob-octave.el: Add graphical output
>
> * lisp/ob-octave.el: add graphical output to png file
>
> * testing/examples/ob-octave-test.org: add a test for graphical
>   output, and a test for session
> ---
>  lisp/ob-octave.el   |   30 +++---
>  testing/examples/ob-octave-test.org |   10 ++
>  2 files changed, 33 insertions(+), 7 deletions(-)
>
> diff --git a/lisp/ob-octave.el b/lisp/ob-octave.el
> index f840739..796a5c7 100644
> --- a/lisp/ob-octave.el
> +++ b/lisp/ob-octave.el
> @@ -86,13 +86,24 @@ end")
> (org-babel-expand-body:generic
>  body params (org-babel-variable-assignments:octave params)))
>(result (org-babel-octave-evaluate
> -   session full-body result-type matlabp)))
> -(org-babel-reassemble-table
> - result
> - (org-babel-pick-name
> -  (cdr (assoc :colname-names params)) (cdr (assoc :colnames params)))
> - (org-babel-pick-name
> -  (cdr (assoc :rowname-names params)) (cdr (assoc :rownames params))
> +   session
> +   (if (org-babel-octave-graphical-output-file params)
> +   (mapconcat 'identity
> +  (list
> +   "set (0, \"defaultfigurevisible\", \"off\");"
> +   full-body
> +   (format "print -dpng %s" 
> (org-babel-octave-graphical-output-file params)))
> +  "\n")
> + full-body)
> +   result-type matlabp)))
> +(if (org-babel-octave-graphical-output-file params)
> + nil
> +  (org-babel-reassemble-table
> +   result
> +   (org-babel-pick-name
> + (cdr (assoc :colname-names params)) (cdr (assoc :colnames params)))
> +   (org-babel-pick-name
> + (cdr (assoc :rowname-names params)) (cdr (assoc :rownames params)))
>  
>  (defun org-babel-prep-session:matlab (session params)
>"Prepare SESSION according to PARAMS."
> @@ -259,6 +270,11 @@ This removes initial blank and comment lines and then 
> calls
>(match-string 1 string)
>  string))
>  
> +(defun org-babel-octave-graphical-output-file (params)
> +  "Name of file to which maxima should send graphical output."
> +  (and (member "graphics" (cdr (assq :result-params params)))
> +   (cdr (assq :file params
> +
>  (provide 'ob-octave)
>  
>  
> diff --git a/testing/examples/ob-octave-test.org 
> b/testing/examples/ob-octave-test.org
> index 97d9b00..9839d63 100644
> --- a/testing/examples/ob-octave-test.org
> +++ b/testing/examples/ob-octave-test.org
> @@ -43,3 +43,13 @@ Input elisp nil
>  #+begin_src octave :exports results :results silent :var s='nil
>  ans = s
>  #+end_src
> +
> +
> +* Graphical tests
> +#+begin_src octave :results graphics :file chart.png
> +sombrero;
> +#+end_src
> +
> +#+begin_src octave :session
> +sombrero;
> +#+end_src

-- 
Eric Schulte
http://cs.unm.edu/~eschulte/



Re: [O] reveal only current subtree

2011-12-17 Thread Carsten Dominik

On 17.12.2011, at 15:20, sergio wrote:

> Hello.
> 
> Is it possible to reveal only current subtree but entirely?
> 
> For example I have following structure:
> 
> * a
> * b
> ** d
> ** e
> *** f
> *** g
> qwe
> qwe
> *** h
> *** i
> * c
> 
> after jump to /b/e/g I see
> 
> * a
> * b ...
> ** e ...
> *** g ...
> * c
> 
> the cursor is on g and i can expand it by tab.
> And the main question is how to show all children of e without moving
> cursor or collapsing (previously expanded) g?

You can do

   C-u 1 TAB

to cycle on the level 1 hearing without moving point.

Also, if you always want this to happen after org-goto,

you can do

  M-x customize-group RET org-reveal-location

and customize the exact behavior for org-goto by
pressing INS at each relevant variable, selecting `org-goto'
from the context drop-down menu and setting the desired value
for this specific context.

Hope this helps!

- Carsten

> 
> * a
> * b ...
> ** e
> *** f
> *** g
> qwe
> qwe
> *** h
> *** i
> * c
> 
> C-c C-r doesn't show all "brothers" of current subtree.
> C-u C-c C-r and C-u C-u C-c C-r shows a lot of redundant.
> 
> -- 
> sergio.
> 




Re: [O] reveal only current subtree

2011-12-17 Thread sergio
On 12/17/2011 07:24 PM, Takaaki ISHIKAWA wrote:

> How do you jump to subtrees?
C-c C-j b/e/g
with (setq org-goto-interface 'outline-path-completion)
or via agenda.

> Could you give me the detail, I can probably help you.
What details you need?

-- 
sergio.



Re: [O] theindex.inc and theindex.org

2011-12-17 Thread Bastien
Hi Bernt,

Bernt Hansen  writes:

> Bastien  writes:
>
>> when publishing index entries, Org used to publish both theindex.inc 
>> and an empty theindex.org that you can manually edit.  
>>
>> Long ago, I removed theindex.inc and used theindex.org directly (see
>> commit f0d7acfb).  But this is not as flexible as publishing both: so
>> index entries are now stored in theindex.inc back again, and you can
>> edit theindex.org (see commit dd986192).
>>
>> Please update your configuration is needed.
>
> Where/how do you use this?  I think I missed this discussion.
>
> Do you have a pointer to the thread that talked about this?

See http://orgmode.org/Changes.html#sec-2-1-18 for the change in 
7.7 and http://comments.gmane.org/gmane.emacs.orgmode/44518 for 
the discussion this changelog is referring to.

-- 
 Bastien



Re: [O] reveal only current subtree

2011-12-17 Thread Takaaki ISHIKAWA
Dear sergio,

Hi. 
How do you jump to subtrees?
Could you give me the detail, I can probably help you.

Best regards,
Takaaki Ishikawa

> after jump to /b/e/g I see
> 
> * a
> * b ...
> ** e ...
> *** g ...
> * c



signature.asc
Description: Message signed with OpenPGP using GPGMail


Re: [O] theindex.inc and theindex.org

2011-12-17 Thread Bernt Hansen
Bastien  writes:

> when publishing index entries, Org used to publish both theindex.inc 
> and an empty theindex.org that you can manually edit.  
>
> Long ago, I removed theindex.inc and used theindex.org directly (see
> commit f0d7acfb).  But this is not as flexible as publishing both: so
> index entries are now stored in theindex.inc back again, and you can
> edit theindex.org (see commit dd986192).
>
> Please update your configuration is needed.

Where/how do you use this?  I think I missed this discussion.

Do you have a pointer to the thread that talked about this?

Thanks,
Bernt

>
> Thanks to Stefan Vollmar for insisting on this.
>
> Best,
>
> http://orgmode.org/w/?p=org-mode.git;a=commit;h=f0d7acfb7867518529d63fe3d111f5f3cf39a61f
> http://orgmode.org/w/?p=org-mode.git;a=commit;h=dd98619286f84c4ced735a052ff13e3fe343c980



[O] theindex.inc and theindex.org

2011-12-17 Thread Bastien
Hi all,

when publishing index entries, Org used to publish both theindex.inc 
and an empty theindex.org that you can manually edit.  

Long ago, I removed theindex.inc and used theindex.org directly (see
commit f0d7acfb).  But this is not as flexible as publishing both: so
index entries are now stored in theindex.inc back again, and you can
edit theindex.org (see commit dd986192).

Please update your configuration is needed.

Thanks to Stefan Vollmar for insisting on this.

Best,

http://orgmode.org/w/?p=org-mode.git;a=commit;h=f0d7acfb7867518529d63fe3d111f5f3cf39a61f
http://orgmode.org/w/?p=org-mode.git;a=commit;h=dd98619286f84c4ced735a052ff13e3fe343c980

-- 
 Bastien



[O] reveal only current subtree

2011-12-17 Thread sergio
Hello.

Is it possible to reveal only current subtree but entirely?

For example I have following structure:

* a
* b
** d
** e
*** f
*** g
 qwe
 qwe
*** h
*** i
* c

after jump to /b/e/g I see

* a
* b ...
** e ...
*** g ...
* c

the cursor is on g and i can expand it by tab.
And the main question is how to show all children of e without moving
cursor or collapsing (previously expanded) g?

* a
* b ...
** e
*** f
*** g
 qwe
 qwe
*** h
*** i
* c

C-c C-r doesn't show all "brothers" of current subtree.
C-u C-c C-r and C-u C-u C-c C-r shows a lot of redundant.

-- 
sergio.



Re: [O] Carstens google talk (was Bastiens talk)

2011-12-17 Thread Bastien
Rustom Mody  writes:

> Timeline for Carstens google talk

Thanks a lot!  I added it to a page I created for this talk on Worg:

http://orgmode.org/worg/org-tutorials/org-screencasts/org-mode-google-tech-talk.html

The #+index entries could be further refined to reflect the fact that
these features are demonstrated in a screencast/demo.

-- 
 Bastien



Re: [O] 'Missing' link to the release notes on the homepage

2011-12-17 Thread Bastien
Hi Christoph,

Christoph LANGE  writes:

> I would have expected a link to the release notes from the following text
> on http://orgmode.org/org-mode-news.html:
>
>> Latest news
>> 2011-12-12 Release 7.8, 7.8.01 and 7.8.02.

You're right, I added a link in the first item of this list,
thanks for suggesting it.

> One problematic side-effect of the fixed head bar, at least in Firefox and
> Opera, is that is impairs page-wise scrolling.  When I hit "page down",
> some lines of text (as much as the height of the head bar) is skipped.  If
> you are lucky enough to _notice_ that, you have to manually work around by
> scrolling the page a few lines up again. – But I have no idea for fixing,
> other than un-fixing the head bar – which you may find undesirable for
> other reasons.

Getting rid of the fixed elements is not that difficult.  

If people overall think this would be best, I would have 
no objection.  

Can someone provide a patch to this effect so that we can
test?

Thanks,

-- 
 Bastien



[O] org-catch-invisible-edits clarification

2011-12-17 Thread Memnon Anon
Hi,

just read up on the new features in 7.8 and 
org-catch-invisible-edits caught my attention.

I set it to show and tried a simple example:

--8<---cut here---start->8---
* Test
** level2
*** Level3
Some text
* Headline
--8<---cut here---end--->8---

Set point between "Some" and "text", and folded it away with S-TAB.

I expected, that, when I start textinput like "more", I would get this
at first keypress:
--8<---cut here---start->8---
* Test
** level2
*** Level3
Some mtext
* Headline
--8<---cut here---end--->8---

I get:
--8<---cut here---start->8---
* Test
** level2...
* Headline
--8<---cut here---end--->8---
with point on the first dot of level2.

This is with
ELISP> (org-version)
"Org-mode version 7.8.02 (release_7.8.02.8.g8fb0.dirty)"
ELISP> (emacs-version)
"GNU Emacs 23.3.1 (i486-pc-linux-gnu, GTK+ Version 2.24.7) 
of 2011-10-26 on murphy, modified by Debian"

So either I misunderstood what the description says, or something is
wrong here...

Memnon




Re: [O] back to a multiple-file configuration

2011-12-17 Thread Andrea Crotti
On 12/12/2011 07:43 AM, Gustav Wikström wrote:
> I've also had this problem, but this related to the use of multiple
> computers and more than one OS that all needed some specific tweaks to
> be able to run. I'm also using org-babel for my init. A section from
> my init.org  follows below (warning for wall of
> text). Maybe this relates to your thoughts and if so lets hope it adds
> some value.
>
>

Thanks for sharing..
Well my conclusion is that is just a bad idea.
Literate programming is great but for other things, as for example
scientific work very dense
of hard to grasp concepts.

If I need many lines to explain some elisp function it normally means
that it's really badly written,
and I just need to rewrite it better.
One thing which is much harder with the single org file is to have
different kind of profiles.

The only way would be to actually tangle to some files and load them on
demand when needed,
but then there is no point in using org-babel in the first place..
And then it's really hard to debug, because since they are not separate
modules is was
almost impossible to understand what was going on, now that I switched
to many smaller
files I solved all my latent problems..


Re: [O] Carstens google talk (was Bastiens talk)

2011-12-17 Thread Nathan Neff
Thanks, Rustom -- this is very valuable!

On Fri, Dec 16, 2011 at 6:55 AM, Rustom Mody  wrote:
> Timeline for Carstens google talk
>
> Carsten Start 1:20
> History 1:50
> Working with Text Files 2:15
> Notes (not tasks) based project planning 3:58
> Outline mode - fixing 5:50
> Structure Editing 9:56
> Note taking other supports 11:00
> Meta data Intro 13:35
>  - TODO
>  - Priority
>  - tags 14:57
>  - Timeplanning 15:26
>  - Properties 15:53
>
> Meta data propagation 16:02
> Special Meta entry interfaces 16:49
> DateTime interface 17:55
> Column view 18:24
> Capture with remember 19:20
> Collect and Display 23:02
> Sparse tree 23:52
> Agenda view 25:47
> Exporting and publishing 27:27
> Tables 29:05
> Calc 31:34
> Radio tables 32:44
> Context sensitive keys 34:53
> How is org used 38:13
> Evolved Software software 40:55
>



[O] [babel] noweb and results for ob-screen?

2011-12-17 Thread Torsten Wagner
Hi,
recently I discovered babel in combination with screen. I really like it.
However, I tried to use noweb but it seems not to work.  Getting it working
would allow to write "tasks" and arbitrary combine them to bigger tasks.

I would be interested in results too.  Would be nice to receive some
feedback from above tasks.  Thus, one could document the success or
results.  For now I have to copy results from the screen terminal which is
kind of error prone.

Any chance to enhance ob-screen with the above features?

Totti


[O] [BABEL,PATCH] Add graphical output to ob-octave

2011-12-17 Thread Litvinov Sergey
I propose a patch to make the following example work in ob-octave.
#+begin_src octave :results graphics :file chart.png
sombrero; % make a figure
#+end_src
>From f193df8b1b7d1330a0dde89907a607051f632775 Mon Sep 17 00:00:00 2001
From: Litvinov Sergey 
Date: Fri, 16 Dec 2011 20:12:39 +0100
Subject: [PATCH] ob-octave.el: Add graphical output

* lisp/ob-octave.el: add graphical output to png file

* testing/examples/ob-octave-test.org: add a test for graphical
  output, and a test for session
---
 lisp/ob-octave.el   |   30 +++---
 testing/examples/ob-octave-test.org |   10 ++
 2 files changed, 33 insertions(+), 7 deletions(-)

diff --git a/lisp/ob-octave.el b/lisp/ob-octave.el
index f840739..796a5c7 100644
--- a/lisp/ob-octave.el
+++ b/lisp/ob-octave.el
@@ -86,13 +86,24 @@ end")
 	  (org-babel-expand-body:generic
 	   body params (org-babel-variable-assignments:octave params)))
 	 (result (org-babel-octave-evaluate
-		  session full-body result-type matlabp)))
-(org-babel-reassemble-table
- result
- (org-babel-pick-name
-  (cdr (assoc :colname-names params)) (cdr (assoc :colnames params)))
- (org-babel-pick-name
-  (cdr (assoc :rowname-names params)) (cdr (assoc :rownames params))
+		  session
+		  (if (org-babel-octave-graphical-output-file params)
+		  (mapconcat 'identity
+ (list
+  "set (0, \"defaultfigurevisible\", \"off\");"
+  full-body
+  (format "print -dpng %s" (org-babel-octave-graphical-output-file params)))
+ "\n")
+		full-body)
+		  result-type matlabp)))
+(if (org-babel-octave-graphical-output-file params)
+	nil
+  (org-babel-reassemble-table
+   result
+   (org-babel-pick-name
+	(cdr (assoc :colname-names params)) (cdr (assoc :colnames params)))
+   (org-babel-pick-name
+	(cdr (assoc :rowname-names params)) (cdr (assoc :rownames params)))
 
 (defun org-babel-prep-session:matlab (session params)
   "Prepare SESSION according to PARAMS."
@@ -259,6 +270,11 @@ This removes initial blank and comment lines and then calls
   (match-string 1 string)
 string))
 
+(defun org-babel-octave-graphical-output-file (params)
+  "Name of file to which maxima should send graphical output."
+  (and (member "graphics" (cdr (assq :result-params params)))
+   (cdr (assq :file params
+
 (provide 'ob-octave)
 
 
diff --git a/testing/examples/ob-octave-test.org b/testing/examples/ob-octave-test.org
index 97d9b00..9839d63 100644
--- a/testing/examples/ob-octave-test.org
+++ b/testing/examples/ob-octave-test.org
@@ -43,3 +43,13 @@ Input elisp nil
 #+begin_src octave :exports results :results silent :var s='nil
 ans = s
 #+end_src
+
+
+* Graphical tests
+#+begin_src octave :results graphics :file chart.png
+sombrero;
+#+end_src
+
+#+begin_src octave :session
+sombrero;
+#+end_src
-- 
1.7.4.1