all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* emacs frame/window withouth minibuffer/modeline?
@ 2010-01-11 23:02 joakim
  2010-01-12  0:58 ` Stefan Monnier
                   ` (2 more replies)
  0 siblings, 3 replies; 6+ messages in thread
From: joakim @ 2010-01-11 23:02 UTC (permalink / raw
  To: Emacs development discussions

I'd like to make a fullscreen image viewer in Emacs for reading scanned
pages. I'd like only the buffer to show, no minibuffer, no modeline,
but cant really find anything about if its possible or not.  Any hints?

-- 
Joakim Verona




^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: emacs frame/window withouth minibuffer/modeline?
  2010-01-11 23:02 emacs frame/window withouth minibuffer/modeline? joakim
@ 2010-01-12  0:58 ` Stefan Monnier
  2010-01-12  1:05   ` Lennart Borgman
  2010-01-12  3:54 ` Mark A. Hershberger
  2010-01-12  8:16 ` Deniz Dogan
  2 siblings, 1 reply; 6+ messages in thread
From: Stefan Monnier @ 2010-01-12  0:58 UTC (permalink / raw
  To: joakim; +Cc: Emacs development discussions

> I'd like to make a fullscreen image viewer in Emacs for reading scanned
> pages. I'd like only the buffer to show, no minibuffer, no modeline,
> but cant really find anything about if its possible or not.  Any hints?

To get rid of the mode-line: (setq mode-line-format nil)
To get rid of the minibuffer: can't do that, tho you can create a new
frame without minibuffer by specifying a value nil for the `minibuffer'
frame parameter.


        Stefan




^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: emacs frame/window withouth minibuffer/modeline?
  2010-01-12  0:58 ` Stefan Monnier
@ 2010-01-12  1:05   ` Lennart Borgman
  2010-01-12  1:41     ` YAMAMOTO Mitsuharu
  0 siblings, 1 reply; 6+ messages in thread
From: Lennart Borgman @ 2010-01-12  1:05 UTC (permalink / raw
  To: Stefan Monnier; +Cc: joakim, Emacs development discussions

On Tue, Jan 12, 2010 at 1:58 AM, Stefan Monnier
<monnier@iro.umontreal.ca> wrote:
>> I'd like to make a fullscreen image viewer in Emacs for reading scanned
>> pages. I'd like only the buffer to show, no minibuffer, no modeline,
>> but cant really find anything about if its possible or not.  Any hints?
>
> To get rid of the mode-line: (setq mode-line-format nil)
> To get rid of the minibuffer: can't do that, tho you can create a new
> frame without minibuffer by specifying a value nil for the `minibuffer'
> frame parameter.

non-nil?




^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: emacs frame/window withouth minibuffer/modeline?
  2010-01-12  1:05   ` Lennart Borgman
@ 2010-01-12  1:41     ` YAMAMOTO Mitsuharu
  0 siblings, 0 replies; 6+ messages in thread
From: YAMAMOTO Mitsuharu @ 2010-01-12  1:41 UTC (permalink / raw
  To: Lennart Borgman; +Cc: Stefan Monnier, joakim, Emacs development discussions

>>>>> On Tue, 12 Jan 2010 02:05:42 +0100, Lennart Borgman <lennart.borgman@gmail.com> said:

>>> I'd like to make a fullscreen image viewer in Emacs for reading
>>> scanned pages. I'd like only the buffer to show, no minibuffer, no
>>> modeline, but cant really find anything about if its possible or
>>> not.  Any hints?
>> 
>> To get rid of the mode-line: (setq mode-line-format nil) To get rid
>> of the minibuffer: can't do that, tho you can create a new frame
>> without minibuffer by specifying a value nil for the `minibuffer'
>> frame parameter.

> non-nil?

I don't think so.  Actually, I used them for creating "plain frames"
in order to do pagination for experimental GTK+ print dialog support:

http://lists.gnu.org/archive/html/emacs-devel/2009-04/msg00390.html

				     YAMAMOTO Mitsuharu
				mituharu@math.s.chiba-u.ac.jp




^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: emacs frame/window withouth minibuffer/modeline?
  2010-01-11 23:02 emacs frame/window withouth minibuffer/modeline? joakim
  2010-01-12  0:58 ` Stefan Monnier
@ 2010-01-12  3:54 ` Mark A. Hershberger
  2010-01-12  8:16 ` Deniz Dogan
  2 siblings, 0 replies; 6+ messages in thread
From: Mark A. Hershberger @ 2010-01-12  3:54 UTC (permalink / raw
  To: emacs-devel

joakim@verona.se writes:

> I'd like to make a fullscreen image viewer in Emacs for reading scanned
> pages. I'd like only the buffer to show, no minibuffer, no modeline,
> but cant really find anything about if its possible or not.  Any hints?

epresent.el (from elpa) does this.  Looking at the code, it seems the
special sauce is make-frame:

     (make-frame '((minibuffer . nil)
                   (title . "EPresent")
                   (fullscreen . fullboth)
                   (menu-bar-lines . 0)
                   (tool-bar-lines . 0)
                   (vertical-scroll-bars . nil)
                   (left-fringe . 0)
                   (right-fringe . 0)
                   (internal-border-width . 20)
                   (cursor-type . nil)))

HTH,

Mark.



-- 
http://hexmode.com/

The only alternative to Tradition is bad tradition.
                          — Jaraslov Pelikan





^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: emacs frame/window withouth minibuffer/modeline?
  2010-01-11 23:02 emacs frame/window withouth minibuffer/modeline? joakim
  2010-01-12  0:58 ` Stefan Monnier
  2010-01-12  3:54 ` Mark A. Hershberger
@ 2010-01-12  8:16 ` Deniz Dogan
  2 siblings, 0 replies; 6+ messages in thread
From: Deniz Dogan @ 2010-01-12  8:16 UTC (permalink / raw
  To: joakim; +Cc: Emacs development discussions

2010/1/12  <joakim@verona.se>:
> I'd like to make a fullscreen image viewer in Emacs for reading scanned
> pages. I'd like only the buffer to show, no minibuffer, no modeline,
> but cant really find anything about if its possible or not.  Any hints?
>
> --
> Joakim Verona
>
>
>

What should happen when the user hits M-x in this mode or needs to
answer a prompt or something?

-- 
Deniz Dogan




^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2010-01-12  8:16 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-01-11 23:02 emacs frame/window withouth minibuffer/modeline? joakim
2010-01-12  0:58 ` Stefan Monnier
2010-01-12  1:05   ` Lennart Borgman
2010-01-12  1:41     ` YAMAMOTO Mitsuharu
2010-01-12  3:54 ` Mark A. Hershberger
2010-01-12  8:16 ` Deniz Dogan

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.