all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Stefan Monnier <monnier@iro.umontreal.ca>
To: help-gnu-emacs@gnu.org
Subject: Re: Using Emacs on small-display devices
Date: Sun, 30 May 2010 17:52:54 -0400	[thread overview]
Message-ID: <jwvvda5ysn1.fsf-monnier+gnu.emacs.help@gnu.org> (raw)
In-Reply-To: slrni05ee0.kk4.nospam-abuse@powdermilk.math.berkeley.edu

> I think the important things are the following abilities:
>  a) separate the message area and minibuffer;

I don't think you can do that nowadays, although you get partway there
by defadvicing `message' and then using something like tooltips for the
echo area.

>  b) overlay the message area and modeline (message replaces file name?);

You can try to tweak the previous advice so it doesn't use a tooltip but
instead it just places the message into a variable that's displayed in
the mode-line.  Not sure how well that would work.

>  c) put a "pseudo-menubar" icon on modeline: clicking on it pops up a
>     popup-equivalent of menubar (i.e., vertical vs horizontal layout);

That can be done fairly easily and cleanly (the mode-line already has
some menus when you click for example on the major mode name).
The "full menu bar, with different layout" is already available on
C-mouse-3 by default, so you'd just have to bind it to a mode-line button.

>  c') put modeline on top, since it is where one expects such icons;

Can't do it right without major surgery, but can fake it as mentioned by
someone else by (setq-default header-line-format mode-line-format) and
(setq-default mode-line-format nil).  That will conflict with other uses
of the header-line, tho.

>  d) ability to make a minibuffer overlaid "on top of" modeline, so it
>     does not take place when not needed.

This one seems difficult to do.  You may be able to kludge it somehow:
- make a frame without minibuffer.
- since this requires a minibuffer on some other frame, hide that other frame.
- try and hook into the commands that use a minibuffer so that they work
  by first creating a new window on the current frame and work in
  that window intead of working in "the minibuffer mini-window".
Probably won't be pretty.

>  e) ability to make emacs full-screen (no border, no taskbar visible);

I think we already support that cleanly, tho it depends on cooperation
from the WM, of course.

>  f) ability to switch between two layouts (one as above, one "usual")
>     by one keypress.

That's the easy part, of course.


        Stefan


  reply	other threads:[~2010-05-30 21:52 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-05-30  5:27 Any way to bring minibuffer and modeline to the top? Ken Hori
2010-05-30  9:54 ` Lennart Borgman
2010-05-30 11:26   ` Stephen Berman
     [not found] ` <mailman.2.1275213278.28424.help-gnu-emacs@gnu.org>
2010-05-30 19:17   ` Using Emacs on small-display devices Ilya Zakharevich
2010-05-30 21:52     ` Stefan Monnier [this message]
2010-05-31 22:49       ` Ilya Zakharevich
     [not found]         ` <jwvtypmk0pb.fsf-monnier+gnu.emacs.help@gnu.org>
2010-06-01 23:53           ` Ilya Zakharevich
2010-06-02  0:55             ` Stefan Monnier
2010-06-02  5:48               ` Ilya Zakharevich
2010-06-02 14:38                 ` Stefan Monnier

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=jwvvda5ysn1.fsf-monnier+gnu.emacs.help@gnu.org \
    --to=monnier@iro.umontreal.ca \
    --cc=help-gnu-emacs@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.