emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Ian Barton <lists@wilkesley.net>
To: emacs-orgmode@gnu.org
Subject: Problems with M-<up> on Emacs 25.
Date: Sun, 17 Apr 2016 10:57:20 +0100	[thread overview]
Message-ID: <20160417095719.GA14396@localhost> (raw)

I think that this is an Emacs not org-mode problem, but maybe somebody
can throw some light on it.

On my computer running 24.5.1 M<up> works as expected. However, on
emacs 25.1.50.1 I get:

Debugger entered--Lisp error: (error "There is no other window")
  scroll-other-window(-)
  scroll-other-window-down(nil)
  funcall-interactively(scroll-other-window-down nil)
  call-interactively(scroll-other-window-down nil nil)
  command-execute(scroll-other-window-down)


However, in my org buffer:

c-h w org-metaup
org-metaup is on <M-up>

which seems to indicate that the key is correctly bound.

If I start emacs with a minimal config that just has (require
org-mode), I still get the error.

I then tried the "If it doesn't work hit it with the biggest hammer
available" approach:

(require 'org)
(require 'ob-tangle)
(eval-after-load "org"
    '(progn
      (define-key org-mode-map (kbd "M-<down>") 'org-metadown)
      (define-key org-mode-map (kbd "M-<up>") 'org-metaup)))

but emacs thinks that M-<up> is bound to scroll other window.


--
Best wishes,

Ian.

             reply	other threads:[~2016-04-17  9:57 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-04-17  9:57 Ian Barton [this message]
2016-04-17 23:51 ` Problems with M-<up> on Emacs 25 Adam Porter
2016-04-18  3:14   ` Kaushal Modi

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.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20160417095719.GA14396@localhost \
    --to=lists@wilkesley.net \
    --cc=emacs-orgmode@gnu.org \
    /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.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

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).