From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Joe Fineman Newsgroups: gmane.emacs.help Subject: Re: Some annoying behaviours Date: Fri, 22 Feb 2008 04:25:57 GMT Message-ID: References: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1203660015 1855 80.91.229.12 (22 Feb 2008 06:00:15 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 22 Feb 2008 06:00:15 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Fri Feb 22 07:00:40 2008 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1JSQxa-0002b8-L6 for geh-help-gnu-emacs@m.gmane.org; Fri, 22 Feb 2008 07:00:38 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JSQx5-0002tP-EW for geh-help-gnu-emacs@m.gmane.org; Fri, 22 Feb 2008 01:00:07 -0500 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!postnews.google.com!news2.google.com!border1.nntp.dca.giganews.com!border2.nntp.dca.giganews.com!nntp.giganews.com!cyclone1.gnilink.net!spamkiller2.gnilink.net!gnilink.net!trndny03.POSTED!099a252d!not-for-mail Original-Newsgroups: gnu.emacs.help User-Agent: Gnus/5.1006 (Gnus v5.10.6) Emacs/21.3 (windows-nt) Cancel-Lock: sha1:8OoL7p9NkKK5GwY01gUgBAflDUU= Original-Lines: 37 Original-NNTP-Posting-Host: 68.160.157.142 Original-X-Complaints-To: abuse@verizon.net Original-X-Trace: trndny03 1203654357 68.160.157.142 (Thu, 21 Feb 2008 23:25:57 EST) Original-NNTP-Posting-Date: Thu, 21 Feb 2008 23:25:57 EST Original-Xref: shelby.stanford.edu gnu.emacs.help:156381 X-Original-Bytes: 2190 X-Mailman-Approved-At: Fri, 22 Feb 2008 00:59:42 -0500 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:51754 Archived-At: Pete Axon 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. :||