emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Uwe Brauer <oub@mat.ucm.es>
To: emacs-orgmode@gnu.org
Cc: xemacs-beta@xemacs.org
Subject: Re: Bug: org-preview-latex-fragment-region fails [7.8.03] [Xemacs 21.5.31 Mule]
Date: Sat, 26 May 2012 10:38:32 +0200	[thread overview]
Message-ID: <87d35rjq0n.fsf@mat.ucm.es> (raw)
In-Reply-To: 87vcjjx2yd.fsf@altern.org

>> On Fri, 25 May 2012 23:19:52 +0200, Bastien <bzg@gnu.org> wrote:
Hi Bastien,

   > I don't see any backtrace, did you forgot to attached it?


This is very odd, I just checked my outgoing mail (I have a
copy in gmail) and there I can see the backtrace in form of
an attachment, while indeed when I read my email in gmane I
cannot see it. 

Is there any filter on the mailing list which
removes attachment?? That would be good to know for the
future.

I resend the backtrace  at the end of the message
but not an attachment.

   > In any case, I don't use XEmacs so please send a patch
   > for this if you can.
Yes I know :'(  however I thought it might be one of these
standard incompatiblies between GNU emacs and Xemacs. In any
case meanwhile I found a workaround, it is however an ugly
kludge. (I have to replace 
(narrow-to-region beg end)
by (narrow-to-region (point) (mark)), that is rather odd.
I also still use 7.8.03; would that  be problem concerning a
patch?


Just one question more: I see in the function 
org-preview-latex-fragment-region various `setq'
I thought one should use `let' instead; anyhow.

Uwe 

,----
|  Debugger entered--Lisp error: (wrong-type-argument integer-or-marker-p nil)
|    apply(debug error (wrong-type-argument integer-or-marker-p nil))
|    edebug(error (wrong-type-argument integer-or-marker-p nil))
|    narrow-to-region(nil nil)
|    (edebug-after (edebug-before 55) 58 (narrow-to-region
|    (edebug-after 0 56 beg) (edebug-after 0 57 end))) 
|    (let (beg end at msg) (edebug-after (edebug-before 5) 51
|    (cond ... ... ...)) (edebug-after (edebug-before 52) 54
|    (message ... "")) (edebug-after (edebug-before 55) 58
|    (narrow-to-region ... ...)) (edebug-after (edebug-before
|    59) 61 (goto-char ...)) (edebug-after (edebug-before 62)
|    73 (org-format-latex ... ... ... ... ... ... ...))
|    (edebug-after (edebug-before 74) 76 (message ... "done.
|    Use `C-c C-c' to remove images."))) 
|    (edebug-after (edebug-before 4) 77 (let (beg end at msg)
|    (edebug-after ... 51 ...) (edebug-after ... 54 ...)
|    (edebug-after ... 58 ...) (edebug-after ... 61 ...)
|    (edebug-after ... 73 ...) (edebug-after ... 76 ...))) 
|    (save-restriction (edebug-after (edebug-before 4) 77 (let
|    ... ... ... ... ... ... ...))) 
|    (edebug-after (edebug-before 3) 78 (save-restriction
|    (edebug-after ... 77 ...))) 
|    (save-excursion (edebug-after (edebug-before 3) 78
|    (save-restriction ...))) 
|    (edebug-after (edebug-before 2) 79 (save-excursion
|    (edebug-after ... 78 ...))) 
|    (lambda nil (edebug-after (edebug-before 0) 1
|    (org-remove-latex-fragment-image-overlays)) (edebug-after
|    (edebug-before 2) 79 (save-excursion ...)))() 
|    edebug-enter(org-preview-latex-fragment-region (1 9 nil)
|    (lambda nil (edebug-after (edebug-before 0) 1
|    (org-remove-latex-fragment-image-overlays)) (edebug-after
|    (edebug-before 2) 79 (save-excursion ...)))) 
|    edebug-enter(org-preview-latex-fragment-region (1 9 nil)
|    (lambda nil (edebug-after (edebug-before 0) 1
|    (org-remove-latex-fragment-image-overlays)) (edebug-after
|    (edebug-before 2) 79 (save-excursion ...)))) 
|    org-preview-latex-fragment-region(1 9)
|    call-interactively(org-preview-latex-fragment-region)
|    command-execute(org-preview-latex-fragment-region t)
|    execute-extended-command(nil)
|    call-interactively(execute-extended-command)
|    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 (wrong-type-argument integer-or-marker-p nil))
|    org-preview-latex-fragment-region(1855 1873)
|    call-interactively(org-preview-latex-fragment-region)
|    command-execute(org-preview-latex-fragment-region t)
|    execute-extended-command(nil)
|    call-interactively(execute-extended-command)
`----

  reply	other threads:[~2012-05-26  8:38 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-05-25 16:01 Bug: org-preview-latex-fragment-region fails [7.8.03] [Xemacs 21.5.31 Mule] Uwe Brauer
2012-05-25 21:19 ` Bastien
2012-05-26  8:38   ` Uwe Brauer [this message]
2012-05-26 14:57     ` Achim Gratz

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87d35rjq0n.fsf@mat.ucm.es \
    --to=oub@mat.ucm.es \
    --cc=emacs-orgmode@gnu.org \
    --cc=xemacs-beta@xemacs.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).