From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Sam Steingold Newsgroups: gmane.emacs.devel Subject: Re: splitting windows and switching buffers Date: Wed, 28 Mar 2012 11:06:34 -0400 Message-ID: <87obrg229x.fsf@gnu.org> References: <4F6AD765.3050404@gmx.at> <87lims5x1q.fsf@gnu.org> <4F6B7937.2070202@gmx.at> <87d3845pk9.fsf@gnu.org> <4F6C51C1.7080903@gmx.at> <87limr4b2r.fsf_-_@gnu.org> <9F98BB20-EC68-43B4-9231-3129FC955CC7@gmail.com> Reply-To: sds@gnu.org NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: dough.gmane.org 1332947223 31892 80.91.229.3 (28 Mar 2012 15:07:03 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Wed, 28 Mar 2012 15:07:03 +0000 (UTC) Cc: Emacs developers To: chad Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed Mar 28 17:07:00 2012 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1SCuSh-0003fI-U7 for ged-emacs-devel@m.gmane.org; Wed, 28 Mar 2012 17:07:00 +0200 Original-Received: from localhost ([::1]:51434 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SCuSh-0003xe-60 for ged-emacs-devel@m.gmane.org; Wed, 28 Mar 2012 11:06:59 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:33810) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SCuSZ-0003vA-AE for emacs-devel@gnu.org; Wed, 28 Mar 2012 11:06:57 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1SCuSS-0000c8-L5 for emacs-devel@gnu.org; Wed, 28 Mar 2012 11:06:50 -0400 Original-Received: from mail-qa0-f41.google.com ([209.85.216.41]:36085) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SCuSO-0000a1-4i; Wed, 28 Mar 2012 11:06:40 -0400 Original-Received: by qafl39 with SMTP id l39so4129607qaf.14 for ; Wed, 28 Mar 2012 08:06:38 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=sender:from:to:cc:subject:in-reply-to:references:user-agent :return-receipt-to:reply-to:x-attribution:x-disclaimer:date :message-id:mime-version:content-type; bh=4/gdnTMpdUW+3Dbo75e76yZskX218n2C+y9CimYrJAE=; b=0dozUHgI4I+lzQjw9bAICLjz8WnIW8WPBAOtNElF1wlu131Hi95wvmxyGmFf4hULgl UzF9tyZD8nHChMKf9ti1DxOoPbl91XsWPUwxO1x0apRVAa+T2ntCWboo5IQj7ZQRM7Fq Eb9XeNS5msvx2niq2J16/54JFKYOjfN8vkgNkLqqsrcksU4cJbKyHe7i1rgMS7s2LmkN FDapKNAG9xjG4Z14QainBic5/Tc/REBuI5/1VV8gIupV3xWKaIDO+tyQ9y16fNNrhtBt FK2OPDTgSnbhkk6MaTWcBSyInjLvdIGHq/AkN6Qu6B8MFQXfoH9skMD0kkf0CLfA3Zu9 saVw== Original-Received: by 10.229.135.66 with SMTP id m2mr11409478qct.96.1332947197920; Wed, 28 Mar 2012 08:06:37 -0700 (PDT) Original-Received: from t520sds ([74.113.160.197]) by mx.google.com with ESMTPS id fo9sm6920948qab.21.2012.03.28.08.06.35 (version=TLSv1/SSLv3 cipher=OTHER); Wed, 28 Mar 2012 08:06:36 -0700 (PDT) In-Reply-To: <9F98BB20-EC68-43B4-9231-3129FC955CC7@gmail.com> (chad's message of "Tue, 27 Mar 2012 17:39:31 -0700") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.94 (gnu/linux) X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 209.85.216.41 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:149238 Archived-At: > * chad [2012-03-27 17:39:31 -0700]: > > On Mar 23, 2012, at 7:59 AM, Sam Steingold wrote: >> >> That's why I have >> >> (defun sds-split-window (size) [...] >> >> bound to [f2] and I (almost) never use C-x 2 or C-x 3. > > I'm curious about this usage pattern; do you often want to split windows > in emacs without doing something specific in the other window? usually f2 gives me the buffer I need in the new window; if it does not, I just hit f9 (bound to quit-window) a few times or f8 (bound to switch-to-prev-buffer). > I rebound find-file-other-window to a convenient place and almost > never used C-x 2/3 again. I usually have all the files I am interested in already in buffers, so typing the full path to find-file-other-window is a waste. -- Sam Steingold (http://sds.podval.org/) on Ubuntu 11.10 (oneiric) X 11.0.11004000 http://www.childpsy.net/ http://palestinefacts.org http://truepeace.org http://camera.org http://dhimmi.com Can I do it in Lisp, or would you rather wait an extra couple of months?