Re: [O] Byte compiler warnings in org-clock.el

2012-07-13 Thread Achim Gratz
Bastien writes:
 The corresponding defvar should probably be moved:

 Done, thanks.

Another issue: the key binding doesn't work, since C-C C-x C-i and
C-C C-x C-I are both mapped to org-clock-in-last via a general key
mapping of S-TAB to TAB.  I can't seem to find where this mapping is
defined and if it can be switched off in Org.  It seems that C-C C-x
C-z would still be available, though.


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

SD adaptations for Waldorf Q V3.00R3 and Q+ V3.54R2:
http://Synth.Stromeko.net/Downloads.html#WaldorfSDada




[O] Byte compiler warnings in org-clock.el

2012-07-12 Thread Achim Gratz

The corresponding defvar should probably be moved:

In org-clock-in:
org-clock.el:1208:53:Warning: reference to free variable `org-clock-out-time'

In org-clock-in-last:
org-clock.el:1264:31:Warning: reference to free variable `org-clock-out-time'


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

Wavetables for the Waldorf Blofeld:
http://Synth.Stromeko.net/Downloads.html#BlofeldUserWavetables




Re: [O] Byte compiler warnings in org-clock.el

2012-07-12 Thread Bastien
Achim Gratz strom...@nexgo.de writes:

 The corresponding defvar should probably be moved:

Done, thanks.

-- 
 Bastien



Re: [O] Byte compiler warnings

2011-10-28 Thread Bastien
Hi Andrei,

Andrei Jirnyi a-jir...@northwestern.edu writes:

 A few warnings from Emacs 23.2.1 here:

Thanks.  I fixed most of them.

 Compiling file /home/xx/.emacs.d/elpa/org-20111024/ob-C.el at Mon Oct 
 24 18:20:36 2011
 Entering directory `/home/xx/.emacs.d/elpa/org-20111024/'

 Compiling file /home/xx/.emacs.d/elpa/org-20111024/ob-calc.el at Mon 
 Oct 24 18:20:36 2011

 In end of data:
 ob-calc.el:105:1:Warning: the following functions are not known to be 
 defined:
 calc-store-into, calc-recall, math-evaluate-expr

Fixed.

 Compiling file /home/xx/.emacs.d/elpa/org-20111024/ob-shen.el at Mon 
 Oct 24 18:20:38 2011

 In org-babel-execute:shen:
 ob-shen.el:68:32:Warning: reference to free variable `result-params'
 ob-shen.el:72:19:Warning: reference to free variable `result'

Not fixed.

 Compiling file /home/xx/.emacs.d/elpa/org-20111024/org-agenda.el at 
 Mon Oct 24 18:20:39 2011

 In org-agenda-list:
 org-agenda.el:3555:26:Warning: `org-agenda-ndays' is an obsolete variable 
 (as
 of Emacs 24.1); use `org-agenda-span' instead.

Not fixed.

 In org-agenda-get-todos:
 org-agenda.el:4596:26:Warning: reference to free variable
 `org-heading-keyword-regexp-format'

Fixed.

 In org-agenda-goto-today:
 org-agenda.el:6410:59:Warning: `org-agenda-ndays' is an obsolete variable 
 (as
 of Emacs 24.1); use `org-agenda-span' instead.

 In org-agenda-reset-view:
 org-agenda.el:6495:36:Warning: `org-agenda-ndays' is an obsolete variable 
 (as
 of Emacs 24.1); use `org-agenda-span' instead.

Not fixed.

 Compiling file /home/xx/.emacs.d/elpa/org-20111024/org-colview.el at 
 Mon Oct 24 18:20:41 2011

 In org-columns-capture-view:
 org-colview.el:1155:32:Warning: reference to free variable
 `org-heading-keyword-regexp-format'
 org-colview.el:1160:33:Warning: reference to free variable
 `org-heading-regexp'

Fixed.

 Compiling file /home/xx/.emacs.d/elpa/org-20111024/org-compat.el at 
 Mon Oct 24 18:20:41 2011

 In org-find-library-name:
 org-compat.el:341:14:Warning: find-library called with 3 arguments, but
 accepts only 1

No fix needed.

 Compiling file /home/xx/.emacs.d/elpa/org-20111024/org-docbook.el at 
 Mon Oct 24 18:20:41 2011

 In org-export-as-docbook:
 org-docbook.el:502:31:Warning: reference to free variable
 `org-heading-keyword-regexp-format'

Fixed.

 Compiling file /home/xx/.emacs.d/elpa/org-20111024/org-exp.el at Mon 
 Oct 24 18:20:42 2011

 In org-export-protect-quoted-subtrees:
 org-exp.el:1641:31:Warning: reference to free variable
 `org-heading-keyword-regexp-format'

 In org-export-remove-comment-blocks-and-subtrees:
 org-exp.el:1936:31:Warning: reference to free variable
 `org-heading-keyword-regexp-format'

Fixed.

 Compiling file /home/xx/.emacs.d/elpa/org-20111024/org-html.el at Mon 
 Oct 24 18:20:47 2011

 In org-export-as-html:
 org-html.el:1179:31:Warning: reference to free variable
 `org-heading-keyword-regexp-format'

Fixed.

Please report other problems.

Thanks!

-- 
 Bastien



Re: [O] Byte compiler warnings

2011-10-24 Thread Andrei Jirnyi
A few warnings from Emacs 23.2.1 here:

Compiling file /home/xx/.emacs.d/elpa/org-20111024/ob-C.el at Mon Oct 
24 18:20:36 2011
Entering directory `/home/xx/.emacs.d/elpa/org-20111024/'

Compiling file /home/xx/.emacs.d/elpa/org-20111024/ob-calc.el at Mon 
Oct 24 18:20:36 2011

In end of data:
ob-calc.el:105:1:Warning: the following functions are not known to be 
defined:
calc-store-into, calc-recall, math-evaluate-expr

Compiling file /home/xx/.emacs.d/elpa/org-20111024/ob-shen.el at Mon 
Oct 24 18:20:38 2011

In org-babel-execute:shen:
ob-shen.el:68:32:Warning: reference to free variable `result-params'
ob-shen.el:72:19:Warning: reference to free variable `result'

Compiling file /home/xx/.emacs.d/elpa/org-20111024/org-agenda.el at 
Mon Oct 24 18:20:39 2011

In org-agenda-list:
org-agenda.el:3555:26:Warning: `org-agenda-ndays' is an obsolete variable 
(as
of Emacs 24.1); use `org-agenda-span' instead.

In org-agenda-get-todos:
org-agenda.el:4596:26:Warning: reference to free variable
`org-heading-keyword-regexp-format'

In org-agenda-goto-today:
org-agenda.el:6410:59:Warning: `org-agenda-ndays' is an obsolete variable 
(as
of Emacs 24.1); use `org-agenda-span' instead.

In org-agenda-reset-view:
org-agenda.el:6495:36:Warning: `org-agenda-ndays' is an obsolete variable 
(as
of Emacs 24.1); use `org-agenda-span' instead.

Compiling file /home/xx/.emacs.d/elpa/org-20111024/org-colview.el at 
Mon Oct 24 18:20:41 2011

In org-columns-capture-view:
org-colview.el:1155:32:Warning: reference to free variable
`org-heading-keyword-regexp-format'
org-colview.el:1160:33:Warning: reference to free variable
`org-heading-regexp'

Compiling file /home/xx/.emacs.d/elpa/org-20111024/org-compat.el at 
Mon Oct 24 18:20:41 2011

In org-find-library-name:
org-compat.el:341:14:Warning: find-library called with 3 arguments, but
accepts only 1

Compiling file /home/xx/.emacs.d/elpa/org-20111024/org-docbook.el at 
Mon Oct 24 18:20:41 2011

In org-export-as-docbook:
org-docbook.el:502:31:Warning: reference to free variable
`org-heading-keyword-regexp-format'

Compiling file /home/xx/.emacs.d/elpa/org-20111024/org-exp.el at Mon 
Oct 24 18:20:42 2011

In org-export-protect-quoted-subtrees:
org-exp.el:1641:31:Warning: reference to free variable
`org-heading-keyword-regexp-format'

In org-export-remove-comment-blocks-and-subtrees:
org-exp.el:1936:31:Warning: reference to free variable
`org-heading-keyword-regexp-format'

Compiling file /home/xx/.emacs.d/elpa/org-20111024/org-html.el at Mon 
Oct 24 18:20:47 2011

In org-export-as-html:
org-html.el:1179:31:Warning: reference to free variable
`org-heading-keyword-regexp-format'





Re: [O] Byte compiler warnings

2011-10-23 Thread Bastien
Hi Achim,

Achim Gratz strom...@nexgo.de writes:

 In org-agenda-get-blocks:
 org-agenda.el:5434:42:Warning: assignment to free variable `category-pos'
 org-agenda.el:5434:20:Warning: reference to free variable
 `category-pos'

 I just fixed this.

 I'm still getting the same error with commit e0c1855 included.  The rest
 of your fixes did quell the warnings from the byte compiler.

You're right, I've just fixed this for good.

Thanks!

-- 
 Bastien



[O] Byte compiler warnings

2011-10-22 Thread Achim Gratz

Recently the byte compiler has become increasingly dissatisfied with the
orgmode code again... :-)

Emacs24 complains about these:

In org-agenda-get-blocks:
org-agenda.el:5434:42:Warning: assignment to free variable `category-pos'
org-agenda.el:5434:20:Warning: reference to free variable `category-pos'

That actually has been there for a while.

In org-edit-src-code:
org-src.el:295:14:Warning: reference to free variable `eq'

That's most likely a bug involving a comparison, in any case if eq really is 
a variable it
surely needs a different name.


In org-babel-get-lob-one-liner-matches:
ob.el:191:21:Warning: reference to free variable
`org-babel-inline-lob-one-liner-regexp'

That one is a bit older IIRC.


In org-babel-execute:shen:
ob-shen.el:68:32:Warning: reference to free variable `result-params'
ob-shen.el:72:19:Warning: reference to free variable `result'

I guess Eric knows what to do with this.


In end of data:
org.el:20874:1:Warning: the function `cdlatex-compute-tables' is not known to
be defined.

I don't know if a package needs to be required or the function declared.


Emacs23 additionally complains about:

In org-mode:
org.el:4870:9:Warning: assignment to free variable `bidi-paragraph-direction'

In end of data:
org.el:20874:1:Warning: the function `format-spec' might not be defined at
runtime.

It looks like these functions don't exist in Emacs23 and need to be
protected via version-dependent wrappers.


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

SD adaptations for Waldorf Q V3.00R3 and Q+ V3.54R2:
http://Synth.Stromeko.net/Downloads.html#WaldorfSDada




Re: [O] Byte compiler warnings

2011-10-22 Thread Bastien
Hi Achim,

Achim Gratz strom...@nexgo.de writes:

 Recently the byte compiler has become increasingly dissatisfied with the
 orgmode code again... :-)

 Emacs24 complains about these:

 In org-agenda-get-blocks:
 org-agenda.el:5434:42:Warning: assignment to free variable `category-pos'
 org-agenda.el:5434:20:Warning: reference to free variable
 `category-pos'

I just fixed this.

 That actually has been there for a while.

Yes, my bad.

 In org-edit-src-code:
 org-src.el:295:14:Warning: reference to free variable `eq'

This is also fixed.

 That's most likely a bug involving a comparison, in any case if eq really 
 is a variable it
 surely needs a different name.

 In org-babel-get-lob-one-liner-matches:
 ob.el:191:21:Warning: reference to free variable
 `org-babel-inline-lob-one-liner-regexp'

Fixed.

 In org-babel-execute:shen:
 ob-shen.el:68:32:Warning: reference to free variable `result-params'
 ob-shen.el:72:19:Warning: reference to free variable `result'

I expect Eric will take care of this.

 In end of data:
 org.el:20874:1:Warning: the function `cdlatex-compute-tables' is not known to
 be defined.

Fixed.

 I don't know if a package needs to be required or the function
 declared.

The function needs to be declared.

 Emacs23 additionally complains about:

 In org-mode:
 org.el:4870:9:Warning: assignment to free variable `bidi-paragraph-direction'

 In end of data:
 org.el:20874:1:Warning: the function `format-spec' might not be defined at
 runtime.

 It looks like these functions don't exist in Emacs23 and need to be
 protected via version-dependent wrappers.

On my todo list.

Thanks for the careful check!

-- 
 Bastien



Re: [O] Byte compiler warnings

2011-10-22 Thread Achim Gratz
Hi Bastien,

thanks for fixing.  I've just pulled again.

 In org-agenda-get-blocks:
 org-agenda.el:5434:42:Warning: assignment to free variable `category-pos'
 org-agenda.el:5434:20:Warning: reference to free variable
 `category-pos'

 I just fixed this.

I'm still getting the same error with commit e0c1855 included.  The rest
of your fixes did quell the warnings from the byte compiler.



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

Samples for the Waldorf Blofeld:
http://Synth.Stromeko.net/Downloads.html#BlofeldSamplesExtra