* emacs graphical frame to behave like -nw @ 2025-01-02 16:40 BP25 2025-01-03 19:34 ` Eli Zaretskii 2025-01-04 13:34 ` mbork 0 siblings, 2 replies; 7+ messages in thread From: BP25 @ 2025-01-02 16:40 UTC (permalink / raw) To: help-gnu-emacs 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 for the window where docview will display the PDF? This should be achievable without using exwm which is overkill I think. Any leads are very much appreciated! (and CC: me in your reply because I'm not subscribed to the list, please!) ^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: emacs graphical frame to behave like -nw 2025-01-02 16:40 emacs graphical frame to behave like -nw BP25 @ 2025-01-03 19:34 ` Eli Zaretskii 2025-01-04 13:34 ` mbork 1 sibling, 0 replies; 7+ messages in thread From: Eli Zaretskii @ 2025-01-03 19:34 UTC (permalink / raw) To: help-gnu-emacs > From: BP25 <bp25@riseup.net> > Date: Thu, 02 Jan 2025 16:40:53 +0000 > > 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 > for the window where docview will display the PDF? This should be > achievable without using exwm which is overkill I think. Did you try to create a GUI frame using emacsclient? ^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: emacs graphical frame to behave like -nw 2025-01-02 16:40 emacs graphical frame to behave like -nw BP25 2025-01-03 19:34 ` Eli Zaretskii @ 2025-01-04 13:34 ` mbork 2025-01-07 11:22 ` bp25 1 sibling, 1 reply; 7+ messages in thread From: mbork @ 2025-01-04 13:34 UTC (permalink / raw) To: BP25; +Cc: help-gnu-emacs On 2025-01-02, at 16:40, BP25 <bp25@riseup.net> 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, -- Marcin Borkowski https://mbork.pl https://crimsonelevendelightpetrichor.net/ ^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: emacs graphical frame to behave like -nw 2025-01-04 13:34 ` mbork @ 2025-01-07 11:22 ` bp25 2025-01-08 12:00 ` Gregor Zattler 0 siblings, 1 reply; 7+ messages in thread From: bp25 @ 2025-01-07 11:22 UTC (permalink / raw) To: mbork; +Cc: help-gnu-emacs 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 <bp25@riseup.net> 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, ^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: emacs graphical frame to behave like -nw 2025-01-07 11:22 ` bp25 @ 2025-01-08 12:00 ` Gregor Zattler 2025-01-08 18:35 ` bp25 0 siblings, 1 reply; 7+ messages in thread From: Gregor Zattler @ 2025-01-08 12:00 UTC (permalink / raw) To: bp25, mbork; +Cc: help-gnu-emacs Hi, * bp25@riseup.net [2025-01-07; 11:22 GMT]: > 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? not in a terminal. When you use a graphical emacs frame: What exactly is not to your liking so that it perhaps can be configured (away)? Examples: - Fullscreen mode, start as emacs --fullscreen or press F11 in graphical frame. - disable toolbar, menubar etc: (tool-bar-mode -1) (scroll-bar-mode -1) (menu-bar-showhide-fringe-menu-customize-disable) (fringe-mode 0) (set-fringe-mode 0) (menu-bar-mode 0) Does this help? Ciao; Gregor -- -... --- .-. . -.. ..--.. ...-.- ^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: emacs graphical frame to behave like -nw 2025-01-08 12:00 ` Gregor Zattler @ 2025-01-08 18:35 ` bp25 2025-01-08 21:21 ` Gregor Zattler 0 siblings, 1 reply; 7+ messages in thread From: bp25 @ 2025-01-08 18:35 UTC (permalink / raw) To: Gregor Zattler; +Cc: mbork, help-gnu-emacs Thanks for your reply! And thanks for your suggestions! > When you use a graphical emacs frame: What exactly is not to your > liking so that it perhaps can be configured (away)? The colour(s) for one thing... especially the white background ^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: emacs graphical frame to behave like -nw 2025-01-08 18:35 ` bp25 @ 2025-01-08 21:21 ` Gregor Zattler 0 siblings, 0 replies; 7+ messages in thread From: Gregor Zattler @ 2025-01-08 21:21 UTC (permalink / raw) To: bp25; +Cc: mbork, help-gnu-emacs Hi bp25@riseup.net, * bp25@riseup.net [2025-01-08; 18:35 GMT]: > Thanks for your reply! And thanks for your suggestions! > >> When you use a graphical emacs frame: What exactly is not to your >> liking so that it perhaps can be configured (away)? > > The colour(s) for one thing... especially the white background this is a can of worms... You could do (set-foreground-color "black") (set-background-color "white") or M-x list-colors-display to see other color names and apply them instead of white and black as above? Or do a deep dive into theeming. Ciao; Gregor -- -... --- .-. . -.. ..--.. ...-.- ^ permalink raw reply [flat|nested] 7+ messages in thread
end of thread, other threads:[~2025-01-08 21:21 UTC | newest] Thread overview: 7+ messages (download: mbox.gz follow: Atom feed -- links below jump to the message on this page -- 2025-01-02 16:40 emacs graphical frame to behave like -nw BP25 2025-01-03 19:34 ` Eli Zaretskii 2025-01-04 13:34 ` mbork 2025-01-07 11:22 ` bp25 2025-01-08 12:00 ` Gregor Zattler 2025-01-08 18:35 ` bp25 2025-01-08 21:21 ` Gregor Zattler
Code repositories for project(s) associated with this external index https://git.savannah.gnu.org/cgit/emacs.git https://git.savannah.gnu.org/cgit/emacs/org-mode.git This is an external index of several public inboxes, see mirroring instructions on how to clone and mirror all data and code used by this external index.