all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* org-8.0.3+Xemacs 21.5.32: still problems
@ 2013-06-13 10:51 Uwe Brauer
  2013-06-13 15:52 ` Eric S Fraga
  0 siblings, 1 reply; 11+ messages in thread
From: Uwe Brauer @ 2013-06-13 10:51 UTC (permalink / raw)
  To: emacs-orgmode

[-- Attachment #1: Type: text/plain, Size: 549 bytes --]

Hello

Thanks to Achim's change in org-compat, I could compile and load the new
orgmode, without the complain about the obsolete function stuff.

However there are still serious problems:

    -  7.8.X had a file called org-exp.el. This file is now gone. What is
       it substitute???

    -  when trying to use gnus, some errors popped up, I attach the bug trace.

    -  when I try to open a org file or to fire up my favourite 
       org-preview-latex-fragment function another error pops up. Bug
       trace attached.

Thanks 

Uwe Brauer 


[-- Attachment #2: org-bug-8.03-3 --]
[-- Type: application/octet-stream, Size: 2362 bytes --]

Debugger entered--Lisp error: (void-function face-at-point)
  face-at-point()
  org-format-latex("ltxpng/neu" "/home/oub/" 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 middlestart debugger-args debugger-batch-max-lines pop-to-buffer debugger-mode debugger-setup-buffer count-lines 2 "...\n" message buffer-string kill-emacs debug backtrace-debug 3 t debugger-reenable "" nil recursive-edit standard-output] 3)
  debug(error (invalid-state "Autoloading failed to define function" nndraft-request-list))
  nndraft-request-list("")
  gnus-request-list((nndraft ""))
  gnus-read-active-file-1((nndraft "") nil)
  gnus-read-active-for-groups((nndraft "") (("nndraft:drafts" 3 (... ... ... 64 ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... 298 ... 303 ... ... ... ... ... ... 339 ... ... ... ... ... ... ... ... 403 405 ... ... 416 ... ... ... 439 ... ... 458 460 ...) nil (nndraft "") (... ...)) ("nndraft:queue" 3 nil nil (nndraft "") (...))) nil)
  gnus-get-unread-articles(nil nil)
  gnus-setup-news(nil nil nil)
  byte-code("..." [gnus-slave gnus-current-startup-file gnus-startup-file did-connect level dont-connect gnus-group-quit gnus-run-hooks gnus-startup-hook gnus-make-newsrc-file gnus-dribble-read-file gnus-setup-news nil gnus-setup-news-hook gnus-request-create-group "queue" (nndraft "") gnus-start-draft-setup gnus-group-list-groups gnus-group-first-unread-group gnus-configure-windows group gnus-group-set-mode-line gnus-started-hook gnus-use-dribble-file gnus-agent] 4)
  gnus-1(nil nil nil)
  gnus()
  gnus-unplugged()
  (progn (setq gnus-agent t) (gnus-unplugged) (gnus nil))
  (if (gnus-alive-p) nil (progn (setq gnus-agent t) (gnus-unplugged) (gnus nil)))
  (unless (gnus-alive-p) (progn (setq gnus-agent t) (gnus-unplugged) (gnus nil)))
  my-check-gnus-start()
  (lambda nil "Start composing a message.  Post to the current group by default.\nIf ARG, don't do that.  If ARG is 1, prompt for a group name to post to.\nDepending on the selected group, the message might be either a mail or\na news." (interactive) (my-check-gnus-start) (let (...) (gnus-post-news ... gnus-newsgroup-name)))()
  call-interactively(my-gnus-summary-post-news)

[-- Attachment #3: org-bug-8.03-2 --]
[-- Type: application/octet-stream, Size: 1778 bytes --]

Debugger entered--Lisp error: (invalid-state "Autoloading failed to define function" nndraft-request-list)
  nndraft-request-list("")
  gnus-request-list((nndraft ""))
  gnus-read-active-file-1((nndraft "") nil)
  gnus-read-active-for-groups((nndraft "") (("nndraft:drafts" 3 (... ... ... 64 ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... 298 ... 303 ... ... ... ... ... ... 339 ... ... ... ... ... ... ... ... 403 405 ... ... 416 ... ... ... 439 ... ... 458 460 ...) nil (nndraft "") (... ...)) ("nndraft:queue" 3 nil nil (nndraft "") (...))) nil)
  gnus-get-unread-articles(nil nil)
  gnus-setup-news(nil nil nil)
  byte-code("..." [gnus-slave gnus-current-startup-file gnus-startup-file did-connect level dont-connect gnus-group-quit gnus-run-hooks gnus-startup-hook gnus-make-newsrc-file gnus-dribble-read-file gnus-setup-news nil gnus-setup-news-hook gnus-request-create-group "queue" (nndraft "") gnus-start-draft-setup gnus-group-list-groups gnus-group-first-unread-group gnus-configure-windows group gnus-group-set-mode-line gnus-started-hook gnus-use-dribble-file gnus-agent] 4)
  gnus-1(nil nil nil)
  gnus()
  gnus-unplugged()
  (progn (setq gnus-agent t) (gnus-unplugged) (gnus nil))
  (if (gnus-alive-p) nil (progn (setq gnus-agent t) (gnus-unplugged) (gnus nil)))
  (unless (gnus-alive-p) (progn (setq gnus-agent t) (gnus-unplugged) (gnus nil)))
  my-check-gnus-start()
  (lambda nil "Start composing a message.  Post to the current group by default.\nIf ARG, don't do that.  If ARG is 1, prompt for a group name to post to.\nDepending on the selected group, the message might be either a mail or\na news." (interactive) (my-check-gnus-start) (let (...) (gnus-post-news ... gnus-newsgroup-name)))()
  call-interactively(my-gnus-summary-post-news)

^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: org-8.0.3+Xemacs 21.5.32: still problems
  2013-06-13 10:51 org-8.0.3+Xemacs 21.5.32: still problems Uwe Brauer
@ 2013-06-13 15:52 ` Eric S Fraga
  2013-06-13 16:35   ` Uwe Brauer
  2013-06-13 17:04   ` org-exp (was: org-8.0.3+Xemacs 21.5.32: still problems) Uwe Brauer
  0 siblings, 2 replies; 11+ messages in thread
From: Eric S Fraga @ 2013-06-13 15:52 UTC (permalink / raw)
  To: Uwe Brauer; +Cc: emacs-orgmode

Uwe Brauer <oub@mat.ucm.es> writes:

> Hello
>
> Thanks to Achim's change in org-compat, I could compile and load the new
> orgmode, without the complain about the obsolete function stuff.
>
> However there are still serious problems:
>
>     -  7.8.X had a file called org-exp.el. This file is now gone. What is
>        it substitute???

What functionality is it you need from that file?

>     -  when trying to use gnus, some errors popped up, I attach the bug trace.

What does this have to do with org?

>     -  when I try to open a org file or to fire up my favourite 
>        org-preview-latex-fragment function another error pops up. Bug
>        trace attached.

It would help to see a minimal example and the actual steps you did to
"fire up" ...  From what I can see, you seem to invoking this org
capability within a gnus draft buffer and I do not see how this should
be possible.  A gnus draft buffer is not in org mode.  You could try
changing the buffer to org (M-x org-mode RET), do what you want, and
then switch back to message mode (I guess, M-x message-mode RET).
-- 
: Eric S Fraga (0xFFFCF67D), Emacs 24.3.50.1, Org release_8.0.3-193-g334581

^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: org-8.0.3+Xemacs 21.5.32: still problems
  2013-06-13 15:52 ` Eric S Fraga
@ 2013-06-13 16:35   ` Uwe Brauer
  2013-06-13 18:13     ` Rasmus
  2013-06-13 17:04   ` org-exp (was: org-8.0.3+Xemacs 21.5.32: still problems) Uwe Brauer
  1 sibling, 1 reply; 11+ messages in thread
From: Uwe Brauer @ 2013-06-13 16:35 UTC (permalink / raw)
  To: emacs-orgmode

[-- Attachment #1: Type: text/plain, Size: 2178 bytes --]

>> "Eric" == Eric S Fraga <Eric> writes:

   > Uwe Brauer <oub@mat.ucm.es> writes:
   >> Hello
   >> 
   >> Thanks to Achim's change in org-compat, I could compile and load the new
   >> orgmode, without the complain about the obsolete function stuff.
   >> 
   >> However there are still serious problems:
   >> 
   >> -  7.8.X had a file called org-exp.el. This file is now gone. What is
   >> it substitute???

   > What functionality is it you need from that file?

I don't remember. I have to investigate.... But where are all the
functions of this file now?

   >> -  when trying to use gnus, some errors popped up, I attach the bug trace.

   > What does this have to do with org?

I don't know. All I know is: when I use org-7.8.3 with my org
setting everything works smooth, but when I use org-8.0.3 with
the same setting the above error shows up.

Backward compatibility problems, I say.

   >> -  when I try to open a org file or to fire up my favourite 
   >> org-preview-latex-fragment function another error pops up. Bug
   >> trace attached.

   > It would help to see a minimal example and the actual steps you did to
   > "fire up" ...  From what I can see, you seem to invoking this org
   > capability within a gnus draft buffer and I do not see how this should
   > be possible.  A gnus draft buffer is not in org mode.  You could try
   > changing the buffer to org (M-x org-mode RET), do what you want, and
   > then switch back to message mode (I guess, M-x message-mode RET).



The issue is the following: in org 7.8.03 I can use
org-preview-latex-fragment in different  buffers with different
mayor modes! For example 

    -   a buffer in gnus-message-mode

    -  a buffer in matlab etc! 


This is for me a very important feature: not to switch to org
mode.

Here is a minimal example, which works in 7.8.03 but not in 8.0.3

    -   use gnus-summary-post-news, 

    -  I type some latex formula \(\int f=0\)

    - I execute org-preview-latex-fragment and voila the png are
      displayed, 

    -  later I use org-mime-htmlize to send this png
      via my email.


Uwe Brauer 

[-- Attachment #2: smime.p7s --]
[-- Type: application/pkcs7-signature, Size: 5556 bytes --]

^ permalink raw reply	[flat|nested] 11+ messages in thread

* org-exp (was: org-8.0.3+Xemacs 21.5.32: still problems)
  2013-06-13 15:52 ` Eric S Fraga
  2013-06-13 16:35   ` Uwe Brauer
@ 2013-06-13 17:04   ` Uwe Brauer
  2013-06-13 17:35     ` org-exp Nick Dokos
  2013-06-13 17:50     ` org-exp Achim Gratz
  1 sibling, 2 replies; 11+ messages in thread
From: Uwe Brauer @ 2013-06-13 17:04 UTC (permalink / raw)
  To: emacs-orgmode


[-- Attachment #1.1: Type: text/plain, Size: 770 bytes --]

>> "Eric" == Eric S Fraga <Eric> writes:

   > Uwe Brauer <oub@mat.ucm.es> writes:
   >> Hello
   >> 
   >> Thanks to Achim's change in org-compat, I could compile and load the new
   >> orgmode, without the complain about the obsolete function stuff.
   >> 
   >> However there are still serious problems:
   >> 
   >> -  7.8.X had a file called org-exp.el. This file is now gone. What is
   >> it substitute???

   > What functionality is it you need from that file?

I checked: this is the *essential* file to use 
org-preview-latex-fragment in a 
matlab-mode buffer or in a gnus-message-mode!


Without (require 'org-exp)

I obtain when using org-preview-latex-fragment in such buffers the
following error which I attach

Uwe Brauer 




[-- Attachment #1.2: bug-org-7 --]
[-- Type: application/octet-stream, Size: 1361 bytes --]

Debugger entered--Lisp error: (void-function org-infile-export-plist)
  (org-infile-export-plist)
  (plist-get (org-infile-export-plist) :latex-header-extra)
  (let* ((prefixnodir ...) (absprefix ...) (todir ...) (opt org-format-latex-options) (matchers ...) (re-list org-latex-regexps) (org-format-latex-header-extra ...) (cnt 0) txt hash link beg end re e checkdir executables-checked string m n block-type block linkfile movefile ov) (while (setq e ...) (setq m ... re ... n ... block-type ... block ...) (when ... ... ...)))
  org-format-latex("ltxpng/olinyk" "/home/oub/ALLES/eigenvalues/oliynik/" overlays "Creating images for buffer...%s" nil forbuffer dvipng)
  (let (beg end at msg) (cond (... ...) (... ... ...) (t ... ...)) (message msg "") (narrow-to-region beg end) (goto-char beg) (org-format-latex (concat "ltxpng/" ...) default-directory (quote overlays) msg at (quote forbuffer) (quote dvipng)) (message msg "done.  Use `C-c C-c' to remove images."))
  (save-restriction (let (beg end at msg) (cond ... ... ...) (message msg "") (narrow-to-region beg end) (goto-char beg) (org-format-latex ... default-directory ... msg at ... ...) (message msg "done.  Use `C-c C-c' to remove images.")))
  (save-excursion (save-restriction (let ... ... ... ... ... ... ...)))
  org-preview-latex-fragment(nil)
  call-interactively(org-preview-latex-fragment)

[-- Attachment #2: smime.p7s --]
[-- Type: application/pkcs7-signature, Size: 5556 bytes --]

^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: org-exp
  2013-06-13 17:04   ` org-exp (was: org-8.0.3+Xemacs 21.5.32: still problems) Uwe Brauer
@ 2013-06-13 17:35     ` Nick Dokos
  2013-06-14  8:12       ` org-exp Uwe Brauer
  2013-06-13 17:50     ` org-exp Achim Gratz
  1 sibling, 1 reply; 11+ messages in thread
From: Nick Dokos @ 2013-06-13 17:35 UTC (permalink / raw)
  To: emacs-orgmode

Uwe Brauer <oub@mat.ucm.es> writes:

>>> "Eric" == Eric S Fraga <Eric> writes:
>
>    > Uwe Brauer <oub@mat.ucm.es> writes:
>    >> Hello
>    >> 
>    >> Thanks to Achim's change in org-compat, I could compile and load the new
>    >> orgmode, without the complain about the obsolete function stuff.
>    >> 
>    >> However there are still serious problems:
>    >> 
>    >> -  7.8.X had a file called org-exp.el. This file is now gone. What is
>    >> it substitute???
>
>    > What functionality is it you need from that file?
>
> I checked: this is the *essential* file to use 
> org-preview-latex-fragment in a 
> matlab-mode buffer or in a gnus-message-mode!
>
>
> Without (require 'org-exp)
>
> I obtain when using org-preview-latex-fragment in such buffers the
> following error which I attach
>

I haven't looked at the error yet, but I would guess

  (require 'ox)

is the closest equivalent. But the exporter has changed so much that it
would not be surprising if this doesn't work either.

However, I just tried M-x org-preview-latex-fragment on a buffer in
fundamental mode and that worked for me, so there is hope.

Org-mode version 8.0.3 (release_8.0.3-197-g221768 @
/home/nick/elisp/org-mode/lisp/)

-- 
Nick

^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: org-exp
  2013-06-13 17:04   ` org-exp (was: org-8.0.3+Xemacs 21.5.32: still problems) Uwe Brauer
  2013-06-13 17:35     ` org-exp Nick Dokos
@ 2013-06-13 17:50     ` Achim Gratz
  2013-06-14  8:11       ` org-exp Uwe Brauer
  1 sibling, 1 reply; 11+ messages in thread
From: Achim Gratz @ 2013-06-13 17:50 UTC (permalink / raw)
  To: emacs-orgmode

Uwe Brauer writes:
>    >> -  7.8.X had a file called org-exp.el. This file is now gone. What is
>    >> it substitute???
>
>    > What functionality is it you need from that file?
>
> I checked: this is the *essential* file to use 
> org-preview-latex-fragment in a 
> matlab-mode buffer or in a gnus-message-mode!

Is it really?  The function org-preview-latex-fragment is defined in
org, but since it is not autoloaded, the assumption clearly is that Org
must have been loaded before the first use of that function.


Regards,
Achim.
-- 
+<[Q+ Matrix-12 WAVE#46+305 Neuron microQkb Andromeda XTk Blofeld]>+

Wavetables for the Waldorf Blofeld:
http://Synth.Stromeko.net/Downloads.html#BlofeldUserWavetables

^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: org-8.0.3+Xemacs 21.5.32: still problems
  2013-06-13 16:35   ` Uwe Brauer
@ 2013-06-13 18:13     ` Rasmus
  0 siblings, 0 replies; 11+ messages in thread
From: Rasmus @ 2013-06-13 18:13 UTC (permalink / raw)
  To: emacs-orgmode

Uwe Brauer <oub@mat.ucm.es> writes:

> Here is a minimal example, which works in 7.8.03 but not in 8.0.3
>
>     -   use gnus-summary-post-news, 
>
>     -  I type some latex formula \(\int f=0\)
>
>     - I execute org-preview-latex-fragment and voila the png are
>       displayed, 

Works for me. . . Org-mode version 8.0.3 (release_8.0.3-183-gca9937 @
/usr/share/emacs/site-lisp/org/).

>     -  later I use org-mime-htmlize to send this png
>       via my email.

I didn't try. 

-- 
Don't panic!!!

^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: org-exp
  2013-06-13 17:50     ` org-exp Achim Gratz
@ 2013-06-14  8:11       ` Uwe Brauer
  0 siblings, 0 replies; 11+ messages in thread
From: Uwe Brauer @ 2013-06-14  8:11 UTC (permalink / raw)
  To: emacs-orgmode

[-- Attachment #1: Type: text/plain, Size: 1261 bytes --]

>> "Achim" == Achim Gratz <Stromeko@nexgo.de> writes:

   > Uwe Brauer writes:
   >> >> -  7.8.X had a file called org-exp.el. This file is now gone. What is
   >> >> it substitute???
   >> 
   >> > What functionality is it you need from that file?
   >> 
   >> I checked: this is the *essential* file to use 
   >> org-preview-latex-fragment in a 
   >> matlab-mode buffer or in a gnus-message-mode!

   > Is it really?  The function org-preview-latex-fragment is defined in
   > org, but since it is not autoloaded, the assumption clearly is that Org
   > must have been loaded before the first use of that function.

Ok, you are right. In version 7 the situation is as follows:

    -  I start (X)emacs, 

    -  I open an org file, and 

    -  then I can use org-preview-latex-fragment.

    -  however when I just start Xemacs without having opened an
       org-file then I cannot use org-preview-latex-fragment.

However I only occasionally use org files on startup. I usually use
gnus, LaTeX and matlab files. That is why I need
org-preview-latex-fragment to be available *before* I open an org file.



I realized that I have much more fundamental problems with org-8 and I
will report them in a new thread.

Uwe 

[-- Attachment #2: smime.p7s --]
[-- Type: application/pkcs7-signature, Size: 5556 bytes --]

^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: org-exp
  2013-06-13 17:35     ` org-exp Nick Dokos
@ 2013-06-14  8:12       ` Uwe Brauer
  2013-06-14  9:00         ` org-exp Rasmus
  2013-06-14  9:10         ` org-exp Nick Dokos
  0 siblings, 2 replies; 11+ messages in thread
From: Uwe Brauer @ 2013-06-14  8:12 UTC (permalink / raw)
  To: emacs-orgmode

[-- Attachment #1: Type: text/plain, Size: 815 bytes --]

>> "Nick" == Nick Dokos <ndokos@gmail.com> writes:

   > Uwe Brauer <oub@mat.ucm.es> writes:
   >>>> "Eric" == Eric S Fraga <Eric> writes:
   >> 
   >> > Uwe Brauer <oub@mat.ucm.es> writes:

   >   (require 'ox)

   > is the closest equivalent. But the exporter has changed so much that it
   > would not be surprising if this doesn't work either.

It does not work, but as I found out I have much more fundamental
problems with the new org-8 version than I thought[1]
   > However, I just tried M-x org-preview-latex-fragment on a buffer in
   > fundamental mode and that worked for me, so there is hope.

I bet you had already opened an org file?

Uwe 

Footnotes:
[1]  I presumed the problems were caused of using org-7 setting for
     org-8, but unfortunately it is more complicated.


[-- Attachment #2: smime.p7s --]
[-- Type: application/pkcs7-signature, Size: 5556 bytes --]

^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: org-exp
  2013-06-14  8:12       ` org-exp Uwe Brauer
@ 2013-06-14  9:00         ` Rasmus
  2013-06-14  9:10         ` org-exp Nick Dokos
  1 sibling, 0 replies; 11+ messages in thread
From: Rasmus @ 2013-06-14  9:00 UTC (permalink / raw)
  To: emacs-orgmode

Uwe Brauer <oub@mat.ucm.es> writes:

>> (require 'ox)
>> is the closest equivalent. But the exporter has changed so much that it
>> would not be surprising if this doesn't work either.
> It does not work, but as I found out I have much more fundamental
> problems with the new org-8 version than I thought[1]

org-preview-latex-fragment is defined in org.el.  Did you try
to require org?

–Rasmus

-- 
Got mashed potatoes. Ain't got no T-Bone. No T-Bone

^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: org-exp
  2013-06-14  8:12       ` org-exp Uwe Brauer
  2013-06-14  9:00         ` org-exp Rasmus
@ 2013-06-14  9:10         ` Nick Dokos
  1 sibling, 0 replies; 11+ messages in thread
From: Nick Dokos @ 2013-06-14  9:10 UTC (permalink / raw)
  To: emacs-orgmode

Uwe Brauer <oub@mat.ucm.es> writes:

>>> "Nick" == Nick Dokos <ndokos@gmail.com> writes:
>
>    > Uwe Brauer <oub@mat.ucm.es> writes:
>    >>>> "Eric" == Eric S Fraga <Eric> writes:
>    >> 
>    >> > Uwe Brauer <oub@mat.ucm.es> writes:
>
>    >   (require 'ox)
>
>    > is the closest equivalent. But the exporter has changed so much that it
>    > would not be surprising if this doesn't work either.
>
> It does not work, but as I found out I have much more fundamental
> problems with the new org-8 version than I thought[1]
>    > However, I just tried M-x org-preview-latex-fragment on a buffer in
>    > fundamental mode and that worked for me, so there is hope.
>
> I bet you had already opened an org file?
>

Probably, but you can autoload it by adding something like this to your
.emacs:

(autoload 'org-preview-latex-fragment "org")

> Uwe 
>
> Footnotes:
> [1]  I presumed the problems were caused of using org-7 setting for
>      org-8, but unfortunately it is more complicated.
>

-- 
Nick

^ permalink raw reply	[flat|nested] 11+ messages in thread

end of thread, other threads:[~2013-06-14  9:10 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-06-13 10:51 org-8.0.3+Xemacs 21.5.32: still problems Uwe Brauer
2013-06-13 15:52 ` Eric S Fraga
2013-06-13 16:35   ` Uwe Brauer
2013-06-13 18:13     ` Rasmus
2013-06-13 17:04   ` org-exp (was: org-8.0.3+Xemacs 21.5.32: still problems) Uwe Brauer
2013-06-13 17:35     ` org-exp Nick Dokos
2013-06-14  8:12       ` org-exp Uwe Brauer
2013-06-14  9:00         ` org-exp Rasmus
2013-06-14  9:10         ` org-exp Nick Dokos
2013-06-13 17:50     ` org-exp Achim Gratz
2013-06-14  8:11       ` org-exp Uwe Brauer

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.