From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Filipe Silva Newsgroups: gmane.emacs.help Subject: Re: moving between buffers side-by-side using the keyboard Date: Wed, 15 Feb 2017 17:47:29 -0200 Message-ID: References: <87inobslll.fsf@skimble.plus.com> <87a89nzlmm.fsf@skimble.plus.com> <87efyzk4p7.fsf@fastmail.fm> <87k28rimsk.fsf@skimble.plus.com> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 X-Trace: blaine.gmane.org 1487188088 21280 195.159.176.226 (15 Feb 2017 19:48:08 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Wed, 15 Feb 2017 19:48:08 +0000 (UTC) Cc: Joost Kremers , help-emacs To: Sharon Kimble Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Wed Feb 15 20:48:01 2017 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ce5YS-0004fJ-5j for geh-help-gnu-emacs@m.gmane.org; Wed, 15 Feb 2017 20:47:56 +0100 Original-Received: from localhost ([::1]:42746 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ce5YX-0004vX-Rn for geh-help-gnu-emacs@m.gmane.org; Wed, 15 Feb 2017 14:48:01 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:40750) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ce5Y4-0004ui-4y for help-gnu-emacs@gnu.org; Wed, 15 Feb 2017 14:47:33 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ce5Y2-0000iz-HV for help-gnu-emacs@gnu.org; Wed, 15 Feb 2017 14:47:32 -0500 Original-Received: from mail-oi0-x233.google.com ([2607:f8b0:4003:c06::233]:33563) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1ce5Y2-0000iR-B3 for help-gnu-emacs@gnu.org; Wed, 15 Feb 2017 14:47:30 -0500 Original-Received: by mail-oi0-x233.google.com with SMTP id w204so92317423oiw.0 for ; Wed, 15 Feb 2017 11:47:30 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=XSw7XrnvnX0Lz57hCgpUaBnWzGC/S3S1VpfvWrhDumU=; b=DOSsbRNY7gOBD04zKRApcPLL04DjPhiD5ZbWmR8tAAnNRg4Ll2wrKAY/YDiFYt0zYS +Y5Hgfd5Br598KxooiEa/3vQ9gjIDuIm9pW2ZtTU2HMcFOK+kEO0Qd/lc+BwlvDYiSq+ XT6qfNnAM+YHf5Hb9m27uG5ftr9xGv3WedM/gXzodG29jXlAQeIQSXzlqwnw5d6LF1P7 BFum5+OW0MurNgseog0QRLlN6VetWEnk7R9T2y3ocMEJQThn07cAEBlhy9pESj7xzYFv Z0oR5LSQuMKmbBWLzn/YLNtyZz5AZJce296tay57W8Flae3qQkgq4W1PAs6NSzsuHd39 0p8g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=XSw7XrnvnX0Lz57hCgpUaBnWzGC/S3S1VpfvWrhDumU=; b=srKK0JrJA/LoSmnudHx1XV2Q+uBE60x/QCeFg1M421ILiWjUO94QfxP5bqIQr8IxYA DEShpGZ7AIH7nvD4Z/eBod20eyTAEyirWKatY8vZllrg2S5EVLfAquSXpUUlr4Vtyx+b ZY1gdtu8eiZ8nm2eQSA2znMJPQ/E4HAwYcvgrM8oIOgpdaZEFmQDdaVK7bVgTglCD9Fc S5YVGIX45U5YIhL4gZWAPf1FjMPZz3e+SEjdNER3L98bRfsHW7kSKex50YZ/dFr38qHD sXvIJKmTJNSiVe/2Pry+DHJ7JQ5o2/1n0S0+Do5UUI49tijCcQTVkgkS/gEAe9Vf5pTr tXMQ== X-Gm-Message-State: AMke39nfYRFoeSRU0ytBDdO22+zS5l93ZZsZid4fnzRKJiAWzGPApXDty9Drs89eqnG+OlBPuZjmVCbqZqH5pg== X-Received: by 10.202.108.5 with SMTP id h5mr21578981oic.29.1487188049567; Wed, 15 Feb 2017 11:47:29 -0800 (PST) Original-Received: by 10.157.56.248 with HTTP; Wed, 15 Feb 2017 11:47:29 -0800 (PST) In-Reply-To: <87k28rimsk.fsf@skimble.plus.com> X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2607:f8b0:4003:c06::233 X-Content-Filtered-By: Mailman/MimeDel 2.1.21 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Original-Sender: "help-gnu-emacs" Xref: news.gmane.org gmane.emacs.help:112328 Archived-At: Sharon Kimble, There's a command in emacs called: `describe-key`. So just type: `M-x describe-key` and then press the chord: `C-x o`. Emacs you tell you to what it is bound to. In any case, `C-x o` is just a short cut to the `other-window` function. So you can type `M-x other-window` and emacs will switch you to the other window. You can bind the `other-window` to whatever keybind you like. Filipe. On Wed, Feb 15, 2017 at 11:52 AM, Sharon Kimble wrote: > Joost Kremers writes: > > > On Wed, Feb 15 2017, Sharon Kimble wrote: > >> Filipe Silva writes: > >> > >>> try `C-x o` > >> > >> Sorry, that doesn't work but says > >> > >> --8<---------------cut here---------------start------------->8--- > >> (wrong-type-argument commandp outline-minor-mode-prefix) in > command-execute > >> --8<---------------cut here---------------end--------------->8--- > > > > Well, then you seemed to have painted yourself in a corner. :-) > > `C-x o' is the default Emacs key binding to switch windows, so if it's > used by another package, then > > either that package is not behaving, or you inadvertently changed its > default key bindings to > > something that's already being used. > > > > You can still move to the other window by clicking in it with the mouse, > or by calling `M-x > > other-window'. If you want to keep the binding of `C-x o' to > `outline-minor-mode-prefix', you should > > probably use another package for window switching. > > I've found that I'd assigned 'C-x o' to two things in my config file, > one of which is to 'outline-minor-mode-prefix', so I commented out the > unused one and restarted emacs. > > But it still didn't work, so I searched in my config for > 'outline-minor-mode-prefix' and found that I'd assigned it twice, so I > commented out the second instant, and restarted again. > > But it still didn't work, so this what I've got it showing as - > > --8<---------------cut here---------------start------------->8--- > (global-set-key (kbd "C-x o") 'outline-minor-mode-prefix) > --8<---------------cut here---------------end--------------->8--- > > If I comment out that line and restart it shows that 'C-x o' is unassigned. > > But if I do 'C-x o' now , it shows > > --8<---------------cut here---------------start------------->8--- > (wrong-type-argument commandp outline-minor-mode-prefix) in command-execute > --8<---------------cut here---------------end--------------->8--- > > So where do I go from here please? > > I don't have windmove or ace-window installed, but I'm quite prepared to > if it means that I get the required functionality. > > Thanks > Sharon. > -- > A taste of linux = http://www.sharons.org.uk > TGmeds = http://www.tgmeds.org.uk > Debian 8.6, fluxbox 1.3.5-2, emacs 25.1.1.1 >