From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: harven Newsgroups: gmane.emacs.bugs Subject: bug#5102: 23.1; doc-view on a buffer not linked to a file Date: Wed, 02 Dec 2009 13:17:50 +0100 Message-ID: <87ljhlbmdt.fsf@ergodik.univ-brest.fr> Reply-To: harven , 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 1259766797 31491 80.91.229.12 (2 Dec 2009 15:13:17 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 2 Dec 2009 15:13:17 +0000 (UTC) To: bug-gnu-emacs@gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Wed Dec 02 16:13:10 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 1NFqsx-0007uy-BZ for geb-bug-gnu-emacs@m.gmane.org; Wed, 02 Dec 2009 16:12:55 +0100 Original-Received: from localhost ([127.0.0.1]:49308 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NFqsw-00081Q-Oc for geb-bug-gnu-emacs@m.gmane.org; Wed, 02 Dec 2009 10:12:54 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1NFoIu-0003Hh-Sj for bug-gnu-emacs@gnu.org; Wed, 02 Dec 2009 07:27:32 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1NFoIp-0003E8-9i for bug-gnu-emacs@gnu.org; Wed, 02 Dec 2009 07:27:31 -0500 Original-Received: from [199.232.76.173] (port=37337 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NFoIo-0003Dy-Ql for bug-gnu-emacs@gnu.org; Wed, 02 Dec 2009 07:27:26 -0500 Original-Received: from rzlab.ucr.edu ([138.23.92.77]:38850) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1NFoIo-0006Wj-CC for bug-gnu-emacs@gnu.org; Wed, 02 Dec 2009 07:27:26 -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 nB2CRO90027154; Wed, 2 Dec 2009 04:27:24 -0800 Original-Received: (from debbugs@localhost) by rzlab.ucr.edu (8.14.3/8.14.3/Submit) id nB2CP71R026878; Wed, 2 Dec 2009 04:25:07 -0800 Resent-Date: Wed, 2 Dec 2009 04:25:07 -0800 X-Loop: owner@emacsbugs.donarmstrong.com Resent-From: harven Resent-To: bug-submit-list@donarmstrong.com Resent-CC: Emacs Bugs 2Resent-Date: Wed, 02 Dec 2009 12:25:06 +0000 Resent-Message-ID: Resent-Sender: owner@emacsbugs.donarmstrong.com X-Emacs-PR-Message: report 5102 X-Emacs-PR-Package: emacs X-Emacs-PR-Keywords: Original-Received: via spool by submit@emacsbugs.donarmstrong.com id=B.125975630426341 (code B ref -1); Wed, 02 Dec 2009 12:25:06 +0000 Original-Received: (at submit) by emacsbugs.donarmstrong.com; 2 Dec 2009 12:18:24 +0000 X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available. hammytokens:Tokens not available. Original-Received: from lists.gnu.org (lists.gnu.org [199.232.76.165]) by rzlab.ucr.edu (8.14.3/8.14.3/Debian-5) with ESMTP id nB2CILpD026338 for ; Wed, 2 Dec 2009 04:18:23 -0800 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1NFoA1-0003he-5E for bug-gnu-emacs@gnu.org; Wed, 02 Dec 2009 07:18:21 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1NFo9v-0003d8-Kz for bug-gnu-emacs@gnu.org; Wed, 02 Dec 2009 07:18:19 -0500 Original-Received: from [199.232.76.173] (port=35599 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NFo9v-0003cn-1t for bug-gnu-emacs@gnu.org; Wed, 02 Dec 2009 07:18:15 -0500 Original-Received: from cassis-gw.univ-brest.fr ([195.83.247.29]:47023) by monty-python.gnu.org with smtp (Exim 4.60) (envelope-from ) id 1NFo9u-0005ZZ-K6 for bug-gnu-emacs@gnu.org; Wed, 02 Dec 2009 07:18:14 -0500 Original-Received: from localhost (cassis-gw.univ-brest.fr [127.0.0.1]) by cassis-gw.univ-brest.fr (Postfix) with ESMTP id 8B537690DA1 for ; Wed, 2 Dec 2009 13:18:12 +0100 (CET) X-Virus-Scanned: amavisd-new at univ-brest.fr Original-Received: from cassis-gw.univ-brest.fr ([127.0.0.1]) by localhost (cassis-gw.univ-brest.fr [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id uTzfM4nq9n1g for ; Wed, 2 Dec 2009 13:18:11 +0100 (CET) Original-Received: from ergodik.univ-brest.fr (mathw171.univ-brest.fr [172.19.130.171]) (Authenticated sender: coudene) by cassis-gw.univ-brest.fr (Postfix) with ESMTP id 16D90690D9D for ; Wed, 2 Dec 2009 13:18:11 +0100 (CET) X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 3) X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 2) Resent-Date: Wed, 02 Dec 2009 07:27:31 -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:33139 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. In GNU Emacs 23.1.1 (i486-pc-linux-gnu, GTK+ Version 2.16.5) of 2009-09-14 on raven, modified by Debian Windowing system distributor `The X.Org Foundation', version 11.0.10605000 configured using `configure '--build=i486-linux-gnu' '--host=i486-linux-gnu' '--prefix=/usr' '--sharedstatedir=/var/lib' '--libexecdir=/usr/lib' '--localstatedir=/var/lib' '--infodir=/usr/share/info' '--mandir=/usr/share/man' '--with-pop=yes' '--enable-locallisppath=/etc/emacs23:/etc/emacs:/usr/local/share/emacs/23.1/site-lisp:/usr/local/share/emacs/site-lisp:/usr/share/emacs/23.1/site-lisp:/usr/share/emacs/site-lisp:/usr/share/emacs/23.1/leim' '--with-x=yes' '--with-x-toolkit=gtk' '--with-toolkit-scroll-bars' 'build_alias=i486-linux-gnu' 'host_alias=i486-linux-gnu' 'CFLAGS=-DDEBIAN -g -O2' 'LDFLAGS=-g' 'CPPFLAGS='' Important settings: value of $LC_ALL: nil value of $LC_COLLATE: nil value of $LC_CTYPE: nil value of $LC_MESSAGES: nil value of $LC_MONETARY: nil value of $LC_NUMERIC: nil value of $LC_TIME: nil value of $LANG: fr_FR.UTF-8 value of $XMODIFIERS: nil locale-coding-system: utf-8-unix default-enable-multibyte-characters: t Major mode: Lisp Interaction Minor modes in effect: show-paren-mode: t display-time-mode: t tooltip-mode: t tool-bar-mode: t mouse-wheel-mode: t menu-bar-mode: t file-name-shadow-mode: t global-font-lock-mode: 1 font-lock-mode: t blink-cursor-mode: t global-auto-composition-mode: t auto-composition-mode: t auto-encryption-mode: t auto-compression-mode: t temp-buffer-resize-mode: t column-number-mode: t line-number-mode: t Recent input: M-x r e p o r t - b u f g Recent messages: Loading debian-ispell... Loading /var/cache/dictionaries-common/emacsen-ispell-default.el (source)...done Loading debian-ispell...done Loading /var/cache/dictionaries-common/emacsen-ispell-dicts.el (source)...done Loading /etc/emacs/site-start.d/50dictionaries-common.el (source)...done Loading /etc/emacs/site-start.d/50festival.el (source)...done Enriched: decoding document... Indenting... For information about GNU Emacs and the GNU system, type C-h C-a.