* find-library-name, used by org-reload, missing on XEmacs
@ 2009-03-31 18:38 Tony E. Bennett
2009-04-05 14:18 ` Carsten Dominik
0 siblings, 1 reply; 4+ messages in thread
From: Tony E. Bennett @ 2009-03-31 18:38 UTC (permalink / raw)
To: emacs-orgmode
Hi
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:
;; hack - XEmacs does not have find-library-name, needed by org-reload.
(when (not (fboundp 'find-library-name))
(require 'find-func)
;; still not found? then create it if find-library exists, as it does on xemacs
(when (and (not (fboundp 'find-library-name))
(fboundp 'find-library))
(defun find-library-name-helper (filename ignored-codesys)
filename)
(defun find-library-name (library)
(find-library library nil 'find-library-name-helper))
))
thanks
--tony
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: find-library-name, used by org-reload, missing on XEmacs
2009-03-31 18:38 find-library-name, used by org-reload, missing on XEmacs Tony E. Bennett
@ 2009-04-05 14:18 ` Carsten Dominik
2012-05-30 6:34 ` unfound defuns and catch forms on XEmacs 21.5 (was: [Orgmode] find-library-name, used by org-reload, missing on XEmacs) Tim Howe
0 siblings, 1 reply; 4+ messages in thread
From: Carsten Dominik @ 2009-04-05 14:18 UTC (permalink / raw)
To: Tony E. Bennett; +Cc: emacs-orgmode
Hi Tony,
thanks for this, org-reload now works on XEmacs.
- Carsten
On Mar 31, 2009, at 8:38 PM, Tony E. Bennett wrote:
>
> Hi
>
> 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:
>
> ;; hack - XEmacs does not have find-library-name, needed by org-
> reload.
> (when (not (fboundp 'find-library-name))
> (require 'find-func)
> ;; still not found? then create it if find-library exists, as
> it does on xemacs
> (when (and (not (fboundp 'find-library-name))
> (fboundp 'find-library))
> (defun find-library-name-helper (filename ignored-codesys)
> filename)
> (defun find-library-name (library)
> (find-library library nil 'find-library-name-helper))
> ))
>
>
> thanks
>
> --tony
>
>
>
> _______________________________________________
> Emacs-orgmode mailing list
> Remember: 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] 4+ messages in thread
* unfound defuns and catch forms on XEmacs 21.5 (was: [Orgmode] find-library-name, used by org-reload, missing on XEmacs)
2009-04-05 14:18 ` Carsten Dominik
@ 2012-05-30 6:34 ` Tim Howe
2012-05-30 16:09 ` unfound defuns and catch forms on XEmacs 21.5 Achim Gratz
0 siblings, 1 reply; 4+ messages in thread
From: Tim Howe @ 2012-05-30 6:34 UTC (permalink / raw)
To: Carsten Dominik; +Cc: Tony E. Bennett, emacs-orgmode
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
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2012-05-30 16:10 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-03-31 18:38 find-library-name, used by org-reload, missing on XEmacs Tony E. Bennett
2009-04-05 14:18 ` Carsten Dominik
2012-05-30 6:34 ` unfound defuns and catch forms on XEmacs 21.5 (was: [Orgmode] find-library-name, used by org-reload, missing on XEmacs) Tim Howe
2012-05-30 16:09 ` unfound defuns and catch forms on XEmacs 21.5 Achim Gratz
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).