Re: [O] [PATCH] Translate refs to rc also in remote references

2012-07-11 Thread Jose E. Marchesi

> Just a tiny patch making org-table-convert-refs-to-rc to transform the
> coordinates found in remote references into "normalised" @n$y.  This is
> part of some work I am doing with remotes and which I will be sending to
> the list soon: namely to update the remotes when the structure of
> some referred table changes.

Looks good.  Can you provide the patch with a ChangeLog and with 
git format-patch ?

Sure.  Here is it.

>From 37cc07cb5acd84c15216f0107936fe9367c53dca Mon Sep 17 00:00:00 2001
From: "Jose E. Marchesi" 
Date: Wed, 11 Jul 2012 10:10:02 +0200
Subject: [PATCH] Transform the coordinates found in remote references into
 "normalised" @n$y.
To: emacs-orgmode@gnu.org

* org-table.el (org-table-convert-refs-to-rc): Convert references in
remote(..) directives.
---
 lisp/org-table.el |2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lisp/org-table.el b/lisp/org-table.el
index 16f2520..f3cce91 100644
--- a/lisp/org-table.el
+++ b/lisp/org-table.el
@@ -3229,7 +3229,7 @@ Parameters get priority."
 Works for single references, but also for entire formulas and even the
 full TBLFM line."
   (let ((start 0))
-(while (string-match 
"\\<\\([a-zA-Z]+\\)\\([0-9]+\\>\\|&\\)\\|\\(;[^\r\n:]+\\||&\\)\\|\\(;[^\r\n:]+\\|\\http://www.jemarch.net
GNU Project  http://www.gnu.org



[O] Agenda restrict to buffer

2012-07-11 Thread andrea crotti
I never quite understood how to pass arguments to org-agenda without
using it interactively..
I want a simple thing, a command that shows the agenda with the TODO
entries from a given file

So supposing the buffer "projects.org" is open I tried this:

(defun my-org-agenda ()
  (interactive)
   (switch-to-buffer (get-buffer "projects.org"))
   (org-agenda :arg 'agenda :restriction '<))

which complains for
Wrong number of arguments: (lambda (&optional arg keys restriction)
"Dispatch agenda commands to collect entries to the agenda buffer.

Any suggestions?



Re: [O] Showing or going to previous entry from agenda view

2012-07-11 Thread Karl Voit
Hello Simon, hello Bernt!

* Bernt Hansen  wrote:
>
> Sorry for the late response - I've been away on vacation the past week.

No problem - these days are pretty busy at my side as well :-)

> C-u C-c C-r reveals all the siblings or you can just do S-TAB twice to
> show contents view for the entire file.

Yes, this is a great hint. I'll use S-TAB for this purpose.

-- 
Karl Voit




[O] Suggested change to Manual 3.5.9 example table

2012-07-11 Thread Charles

I have searched the news groups concerning this and found nothing.

I am attempting to learn the advance features for tables and could not 
understand 29.7 as the result for $at=vmean(@-II..@-I);%.1f.


I copied the table and formulas into a scratch org file, changed the 
floating point to .2f and the result was 25.00, which I believe is 
correct. I changed it back to .1f and 25.0 was the result.


Is the result as given in the manual supposed to demonstrate some 
concept that is not evident to me?


Charlie Millar



Re: [O] Suggested change to Manual 3.5.9 example table

2012-07-11 Thread suvayu ali
On Wed, Jul 11, 2012 at 4:11 PM, Charles  wrote:
> I have searched the news groups concerning this and found nothing.
>
> I am attempting to learn the advance features for tables and could not
> understand 29.7 as the result for $at=vmean(@-II..@-I);%.1f.
>
> I copied the table and formulas into a scratch org file, changed the
> floating point to .2f and the result was 25.00, which I believe is correct.
> I changed it back to .1f and 25.0 was the result.
>
> Is the result as given in the manual supposed to demonstrate some concept
> that is not evident to me?
>

It's a C-style format specifier. Take a look in the following link for
a more comprehensive description.




-- 
Suvayu

Open source is the future. It sets us free.



[O] org version under Windows 7

2012-07-11 Thread Giovanni Ridolfi
Hello everybody (especially Achim Gratz ;-)

I'm back. I'd like to install org on my Windows 7 machine, but

I have some constraints:
- I am not the Administrator 

- I cannot use make 

- I cannot use git


So
1   I downloaded from http://orgmode.org/w/org-mode.git
    the last git snapshot (c75120aa71257604)
2  un(tar-zipped) it
3  As suggested by Achim a month ago,
    in my scratch buffer I evaluated
    (let ((generated-autoload-file "c:/Users/me/emacs-o/org/org-install.el"))
     (update-directory-autoloads "c:/Users/me/emacs-o/org//lisp"))
messages in the Message buffer were:

Saving file c:/Users/me/emacs-o/org/org-install.el...
Wrote c:/Users/me/emacs-o/org/org-install.el
nil

So this seems not to be the way to set the version

4. Then I run emacs:
    (as suggested in http://orgmode.org/worg/org-hacks.html
>c:\Users\me\programs\emacs\bin\emacs.exe -batch -Q -L lisp -l 
>org/UTILITIES/org-fixup.el --eval '(org-make-org-version "7.8.11" 
>"c75120aa71257" "blabla")'

but the command ended with: End of file during parsing

and, obviously,  M-x org-version says: Org-mode version N/A-fixup 

5. then I followed the instruction with the defvars and evaluated my/compile-org
 but the result was the same.

what can I do?

thank you in advance,

Giovanni




Re: [O] Suggested change to Manual 3.5.9 example table

2012-07-11 Thread Nick Dokos
Charles  wrote:

> I have searched the news groups concerning this and found nothing.
> 
> I am attempting to learn the advance features for tables and could not
> understand 29.7 as the result for $at=vmean(@-II..@-I);%.1f.
> 
> I copied the table and formulas into a scratch org file, changed the
> floating point to .2f and the result was 25.00, which I believe is
> correct. I changed it back to .1f and 25.0 was the result.
> 
> Is the result as given in the manual supposed to demonstrate some
> concept that is not evident to me?
> 

Good one.

It *may* have been intended to illustrate the difference between rows
marked with # and unmarked rows; e.g. if you go back and change a grade
in Sam's row and press TAB, then the # rows are recalculated but the
unmarked one is not.  So the 29.7 might have been a (now incorrect)
remnant of a previous calculation that would have been corrected in the
next global recalculation.

However, if that's the case, a more extensive explanation would
certainly be welcome.

Nick




Re: [O] org version under Windows 7

2012-07-11 Thread Achim Gratz
Giovanni Ridolfi writes:
> 4. Then I run emacs:
>     (as suggested in http://orgmode.org/worg/org-hacks.html
>>c:\Users\me\programs\emacs\bin\emacs.exe -batch -Q -L lisp -l 
>>org/UTILITIES/org-fixup.el --eval '(org-make-org-version "7.8.11" 
>>"c75120aa71257" "blabla")'
> but the command ended with: End of file during parsing

Yes, CMD.exe has quite different quoting rules than a UNIX shell.  Just
load up the eval expression into a scratch buffer and execute it there
(or via M-: if you like).  Oh, and "blabla" is not a path to the ODT
style files, much less an absolute one.

The definition doesn't include org-make-org-version, but you could add
it if you plan on doing this more often.



Regards,
Achim.
-- 
+<[Q+ Matrix-12 WAVE#46+305 Neuron microQkb Andromeda XTk Blofeld]>+

SD adaptation for Waldorf rackAttack V1.04R1:
http://Synth.Stromeko.net/Downloads.html#WaldorfSDada




Re: [O] [PATCH] org version under Windows 7

2012-07-11 Thread Achim Gratz
Giovanni Ridolfi writes:
> 1   I downloaded from http://orgmode.org/w/org-mode.git
>     the last git snapshot (c75120aa71257604)

Jason, it would be quite useful if the Git snapshots would include both
org-install.el and org-version.el — is it perhaps possible to sneak a
"make autoloads" into the script that creates those?

Bastien, here's a patch that allows to override the version strings more
easily.  You'd then eval this form:

(let ((org-fake-release "7.8.11")
  (org-fake-git-version "7.8.11-fake"))
  (org-make-autoloads))

either from the scratch buffer or the command line.  I'll update org
hacks with the instructions when you have installed the patch.

>From 5805109804bc55ef6bf079366dfd24fb928377c3 Mon Sep 17 00:00:00 2001
From: Achim Gratz 
Date: Wed, 11 Jul 2012 19:32:33 +0200
Subject: [PATCH]  Let the user override the version strings produced in
 org-fixup.

* UTILITIES/org-fixup.el (org-fixup): Let the user override the
  version strings produced in org-fixup whith strings stored in
  org-fake-release and org-fake-git-version.  Skip loading them from a
  pre-existing org-version.el or trying to determine them from git in
  this case.  This is predominantly useful if Git is not available,
  but the user wants to install from a Git tarball which is missing a
  pre-configured org-version.el file.
---
 UTILITIES/org-fixup.el |   37 +
 1 file changed, 21 insertions(+), 16 deletions(-)

diff --git a/UTILITIES/org-fixup.el b/UTILITIES/org-fixup.el
index 1e03801..20613d2 100644
--- a/UTILITIES/org-fixup.el
+++ b/UTILITIES/org-fixup.el
@@ -140,22 +140,27 @@ (defmacro org-fixup ()
 	 (dirgit (concat dirorg ".git/" ))
 	 (org-version "N/A-fixup")
 	 (org-git-version "N/A-fixup !!check installation!!"))
-(if (load (concat dirlisp "org-version.el") 'noerror 'nomessage 'nosuffix)
-	(setq org-version (org-release)
-	  org-git-version (org-git-version))
-  (when (and (file-exists-p dirgit)
-		 (executable-find "git"))
-	(unwind-protect
-	(progn
-	  (cd dirorg)
-	  (let ((git6 (substring (shell-command-to-string "git describe --abbrev=6 HEAD") 0 -1))
-		(git0 (substring (shell-command-to-string "git describe --abbrev=0 HEAD") 0 -1))
-		(gitd (string-match "\\S-" (shell-command-to-string "git status -uno --porcelain"
-		(setq org-git-version (concat git6 (when gitd ".dirty")))
-		(if (string-match "^release_" git0)
-		(setq org-version (substring git0 8))
-		  (setq org-version git0
-	  (cd origin
+(if (and (boundp 'org-fake-release) (stringp org-fake-release)
+	 (boundp 'org-fake-git-version) (stringp org-fake-git-version))
+	(setq org-version org-fake-release
+	  org-git-version org-fake-git-version)
+  (if (load (concat dirlisp "org-version.el") 'noerror 'nomessage 'nosuffix)
+	  (setq org-version (org-release)
+		org-git-version (org-git-version))
+	(when (and (file-exists-p dirgit)
+		   (executable-find "git"))
+	  (unwind-protect
+	  (progn
+		(cd dirorg)
+		(let ((git6 (substring (shell-command-to-string "git describe --abbrev=6 HEAD") 0 -1))
+		  (git0 (substring (shell-command-to-string "git describe --abbrev=0 HEAD") 0 -1))
+		  (gitd (string-match "\\S-"
+	  (shell-command-to-string "git status -uno --porcelain"
+		  (setq org-git-version (concat git6 (when gitd ".dirty")))
+		  (if (string-match "^release_" git0)
+		  (setq org-version (substring git0 8))
+		(setq org-version git0
+	  (cd origin)
 `(progn
(defun org-release () ,org-version)
(defun org-git-version () ,org-git-version)
-- 
1.7.10.4



Regards,
Achim.
-- 
+<[Q+ Matrix-12 WAVE#46+305 Neuron microQkb Andromeda XTk Blofeld]>+

Waldorf MIDI Implementation & additional documentation:
http://Synth.Stromeko.net/Downloads.html#WaldorfDocs


[O] Compile error in org-odt.el in latest master

2012-07-11 Thread Rainer Stengele
Hi all,

compiling the current master I get


Compiling /cygdrive/c/Dokumente und 
Einstellungen/rainer/Anwendungsdaten/.emacs.d/org/lisp/org-odt.el...

In org-export-as-odt-and-open:
org-odt.el:462:4:Warning: `(quit error)' is a malformed function
org-odt.el:462:4:Warning: reference to free variable `err'

In org-export-as-odt:
org-odt.el:495:4:Warning: `(quit error)' is a malformed function
org-odt.el:495:4:Warning: reference to free variable `err'

In org-export-as-odf:
org-odt.el:2815:33:Warning: `(quit error)' is a malformed function
org-odt.el:2812:26:Warning: reference to free variable `err'

In end of data:
org-odt.el:2843:1:Warning: the following functions are not known to be
defined: condition-case-unless-debug, clear-image-cache, image-size


Please help!

Cheers,
Rainer




Re: [O] Compile error in org-odt.el in latest master

2012-07-11 Thread Rainer Stengele
Am 11.07.2012 20:38, schrieb Rainer Stengele:
> Hi all,
> 
> compiling the current master I get
> 
> 
> Compiling /cygdrive/c/Dokumente und 
> Einstellungen/rainer/Anwendungsdaten/.emacs.d/org/lisp/org-odt.el...
> 
> In org-export-as-odt-and-open:
> org-odt.el:462:4:Warning: `(quit error)' is a malformed function
> org-odt.el:462:4:Warning: reference to free variable `err'
> 
> In org-export-as-odt:
> org-odt.el:495:4:Warning: `(quit error)' is a malformed function
> org-odt.el:495:4:Warning: reference to free variable `err'
> 
> In org-export-as-odf:
> org-odt.el:2815:33:Warning: `(quit error)' is a malformed function
> org-odt.el:2812:26:Warning: reference to free variable `err'
> 
> In end of data:
> org-odt.el:2843:1:Warning: the following functions are not known to be
> defined: condition-case-unless-debug, clear-image-cache, image-size
> 
> 
> Please help!
> 
> Cheers,
> Rainer
> 
> 
> 
Hi again,

yes I see now, these are only warnings.
I was misled by trying to do an odt export and getting hit by the debugger here:


I get this error:

call-interactively: Symbol's value as variable is void: err

Switching toggle-debug-on-error to true I get:

Debugger entered--Lisp error: (void-variable err)
  org-export-as-odt-and-open(nil)
  call-interactively(org-export-as-odt-and-open)
  org-export(nil)
  call-interactively(org-export nil nil)


I saw "err" in the debugger and "err" in the compiler messages and overloked 
the "warning".
Anyway, something is wrong. Can anybody see what?

Rainer



Re: [O] Compile error in org-odt.el in latest master

2012-07-11 Thread Jambunathan K

> org-odt.el:2843:1:Warning: the following functions are not known to be
> defined: condition-case-unless-debug, clear-image-cache,
> image-size

I have pushed a fix for `condition-case-unless-debug'.  If you are using
Emacs >= 23.1 you will have no further issues.

As for other 2 functions, I am not sure why they are not defined.  What
version of Emacs are you using?
-- 



Re: [O] Compile error in org-odt.el in latest master

2012-07-11 Thread Jambunathan K

See my earlier message.  This should be fixed.

Rainer Stengele  writes:

> Am 11.07.2012 20:38, schrieb Rainer Stengele:
>> Hi all,
>> 
>> compiling the current master I get
>> 
>> 
>> Compiling /cygdrive/c/Dokumente und
>> Einstellungen/rainer/Anwendungsdaten/.emacs.d/org/lisp/org-odt.el...
>> 
>> In org-export-as-odt-and-open:
>> org-odt.el:462:4:Warning: `(quit error)' is a malformed function
>> org-odt.el:462:4:Warning: reference to free variable `err'
>> 
>> In org-export-as-odt:
>> org-odt.el:495:4:Warning: `(quit error)' is a malformed function
>> org-odt.el:495:4:Warning: reference to free variable `err'
>> 
>> In org-export-as-odf:
>> org-odt.el:2815:33:Warning: `(quit error)' is a malformed function
>> org-odt.el:2812:26:Warning: reference to free variable `err'
>> 
>> In end of data:
>> org-odt.el:2843:1:Warning: the following functions are not known to be
>> defined: condition-case-unless-debug, clear-image-cache, image-size
>> 
>> 
>> Please help!
>> 
>> Cheers,
>> Rainer
>> 
>> 
>> 
> Hi again,
>
> yes I see now, these are only warnings.
> I was misled by trying to do an odt export and getting hit by the debugger 
> here:
>
>
> I get this error:
>
> call-interactively: Symbol's value as variable is void: err
>
> Switching toggle-debug-on-error to true I get:
>
> Debugger entered--Lisp error: (void-variable err)
>   org-export-as-odt-and-open(nil)
>   call-interactively(org-export-as-odt-and-open)
>   org-export(nil)
>   call-interactively(org-export nil nil)
>
>
> I saw "err" in the debugger and "err" in the compiler messages and
> overloked the "warning".
> Anyway, something is wrong. Can anybody see what?
>
> Rainer
>
>

-- 



Re: [O] Compile error in org-odt.el in latest master

2012-07-11 Thread Rainer Stengele
Am 11.07.2012 21:36, schrieb Jambunathan K:
> 
> See my earlier message.  This should be fixed.
> 
> Rainer Stengele  writes:
> 
>> Am 11.07.2012 20:38, schrieb Rainer Stengele:
>>> Hi all,
>>>
>>> compiling the current master I get
>>>
>>>
>>> Compiling /cygdrive/c/Dokumente und
>>> Einstellungen/rainer/Anwendungsdaten/.emacs.d/org/lisp/org-odt.el...
>>>
>>> In org-export-as-odt-and-open:
>>> org-odt.el:462:4:Warning: `(quit error)' is a malformed function
>>> org-odt.el:462:4:Warning: reference to free variable `err'
>>>
>>> In org-export-as-odt:
>>> org-odt.el:495:4:Warning: `(quit error)' is a malformed function
>>> org-odt.el:495:4:Warning: reference to free variable `err'
>>>
>>> In org-export-as-odf:
>>> org-odt.el:2815:33:Warning: `(quit error)' is a malformed function
>>> org-odt.el:2812:26:Warning: reference to free variable `err'
>>>
>>> In end of data:
>>> org-odt.el:2843:1:Warning: the following functions are not known to be
>>> defined: condition-case-unless-debug, clear-image-cache, image-size
>>>
>>>
>>> Please help!
>>>
>>> Cheers,
>>> Rainer
>>>
>>>
>>>
>> Hi again,
>>
>> yes I see now, these are only warnings.
>> I was misled by trying to do an odt export and getting hit by the debugger 
>> here:
>>
>>
>> I get this error:
>>
>> call-interactively: Symbol's value as variable is void: err
>>
>> Switching toggle-debug-on-error to true I get:
>>
>> Debugger entered--Lisp error: (void-variable err)
>>   org-export-as-odt-and-open(nil)
>>   call-interactively(org-export-as-odt-and-open)
>>   org-export(nil)
>>   call-interactively(org-export nil nil)
>>
>>
>> I saw "err" in the debugger and "err" in the compiler messages and
>> overloked the "warning".
>> Anyway, something is wrong. Can anybody see what?
>>
>> Rainer
>>
>>
> 
Thanks, export starts but stops here:


Debugger entered--Lisp error: (error "Unable to create odt file (8)")
  signal(error ("Unable to create odt file (8)"))
  error("Unable to create odt file (%S)" 8)
  #[(cmd) "\304\305\306\307\310#\"\210\311\312\313!!\314\216  \315\316@\317 
\317A&)r q\210\320 +\321\n!\206;
\317\304\322\"\210\206; ..
 [cmd standard-output exitcode err-string message "Running %s" mapconcat 
identity " " get-buffer-create generate-new-buffer-name " *string-output*" 
((kill-buffer standard-output))
apply call-process nil buffer-string zerop "%s" error "Unable to create odt 
file (%S)"] 7](("zip" "-rmTq" "DIPLAN.odt" "."))
  mapc(#[(cmd)


The rest of the message I cannot copy to my thunderbird buffer.
I cannot find the file to be zipped "DIPLAN.odt".
zip.exe is installed.

Any idea?

Rainer



Re: [O] Compile error in org-odt.el in latest master

2012-07-11 Thread Jambunathan K
> Thanks, export starts but stops here:
>
>
> Debugger entered--Lisp error: (error "Unable to create odt file (8)")
>   signal(error ("Unable to create odt file (8)"))
>   error("Unable to create odt file (%S)" 8)
>   #[(cmd) "\304\305\306\307\310#\"\210\311\312\313!!\314\216 \315\316@\317  
> \317A&)r  q\210\320 +\321\n!\206;
> \317\304\322\"\210\206; ..
>  [cmd standard-output exitcode err-string message "Running %s" mapconcat 
> identity " " get-buffer-create generate-new-buffer-name " *string-output*" 
> ((kill-buffer standard-output))
> apply call-process nil buffer-string zerop "%s" error "Unable to create odt 
> file (%S)"] 7](("zip" "-rmTq" "DIPLAN.odt" "."))
>   mapc(#[(cmd)
>
>
> The rest of the message I cannot copy to my thunderbird buffer.
> I cannot find the file to be zipped "DIPLAN.odt".
> zip.exe is installed.

Could please post the error message from *Messages* buffer.  This should
tell why zip is failing.

> Any idea?
>
> Rainer



Re: [O] [PATCH] org version under Windows 7

2012-07-11 Thread Bastien
Achim Gratz  writes:

> I'll update org
> hacks with the instructions when you have installed the patch.

I just installed the patch, thanks.

-- 
 Bastien



Re: [O] Compile error in org-odt.el in latest master

2012-07-11 Thread Jambunathan K

> Debugger entered--Lisp error: (error "Unable to create odt file (8)")

According to `man zip', error code 8 (seen above) corresponds to

,
| 8  zip -T failed or out of memory
`

Does this ring any bell?




Re: [O] Compile error in org-odt.el in latest master

2012-07-11 Thread Rainer Stengele
Am 11.07.2012 22:11, schrieb Jambunathan K:
>> Thanks, export starts but stops here:
>>
>>
>> Debugger entered--Lisp error: (error "Unable to create odt file (8)")
>>   signal(error ("Unable to create odt file (8)"))
>>   error("Unable to create odt file (%S)" 8)
>>   #[(cmd) "\304\305\306\307\310#\"\210\311\312\313!!\314\216
>> \315\316@\317  \317A&)r  q\210\320 +\321\n!\206;
>> \317\304\322\"\210\206; ..
>>  [cmd standard-output exitcode err-string message "Running %s" mapconcat 
>> identity " " get-buffer-create generate-new-buffer-name " *string-output*" 
>> ((kill-buffer standard-output))
>> apply call-process nil buffer-string zerop "%s" error "Unable to create odt 
>> file (%S)"] 7](("zip" "-rmTq" "DIPLAN.odt" "."))
>>   mapc(#[(cmd)
>>
>>
>> The rest of the message I cannot copy to my thunderbird buffer.
>> I cannot find the file to be zipped "DIPLAN.odt".
>> zip.exe is installed.
> 
> Could please post the error message from *Messages* buffer.  This should
> tell why zip is failing.
> 

Excellent, I found it, I missed the unzip.exe and now it works! Excellent 
output!
Thank you very much for taking the time to help!

Best,
Rainer


>> Any idea?
>>
>> Rainer
> 
> 





Re: [O] table export to oocalc?

2012-07-11 Thread Jambunathan K

> Are there any plans to add a table to oocalc converter?

There are no plans.  Anyways, what prompted this question? What is your
use-case?
-- 



Re: [O] [PATCH] org version under Windows 7

2012-07-11 Thread Achim Gratz
Bastien writes:
> Achim Gratz  writes:
>> I'll update org
>> hacks with the instructions when you have installed the patch.
>
> I just installed the patch, thanks.

Documentation on WOrg is updated to reflect the new reality...
:-)


Regards,
Achim.
-- 
+<[Q+ Matrix-12 WAVE#46+305 Neuron microQkb Andromeda XTk Blofeld]>+

SD adaptation for Waldorf microQ V2.22R2:
http://Synth.Stromeko.net/Downloads.html#WaldorfSDada




Re: [O] Suggested change to Manual 3.5.9 example table

2012-07-11 Thread Charles

On 7/11/2012 10:26 AM, suvayu ali wrote:

On Wed, Jul 11, 2012 at 4:11 PM, Charles  wrote:

I have searched the news groups concerning this and found nothing.

I am attempting to learn the advance features for tables and could not
understand 29.7 as the result for $at=vmean(@-II..@-I);%.1f.

I copied the table and formulas into a scratch org file, changed the
floating point to .2f and the result was 25.00, which I believe is correct.
I changed it back to .1f and 25.0 was the result.

Is the result as given in the manual supposed to demonstrate some concept
that is not evident to me?


It's a C-style format specifier. Take a look in the following link for
a more comprehensive description.





Suvaya and others on the list,

I was not specific, as a matter of fact I may have been deliberately 
abstruse - that was not called for.  All I was trying to say that 
example should be corrected since it is confusing.


  Since it appeared that the mean should be 25 rather than 29.7 I 
changed the decimal places in the format specifier and recomputed the 
entire table. It seemed easier to do that than change any of the fields 
in the table.


Thank you for consideration and for the link.

Charlie Millar





Re: [O] Suggested change to Manual 3.5.9 example table

2012-07-11 Thread suvayu ali
Hello Charles,

On Thu, Jul 12, 2012 at 12:23 AM, Charles  wrote:
> All I was trying to say that example should be corrected since it is
> confusing.

And here I was thinking you are asking about the format specifier! :-p

Since you have already put in the effort to correct the table, how about
submitting it as a patch to doc/org.texi? You could also take this
opportunity to improve the text somewhat. :)

Cheers,

-- 
Suvayu

Open source is the future. It sets us free.



Re: [O] Suggested change to Manual 3.5.9 example table

2012-07-11 Thread Nick Dokos
suvayu ali  wrote:

> Hello Charles,
> 
> On Thu, Jul 12, 2012 at 12:23 AM, Charles  wrote:
> > All I was trying to say that example should be corrected since it is
> > confusing.
> 
> And here I was thinking you are asking about the format specifier! :-p
> 
> Since you have already put in the effort to correct the table, how about
> submitting it as a patch to doc/org.texi? You could also take this
> opportunity to improve the text somewhat. :)
> 

I replied to Charlie's original message but from the tenor of the replies here
I gather nobody saw my message? But I just checked gmane and it's there, so
I'm not sure any more: did anybody see it? Here's the message body again just
in case:

Charles  wrote:

> I have searched the news groups concerning this and found nothing.
> 
> I am attempting to learn the advance features for tables and could not
> understand 29.7 as the result for $at=vmean(@-II..@-I);%.1f.
> 
> I copied the table and formulas into a scratch org file, changed the
> floating point to .2f and the result was 25.00, which I believe is
> correct. I changed it back to .1f and 25.0 was the result.
> 
> Is the result as given in the manual supposed to demonstrate some
> concept that is not evident to me?
> 

Good one.

It *may* have been intended to illustrate the difference between rows
marked with # and unmarked rows; e.g. if you go back and change a grade
in Sam's row and press TAB, then the # rows are recalculated but the
unmarked one is not.  So the 29.7 might have been a (now incorrect)
remnant of a previous calculation that would have been corrected in the
next global recalculation.

However, if that's the case, a more extensive explanation would
certainly be welcome.

Nick



Re: [O] Suggested change to Manual 3.5.9 example table

2012-07-11 Thread Charles

On 7/11/2012 6:46 PM, Nick Dokos wrote:

suvayu ali  wrote:


Hello Charles,

On Thu, Jul 12, 2012 at 12:23 AM, Charles  wrote:

All I was trying to say that example should be corrected since it is
confusing.

And here I was thinking you are asking about the format specifier! :-p

Since you have already put in the effort to correct the table, how about
submitting it as a patch to doc/org.texi? You could also take this
opportunity to improve the text somewhat. :)


I replied to Charlie's original message but from the tenor of the replies here
I gather nobody saw my message? But I just checked gmane and it's there, so
I'm not sure any more: did anybody see it? Here's the message body again just
in case:

Charles  wrote:


I have searched the news groups concerning this and found nothing.

I am attempting to learn the advance features for tables and could not
understand 29.7 as the result for $at=vmean(@-II..@-I);%.1f.

I copied the table and formulas into a scratch org file, changed the
floating point to .2f and the result was 25.00, which I believe is
correct. I changed it back to .1f and 25.0 was the result.

Is the result as given in the manual supposed to demonstrate some
concept that is not evident to me?


Good one.

It *may* have been intended to illustrate the difference between rows
marked with # and unmarked rows; e.g. if you go back and change a grade
in Sam's row and press TAB, then the # rows are recalculated but the
unmarked one is not.  So the 29.7 might have been a (now incorrect)
remnant of a previous calculation that would have been corrected in the
next global recalculation.

However, if that's the case, a more extensive explanation would
certainly be welcome.

Nick



-
No virus found in this message.
Checked by AVG - www.avg.com
Version: 2012.0.2195 / Virus Database: 2437/5126 - Release Date: 07/11/12




Nick,

I did read your reply.  I thought you were suggesting the reason why the 
error occurred (which makes a lot of sense) and you were inviting 
further explanation from whoever drafted that section of the manual.


As to submitting a patch - Thank you but I have to pass, even for such a 
tinychange. Downloading, installing and learning git is a project slated 
for later this year.


Charlie




Re: [O] org-cycle Collapse and Expand

2012-07-11 Thread Bastien
Hi Esben,

Esben Stien  writes:

> I'd like it to just expand and collapse the current node. 

There is `org-show-subtree'.

You can create a new key binding like this:

  (org-defkey org-mode-map "\C-c\C-S" 'org-show-subtree)

Then TAB and C-cC-S to expand/collapse.

HTH,

-- 
 Bastien



Re: [O] [PATCH] org version under Windows 7

2012-07-11 Thread Bastien
Achim Gratz  writes:

> Bastien writes:
>> Achim Gratz  writes:
>>> I'll update org
>>> hacks with the instructions when you have installed the patch.
>>
>> I just installed the patch, thanks.
>
> Documentation on WOrg is updated to reflect the new reality...
> :-)

Thanks!

-- 
 Bastien



Re: [O] table export to oocalc?

2012-07-11 Thread Bastien
Hi Uwe,

Jambunathan K  writes:

>> Are there any plans to add a table to oocalc converter?
>
> There are no plans.  

Well, since oocalc reads .csv and .tsv files, there *is* 
such a converter.

But there is no .org to .ods converter, and no plan for
this AFAIK.

-- 
 Bastien