GNU bug report logs - #23155
24.5; 24.5.1 (i686-pc-ming32) other-window cannot take one argument

Previous Next

Package: emacs;

Reported by: Guangran Kevin Zhu <g.kevin.zhu <at> ieee.org>

Date: Tue, 29 Mar 2016 21:11:03 UTC

Severity: normal

Tags: moreinfo

Found in version 24.5

Done: Glenn Morris <rgm <at> gnu.org>

Bug is archived. No further changes may be made.

Full log


Message #11 received at 23155 <at> debbugs.gnu.org (full text, mbox):

From: "G. Kevin Zhu" <g.kevin.zhu <at> ieee.org>
To: Eli Zaretskii <eliz <at> gnu.org>
Cc: 23155 <at> debbugs.gnu.org
Subject: Re: bug#23155: 24.5; 24.5.1 (i686-pc-ming32) other-window cannot take
 one argument
Date: Wed, 30 Mar 2016 20:26:18 -0400
Hi Eli,

On 16-03-29 10:44 PM, Eli Zaretskii wrote:
>> Date: Tue, 29 Mar 2016 13:15:55 -0400
>> From: Guangran Kevin Zhu <g.kevin.zhu <at> ieee.org>
>>
>> In the .emacs file, insert
>>
>> (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.


-- 
Sincerely yours,

G. Kevin Zhu




This bug report was last modified 8 years and 168 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.