From debbugs-submit-bounces@debbugs.gnu.org Fri Sep 17 16:12:31 2010 Received: (at submit) by debbugs.gnu.org; 17 Sep 2010 20:12:31 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OwhIN-0005nO-8p for submit@debbugs.gnu.org; Fri, 17 Sep 2010 16:12:31 -0400 Received: from eggs.gnu.org ([140.186.70.92]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OwhIK-0005nJ-Hj for submit@debbugs.gnu.org; Fri, 17 Sep 2010 16:12:29 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1OwhKb-0006ro-Rc for submit@debbugs.gnu.org; Fri, 17 Sep 2010 16:14:51 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-4.2 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_MED, T_DKIM_INVALID,T_RP_MATCHES_RCVD autolearn=unavailable version=3.3.1 Received: from lists.gnu.org ([199.232.76.165]:36985) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OwhKa-0006rH-Hh for submit@debbugs.gnu.org; Fri, 17 Sep 2010 16:14:49 -0400 Received: from [140.186.70.92] (port=51380 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OwhKR-0008By-7E for bug-gnu-emacs@gnu.org; Fri, 17 Sep 2010 16:14:45 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1OwhKL-0006pF-1v for bug-gnu-emacs@gnu.org; Fri, 17 Sep 2010 16:14:34 -0400 Received: from gateway-a.fh-trier.de ([143.93.54.181]:38920) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OwhKK-0006m3-QZ for bug-gnu-emacs@gnu.org; Fri, 17 Sep 2010 16:14:33 -0400 Received: from raven (dslb-084-059-212-138.pools.arcor-ip.net [84.59.212.138]) (Authenticated sender: politza) by gateway-a.fh-trier.de (Postfix) with ESMTP id 2EF6B1743347 for ; Fri, 17 Sep 2010 22:14:03 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha1; c=simple/simple; d=fh-trier.de; s=default; t=1284754443; bh=oM73hYmZFLLCZeH9UYyHdIferGg=; h=From:To:Subject: Date:Message-ID:MIME-Version:Content-Type; b=IRy8vnbxDWU7DptcJhACJ M59MlC92y+ziyqMlR9VTHUNcbWvCauN66OkmpPqv4XxLyYQC9cEP6ylIVeGwx8g0QFW yg5wv338gAVNiFmMV4+ZezWou9mHNySlkOjl8rBb5Sfk9iz3UxhQ43v/b7R0KRNj2cH y0TKLQNDGLoy6Bzg= From: Andreas Politz To: bug-gnu-emacs@gnu.org Subject: 24.0.50; Calc:Error in Parser of Syntax Tables Date: Fri, 17 Sep 2010 22:14:02 +0200 Message-ID: <87r5gs2kmt.fsf@fh-trier.de> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Virus-Scanned: by Amavisd-new + McAfee uvscan + ClamAV [Rechenzentrum FH-Trier (r/ft)] X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6, seldom 2.4 (older, 4) X-Spam-Score: -5.9 (-----) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -5.9 (-----) There is something wrong with the Parser of Calcs User Syntax Tables. The Example given is from (info "(calc) Advanced Syntax Patterns"), so it should work, but gives an error "Blank tokens are not allowed", originating in the function `calc-fix-token-name' in calc-prog.el . Removing the last cond-part in this function is a workaround. emacs -Q M-x calc RET ZS foo ( # { , # , # }? ) := bar(#1,#2) C-c C-c Yours, A. Politz In GNU Emacs 24.0.50.2 (x86_64-unknown-linux-gnu, GTK+ Version 2.20.1) of 2010-06-13 on raven Windowing system distributor `The X.Org Foundation', version 11.0.10707000 Important settings: value of $LC_ALL: C value of $LC_COLLATE: nil value of $LC_CTYPE: nil value of $LC_MESSAGES: nil value of $LC_MONETARY: nil value of $LC_NUMERIC: nil value of $LC_TIME: nil value of $LANG: en_US.UTF-8 value of $XMODIFIERS: nil locale-coding-system: utf-8-unix default enable-multibyte-characters: t Major mode: Emacs-Lisp Minor modes in effect: server-mode: t easy-repeat-mode: t eldoc-mode: t shell-dirtrack-mode: t recentf-mode: t ido-hacks-mode: t window-numbering-mode: t show-paren-mode: t ido-everywhere: t global-hi-lock-mode: t hi-lock-mode: t display-time-mode: t savehist-mode: t tooltip-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 transient-mark-mode: t Recent input: C-n C-n C-n M-f M-f M-f M-f C-h C-d M-f M-f M-f C-h C-d C-e C-n M-b M-b M-b M-b C-h C-h M-f M-f M-f C-d C-h C-e C-x C-e C-x b C-x b C-x b C-s ) M-b M-b C-b C-x b C-x b C-d C-d n i l C-e M-b M-b M-d 0 C-f C-f C-f C-h 4 C-e C-c C-c [ SPC C-s : C-f C-f C-f C-f C-f C-f C-f C-f ] SPC C-c C-c ' [ SPC " f i l e : / / f o o . o d s " SPC s h e e t 1 . A 1 : . B 2 SPC ] ' M-p C-g Z S M-f M-b p a p p l y ( M-f , a p p e n d C-M-f ) C-c C-c ' M-p Z S M-f C-/ C-x k Z S C-M-f C-b C-b C-h C-h M-b C-n C-n M-m M-f C-r { C-d C-a C-f C-f C-f C-f " # " SPC M-f M-h C-d C-M-f M-d C-e C-h C-c C-c q C-c C-c C-M-x q C-c C-c C-d \ C-h M-: ( p u M-p M-p M-p M-p M-p M-p M-p M-f M-f M-f M-f M-f M-f M-b C-b C-b C-b C-b C-h # M-: 9 ( c a l c - e M-p M-p M-p M-n M-f C-f C-f C-f C-f C-f C-d # M-: M-p M-f M-f C-f C-f C-f C-f C-f SPC C-f SPC % C-c C-c ' M-p C-f C-M-f % C-d ' M-p C-g M-1 C-M-a C-M-a C-M-e C-M-e C-M-a C-M-l C-M-l M-x r p o r r e p o r t M-p Recent messages: Back to top level. Working... cond: Token '#' is reserved (("#" * 1 1)) "2" (2 "Syntax error") Working... [2 times] (Cancelled) Quit Mark set Load-path shadows: /home/politza/.emacs.d/minor-modes/ido hides /home/politza/src/emacs23/lisp/ido Features: (shadow emacsbug calc-math calc-cplx calc-bin nxml-uchnm rng-xsd xsd-regexp rng-cmpct rng-nxml rng-valid rng-loc rng-uri rng-parse nxml-parse rng-match rng-dt rng-util rng-pttrn nxml-ns nxml-mode nxml-outln nxml-rap nxml-util nxml-glyph nxml-enc xmltok arc-mode archive-mode calc-embed calc-mode fortran cus-edit gnus-fun bbdb-gui flow-fill qp reveal fix-umlaut org-wl org-w3m org-vm org-rmail org-mhe org-mew org-irc org-jsinfo org-infojs org-html org-exp org-exp-blocks org-agenda org-info org-gnus org-docview org-bibtex org-bbdb newcomment ielm etags cc-mode cc-fonts cc-menus cc-cmds cc-styles cc-align cc-engine cc-vars cc-defs w3m-search macroexp calc-rewr browse-kill-ring calc-trail calc-incom calc-undo iso-transl quail gnus-cite ansi-color gnus-async gnus-bcklg gnus-kill gnus-ml parse-time nnfolder nnmbox utf-7 utf7 netrc starttls nnimap imap nndraft nnmh bbdb-gnus bbdb-snarf mail-extr bbdb-com warnings nnnil gnus-agent gnus-srvr gnus-score score-mode nnvirtual gnus-msg gnus-art mm-uu mml2015 epg-config mm-view smime dig mailcap nntp gnus-cache gnus-sum nnoo gnus-group gnus-undo nnmail mail-source gnus-start gnus-spec gnus-win w3m-cookie sort mule-util w3m-form w3m-bookmark w3m-tabmenu w3m-session browse-url w3m doc-view jka-compr image-mode w3m-hist w3m-fb w3m-ems w3m-ccl ccl w3m-favicon w3m-image w3m-proc w3m-util debug cl-specs edebug find-dired autorevert ffap thingatpt vc-dispatcher vc-svn bookmark pp reposition vc-git find-func calc-stuff calc-frac apropos calc-poly calc-units calc-alg calcalg2 calc-forms calc-vec calc-arith calc-lang calccomp calc-map calc-aent help-mode view multi-isearch calc-help calc-yank calc-prog calc-ext calc-misc calc-menu calc calc-loaddefs calc-macs linux tex-site auto-loads info color-theme disp-table closure minibuffer-regexp derived pascal org byte-opt bytecomp byte-compile org-footnote org-src org-list org-faces org-compat org-entities org-macs imenu ispell gnus-int gnus-range message rfc822 mml mml-sec mm-decode mm-bodies mm-encode mail-parse rfc2231 rfc2047 rfc2045 ietf-drums mailabbrev gmm-utils mailheader gnus gnus-ems nnheader mail-utils mm-util mail-prsvr avoid server easy-repeat repeat eldoc ibuf-macs ibuf-ext ibuffer dired-x dired-aux dired dired-details tramp-imap assoc tramp-gw tramp-fish tramp-smb tramp-cache tramp-ftp tramp-cmds tramp auth-source gnus-util shell password-cache format-spec tramp-compat trampver time-date recentf tree-widget wid-edit easymenu generic ido-hacks hippie-exp my-anything anything kbd-helper foldout noutline outline edmacro kmacro org-install bbdb-autoloads bbdb timezone persistent-scratch-buffer window-numbering easy-mmode cl cl-19 uniquify winner paren ido grep compile comint regexp-opt ring hi-lock time cus-start cus-load saveplace savehist advice help-fns advice-preload tooltip ediff-hook vc-hooks lisp-float-type mwheel x-win x-dnd tool-bar dnd fontset image fringe lisp-mode register page menu-bar rfn-eshadow timer select scroll-bar mldrag 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 loaddefs button minibuffer faces cus-face files text-properties overlay md5 base64 format env code-pages mule custom widget hashtable-print-readable backquote make-network-process dbusbind dynamic-setting font-render-setting gtk x-toolkit x multi-tty emacs) From debbugs-submit-bounces@debbugs.gnu.org Sat Sep 18 01:21:44 2010 Received: (at 7058-done) by debbugs.gnu.org; 18 Sep 2010 05:21:44 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1Owprr-0004NG-Ig for submit@debbugs.gnu.org; Sat, 18 Sep 2010 01:21:43 -0400 Received: from mail-yx0-f172.google.com ([209.85.213.172]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1Owprp-0004N5-SE for 7058-done@debbugs.gnu.org; Sat, 18 Sep 2010 01:21:42 -0400 Received: by yxl31 with SMTP id 31so1058088yxl.3 for <7058-done@debbugs.gnu.org>; Fri, 17 Sep 2010 22:24:05 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:from:to:cc:subject:references :reply-to:cc:date:in-reply-to:message-id:user-agent:mime-version :content-type; bh=Uf5lAnhxe+goltmXVtKVnVrKcDeA4bk+cUDi2LW2rQk=; b=RiTges2yza1PLIXC5J06qnUaQlyp8jopUf0Prtn0UFTF6/jwh7OfRBBasrdlb2sdOO y9JEbx0VetB1L6IpboWSZWeyAgUahCENF/CNh1NoBzcAmB/omPw8yArKcofoznWsLYn3 0FSK3pkZJJyhpYaPr9hRD6Hu4AVmqCZ1jAIiQ= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=from:to:cc:subject:references:reply-to:date:in-reply-to:message-id :user-agent:mime-version:content-type; b=hfl+6QTY2Un+RAqX47MuYcv5AN28y1HjhkrQO1JXcAG+JnPvBUElVLLVOmv3wd/n1C 9+MdDqlf1hoe60gP/mmeADbrRhzf7o74gO4VbdlLNBX/AeKWXSzqKk6bfhETEqAgqdzK D+iV8TX7t/ohOx+rzOa9KWB2hb3YXXDQrrAFg= Received: by 10.101.148.37 with SMTP id a37mr6482365ano.210.1284787445281; Fri, 17 Sep 2010 22:24:05 -0700 (PDT) Received: from belanger-laptop (24-116-73-151.cpe.cableone.net [24.116.73.151]) by mx.google.com with ESMTPS id w6sm7474609anb.3.2010.09.17.22.24.03 (version=TLSv1/SSLv3 cipher=RC4-MD5); Fri, 17 Sep 2010 22:24:04 -0700 (PDT) From: Jay Belanger To: Andreas Politz Subject: Re: bug#7058: 24.0.50; Calc:Error in Parser of Syntax Tables References: <87r5gs2kmt.fsf@fh-trier.de> Date: Sat, 18 Sep 2010 00:24:02 -0500 In-Reply-To: <87r5gs2kmt.fsf@fh-trier.de> (Andreas Politz's message of "Fri, 17 Sep 2010 22:14:02 +0200") Message-ID: <8739t7fwul.fsf@gmail.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Spam-Score: -2.7 (--) X-Debbugs-Envelope-To: 7058-done Cc: 7058-done@debbugs.gnu.org, jay.p.belanger@gmail.com X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list Reply-To: jay.p.belanger@gmail.com List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -2.7 (--) > There is something wrong with the Parser of Calcs User Syntax Tables. Thanks, this has been fixed in bzr Emacs. > The Example given is from (info "(calc) Advanced Syntax Patterns"), so > it should work, but gives an error "Blank tokens are not allowed", > originating in the function `calc-fix-token-name' in calc-prog.el . > > Removing the last cond-part in this function is a workaround. There are some odd cases where the "Blank tokens ..." warning should still come up, though. Jay From unknown Tue Aug 19 02:52:22 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Sat, 16 Oct 2010 11:24:03 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator