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

Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.

Package: auctex; Reported by: gojjoe@HIDDEN; dated Sat, 4 Jul 2015 18:48:02 UTC; Maintainer for auctex is bug-auctex@HIDDEN.

Message received at submit <at> debbugs.gnu.org:


Received: (at submit) by debbugs.gnu.org; 4 Jul 2015 18:47:40 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sat Jul 04 14:47:40 2015
Received: from localhost ([127.0.0.1]:39929 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.80)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1ZBSTT-0004DG-3G
	for submit <at> debbugs.gnu.org; Sat, 04 Jul 2015 14:47:39 -0400
Received: from eggs.gnu.org ([208.118.235.92]:40956)
 by debbugs.gnu.org with esmtp (Exim 4.80)
 (envelope-from <gojjoe@HIDDEN>) id 1ZBSTQ-0004D1-S0
 for submit <at> debbugs.gnu.org; Sat, 04 Jul 2015 14:47:37 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
 (envelope-from <gojjoe@HIDDEN>) id 1ZBSTK-0000Ky-IX
 for submit <at> debbugs.gnu.org; Sat, 04 Jul 2015 14:47:31 -0400
X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org
X-Spam-Level: 
X-Spam-Status: No, score=0.8 required=5.0 tests=BAYES_50,FREEMAIL_FROM,
 T_DKIM_INVALID autolearn=disabled version=3.3.2
Received: from lists.gnu.org ([2001:4830:134:3::11]:45607)
 by eggs.gnu.org with esmtp (Exim 4.71)
 (envelope-from <gojjoe@HIDDEN>) id 1ZBSTK-0000Ku-FX
 for submit <at> debbugs.gnu.org; Sat, 04 Jul 2015 14:47:30 -0400
Received: from eggs.gnu.org ([2001:4830:134:3::10]:54458)
 by lists.gnu.org with esmtp (Exim 4.71)
 (envelope-from <gojjoe@HIDDEN>) id 1ZBSTJ-0003wl-FV
 for bug-auctex@HIDDEN; Sat, 04 Jul 2015 14:47:30 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
 (envelope-from <gojjoe@HIDDEN>) id 1ZBSTG-0000Ka-A0
 for bug-auctex@HIDDEN; Sat, 04 Jul 2015 14:47:29 -0400
Received: from mail-wi0-x22c.google.com ([2a00:1450:400c:c05::22c]:35573)
 by eggs.gnu.org with esmtp (Exim 4.71)
 (envelope-from <gojjoe@HIDDEN>) id 1ZBSTG-0000KS-2F
 for bug-auctex@HIDDEN; Sat, 04 Jul 2015 14:47:26 -0400
Received: by wiga1 with SMTP id a1so199409725wig.0
 for <bug-auctex@HIDDEN>; Sat, 04 Jul 2015 11:47:24 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113;
 h=message-id:date:from:user-agent:mime-version:to:subject:references
 :in-reply-to:content-type:content-transfer-encoding;
 bh=DZJokpoM+YyF3kjQYzrKrRuX8uLa8HPALasw4rvKfmY=;
 b=f5lgtFc9EdHSVfxOwTP+6uTq8Z9O2P8l43XynZAqbbDYRy6qv2MAcCioATjggynKmj
 ++4FJsTK0c0TZNUW7BpwqwKCT5ln4UKvrNBRx2JGegVEvkGoGah69OvL2rTWYMMxqfe+
 abwuRZkRgypRoH1Vk1nFmKSDSiTxUMm2RAw8Mpme1s7r6nWIGiWYuJd1fZObkR1if25X
 s/is+GO/nvZOaMAMNC7w4I//v12En8Qgs/RlyKjwKb2Xvd5ER4QeedFMbigN7RmnryPD
 jiA/dSfM3HFbFAsP0IoRgUBJNx20AMpVGiIc02vY6FitO5m44bZNyyGUz2HkkshSpGOC
 B9IQ==
X-Received: by 10.194.9.161 with SMTP id a1mr78211345wjb.39.1436035644647;
 Sat, 04 Jul 2015 11:47:24 -0700 (PDT)
Received: from  ([87.236.195.22])
 by mx.google.com with ESMTPSA id f3sm19699873wiz.13.2015.07.04.11.47.22
 for <bug-auctex@HIDDEN>
 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128);
 Sat, 04 Jul 2015 11:47:23 -0700 (PDT)
Message-ID: <55982A30.4080301@HIDDEN>
Date: Sat, 04 Jul 2015 20:47:12 +0200
From: gojjoe@HIDDEN
User-Agent: Thunderbird/666
MIME-Version: 1.0
To: bug-auctex@HIDDEN
Subject: 11.88.6; Toggling all previews' visibility on/off at once
References: <54CA4EB2.1070405@HIDDEN> <5528EE35.5000805@HIDDEN>
In-Reply-To: <5528EE35.5000805@HIDDEN>
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Transfer-Encoding: 8bit
X-Antivirus: avast! (VPS 150704-0, 2015-07-04), Outbound message
X-Antivirus-Status: Clean
X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address
 (bad octet value).
X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address
 (bad octet value).
X-Received-From: 2001:4830:134:3::11
X-Spam-Score: -4.0 (----)
X-Debbugs-Envelope-To: submit
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -4.0 (----)

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"
...




Acknowledgement sent to gojjoe@HIDDEN:
New bug report received and forwarded. Copy sent to bug-auctex@HIDDEN. Full text available.
Report forwarded to bug-auctex@HIDDEN:
bug#20983; Package auctex. Full text available.
Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.
Last modified: Mon, 25 Nov 2019 12:00:02 UTC

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