From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: =?UTF-8?Q?=E6=BF=B1=E7=94=B0=E5=92=8C=E6=98=8E?= Newsgroups: gmane.emacs.bugs Subject: bug#33150: 27.0.50; defun, keyword option Date: Thu, 25 Oct 2018 16:35:25 +0900 Message-ID: <5bd17240.1c69fb81.b5b50.1535@mx.google.com> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="_B6A6D02D-6017-4AEE-B53F-EF3DA342FC97_" X-Trace: blaine.gmane.org 1540483452 26732 195.159.176.226 (25 Oct 2018 16:04:12 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Thu, 25 Oct 2018 16:04:12 +0000 (UTC) To: 33150@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Thu Oct 25 18:04:08 2018 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gFi79-0006gr-Lh for geb-bug-gnu-emacs@m.gmane.org; Thu, 25 Oct 2018 18:04:03 +0200 Original-Received: from localhost ([::1]:55409 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gFi9G-0002y0-3p for geb-bug-gnu-emacs@m.gmane.org; Thu, 25 Oct 2018 12:06:14 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:42235) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gFhRa-00024U-MB for bug-gnu-emacs@gnu.org; Thu, 25 Oct 2018 11:21:08 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gFhRY-0003aL-Ol for bug-gnu-emacs@gnu.org; Thu, 25 Oct 2018 11:21:06 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:38306) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1gFhRW-0003ZJ-JS for bug-gnu-emacs@gnu.org; Thu, 25 Oct 2018 11:21:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1gFhRW-0007eC-CW for bug-gnu-emacs@gnu.org; Thu, 25 Oct 2018 11:21:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: =?UTF-8?Q?=E6=BF=B1=E7=94=B0=E5=92=8C=E6=98=8E?= Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 25 Oct 2018 15:21:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 33150 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: X-Debbugs-Original-To: "bug-gnu-emacs@gnu.org" Original-Received: via spool by submit@debbugs.gnu.org id=B.154048083529334 (code B ref -1); Thu, 25 Oct 2018 15:21:02 +0000 Original-Received: (at submit) by debbugs.gnu.org; 25 Oct 2018 15:20:35 +0000 Original-Received: from localhost ([127.0.0.1]:42564 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gFhR5-0007d4-CO for submit@debbugs.gnu.org; Thu, 25 Oct 2018 11:20:35 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:37452) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gFaC3-0000i2-He for submit@debbugs.gnu.org; Thu, 25 Oct 2018 03:36:36 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gFaBr-0001JR-Rr for submit@debbugs.gnu.org; Thu, 25 Oct 2018 03:36:30 -0400 Original-Received: from lists.gnu.org ([2001:4830:134:3::11]:53775) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1gFaBn-0001Hl-LA for submit@debbugs.gnu.org; Thu, 25 Oct 2018 03:36:20 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:46787) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gFaBg-0005Pb-A7 for bug-gnu-emacs@gnu.org; Thu, 25 Oct 2018 03:36:19 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gFaBc-00019r-D6 for bug-gnu-emacs@gnu.org; Thu, 25 Oct 2018 03:36:12 -0400 Original-Received: from mail-it1-x132.google.com ([2607:f8b0:4864:20::132]:33747) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1gFaBb-0000mp-W6 for bug-gnu-emacs@gnu.org; Thu, 25 Oct 2018 03:36:08 -0400 Original-Received: by mail-it1-x132.google.com with SMTP id h6-v6so1477836ith.0 for ; Thu, 25 Oct 2018 00:35:30 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=message-id:mime-version:to:from:subject:date:importance; bh=t90tn5EyLYLcnMPLODlUJA/ZsFUy2mR+nPSny29Ys5k=; b=MvQY6YhWxuLzBKZ6r/onyDOMnummv9h4SxrqQF3RfIh1nzLgLMJXcNu1D8BDFn/Arx vwgsLFreW5wvbmrEXNdMv2TLAbpjkp+9R3CN4h/j/lGz6e7mBbYt9xjkfRylecWMw4bp 30dfrRzzpxchXJZ0EwEwt/pVVTCaoZQuGv1eIUmPgPbCcoX99ssKB2a0GUd7avKRLATN 57t96iS9PZKI2aLIfnTiFUFkI5n7nVFeFtKBRD17WqCZEXz4kwF6qJbtrgaL1AWlF3tU i97EnhVJoFPcIOKoMEsepZsuoO/aNGuguPorLE8FBLfFkFna8Jg7ByPVLx09kkHHS4LS 56PA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:message-id:mime-version:to:from:subject:date :importance; bh=t90tn5EyLYLcnMPLODlUJA/ZsFUy2mR+nPSny29Ys5k=; b=lbpIpafwn9br8R2GB98uVxRSGVUdLuqwKHl+0eRWAzbMRIvpbbkpoA14uGD9tOxMJ0 GAK2oGPi4JUqfCTCmexDybUkK6LYoZ/Med0114dpqC3zqewYF/S/vx4nJ2m4LO7gFYNE /BYG71J1naJ+y5slA4TJsBqujxLEBOc4TErV98w6O5+OZ2FmhAM//rkB/EyUmF6faq9M s8LEMk15cCEz4ebeON8rDZ6ha+XL1+VMVEY+kMuSlkbK/bCXj6y3fxMFbjKl07hKqXor ytAfCe+nqHjSGKq4PPHLcDHvoqn7hi1+yD/oSv4W0lxOf8OXhZk1vehq0VdaVBmDe+Vc WmeQ== X-Gm-Message-State: AGRZ1gK9rztPVIl6urx8LxNWlDIlvk7hCAeKQe2epVwrHs3BgXhBnlHT BeyqWS7VY2WaGnWNRhhszVG/zes= X-Google-Smtp-Source: AJdET5e+qPSKUeiYs7gJU5llyOPciSSHtgdiVFTaOuALlCRZPis1VAW0eJqi5cypgdCbhFNwXcQ9yg== X-Received: by 2002:a02:6a16:: with SMTP id l22-v6mr313543jac.9.1540452928895; Thu, 25 Oct 2018 00:35:28 -0700 (PDT) Original-Received: from ?IPv6:240b:251:9840:600:fcea:326e:334f:10f0? ([240b:251:9840:600:fcea:326e:334f:10f0]) by smtp.gmail.com with ESMTPSA id f15-v6sm218824ita.16.2018.10.25.00.35.27 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 25 Oct 2018 00:35:28 -0700 (PDT) Importance: normal X-Priority: 3 X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Mailman-Approved-At: Thu, 25 Oct 2018 11:20:33 -0400 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 208.118.235.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.org gmane.emacs.bugs:151602 Archived-At: --_B6A6D02D-6017-4AEE-B53F-EF3DA342FC97_ Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" (defun test-f (&key a b) (or a b)) -> test-f (test-f :a 1) There happen an error: (wrong-number-of-arguments (lambda (&key a b) (or a b)) 2) I am expecting the return value is 1. In GNU Emacs 27.0.50 (build 1, x86_64-w64-mingw32) of 2018-10-20 built on INTELLIFROG Repository revision: 32e411943d3f1d1546bfcb1aad8c4d4cd28857d6 Windowing system distributor 'Microsoft Corp.', version 10.0.17134 System Description: Microsoft Windows 10 Home (v10.0.1803.17134.345) Recent messages: For information about GNU Emacs and the GNU system, type C-h C-a. Entering debugger... Mark set Back to top level Making completion list... Configured using: 'configure --prefix=3D/usr/local/share/emacs --exec-prefix=3D/usr/local/share/emacs --with-sound=3Dno --with-x-toolkit=3Dno --with-toolkit-scroll-bars --without-lcms2 --without-libsystemd --without-imagemagick --without-json --without-xaw3d --without-xim --with-zlib --with-w32 --without-gpm --without-dbus --without-gsettings --without-selinux CC=3D/mingw64/bin/gcc PKG_CONFIG_PATH=3D/mingw64/lib/pkgconfig' Configured features: XPM JPEG TIFF GIF PNG RSVG NOTIFY ACL GNUTLS LIBXML2 ZLIB TOOLKIT_SCROLL_BARS THREADS GMP Important settings: value of $LANG: ENG locale-coding-system: cp932 Major mode: Lisp Interaction Minor modes in effect: tooltip-mode: t global-eldoc-mode: t eldoc-mode: t electric-indent-mode: t mouse-wheel-mode: t tool-bar-mode: t menu-bar-mode: t file-name-shadow-mode: t global-font-lock-mode: t font-lock-mode: t blink-cursor-mode: t auto-composition-mode: t auto-encryption-mode: t auto-compression-mode: t line-number-mode: t transient-mark-mode: t Load-path shadows: None found. Features: (shadow sort mail-extr emacsbug message rmc puny seq byte-opt gv bytecomp byte-compile cconv dired dired-loaddefs format-spec rfc822 mml mml-sec password-cache epa derived epg epg-config gnus-util rmail rmail-loaddefs time-date mm-decode mm-bodies mm-encode mail-parse rfc2231 mailabbrev gmm-utils mailheader sendmail rfc2047 rfc2045 ietf-drums mm-util mail-prsvr mail-utils help-fns radix-tree cl-print debug backtrace help-mode easymenu find-func cl-loaddefs cl-lib elec-pair mule-util tooltip eldoc electric uniquify ediff-hook vc-hooks lisp-float-type mwheel dos-w32 ls-lisp disp-table term/w32-win w32-win w32-vars term/common-win tool-bar dnd fontset image regexp-opt fringe tabulated-list replace newcomment text-mode elisp-mode lisp-mode prog-mode register page menu-bar rfn-eshadow isearch timer select scroll-bar mouse jit-lock font-lock syntax facemenu font-core term/tty-colors frame cl-generic cham georgian utf-8-lang misc-lang vietnamese tibetan thai tai-viet lao korean japanese eucjp-ms cp51932 hebrew greek romanian slovak czech european ethiopic indian cyrillic chinese composite charscript charprop case-table epa-hook jka-cmpr-hook help simple abbrev obarray minibuffer cl-preloaded nadvice loaddefs button faces cus-face macroexp files text-properties overlay sha1 md5 base64 format env code-pages mule custom widget hashtable-print-readable backquote threads w32notify w32 multi-tty make-network-process emacs) Memory information: ((conses 16 102756 9568) (symbols 48 20419 1) (strings 32 31376 2011) (string-bytes 1 824605) (vectors 16 15704) (vector-slots 8 512238 13474) (floats 8 52 236) (intervals 56 364 0) (buffers 992 15)) --_B6A6D02D-6017-4AEE-B53F-EF3DA342FC97_ Content-Transfer-Encoding: quoted-printable Content-Type: text/html; charset="utf-8"

(defun test-f (&key a b)

=C2=A0 (or a b))

-> test-f

(test-f :a 1)

There happen an error: (wrong-number-of-argument= s (lambda (&key a b) (or

a b)) 2)

I am expecting the return value is 1.=

 

 

 

In GNU Emacs 27.0.50 (build 1, x86_64-w64-mingw32)

of 2018-10-20 built on INTELLIFROG

Repository revision: 32e411943d3f1d1546bfcb1aad8c4d4cd28857d6=

Windowing system distributor 'Microsoft= Corp.', version 10.0.17134

System Descr= iption: Microsoft Windows 10 Home (v10.0.1803.17134.345)

 

Recent messages:=

For information about GNU Emacs and the= GNU system, type C-h C-a.

Entering debu= gger...

Mark set

Back to top level

Making co= mpletion list...

 

Configured using:

'c= onfigure --prefix=3D/usr/local/share/emacs

--exec-prefix=3D/usr/local/share/emacs --with-sound=3Dno

=

--with-x-toolkit=3Dno --with-toolkit-scroll-bars --wi= thout-lcms2

--without-libsystemd --with= out-imagemagick --without-json

--withou= t-xaw3d --without-xim --with-zlib --with-w32 --without-gpm

--without-dbus --without-gsettings --without-selinux

CC=3D/mingw64/bin/gcc PKG_CONFIG_PATH=3D/= mingw64/lib/pkgconfig'

 =

Configured features:

XPM JPEG TIFF GIF PNG RSVG NOTIFY ACL GNUTLS LIBXML2 ZLIB<= /p>

TOOLKIT_SCROLL_BARS THREADS GMP

 

Important setting= s:

=C2=A0 value of $LANG: ENG=

=C2=A0 locale-coding-system: cp932

<= p class=3DMsoNormal> 

Major mode: L= isp Interaction

 

Minor modes in effect:

=C2=A0 tooltip-mode: t

=C2=A0 global-el= doc-mode: t

=C2=A0 eldoc-mode: t

=C2=A0 electric-indent-mode: t

=C2=A0 mouse-wheel-mode: t

=C2=A0 tool-bar-mode: t

=C2=A0 men= u-bar-mode: t

=C2=A0 file-name-shadow-mo= de: t

=C2=A0 global-font-lock-mode: t

=C2=A0 font-lock-mode: t

=C2=A0 blink-cursor-mode: t

=C2=A0 auto-composition-mode: t

= =C2=A0 auto-encryption-mode: t

=C2=A0 au= to-compression-mode: t

=C2=A0 line-numbe= r-mode: t

=C2=A0 transient-mark-mode: t<= o:p>

 

Load-path shadows:

None found.

 

Featu= res:

(shadow sort mail-extr emacsbug mes= sage rmc puny seq byte-opt gv

bytecomp b= yte-compile cconv dired dired-loaddefs format-spec rfc822 mml

mml-sec password-cache epa derived epg epg-config gnu= s-util rmail

rmail-loaddefs time-date mm= -decode mm-bodies mm-encode mail-parse

r= fc2231 mailabbrev gmm-utils mailheader sendmail rfc2047 rfc2045<= /p>

ietf-drums mm-util mail-prsvr mail-utils help-fns r= adix-tree cl-print

debug backtrace help-= mode easymenu find-func cl-loaddefs cl-lib

elec-pair mule-util tooltip eldoc electric uniquify ediff-hook vc-hooks<= o:p>

lisp-float-type mwheel dos-w32 ls-lisp d= isp-table term/w32-win w32-win

w32-vars = term/common-win tool-bar dnd fontset image regexp-opt fringe

=

tabulated-list replace newcomment text-mode elisp-mode= lisp-mode

prog-mode register page menu-= bar rfn-eshadow isearch timer select

scr= oll-bar mouse jit-lock font-lock syntax facemenu font-core

term/tty-colors frame cl-generic cham georgian utf-8-lan= g misc-lang

vietnamese tibetan thai tai-= viet lao korean japanese eucjp-ms cp51932

hebrew greek romanian slovak czech european ethiopic indian cyrillic=

chinese composite charscript charprop case-t= able epa-hook jka-cmpr-hook

help simple = abbrev obarray minibuffer cl-preloaded nadvice loaddefs

button faces cus-face macroexp files text-properties overla= y sha1 md5

base64 format env code-pages = mule custom widget hashtable-print-readable

backquote threads w32notify w32 multi-tty make-network-process emacs)

 

Memory information:

((conses 16 102756 = 9568)

(symbols 48 20419 1)

(strings 32 31376 2011)

(string-bytes 1 824605)

(vecto= rs 16 15704)

(vector-slots 8 512238 134= 74)

(floats 8 52 236)

(intervals 56 364 0)

= (buffers 992 15))

= --_B6A6D02D-6017-4AEE-B53F-EF3DA342FC97_--