From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nick Dokos Subject: Re: serious problems with org-8 under Xemacs-21.5.32 Date: Fri, 14 Jun 2013 05:32:06 -0400 Message-ID: <87obb9xckp.fsf@pierrot.dokosmarshall.org> References: <87zjut2jk1.fsf@gilgamesch.quim.ucm.es> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:37434) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UnQMn-0004xX-RC for emacs-orgmode@gnu.org; Fri, 14 Jun 2013 05:32:23 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UnQMm-0003Ti-EZ for emacs-orgmode@gnu.org; Fri, 14 Jun 2013 05:32:21 -0400 Received: from plane.gmane.org ([80.91.229.3]:51664) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UnQMm-0003Tb-7I for emacs-orgmode@gnu.org; Fri, 14 Jun 2013 05:32:20 -0400 Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1UnQMk-0006Zm-Ho for emacs-orgmode@gnu.org; Fri, 14 Jun 2013 11:32:18 +0200 Received: from pool-108-7-96-134.bstnma.fios.verizon.net ([108.7.96.134]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 14 Jun 2013 11:32:18 +0200 Received: from ndokos by pool-108-7-96-134.bstnma.fios.verizon.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 14 Jun 2013 11:32:18 +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 Uwe Brauer writes: > Hello > > In order to check whether org-8 works under Xemacs-21.5.32 Mule (and not > using my old org-7 setting), I did the following > > - I started xemacs -vanilla (equivalent to GNU emacs -q) > > - I loaded the following init file: > > > ,---- > | (push (expand-file-name > | "~/xemacs/site-lisp/packages/org-8.0.3/lisp/") load-path) > | (push (expand-file-name > | "~/xemacs/site-lisp/packages/org-8.0.3/contrib/lisp/") load-path) > | (push (expand-file-name > | "~/xemacs/site-lisp/packages/org-8.0.3/contrib/odt/etc/schema/") > | load-path) > | > | (require 'org-compat) > | (require 'ox) > | (require 'org-install) > `---- > > I opened an org file. Observations > > - the file was in *fundamental* mode! > You need to set up auto-mode-alist in your init file: (add-to-list 'auto-mode-alist '("\\.org$" . org-mode)) > - I turned on org-mode and received and error I attach. > The error is[fn:1]: --8<---------------cut here---------------start------------->8--- Debugger entered--Lisp error: (invalid-state "Autoloading failed to define function" outline-previous-heading) outline-previous-heading() org-cycle-show-empty-lines(overview) run-hook-with-args(org-cycle-show-empty-lines overview) org-cycle-internal-global() org-cycle((4)) org-set-startup-visibility() ... call-interactively(org-mode) command-execute(org-mode t) execute-extended-command(nil) call-interactively(execute-extended-command) --8<---------------cut here---------------end--------------->8--- so xemacs found an outline.el that did not define outline-previous-heading. Check which outline.el xemacs finds with M-x locate-library RET outline RET. It's probably a compiled file, but the corresponding outline.el should be in the same directory, or you might need to get a source package with the xemacs .el files to find it. Check what version it is, compare it with the emacs version, check whether it includes outline-previous-heading (probably not, hence the error). Crossing fingers and toes, you might try using the emacs outline.el but unless you are really lucky, it's probably not going to work. Which will mean that somebody will nees to port a recent outline.el from emacs to xemacs. An xemacs specific mailing list seems the best bet for that. > - I tried to use org-preview-latex-fragment and received a > different error (also attached) > The error here: --8<---------------cut here---------------start------------->8--- Debugger entered--Lisp error: (void-function face-at-point) face-at-point() --8<---------------cut here---------------end--------------->8--- Presumably xemacs does not have face-at-point. > - I tried to use org-submit-bug-report and received third error. > --8<---------------cut here---------------start------------->8--- Debugger entered--Lisp error: (void-function call-process-shell-command) call-process-shell-command("command" nil nil nil "-v" "x11idle") --8<---------------cut here---------------end--------------->8--- and it does not seem to have call-process-shell-command. This is a thin wrapper around call-process (which xemacs should have), so this should be easy to port. > Any comments? > > thanks > > Uwe Brauer > > > Footnotes: [fn:1] Can you please make sure that when you send attachments they are typed properly? They are sent as "application/octet-stream" currently, requiring two steps: saving them and then opening the saved file. For backtraces, just use "text/plain" instead: emacs/gnus knows how to open these directly. -- Nick