From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Tassilo Horn Newsgroups: gmane.emacs.devel Subject: Re: DocView broken! Date: Thu, 10 Jan 2008 14:40:29 +0100 Message-ID: <87abndyf1u.fsf@member.fsf.org> References: <478559C0.7020409@alice.it> <87ve616hot.fsf@member.fsf.org> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1199972475 6189 80.91.229.12 (10 Jan 2008 13:41:15 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 10 Jan 2008 13:41:15 +0000 (UTC) Cc: Angelo Graziosi , emacs-devel@gnu.org To: Michael Albinus Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu Jan 10 14:41:37 2008 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1JCxf6-0007ml-8S for ged-emacs-devel@m.gmane.org; Thu, 10 Jan 2008 14:41:36 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JCxeh-0006eT-2V for ged-emacs-devel@m.gmane.org; Thu, 10 Jan 2008 08:41:11 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1JCxeA-0006O3-2Z for emacs-devel@gnu.org; Thu, 10 Jan 2008 08:40:38 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1JCxe5-0006KV-0C for emacs-devel@gnu.org; Thu, 10 Jan 2008 08:40:37 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JCxe4-0006KK-Ok for emacs-devel@gnu.org; Thu, 10 Jan 2008 08:40:32 -0500 Original-Received: from out5.smtp.messagingengine.com ([66.111.4.29]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1JCxe4-0005OB-Hx for emacs-devel@gnu.org; Thu, 10 Jan 2008 08:40:32 -0500 Original-Received: from compute2.internal (compute2.internal [10.202.2.42]) by out1.messagingengine.com (Postfix) with ESMTP id 2756485767; Thu, 10 Jan 2008 08:40:32 -0500 (EST) Original-Received: from heartbeat2.messagingengine.com ([10.202.2.161]) by compute2.internal (MEProxy); Thu, 10 Jan 2008 08:40:32 -0500 X-Sasl-enc: 0r3TYFNUboTyhfSCnZOnI2mcONySsU4kVdxaiqEDWD54 1199972431 Original-Received: from baldur (dslb-084-063-044-210.pools.arcor-ip.net [84.63.44.210]) by mail.messagingengine.com (Postfix) with ESMTP id ECCA72D0D7; Thu, 10 Jan 2008 08:40:30 -0500 (EST) Mail-Followup-To: Michael Albinus , emacs-devel@gnu.org, Angelo Graziosi In-Reply-To: (Michael Albinus's message of "Thu, 10 Jan 2008 13:49:44 +0100") User-Agent: Gnus/5.110007 (No Gnus v0.7) Emacs/23.0.50 (gnu/linux) X-detected-kernel: by monty-python.gnu.org: Genre and OS details not recognized. X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:86698 Archived-At: Michael Albinus writes: Hi Michael, > Your approach to require Tramp is not clean I fear. There are users > who don't use Tramp at all. Furthermore, tramp-tramp-file-p is not a > documented function, that means it could change without any notice. > > Better would be to apply (file-remote-p buffer-file-name) Ok, I'll change that. > Furthermore, you shall check (stringp buffer-file-name) at all - try > "M-x doc-view-mode" when you are in *scratch* ... Right. Thanks for the pointers, Tassilo