From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Tom Tromey Newsgroups: gmane.emacs.bugs Subject: bug#18966: 25.0.50; unhelpful error message from byte compiler Date: Wed, 05 Nov 2014 16:54:11 -0700 Message-ID: <87389xi4po.fsf@tromey.com> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1415231729 17054 80.91.229.3 (5 Nov 2014 23:55:29 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 5 Nov 2014 23:55:29 +0000 (UTC) To: 18966@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Thu Nov 06 00:55:23 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 1XmAQ6-00018D-UR for geb-bug-gnu-emacs@m.gmane.org; Thu, 06 Nov 2014 00:55:23 +0100 Original-Received: from localhost ([::1]:49172 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XmAQ6-0001cu-Hi for geb-bug-gnu-emacs@m.gmane.org; Wed, 05 Nov 2014 18:55:22 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:34666) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XmAPv-0001aI-CO for bug-gnu-emacs@gnu.org; Wed, 05 Nov 2014 18:55:19 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XmAPn-0005Mv-30 for bug-gnu-emacs@gnu.org; Wed, 05 Nov 2014 18:55:11 -0500 Original-Received: from debbugs.gnu.org ([140.186.70.43]:53380) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XmAPm-0005MZ-Ua for bug-gnu-emacs@gnu.org; Wed, 05 Nov 2014 18:55:03 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1XmAPm-0007fm-Hs for bug-gnu-emacs@gnu.org; Wed, 05 Nov 2014 18:55:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Tom Tromey Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 05 Nov 2014 23:55:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 18966 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.141523169629460 (code B ref -1); Wed, 05 Nov 2014 23:55:02 +0000 Original-Received: (at submit) by debbugs.gnu.org; 5 Nov 2014 23:54:56 +0000 Original-Received: from localhost ([127.0.0.1]:50593 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1XmAPe-0007f0-PH for submit@debbugs.gnu.org; Wed, 05 Nov 2014 18:54:55 -0500 Original-Received: from eggs.gnu.org ([208.118.235.92]:32902) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1XmAPa-0007ef-M4 for submit@debbugs.gnu.org; Wed, 05 Nov 2014 18:54:53 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XmAPS-0005HH-45 for submit@debbugs.gnu.org; Wed, 05 Nov 2014 18:54:50 -0500 Original-Received: from lists.gnu.org ([2001:4830:134:3::11]:53099) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XmAPS-0005HB-15 for submit@debbugs.gnu.org; Wed, 05 Nov 2014 18:54:42 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:34607) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XmAPK-0001S3-RS for bug-gnu-emacs@gnu.org; Wed, 05 Nov 2014 18:54:41 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XmAPD-0005E4-Jj for bug-gnu-emacs@gnu.org; Wed, 05 Nov 2014 18:54:34 -0500 Original-Received: from gproxy6-pub.mail.unifiedlayer.com ([67.222.39.168]:47461) by eggs.gnu.org with smtp (Exim 4.71) (envelope-from ) id 1XmAPD-0005Dt-6g for bug-gnu-emacs@gnu.org; Wed, 05 Nov 2014 18:54:27 -0500 Original-Received: (qmail 5286 invoked by uid 0); 5 Nov 2014 23:54:24 -0000 Original-Received: from unknown (HELO cmgw3) (10.0.90.84) by gproxy6.mail.unifiedlayer.com with SMTP; 5 Nov 2014 23:54:24 -0000 Original-Received: from box522.bluehost.com ([74.220.219.122]) by cmgw3 with id C5uF1p0042f2jeq015uJ9H; Wed, 05 Nov 2014 22:54:24 -0700 X-Authority-Analysis: v=2.1 cv=ON60g0qB c=1 sm=1 tr=0 a=GsOEXm/OWkKvwdLVJsfwcA==:117 a=GsOEXm/OWkKvwdLVJsfwcA==:17 a=cNaOj0WVAAAA:8 a=f5113yIGAAAA:8 a=zstS-IiYAAAA:8 a=PnD2wP_eR3oA:10 a=X1qvojbhiZEA:10 a=ObYnMbm7SD4iEOqgAzEA:9 a=SdpMivjkrW600OA5:21 a=DurGeO5my0tCrkrI:21 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=tromey.com; s=default; h=Content-Type:MIME-Version:Message-ID:Date:Subject:To:From; bh=TQv7/VIBbgEDGmi49C9wBRE5iIpgeIGvKsA1fSB4Gdw=; b=lMc9LfGVPqRxApZStZgz0jJKp4K7F/m0reZaIzLyUWJfowC6zUBktPPKcej6K8jjvo3QOSiMvZyFU+FNzkozR62mlQ8YzAbC29a4VpSJ9AfXMHyqryJNoVBrc5LpQT0d; Original-Received: from [71.33.139.67] (port=34601 helo=bapiya) by box522.bluehost.com with esmtpsa (TLSv1.2:AES128-GCM-SHA256:128) (Exim 4.82) (envelope-from ) id 1XmAP1-0001ZM-HV; Wed, 05 Nov 2014 16:54:15 -0700 X-Attribution: Tom X-Identified-User: {36111:box522.bluehost.com:elynrobi:tromey.com} {sentby:smtp auth 71.33.139.67 authed with tom+tromey.com} X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x 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:95588 Byte compile this code: (push zzz) I get: q.el:1:1:Error: Wrong number of arguments: (2 . 2), 1 This should at least mention "push". If you have a longer program, the line number will not always be helpful. In my case it pointed to the start of a long defun -- but the bad push was toward the end. In GNU Emacs 25.0.50.7 (x86_64-unknown-linux-gnu, GTK+ Version 3.10.9) of 2014-11-02 on bapiya Repository revision: 118270 larsi@gnus.org-20141103010307-bxryy53hat500i4w Windowing system distributor `Fedora Project', version 11.0.11404000 Configured using: `configure --prefix=/home/tromey/Emacs/install' Configured features: XPM JPEG TIFF GIF PNG RSVG IMAGEMAGICK SOUND GPM DBUS GCONF GSETTINGS NOTIFY LIBSELINUX GNUTLS LIBXML2 FREETYPE M17N_FLT LIBOTF XFT ZLIB Important settings: value of $LANG: en_US.UTF-8 value of $XMODIFIERS: @im=none locale-coding-system: utf-8-unix Major mode: Emacs-Lisp Minor modes in effect: shell-dirtrack-mode: t diff-auto-refine-mode: t flyspell-mode: t which-function-mode: t global-auto-revert-mode: t desktop-save-mode: t erc-services-mode: t erc-list-mode: t erc-menu-mode: t erc-autojoin-mode: t erc-ring-mode: t erc-networks-mode: t erc-pcomplete-mode: t erc-track-mode: t erc-match-mode: t erc-button-mode: t erc-fill-mode: t erc-stamp-mode: t erc-netsplit-mode: t erc-irccontrols-mode: t erc-noncommands-mode: t erc-move-to-prompt-mode: t erc-readonly-mode: t savehist-mode: t tooltip-mode: t global-eldoc-mode: t eldoc-mode: t electric-indent-mode: t mouse-wheel-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 column-number-mode: t line-number-mode: t auto-fill-function: do-auto-fill Recent input: C-b C-f C-SPC C-M-b C-M-f C-f C-SPC C-M-b C-M-b M-f C-M-f C-M-f C-f C-M-b M-b C-b C-M-f C-M-b C-x C-x C-f C-] C-] C-g M-< C-z n C-x b * c o m C-x b C-c g 2 3 C-M-SPC M-w C-z n C-u C-u C-n C-u C-n C-p C-o C-o ( m a c r o e x p a n d - a l l SPC ' C-y ) C-j C-v C-] C-z n C-p C-M-b C-n M-f C-f C-f C-f C-a C-u C-n C-u C-n C-n C-n C-n C-e C-M-b C-M-f C-M-f C-M-f C-e C-M-b C-M-f C-a M-f C-M-f C-M-f C-M-f M-b C-z n C-p C-e C-j C-n C-e C-a C-n C-e C-a C-] C-z n C-a C-u C-p C-u C-p s p u s h C-/ C-s f a k e C-w C-w C-s C-s C-e C-M-f C-M-f C-M-f C-p C-p C-p C-e C-M-b C-p C-p C-e C-M-b C-M-f C-M-f C-a M-f M-f C-M-f C-n C-b C-n C-a C-M-SPC M-w C-z n C-u C-p C-u C-p M-f M-f C-f C-f C-M-k C-y M-y C-M-b C-M-f C-e C-M-b C-M-f C-j C-] C-z n C-u C-p C-s o r e f C-n C-a C-M-f C-M-b C-f C-f C-M-f C-M-f C-M-b C-M-f C-n C-a M-f C-M-f C-M-f C-M-b C-M-f C-o C-/ C-/ C-e C-M-b C-M-f C-z n ( m a c r M-/ SPC ' ( u p s h SPC C-u C-b C-t C-e z z z ) ) C-j C-] C-x b q . j e C-g C-x C-f M-r q . e l C-n C-p C-SPC C-u C-u C-n C-w ( p u s h SPC z z z ) C-x C-s M-x r e p o r t - Recent messages: forward-sexp: Scan error: "Containing expression ends prematurely", 1057, 1058 Undo! [2 times] Entering debugger... Quit Making completion list... Quit Mark set next-line: End of buffer Saving file /home/tromey/Emacs/ET/q.el... Wrote /home/tromey/Emacs/ET/q.el Load-path shadows: /home/tromey/.emacs.d/elpa/css-mode-1.0/css-mode hides /home/tromey/Emacs/install/share/emacs/25.0.50/lisp/textmodes/css-mode /home/tromey/.emacs.d/elpa/bubbles-0.5/bubbles hides /home/tromey/Emacs/install/share/emacs/25.0.50/lisp/play/bubbles Features: (mailalias view xterm shadow emacsbug python json elcomp mail-hist find-dired pcmpl-unix pcmpl-gnu shell make-mode flow-fill mule-util bbdb-gui bbdb-hooks sort gnus-cite smiley shr-color color shr browse-url mm-archive gnus-async gnus-bcklg qp gnus-ml disp-table gnus-topic nndraft nnmh nnfolder utf-7 bbdb-gnus bbdb-snarf mail-extr bbdb-com warnings cl gnutls network-stream starttls gnus-agent gnus-srvr gnus-score score-mode nnvirtual gnus-msg nntp gnus-cache gnus-registry registry eieio-base gnus-art mm-uu mml2015 mm-view mml-smime smime dig mailcap gnus-sum gnus-group gnus-undo smtpmail sendmail gnus-start gnus-cloud nnimap nnmail mail-source tls utf7 netrc nnoo parse-time gnus-spec gnus-int gnus-range gnus-win gnus gnus-ems nnheader idutils derived log-edit message rfc822 mml mml-sec mm-decode mm-bodies mm-encode mail-parse rfc2231 rfc2047 rfc2045 ietf-drums mailabbrev mail-utils gmm-utils mailheader pcvs-util eieio-opt speedbar sb-image ezimage dframe dabbrev help-mode debug copyright misearch multi-isearch edebug texinfo sh-script smie executable sgml-mode org-element org-rmail org-mhe org-irc org-info org-gnus org-docview doc-view image-mode org-bibtex bibtex org-bbdb org-w3m org org-macro org-footnote org-pcomplete org-list org-faces org-entities noutline outline org-version ob-emacs-lisp ob ob-tangle ob-ref ob-lob ob-table ob-exp org-src ob-keys ob-comint ob-core ob-eval org-compat org-macs org-loaddefs smerge-mode diff-mode easy-mmode bug-reference goto-addr add-log vc-arch vc-mtn vc-hg jka-compr dired vc-sccs vc-svn vc-cvs vc-rcs vc-bzr cc-mode cc-fonts cc-guess cc-menus cc-cmds vc-git flyspell ispell diminish projectile edmacro kmacro pkg-info find-func lisp-mnt epl grep compile dash s appt diary-lib diary-loaddefs cal-menu calendar cal-loaddefs which-func imenu minimap autorevert filenotify desktop frameset cus-start cus-load status erc-services erc-list erc-menu erc-join erc-ring erc-networks erc-pcomplete pcomplete erc-track erc-match erc-button wid-edit erc-fill erc-stamp erc-netsplit erc-goodies erc erc-backend erc-compat format-spec auth-source cl-macs gv eieio byte-opt bytecomp byte-compile cl-extra cconv eieio-core cl-loaddefs cl-lib gnus-util mm-util mail-prsvr password-cache thingatpt pp advice help-fns vc-dir ewoc vc vc-dispatcher cc-styles cc-align cc-engine cc-vars cc-defs bbdb timezone ange-ftp comint ansi-color ring server savehist dwarf-mode-autoloads gdb-shell-autoloads jabber-autoloads lisppaste-autoloads pydoc-info-autoloads info-look info easymenu weblogger-autoloads package epg-config bbdb-autoloads time-date tooltip eldoc electric uniquify ediff-hook vc-hooks lisp-float-type mwheel x-win x-dnd tool-bar dnd fontset image regexp-opt fringe tabulated-list newcomment elisp-mode lisp-mode prog-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 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 make-network-process dbusbind gfilenotify dynamic-setting system-font-setting font-render-setting move-toolbar gtk x-toolkit x multi-tty emacs) Memory information: ((conses 16 1067070 134237) (symbols 48 101418 16) (miscs 40 41994 5114) (strings 32 315336 71947) (string-bytes 1 7458435) (vectors 16 97649) (vector-slots 8 2097105 84558) (floats 8 566 1009) (intervals 56 62391 6207) (buffers 976 229) (heap 1024 259978 33479)) Tom