From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Tassilo Horn Newsgroups: gmane.emacs.help Subject: Re: PDF breaks emacs (PDF-Tools) Date: Wed, 04 Feb 2015 13:02:59 +0100 Message-ID: <87lhkddguk.fsf@gnu.org> References: <87k2zxdhp1.fsf@gmail.com> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1423051406 29635 80.91.229.3 (4 Feb 2015 12:03:26 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 4 Feb 2015 12:03:26 +0000 (UTC) Cc: peter.mao@gmail.com, emacs list To: torys.anderson@gmail.com (Tory S. Anderson) Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Wed Feb 04 13:03:25 2015 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1YIyfz-0001AX-L2 for geh-help-gnu-emacs@m.gmane.org; Wed, 04 Feb 2015 13:03:23 +0100 Original-Received: from localhost ([::1]:35794 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YIyfy-0003Dj-VN for geh-help-gnu-emacs@m.gmane.org; Wed, 04 Feb 2015 07:03:22 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:37244) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YIyfj-0003Bf-EW for help-gnu-emacs@gnu.org; Wed, 04 Feb 2015 07:03:08 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YIyff-00077s-CB for help-gnu-emacs@gnu.org; Wed, 04 Feb 2015 07:03:07 -0500 Original-Received: from deliver.uni-koblenz.de ([141.26.64.15]:44533) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YIyff-00077B-7K for help-gnu-emacs@gnu.org; Wed, 04 Feb 2015 07:03:03 -0500 Original-Received: from thinkpad-t440p (dhcp72.uni-koblenz.de [141.26.71.72]) (using TLSv1 with cipher AES128-SHA (128/128 bits)) (No client certificate requested) by deliver.uni-koblenz.de (Postfix) with ESMTPSA id B7EA41A82B2; Wed, 4 Feb 2015 13:02:59 +0100 (CET) Mail-Followup-To: torys.anderson@gmail.com (Tory S. Anderson), emacs list , peter.mao@gmail.com In-Reply-To: <87k2zxdhp1.fsf@gmail.com> (Tory S. Anderson's message of "Wed, 04 Feb 2015 06:44:42 -0500") User-Agent: Gnus/5.130012 (Ma Gnus v0.12) Emacs/25.0.50 (gnu/linux) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 141.26.64.15 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:102468 Archived-At: torys.anderson@gmail.com (Tory S. Anderson) writes: Hi Tory, > I've been giving emacs PDF-Tools (very poorly documented here: > http://www.emacswiki.org/emacs/PdfTools) a try and have been > thoroughly impressed. For the majority of my needs I'm even willing > to switch from the system pdf viewer (the excellent Okular) to this > one. Huh? The pdftools.el you've linked has no support for viewing PDFs. What it can do is save a buffer or region as a PDF file. That's all. So is it possible that you are actually opening PDF files from within emacs and then view them using Emacs' built-in `doc-view-mode'? > But then, just when life is getting rosy, my faith is completely > undermined by a PDF that not only refuses to open, but causes all of > emacs to crash terribly. The daring user of PDF-Tools can try such a > file here: http://orys.us/breaksemacspdf I've just downloaded and opened that file with Emacs (current Git version and also 24.4) and it worked without any problem. > I have not identified what causes the problem; other PDFs with image > components or side-runners don't seem to be problematic, nor are PDFs > of hundreds (even thousands) of pages in length. But if emacs crashes > here, I'm not sure where else it may fail. Any suggestions? Otherwise, > be warned. > > Note: by "crash" I mean, utterly and indefinitely freezes without > warning or complaint. Well, then that's no crash. ;-) I guess you did try to hit `C-g' repeatedly to see if that breaks the freeze, right? Otherwise, it's a bit hard to debug from my side. I see you use Emacs 24.3. I don't have that available right now but you could try upgrading to 24.4 and check if the freeze occurs there, too. Bye, Tassilo