emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* Bytecompiler is unhappy...
@ 2011-02-22 18:16 Achim Gratz
  2011-02-22 20:15 ` Nicolas
  0 siblings, 1 reply; 5+ messages in thread
From: Achim Gratz @ 2011-02-22 18:16 UTC (permalink / raw)
  To: emacs-orgmode


The orgmode git has picked up quite a bit of dirt during the last three
months or so (no wonder with all the development going on)...  I can
start tracking down the commits, but I guess most of these should be
pretty obvious to whoever edited the file in the first place.  :-)

Most of these are probably just missing defvars or something of this
ilk, but a few might be genuine typos or oversights.  In case there's
some version dependence, I'm compiling on 23.1.1, Org-mode version 7.4
(release_7.4.521.g93a8fc9).


In org-fill-paragraph:
org.el:19105:27:Warning: assignment to free variable `struct'
org.el:19110:33:Warning: reference to free variable `struct'

In end of data:
org.el:19993:1:Warning: the following functions are not known to be defined:
    org-inlinetask-at-task-p, org-inlinetask-toggle-visibility,
    org-inlinetask-outline-regexp

In org-run-agenda-series:
org-agenda.el:2476:15:Warning: reference to free variable
    `org-agenda-overriding-arguments'
org-agenda.el:2513:46:Warning: reference to free variable
    `org-agenda-last-arguments'

In org-get-entries-from-diary:
org-agenda.el:4346:62:Warning: reference to free variable `diary-time-regexp'

In org-agenda-get-timestamps:
org-agenda.el:4712:54:Warning: assignment to free variable `show-all'
org-agenda.el:4712:31:Warning: reference to free variable `show-all'

In org-agenda-get-scheduled:
org-agenda.el:5067:45:Warning: assignment to free variable `show-all'
org-agenda.el:5067:40:Warning: reference to free variable `show-all'

In org-archive-subtree:
org-archive.el:305:25:Warning: assignment to free variable `infile-p'
org-archive.el:304:69:Warning: reference to free variable `infile-p'

In org-capture-insert-template-here:
org-capture.el:1057:32:Warning: reference to free variable `txt'

In end of data:
org-capture.el:1411:1:Warning: the function `org-eval' is not known to be
    defined.
Loading cl-extra...

In org-export-blocks-format-ditaa:
org-exp-blocks.el:245:15:Warning: reference to free variable `backend'

In org-export-blocks-format-dot:
org-exp-blocks.el:304:15:Warning: reference to free variable `backend'

In org-export-blocks-format-comment:
org-exp-blocks.el:336:11:Warning: reference to free variable `backend'

In org-export-latex-tables:
org-latex.el:1926:41:Warning: assignment to free variable `width'
org-latex.el:1926:62:Warning: reference to free variable `width'

In end of data:
org-list.el:3007:1:Warning: the function `outline-flag-region' is not known to
    be defined.

In end of data:
org-special-blocks.el:97:1:Warning: the function `org-string-match-p' is not
    known to be defined.

In orgtbl-ctrl-c-ctrl-c:
org-table.el:3751:57:Warning: assignment to free variable `const-str'
org-table.el:3751:40:Warning: reference to free variable `const-str'

In org-babel-execute-src-block:
ob.el:401:57:Warning: reference to free variable `org-src-lang-modes'

In org-babel-expand-noweb-references:
ob.el:1827:36:Warning: reference to free variable `org-babel-library-of-babel'

In end of data:
ob.el:2078:1:Warning: the following functions are not known to be defined:
    org-at-item-p, org-babel-tangle-comment-links

In org-babel-exp-inline-src-blocks:
ob-exp.el:147:4:Warning: value returned from (buffer-substring
    (match-beginning 0) (match-end 0)) is unused

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

In org-babel-python-initiate-session-by-key:
ob-python.el:150:27:Warning: reference to free variable
    `py-default-interpreter'



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

SD adaptation for Waldorf Blofeld V1.15B11:
http://Synth.Stromeko.net/Downloads.html#WaldorfSDada

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

* Re: Bytecompiler is unhappy...
  2011-02-22 18:16 Bytecompiler is unhappy Achim Gratz
@ 2011-02-22 20:15 ` Nicolas
  2011-02-22 20:45   ` Carsten Dominik
  0 siblings, 1 reply; 5+ messages in thread
From: Nicolas @ 2011-02-22 20:15 UTC (permalink / raw)
  To: Achim Gratz; +Cc: emacs-orgmode

Hello,

I've taken care of:

> In org-fill-paragraph:
> org.el:19105:27:Warning: assignment to free variable `struct'
> org.el:19110:33:Warning: reference to free variable `struct'

> In end of data:
> org-list.el:3007:1:Warning: the function `outline-flag-region' is not known to
>     be defined.

But I'm not sure what's the best way to handle this:

> In end of data:
> org.el:19993:1:Warning: the following functions are not known to be defined:
>     org-inlinetask-at-task-p, org-inlinetask-toggle-visibility,
>     org-inlinetask-outline-regexp

(require 'org-inlinetask) within eval-when-compile, or declare the
functions? I leave it to the enlightened ones.


Regards,

-- 
Nicolas

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

* Re: Re: Bytecompiler is unhappy...
  2011-02-22 20:15 ` Nicolas
@ 2011-02-22 20:45   ` Carsten Dominik
  2011-02-23 14:15     ` Nicolas
  0 siblings, 1 reply; 5+ messages in thread
From: Carsten Dominik @ 2011-02-22 20:45 UTC (permalink / raw)
  To: Nicolas; +Cc: Achim Gratz, emacs-orgmode


On Feb 22, 2011, at 9:15 PM, Nicolas wrote:

> Hello,
>
> I've taken care of:
>
>> In org-fill-paragraph:
>> org.el:19105:27:Warning: assignment to free variable `struct'
>> org.el:19110:33:Warning: reference to free variable `struct'
>
>> In end of data:
>> org-list.el:3007:1:Warning: the function `outline-flag-region' is  
>> not known to
>>    be defined.
>
> But I'm not sure what's the best way to handle this:
>
>> In end of data:
>> org.el:19993:1:Warning: the following functions are not known to be  
>> defined:
>>    org-inlinetask-at-task-p, org-inlinetask-toggle-visibility,
>>    org-inlinetask-outline-regexp
>
> (require 'org-inlinetask) within eval-when-compile,

NO. Declare the functions an use (defvar name) for the variables.


> or declare the
> functions? I leave it to the enlightened ones.
>
>
> Regards,
>
> -- 
> Nicolas
>
> _______________________________________________
> Emacs-orgmode mailing list
> Please use `Reply All' to send replies to the list.
> Emacs-orgmode@gnu.org
> http://lists.gnu.org/mailman/listinfo/emacs-orgmode

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

* Re: Bytecompiler is unhappy...
  2011-02-22 20:45   ` Carsten Dominik
@ 2011-02-23 14:15     ` Nicolas
  2011-02-26  9:34       ` Bastien
  0 siblings, 1 reply; 5+ messages in thread
From: Nicolas @ 2011-02-23 14:15 UTC (permalink / raw)
  To: Carsten Dominik; +Cc: Achim Gratz, emacs-orgmode

Hello,

Carsten Dominik <carsten.dominik@gmail.com> writes:

> NO. Declare the functions an use (defvar name) for the variables.

This is what I thought at first, but, in org.el, no function was
declared already, and a whole package (gnus-sum) was required when
compiling. So, I hesitated.

Anyway, that part is done now.

Regards,

-- 
Nicolas

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

* Re: Re: Bytecompiler is unhappy...
  2011-02-23 14:15     ` Nicolas
@ 2011-02-26  9:34       ` Bastien
  0 siblings, 0 replies; 5+ messages in thread
From: Bastien @ 2011-02-26  9:34 UTC (permalink / raw)
  To: Carsten Dominik; +Cc: Achim Gratz, emacs-orgmode

Nicolas <n.goaziou@gmail.com> writes:

> This is what I thought at first, but, in org.el, no function was
> declared already, and a whole package (gnus-sum) was required when
> compiling. So, I hesitated.
>
> Anyway, that part is done now.

Thanks for this Nicolas, and thanks to Achim for reporting this.

-- 
 Bastien

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

end of thread, other threads:[~2011-02-26 16:21 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-02-22 18:16 Bytecompiler is unhappy Achim Gratz
2011-02-22 20:15 ` Nicolas
2011-02-22 20:45   ` Carsten Dominik
2011-02-23 14:15     ` Nicolas
2011-02-26  9:34       ` Bastien

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