GNU bug report logs - #20983
11.88.6; Toggling all previews' visibility on/off at once

Previous Next

Package: auctex;

Reported by: gojjoe <at> gmail.com

Date: Sat, 4 Jul 2015 18:48:02 UTC

Severity: normal

Tags: wontfix

Found in version 11.88.6

Done: Arash Esbati <arash <at> gnu.org>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 20983 in the body.
You can then email your comments to 20983 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-auctex <at> gnu.org:
bug#20983; Package auctex. (Sat, 04 Jul 2015 18:48:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to gojjoe <at> gmail.com:
New bug report received and forwarded. Copy sent to bug-auctex <at> gnu.org. (Sat, 04 Jul 2015 18:48:03 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: gojjoe <at> gmail.com
To: bug-auctex <at> gnu.org
Subject: 11.88.6; Toggling all previews' visibility on/off at once
Date: Sat, 04 Jul 2015 20:47:12 +0200
Dear All,

This a feature request and a report of a strange behaviour 
of Preview's "preview-at-point".

In Preview, it would be useful to have a function that 
toggles on/off the visibility of all previews in the buffer, 
independently of the position of point. The key word here is 
"toggle", rather than "regenerate".

The function preview-at-point only toggles one preview, and 
only if the point is positioned on the preview. So if one 
only needs to take a quick look at the LaTeX code of a 
couple of formulae above or below point, one must 1. move 
point to the preview, 2. call preview-at-point (or mouse-2)
, 3. take a look and memorize the code of interest, 4. call 
preview-at-point, 5. move point back.  Another option is to 
clear all previews (say in the section) and then regenerate 
them – but this can take much longer time.

I tried to use/reverse engineer both "preview-at-point" and 
"preview-toggle" to build a function that toggles all 
previews at once, but failed (I don't understand how the 
"overlay" argument works). If anyone can suggest a method to 
do this, I'd be very grateful. Otherwise I'll leave this as 
a feature request.

The bug: While investigating the above, I noticed that 
calling "preview-at-point" (C-c C-p C-p) generates an error 
when point is not on a preview and a region is not selected. 
Is this the desired behaviour?


Preview and AUCTeX are great, thank you so much to all of you!
Joe


Emacs  : GNU Emacs 24.5.1 (i686-pc-mingw32)
 of 2015-04-11 on LEG570
Package: 11.88.6

current state:
==============
(setq
 AUCTeX-date "2015-05-08"
 window-system 'w32
 LaTeX-version "2e"
...




Information forwarded to bug-auctex <at> gnu.org:
bug#20983; Package auctex. (Fri, 08 Mar 2024 20:50:01 GMT) Full text and rfc822 format available.

Message #8 received at 20983 <at> debbugs.gnu.org (full text, mbox):

From: Arash Esbati <arash <at> gnu.org>
To: gojjoe <at> gmail.com
Cc: 20983 <at> debbugs.gnu.org
Subject: Re: bug#20983: 11.88.6; Toggling all previews' visibility on/off at
 once
Date: Fri, 08 Mar 2024 21:48:20 +0100
gojjoe <at> gmail.com writes:

> Dear All,
>
> This a feature request and a report of a strange behaviour of
> Preview's "preview-at-point".
>
> In Preview, it would be useful to have a function that toggles on/off
> the visibility of all previews in the buffer, independently of the
> position of point. The key word here is "toggle", rather than
> "regenerate".
>
> The function preview-at-point only toggles one preview, and only if
> the point is positioned on the preview. So if one only needs to take a
> quick look at the LaTeX code of a couple of formulae above or below
> point, one must 1. move point to the preview, 2. call preview-at-point
> (or mouse-2)
> , 3. take a look and memorize the code of interest, 4. call
> preview-at-point, 5. move point back.  Another option is to clear all
> previews (say in the section) and then regenerate them – but this can
> take much longer time.
>
> I tried to use/reverse engineer both "preview-at-point" and
> "preview-toggle" to build a function that toggles all previews at
> once, but failed (I don't understand how the "overlay" argument
> works). If anyone can suggest a method to do this, I'd be very
> grateful. Otherwise I'll leave this as a feature request.
>
> The bug: While investigating the above, I noticed that calling
> "preview-at-point" (C-c C-p C-p) generates an error when point is not
> on a preview and a region is not selected. Is this the desired
> behaviour?

(I'm going through old bug reports that unfortunately weren't resolved
at the time.)

The principle author of preview-latex is inactive for some time now, so
the package is in sort of maintenance mode.  So unless someone else
provides a complete patch, this feature will not get implemented,
unfortunately.  Therefore I'm closing this report.  We can reopen this
if the situation changes.

> Preview and AUCTeX are great, thank you so much to all of you!

Thank your for the kind words.

Best, Arash




Added tag(s) wontfix. Request was from Arash Esbati <arash <at> gnu.org> to control <at> debbugs.gnu.org. (Fri, 08 Mar 2024 20:50:02 GMT) Full text and rfc822 format available.

bug closed, send any further explanations to 20983 <at> debbugs.gnu.org and gojjoe <at> gmail.com Request was from Arash Esbati <arash <at> gnu.org> to control <at> debbugs.gnu.org. (Fri, 08 Mar 2024 20:50:02 GMT) Full text and rfc822 format available.

bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Sat, 06 Apr 2024 11:24:26 GMT) Full text and rfc822 format available.

This bug report was last modified 1 year and 52 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.