From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: bp25@riseup.net Newsgroups: gmane.emacs.help Subject: Re: emacs graphical frame to behave like -nw Date: Tue, 07 Jan 2025 11:22:39 +0000 Message-ID: <87jzb6q35s.fsf@riseup.net> References: <87bjwmpush.fsf@mbork.pl> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="26065"; mail-complaints-to="usenet@ciao.gmane.io" Cc: help-gnu-emacs@gnu.org To: mbork@mbork.pl Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Wed Jan 08 09:14:29 2025 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 1tVRCu-0006cH-BR for geh-help-gnu-emacs@m.gmane-mx.org; Wed, 08 Jan 2025 09:14:28 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1tVRC9-00014R-NH; Wed, 08 Jan 2025 03:13:41 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1tVRC7-000142-Ex for help-gnu-emacs@gnu.org; Wed, 08 Jan 2025 03:13:39 -0500 Original-Received: from mx0.riseup.net ([198.252.153.6]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1tVRC5-0008TK-74 for help-gnu-emacs@gnu.org; Wed, 08 Jan 2025 03:13:39 -0500 Original-Received: from fews01-sea.riseup.net (fews01-sea-pn.riseup.net [10.0.1.109]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by mx0.riseup.net (Postfix) with ESMTPS id 4YSgfQ2KSkz9tY0; Wed, 8 Jan 2025 08:13:34 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=riseup.net; s=squak; t=1736324014; bh=NRor0R/bpHt4A3pG34z1V0mAT9St6ARtPO34y3CuJ0k=; h=From:To:Cc:Subject:In-Reply-To:Date:From; b=jpjRcsh71SfVOx680d11HiLIPA7Ttj14ZnleT/gCU6OPNL+q6T02ztw80PttHXnt9 V8yUpIMFi8u2rPmB7+QfuxQm0YbFePV01/6cEbr7LhMjHYlMFzhqRWmR13yPdaRf7O 1DNcIfj7DYRr9U4hZ9x6RIqbnxzriMc5/tFv7jKk= X-Riseup-User-ID: B61D9F64A51B045E50B6FFAF55D68E4DBB00AF9A377B4EB9868331E22A218D63 Original-Received: from [127.0.0.1] (localhost [127.0.0.1]) by fews01-sea.riseup.net (Postfix) with ESMTPSA id 4YSgfP3CBbzJrfp; Wed, 8 Jan 2025 08:13:33 +0000 (UTC) In-Reply-To: <87bjwmpush.fsf@mbork.pl> Received-SPF: pass client-ip=198.252.153.6; envelope-from=bp25@riseup.net; helo=mx0.riseup.net X-Spam_score_int: -17 X-Spam_score: -1.8 X-Spam_bar: - X-Spam_report: (-1.8 / 5.0 requ) BAYES_00=-1.9, DATE_IN_PAST_12_24=1.049, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_VALIDITY_RPBL_BLOCKED=0.001, RCVD_IN_VALIDITY_SAFE_BLOCKED=0.001, SPF_HELO_PASS=-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.29 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-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.help:149160 Archived-At: Dear Hth, Thanks for your message. For now I'll stick with the simplest option of docview. By "be like emacs -nw" I mean the following. The terminal application on Fedora can display images [1]. I think because it's not really the terminal, but rather a graphical frame which emulates the terminal (hence, has many pixels which can be used to display images)? Can we do the same with emacs? I don't need the graphical environment except for pdfs, and I'm really at ease with using emacs -nw. [1] https://emacs.stackexchange.com/questions/26698/display-images-in-emacs-w3m-in-terminal On Sat, Jan 04 2025, mbork@mbork.pl wrote: > On 2025-01-02, at 16:40, BP25 wrote: > >> Hello, >> >> I've been very happily using emacs -nw but now I need to display PDFs >> (because I'm compiling .tex), hence will need to run emacs on some >> graphical frame as opposed to the terminal, because I want to use >> docview. How can I make the graphical frame be like emacs -nw, except > > Not the answer to your question, but consider using pdf-tools, which > is a much better pdf viewer than docview. (Also, it can integrate > with AUCTeX.) > > Also, what do you mean exactly by "be like emacs -nw"? Also, what is > the reason you want that? I hardly ever use Emacs in a terminal, but > AFAIK, emacs in a graphical environment is basically the same as in > the terminal, only better (for example, some keychords do not work in > terminals AFAIK). Also, Emacs in graphical environment has some nice > and/or useful capabilities like displaying images (which is extremely > useful for me). > > Hth,