From: Filipe Silva <filipe.silva@gmail.com>
To: Sharon Kimble <boudiccas@skimble.plus.com>
Cc: Joost Kremers <joostkremers@fastmail.fm>,
help-emacs <help-gnu-emacs@gnu.org>
Subject: Re: moving between buffers side-by-side using the keyboard
Date: Wed, 15 Feb 2017 17:47:29 -0200 [thread overview]
Message-ID: <CAEwkUWN3SHdVzVM0XAH8XD_5DGJaLps11hO4YNcAXLTXLgskKQ@mail.gmail.com> (raw)
In-Reply-To: <87k28rimsk.fsf@skimble.plus.com>
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 <boudiccas@skimble.plus.com>
wrote:
> Joost Kremers <joostkremers@fastmail.fm> writes:
>
> > On Wed, Feb 15 2017, Sharon Kimble wrote:
> >> Filipe Silva <filipe.silva@gmail.com> 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
>
next prev parent reply other threads:[~2017-02-15 19:47 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-02-15 12:08 moving between buffers side-by-side using the keyboard Sharon Kimble
2017-02-15 12:16 ` Filipe Silva
2017-02-15 12:25 ` Sharon Kimble
2017-02-15 12:34 ` tomas
2017-02-15 12:40 ` Joost Kremers
2017-02-15 13:52 ` Sharon Kimble
2017-02-15 14:04 ` Kaushal Modi
2017-02-15 14:41 ` Drew Adams
2017-02-15 15:24 ` Sharon Kimble
2017-02-15 16:07 ` Drew Adams
2017-02-16 4:44 ` Marcin Borkowski
2017-02-15 19:47 ` Filipe Silva [this message]
2017-02-15 12:29 ` Joost Kremers
2017-02-15 19:11 ` Eric Abrahamsen
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=CAEwkUWN3SHdVzVM0XAH8XD_5DGJaLps11hO4YNcAXLTXLgskKQ@mail.gmail.com \
--to=filipe.silva@gmail.com \
--cc=boudiccas@skimble.plus.com \
--cc=help-gnu-emacs@gnu.org \
--cc=joostkremers@fastmail.fm \
/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).