From mboxrd@z Thu Jan 1 00:00:00 1970 From: Uwe Brauer Subject: Bug: get-face-font: Xemacs21.5.29: org-preview-latex-fragment [7.5] Date: Fri, 27 Jan 2012 19:33:45 +0100 Message-ID: <877h0d806u.fsf@mat.ucm.es> Reply-To: Uwe Brauer Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" Return-path: Received: from eggs.gnu.org ([140.186.70.92]:42760) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RqqcY-0004F3-C3 for emacs-orgmode@gnu.org; Fri, 27 Jan 2012 13:33:59 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RqqcX-0007Hu-1R for emacs-orgmode@gnu.org; Fri, 27 Jan 2012 13:33:58 -0500 Received: from mail-we0-f169.google.com ([74.125.82.169]:58908) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RqqcW-0007Hj-O3 for emacs-orgmode@gnu.org; Fri, 27 Jan 2012 13:33:57 -0500 Received: by wera13 with SMTP id a13so1857466wer.0 for ; Fri, 27 Jan 2012 10:33:55 -0800 (PST) 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 Cc: XEmacs Beta Discussion --=-=-= Content-Type: text/plain Hello I tried to use the function as mentioned above, but obtained the following error whose but trace I attach. I looked into the code (org.el) and indeed it has a it has (if (featurep 'xemacs) (font-height (get-face-font 'default)) Now the function `get-face-font' is not defined in Xemacs 21.5.29 nor in 21.4. (I shall send a copy to Xemacs beta.) One remark: I thought that (X)Emacs could not surprise me any longer since it is such a mature product, but first org-table surprised me since it brought spread-sheet features, now org-preview-latex-fragment brings (X)Emacs closer to a word processor. Thank you Team!!!!! Uwe Brauer --=-=-= Content-Type: application/emacs-lisp Content-Disposition: attachment; filename=org-preview-bug.el Content-Transfer-Encoding: quoted-printable Debugger entered--Lisp error: (void-function get-face-font) get-face-font(default) org-create-formula-image("$$ \\int $$" "/home/oub/tex/vorlesungen/11-12/C= alculo-Comput_11_12/KlausurCC12/Klausur11-12/PartialJan/ltxpng/test_6ff6037= 8f4b89f589f217cda6494b338fd5f2c46.png" (:foreground default :background def= ault :scale 1.0 :html-foreground "Black" :html-background "Transparent" :ht= ml-scale 1.0 :matchers ("begin" "$1" "$" "$$" "\\(" "\\[")) forbuffer) org-format-latex("ltxpng/test" "/home/oub/tex/vorlesungen/11-12/Calculo-C= omput_11_12/KlausurCC12/Klausur11-12/PartialJan/" overlays "Creating images= for buffer...%s" nil forbuffer dvipng) org-preview-latex-fragment(nil) call-interactively(org-preview-latex-fragment) recursive-edit() byte-code("..." [buffer-read-only noninteractive debugger-buffer middlest= art debugger-args debugger-batch-max-lines pop-to-buffer debugger-mode debu= gger-setup-buffer count-lines 2 "...\n" message buffer-string kill-emacs de= bug backtrace-debug 3 t debugger-reenable "" nil recursive-edit standard-ou= tput] 3) debug(error (wrong-type-argument listp #)) recursive-edit() byte-code("..." [buffer-read-only noninteractive debugger-buffer middlest= art debugger-args debugger-batch-max-lines pop-to-buffer debugger-mode debu= gger-setup-buffer count-lines 2 "...\n" message buffer-string kill-emacs de= bug backtrace-debug 3 t debugger-reenable "" nil recursive-edit standard-ou= tput] 3) debug(error (error "Do not load this file into XEmacs, use 'org-colview-x= emacs.el'.")) signal(error ("Do not load this file into XEmacs, use 'org-colview-xemacs= .el'.")) cerror("Do not load this file into XEmacs, use 'org-colview-xemacs.el'.") apply(cerror "Do not load this file into XEmacs, use 'org-colview-xemacs.= el'." nil) error("Do not load this file into XEmacs, use 'org-colview-xemacs.el'.") byte-code("..." [require org error "Do not load this file into XEmacs, us= e 'org-colview-xemacs.el'."] 2) load-internal("org-colview" nil require nil binary) load("org-colview" nil require nil) si:require(org-colview nil) require(org-colview) mapc-internal(require (org-agenda org-archive org-ascii org-attach org-cl= ock org-colview org-docbook org-exp org-html org-icalendar org-id org-latex= org-publish org-remember org-table org-timer org-xoxo)) mapc(require (org-agenda org-archive org-ascii org-attach org-clock org-c= olview org-docbook org-exp org-html org-icalendar org-id org-latex org-publ= ish org-remember org-table org-timer org-xoxo)) org-require-autoloaded-modules() # kill-buffer get-buffer "Remember to cov= er the basics, that is, what you expected to happen and\nwhat in fact did h= appen. You don't know how to make a good report? See\n\n http://orgmo= de.org/manual/Feedback.html#Feedback\n\nYour bug report will be posted to t= he Org-mode mailing list.\n------------------------------------------------= ------------------------" re-search-backward "^\\(Subject: \\)Org-mode vers= ion \\(.*?\\);[ ]*\\(.*\\)" t replace-match "\\1Bug: \\3 [\\2]"] 7 ("/home= /oub/xemacs/site-lisp/packages/org-7.5/lisp/org.elc" . 536082) nil>() call-interactively(org-submit-bug-report) command-execute(org-submit-bug-report t) execute-extended-command(nil) call-interactively(execute-extended-command) --=-=-= Content-Type: text/plain Emacs : XEmacs 21.5 (beta29) "garbanzo" [Lucid] (i686-pc-linux, Mule) of Sat Nov 5 2011 on Burrurr Package: Org-mode version 7.5 current state: ============== (setq org-src-mode-hook '(org-src-babel-configure-edit-buffer org-src-mode-configure-edit-buffer) org-metaup-hook '(org-babel-load-in-session-maybe) outline-mode-hook '(hide-body) org-after-todo-state-change-hook '(org-clock-out-if-current) org-metadown-hook '(org-babel-pop-to-session-maybe) org-ctrl-c-ctrl-c-hook '(org-babel-hash-at-point org-babel-execute-safely-maybe) org-export-preprocess-before-selecting-backend-code-hook '(org-beamer-select-beamer-code) org-agenda-before-write-hook '(org-agenda-add-entry-text) org-cycle-hook '(org-cycle-hide-archived-subtrees org-cycle-hide-drawers org-cycle-show-empty-lines org-optimize-window-after-visibility-change) org-agenda-include-diary t outline-minor-mode-hook '(my-outline-keys) org-babel-pre-tangle-hook '(save-buffer) org-mode-hook '(# # org-babel-result-hide-spec org-babel-hide-all-hashes my-org-keys turn-on-flyspell iso-accents-mode turn-on-auto-capitalize-mode) org-confirm-elisp-link-function 'yes-or-no-p org-speed-command-hook '(org-speed-command-default-hook org-babel-speed-command-hook) org-export-blocks-postblock-hook '(org-exp-res/src-name-cleanup) org-export-interblocks '((lob org-babel-exp-lob-one-liners) (src org-babel-exp-inline-src-blocks)) org-export-latex-after-initial-vars-hook '(org-beamer-after-initial-vars) org-export-latex-format-toc-function 'org-export-latex-format-toc-default org-export-preprocess-before-normalizing-links-hook '(org-remove-file-link-modifiers) org-confirm-shell-link-function 'yes-or-no-p org-table-default-size "3x3" org-export-first-hook '(org-beamer-initialize-open-trackers) org-tab-first-hook '(org-hide-block-toggle-maybe org-src-native-tab-command-maybe org-babel-hide-result-toggle-maybe) org-export-blocks '((src org-babel-exp-src-block nil) (comment org-export-blocks-format-comment t) (ditaa org-export-blocks-format-ditaa nil) (dot org-export-blocks-format-dot nil)) org-occur-hook '(org-first-headline-recenter) org-export-latex-final-hook '(org-beamer-amend-header org-beamer-fix-toc org-beamer-auto-fragile-frames org-beamer-place-default-actions-for-lists) outline-heading-end-regexp "[\n]" ) --=-=-=--