From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Robert Weiner Newsgroups: gmane.emacs.devel Subject: Re: Emacs 24.0.94: With function argdesc bitstring, Elisp manual does not say how to get arg list Date: Thu, 30 Jun 2016 12:30:21 -0400 Message-ID: References: Reply-To: rswgnu@gmail.com NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 X-Trace: ger.gmane.org 1467304286 26126 80.91.229.3 (30 Jun 2016 16:31:26 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 30 Jun 2016 16:31:26 +0000 (UTC) Cc: Stephen Berman To: emacs-devel Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu Jun 30 18:31:26 2016 Return-path: Envelope-to: ged-emacs-devel@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 1bIeru-0006pX-Sq for ged-emacs-devel@m.gmane.org; Thu, 30 Jun 2016 18:31:11 +0200 Original-Received: from localhost ([::1]:51579 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bIerp-0004Ah-3m for ged-emacs-devel@m.gmane.org; Thu, 30 Jun 2016 12:31:05 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:46855) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bIerg-0003qp-Fi for emacs-devel@gnu.org; Thu, 30 Jun 2016 12:31:00 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bIerd-0008Lj-9P for emacs-devel@gnu.org; Thu, 30 Jun 2016 12:30:56 -0400 Original-Received: from fencepost.gnu.org ([2001:4830:134:3::e]:42528) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bIerd-0008Lb-6G for emacs-devel@gnu.org; Thu, 30 Jun 2016 12:30:53 -0400 Original-Received: from mail-oi0-f44.google.com ([209.85.218.44]:34386) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_128_CBC_SHA1:128) (Exim 4.82) (envelope-from ) id 1bIerb-0004Kr-L3 for emacs-devel@gnu.org; Thu, 30 Jun 2016 12:30:51 -0400 Original-Received: by mail-oi0-f44.google.com with SMTP id s66so72713840oif.1 for ; Thu, 30 Jun 2016 09:30:51 -0700 (PDT) X-Gm-Message-State: ALyK8tI7fIt59n4ziAXVNp1fvBm4ZhOhGgvklhL/EEBefyLg6UdeC+AFnJ2bPY7aHKiHDQJ4cKk3dIaXmLqUYg== X-Received: by 10.202.72.137 with SMTP id v131mr10140354oia.22.1467304250845; Thu, 30 Jun 2016 09:30:50 -0700 (PDT) Original-Received: by 10.202.212.143 with HTTP; Thu, 30 Jun 2016 09:30:21 -0700 (PDT) In-Reply-To: X-Gmail-Original-Message-ID: X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2001:4830:134:3::e X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.org gmane.emacs.devel:205002 Archived-At: On Thu, Jun 30, 2016 at 10:11 AM, Robert Weiner wrote: > Is there a Lisp function to extract the argument list of a byte-coded > function when it uses the bitstring arg descriptor in its first > element (see below for the Elisp manual doc on this)? I see now through disassembly of such byte-coded functions that the byte-compiler discards the actual names of the arguments and the disassembler just outputs placeholders for them. Why not preserve the argument signature as is done for functions with a fixed number of arguments? In Lisp, we should be able to reason about compiled code too, right? Bob