From mboxrd@z Thu Jan 1 00:00:00 1970 From: Achim Gratz Subject: Byte compiler warnings Date: Sat, 22 Oct 2011 16:15:41 +0200 Message-ID: <87ty712jua.fsf@Rainer.invalid> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([140.186.70.92]:36309) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RHcMm-0000l1-3y for emacs-orgmode@gnu.org; Sat, 22 Oct 2011 10:16:05 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RHcMk-0007mq-JK for emacs-orgmode@gnu.org; Sat, 22 Oct 2011 10:16:04 -0400 Received: from lo.gmane.org ([80.91.229.12]:46629) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RHcMk-0007me-9d for emacs-orgmode@gnu.org; Sat, 22 Oct 2011 10:16:02 -0400 Received: from list by lo.gmane.org with local (Exim 4.69) (envelope-from ) id 1RHcMj-0004B8-5Y for emacs-orgmode@gnu.org; Sat, 22 Oct 2011 16:16:01 +0200 Received: from p57aaccda.dip.t-dialin.net ([87.170.204.218]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sat, 22 Oct 2011 16:16:01 +0200 Received: from Stromeko by p57aaccda.dip.t-dialin.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sat, 22 Oct 2011 16:16:01 +0200 List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: emacs-orgmode@gnu.org 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