From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ian Barton Subject: Problems with M- on Emacs 25. Date: Sun, 17 Apr 2016 10:57:20 +0100 Message-ID: <20160417095719.GA14396@localhost> Reply-To: lists@wilkesley.net Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:35722) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1arjSN-0005EK-Vc for emacs-orgmode@gnu.org; Sun, 17 Apr 2016 05:57:32 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1arjSJ-0003HG-0c for emacs-orgmode@gnu.org; Sun, 17 Apr 2016 05:57:31 -0400 Received: from mail2.wilkesley.net ([176.58.110.121]:51199 helo=li40-130.members.linode.com) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1arjSI-0003FP-R6 for emacs-orgmode@gnu.org; Sun, 17 Apr 2016 05:57:26 -0400 Received: from localhost (unknown [46.33.134.31]) (Authenticated sender: ian@wilkesley.net) by li40-130.members.linode.com (Postfix) with ESMTPSA id 383A9DCEFB for ; Sun, 17 Apr 2016 09:57:24 +0000 (UTC) Content-Disposition: inline List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: "Emacs-orgmode" To: emacs-orgmode@gnu.org 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 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 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-") 'org-metadown) (define-key org-mode-map (kbd "M-") 'org-metaup))) but emacs thinks that M- is bound to scroll other window. -- Best wishes, Ian.