From unknown Sat Jun 21 12:14:11 2025 X-Loop: owner@emacsbugs.donarmstrong.com Subject: bug#4737: 23.1.50; C-j in *scratch* after a hash table constant errors with void-function Reply-To: Aidan Kehoe , 4737@debbugs.gnu.org Resent-From: Aidan Kehoe Resent-To: bug-submit-list@lists.donarmstrong.com Resent-CC: Emacs Bugs 2Resent-Date: Fri, 16 Oct 2009 14:45:04 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-Emacs-PR-Message: report 4737 X-Emacs-PR-Package: emacs X-Emacs-PR-Keywords: Received: via spool by submit@emacsbugs.donarmstrong.com id=B.125570403010770 (code B ref -1); Fri, 16 Oct 2009 14:45:04 +0000 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 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? From unknown Sat Jun 21 12:14:11 2025 X-Loop: owner@emacsbugs.donarmstrong.com Subject: bug#4737: 23.1.50; C-j in *scratch* after a hash table constant errors with void-function Reply-To: Chong Yidong , 4737@debbugs.gnu.org Resent-From: Chong Yidong Resent-To: bug-submit-list@lists.donarmstrong.com Resent-CC: Emacs Bugs 2Resent-Date: Sun, 18 Oct 2009 03:50:05 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-Emacs-PR-Message: followup 4737 X-Emacs-PR-Package: emacs X-Emacs-PR-Keywords: Received: via spool by 4737-submit@emacsbugs.donarmstrong.com id=B4737.12558374355662 (code B ref 4737); Sun, 18 Oct 2009 03:50:05 +0000 Received: (at 4737) by emacsbugs.donarmstrong.com; 18 Oct 2009 03:43:55 +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,MURPHY_DRUGS_REL8 autolearn=ham version=3.2.5-bugs.debian.org_2005_01_02 Received: from pantheon-po39.its.yale.edu (pantheon-po39.its.yale.edu [130.132.50.100]) by rzlab.ucr.edu (8.14.3/8.14.3/Debian-5) with ESMTP id n9I3hsZB005655 for <4737@emacsbugs.donarmstrong.com>; Sat, 17 Oct 2009 20:43:55 -0700 Received: from furry (adsl-99-69-50-113.dsl.wlfrct.sbcglobal.net [99.69.50.113]) (authenticated bits=0) by pantheon-po39.its.yale.edu (8.12.11.20060308/8.12.11) with ESMTP id n9I3hllg014144 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT); Sat, 17 Oct 2009 23:43:47 -0400 Received: by furry (Postfix, from userid 1000) id E64C4C070; Sat, 17 Oct 2009 23:43:46 -0400 (EDT) From: Chong Yidong To: Aidan Kehoe Cc: 4737@debbugs.gnu.org Date: Sat, 17 Oct 2009 23:43:46 -0400 Message-ID: <87y6n98iz1.fsf@stupidchicken.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-YaleITSMailFilter: Version 1.2c (attachment(s) not renamed) > In *scratch*: > > (progn > (setq print-length nil) > (make-hash-table)) > => #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 > ()) > => > 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: > (car (list > #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 ()) > XEmacs handles the problem in #'forward-sexp I think it's safer to handle it in preceding-sexp. Could you test the patch below? *** emacs/lisp/emacs-lisp/lisp-mode.el.~1.247.~ 2009-09-27 18:51:01.000000000 -0400 --- emacs/lisp/emacs-lisp/lisp-mode.el 2009-10-17 23:41:53.000000000 -0400 *************** *** 673,678 **** --- 673,682 ---- (when (eq (preceding-char) ??) (forward-char -1))) + ;; Skip over hash table read syntax + (when (looking-back "#s") + (forward-char -2)) + ;; Skip over `#N='s. (when (eq (preceding-char) ?=) (let (labeled-p) From unknown Sat Jun 21 12:14:11 2025 X-Loop: owner@emacsbugs.donarmstrong.com Subject: bug#4737: 23.1.50; C-j in *scratch* after a hash table constant errors with void-function Reply-To: Stefan Monnier , 4737@debbugs.gnu.org Resent-From: Stefan Monnier Resent-To: bug-submit-list@lists.donarmstrong.com Resent-CC: Emacs Bugs 2Resent-Date: Sun, 18 Oct 2009 14:50:07 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-Emacs-PR-Message: followup 4737 X-Emacs-PR-Package: emacs X-Emacs-PR-Keywords: Received: via spool by 4737-submit@emacsbugs.donarmstrong.com id=B4737.125587699221797 (code B ref 4737); Sun, 18 Oct 2009 14:50:07 +0000 Received: (at 4737) by emacsbugs.donarmstrong.com; 18 Oct 2009 14:43:12 +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=-3.6 required=4.0 tests=AWL,HAS_BUG_NUMBER autolearn=ham version=3.2.5-bugs.debian.org_2005_01_02 Received: from ironport2-out.pppoe.ca (ironport2-out.teksavvy.com [206.248.154.183]) by rzlab.ucr.edu (8.14.3/8.14.3/Debian-5) with ESMTP id n9IEhAGW021793 for <4737@emacsbugs.donarmstrong.com>; Sun, 18 Oct 2009 07:43:12 -0700 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AsYEABjG2krO+IKD/2dsb2JhbACBUtU5hDEEiAU X-IronPort-AV: E=Sophos;i="4.44,581,1249272000"; d="scan'208";a="47760651" Received: from 206-248-130-131.dsl.teksavvy.com (HELO pastel.home) ([206.248.130.131]) by ironport2-out.pppoe.ca with ESMTP; 18 Oct 2009 10:43:05 -0400 Received: by pastel.home (Postfix, from userid 20848) id 5AF8C7FD5; Sun, 18 Oct 2009 10:43:05 -0400 (EDT) From: Stefan Monnier To: Chong Yidong Cc: 4737@debbugs.gnu.org, Aidan Kehoe Message-ID: References: <87y6n98iz1.fsf@stupidchicken.com> Date: Sun, 18 Oct 2009 10:43:05 -0400 In-Reply-To: <87y6n98iz1.fsf@stupidchicken.com> (Chong Yidong's message of "Sat, 17 Oct 2009 23:43:46 -0400") 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 > + ;; 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). Stefan From unknown Sat Jun 21 12:14:11 2025 X-Loop: owner@emacsbugs.donarmstrong.com Subject: bug#4737: 23.1.50; C-j in *scratch* after a hash table constant errors with void-function Reply-To: martin rudalics , 4737@debbugs.gnu.org Resent-From: martin rudalics Resent-To: bug-submit-list@lists.donarmstrong.com Resent-CC: Emacs Bugs 2Resent-Date: Sun, 18 Oct 2009 15:55:09 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-Emacs-PR-Message: followup 4737 X-Emacs-PR-Package: emacs X-Emacs-PR-Keywords: Received: via spool by 4737-submit@emacsbugs.donarmstrong.com id=B4737.12558804652078 (code B ref 4737); Sun, 18 Oct 2009 15:55:09 +0000 Received: (at 4737) by emacsbugs.donarmstrong.com; 18 Oct 2009 15:41:05 +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=-4.2 required=4.0 tests=AWL,HAS_BUG_NUMBER autolearn=ham version=3.2.5-bugs.debian.org_2005_01_02 Received: from mail.gmx.net (mail.gmx.net [213.165.64.20]) by rzlab.ucr.edu (8.14.3/8.14.3/Debian-5) with SMTP id n9IFf28u002052 for <4737@emacsbugs.donarmstrong.com>; Sun, 18 Oct 2009 08:41:03 -0700 Received: (qmail invoked by alias); 18 Oct 2009 15:34:14 -0000 Received: from 62-47-61-72.adsl.highway.telekom.at (EHLO [62.47.61.72]) [62.47.61.72] by mail.gmx.net (mp062) with SMTP; 18 Oct 2009 17:34:14 +0200 X-Authenticated: #14592706 X-Provags-ID: V01U2FsdGVkX1/hZToOTZzhqautx5h4xTGhdoRKBpDfs8Cl8VgUDh l+IlOder3EBTO7 Message-ID: <4ADB3574.7080307@gmx.at> Date: Sun, 18 Oct 2009 17:34:12 +0200 From: martin rudalics User-Agent: Thunderbird 2.0.0.21 (Windows/20090302) MIME-Version: 1.0 To: Stefan Monnier , 4737@debbugs.gnu.org CC: Chong Yidong , Aidan Kehoe References: <87y6n98iz1.fsf@stupidchicken.com> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Y-GMX-Trusted: 0 X-FuHaFi: 0.78 > Calling looking-back without a limit argument is asking for trouble (it > has complexity O(size of buffer) or worse). Then we should make the limit argument non-optional. martin From unknown Sat Jun 21 12:14:11 2025 MIME-Version: 1.0 X-Mailer: MIME-tools 5.427 (Entity 5.427) X-Loop: owner@emacsbugs.donarmstrong.com From: help-debbugs@gnu.org (Emacs bug Tracking System) To: Aidan Kehoe Subject: bug#4737 closed by Chong Yidong (Re: bug#4737: 23.1.50; C-j in *scratch* after a hash table constant errors with void-function) Message-ID: References: <87vdic49rj.fsf@stupidchicken.com> <19160.34252.908907.763006@parhasard.net> X-Emacs-PR-Message: they-closed 4737 X-Emacs-PR-Package: emacs Reply-To: 4737@debbugs.gnu.org Date: Sun, 18 Oct 2009 22:35:08 +0000 Content-Type: multipart/mixed; boundary="----------=_1255905308-4398-1" This is a multi-part message in MIME format... ------------=_1255905308-4398-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" This is an automatic notification regarding your bug report which was filed against the emacs package: #4737: 23.1.50; C-j in *scratch* after a hash table constant errors with vo= id-function=20 It has been closed by Chong Yidong . Their explanation is attached below along with your original report. If this explanation is unsatisfactory and you have not received a better one in a separate message then please contact Chong Yidong by replying to this email. --=20 4737: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D4737 Emacs Bug Tracking System Contact help-debbugs@gnu.org with problems ------------=_1255905308-4398-1 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@debbugs.gnu.org, 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-1 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-1-- From unknown Sat Jun 21 12:14:11 2025 X-Loop: owner@emacsbugs.donarmstrong.com Subject: bug#4737: 23.1.50; C-j in *scratch* after a hash table constant errors with void-function Reply-To: Stefan Monnier , 4737@debbugs.gnu.org Resent-From: Stefan Monnier Resent-To: bug-submit-list@lists.donarmstrong.com Resent-CC: Emacs Bugs 2Resent-Date: Mon, 19 Oct 2009 02:15:06 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-Emacs-PR-Message: followup 4737 X-Emacs-PR-Package: emacs X-Emacs-PR-Keywords: Received: via spool by 4737-submit@emacsbugs.donarmstrong.com id=B4737.12559179674780 (code B ref 4737); Mon, 19 Oct 2009 02:15:06 +0000 Received: (at 4737) by emacsbugs.donarmstrong.com; 19 Oct 2009 02:06:07 +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=-3.6 required=4.0 tests=AWL,HAS_BUG_NUMBER autolearn=ham version=3.2.5-bugs.debian.org_2005_01_02 Received: from ironport2-out.pppoe.ca (ironport2-out.teksavvy.com [206.248.154.181]) by rzlab.ucr.edu (8.14.3/8.14.3/Debian-5) with ESMTP id n9J265iR004777 for <4737@emacsbugs.donarmstrong.com>; Sun, 18 Oct 2009 19:06:07 -0700 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AsYEAKNm20pLd/m0/2dsb2JhbACBUtdchDEEiAU X-IronPort-AV: E=Sophos;i="4.44,582,1249272000"; d="scan'208";a="47776563" Received: from 75-119-249-180.dsl.teksavvy.com (HELO ceviche.home) ([75.119.249.180]) by ironport2-out.pppoe.ca with ESMTP; 18 Oct 2009 22:06:00 -0400 Received: by ceviche.home (Postfix, from userid 20848) id 453C7B408B; Sun, 18 Oct 2009 22:06:00 -0400 (EDT) From: Stefan Monnier To: martin rudalics Cc: 4737@debbugs.gnu.org, Chong Yidong , Aidan Kehoe Message-ID: References: <87y6n98iz1.fsf@stupidchicken.com> <4ADB3574.7080307@gmx.at> Date: Sun, 18 Oct 2009 22:06:00 -0400 In-Reply-To: <4ADB3574.7080307@gmx.at> (martin rudalics's message of "Sun, 18 Oct 2009 17:34:12 +0200") 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 >> Calling looking-back without a limit argument is asking for trouble (it >> has complexity O(size of buffer) or worse). > Then we should make the limit argument non-optional. Feel free to do that, Stefan PS: Now that we can do it compatibly via set-advertised-calling-convention.