From debbugs-submit-bounces@debbugs.gnu.org Mon Mar 21 16:52:53 2016 Received: (at submit) by debbugs.gnu.org; 21 Mar 2016 20:52:54 +0000 Received: from localhost ([127.0.0.1]:57397 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ai6on-0002BJ-JE for submit@debbugs.gnu.org; Mon, 21 Mar 2016 16:52:53 -0400 Received: from eggs.gnu.org ([208.118.235.92]:57750) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ahvW0-000337-Lo for submit@debbugs.gnu.org; Mon, 21 Mar 2016 04:48:45 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ahvVu-0006ZX-PH for submit@debbugs.gnu.org; Mon, 21 Mar 2016 04:48:39 -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.0 required=5.0 tests=BAYES_40,T_DKIM_INVALID autolearn=disabled version=3.3.2 Received: from lists.gnu.org ([2001:4830:134:3::11]:48786) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ahvVu-0006ZT-MQ for submit@debbugs.gnu.org; Mon, 21 Mar 2016 04:48:38 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:48721) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ahvVt-0002Fs-Qm for bug-auctex@gnu.org; Mon, 21 Mar 2016 04:48:38 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ahvVq-0006Yv-Ko for bug-auctex@gnu.org; Mon, 21 Mar 2016 04:48:37 -0400 Received: from mail-wm0-x22b.google.com ([2a00:1450:400c:c09::22b]:33693) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ahvVq-0006Yn-BN for bug-auctex@gnu.org; Mon, 21 Mar 2016 04:48:34 -0400 Received: by mail-wm0-x22b.google.com with SMTP id l68so142287103wml.0 for ; Mon, 21 Mar 2016 01:48:31 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=fcih-net.20150623.gappssmtp.com; s=20150623; h=from:to:subject:date:message-id:user-agent:mime-version; bh=ycRuBAgyyTjZ5Xaf34lgN/60p807vDG1SQZMT/Fe1Y8=; b=IkBs5UgLTMXMGs0zcizEzxH0idjc5epfy0gpzqC8WtxZ9HB27pnk27M2q+6BtjywNX 8222ZPki7TKiXy/EVXjrrrhRJPCg9SvoOdvUX80UDRtXwa3GYJ2cY+vzu2VVnZ+Ysure gdXjw+DASc+P0kYoz/YyhTONkog45QWZQvy4aaAPyLbK37W9ttn8G4Q/l4tVL9f3cp8a cFuG+rPGf0Ngn+IPDN07u1wYZDs/WAbemL5PgFRF5z75aasoUe3wqbuAihDgvDa4rXWz xuoM1SiwspPdC4WbGc3NjrgFOzsU7V+/JqgeiPiZpbY+fmzJLz5C/U/3hxZVjmSp8Jij Td6A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:subject:date:message-id:user-agent :mime-version; bh=ycRuBAgyyTjZ5Xaf34lgN/60p807vDG1SQZMT/Fe1Y8=; b=C3iW8942Ns0vudTFWT/TVyjOiEOp0qE9a558AT3qNIwWSbZItZjDORSRdRH4XfMrBR CTOwg9d+3mnDgFa/6icF+aGDMUxp3MEim94ou8fhwY7bn3qwJrAGc1jXqqG2TAIgeRDl NpERY9ALmUqgIgv2r0QkkQLvvFvhB/eplSUa2REmPBFxPABJwEStRxSZJkVrq8zIYEjg ZJCmFs5kiCiCI/oua3B+A4guXmwCCtHTOfbCtMTMpqI6DrID2AfexL71xGDBz1+QuExx ilSisyTIxyGdrNliX2l9vDg8I9/9ATzLwIa5wf1o6t1l/cWrlW+yv68kwiVERXapS9AD UbQA== X-Gm-Message-State: AD7BkJJbjFUl4SXL42vJRaYh6HspxMAeCLLSOOcy9hVuXPHxxgKQfchFMM2QhrGtWsTscQ== X-Received: by 10.28.46.132 with SMTP id u126mr13155305wmu.67.1458550110662; Mon, 21 Mar 2016 01:48:30 -0700 (PDT) Received: from localhost ([41.47.114.242]) by smtp.gmail.com with ESMTPSA id v2sm11378754wmd.24.2016.03.21.01.48.29 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 21 Mar 2016 01:48:30 -0700 (PDT) From: Waleed Yousef To: bug-auctex@gnu.org Subject: Reverting pdf in Multifile tex document Date: Mon, 21 Mar 2016 10:49:46 +0000 Message-ID: <877fgwds1h.fsf@fcih.net> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.5 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 2001:4830:134:3::11 X-Spam-Score: -5.0 (-----) X-Debbugs-Envelope-To: submit X-Mailman-Approved-At: Mon, 21 Mar 2016 16:52:52 -0400 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -5.0 (-----) I use pdf tools as a viewing program. Just after I updated Linux and Emacs last month a problem appeared. When I compile a document consisting of, e.g., Ch01 and Ch02, while opening Ch01, the pdf visits a page that is different from the one I am currently on LaTeX file. This problem does not appear if the document consists of just one main tex file. From debbugs-submit-bounces@debbugs.gnu.org Tue Mar 22 17:15:31 2016 Received: (at 23083) by debbugs.gnu.org; 22 Mar 2016 21:15:31 +0000 Received: from localhost ([127.0.0.1]:60501 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1aiTeF-0004Jt-70 for submit@debbugs.gnu.org; Tue, 22 Mar 2016 17:15:31 -0400 Received: from out1-smtp.messagingengine.com ([66.111.4.25]:52224) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1aiTeD-0004Jl-FF for 23083@debbugs.gnu.org; Tue, 22 Mar 2016 17:15:29 -0400 Received: from compute4.internal (compute4.nyi.internal [10.202.2.44]) by mailout.nyi.internal (Postfix) with ESMTP id 31904213DF for <23083@debbugs.gnu.org>; Tue, 22 Mar 2016 17:15:29 -0400 (EDT) Received: from frontend2 ([10.202.2.161]) by compute4.internal (MEProxy); Tue, 22 Mar 2016 17:15:29 -0400 DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to:x-sasl-enc :x-sasl-enc; s=smtpout; bh=uFAaKmP/WBmitskLQWoWsYWepsM=; b=IK/ac GrNORctVoDkGz1dmCeu8OWK2XqKaWnJSS7XkTEKP+S6rZi3iJ6f/dgFTw67EfOlt OZ/bywpwIt5tSse90dyxTA3PJsor8c7jZiOmiTVii845VJwfZq1y2naWuQGweRUY qCuDY5juJZxjiDVzPeBr4jMycCfJ6xFxvfLIPY= X-Sasl-enc: opuWT3GL6mxVDPm2p3xnR0jxSCtkj5eqHXdyW2hNmF5P 1458681328 Received: from thinkpad-t440p (unknown [2.160.234.135]) by mail.messagingengine.com (Postfix) with ESMTPA id 6E9506801BF; Tue, 22 Mar 2016 17:15:28 -0400 (EDT) From: Tassilo Horn To: Waleed Yousef Subject: Re: bug#23083: Reverting pdf in Multifile tex document References: <877fgwds1h.fsf@fcih.net> Date: Tue, 22 Mar 2016 22:15:26 +0100 In-Reply-To: <877fgwds1h.fsf@fcih.net> (Waleed Yousef's message of "Mon, 21 Mar 2016 10:49:46 +0000") Message-ID: <874mbydxjl.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.0.92 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.2 (/) X-Debbugs-Envelope-To: 23083 Cc: 23083@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 0.2 (/) Waleed Yousef writes: Hi Waleed, > I use pdf tools as a viewing program. Just after I updated Linux and > Emacs last month a problem appeared. When I compile a document > consisting of, e.g., Ch01 and Ch02, while opening Ch01, the pdf visits > a page that is different from the one I am currently on LaTeX > file. Sorry, I don't understand. What does it mean that you compile a multi-file document _while opening one of the document's files_? And why should compiling visit anything? And your subject says something about reverting the pdf buffer while you didn't mention anything about reverting in your text. So please provide a clear and complete recipe including all steps in the right order that I can try to reproduce the problem. Thanks, Tassilo From debbugs-submit-bounces@debbugs.gnu.org Sat Mar 26 11:30:57 2016 Received: (at 23083) by debbugs.gnu.org; 26 Mar 2016 15:30:57 +0000 Received: from localhost ([127.0.0.1]:38853 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ajqAz-0000Ii-8z for submit@debbugs.gnu.org; Sat, 26 Mar 2016 11:30:57 -0400 Received: from mail-wm0-f52.google.com ([74.125.82.52]:35772) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ajqAx-0000IR-Vp for 23083@debbugs.gnu.org; Sat, 26 Mar 2016 11:30:56 -0400 Received: by mail-wm0-f52.google.com with SMTP id l68so42203789wml.0 for <23083@debbugs.gnu.org>; Sat, 26 Mar 2016 08:30:55 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=fcih-net.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version; bh=rZq914r5vaz1TDq3AttYTgQ0nLKZqEL3HpBDrUjNkro=; b=nWqby01/R4oQmi6LlgTHsD5iBQcdHIj3R02D9mCOfMd/zL5w8PS+8+NlpIp8Ke7eJ4 jm7kdH570JvbojLJrCMOw2KQ9Ml6piPNyLr1Ep4pNFkodjmRMBc+3T+pxVy4MzbFq3iH dwvw5b5G77WWM5bcB14zxPPEuukVUSkO9zK6ZOYoEXu943xrW4rG+eawwYZoGI3zZg0e mP2+ROZEvjhw/xAVQNU7zHCPcx2Brl7xF/rf3MNIVdoPG4jOZITKXJUl+VAPHGkXUvHy gnmYpVXLkHWj53Fg5bSO3uwJyZfgtGKmbWb+j7ni5f6Vg98iSoTDid2QkpOAvw+KioA9 /v3Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:references:date:in-reply-to :message-id:user-agent:mime-version; bh=rZq914r5vaz1TDq3AttYTgQ0nLKZqEL3HpBDrUjNkro=; b=IGBsPKF2FhzojU7S/+CVyjk4mCqoBN9w/sellmE5WKhJbHfyDtLOOouwWECaVbij9+ 6KFitcWlWlkuQk+Cw3ZqV37tIg0DikBRH0Vb2AN+Tlzc1nZdy64XIgYm2iMF3tZBRxeI vqNMrIY5EQW5gNRNfg6Z4GV++0l9FXP8BsgulolTuzubdQsVt58GmEtYRT8xVbqtmVYg NcvOhnzpi9fYDUPFWMMCU0DaluKvRvz6QfnVueWzNBKBsyO3jliiSg87qVTnlDgEi1sq GlNVdQkYHF9ReF3J2TRtfOIvA59aoLjlTDntMSULNdu1pY18fzYEANWW+YMoyaepBGHi YQqQ== X-Gm-Message-State: AD7BkJJoJYKPWjNvS/QFeLSH+EFznIS5+jhRPEytBSG79QgMmFjrp4lHWefJBCb7S7tkFw== X-Received: by 10.28.188.5 with SMTP id m5mr2178335wmf.35.1459006250120; Sat, 26 Mar 2016 08:30:50 -0700 (PDT) Received: from localhost ([197.35.4.66]) by smtp.gmail.com with ESMTPSA id jv7sm16589195wjb.36.2016.03.26.08.30.48 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sat, 26 Mar 2016 08:30:49 -0700 (PDT) From: Waleed Yousef To: Tassilo Horn Subject: Re: bug#23083: Reverting pdf in Multifile tex document References: <877fgwds1h.fsf@fcih.net> <874mbydxjl.fsf@gnu.org> Date: Sat, 26 Mar 2016 17:32:06 +0000 In-Reply-To: <874mbydxjl.fsf@gnu.org> (Tassilo Horn's message of "Tue, 22 Mar 2016 22:15:26 +0100") Message-ID: <87wpop87s9.fsf@fcih.net> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.5 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 23083 Cc: 23083@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.7 (/) Thanks so much for your reply, For details and clarification, I will give two scenarios; S1 is working fine, and S2 is the one with the problem: ================================ S1: == the main tex file has, e.g., this: \begin{document} P1 \clearpage P2 \clearpage P3 \end{document} -The emacs screen is split to two windows, one with the tex file and the other with the pdf viewed in pdf-tools, and the pdf is displaying P1. Now, if I modify the word P3 in the tex file and hit C-c C-a, LaTeX compiles very well and the pdf file goes automatically from P1 to P3 (perfect.) ================================ S2: == the main tex file has: \begin{document} \include{tmp.tex} \clearpage any other text \end{document} - Now, suppose that tmp.tex has the same as what was in the main file of scenario 1; i.e.,: P1 \clearpage P2 \clearpage P3 When I compile the pdf does not visit the appropriate page as happens in scenario 1. ================================ The weird thing is that, this strange behavior just appeared after Archlinux and emacs update last month (I do not know which is responsible for that) Thanks so much and looking forward for your reply. Tassilo Horn writes: > Waleed Yousef writes: > > Hi Waleed, > >> I use pdf tools as a viewing program. Just after I updated Linux and >> Emacs last month a problem appeared. When I compile a document >> consisting of, e.g., Ch01 and Ch02, while opening Ch01, the pdf visits >> a page that is different from the one I am currently on LaTeX >> file. > > Sorry, I don't understand. What does it mean that you compile a > multi-file document _while opening one of the document's files_? And > why should compiling visit anything? And your subject says something > about reverting the pdf buffer while you didn't mention anything about > reverting in your text. > > So please provide a clear and complete recipe including all steps in the > right order that I can try to reproduce the problem. > > Thanks, > Tassilo From debbugs-submit-bounces@debbugs.gnu.org Sat Mar 26 18:00:45 2016 Received: (at 23083-done) by debbugs.gnu.org; 26 Mar 2016 22:00:45 +0000 Received: from localhost ([127.0.0.1]:38951 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ajwGD-0001sP-8g for submit@debbugs.gnu.org; Sat, 26 Mar 2016 18:00:45 -0400 Received: from out2-smtp.messagingengine.com ([66.111.4.26]:59003) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ajwGA-0001sH-RJ for 23083-done@debbugs.gnu.org; Sat, 26 Mar 2016 18:00:43 -0400 Received: from compute6.internal (compute6.nyi.internal [10.202.2.46]) by mailout.nyi.internal (Postfix) with ESMTP id 6D68F202B2 for <23083-done@debbugs.gnu.org>; Sat, 26 Mar 2016 18:00:42 -0400 (EDT) Received: from frontend1 ([10.202.2.160]) by compute6.internal (MEProxy); Sat, 26 Mar 2016 18:00:42 -0400 DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to:x-sasl-enc :x-sasl-enc; s=smtpout; bh=NesBLKZvYNxUonnfwl+nr8O63+Y=; b=qti/6 2Lzy2UQ7tmF/gL/p82rSl8pAOVzYdlEAMr17X0/XQ4M6fYgH/lal0keXK61mXbur Qsajz3T/7XBnCfVkxe1eQxEbmLXXSPpvJPVbIvHGvbz80wlrkwv05ld2RS/Njt/A pmqpyqwfMFYns20Ddhtm/Bx0LXtph0v79pL7+4= X-Sasl-enc: JjR4iI2GcChXKGrLzIshX20CpgagClTi012mqbl+pMqW 1459029642 Received: from thinkpad-t440p (unknown [2.163.80.163]) by mail.messagingengine.com (Postfix) with ESMTPA id B96E8C00014; Sat, 26 Mar 2016 18:00:41 -0400 (EDT) From: Tassilo Horn To: Waleed Yousef Subject: Re: bug#23083: Reverting pdf in Multifile tex document References: <877fgwds1h.fsf@fcih.net> <874mbydxjl.fsf@gnu.org> <87wpop87s9.fsf@fcih.net> Date: Sat, 26 Mar 2016 23:00:39 +0100 In-Reply-To: <87wpop87s9.fsf@fcih.net> (Waleed Yousef's message of "Sat, 26 Mar 2016 17:32:06 +0000") Message-ID: <87twjsx5ko.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.0.92 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.2 (/) X-Debbugs-Envelope-To: 23083-done Cc: 23083-done@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 0.2 (/) Waleed Yousef writes: Hi Waleed, > For details and clarification, I will give two scenarios; S1 is > working fine, and S2 is the one with the problem: Thanks a lot for the great recipe which made it rather easy to spot the bug. AUCTeX always called pdf-tool's sync function with the master file, not the current file. That should be fixed now and I took the chance to release a new GNU AUCTeX version (11.89.2) via ELPA. It should be listed in `M-x list-packages' within the next 24 hours. > The weird thing is that, this strange behavior just appeared after > Archlinux and emacs update last month (I do not know which is > responsible for that) I checked the code and its revisions, and that wrong behavior has been there for quite a long time. I think, I've introduced that bug on February 2015. So in case you've used an older version and recently upgraded to a newer AUCTeX version, that might have been the problem (or actually a good thing since you've spotted the bug). BTW, in case you don't already know, if you use PDF Tools as viewer, it's usually a good idea to also add (add-hook 'TeX-after-compilation-finished-functions #'TeX-revert-document-buffer) to your ~/.emacs. That will revert the pdf-view buffer as soon as the LaTeX compilation finishes so you don't have to do that manually. Bye, Tassilo From debbugs-submit-bounces@debbugs.gnu.org Sat Mar 26 23:54:39 2016 Received: (at 23083-done) by debbugs.gnu.org; 27 Mar 2016 03:54:39 +0000 Received: from localhost ([127.0.0.1]:39097 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ak1mg-0002Kf-Pe for submit@debbugs.gnu.org; Sat, 26 Mar 2016 23:54:38 -0400 Received: from mail-wm0-f44.google.com ([74.125.82.44]:37337) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ak1mf-0002KT-8O for 23083-done@debbugs.gnu.org; Sat, 26 Mar 2016 23:54:37 -0400 Received: by mail-wm0-f44.google.com with SMTP id p65so62357983wmp.0 for <23083-done@debbugs.gnu.org>; Sat, 26 Mar 2016 20:54:37 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=fcih-net.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version; bh=tspHY9IUdp5UfAGjRpWBGm+1wqac3bAft4y/NGQxW1w=; b=RfrAOazMBsD4DMFfMl1bi9sjAR4dL4ZOgvn4SMnEAsx5z/WsToLvjeqVb4BpTiGb4Z AQ09KkikjqzoWqJ3ZZ5LjJHwCzuOCjmlDPbwEQDDZKqRT4wnubasuJickRGw/P3KvZQj GT7N+UtyFeeEmz8ORYIcW6nfHUI35IQaRgF6cSPnd1Vi/ZMSPL962T+AHFMAygWNrZVi AdNAsoGLCoi07vsRjFFCkdLIXnToLt3YJ+y/z3YI4pDDJRQ8tKl/LEX2bZESiSygrYu8 m/1PJXDF+CeLaAX8G8K1n7DHtteCztNcdNGWHlbGNDKry6IHH2j9DRGx9b7cP1tyNWnK dflQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:references:date:in-reply-to :message-id:user-agent:mime-version; bh=tspHY9IUdp5UfAGjRpWBGm+1wqac3bAft4y/NGQxW1w=; b=mh9jzAX6IgvwgxkfstbakIKeynO4XTOoftjk1QT/x/w7UBe52h6+iq7/T8I3SC6u0A 0hZDnPYjBaTtXSMqim7aL78JV0LMN6vB0GSShnA568kGvB++m7x/mr+cw1rin6THhxbz 5Kl7PQMCLuy3nFkJWfn86ZFawzfriShlYgvgQ+NTbiiE+1qJcud+mI78kuR+xWMXUNYx whumO31farV/pY9Rdnqj9hblSBd54EdzwDL0Rw++KVNRW4BC+MkeztwBeIqdEAqBVQVq aRUWbWnLJRtvuT4ps8WGmtBWpPyxweO5Sq902isE9yHGGpHueyWlqCOXjoAobPDd0gHr XZ6Q== X-Gm-Message-State: AD7BkJLUtalPM01MTCzQ9BOyZhmAoxf6kZYReOK64uJtR4HIAwQVay0lr21QjnOWjIZo4g== X-Received: by 10.28.136.211 with SMTP id k202mr4467555wmd.93.1459050871545; Sat, 26 Mar 2016 20:54:31 -0700 (PDT) Received: from localhost ([41.47.104.218]) by smtp.gmail.com with ESMTPSA id y72sm4006786wmh.21.2016.03.26.20.54.29 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sat, 26 Mar 2016 20:54:30 -0700 (PDT) From: Waleed Yousef To: Tassilo Horn Subject: Re: bug#23083: Reverting pdf in Multifile tex document References: <877fgwds1h.fsf@fcih.net> <874mbydxjl.fsf@gnu.org> <87wpop87s9.fsf@fcih.net> <87twjsx5ko.fsf@gnu.org> Date: Sun, 27 Mar 2016 05:55:47 +0000 In-Reply-To: <87twjsx5ko.fsf@gnu.org> (Tassilo Horn's message of "Sat, 26 Mar 2016 23:00:39 +0100") Message-ID: <87oaa08nx8.fsf@fcih.net> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.5 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 23083-done Cc: 23083-done@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.7 (/) Thanks so much; is it available at MELPA as well? Tassilo Horn writes: > Waleed Yousef writes: > > Hi Waleed, > >> For details and clarification, I will give two scenarios; S1 is >> working fine, and S2 is the one with the problem: > > Thanks a lot for the great recipe which made it rather easy to spot the > bug. AUCTeX always called pdf-tool's sync function with the master > file, not the current file. That should be fixed now and I took the > chance to release a new GNU AUCTeX version (11.89.2) via ELPA. It > should be listed in `M-x list-packages' within the next 24 hours. > >> The weird thing is that, this strange behavior just appeared after >> Archlinux and emacs update last month (I do not know which is >> responsible for that) > > I checked the code and its revisions, and that wrong behavior has been > there for quite a long time. I think, I've introduced that bug on > February 2015. So in case you've used an older version and recently > upgraded to a newer AUCTeX version, that might have been the problem (or > actually a good thing since you've spotted the bug). > > BTW, in case you don't already know, if you use PDF Tools as viewer, > it's usually a good idea to also add > > (add-hook 'TeX-after-compilation-finished-functions > #'TeX-revert-document-buffer) > > to your ~/.emacs. That will revert the pdf-view buffer as soon as the > LaTeX compilation finishes so you don't have to do that manually. > > Bye, > Tassilo From debbugs-submit-bounces@debbugs.gnu.org Sun Mar 27 12:05:11 2016 Received: (at 23083-done) by debbugs.gnu.org; 27 Mar 2016 16:05:11 +0000 Received: from localhost ([127.0.0.1]:40280 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1akDBf-0004t7-Le for submit@debbugs.gnu.org; Sun, 27 Mar 2016 12:05:11 -0400 Received: from mail-wm0-f44.google.com ([74.125.82.44]:38410) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1akDBd-0004sU-Uf for 23083-done@debbugs.gnu.org; Sun, 27 Mar 2016 12:05:10 -0400 Received: by mail-wm0-f44.google.com with SMTP id l68so73480359wml.1 for <23083-done@debbugs.gnu.org>; Sun, 27 Mar 2016 09:05:09 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=fcih-net.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version; bh=U/c8nPIg9pBxk8/IuMRLUupzmls6aEdb+CJw0g5xQYE=; b=gp3vOyDeHd/TGs7Ilw/DuCSgEDrJcpxdO5wFQ5tz4vdfxYkm1IsKzYEmmF3lAZBp90 ddCk2q9a8GaOSFXPOoWBCNqGo49/UMMalPrbvNAlfkRW4pO3x1jpfwg7vJc/q2Nh48XR t4h+bNrd3zCxlDwsHVyauW/ZXvSZ6Myv4IR7W1M70SNPJglHyj81YTYLYayOs5X/qXvW jBPBrgSZqBkfZBS1fIv8ID53NbuR+ntC1WHsTbcYls0TgWM54/FIEV7kXI+BDtFGcwC2 TZDXKD/TiCee4B6kRokES3yavRPmoRfaigFOVU9nClGGMJf6zO7rwJcQSLm+0I9Sa3H3 lTyg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:references:date:in-reply-to :message-id:user-agent:mime-version; bh=U/c8nPIg9pBxk8/IuMRLUupzmls6aEdb+CJw0g5xQYE=; b=MtxeT380/dhpjsDUZ2Ju78/eUv+YBbwbhLs1HdVk0dy8klg8wYbRSGKwXVyFSfG+K5 1n6/GTcmV5Rd3FXvXgCCDKf7skc+Dkz+/YdrrJxV//et5TJ6vBaNnxLlVN2ScIomGdZE /kBcghqBeQ0FP71cmkBjQt+VAUu6rVwk1zmwYDGeKRmdyrdePv/gZuW8G09QP9vDZ74R rvfB7Emu6UejWvgCaenss6pz90/wR6ULknZDp0PTYZ+WWZAKky/0YffkLl0uYpx2VzI4 U5Iy8FqciYy9R3ptIbGdYP6RsjJGolHGbO3yBvK+dikfNwaRGqBpwM0BTdUk5ohV7Cex HRRA== X-Gm-Message-State: AD7BkJLbl8zHEqrCAIMuYvcQm9ZOgJ6PAiVKyDoo9YR5S7NJdfh76XW/S/HAx3L2o4Dx2A== X-Received: by 10.28.1.199 with SMTP id 190mr6868538wmb.3.1459094704320; Sun, 27 Mar 2016 09:05:04 -0700 (PDT) Received: from localhost ([41.237.92.154]) by smtp.gmail.com with ESMTPSA id lz5sm20935403wjb.5.2016.03.27.09.05.02 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sun, 27 Mar 2016 09:05:03 -0700 (PDT) From: Waleed Yousef To: Tassilo Horn Subject: Re: bug#23083: Reverting pdf in Multifile tex document References: <877fgwds1h.fsf@fcih.net> <874mbydxjl.fsf@gnu.org> <87wpop87s9.fsf@fcih.net> <87twjsx5ko.fsf@gnu.org> Date: Sun, 27 Mar 2016 18:06:22 +0000 In-Reply-To: <87twjsx5ko.fsf@gnu.org> (Tassilo Horn's message of "Sat, 26 Mar 2016 23:00:39 +0100") Message-ID: <87egav94o1.fsf@fcih.net> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.5 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 23083-done Cc: 23083-done@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.7 (/) Thanks so much; I got the update and it works great; Tassilo Horn writes: > Waleed Yousef writes: > > Hi Waleed, > >> For details and clarification, I will give two scenarios; S1 is >> working fine, and S2 is the one with the problem: > > Thanks a lot for the great recipe which made it rather easy to spot the > bug. AUCTeX always called pdf-tool's sync function with the master > file, not the current file. That should be fixed now and I took the > chance to release a new GNU AUCTeX version (11.89.2) via ELPA. It > should be listed in `M-x list-packages' within the next 24 hours. > >> The weird thing is that, this strange behavior just appeared after >> Archlinux and emacs update last month (I do not know which is >> responsible for that) > > I checked the code and its revisions, and that wrong behavior has been > there for quite a long time. I think, I've introduced that bug on > February 2015. So in case you've used an older version and recently > upgraded to a newer AUCTeX version, that might have been the problem (or > actually a good thing since you've spotted the bug). > > BTW, in case you don't already know, if you use PDF Tools as viewer, > it's usually a good idea to also add > > (add-hook 'TeX-after-compilation-finished-functions > #'TeX-revert-document-buffer) > > to your ~/.emacs. That will revert the pdf-view buffer as soon as the > LaTeX compilation finishes so you don't have to do that manually. > > Bye, > Tassilo From debbugs-submit-bounces@debbugs.gnu.org Sun Mar 27 14:02:51 2016 Received: (at 23083-done) by debbugs.gnu.org; 27 Mar 2016 18:02:51 +0000 Received: from localhost ([127.0.0.1]:40396 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1akF1X-00010W-DD for submit@debbugs.gnu.org; Sun, 27 Mar 2016 14:02:51 -0400 Received: from mail-wm0-f54.google.com ([74.125.82.54]:37511) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1akF1W-00010K-47 for 23083-done@debbugs.gnu.org; Sun, 27 Mar 2016 14:02:50 -0400 Received: by mail-wm0-f54.google.com with SMTP id p65so75481516wmp.0 for <23083-done@debbugs.gnu.org>; Sun, 27 Mar 2016 11:02:50 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=fcih-net.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version; bh=esH1k9zQ9pDGAQvKQ0gtyDisxpd/0H+YoYgw/lQMCsM=; b=y/dN6XireBQJdCf5nJB59UptnaqXEtSy8IE+mfU6Uv6tMSABQXo7CE5PlumOzDPtEu E/yVU5VHQP0XcsBkR4Djw/6vfdr/xqOTiMPXuknQ9qJchd3bUyFDbv308pOOQsgHyKaf xYhxgU/F4L4Zj0mKmw5/KV4yGJJzyBJlD5hRwTcxU8V0YAQm4GJ0dGgJQOzixxGxAsW7 UdSvFbUKmv0BwaL2/bl9TozYdiiCrz+cxJJBV8q0eMU9ftnN8AFKc/Gw3DdluSJLWnDn LjF7KJBU0XmQOlLACg+wAbBaI8VtTCIOwjrXjmHoDJwS3pEBHuUoTEDUYflC4+XU7e/E dQCQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:references:date:in-reply-to :message-id:user-agent:mime-version; bh=esH1k9zQ9pDGAQvKQ0gtyDisxpd/0H+YoYgw/lQMCsM=; b=N+txtZ7GA8XFMCXHVo0MiC44KSCJr0KtRultHYWctMTsvBs0mxCjCNocvuqAaUR9jJ Qy2O8MMNG3a+Hwi9rVc2clAAO10iyX41IQJK2tT2miI5f7xSqvI12aZnAHQXY3ysq32N ads8ys9TFwLgnz8wUeQaew9yb9PAixObMHEG15N64z4hfWktbB2ub3lwwW67OmsgHKBo UjItQe9A0uAtsSjxIVf4S/Yt8WiSxQLCK2nW0joGs8QLC76qt4X5mJ9GfFxocl3gjPJW 5XBd61MsbLQ+abKu886KsnJvnGYQa4B/ADwFDgIdsVTOOGDbd9ZMNhf2ZbEDTYbw/TXL gVOQ== X-Gm-Message-State: AD7BkJIIojIKfuMjVsuWu2jROXssOteCZorr+/0uMmHtKzwC0fnxIc6IxuUdcNBFccRnLQ== X-Received: by 10.195.13.76 with SMTP id ew12mr28096745wjd.68.1459101764238; Sun, 27 Mar 2016 11:02:44 -0700 (PDT) Received: from localhost ([41.237.92.154]) by smtp.gmail.com with ESMTPSA id v5sm6688539wmg.16.2016.03.27.11.02.42 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sun, 27 Mar 2016 11:02:43 -0700 (PDT) From: Waleed Yousef To: Tassilo Horn Subject: Re: bug#23083: Reverting pdf in Multifile tex document References: <877fgwds1h.fsf@fcih.net> <874mbydxjl.fsf@gnu.org> <87wpop87s9.fsf@fcih.net> <87twjsx5ko.fsf@gnu.org> Date: Sun, 27 Mar 2016 20:04:01 +0000 In-Reply-To: <87twjsx5ko.fsf@gnu.org> (Tassilo Horn's message of "Sat, 26 Mar 2016 23:00:39 +0100") Message-ID: <87io07bscu.fsf@fcih.net> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.5 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 23083-done Cc: 23083-done@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.7 (/) Thanks so much, the good news is that the problem disappeared. However, a new problem occurred. For some preamble (which is really weird) the pdf does not revert (refresh); however it goes to the right page (but without refreshing). For the following preamble, when I comment some packages the problem disappear!! \documentclass[11pt, b6paper, landscape, oneside]{memoir} %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% \usepackage{color, xcolor, colortbl} \usepackage{multicol} \usepackage{graphicx} \usepackage{natbib, bibentry} %\usepackage{subfig, picinpar} \usepackage{etoolbox} \usepackage{titling} \usepackage{url} \usepackage{amsmath} \usepackage{amsfonts, amssymb, bm} \usepackage{verbatim} %\usepackage{pdfpages} %\usepackage{hyperref} %\usepackage{pagecolor} \usepackage{array} \usepackage{paralist} \usepackage{geometry} \usepackage{dashrule} % \usepackage{tikz-timing}[2009/12/09] % \usepackage{pgf,pgfplots} % \usepackage{tkz-fct} \usepackage{tikz} \usetikzlibrary{arrows,automata} \usepackage[latin1]{inputenc} Tassilo Horn writes: > Waleed Yousef writes: > > Hi Waleed, > >> For details and clarification, I will give two scenarios; S1 is >> working fine, and S2 is the one with the problem: > > Thanks a lot for the great recipe which made it rather easy to spot the > bug. AUCTeX always called pdf-tool's sync function with the master > file, not the current file. That should be fixed now and I took the > chance to release a new GNU AUCTeX version (11.89.2) via ELPA. It > should be listed in `M-x list-packages' within the next 24 hours. > >> The weird thing is that, this strange behavior just appeared after >> Archlinux and emacs update last month (I do not know which is >> responsible for that) > > I checked the code and its revisions, and that wrong behavior has been > there for quite a long time. I think, I've introduced that bug on > February 2015. So in case you've used an older version and recently > upgraded to a newer AUCTeX version, that might have been the problem (or > actually a good thing since you've spotted the bug). > > BTW, in case you don't already know, if you use PDF Tools as viewer, > it's usually a good idea to also add > > (add-hook 'TeX-after-compilation-finished-functions > #'TeX-revert-document-buffer) > > to your ~/.emacs. That will revert the pdf-view buffer as soon as the > LaTeX compilation finishes so you don't have to do that manually. > > Bye, > Tassilo From debbugs-submit-bounces@debbugs.gnu.org Sun Mar 27 15:34:51 2016 Received: (at 23083-done) by debbugs.gnu.org; 27 Mar 2016 19:34:51 +0000 Received: from localhost ([127.0.0.1]:40411 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1akGSY-0003BA-Ud for submit@debbugs.gnu.org; Sun, 27 Mar 2016 15:34:51 -0400 Received: from out2-smtp.messagingengine.com ([66.111.4.26]:55186) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1akGSW-0003Ay-Ud for 23083-done@debbugs.gnu.org; Sun, 27 Mar 2016 15:34:49 -0400 Received: from compute5.internal (compute5.nyi.internal [10.202.2.45]) by mailout.nyi.internal (Postfix) with ESMTP id 7C7B220CE1 for <23083-done@debbugs.gnu.org>; Sun, 27 Mar 2016 15:34:48 -0400 (EDT) Received: from frontend1 ([10.202.2.160]) by compute5.internal (MEProxy); Sun, 27 Mar 2016 15:34:48 -0400 DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to:x-sasl-enc :x-sasl-enc; s=smtpout; bh=MfS4+nWwynS0dnlAh2kqUuVUU3U=; b=YMJeD tKENfBO9yBq7yJ0nyR8CUvwYo8kly77mds3narvRUq62qu1CSIcXsUKq2S6WzGnm FXyXIorwSQJtW+3I7wa2FshCXenkajYBE/vIkQpi5Q5zPZGkDhnIIrwklTutU/pK bEoD+rPIjuoZiOjbsXpUvWdcdzyLZggqFPfixw= X-Sasl-enc: 3KCGuKisWmyiDHY5gP0EefFLSLVlrqFDqS5/Wd6ymLCe 1459107288 Received: from thinkpad-t440p (unknown [31.213.99.255]) by mail.messagingengine.com (Postfix) with ESMTPA id CA7BFC00014; Sun, 27 Mar 2016 15:34:47 -0400 (EDT) From: Tassilo Horn To: Waleed Yousef Subject: Re: bug#23083: Reverting pdf in Multifile tex document References: <877fgwds1h.fsf@fcih.net> <874mbydxjl.fsf@gnu.org> <87wpop87s9.fsf@fcih.net> <87twjsx5ko.fsf@gnu.org> <87oaa08nx8.fsf@fcih.net> Date: Sun, 27 Mar 2016 21:34:45 +0200 In-Reply-To: <87oaa08nx8.fsf@fcih.net> (Waleed Yousef's message of "Sun, 27 Mar 2016 05:55:47 +0000") Message-ID: <87egavr9yi.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.0.92 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.2 (/) X-Debbugs-Envelope-To: 23083-done Cc: 23083-done@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 0.2 (/) Waleed Yousef writes: Hi Waleed, > Thanks so much; You're welcome! > is it available at MELPA as well? No, just on GNU ELPA. Bye, Tassilo From debbugs-submit-bounces@debbugs.gnu.org Sun Mar 27 16:02:47 2016 Received: (at 23083-done) by debbugs.gnu.org; 27 Mar 2016 20:02:47 +0000 Received: from localhost ([127.0.0.1]:40431 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1akGtb-0003r5-6F for submit@debbugs.gnu.org; Sun, 27 Mar 2016 16:02:47 -0400 Received: from out2-smtp.messagingengine.com ([66.111.4.26]:33327) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1akGtZ-0003qx-TH for 23083-done@debbugs.gnu.org; Sun, 27 Mar 2016 16:02:46 -0400 Received: from compute6.internal (compute6.nyi.internal [10.202.2.46]) by mailout.nyi.internal (Postfix) with ESMTP id 38C70208CE for <23083-done@debbugs.gnu.org>; Sun, 27 Mar 2016 16:02:44 -0400 (EDT) Received: from frontend1 ([10.202.2.160]) by compute6.internal (MEProxy); Sun, 27 Mar 2016 16:02:44 -0400 DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to:x-sasl-enc :x-sasl-enc; s=smtpout; bh=Zl2UnoazLIdAoXKW+yGTQcMzbfs=; b=hyo8Q 1wss0VPdwCAwUQAY/MdZ977LBydaCzaT2Nm4UQD6+HEiVjef90MMGQ4J0iRP/3UG +R5Oac+E/c8FKn+jLbG28lUIBLv9/Xv6G8IqhhiCFJiQbsJFL398Y7CfDjGvqxG3 2da1th7XvcsOxwMRt58y89JUNu4mz6JFl3luT4= X-Sasl-enc: Yi0FFyIxI9zkeSyq9IVBp0wT0XzPIF0BFhX/e2VFkC+9 1459108963 Received: from thinkpad-t440p (unknown [31.213.99.255]) by mail.messagingengine.com (Postfix) with ESMTPA id 396B4C00013; Sun, 27 Mar 2016 16:02:43 -0400 (EDT) From: Tassilo Horn To: Waleed Yousef Subject: Re: bug#23083: Reverting pdf in Multifile tex document References: <877fgwds1h.fsf@fcih.net> <874mbydxjl.fsf@gnu.org> <87wpop87s9.fsf@fcih.net> <87twjsx5ko.fsf@gnu.org> <87io07bscu.fsf@fcih.net> Date: Sun, 27 Mar 2016 22:02:40 +0200 In-Reply-To: <87io07bscu.fsf@fcih.net> (Waleed Yousef's message of "Sun, 27 Mar 2016 20:04:01 +0000") Message-ID: <87a8ljr8nz.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.0.92 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.2 (/) X-Debbugs-Envelope-To: 23083-done Cc: 23083-done@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 0.2 (/) Waleed Yousef writes: Hi Waleed, > the good news is that the problem disappeared. However, a new problem > occurred. > > For some preamble (which is really weird) the pdf does not revert > (refresh); however it goes to the right page (but without > refreshing). For the following preamble, when I comment some packages > the problem disappear!! Good catch! We've called `TeX-after-compilation-finished-functions' only if `TeX-error-list' was empty with the intention that you don't want to revert when errors have occurred which usually means that the PDF will be broken anyhow. However, your preamble issues lots of warnings, and those are collected in `TeX-error-list', too. I've fixed it in Git so that the hook is skipped only if there were real errors and not just warnings. Here is the patch: --8<---------------cut here---------------start------------->8--- modified tex-buf.el @@ -1551,7 +1551,7 @@ Rerun to get mark in right position\\." nil t) (md5 (current-buffer))))) (push (cons idx-file t) LaTeX-idx-changed-alist))) - (unless TeX-error-list + (unless (memq 'error (mapcar #'car TeX-error-list)) (run-hook-with-args 'TeX-after-compilation-finished-functions (with-current-buffer TeX-command-buffer (expand-file-name --8<---------------cut here---------------end--------------->8--- I'll do a new ELPA release within a week or so when I find some time. Bye, Tassilo From debbugs-submit-bounces@debbugs.gnu.org Mon Mar 28 16:42:33 2016 Received: (at 23083-done) by debbugs.gnu.org; 28 Mar 2016 20:42:33 +0000 Received: from localhost ([127.0.0.1]:42416 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1akdzd-0002cj-Fa for submit@debbugs.gnu.org; Mon, 28 Mar 2016 16:42:33 -0400 Received: from eggs.gnu.org ([208.118.235.92]:60253) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1akdzb-0002cV-Bb for 23083-done@debbugs.gnu.org; Mon, 28 Mar 2016 16:42:31 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1akdzR-0004rr-WC for 23083-done@debbugs.gnu.org; Mon, 28 Mar 2016 16:42:26 -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.2 required=5.0 tests=BAYES_50,RP_MATCHES_RCVD autolearn=disabled version=3.3.2 Received: from fencepost.gnu.org ([2001:4830:134:3::e]:36408) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1akdzR-0004rl-TE for 23083-done@debbugs.gnu.org; Mon, 28 Mar 2016 16:42:21 -0400 Received: from mail-wm0-f51.google.com ([74.125.82.51]:38392) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_ARCFOUR_SHA1:128) (Exim 4.82) (envelope-from ) id 1akdzR-00056J-DO for 23083-done@debbugs.gnu.org; Mon, 28 Mar 2016 16:42:21 -0400 Received: by mail-wm0-f51.google.com with SMTP id 20so31331217wmh.1 for <23083-done@debbugs.gnu.org>; Mon, 28 Mar 2016 13:42:21 -0700 (PDT) X-Gm-Message-State: AD7BkJJ0DttNgtKalQMegB/DauATJrm2sNKUCtrTojYElWKRgvkJDTT/H0R/7o36ZqNN2KtLFmt7xLQ0/7aLcQ== X-Received: by 10.28.211.130 with SMTP id k124mr12925228wmg.7.1459197740311; Mon, 28 Mar 2016 13:42:20 -0700 (PDT) MIME-Version: 1.0 Received: by 10.28.215.195 with HTTP; Mon, 28 Mar 2016 13:41:40 -0700 (PDT) In-Reply-To: <87a8ljr8nz.fsf@gnu.org> References: <877fgwds1h.fsf@fcih.net> <874mbydxjl.fsf@gnu.org> <87wpop87s9.fsf@fcih.net> <87twjsx5ko.fsf@gnu.org> <87io07bscu.fsf@fcih.net> <87a8ljr8nz.fsf@gnu.org> From: =?UTF-8?Q?Mos=C3=A8_Giordano?= Date: Mon, 28 Mar 2016 22:41:40 +0200 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: bug#23083: Reverting pdf in Multifile tex document To: Tassilo Horn Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2001:4830:134:3::e X-Spam-Score: -6.0 (------) X-Debbugs-Envelope-To: 23083-done Cc: 23083-done@debbugs.gnu.org, Waleed Yousef X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -6.0 (------) Hi Tassilo, 2016-03-27 22:02 GMT+02:00 Tassilo Horn : > Waleed Yousef writes: > > Hi Waleed, > >> the good news is that the problem disappeared. However, a new problem >> occurred. >> >> For some preamble (which is really weird) the pdf does not revert >> (refresh); however it goes to the right page (but without >> refreshing). For the following preamble, when I comment some packages >> the problem disappear!! > > Good catch! We've called `TeX-after-compilation-finished-functions' > only if `TeX-error-list' was empty with the intention that you don't > want to revert when errors have occurred which usually means that the > PDF will be broken anyhow. However, your preamble issues lots of > warnings, and those are collected in `TeX-error-list', too. > > I've fixed it in Git so that the hook is skipped only if there were real > errors and not just warnings. Here is the patch: > > --8<---------------cut here---------------start------------->8--- > modified tex-buf.el > @@ -1551,7 +1551,7 @@ Rerun to get mark in right position\\." nil t) > (md5 (current-buffer))))) > (push (cons idx-file t) LaTeX-idx-changed-alist))) > > - (unless TeX-error-list > + (unless (memq 'error (mapcar #'car TeX-error-list)) > (run-hook-with-args 'TeX-after-compilation-finished-functions > (with-current-buffer TeX-command-buffer > (expand-file-name > --8<---------------cut here---------------end--------------->8--- I changed it to use `TeX-error-report-switches' as it is simpler than going through `TeX-error-list' and it's the usual way to test presence of errors in the last TeX run. Maybe we should turn the whole `plist-get' call into a function. Bye, Mos=C3=A8 From debbugs-submit-bounces@debbugs.gnu.org Mon Mar 28 17:34:33 2016 Received: (at 23083-done) by debbugs.gnu.org; 28 Mar 2016 21:34:33 +0000 Received: from localhost ([127.0.0.1]:42465 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1akenx-0003yL-Gn for submit@debbugs.gnu.org; Mon, 28 Mar 2016 17:34:33 -0400 Received: from mail-wm0-f52.google.com ([74.125.82.52]:38572) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1akenv-0003y6-Hz for 23083-done@debbugs.gnu.org; Mon, 28 Mar 2016 17:34:31 -0400 Received: by mail-wm0-f52.google.com with SMTP id 20so32713605wmh.1 for <23083-done@debbugs.gnu.org>; Mon, 28 Mar 2016 14:34:31 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=fcih-net.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version:content-transfer-encoding; bh=zPh8e/Uta7x2E7pRFUonFKN20oQeEUzUiaJK0DF/dEQ=; b=pX8aRBNycVGLkbgQOoxnRKZjcs7AXFDALuuPkp9pWjmflVVl6n2MeNsufuH5m6SW4P quyq/tItKcG1UUUUdJz1gQg0UCFyIUWip+rPbfY6++bqgA1ZVT3QhFM1rzA3piVXpk6u lt4nhCYqY4qKYgCnDj8rSluzUs/OmMTB8XmRVsGcCUbXnMhNoIYpv6a8f0nitxAa7SA7 /1VVrOWOuqKNw3Ia68sk4AhI065vi0mnxAaIRIgqunWQvQaPKBp4UKtG8SGxt8Vvwhkq X/lXedpFPvSSPGziOFd6Us8KK48BjphtAoffY9XDMS802OM7leLfLDbWmT2JoQ1XCLjI jfxg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:references:date:in-reply-to :message-id:user-agent:mime-version:content-transfer-encoding; bh=zPh8e/Uta7x2E7pRFUonFKN20oQeEUzUiaJK0DF/dEQ=; b=mjCkejU+/2uSltTdWsy2FK3dxjbUxCNrG5YaquiNIH9koMk4Zd8qM6YEhK0xzBeKK5 liOgvqwntv1prf+WO6yfX+UPJNtpuRrvmYjF5BiLbuVqy/i5UMU6leseOzUmPJAYs23c 68QUseCVpWiR0tY9qicyffyx45tM2IZfiZBejx/qQ8fsonJL4Jycvv2yT6ajU2Gl4XgO Q/LRAVeM8M2AwprZzeK3sLDoTiWxLurAYk4vOZVUuCRRnCuDetyMq468/Azbp6IHDdJZ 7lcvdAxUVGXjPc4rbYFnNnrfgKPFWBOfQgigSD246WiH8icSXfin3exM34inXyEKAfI3 7lHg== X-Gm-Message-State: AD7BkJKe5ILRKepApjt/QU+KVj7PPLjw7xx3bcoWPuopfhZiwpQpNiUCjEmXW3seQjgHTA== X-Received: by 10.194.2.41 with SMTP id 9mr33311639wjr.10.1459200866133; Mon, 28 Mar 2016 14:34:26 -0700 (PDT) Received: from localhost ([197.35.45.30]) by smtp.gmail.com with ESMTPSA id e19sm11789309wmd.1.2016.03.28.14.34.24 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 28 Mar 2016 14:34:25 -0700 (PDT) From: Waleed Yousef To: =?utf-8?Q?Mos=C3=A8?= Giordano Subject: Re: bug#23083: Reverting pdf in Multifile tex document References: <877fgwds1h.fsf@fcih.net> <874mbydxjl.fsf@gnu.org> <87wpop87s9.fsf@fcih.net> <87twjsx5ko.fsf@gnu.org> <87io07bscu.fsf@fcih.net> <87a8ljr8nz.fsf@gnu.org> Date: Mon, 28 Mar 2016 23:35:39 +0000 In-Reply-To: (=?utf-8?Q?=22Mos=C3=A8?= Giordano"'s message of "Mon, 28 Mar 2016 22:41:40 +0200") Message-ID: <878u129nw4.fsf@fcih.net> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.5 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 23083-done Cc: 23083-done@debbugs.gnu.org, Tassilo Horn X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.7 (/) So, this will be released to elpa eventually? Mos=C3=A8 Giordano writes: > Hi Tassilo, > > 2016-03-27 22:02 GMT+02:00 Tassilo Horn : >> Waleed Yousef writes: >> >> Hi Waleed, >> >>> the good news is that the problem disappeared. However, a new problem >>> occurred. >>> >>> For some preamble (which is really weird) the pdf does not revert >>> (refresh); however it goes to the right page (but without >>> refreshing). For the following preamble, when I comment some packages >>> the problem disappear!! >> >> Good catch! We've called `TeX-after-compilation-finished-functions' >> only if `TeX-error-list' was empty with the intention that you don't >> want to revert when errors have occurred which usually means that the >> PDF will be broken anyhow. However, your preamble issues lots of >> warnings, and those are collected in `TeX-error-list', too. >> >> I've fixed it in Git so that the hook is skipped only if there were real >> errors and not just warnings. Here is the patch: >> >> --8<---------------cut here---------------start------------->8--- >> modified tex-buf.el >> @@ -1551,7 +1551,7 @@ Rerun to get mark in right position\\." nil t) >> (md5 (current-buffer))))) >> (push (cons idx-file t) LaTeX-idx-changed-alist))) >> >> - (unless TeX-error-list >> + (unless (memq 'error (mapcar #'car TeX-error-list)) >> (run-hook-with-args 'TeX-after-compilation-finished-functions >> (with-current-buffer TeX-command-buffer >> (expand-file-name >> --8<---------------cut here---------------end--------------->8--- > > I changed it to use `TeX-error-report-switches' as it is simpler than > going through `TeX-error-list' and it's the usual way to test presence > of errors in the last TeX run. Maybe we should turn the whole > `plist-get' call into a function. > > Bye, > Mos=C3=A8 From debbugs-submit-bounces@debbugs.gnu.org Tue Mar 29 06:44:21 2016 Received: (at 23083-done) by debbugs.gnu.org; 29 Mar 2016 10:44:21 +0000 Received: from localhost ([127.0.0.1]:42890 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1akr8H-00084R-LP for submit@debbugs.gnu.org; Tue, 29 Mar 2016 06:44:21 -0400 Received: from out3-smtp.messagingengine.com ([66.111.4.27]:58674) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1akr8F-00084J-Ei for 23083-done@debbugs.gnu.org; Tue, 29 Mar 2016 06:44:19 -0400 Received: from compute4.internal (compute4.nyi.internal [10.202.2.44]) by mailout.nyi.internal (Postfix) with ESMTP id 25D70215DF for <23083-done@debbugs.gnu.org>; Tue, 29 Mar 2016 06:44:19 -0400 (EDT) Received: from frontend1 ([10.202.2.160]) by compute4.internal (MEProxy); Tue, 29 Mar 2016 06:44:19 -0400 DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to:x-sasl-enc :x-sasl-enc; s=smtpout; bh=8sRqCvjPKKmr4CYqa7vT66yco1c=; b=VU8gE luRki9Uuew8UuUhN4UJG3z/lnVZGjP0/f4v1YfHm8564Ayn2mnv9LHs/RrKHImEW xzTZxJrwA8ekfQVJbIZoQKhS4A3grZ1179taOAF3Jw9qfaKuX2YQyIHQc086WlW4 E6ovDYC3Xam7XyuUanXb/k8zO16lxeHUBCr/og= X-Sasl-enc: Jcaj3RYY1FEexPDJavtGZrgDt7s3wnXpEheV/JgqfloP 1459248258 Received: from thinkpad-t440p (unknown [31.212.105.7]) by mail.messagingengine.com (Postfix) with ESMTPA id 46D40C00016; Tue, 29 Mar 2016 06:44:18 -0400 (EDT) From: Tassilo Horn To: Waleed Yousef Subject: Re: bug#23083: Reverting pdf in Multifile tex document References: <877fgwds1h.fsf@fcih.net> <874mbydxjl.fsf@gnu.org> <87wpop87s9.fsf@fcih.net> <87twjsx5ko.fsf@gnu.org> <87io07bscu.fsf@fcih.net> <87a8ljr8nz.fsf@gnu.org> <878u129nw4.fsf@fcih.net> Date: Tue, 29 Mar 2016 12:44:15 +0200 In-Reply-To: <878u129nw4.fsf@fcih.net> (Waleed Yousef's message of "Mon, 28 Mar 2016 23:35:39 +0000") Message-ID: <87io05mum8.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.0.92 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.2 (/) X-Debbugs-Envelope-To: 23083-done Cc: =?utf-8?Q?Mos=C3=A8?= Giordano , 23083-done@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 0.2 (/) Waleed Yousef writes: > So, this will be released to elpa eventually? Yes. >> I changed it to use `TeX-error-report-switches' as it is simpler than >> going through `TeX-error-list' and it's the usual way to test >> presence of errors in the last TeX run. Maybe we should turn the >> whole `plist-get' call into a function. Ah, even better. Thanks. Bye, Tassilo From unknown Sat Aug 16 22:00:09 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Tue, 26 Apr 2016 11:24:04 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator