From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: torys.anderson@gmail.com (Tory S. Anderson) Newsgroups: gmane.emacs.help Subject: Re: PDF breaks emacs (PDF-Tools) Date: Wed, 04 Feb 2015 07:40:47 -0500 Message-ID: <87fvaldf3k.fsf@gmail.com> References: <87k2zxdhp1.fsf@gmail.com> <87lhkddguk.fsf@gnu.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1423053684 2878 80.91.229.3 (4 Feb 2015 12:41:24 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 4 Feb 2015 12:41:24 +0000 (UTC) Cc: Andreas Politz To: emacs list , Tassilo Horn Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Wed Feb 04 13:41:12 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 1YIzGZ-0006vr-PP for geh-help-gnu-emacs@m.gmane.org; Wed, 04 Feb 2015 13:41:11 +0100 Original-Received: from localhost ([::1]:36004 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YIzGZ-0007G6-7u for geh-help-gnu-emacs@m.gmane.org; Wed, 04 Feb 2015 07:41:11 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:47079) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YIzGN-0007G0-A2 for help-gnu-emacs@gnu.org; Wed, 04 Feb 2015 07:41:00 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YIzGG-0003Rv-DX for help-gnu-emacs@gnu.org; Wed, 04 Feb 2015 07:40:59 -0500 Original-Received: from mail-yk0-x22b.google.com ([2607:f8b0:4002:c07::22b]:38650) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YIzGE-0003RP-RX; Wed, 04 Feb 2015 07:40:50 -0500 Original-Received: by mail-yk0-f171.google.com with SMTP id 10so530280ykt.2; Wed, 04 Feb 2015 04:40:50 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version:content-type; bh=PKUfTyiPzPj+yHCuKwUmUoQzTPGOCdB3LxKOdmShNgk=; b=ro4PvO68oQ6+QBEQfLfgyeJRTxFEcn0r49agpeu1x/TiSvOfnVGkZs0adKCbxLP0h1 MFm0+jzNlbKuBvHbZ9+S8uP0imtMma2JHJq+q1vS7xp8qxVk6Oyu2i7loxgDFfTSm/ip P87byaNxtYlU9FxMuuxDH2ADQSLFEvjhvxfvbquBLmc+M9OiLQpXXrboGyoDvlbtazts /KKZNkJigLKbnfJqW1fWd5tpjV22r9L/6FaViUgoNm+G2ZopeSraJTWEWMezqIUQ/Mgm bz1NJzZ9qhtuWjLhvBCweGGge3Ob1K8xafKl394VKCO4cpFp/+Wz/H0VJDdnsyhh4u4Q 4BVg== X-Received: by 10.170.220.197 with SMTP id m188mr1479187ykf.58.1423053650300; Wed, 04 Feb 2015 04:40:50 -0800 (PST) Original-Received: from localhost.localdomain ([2601:0:a602:24aa:ee55:f9ff:feb5:5589]) by mx.google.com with ESMTPSA id o48sm944119yhb.56.2015.02.04.04.40.47 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 04 Feb 2015 04:40:48 -0800 (PST) In-Reply-To: <87lhkddguk.fsf@gnu.org> (Tassilo Horn's message of "Wed, 04 Feb 2015 13:02:59 +0100") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3 (gnu/linux) X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2607:f8b0:4002:c07::22b 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:102470 Archived-At: Okay, sorry; I assumed it as just a half-made wiki page. Looks like it's actually a different package. A better link for the pdf-tools I'm using is this awesome package: https://github.com/politza/pdf-tools (available through Melpa). yeah, C-g provides no response. I'll can look into trying a different emacs version; I usually just run with whatever my Linux repo (Fedora in this case) provides. Tassilo Horn writes: > 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