unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: Drew Adams <drew.adams@oracle.com>
To: Javier <nospam@nospam.com>, help-gnu-emacs@gnu.org
Subject: RE: Feeling lost without tabs
Date: Tue, 22 Jul 2014 10:03:35 -0700 (PDT)	[thread overview]
Message-ID: <ebc21ae4-eca6-4373-91ba-44c5b620bb2c@default> (raw)
In-Reply-To: <<lqlv3t$hog$1@speranza.aioe.org>>

[-- Attachment #1: Type: text/plain, Size: 3928 bytes --]

> I think dealing with frames in windows/mac is much more difficult than
> in linux.  In windows, having multiple frames open will overfill the
> taskbar.

I'm using MS Windows 7, before that I used Windows XP, and in both
cases all of my Emacs frames are iconified to the same, single Emacs
icon in the task bar.  I have one such icon per Emacs session.

This is controlled by this Windows setting:

Right-click the task bar > Properties > Taskbar buttons:
                                        "Always combine, hide labels"

> Window managers in Linux are more powerful and have better ways of
> dealing with multiple frames by virtual desktops or iconifying
> windows.

I assume you mean iconifying to the desktop (rather than what Windows
does, which is iconify to the task bar).  OT1H, you complain that
Windows iconification fills up the task bar, and OTOH you tout other
managers filling up the desktop.  Hmm.  (Granted, there is more space
on the desktop than on the taskbar.)

FWIW, on both MS Windows and GNU/Linux I iconify frames to the desktop
whenever I want, using `C-z' (which also deiconifies).  And I can make
those icons any size I want.  And those icons are actually miniature,
functioning Emacs frames - thumbnail frames.  (They are not
window-manager icons.)  I can search in them, watch log messages stream
through them, scroll them,...

But mainly I just use them to organize the frames I am currently working
with the most.  Attached are images of (a) a thumbnail frame and (b) the
same, stretched to show more of the buffer.  (From the size and position
of the scroll-bar thumb you can tell that this is a large file.)
(http://www.emacswiki.org/FisheyeWithThumbs)

> Some usefuld keybindings for dealing with frames:
> (global-set-key [f4] 'delete-frame)  ;originally bound to call-kbd-macro
> (global-set-key [C-f4] 'delete-frame)

Suggestion: don't waste a repeatable key on an operation that you won't
repeat (i.e., hold the key down for).  Just use the predefined `C-x 5 0'.

> If you like frames you can make almost evertyhing pop up in a new
> frame and not have the default screen splitting-in-2 behaviour
>
> (setq pop-up-frames t)   ;;; everything is opened in a new frame.
>
> You will never again see a split screen unless you ask explicitly for
> it with C-x 2.

Yes; `pop-up-frames' is good.  Unfortunately, Emacs Dev considers
this simple user convenience to be obsolete, and invites you to
instead jump through the gymnastic, labyrinthine hoops of the
epicyclic option `display-buffer-alist'.  Fortunately, `pop-up-frames'
still works fine, for the time being...

And if you use non-nil `pop-up-frames' then you might prefer to let
`C-x 0' delete the frame when the frame has only one window.  That is
what the advised version of `delete-window' in `frame-cmds.el' does:
(http://www.emacswiki.org/emacs-en/download/frame-cmds.el)

(defadvice delete-window (around delete-frame-if-one-win activate)
  "If WINDOW is the only one in its frame, then `delete-frame' too."
  (save-current-buffer
    (select-window (or (ad-get-arg 0)  (selected-window)))
    (if (one-window-p t) (delete-frame) ad-do-it)))

> That has its drawbacks, like completition buffers popping up in
> a new frame.

The main problem with that is that the `*Completions*' frame needs
to have its input focus redirected to the frame with the current
minibuffer.  Library `oneonone.el' optionally does that, and it
optionally uses a standalone minibuffer frame.
(http://www.emacswiki.org/emacs-en/download/oneonone.el)

In addition, vanilla Emacs is still pretty poor at removing the
display of `*Completions*' when it is no longer useful.  Icicles
takes care of this, whether or not the display is in its own frame.
(http://www.emacswiki.org/Icicles)

> (setq frame-auto-hide-function 'delete-frame)

Yes, again.  That's my choice too.

[-- Attachment #2: throw-thumbnail-frame.png --]
[-- Type: image/png, Size: 9724 bytes --]

[-- Attachment #3: throw-thumbnail-frame-stretched.png --]
[-- Type: image/png, Size: 48098 bytes --]

  parent reply	other threads:[~2014-07-22 17:03 UTC|newest]

Thread overview: 71+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-07-20  1:47 Feeling lost without tabs Sampath Weerasinghe
2014-07-20  4:08 ` Yuri Khan
2014-07-20  4:27   ` Eli Zaretskii
2014-07-20  5:12     ` Yuri Khan
2014-07-20  6:09       ` Eli Zaretskii
2014-07-20 16:48         ` Yuri Khan
2014-07-20 17:30           ` Eli Zaretskii
2014-07-21 14:15           ` Stefan Monnier
2014-07-22  3:51             ` Yuri Khan
     [not found]         ` <mailman.5771.1405874938.1147.help-gnu-emacs@gnu.org>
2014-07-20 18:40           ` Emanuel Berg
2014-07-21  3:56             ` Yuri Khan
2014-07-20  7:19       ` Bob Proulx
     [not found]       ` <mailman.5741.1405840784.1147.help-gnu-emacs@gnu.org>
2014-07-20 18:36         ` Emanuel Berg
2014-07-20 23:48           ` Dan Espen
2014-07-21  0:29             ` Emanuel Berg
2014-07-21  1:08               ` Charles Philip Chan
2014-07-21  2:25               ` Dan Espen
2014-07-21 16:25           ` Bob Proulx
2014-07-22  0:57             ` Robert Thorpe
     [not found]           ` <mailman.5823.1405959942.1147.help-gnu-emacs@gnu.org>
2014-07-21 18:04             ` Dan Espen
2014-07-21 21:05               ` Bob Proulx
2014-07-21 21:43               ` Emanuel Berg
     [not found]               ` <mailman.5831.1405976742.1147.help-gnu-emacs@gnu.org>
2014-07-21 21:22                 ` Dan Espen
2014-07-21 21:54                   ` Emanuel Berg
2014-07-21 23:57                     ` Robert Thorpe
2014-07-22  2:33                     ` Dan Espen
2014-07-22 21:28                       ` Emanuel Berg
2014-07-21 21:47                 ` Emanuel Berg
2014-07-21 21:40             ` have new Gnus message not always fullscreened (was: [gnu.emacs.help] Re: Feeling lost without tabs) Emanuel Berg
2014-07-20  5:22   ` Feeling lost without tabs Tak Kunihiro
     [not found]   ` <mailman.5729.1405830475.1147.help-gnu-emacs@gnu.org>
2014-07-22 15:14     ` Javier
2014-07-22 15:32       ` Ken Goldman
2014-07-22 21:01       ` Emanuel Berg
2014-07-23  0:57         ` Javier
2014-07-23  2:21           ` Emanuel Berg
     [not found]       ` <mailman.5871.1406043177.1147.help-gnu-emacs@gnu.org>
2014-07-22 21:03         ` Emanuel Berg
     [not found]     ` <<lqlv3t$hog$1@speranza.aioe.org>
2014-07-22 17:03       ` Drew Adams [this message]
2014-07-20  6:25 ` Filipp Gunbin
2014-07-20  9:20 ` Kevin Le Gouguec
2014-07-20 17:36 ` Drew Adams
2014-07-20 18:02 ` Robert Thorpe
2014-08-16 21:13 ` Marcin Borkowski
     [not found] <mailman.5726.1405828965.1147.help-gnu-emacs@gnu.org>
2014-07-20 14:19 ` Dan Espen
2014-07-20 18:11   ` Bob Proulx
2014-07-20 18:34   ` Emanuel Berg
     [not found]   ` <mailman.5777.1405879906.1147.help-gnu-emacs@gnu.org>
2014-07-20 21:44     ` Emanuel Berg
2014-07-21 17:02       ` Bob Proulx
2014-07-20 23:52     ` Dan Espen
2014-07-21 22:54       ` Emanuel Berg
2014-07-21 23:33         ` Bob Proulx
2014-07-22  2:44         ` Dan Espen
2014-07-22 21:23           ` Emanuel Berg
     [not found]         ` <mailman.5833.1405985639.1147.help-gnu-emacs@gnu.org>
2014-07-22 22:02           ` Emanuel Berg
2014-07-20 18:28 ` Emanuel Berg
2015-11-03 14:07 ` swe20144
2015-11-03 14:21   ` Dan Espen
2015-11-03 15:22   ` Yuri Khan
2015-11-03 15:46     ` Dirk-Jan C. Binnema
2015-11-03 17:31       ` Michael Heerdegen
2015-11-03 17:47         ` Charles Philip Chan
2015-11-03 21:24           ` Michael Heerdegen
2015-11-03 15:37   ` Filipp Gunbin
2015-11-03 15:53   ` Aziz Yemloul
2015-11-03 15:56   ` Charles Philip Chan
2015-11-03 20:07   ` Bob Proulx
2015-11-03 23:48   ` Kendall Shaw
     [not found] <mailman.5835.1405987077.1147.help-gnu-emacs@gnu.org>
2014-07-22 21:18 ` Emanuel Berg
2014-07-22 22:32   ` Robert Thorpe
     [not found] <mailman.5882.1406068755.1147.help-gnu-emacs@gnu.org>
2014-07-22 23:57 ` Emanuel Berg
2014-07-23  1:25   ` Robert Thorpe
     [not found] <mailman.5886.1406078772.1147.help-gnu-emacs@gnu.org>
2014-07-23  2:29 ` Emanuel Berg

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

  List information: https://www.gnu.org/software/emacs/

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

  git send-email \
    --in-reply-to=ebc21ae4-eca6-4373-91ba-44c5b620bb2c@default \
    --to=drew.adams@oracle.com \
    --cc=help-gnu-emacs@gnu.org \
    --cc=nospam@nospam.com \
    /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.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).