From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Hongyi Zhao Newsgroups: gmane.emacs.help Subject: Re: Can Emacs started with `-nw' option view pdf with pdf-tools? Date: Sat, 17 Jul 2021 18:37:51 +0800 Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="20644"; mail-complaints-to="usenet@ciao.gmane.io" Cc: help-gnu-emacs To: Arthur Miller Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Sat Jul 17 12:38:42 2021 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1m4hiU-00059s-Ai for geh-help-gnu-emacs@m.gmane-mx.org; Sat, 17 Jul 2021 12:38:42 +0200 Original-Received: from localhost ([::1]:39520 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1m4hiS-0001e7-SF for geh-help-gnu-emacs@m.gmane-mx.org; Sat, 17 Jul 2021 06:38:40 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:38894) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1m4hht-0001dl-TS for help-gnu-emacs@gnu.org; Sat, 17 Jul 2021 06:38:05 -0400 Original-Received: from mail-lj1-x236.google.com ([2a00:1450:4864:20::236]:41729) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1m4hhs-0000kN-CO for help-gnu-emacs@gnu.org; Sat, 17 Jul 2021 06:38:05 -0400 Original-Received: by mail-lj1-x236.google.com with SMTP id e20so17683568ljn.8 for ; Sat, 17 Jul 2021 03:38:04 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=Z8QE1LVvMFM/ahHpD4jOtiSHkJMnhl+V5nn8Oe9Zs4A=; b=f0upVT8rN29EgIqnWDLDxKZVhjA0nDC3FiwRsmaPFOVleSL3TJtCXLKF4SEi1iQ+L9 QpD6WsqmaZDv5LZvvUDGZtdDu6cM1TuTrQYPf9XBJ2p5YyEgU3GscDw2RgYnxq8PZq26 WCp/WZFufzaV8K8yd7DPtsQ/lWiAbFhXRhkLhwkxKYdZoxykFclAaLe4ZsK2ELiN8k8I z/2Omhln23EenitRQ0yeQqrjiaANRdXQ3CnnI/Km/aH46DtKNREr6HotCSD/3Yg0mpjD 7b//6m6WBBy6hRVuP4qDN8cp7/Vb+hUDiBkp4QQzym8/mLyTVI6ZOs9H2epdBTQxfN0I 31Og== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=Z8QE1LVvMFM/ahHpD4jOtiSHkJMnhl+V5nn8Oe9Zs4A=; b=KQ3cNxPdC7AE9hWoiNC0GZAwbPlQiw+Yq+PXhaFs5IqVzW0JbkwLml5c1YqyC8YxEW W9Jouy3bCru18kj54TSS3dcxPmiZRDttXtZG4u4NtNNtb5Ht9j822YmC0GX3K7Tm6e0f qu0Vb36xI6BxgtPoUcAFlPZ48TzmPS6VxgWTgnCBRj4Lba9sd9Yor8tyMqBaEqQ4BhoX /S9bgKAj6Jyyzmf6zXjrQIVUsDM0bQYjK7whM+xH6G5Kgggdiicc8wqcnIkXDkkihy6P YW7u0b4JuAg8TuixfG3RYMgDf/2DN9qwxXO2GzBBfhoLOut3Hdjbjeg+SLuu7rGJwoEt 9vXw== X-Gm-Message-State: AOAM5303oQw8EG0v4AiGCxigDDrPEHv1tK3qtB36aZ74qtKLZlNpME2I HXhNI7WvpvRN5yv2izwxSvNVxCBzerd0jEV4Gvs= X-Google-Smtp-Source: ABdhPJz+WMRDNdUb0713S1JpjZM6G5R9rPbTEX0sAYMxrdUYufQWgPCaqWv0wcSVYl6QSugJNQ2+8bqDAcjiTt5YsiE= X-Received: by 2002:a05:651c:12c4:: with SMTP id 4mr1226018lje.320.1626518282759; Sat, 17 Jul 2021 03:38:02 -0700 (PDT) In-Reply-To: Received-SPF: pass client-ip=2a00:1450:4864:20::236; envelope-from=hongyi.zhao@gmail.com; helo=mail-lj1-x236.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.23 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-mx.org@gnu.org Original-Sender: "help-gnu-emacs" Xref: news.gmane.io gmane.emacs.help:131786 Archived-At: On Sat, Jul 17, 2021 at 3:00 PM Arthur Miller wrote: > > Hongyi Zhao writes: > > > I'm using auctex and pdf-tools with Emacs, and find that if I start > > Emacs with `emacs -nw`, the pdf-tools won't let me preview pdf. > > > > Any hints? > > > > Regards > > Yes you need a GUI window to display images (which is what pdf-tools > does). Basically, if I start emacs without `-nw' option, the `C-c C-v' will do the job described here automatically. But how to let `C-c C-v' open a GUI window for this case? > Albeit a virtual terminal in X (or console in Win32) are implemented in > a platform window, they don't expose windowing capabilities but pretend > they are old-fashioned consoles without gui capabilities. Best regards, -- Assoc. Prof. Hongyi Zhao Theory and Simulation of Materials Hebei Vocational University of Technology and Engineering No. 473, Quannan West Street, Xindu District, Xingtai, Hebei province