[Top][All Lists]

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

Re: [Bug-AUCTeX] Re: preview oddity when "merging" inline formulas...

From: David Kastrup
Subject: Re: [Bug-AUCTeX] Re: preview oddity when "merging" inline formulas...
Date: Tue, 12 Jul 2005 18:05:27 +0200
User-agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (gnu/linux)

Evil Boris <address@hidden> writes:

> David Kastrup <address@hidden> writes:
> Aha!  I had not realized (having not looked at the code, ever) that
> a preview is attached to the entire math mode string (a portion of
> the buffer, more precisely) and is kept around even if the string is
> modified.  Would it be too difficult to simply catch modifications
> of the string and nuke the preview?  I would find this a more
> logical behavior, as a user.

It has the disadvantage that one of the most common ways of working
with previews is doing small edits and regenerating the preview.

>>> A secondary issue is that there are those slightly annoying pictures
>>> attached to "opened" math expressions --- in this case the second
>>> one, that was attached to $y$ refuses to go away, even though it
>>> looks to me like I have have deleted character (namely the $ in
>>> front of "y") to which it seems to be attached.
>> Well, you can use C-c C-p C-c C-p to remove the preview, or you can
>> use mouse-3 on the "annoying picture" to remove it.
> Sorry, I meant the icon that lives at the beginning of the unfolded
> previewed math expression.  Forgot the appropriate term (can never
> remember the right lingo for the right context, sorry...).

I was aware of that.

> I just was pointing out that in my opinion a natural behavior from a
> users point of view would be for the icon to disappear once one
> (C-d)s over the characters surrounding the place where it appears to
> be located in the buffer.

I am not sure that crafting a consistent behavior on that premise
would be easy.

> Thanks for quick response.  I am just playing with preview, trying
> to see if it is useful to me---worked for years w/o previewing
> except in reading/proofreading stage, but seem to be constantly
> invoking an external previewer (via AUCTeX)...  Anything that slows
> things down too much or requires too much interaction to distract me
> from editing the manuscript is not worth it, for me.

Well, if you decide against previews: the newer AUCTeX versions
support source specials quite well, and those make for a more
convenient coupling of previewer and editor.

Still, I like the previews much better.

David Kastrup, Kriemhildstr. 15, 44793 Bochum

reply via email to

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