From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: owner@emacsbugs.donarmstrong.com (Emacs bug Tracking System) Newsgroups: gmane.emacs.bugs Subject: bug#4737: marked as done (23.1.50; C-j in *scratch* after a hash table constant errors with void-function ) Date: Sun, 18 Oct 2009 22:35:08 +0000 Message-ID: References: <87vdic49rj.fsf@stupidchicken.com> <19160.34252.908907.763006@parhasard.net> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="----------=_1255905308-4398-0" X-Trace: ger.gmane.org 1255906071 18889 80.91.229.12 (18 Oct 2009 22:47:51 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 18 Oct 2009 22:47:51 +0000 (UTC) To: Chong Yidong Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Mon Oct 19 00:47:41 2009 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1MzeXK-0007pX-Vv for geb-bug-gnu-emacs@m.gmane.org; Mon, 19 Oct 2009 00:47:39 +0200 Original-Received: from localhost ([127.0.0.1]:54652 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MzeXK-0006Me-Hj for geb-bug-gnu-emacs@m.gmane.org; Sun, 18 Oct 2009 18:47:38 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1MzeX2-0006Ap-1M for bug-gnu-emacs@gnu.org; Sun, 18 Oct 2009 18:47:20 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1MzeWx-00068X-IC for bug-gnu-emacs@gnu.org; Sun, 18 Oct 2009 18:47:19 -0400 Original-Received: from [199.232.76.173] (port=35434 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MzeWx-00068O-Bt for bug-gnu-emacs@gnu.org; Sun, 18 Oct 2009 18:47:15 -0400 Original-Received: from rzlab.ucr.edu ([138.23.92.77]:46981) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1MzeWw-0002MC-H7 for bug-gnu-emacs@gnu.org; Sun, 18 Oct 2009 18:47:15 -0400 Original-Received: from rzlab.ucr.edu (rzlab.ucr.edu [127.0.0.1]) by rzlab.ucr.edu (8.14.3/8.14.3/Debian-5) with ESMTP id n9IMlCKj006817; Sun, 18 Oct 2009 15:47:12 -0700 Original-Received: (from debbugs@localhost) by rzlab.ucr.edu (8.14.3/8.14.3/Submit) id n9IMZ8l0004532; Sun, 18 Oct 2009 15:35:08 -0700 X-Mailer: MIME-tools 5.427 (Entity 5.427) X-Loop: owner@emacsbugs.donarmstrong.com X-Emacs-PR-Message: closed 4737 X-Emacs-PR-Package: emacs X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 2) X-BeenThere: bug-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:32076 Archived-At: This is a multi-part message in MIME format... ------------=_1255905308-4398-0 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=utf-8 Your message dated Sun, 18 Oct 2009 18:28:32 -0400 with message-id <87vdic49rj.fsf@stupidchicken.com> and subject line Re: bug#4737: 23.1.50; C-j in *scratch* after a hash table= constant errors with void-function has caused the Emacs bug report #4737, regarding 23.1.50; C-j in *scratch* after a hash table constant errors with= void-function=20 to be marked as done. This means that you claim that the problem has been dealt with. If this is not the case it is now your responsibility to reopen the bug report if necessary, and/or fix the problem forthwith. (NB: If you are a system administrator and have no idea what this message is talking about, this may indicate a serious mail system misconfiguration somewhere. Please contact owner@emacsbugs.donarmstrong.com immediately.) --=20 4737: http://emacsbugs.donarmstrong.com/cgi-bin/bugreport.cgi?bug=3D4737 Emacs Bug Tracking System Contact owner@emacsbugs.donarmstrong.com with problems ------------=_1255905308-4398-0 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at submit) by emacsbugs.donarmstrong.com; 16 Oct 2009 14:40:30 +0000 X-Spam-Checker-Version: SpamAssassin 3.2.5-bugs.debian.org_2005_01_02 (2008-06-10) on rzlab.ucr.edu X-Spam-Level: X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available. hammytokens:Tokens not available. X-Spam-Status: No, score=0.1 required=4.0 tests=AWL,FOURLA,IMPRONONCABLE_2 autolearn=no version=3.2.5-bugs.debian.org_2005_01_02 Received: from fencepost.gnu.org (fencepost.gnu.org [140.186.70.10]) by rzlab.ucr.edu (8.14.3/8.14.3/Debian-5) with ESMTP id n9GEeRrV010766 for ; Fri, 16 Oct 2009 07:40:30 -0700 Received: from mx10.gnu.org ([199.232.76.166]:43138) by fencepost.gnu.org with esmtp (Exim 4.67) (envelope-from ) id 1Mynyk-0003X9-DV for emacs-pretest-bug@gnu.org; Fri, 16 Oct 2009 10:40:26 -0400 Received: from Debian-exim by monty-python.gnu.org with spam-scanned (Exim 4.60) (envelope-from ) id 1Mynyd-0000Jv-C9 for emacs-pretest-bug@gnu.org; Fri, 16 Oct 2009 10:40:23 -0400 Received: from daedalus.ipv4.asclepian.ie ([213.133.100.226]:51413 helo=daedalus.asclepian.ie) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1Mynyc-0000Il-Oq for emacs-pretest-bug@gnu.org; Fri, 16 Oct 2009 10:40:19 -0400 Received: by daedalus.asclepian.ie (Postfix, from userid 1002) id 01B66B83D; Fri, 16 Oct 2009 15:40:13 +0100 (IST) From: Aidan Kehoe MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Message-ID: <19160.34252.908907.763006@parhasard.net> Date: Fri, 16 Oct 2009 15:40:12 +0100 To: emacs-pretest-bug@gnu.org Subject: 23.1.50; C-j in *scratch* after a hash table constant errors with void-function X-Mailer: VM 8.0.12 under 21.5 (beta29) "garbanzo" a357478dd457+ XEmacs Lucid (x86_64-unknown-freebsd7.2) X-Echelon-distraction: unclassified NSG jack Blackmednet JITEM EuroFed Content-Transfer-Encoding: quoted-printable X-detected-operating-system: by monty-python.gnu.org: Genre and OS details not recognized. Hello! Please write in English if possible, because the Emacs maintainers usually do not have translators to read other languages for them. Your bug report will be posted to the emacs-pretest-bug@gnu.org mailing l= ist. Please describe exactly what actions triggered the bug and the precise symptoms of the bug: In *scratch*:=20 (progn (setq print-length nil) (make-hash-table))=20 =3D> #s(hash-table size 65 test eql rehash-size 1.5 rehash-threshold 0.8 = data ()) #s(hash-table size 65 test eql rehash-size 1.5 rehash-threshold 0.8 data ()) =3D>=20 Debugger entered--Lisp error: (void-function hash-table) (hash-table size 65 test eql rehash-size 1.5 rehash-threshold 0.8 data = nil) eval((hash-table size 65 test eql rehash-size 1.5 rehash-threshold 0.8 = data nil)) eval-last-sexp-1(t) eval-last-sexp(t) eval-print-last-sexp() call-interactively(eval-print-last-sexp nil nil) However, this succeeds:=20 (car (list #s(hash-table size 65 test eql rehash-size 1.5 rehash-threshold 0.8= data ()))) =3D> #s(hash-table size 65 test eql rehash-size 1.5 rehash-threshold 0.8 = data ()) XEmacs handles the problem in #'forward-sexp, details here:=20 http://hg.debian.org/hg/xemacs/xemacs/file/a27de91ae83c/lisp/lisp.el#l55 When I use the XEmacs version of #'forward-sexp, the problem goes away.=20 Goodbye,=20 Aidan If Emacs crashed, and you have the Emacs process in the gdb debugger, please include the output from the following gdb commands: `bt full' and `xbacktrace'. If you would like to further debug the crash, please read the file /Sources/emacs/nextstep/Emacs.app/Contents/Resources/etc/DEBUG for instru= ctions. In GNU Emacs 23.1.50.1 (i386-apple-darwin8.11.1, NS apple-appkit-824.48) of 2009-09-30 on bonbon Windowing system distributor `Apple', version 10.3.824 configured using `configure '--with-ns' '--enable-asserts' '--enable-mai= ntainer-mode' '--enable-cocoa-experimental-ctrl-g' '--with-xpm' '--with-j= peg' '--with-tiff' '--with-png' 'LDFLAGS=3D-L/opt/local/lib -L/usr/X11R6/= lib -L/usr/local/lib' 'CPPFLAGS=3D-I/opt/local/include -I/usr/X11R6/inclu= de -I/usr/local/include'' Important settings: value of $LC_ALL: nil 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: de_DE.UTF-8 value of $XMODIFIERS: nil locale-coding-system: utf-8-unix default-enable-multibyte-characters: t Major mode: Lisp Interaction Minor modes in effect: tooltip-mode: t mouse-wheel-mode: t menu-bar-mode: t file-name-shadow-mode: t global-font-lock-mode: t font-lock-mode: t global-auto-composition-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-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n=20 C-n C-n C-n C-n C-n C-n C-n C-v C-v C-v C-v C-v C-v=20 C-v C-v C-v C-v v C-v C-v C-v C-v C-v =20 =20 C-x b * s c =20 ( k i l l e C-a C-k v p r i n t - l e n=20 C-x o C-n C-n C-n C-n C-n C-e C-b C-b=20 C-b C-b C-x o C-n C-x o C-e C-b C-b C-b =20 C-x o C-x b * s c C-g C-x o C-n C-n C-x o C-x=20 b * s c > =20 ( s e t q SPC e v a l - e x p r e s s i o n - p r i=20 n t - l e n g t h SPC n i l ) C-j C-p C-p C-p C-p C-p=20 C-p C-e C-j C-p C-d C-d ( l e n g t h SPC ' C-e ) C-j=20 C-x o C-x o C-p C-p C-n C-n C-n C-p C-p C-p C-p C-k=20 C-k C-k C-p C-e C-j C-p C-e C-j q x r e p=20 o r t - e m a c s - b u g C-g C-p =20 C-p ( c o n s SPC . C-a ( c a r SPC C-e C-n C-e =20 ) n i l ) ) C-j C-x o C-p C-p C-f C-f=20 C-f C-f C-f C-f C-f C-f C-d C-n C-n C-j C-x o q =20 x r e p o r t - e m a c s - b u g Recent messages: Making completion list... Type C-x 1 to delete the help window. uncompressing simple.el.gz...done Quit Mark set Entering debugger... Back to top level. Quit Entering debugger... Back to top level. --=20 =BFD=F3nde estar=E1 ahora mi sobrino Yoghurtu Nghe, que tuvo que huir precipitadamente de la aldea por culpa de la escasez de rinocerontes? ------------=_1255905308-4398-0 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at 4737-done) by emacsbugs.donarmstrong.com; 18 Oct 2009 22:28:39 +0000 X-Spam-Checker-Version: SpamAssassin 3.2.5-bugs.debian.org_2005_01_02 (2008-06-10) on rzlab.ucr.edu X-Spam-Level: X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available. hammytokens:Tokens not available. X-Spam-Status: No, score=-1.5 required=4.0 tests=AWL,HAS_BUG_NUMBER, MURPHY_DRUGS_REL8 autolearn=ham version=3.2.5-bugs.debian.org_2005_01_02 Received: from pantheon-po43.its.yale.edu (pantheon-po43.its.yale.edu [130.132.50.104]) by rzlab.ucr.edu (8.14.3/8.14.3/Debian-5) with ESMTP id n9IMScGe003586 for <4737-done@emacsbugs.donarmstrong.com>; Sun, 18 Oct 2009 15:28:39 -0700 Received: from furry (adsl-99-69-49-186.dsl.wlfrct.sbcglobal.net [99.69.49.186]) (authenticated bits=0) by pantheon-po43.its.yale.edu (8.12.11.20060308/8.12.11) with ESMTP id n9IMSWdR014208 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT); Sun, 18 Oct 2009 18:28:32 -0400 Received: by furry (Postfix, from userid 1000) id 46F87C070; Sun, 18 Oct 2009 18:28:32 -0400 (EDT) From: Chong Yidong To: Stefan Monnier Cc: 4737-done@emacsbugs.donarmstrong.com, Aidan Kehoe Subject: Re: bug#4737: 23.1.50; C-j in *scratch* after a hash table constant errors with void-function References: <87y6n98iz1.fsf@stupidchicken.com> Date: Sun, 18 Oct 2009 18:28:32 -0400 In-Reply-To: (Stefan Monnier's message of "Sun, 18 Oct 2009 10:43:05 -0400") Message-ID: <87vdic49rj.fsf@stupidchicken.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-YaleITSMailFilter: Version 1.2c (attachment(s) not renamed) Stefan Monnier writes: >> + ;; Skip over hash table read syntax >> + (when (looking-back "#s") >> + (forward-char -2)) > > Calling looking-back without a limit argument is asking for trouble (it > has complexity O(size of buffer) or worse). I've checked in the patch, with a limit argument. Thanks for pointing this out. ------------=_1255905308-4398-0--