From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "A.Politz" Newsgroups: gmane.emacs.help Subject: Re: moving around multiple buffers Date: Thu, 20 Aug 2009 09:45:21 -0700 (PDT) Organization: http://groups.google.com Message-ID: <9117bd63-9a66-43ed-9f57-e9b0843962eb@s15g2000yqs.googlegroups.com> References: <7f4hieF2ip8t3U1@mid.individual.net> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1250790107 377 80.91.229.12 (20 Aug 2009 17:41:47 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 20 Aug 2009 17:41:47 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Thu Aug 20 19:41:40 2009 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 1MeBdq-0003jw-Ln for geh-help-gnu-emacs@m.gmane.org; Thu, 20 Aug 2009 19:41:38 +0200 Original-Received: from localhost ([127.0.0.1]:46046 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MeBdq-00053G-5O for geh-help-gnu-emacs@m.gmane.org; Thu, 20 Aug 2009 13:41:38 -0400 Original-Path: news.stanford.edu!newsfeed.stanford.edu!postnews.google.com!s15g2000yqs.googlegroups.com!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 29 Original-NNTP-Posting-Host: 84.59.121.224 Original-X-Trace: posting.google.com 1250786721 19431 127.0.0.1 (20 Aug 2009 16:45:21 GMT) Original-X-Complaints-To: groups-abuse@google.com Original-NNTP-Posting-Date: Thu, 20 Aug 2009 16:45:21 +0000 (UTC) Complaints-To: groups-abuse@google.com Injection-Info: s15g2000yqs.googlegroups.com; posting-host=84.59.121.224; posting-account=Cb0eCQoAAADOp8Qt5mU0s83Gs6qJzY70 User-Agent: G2/1.0 X-HTTP-UserAgent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.0.11) Gecko/2009061208 Iceweasel/3.0.12 (Debian-3.0.12-1), gzip(gfe), gzip(gfe) Original-Xref: news.stanford.edu gnu.emacs.help:172157 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:67310 Archived-At: On Aug 20, 10:58=A0am, Tamas K Papp wrote: [...] > I know how to do the splitting, but I am curious about what people use > to move around. =A0Using C-x o (other-window) is a pain [...] What about a little modality ? (defun other-window-repeatable (arg) "Make it convenient to repeat `other-window', by just having to press the last character of the invoking keysequence. Timeout waiting after 3s." (interactive "p") (other-window arg) (let (readp) (while (eq last-input-event (setq readp (read-event (format "Press `%s' to repeat other-window." (key-description (vector last-input-event))) nil 3))) (other-window (signum arg))) (message nil) (when readp (setq unread-command-events (list last-input-event))))) (global-set-key [?\C-x ?o] 'other-window-repeatable)