From mboxrd@z Thu Jan  1 00:00:00 1970
From: Tim Howe <vsync@quadium.net>
Subject: unfound defuns and catch forms on XEmacs 21.5 (was: [Orgmode]
 find-library-name, used by org-reload, missing on XEmacs)
Date: Wed, 30 May 2012 02:34:16 -0400
Message-ID: <877gvumb2v.fsf_-_@rash.fl.quadium.net>
References: <m2vdppzgeg.fsf@gmail.com>
	<7A771765-FEE0-49D3-991F-7561BE1BF618@gmail.com>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Return-path: <emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org>
Received: from eggs.gnu.org ([208.118.235.92]:58828)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <vsync@quadium.net>) id 1SZcUB-00029v-GG
	for emacs-orgmode@gnu.org; Wed, 30 May 2012 02:34:27 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <vsync@quadium.net>) id 1SZcU7-000828-1a
	for emacs-orgmode@gnu.org; Wed, 30 May 2012 02:34:23 -0400
Received: from blister.quadium.net ([69.55.236.109]:56695)
	by eggs.gnu.org with esmtp (Exim 4.71)
	(envelope-from <vsync@quadium.net>) id 1SZcU6-00081x-Rk
	for emacs-orgmode@gnu.org; Wed, 30 May 2012 02:34:18 -0400
In-Reply-To: <7A771765-FEE0-49D3-991F-7561BE1BF618@gmail.com> (Carsten
	Dominik's message of "Sun, 5 Apr 2009 16:18:39 +0200")
List-Id: "General discussions about Org-mode." <emacs-orgmode.gnu.org>
List-Unsubscribe: <https://lists.gnu.org/mailman/options/emacs-orgmode>,
	<mailto:emacs-orgmode-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/archive/html/emacs-orgmode>
List-Post: <mailto:emacs-orgmode@gnu.org>
List-Help: <mailto:emacs-orgmode-request@gnu.org?subject=help>
List-Subscribe: <https://lists.gnu.org/mailman/listinfo/emacs-orgmode>,
	<mailto:emacs-orgmode-request@gnu.org?subject=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: Carsten Dominik <carsten.dominik@gmail.com>
Cc: "Tony E. Bennett" <tony.e.bennett@gmail.com>, emacs-orgmode@gnu.org

On 5 Apr 2009, Carsten Dominik <carsten.dominik@gmail.com> wrote:

> thanks for this, org-reload now works on XEmacs.
>
> On Mar 31, 2009, at 8:38 PM, Tony E. Bennett wrote:
>
>> org-reload needs 'find-library-name', which is missing on XEmacs v21.5
>> at least.   However there is 'find-library' which can be coerced into
>> providing the filename

For some reason I just encountered this with Org-mode version 7.8.11 on
XEmacs 21.5  (beta31) "ginger" [Lucid] (x86_64-pc-linux, Mule).

Built by running make leaving everything stock but for EMACS=xemacs;
the build crashed complaining about a missing 'find-library-name'.

I was able to get it to build by pasting this function at the very top
of lisp/org.el and restarting a clean build.

Perhaps there's a declaration ordering problem, or something akin to a
missing eval-when?  (I'm much more familiar with Common Lisp than
(X)Emacs Lisp, sorry.)  I also have a weird problem where trying to
generate an agenda breaks thusly:

Lisp error: (no-catch :skip t)
  org-agenda-get-timestamps()

Yet if I simply re-evaluate the org-agenda-get-timestamps defun,
everything works for the remainder of the session.  Evaluating
(byte-compile 'org-agenda-get-timestamps) makes everything break again.

Otherwise everything seems to work great.

Regards,
-- 
Tim Howe
http://quadium.net/~vsync/

My whole approach in broadcasting has always been "You are an
important person just the way you are.  You can make healthy
decisions."  ... I just feel that anything that allows a person to
be more active in the control of his or her life, in a healthy way,
is important.
        -- Fred Rogers