unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: Joe Fineman <joe_f@verizon.net>
To: help-gnu-emacs@gnu.org
Subject: Re: Some annoying behaviours
Date: Fri, 22 Feb 2008 04:25:57 GMT	[thread overview]
Message-ID: <ur6f57h45.fsf@verizon.net> (raw)
In-Reply-To: uwsoy9doq.fsf@bigblue.net.au

Pete Axon <paxon@bigblue.net.au> writes:

>> The first one is about the 'completion' window which doesn't close
>> automatically once it's no more needed. I know I can switch to this
>> window and close it but it would be really nice to make this auto.
>
> There is no need to switch to the other window, simply type `C-x 1'
> and it maximizes the window you are in.

That works if you had only one window on the screen to begin with.  If
you had more than one (the usual case with me), the pop-up buffer
commandeers an adjacent one.  I suppose C-x4 b would get the original
buffer back, but then you would be in it instead of the one you were
working in.  Fortunately, I usually have a brief command that sets up
all the windows for the job I am doing.

Also, I have a utility that saves the current window setup in case I
expect to screw it up:

(defun interruption ()
  "Prepare to restore the existing state of the screen."
  (interactive)
  (if buffer-file-name
      (save-buffer))
  (save-window-excursion
    (recursive-edit))
  (if buffer-file-name
      (save-buffer))
  )

It is bound to a function key.
-- 
---  Joe Fineman    joe_f@verizon.net

||:  When we speak of the physical world, we mean that it is  :||
||:  capable of containing physicists.                        :||



  reply	other threads:[~2008-02-22  4:25 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <mailman.7729.1203584710.18990.help-gnu-emacs@gnu.org>
2008-02-21 14:39 ` Some annoying behaviours Joel J. Adamson
2008-02-21 21:56 ` Pete Axon
2008-02-22  4:25   ` Joe Fineman [this message]
2008-02-22  7:35     ` Thierry Volpiatto
2008-02-24  9:21 ` Window annoyances (was Some annoying behaviours) rustom
2008-02-24 10:56   ` Window annoyances Thierry Volpiatto
     [not found]   ` <517586d2-c7ea-4490-8802-f52bde9f43c6@o77g2000hsf.googlegro ups.com>
2008-02-24 14:54     ` Window annoyances (was Some annoying behaviours) Johan Lindström
2008-02-21  8:31 Some annoying behaviours Francis Moreau
2008-02-21  9:35 ` Drew Adams

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=ur6f57h45.fsf@verizon.net \
    --to=joe_f@verizon.net \
    --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.
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).