bug-auctex
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Bug-AUCTeX] 11.84; conversion of formula to picture fails


From: Peter Dyballa
Subject: Re: [Bug-AUCTeX] 11.84; conversion of formula to picture fails
Date: Sat, 5 Jan 2008 19:33:54 +0100


Am 05.01.2008 um 18:46 schrieb David Kastrup:

Peter Dyballa <address@hidden> writes:

Am 05.01.2008 um 16:47 schrieb David Kastrup:

Anyway, use the debug-on-entry or edebug-defun commands for setting
up debugging of functions.

edebug-defun does not seem to work! Marking the function definition or
just the function's name of preview-region in preview.el, then
invoking edebug-defun, loading auctex.el and preview-latex.el

Uh, you first use edebug-defun for defining a debuggable function, then
overwrite it by loading the unmodified version on top of that?

Why do you expect that to do anything?

Because I have no idea how edebug-defun is working. For me it never worked in the sense of seeing something like in GUD/Gdb. And the edebug info node does not seem helpful for me. Once again I stopped reading theoretical stuff that I can't easily follow and that might be meant for a different situation, one in which a developer is debugging some own function.

And doing it the other way round, as tried today twice or three times before, i.e. first loading auctex.el and preview-latex.el and then invoking edebug-defun, I see no change. Or, to be honest, I see now in *scratch* buffer a dark triangle in the left fringe, that "links" to the *Messages* buffer, on the line where preview-latex.el was loaded. And of course *Messages* tells something different:

        For information about GNU Emacs and the GNU system, type C-h C-a.
        Loading time...done
        Loading paren...done
        Mark set
        Edebug: edebug-anon0
        (Shell command succeeded with no output)
        Applying style hooks... done
        Sorting environment...
        Removing duplicates... done
        Applying style hooks... done
        (New file)
        Applying style hooks... done
        Sorting environment...
        Removing duplicates... done
        Applying style hooks... done
        Wrote /Users/pete/Quellen/auctex-11.84/preview/_region_.tex
        Cache preamble? (y or n)
        Type `C-c C-l' to display results of compilation.
        locating previews...
        Type `C-c C-l' to display results of compilation.



Tried with GNU Emacs 23.0.50 and 22.1.50 when launched with -Q, to
avoid discussions. The variable edebug-initial-mode's value is step.
I can understand why I prefer to debug PostScript, LaTeX, C, shell ...

Do you think people will be happier to help you if you make a point of
complaining all the time?

No. I wouldn't need to complain when I would receive some real help. I don't see that I could learn to debug other folks' functions with edebug-defun when I have no idea how to use this, successfully or not. Some folks are helpful and man enough to give this help. Of course I can be completely wrong assuming debugging with edebug-defun is not as simple as looking tv.

If you don't want people to lose motivation, I'd recommend keeping the unconstructive sulking to yourself.



Good point.

--
Mit friedvollen Grüßen

  Pete

Wer eher stirbt ist schon 'mal länger tot!





reply via email to

[Prev in Thread] Current Thread [Next in Thread]