From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Juri Linkov Newsgroups: gmane.emacs.bugs Subject: bug#5102: 23.1; doc-view on a buffer not linked to a file Date: Fri, 04 Dec 2009 23:50:20 +0200 Organization: JURTA Message-ID: <87bpiezfov.fsf@mail.jurta.org> References: <87ljhlbmdt.fsf@ergodik.univ-brest.fr> Reply-To: Juri Linkov , 5102@emacsbugs.donarmstrong.com NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1259964468 30673 80.91.229.12 (4 Dec 2009 22:07:48 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 4 Dec 2009 22:07:48 +0000 (UTC) Cc: Tassilo Horn , 5102@emacsbugs.donarmstrong.com To: harven Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Fri Dec 04 23:07:41 2009 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1NGgJN-0000fo-60 for geb-bug-gnu-emacs@m.gmane.org; Fri, 04 Dec 2009 23:07:37 +0100 Original-Received: from localhost ([127.0.0.1]:51385 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NGgJM-0000HA-Pr for geb-bug-gnu-emacs@m.gmane.org; Fri, 04 Dec 2009 17:07:36 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1NGgJI-0000GJ-Gf for bug-gnu-emacs@gnu.org; Fri, 04 Dec 2009 17:07:32 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1NGgJE-0000By-56 for bug-gnu-emacs@gnu.org; Fri, 04 Dec 2009 17:07:32 -0500 Original-Received: from [199.232.76.173] (port=41193 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NGgJD-0000Bq-SY for bug-gnu-emacs@gnu.org; Fri, 04 Dec 2009 17:07:27 -0500 Original-Received: from rzlab.ucr.edu ([138.23.92.77]:57075) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1NGgJD-0001Ld-Ga for bug-gnu-emacs@gnu.org; Fri, 04 Dec 2009 17:07:27 -0500 Original-Received: from rzlab.ucr.edu (rzlab.ucr.edu [127.0.0.1]) by rzlab.ucr.edu (8.14.3/8.14.3/Debian-5) with ESMTP id nB4M7OHu032503; Fri, 4 Dec 2009 14:07:25 -0800 Original-Received: (from debbugs@localhost) by rzlab.ucr.edu (8.14.3/8.14.3/Submit) id nB4M067R031124; Fri, 4 Dec 2009 14:00:06 -0800 Resent-Date: Fri, 4 Dec 2009 14:00:06 -0800 X-Loop: owner@emacsbugs.donarmstrong.com Resent-From: Juri Linkov Resent-To: bug-submit-list@donarmstrong.com Resent-CC: Emacs Bugs 2Resent-Date: Fri, 04 Dec 2009 22:00:06 +0000 Resent-Message-ID: Resent-Sender: owner@emacsbugs.donarmstrong.com X-Emacs-PR-Message: followup 5102 X-Emacs-PR-Package: emacs X-Emacs-PR-Keywords: Original-Received: via spool by 5102-submit@emacsbugs.donarmstrong.com id=B5102.125996344230612 (code B ref 5102); Fri, 04 Dec 2009 22:00:06 +0000 Original-Received: (at 5102) by emacsbugs.donarmstrong.com; 4 Dec 2009 21:50:42 +0000 X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available. hammytokens:Tokens not available. Original-Received: from mx2.starman.ee (smtp-out4.starman.ee [85.253.0.6]) by rzlab.ucr.edu (8.14.3/8.14.3/Debian-5) with ESMTP id nB4LoeKb030607 for <5102@emacsbugs.donarmstrong.com>; Fri, 4 Dec 2009 13:50:41 -0800 X-Virus-Scanned: by Amavisd-New at mx2.starman.ee Original-Received: from mail.starman.ee (82.131.30.133.cable.starman.ee [82.131.30.133]) by mx2.starman.ee (Postfix) with ESMTP id BB9C73F40FF; Fri, 4 Dec 2009 23:50:33 +0200 (EET) In-Reply-To: <87ljhlbmdt.fsf@ergodik.univ-brest.fr> (harven@free.fr's message of "Wed, 02 Dec 2009 13:17:50 +0100") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1.50 (x86_64-pc-linux-gnu) X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 2) Resent-Date: Fri, 04 Dec 2009 17:07:32 -0500 X-BeenThere: bug-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:33211 Archived-At: > There is a problem when trying to display postscript code > in a ps-mode buffer if the buffer is not linked to a file. > > Starting with emacs -Q, > - open a new buffer, > - insert in that buffer the content of a postscript file, > - start ps-mode. > Now if we type C-c C-c to view the postscript, we are prompted whether > we want to save the content of the buffer. If we answer "no", we get the error > > Wrong type argument: stringp, nil > > Message buffer reports that this was issued by doc-view-mode. With `debug-on-error' enabled it displays: Debugger entered--Lisp error: (wrong-type-argument stringp nil) file-readable-p(nil) doc-view-mode() doc-view-toggle-display() call-interactively(doc-view-toggle-display nil nil) Tassilo, please tell whether DocView is designed to work in non-file buffers? -- Juri Linkov http://www.jurta.org/emacs/