From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Thorsten Jolitz Newsgroups: gmane.emacs.bugs Subject: bug#18039: 24.3; Broken docstring in cl-style functions Date: Thu, 17 Jul 2014 01:24:17 +0200 Message-ID: <87vbqwanvi.fsf@gmail.com> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1405553125 31520 80.91.229.3 (16 Jul 2014 23:25:25 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 16 Jul 2014 23:25:25 +0000 (UTC) To: 18039@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Thu Jul 17 01:25:19 2014 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1X7YZa-0001rB-Rj for geb-bug-gnu-emacs@m.gmane.org; Thu, 17 Jul 2014 01:25:19 +0200 Original-Received: from localhost ([::1]:41685 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1X7YZa-0001jd-8h for geb-bug-gnu-emacs@m.gmane.org; Wed, 16 Jul 2014 19:25:18 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:52721) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1X7YZR-0001fG-AP for bug-gnu-emacs@gnu.org; Wed, 16 Jul 2014 19:25:14 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1X7YZL-0003Fx-Pk for bug-gnu-emacs@gnu.org; Wed, 16 Jul 2014 19:25:09 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:33430) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1X7YZL-0003Fe-LX for bug-gnu-emacs@gnu.org; Wed, 16 Jul 2014 19:25:03 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1X7YZL-0004iC-0Y for bug-gnu-emacs@gnu.org; Wed, 16 Jul 2014 19:25:03 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Thorsten Jolitz Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 16 Jul 2014 23:25:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 18039 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.140555308818083 (code B ref -1); Wed, 16 Jul 2014 23:25:02 +0000 Original-Received: (at submit) by debbugs.gnu.org; 16 Jul 2014 23:24:48 +0000 Original-Received: from localhost ([127.0.0.1]:56929 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1X7YZ5-0004hZ-Ak for submit@debbugs.gnu.org; Wed, 16 Jul 2014 19:24:48 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:50977) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1X7YZ1-0004hL-4x for submit@debbugs.gnu.org; Wed, 16 Jul 2014 19:24:43 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1X7YYq-0003B0-G5 for submit@debbugs.gnu.org; Wed, 16 Jul 2014 19:24:37 -0400 Original-Received: from lists.gnu.org ([2001:4830:134:3::11]:44651) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1X7YYq-0003Aw-Cx for submit@debbugs.gnu.org; Wed, 16 Jul 2014 19:24:32 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:52672) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1X7YYk-0001d6-SB for bug-gnu-emacs@gnu.org; Wed, 16 Jul 2014 19:24:32 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1X7YYf-00038H-6R for bug-gnu-emacs@gnu.org; Wed, 16 Jul 2014 19:24:26 -0400 Original-Received: from mail-we0-x22e.google.com ([2a00:1450:400c:c03::22e]:37997) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1X7YYe-000381-RV for bug-gnu-emacs@gnu.org; Wed, 16 Jul 2014 19:24:21 -0400 Original-Received: by mail-we0-f174.google.com with SMTP id x48so1660087wes.33 for ; Wed, 16 Jul 2014 16:24:19 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:subject:date:message-id:user-agent:mime-version :content-type; bh=TpsMFhJVpUxaK9Lbf1MN5UhD0NGBrN7I0c6g9X1vJWM=; b=ODW3pP2YvmTl04phrdQV24oFBxsiZYVRL2YI93RIqWPVL5qOAbvx+OHOTd8yWExbX2 m5qQ/NJlGqLDs+xl2G5JtHGmzQsgfjsOaf2mprRO9fyuLhQrbYesX9P1ffZrk5GbPykR tGtr5yIVAadSZDBOH34m/fygKCoFMMam140Ih3rl3mPh8+XFjIi3PJgvXMA8h+ng2F8m NPsJ2jRJ/CL6ZXQsEslMhNdU/iVXMM5Lii1FRORR6dG1rASXWqwwz5BvESZ8gpyfpqgX pGXXfUa1E4wEubbr75tMP8NDqOMDprjJvYvQf26Xjd1+GK/wEM6HB6Ti5m3NzXMWgemS 6VNA== X-Received: by 10.180.24.66 with SMTP id s2mr16961421wif.33.1405553059783; Wed, 16 Jul 2014 16:24:19 -0700 (PDT) Original-Received: from localhost (g231233164.adsl.alicedsl.de. [92.231.233.164]) by mx.google.com with ESMTPSA id l2sm1651382wjw.31.2014.07.16.16.24.18 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 16 Jul 2014 16:24:18 -0700 (PDT) User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3 (gnu/linux) X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-Received-From: 140.186.70.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-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:91602 Archived-At: Certain combinations of normal function args with &key args result in broken docstrings for functions defined with `defun*'. Recipe: 0. emacs -Q 1. download and load https://raw.githubusercontent.com/tj64/puml/master/puml.el 2. ,----[ C-h f puml-key-val RET ] | puml-key-val is a Lisp function in `puml.el'. | | (puml-key-val KEY VAL &key CRLF INS) | | Return or insert PlantUML key-val pair. `---- OK 3. ,----[ C-h f puml-arrow RET ] | puml-arrow is a Lisp function in `puml.el'. | | (puml-arrow &key (LEN 2) DIR (SHAFT "-") (LHEAD "") (RHEAD ">") LEXTRA | REXTRA INS) | | Return or insert PlantUML arrow. `---- OK 4. ,----[ C-h f puml-skinparam RET ] | puml-skinparam is a Lisp function in `puml.el'. | | (puml-skinparam 40 102 110 32 75 69 89 45 86 65 76 45 83 84 82 71 32 | 38 107 101 121 32 69 76 69 77 32 40 67 82 76 70 32 34 10 34 41 32 73 | 78 83 41) | | Return or insert PlantUML skinparam. `---- BUG signature looks like this: (defun* puml-skinparam (key-val-strg &key elem (crlf "\n") ins) thus the bug seems to be in the combination of normal args 'key-val-strg and &key args with default values '(crlf "\n"). In GNU Emacs 24.3.1 (x86_64-unknown-linux-gnu, GTK+ Version 3.12.2) of 2014-06-11 on var-lib-archbuild-staging-x86_64-jgc Configured using: `configure '--prefix=/usr' '--sysconfdir=/etc' '--libexecdir=/usr/lib' '--localstatedir=/var' '--with-x-toolkit=gtk3' '--with-xft' 'CFLAGS=-march=x86-64 -mtune=generic -O2 -pipe -fstack-protector-strong --param=ssp-buffer-size=4' 'LDFLAGS=-Wl,-O1,--sort-common,--as-needed,-z,relro' 'CPPFLAGS=-D_FORTIFY_SOURCE=2'' Important settings: value of $LANG: de_DE.UTF-8 locale-coding-system: utf-8-unix default enable-multibyte-characters: t Major mode: Emacs-Lisp Minor modes in effect: tooltip-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 auto-composition-mode: t auto-encryption-mode: t auto-compression-mode: t line-number-mode: t transient-mark-mode: t Recent input: C-x d g i t / p u m TAB RET n n n L y C-x 3 C-h f p u m l - a c t TAB i TAB RET f C-v C-v C-v C-v C-v C-v C-v C-v C-v C-h f p u m l - s k i TAB RET C-v C-h f p u m l - a r r o w RET C-g C-p C-p C-p C-p C-p C-p C-p C-p C-p C-p C-p C-p C-h f p u m l - k e TAB RET C-h f p u m l - n o t e RET ESC x e m a DEL DEL DEL b u TAB g TAB TAB ESC b C-k C-b C-g ESC x r e p TAB o TAB r TAB RET Recent messages: Load: 1 file. Making completion list... Type "q" in help window to restore its previous buffer. Loading vc-git...done [2 times] Quit [2 times] Making completion list... [2 times] Quit Making completion list... [2 times] Load-path shadows: /usr/share/emacs/24.3/lisp/org/.dir-locals hides /usr/share/emacs/24.3/lisp/gnus/.dir-locals Features: (shadow sort gnus-util mail-extr emacsbug message format-spec rfc822 mml mml-sec mm-decode mm-bodies mm-encode mail-parse rfc2231 mailabbrev gmm-utils mailheader sendmail rfc2047 rfc2045 ietf-drums mm-util mail-prsvr mail-utils vc-git help-mode easymenu puml help-fns cl-macs gv cl cl-lib dired-aux dired time-date tooltip ediff-hook vc-hooks lisp-float-type mwheel x-win x-dnd tool-bar dnd fontset image regexp-opt fringe tabulated-list newcomment lisp-mode register page menu-bar rfn-eshadow timer select scroll-bar mouse jit-lock font-lock syntax facemenu font-core frame cham georgian utf-8-lang misc-lang vietnamese tibetan thai tai-viet lao korean japanese hebrew greek romanian slovak czech european ethiopic indian cyrillic chinese case-table epa-hook jka-cmpr-hook help simple abbrev minibuffer loaddefs button faces cus-face macroexp files text-properties overlay sha1 md5 base64 format env code-pages mule custom widget hashtable-print-readable backquote make-network-process dbusbind dynamic-setting system-font-setting font-render-setting move-toolbar gtk x-toolkit x multi-tty emacs) -- cheers, Thorsten