From unknown Tue Jun 24 10:30:02 2025 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Mailer: MIME-tools 5.509 (Entity 5.509) Content-Type: text/plain; charset=utf-8 From: bug#2866 <2866@debbugs.gnu.org> To: bug#2866 <2866@debbugs.gnu.org> Subject: Status: 23.0.91; "(princ (category-table) (current-buffer))" causes emacs to hang Reply-To: bug#2866 <2866@debbugs.gnu.org> Date: Tue, 24 Jun 2025 17:30:02 +0000 retitle 2866 23.0.91; "(princ (category-table) (current-buffer))" causes em= acs to hang reassign 2866 emacs submitter 2866 MON KEY severity 2866 normal thanks From stan@derbycityprints.com Thu Apr 2 12:36:50 2009 Received: (at submit) by emacsbugs.donarmstrong.com; 2 Apr 2009 19:36:50 +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=FOURLA,MURPHY_DRUGS_REL8 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.13.8/8.13.8/Debian-3) with ESMTP id n32JalXd023544 for ; Thu, 2 Apr 2009 12:36:48 -0700 Received: from mail.gnu.org ([199.232.76.166]:55930 helo=mx10.gnu.org) by fencepost.gnu.org with esmtp (Exim 4.67) (envelope-from ) id 1LpSiU-0006PR-Cs for emacs-pretest-bug@gnu.org; Thu, 02 Apr 2009 15:36:46 -0400 Received: from Debian-exim by monty-python.gnu.org with spam-scanned (Exim 4.60) (envelope-from ) id 1LpSiT-0005qZ-OD for emacs-pretest-bug@gnu.org; Thu, 02 Apr 2009 15:36:46 -0400 Received: from yx-out-1718.google.com ([74.125.44.152]:21141) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1LpSiT-0005qV-FL for emacs-pretest-bug@gnu.org; Thu, 02 Apr 2009 15:36:45 -0400 Received: by yx-out-1718.google.com with SMTP id 3so494268yxi.66 for ; Thu, 02 Apr 2009 12:36:44 -0700 (PDT) MIME-Version: 1.0 Sender: stan@derbycityprints.com Received: by 10.151.147.10 with SMTP id z10mr641368ybn.214.1238701004251; Thu, 02 Apr 2009 12:36:44 -0700 (PDT) Date: Thu, 2 Apr 2009 15:36:44 -0400 X-Google-Sender-Auth: 641628b03674698f Message-ID: Subject: 23.0.91; "(princ (category-table) (current-buffer))" causes emacs to hang From: MON KEY To: emacs-pretest-bug@gnu.org Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 2) evaluating: (princ (category-table) (current-buffer)) Causes emacs to hang. Whether this is a useful way to examine the category-table is another question entirely :P I've evaluated the previous expression on two separate builds with identical (undesirable) results: --- GNU Emacs 23.0.91.1 (i386-mingw-nt5.1.2600) of 2009-02-26 on SOFT-MJASON --- GNU Emacs 23.0.60.1 (i386-mingw-nt5.1.2600) of 2008-10-23 on LENNART-69DE564 (patched) Windowing system distributor `Microsoft Corp.', version 5.1.2600 configured using `configure --with-gcc (3.4) --cflags -Ic:/g/include' --- ;;; ============================== In GNU Emacs 23.0.91.1 (i386-mingw-nt5.1.2600) of 2009-02-26 on SOFT-MJASON Windowing system distributor `Microsoft Corp.', version 5.1.2600 configured using `configure --with-gcc (3.4)' 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: ENU value of $XMODIFIERS: nil locale-coding-system: cp1252 default-enable-multibyte-characters: t Major mode: Lisp Interaction Minor modes in effect: show-paren-mode: t display-time-mode: t auto-image-file-mode: t 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 size-indication-mode: t column-number-mode: t line-number-mode: t transient-mark-mode: t From handa@m17n.org Thu Apr 2 18:52:47 2009 Received: (at 2866) by emacsbugs.donarmstrong.com; 3 Apr 2009 01:52:47 +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.9 required=4.0 tests=FOURLA,HAS_BUG_NUMBER, IMPRONONCABLE_2 autolearn=ham version=3.2.5-bugs.debian.org_2005_01_02 Received: from mx1.aist.go.jp (mx1.aist.go.jp [150.29.246.133]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id n331qhR3030665 for <2866@emacsbugs.donarmstrong.com>; Thu, 2 Apr 2009 18:52:45 -0700 Received: from rqsmtp2.aist.go.jp (rqsmtp2.aist.go.jp [150.29.254.123]) by mx1.aist.go.jp with ESMTP id n331qgPx027125; Fri, 3 Apr 2009 10:52:42 +0900 (JST) env-from (handa@m17n.org) Received: from smtp2.aist.go.jp by rqsmtp2.aist.go.jp with ESMTP id n331qgJo003852; Fri, 3 Apr 2009 10:52:42 +0900 (JST) env-from (handa@m17n.org) Received: by smtp2.aist.go.jp with ESMTP id n331qfOk017084; Fri, 3 Apr 2009 10:52:41 +0900 (JST) env-from (handa@m17n.org) Received: from handa by etlken with local (Exim 4.69) (envelope-from ) id 1LpYb8-0004cl-Bo; Fri, 03 Apr 2009 10:53:34 +0900 From: Kenichi Handa To: MON KEY , 2866@debbugs.gnu.org In-reply-to: (message from MON KEY on Thu, 2 Apr 2009 15:36:44 -0400) Subject: Re: bug#2866: 23.0.91; "(princ (category-table) (current-buffer))" causes emacs to hang References: Message-Id: Date: Fri, 03 Apr 2009 10:53:34 +0900 In article , MON KEY writes: > evaluating: > (princ (category-table) (current-buffer)) > Causes emacs to hang. > Whether this is a useful way to examine the category-table is another > question entirely :P It doesn't hang Emacs for me but takes long time in redisplay. It's because of the extremely long line. If it is ok to terminate lines within the printing of a object, something like this change will speed up the redisplay. --- print.c.~1.255.~ 2009-01-16 15:52:25.000000000 +0900 +++ print.c 2009-04-03 10:44:14.000000000 +0900 @@ -2116,6 +2116,9 @@ /* We print a char-table as if it were a vector, lumping the parent and default slots in with the character slots. But we add #^ as a prefix. */ + if (SUB_CHAR_TABLE_P (obj) + && XINT (XSUB_CHAR_TABLE (obj)->depth) == 3) + PRINTCHAR ('\n'); PRINTCHAR ('#'); PRINTCHAR ('^'); if (SUB_CHAR_TABLE_P (obj)) --- Kenichi Handa handa@m17n.org From monnier@iro.umontreal.ca Thu Apr 2 20:19:23 2009 Received: (at 2866) by emacsbugs.donarmstrong.com; 3 Apr 2009 03:19:24 +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.5 required=4.0 tests=HAS_BUG_NUMBER,XIRONPORT autolearn=ham version=3.2.5-bugs.debian.org_2005_01_02 Received: from ironport2-out.teksavvy.com (ironport2-out.pppoe.ca [206.248.154.182]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id n333JKqx021656 for <2866@emacsbugs.donarmstrong.com>; Thu, 2 Apr 2009 20:19:21 -0700 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AvIEAHsd1UnO+Lq2/2dsb2JhbACBUs4Eg30GhQU X-IronPort-AV: E=Sophos;i="4.39,317,1235970000"; d="scan'208";a="36130855" Received: from 206-248-186-182.dsl.teksavvy.com (HELO pastel.home) ([206.248.186.182]) by ironport2-out.teksavvy.com with ESMTP; 02 Apr 2009 23:18:57 -0400 Received: by pastel.home (Postfix, from userid 20848) id EEFC68446; Thu, 2 Apr 2009 23:18:54 -0400 (EDT) From: Stefan Monnier To: Kenichi Handa Cc: 2866@debbugs.gnu.org, MON KEY Subject: Re: bug#2866: 23.0.91; "(princ (category-table) (current-buffer))" causes emacs to hang Message-ID: References: Date: Thu, 02 Apr 2009 23:18:54 -0400 In-Reply-To: (Kenichi Handa's message of "Fri, 03 Apr 2009 10:53:34 +0900") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.92 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii >> evaluating: >> (princ (category-table) (current-buffer)) >> Causes emacs to hang. >> Whether this is a useful way to examine the category-table is another >> question entirely :P > It doesn't hang Emacs for me but takes long time in > redisplay. It's because of the extremely long line. > If it is ok to terminate lines within the printing of a > object, something like this change will speed up the > redisplay. Looks like a good quick-fix. Better of course would be to speed up the (re)display of long lines. Stefan From handa@m17n.org Thu Apr 2 23:26:29 2009 Received: (at 2866) by emacsbugs.donarmstrong.com; 3 Apr 2009 06:26:29 +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=-2.0 required=4.0 tests=FVGT_m_MULTI_ODD, HAS_BUG_NUMBER,IMPRONONCABLE_2 autolearn=ham version=3.2.5-bugs.debian.org_2005_01_02 Received: from mx1.aist.go.jp (mx1.aist.go.jp [150.29.246.133]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id n336QPFK007847 for <2866@emacsbugs.donarmstrong.com>; Thu, 2 Apr 2009 23:26:27 -0700 Received: from rqsmtp1.aist.go.jp (rqsmtp1.aist.go.jp [150.29.254.115]) by mx1.aist.go.jp with ESMTP id n336QOkl020258; Fri, 3 Apr 2009 15:26:24 +0900 (JST) env-from (handa@m17n.org) Received: from smtp1.aist.go.jp by rqsmtp1.aist.go.jp with ESMTP id n336QO5Q004908; Fri, 3 Apr 2009 15:26:24 +0900 (JST) env-from (handa@m17n.org) Received: by smtp1.aist.go.jp with ESMTP id n336QMWG025098; Fri, 3 Apr 2009 15:26:22 +0900 (JST) env-from (handa@m17n.org) Received: from handa by etlken with local (Exim 4.69) (envelope-from ) id 1Lpcs0-0005gl-3J; Fri, 03 Apr 2009 15:27:16 +0900 From: Kenichi Handa To: Stefan Monnier CC: 2866@debbugs.gnu.org, monkey@sandpframing.com In-reply-to: (message from Stefan Monnier on Thu, 02 Apr 2009 23:18:54 -0400) Subject: Re: bug#2866: 23.0.91; "(princ (category-table) (current-buffer))" causes emacs to hang References: Message-Id: Date: Fri, 03 Apr 2009 15:27:16 +0900 In article , Stefan Monnier writes: >>> evaluating: >>> (princ (category-table) (current-buffer)) >>> Causes emacs to hang. >>> Whether this is a useful way to examine the category-table is another >>> question entirely :P > > It doesn't hang Emacs for me but takes long time in > > redisplay. It's because of the extremely long line. > > If it is ok to terminate lines within the printing of a > > object, something like this change will speed up the > > redisplay. > Looks like a good quick-fix. I've just installed it. > Better of course would be to speed up the (re)display of > long lines. Sure. --- Kenichi Handa handa@m17n.org From rgm@gnu.org Wed Apr 8 11:48:29 2009 Received: (at control) by emacsbugs.donarmstrong.com; 8 Apr 2009 18:48: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=-5.0 required=4.0 tests=VALID_BTS_CONTROL, X_DEBBUGS_NO_ACK autolearn=ham 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.13.8/8.13.8/Debian-3) with ESMTP id n38ImQLg029582 for ; Wed, 8 Apr 2009 11:48:28 -0700 Received: from rgm by fencepost.gnu.org with local (Exim 4.67) (envelope-from ) id 1Lrcoz-0007OJ-VX; Wed, 08 Apr 2009 14:48:26 -0400 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <18908.61817.746394.869159@fencepost.gnu.org> Date: Wed, 8 Apr 2009 14:48:25 -0400 From: Glenn Morris To: control Subject: control message X-Attribution: GM X-Mailer: VM (www.wonderworks.com/vm), GNU Emacs (www.gnu.org/software/emacs) X-Hue: cyan X-Ran: EW2ykj_oI:8rZLr;\7l4L@JpO\^~'Rj3`6['J4Xg0os);tIMRW/6&MNeYNEI3eGfv'{^e` X-Debbugs-No-Ack: yes severity 2910 minor reassign 2920 emacs,ns severity 2928 minor reassign 2891 emacs,ns severity 2864 minor retitle 2864 running emacsclient uninstalled close 2866 From unknown Tue Jun 24 10:30:02 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: $requester Subject: Internal Control Message-Id: bug archived. Date: Thu, 07 May 2009 14:24:13 +0000 User-Agent: Fakemail v42.6.9 # A New Hope # A log time ago, in a galaxy far, far away # something happened. # # Magically this resulted in the following # action being taken, but this fake control # message doesn't tell you why it happened # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator