unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Eli Zaretskii <eliz@gnu.org>
To: "G. Kevin Zhu" <g.kevin.zhu@ieee.org>
Cc: 23155@debbugs.gnu.org
Subject: bug#23155: 24.5; 24.5.1 (i686-pc-ming32) other-window cannot take one argument
Date: Thu, 31 Mar 2016 05:40:34 +0300	[thread overview]
Message-ID: <83lh4zv07x.fsf@gnu.org> (raw)
In-Reply-To: <56FC6EAA.3090801@ieee.org> (g.kevin.zhu@ieee.org)

> Cc: 23155@debbugs.gnu.org
> From: "G. Kevin Zhu" <g.kevin.zhu@ieee.org>
> Date: Wed, 30 Mar 2016 20:26:18 -0400
> 
> >> (defun my-previous-window ()
> >>    (interactive)
> >>    (other-window -1))
> >>
> >> Run this function and receive the following error message:
> >>
> >> Wrong number of arguments: (lambda nil "Select the previous window."
> >> (interactive) ((other-window) -1)), 3
> >
> > I cannot reproduce this.  Does this happen for you in "emacs -Q", if
> > you evaluate the definition of my-previous-window in the *scratch*
> > buffer?  If it works then, you should look into your .emacs for the
> > reason of the error.
> >
> 
> Thank you for the pointer. This does not happen in your method.
> 
> Furthermore, I could not duplicate the problem on my windows machine.

Then I guess some of the init files loaded on the system where you
have the problems redefines or advises other-window in some way.  You
need to find that redefinition and fix it.





  reply	other threads:[~2016-03-31  2:40 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-03-29 17:15 bug#23155: 24.5; 24.5.1 (i686-pc-ming32) other-window cannot take one argument Guangran Kevin Zhu
2016-03-30  2:44 ` Eli Zaretskii
2016-03-31  0:26   ` G. Kevin Zhu
2016-03-31  2:40     ` Eli Zaretskii [this message]
2016-12-07 20:39       ` Glenn Morris

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=83lh4zv07x.fsf@gnu.org \
    --to=eliz@gnu.org \
    --cc=23155@debbugs.gnu.org \
    --cc=g.kevin.zhu@ieee.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.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).