From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: martin rudalics Newsgroups: gmane.emacs.pretest.bugs,gmane.emacs.devel Subject: Re: Contiguous redisplay of the menu and beeps Date: Sat, 26 May 2007 15:41:27 +0200 Message-ID: <46583907.1010009@gmx.at> References: <465811AB.6080507@gmx.at> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-15; format=flowed Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1180186901 26988 80.91.229.12 (26 May 2007 13:41:41 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sat, 26 May 2007 13:41:41 +0000 (UTC) Cc: emacs-pretest-bug@gnu.org, emacs-devel To: martin rudalics Original-X-From: emacs-pretest-bug-bounces+gebp-emacs-pretest-bug=gmane.org@gnu.org Sat May 26 15:41:38 2007 Return-path: Envelope-to: gebp-emacs-pretest-bug@gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1HrwWW-0007FV-EI for gebp-emacs-pretest-bug@gmane.org; Sat, 26 May 2007 15:41:36 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1HrwWW-0007Ao-8i for gebp-emacs-pretest-bug@gmane.org; Sat, 26 May 2007 09:41:36 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1HrwW3-0006rB-AL for emacs-pretest-bug@gnu.org; Sat, 26 May 2007 09:41:07 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1HrwW1-0006p3-JE for emacs-pretest-bug@gnu.org; Sat, 26 May 2007 09:41:06 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1HrwW1-0006oY-7S for emacs-pretest-bug@gnu.org; Sat, 26 May 2007 09:41:05 -0400 Original-Received: from mail.gmx.net ([213.165.64.20]) by monty-python.gnu.org with smtp (Exim 4.60) (envelope-from ) id 1HrwW0-0006WM-Cu for emacs-pretest-bug@gnu.org; Sat, 26 May 2007 09:41:04 -0400 Original-Received: (qmail invoked by alias); 26 May 2007 13:41:02 -0000 Original-Received: from N794P002.adsl.highway.telekom.at (EHLO [62.47.43.34]) [62.47.43.34] by mail.gmx.net (mp047) with SMTP; 26 May 2007 15:41:02 +0200 X-Authenticated: #14592706 X-Provags-ID: V01U2FsdGVkX19pmcsvJTBp+Xrgr+pN8eL8qKmnHm5B+dVyFQMU1I gLCAkx7QM2+5uw User-Agent: Mozilla Thunderbird 1.0 (Windows/20041206) X-Accept-Language: de-DE, de, en-us, en In-Reply-To: <465811AB.6080507@gmx.at> X-Y-GMX-Trusted: 0 X-detected-kernel: Linux 2.6, seldom 2.4 (older, 4) X-BeenThere: emacs-pretest-bug@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Bug reports for CVS Emacs." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-pretest-bug-bounces+gebp-emacs-pretest-bug=gmane.org@gnu.org Errors-To: emacs-pretest-bug-bounces+gebp-emacs-pretest-bug=gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.pretest.bugs:18989 gmane.emacs.devel:71840 Archived-At: > > In GNU Emacs 22.0.990 on Windows, the following operation causes > > contiguous redisplay of the menu and beeps. And Emacs doesn't > > accept any operations for a while. > > > > emacs -q > > M-x html-mode ;; in the scratch buffer > > M-x column-number-mode > > > > C-u 8 C-b ;; move back the cursor on `>' of "" > > C-c C-i ;; runs the command sgml-tags-invisible > > In fact these are two problems: To solve the first one could specbind > Vinhibit_point_motion_hooks to Qt before calculating the column number. > The second is that sgml-mode shouldn't scan list forwards before a ">". Could someone test whether this happens on non-Windows OSs too? AFAICT the bug is (1) caused by repeatedly running a point-entered hook (but I can't detect whether it is run by something in redisplay) and (2) hence could be related to the table cell menu bug reported earlier by Tak Ota. From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Stephen Berman Newsgroups: gmane.emacs.pretest.bugs,gmane.emacs.devel Subject: Re: Contiguous redisplay of the menu and beeps Date: Sat, 26 May 2007 16:12:04 +0200 Message-ID: <87lkfbeksr.fsf@escher.local.home> References: <465811AB.6080507@gmx.at> <46583907.1010009@gmx.at> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1180188790 32491 80.91.229.12 (26 May 2007 14:13:10 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sat, 26 May 2007 14:13:10 +0000 (UTC) Cc: emacs-devel@gnu.org To: emacs-pretest-bug@gnu.org Original-X-From: emacs-pretest-bug-bounces+gebp-emacs-pretest-bug=gmane.org@gnu.org Sat May 26 16:13:09 2007 Return-path: Envelope-to: gebp-emacs-pretest-bug@gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1Hrx12-00044o-Rg for gebp-emacs-pretest-bug@gmane.org; Sat, 26 May 2007 16:13:09 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Hrx12-00054d-GY for gebp-emacs-pretest-bug@gmane.org; Sat, 26 May 2007 10:13:08 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Hrx0t-00053S-UX for emacs-pretest-bug@gnu.org; Sat, 26 May 2007 10:12:59 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Hrx0t-00053F-CM for emacs-pretest-bug@gnu.org; Sat, 26 May 2007 10:12:59 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Hrx0t-00053C-60 for emacs-pretest-bug@gnu.org; Sat, 26 May 2007 10:12:59 -0400 Original-Received: from main.gmane.org ([80.91.229.2] helo=ciao.gmane.org) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1Hrx0s-0000zg-JM for emacs-pretest-bug@gnu.org; Sat, 26 May 2007 10:12:58 -0400 Original-Received: from list by ciao.gmane.org with local (Exim 4.43) id 1Hrx0U-0004xJ-7h for emacs-pretest-bug@gnu.org; Sat, 26 May 2007 16:12:35 +0200 Original-Received: from i577bc8be.versanet.de ([87.123.200.190]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sat, 26 May 2007 16:12:34 +0200 Original-Received: from Stephen.Berman by i577bc8be.versanet.de with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sat, 26 May 2007 16:12:34 +0200 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 26 Original-X-Complaints-To: usenet@sea.gmane.org X-Gmane-NNTP-Posting-Host: i577bc8be.versanet.de User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.1.50 (gnu/linux) X-detected-kernel: Linux 2.6, seldom 2.4 (older, 4) X-BeenThere: emacs-pretest-bug@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Bug reports for CVS Emacs." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-pretest-bug-bounces+gebp-emacs-pretest-bug=gmane.org@gnu.org Errors-To: emacs-pretest-bug-bounces+gebp-emacs-pretest-bug=gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.pretest.bugs:18991 gmane.emacs.devel:71841 Archived-At: On Sat, 26 May 2007 15:41:27 +0200 martin rudalics wrote: >> > In GNU Emacs 22.0.990 on Windows, the following operation causes >> > contiguous redisplay of the menu and beeps. And Emacs doesn't >> > accept any operations for a while. >> > >> > emacs -q >> > M-x html-mode ;; in the scratch buffer >> > M-x column-number-mode >> > >> > C-u 8 C-b ;; move back the cursor on `>' of "" >> > C-c C-i ;; runs the command sgml-tags-invisible >> >> In fact these are two problems: To solve the first one could specbind >> Vinhibit_point_motion_hooks to Qt before calculating the column number. >> The second is that sgml-mode shouldn't scan list forwards before a ">". > > Could someone test whether this happens on non-Windows OSs too? AFAICT > the bug is (1) caused by repeatedly running a point-entered hook (but I > can't detect whether it is run by something in redisplay) and (2) hence > could be related to the table cell menu bug reported earlier by Tak Ota. It happens for me on GNU Emacs 22.1.50.1 (i686-pc-linux-gnu, GTK+ Version 2.10.6) of 2007-04-30 Steve Berman From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Stephen Berman Newsgroups: gmane.emacs.pretest.bugs,gmane.emacs.devel Subject: Re: Contiguous redisplay of the menu and beeps Date: Sat, 26 May 2007 16:22:37 +0200 Message-ID: <87hcpzekb6.fsf@escher.local.home> References: <465811AB.6080507@gmx.at> <46583907.1010009@gmx.at> <87lkfbeksr.fsf@escher.local.home> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1180189404 1719 80.91.229.12 (26 May 2007 14:23:24 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sat, 26 May 2007 14:23:24 +0000 (UTC) Cc: emacs-devel@gnu.org To: emacs-pretest-bug@gnu.org Original-X-From: emacs-pretest-bug-bounces+gebp-emacs-pretest-bug=gmane.org@gnu.org Sat May 26 16:23:22 2007 Return-path: Envelope-to: gebp-emacs-pretest-bug@gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1HrxAv-0005Xn-3y for gebp-emacs-pretest-bug@gmane.org; Sat, 26 May 2007 16:23:21 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1HrxAu-0000xe-Gq for gebp-emacs-pretest-bug@gmane.org; Sat, 26 May 2007 10:23:20 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1HrxAl-0000t4-S0 for emacs-pretest-bug@gnu.org; Sat, 26 May 2007 10:23:11 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1HrxAl-0000sF-Cd for emacs-pretest-bug@gnu.org; Sat, 26 May 2007 10:23:11 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1HrxAl-0000rq-4F for emacs-pretest-bug@gnu.org; Sat, 26 May 2007 10:23:11 -0400 Original-Received: from main.gmane.org ([80.91.229.2] helo=ciao.gmane.org) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1HrxAk-0001tB-Bd for emacs-pretest-bug@gnu.org; Sat, 26 May 2007 10:23:10 -0400 Original-Received: from list by ciao.gmane.org with local (Exim 4.43) id 1HrxAW-0006jb-Id for emacs-pretest-bug@gnu.org; Sat, 26 May 2007 16:22:56 +0200 Original-Received: from i577bc8be.versanet.de ([87.123.200.190]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sat, 26 May 2007 16:22:56 +0200 Original-Received: from Stephen.Berman by i577bc8be.versanet.de with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sat, 26 May 2007 16:22:56 +0200 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 36 Original-X-Complaints-To: usenet@sea.gmane.org X-Gmane-NNTP-Posting-Host: i577bc8be.versanet.de User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.1.50 (gnu/linux) X-detected-kernel: Linux 2.6, seldom 2.4 (older, 4) X-BeenThere: emacs-pretest-bug@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Bug reports for CVS Emacs." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-pretest-bug-bounces+gebp-emacs-pretest-bug=gmane.org@gnu.org Errors-To: emacs-pretest-bug-bounces+gebp-emacs-pretest-bug=gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.pretest.bugs:18992 gmane.emacs.devel:71842 Archived-At: On Sat, 26 May 2007 16:12:04 +0200 Stephen Berman wrote: > On Sat, 26 May 2007 15:41:27 +0200 martin rudalics wrote: > >>> > In GNU Emacs 22.0.990 on Windows, the following operation causes >>> > contiguous redisplay of the menu and beeps. And Emacs doesn't >>> > accept any operations for a while. >>> > >>> > emacs -q >>> > M-x html-mode ;; in the scratch buffer >>> > M-x column-number-mode >>> > >>> > C-u 8 C-b ;; move back the cursor on `>' of "" >>> > C-c C-i ;; runs the command sgml-tags-invisible >>> >>> In fact these are two problems: To solve the first one could specbind >>> Vinhibit_point_motion_hooks to Qt before calculating the column number. >>> The second is that sgml-mode shouldn't scan list forwards before a ">". >> >> Could someone test whether this happens on non-Windows OSs too? AFAICT >> the bug is (1) caused by repeatedly running a point-entered hook (but I >> can't detect whether it is run by something in redisplay) and (2) hence >> could be related to the table cell menu bug reported earlier by Tak Ota. > > It happens for me on GNU Emacs 22.1.50.1 (i686-pc-linux-gnu, GTK+ > Version 2.10.6) of 2007-04-30 That is, I get continuous beeping and Emacs consumes the CPU, but I don't see menu redisplay. And in fact, I can stop the beeping and CPU consumption by clicking on clicking the SGML menu and toggling tag visibility. Clicking on the HTML menu stops the beeping but it resumes when the menu is closed. Clicking on the other menues does not seem to stop the beeping. I'm not sure these observations are reliably reproducible. Steve Berman From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: martin rudalics Newsgroups: gmane.emacs.devel Subject: Re: Contiguous redisplay of the menu and beeps Date: Sat, 26 May 2007 16:49:51 +0200 Message-ID: <4658490F.5070908@gmx.at> References: <465811AB.6080507@gmx.at> <46583907.1010009@gmx.at> <87lkfbeksr.fsf@escher.local.home> <87hcpzekb6.fsf@escher.local.home> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-15; format=flowed Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1180191027 6248 80.91.229.12 (26 May 2007 14:50:27 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sat, 26 May 2007 14:50:27 +0000 (UTC) Cc: emacs-devel@gnu.org To: Stephen Berman Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sat May 26 16:50:26 2007 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1Hrxaz-0001Eu-Vs for ged-emacs-devel@m.gmane.org; Sat, 26 May 2007 16:50:18 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Hrxaz-0004l2-IF for ged-emacs-devel@m.gmane.org; Sat, 26 May 2007 10:50:17 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Hrxav-0004kd-E3 for emacs-devel@gnu.org; Sat, 26 May 2007 10:50:13 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Hrxat-0004kO-PS for emacs-devel@gnu.org; Sat, 26 May 2007 10:50:12 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Hrxat-0004kL-K2 for emacs-devel@gnu.org; Sat, 26 May 2007 10:50:11 -0400 Original-Received: from mail.gmx.net ([213.165.64.20]) by monty-python.gnu.org with smtp (Exim 4.60) (envelope-from ) id 1Hrxat-0004W6-3W for emacs-devel@gnu.org; Sat, 26 May 2007 10:50:11 -0400 Original-Received: (qmail invoked by alias); 26 May 2007 14:50:10 -0000 Original-Received: from N886P001.adsl.highway.telekom.at (EHLO [62.47.54.161]) [62.47.54.161] by mail.gmx.net (mp028) with SMTP; 26 May 2007 16:50:10 +0200 X-Authenticated: #14592706 X-Provags-ID: V01U2FsdGVkX1++UrZC6dS+7uluCQRsEZCYQ4gqcLQeCd/1GUNURA 8UGSJWCBmqK1BH User-Agent: Mozilla Thunderbird 1.0 (Windows/20041206) X-Accept-Language: de-DE, de, en-us, en In-Reply-To: <87hcpzekb6.fsf@escher.local.home> X-Y-GMX-Trusted: 0 X-detected-kernel: Linux 2.6, seldom 2.4 (older, 4) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:71843 Archived-At: > That is, I get continuous beeping and Emacs consumes the CPU, but I > don't see menu redisplay. And in fact, I can stop the beeping and CPU > consumption by clicking on clicking the SGML menu and toggling tag > visibility. Clicking on the HTML menu stops the beeping but it > resumes when the menu is closed. Clicking on the other menues does > not seem to stop the beeping. I'm not sure these observations are > reliably reproducible. > > Steve Berman What happens if you change `sgml-point-entered' to the following non-sensical? My Emacs consumes 100% CPU and won't react to C-g. Occasionally I can see `my-count' going up though. (defvar my-count 0) (defun sgml-point-entered (x y) ;; Show preceding or following hidden tag, depending of cursor direction. (let ((inhibit-point-motion-hooks t) (tag-string (save-excursion ;; Strip properties, otherwise, the text is invisible. (buffer-substring-no-properties (point) (if (or (and (> x y) (not (eq (following-char) ?<))) (and (< x y) (eq (preceding-char) ?>))) (condition-case nil (backward-list) (error (progn (message "... %s" (setq my-count (1+ my-count))) (sit-for 1) (ding) (point)))) (condition-case nil (forward-list) (error (progn (message "... %s" (setq my-count (1+ my-count))) (sit-for 1) (ding) (point))))))))) (unless (string-equal tag-string "") (message "Invisible tag: %s" tag-string)))) From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Stephen Berman Newsgroups: gmane.emacs.devel Subject: Re: Contiguous redisplay of the menu and beeps Date: Sat, 26 May 2007 17:19:37 +0200 Message-ID: <87d50neho6.fsf@escher.local.home> References: <465811AB.6080507@gmx.at> <46583907.1010009@gmx.at> <87lkfbeksr.fsf@escher.local.home> <87hcpzekb6.fsf@escher.local.home> <4658490F.5070908@gmx.at> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1180192819 11243 80.91.229.12 (26 May 2007 15:20:19 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sat, 26 May 2007 15:20:19 +0000 (UTC) To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sat May 26 17:20:08 2007 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1Hry3q-0005jL-18 for ged-emacs-devel@m.gmane.org; Sat, 26 May 2007 17:20:06 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Hry3p-0003t4-Al for ged-emacs-devel@m.gmane.org; Sat, 26 May 2007 11:20:05 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Hry3a-0003rY-Jp for emacs-devel@gnu.org; Sat, 26 May 2007 11:19:50 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Hry3Y-0003rM-U4 for emacs-devel@gnu.org; Sat, 26 May 2007 11:19:50 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Hry3Y-0003rJ-OY for emacs-devel@gnu.org; Sat, 26 May 2007 11:19:48 -0400 Original-Received: from main.gmane.org ([80.91.229.2] helo=ciao.gmane.org) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1Hry3Y-0000f8-Bd for emacs-devel@gnu.org; Sat, 26 May 2007 11:19:48 -0400 Original-Received: from list by ciao.gmane.org with local (Exim 4.43) id 1Hry3V-0007TM-7G for emacs-devel@gnu.org; Sat, 26 May 2007 17:19:45 +0200 Original-Received: from i577bc8be.versanet.de ([87.123.200.190]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sat, 26 May 2007 17:19:45 +0200 Original-Received: from Stephen.Berman by i577bc8be.versanet.de with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sat, 26 May 2007 17:19:45 +0200 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 49 Original-X-Complaints-To: usenet@sea.gmane.org X-Gmane-NNTP-Posting-Host: i577bc8be.versanet.de User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.1.50 (gnu/linux) X-detected-kernel: Linux 2.6, seldom 2.4 (older, 4) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:71844 Archived-At: On Sat, 26 May 2007 16:49:51 +0200 martin rudalics wrote: > What happens if you change `sgml-point-entered' to the following > non-sensical? My Emacs consumes 100% CPU and won't react to C-g. > Occasionally I can see `my-count' going up though. > > (defvar my-count 0) > > (defun sgml-point-entered (x y) > ;; Show preceding or following hidden tag, depending of cursor direction. > (let ((inhibit-point-motion-hooks t) > (tag-string > (save-excursion > ;; Strip properties, otherwise, the text is invisible. > (buffer-substring-no-properties > (point) > (if (or (and (> x y) > (not (eq (following-char) ?<))) > (and (< x y) > (eq (preceding-char) ?>))) > (condition-case nil > (backward-list) > (error (progn (message "... %s" (setq my-count (1+ my-count))) > (sit-for 1) (ding) > (point)))) > (condition-case nil > (forward-list) > (error (progn (message "... %s" (setq my-count (1+ my-count))) > (sit-for 1) (ding) > (point))))))))) > (unless (string-equal tag-string "") > (message "Invisible tag: %s" tag-string)))) For me it's not nonsensical at all: 1. emacs -Q 2. M-x html-mode 3. M-x column-number-mode 4. eval the above defvar and defun 5. insert 6. put the cursor on the leftmost `>' 7. C-c C-i => I hear two beeps, then "" disappears and I see "... 2" in the echo area. No further beeps or CPU consumption. When I repeat C-c C-i the tags reappear, when I repeat C-c C-i again, they again vanish after two beeps and the message is now "... 4". And so on, each time incrementing by two. Steve Berman From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: martin rudalics Newsgroups: gmane.emacs.devel Subject: Re: Contiguous redisplay of the menu and beeps Date: Sat, 26 May 2007 18:12:24 +0200 Message-ID: <46585C68.7040608@gmx.at> References: <465811AB.6080507@gmx.at> <46583907.1010009@gmx.at> <87lkfbeksr.fsf@escher.local.home> <87hcpzekb6.fsf@escher.local.home> <4658490F.5070908@gmx.at> <87d50neho6.fsf@escher.local.home> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-15; format=flowed Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1180196018 20758 80.91.229.12 (26 May 2007 16:13:38 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sat, 26 May 2007 16:13:38 +0000 (UTC) Cc: emacs-devel@gnu.org To: Stephen Berman Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sat May 26 18:13:36 2007 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1Hrytc-0005dA-9l for ged-emacs-devel@m.gmane.org; Sat, 26 May 2007 18:13:36 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Hrytb-00085R-PY for ged-emacs-devel@m.gmane.org; Sat, 26 May 2007 12:13:35 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1HrytX-00085C-Us for emacs-devel@gnu.org; Sat, 26 May 2007 12:13:31 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1HrytV-00084y-Sy for emacs-devel@gnu.org; Sat, 26 May 2007 12:13:30 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1HrytV-00084v-Pg for emacs-devel@gnu.org; Sat, 26 May 2007 12:13:29 -0400 Original-Received: from mail.gmx.net ([213.165.64.20]) by monty-python.gnu.org with smtp (Exim 4.60) (envelope-from ) id 1HrytV-000686-9t for emacs-devel@gnu.org; Sat, 26 May 2007 12:13:29 -0400 Original-Received: (qmail invoked by alias); 26 May 2007 16:13:28 -0000 Original-Received: from M3139P011.adsl.highway.telekom.at (EHLO [88.117.40.75]) [88.117.40.75] by mail.gmx.net (mp010) with SMTP; 26 May 2007 18:13:28 +0200 X-Authenticated: #14592706 X-Provags-ID: V01U2FsdGVkX1+RnaAcpwqRhTdP82LR18YOCwzOe9ls7dPDHFjuaV gxfn7SmzkWdDwL User-Agent: Mozilla Thunderbird 1.0 (Windows/20041206) X-Accept-Language: de-DE, de, en-us, en In-Reply-To: <87d50neho6.fsf@escher.local.home> X-Y-GMX-Trusted: 0 X-detected-kernel: Linux 2.6, seldom 2.4 (older, 4) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:71845 Archived-At: > => I hear two beeps, then "" disappears and I see "... 2" > in the echo area. No further beeps or CPU consumption. > > When I repeat C-c C-i the tags reappear, when I repeat C-c C-i again, > they again vanish after two beeps and the message is now "... 4". And > so on, each time incrementing by two. Interesting. On Windows ME this stalls somewhere in the menu-bar code. Funnily, `table--point-entered-cell-function' would establish a direct connection of such menu-bar behavior to repeated calls of point-entered. I don't see anything the like in sgml-mode. Anyway, it seems that setting point triggers `sgml-point-entered' which sets point such that it triggers sgml-point-entered .... Such hooks must not be allowed to set point unless they make sure that they do not end up in text which triggers the hook again. From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Richard Stallman Newsgroups: gmane.emacs.pretest.bugs,gmane.emacs.devel Subject: Re: Contiguous redisplay of the menu and beeps Date: Sun, 27 May 2007 19:21:28 -0400 Message-ID: Reply-To: rms@gnu.org NNTP-Posting-Host: lo.gmane.org Content-Type: text/plain; charset=ISO-8859-15 X-Trace: sea.gmane.org 1180308155 16730 80.91.229.12 (27 May 2007 23:22:35 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sun, 27 May 2007 23:22:35 +0000 (UTC) Cc: emacs-devel@gnu.org To: emacs-pretest-bug@gnu.org Original-X-From: emacs-pretest-bug-bounces+gebp-emacs-pretest-bug=gmane.org@gnu.org Mon May 28 01:22:34 2007 Return-path: Envelope-to: gebp-emacs-pretest-bug@gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1HsS4G-0002zY-LB for gebp-emacs-pretest-bug@gmane.org; Mon, 28 May 2007 01:22:32 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1HsS4G-0001aj-39 for gebp-emacs-pretest-bug@gmane.org; Sun, 27 May 2007 19:22:32 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1HsS3Q-0000vh-L5 for emacs-pretest-bug@gnu.org; Sun, 27 May 2007 19:21:40 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1HsS3P-0000vA-UD for emacs-pretest-bug@gnu.org; Sun, 27 May 2007 19:21:40 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1HsS3P-0000uq-Ps; Sun, 27 May 2007 19:21:39 -0400 Original-Received: from fencepost.gnu.org ([199.232.76.164]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1HsS3P-0006gw-H9; Sun, 27 May 2007 19:21:39 -0400 Original-Received: from rms by fencepost.gnu.org with local (Exim 4.60) (envelope-from ) id 1HsS3E-0007dM-8z; Sun, 27 May 2007 19:21:28 -0400 X-detected-kernel: Linux 2.6, seldom 2.4 (older, 4) X-BeenThere: emacs-pretest-bug@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Bug reports for CVS Emacs." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-pretest-bug-bounces+gebp-emacs-pretest-bug=gmane.org@gnu.org Errors-To: emacs-pretest-bug-bounces+gebp-emacs-pretest-bug=gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.pretest.bugs:19012 gmane.emacs.devel:71858 Archived-At: From: YAMAMOTO Mitsuharu Maybe you need to use specbind for the `current_column' call in redisplay_internal instead. *** src/xdisp.c.~1.1149.2.2.~ Fri May 25 11:00:00 2007 --- src/xdisp.c Sun May 27 22:48:48 2007 *************** redisplay_internal (preserve_echo_area) *** 10888,10893 **** --- 10888,10894 ---- Fcons (make_number (redisplaying_p), selected_frame)); ++redisplaying_p; specbind (Qinhibit_free_realized_faces, Qnil); + specbind (Qinhibit_point_motion_hooks, Qt); { Lisp_Object tail, frame; This binds the variable across nearly all of redisplay. That is a bit drastic as a solution; it might be right, but it is hard to be sure. Where is the actual call to `current_column' for which you specifically want to bind this? Could you bind Qinhibit_point_motion_hooks for just that? Or what about binding it in `current_column_1'? Maybe that is the right thing to do. From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: YAMAMOTO Mitsuharu Newsgroups: gmane.emacs.devel,gmane.emacs.pretest.bugs Subject: Re: Contiguous redisplay of the menu and beeps Date: Mon, 28 May 2007 09:56:50 +0900 Organization: Faculty of Science, Chiba University Message-ID: References: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 (generated by SEMI 1.14.6 - "Maruoka") Content-Type: text/plain; charset=US-ASCII X-Trace: sea.gmane.org 1180313821 28616 80.91.229.12 (28 May 2007 00:57:01 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Mon, 28 May 2007 00:57:01 +0000 (UTC) Cc: emacs-pretest-bug@gnu.org, MIYOSHI Masanori , emacs-devel@gnu.org To: rms@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon May 28 02:57:00 2007 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1HsTXf-0006yr-F1 for ged-emacs-devel@m.gmane.org; Mon, 28 May 2007 02:56:59 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1HsTXe-0007mc-Sq for ged-emacs-devel@m.gmane.org; Sun, 27 May 2007 20:56:58 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1HsTXb-0007m9-9i for emacs-devel@gnu.org; Sun, 27 May 2007 20:56:55 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1HsTXZ-0007lx-UL for emacs-devel@gnu.org; Sun, 27 May 2007 20:56:55 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1HsTXZ-0007lu-N0; Sun, 27 May 2007 20:56:53 -0400 Original-Received: from mathmail.math.s.chiba-u.ac.jp ([133.82.132.2]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1HsTXY-00050U-7y; Sun, 27 May 2007 20:56:52 -0400 Original-Received: from church.math.s.chiba-u.ac.jp (church [133.82.132.36]) by mathmail.math.s.chiba-u.ac.jp (Postfix) with ESMTP id 453F82C40; Mon, 28 May 2007 09:56:50 +0900 (JST) In-Reply-To: User-Agent: Wanderlust/2.14.0 (Africa) SEMI/1.14.6 (Maruoka) FLIM/1.14.8 (=?ISO-8859-4?Q?Shij=F2?=) APEL/10.6 Emacs/22.0.990 (sparc-sun-solaris2.8) MULE/5.0 (SAKAKI) X-detected-kernel: NetBSD 3.0 (DF) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:71862 gmane.emacs.pretest.bugs:19015 Archived-At: >>>>> On Sun, 27 May 2007 19:21:28 -0400, Richard Stallman said: > Where is the actual call to `current_column' for which you > specifically want to bind this? Could you bind > Qinhibit_point_motion_hooks for just that? I meant the only direct call to `current_column' from redisplay_internal: /* If %c is in the mode line, update it if needed. */ if (!NILP (w->column_number_displayed) /* This alternative quickly identifies a common case where no change is needed. */ && !(PT == XFASTINT (w->last_point) && XFASTINT (w->last_modified) >= MODIFF && XFASTINT (w->last_overlay_modified) >= OVERLAY_MODIFF) && (XFASTINT (w->column_number_displayed) != (int) current_column ())) /* iftc */ w->update_mode_line = Qt; and as I said, binding Qinhibit_point_motion_hooks just around this part as the following patch also works for me on Mac OS X. Could someone check if this works on Windows for the original problem? Index: src/xdisp.c =================================================================== RCS file: /cvsroot/emacs/emacs/src/xdisp.c,v retrieving revision 1.1149.2.2 diff -c -p -r1.1149.2.2 xdisp.c *** src/xdisp.c 24 May 2007 23:21:32 -0000 1.1149.2.2 --- src/xdisp.c 28 May 2007 00:33:00 -0000 *************** redisplay_internal (preserve_echo_area) *** 10836,10842 **** int must_finish = 0; struct text_pos tlbufpos, tlendpos; int number_of_visible_frames; ! int count; struct frame *sf; int polling_stopped_here = 0; --- 10836,10842 ---- int must_finish = 0; struct text_pos tlbufpos, tlendpos; int number_of_visible_frames; ! int count, count1; struct frame *sf; int polling_stopped_here = 0; *************** redisplay_internal (preserve_echo_area) *** 10974,10979 **** --- 10974,10983 ---- update_mode_lines++; } + /* Avoid invocation of point motion hooks by `current_column' below. */ + count1 = SPECPDL_INDEX (); + specbind (Qinhibit_point_motion_hooks, Qt); + /* If %c is in the mode line, update it if needed. */ if (!NILP (w->column_number_displayed) /* This alternative quickly identifies a common case *************** redisplay_internal (preserve_echo_area) *** 10985,10990 **** --- 10989,10996 ---- != (int) current_column ())) /* iftc */ w->update_mode_line = Qt; + unbind_to (count1, Qnil); + FRAME_SCROLL_BOTTOM_VPOS (XFRAME (w->frame)) = -1; /* The variable buffer_shared is set in redisplay_window and > Or what about binding it in `current_column_1'? Maybe that is the > right thing to do. Sorry, I'm afraid I'm not familiar enough with this matter. YAMAMOTO Mitsuharu mituharu@math.s.chiba-u.ac.jp From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Chong Yidong Newsgroups: gmane.emacs.devel,gmane.emacs.pretest.bugs Subject: Re: Contiguous redisplay of the menu and beeps Date: Sun, 27 May 2007 22:32:28 -0400 Message-ID: <87zm3pd6f7.fsf@stupidchicken.com> References: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1180319590 8330 80.91.229.12 (28 May 2007 02:33:10 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Mon, 28 May 2007 02:33:10 +0000 (UTC) Cc: emacs-pretest-bug@gnu.org To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon May 28 04:33:09 2007 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1HsV2h-0000Zc-II for ged-emacs-devel@m.gmane.org; Mon, 28 May 2007 04:33:07 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1HsV2g-00073S-Tw for ged-emacs-devel@m.gmane.org; Sun, 27 May 2007 22:33:06 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1HsV2d-00072h-Ii for emacs-devel@gnu.org; Sun, 27 May 2007 22:33:03 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1HsV2b-00070h-4y for emacs-devel@gnu.org; Sun, 27 May 2007 22:33:02 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1HsV2a-00070e-Va for emacs-devel@gnu.org; Sun, 27 May 2007 22:33:01 -0400 Original-Received: from main.gmane.org ([80.91.229.2] helo=ciao.gmane.org) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1HsV2a-0003yg-Kk for emacs-devel@gnu.org; Sun, 27 May 2007 22:33:00 -0400 Original-Received: from list by ciao.gmane.org with local (Exim 4.43) id 1HsV2R-0001SY-Oe for emacs-devel@gnu.org; Mon, 28 May 2007 04:32:51 +0200 Original-Received: from wsip-24-249-26-23.ri.ri.cox.net ([24.249.26.23]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 28 May 2007 04:32:51 +0200 Original-Received: from cyd by wsip-24-249-26-23.ri.ri.cox.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 28 May 2007 04:32:51 +0200 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 27 Original-X-Complaints-To: usenet@sea.gmane.org X-Gmane-NNTP-Posting-Host: wsip-24-249-26-23.ri.ri.cox.net User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.990 (gnu/linux) Cancel-Lock: sha1:uUs474qP+Y5/JLt2TbKMCJ7ejtQ= X-detected-kernel: Linux 2.6, seldom 2.4 (older, 4) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:71864 gmane.emacs.pretest.bugs:19018 Archived-At: YAMAMOTO Mitsuharu writes: > I meant the only direct call to `current_column' from > redisplay_internal: > > /* If %c is in the mode line, update it if needed. */ > if (!NILP (w->column_number_displayed) > /* This alternative quickly identifies a common case > where no change is needed. */ > && !(PT == XFASTINT (w->last_point) > && XFASTINT (w->last_modified) >= MODIFF > && XFASTINT (w->last_overlay_modified) >= OVERLAY_MODIFF) > && (XFASTINT (w->column_number_displayed) > != (int) current_column ())) /* iftc */ > w->update_mode_line = Qt; > > and as I said, binding Qinhibit_point_motion_hooks just around this > part as the following patch also works for me on Mac OS X. > > Could someone check if this works on Windows for the original problem? It fixes the bug as seen on GNU/Linux (i.e., with `debug-on-error' on, I no longer see a `forward-list' error with original bug recipe; I never observed the "other operations are blocked" part of the bug report on this platform.) Let's get this into the branch. From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: YAMAMOTO Mitsuharu Newsgroups: gmane.emacs.devel,gmane.emacs.pretest.bugs Subject: Re: Contiguous redisplay of the menu and beeps Date: Mon, 28 May 2007 12:11:37 +0900 Organization: Faculty of Science, Chiba University Message-ID: References: <87zm3pd6f7.fsf@stupidchicken.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 (generated by SEMI 1.14.6 - "Maruoka") Content-Type: text/plain; charset=US-ASCII X-Trace: sea.gmane.org 1180321909 12970 80.91.229.12 (28 May 2007 03:11:49 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Mon, 28 May 2007 03:11:49 +0000 (UTC) Cc: emacs-pretest-bug@gnu.org, emacs-devel@gnu.org To: Chong Yidong Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon May 28 05:11:47 2007 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1HsVe6-000598-UA for ged-emacs-devel@m.gmane.org; Mon, 28 May 2007 05:11:47 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1HsVe6-0005Pm-DC for ged-emacs-devel@m.gmane.org; Sun, 27 May 2007 23:11:46 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1HsVe1-0005Jr-Er for emacs-devel@gnu.org; Sun, 27 May 2007 23:11:41 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1HsVdz-0005C1-BT for emacs-devel@gnu.org; Sun, 27 May 2007 23:11:40 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1HsVdz-0005BN-2M; Sun, 27 May 2007 23:11:39 -0400 Original-Received: from ntp.math.s.chiba-u.ac.jp ([133.82.132.2] helo=mathmail.math.s.chiba-u.ac.jp) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1HsVdy-0006ao-LD; Sun, 27 May 2007 23:11:38 -0400 Original-Received: from church.math.s.chiba-u.ac.jp (church [133.82.132.36]) by mathmail.math.s.chiba-u.ac.jp (Postfix) with ESMTP id 689AE2C40; Mon, 28 May 2007 12:11:37 +0900 (JST) In-Reply-To: <87zm3pd6f7.fsf@stupidchicken.com> User-Agent: Wanderlust/2.14.0 (Africa) SEMI/1.14.6 (Maruoka) FLIM/1.14.8 (=?ISO-8859-4?Q?Shij=F2?=) APEL/10.6 Emacs/22.0.990 (sparc-sun-solaris2.8) MULE/5.0 (SAKAKI) X-detected-kernel: NetBSD 3.0 (DF) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:71868 gmane.emacs.pretest.bugs:19020 Archived-At: >>>>> On Sun, 27 May 2007 22:32:28 -0400, Chong Yidong said: >> Could someone check if this works on Windows for the original >> problem? > It fixes the bug as seen on GNU/Linux (i.e., with `debug-on-error' > on, I no longer see a `forward-list' error with original bug recipe; > I never observed the "other operations are blocked" part of the bug > report on this platform.) > Let's get this into the branch. Done. Reports from Windows users still wanted. YAMAMOTO Mitsuharu mituharu@math.s.chiba-u.ac.jp From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: martin rudalics Newsgroups: gmane.emacs.pretest.bugs,gmane.emacs.devel Subject: Re: Contiguous redisplay of the menu and beeps Date: Mon, 28 May 2007 10:33:22 +0200 Message-ID: <465A93D2.3070607@gmx.at> References: <87zm3pd6f7.fsf@stupidchicken.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-15; format=flowed Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1180341390 23647 80.91.229.12 (28 May 2007 08:36:30 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Mon, 28 May 2007 08:36:30 +0000 (UTC) Cc: emacs-pretest-bug@gnu.org, Chong Yidong , emacs-devel@gnu.org To: YAMAMOTO Mitsuharu Original-X-From: emacs-pretest-bug-bounces+gebp-emacs-pretest-bug=gmane.org@gnu.org Mon May 28 10:36:28 2007 Return-path: Envelope-to: gebp-emacs-pretest-bug@gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1HsaiH-00028e-4r for gebp-emacs-pretest-bug@gmane.org; Mon, 28 May 2007 10:36:25 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1HsaiG-0002wA-DC for gebp-emacs-pretest-bug@gmane.org; Mon, 28 May 2007 04:36:24 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Hsahv-0002pP-OE for emacs-pretest-bug@gnu.org; Mon, 28 May 2007 04:36:03 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Hsaht-0002oY-SI for emacs-pretest-bug@gnu.org; Mon, 28 May 2007 04:36:03 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Hsaht-0002oG-B7 for emacs-pretest-bug@gnu.org; Mon, 28 May 2007 04:36:01 -0400 Original-Received: from mail.gmx.net ([213.165.64.20]) by monty-python.gnu.org with smtp (Exim 4.60) (envelope-from ) id 1Hsahr-0004ar-DA for emacs-pretest-bug@gnu.org; Mon, 28 May 2007 04:36:00 -0400 Original-Received: (qmail invoked by alias); 28 May 2007 08:35:54 -0000 Original-Received: from N788P029.adsl.highway.telekom.at (EHLO [62.47.42.125]) [62.47.42.125] by mail.gmx.net (mp056) with SMTP; 28 May 2007 10:35:54 +0200 X-Authenticated: #14592706 X-Provags-ID: V01U2FsdGVkX1/OeV0c0e7OYZ9lcDsfSSkHM4HwT/z8xHA/ET+CWX A4liYfgUe+v5H1 User-Agent: Mozilla Thunderbird 1.0 (Windows/20041206) X-Accept-Language: de-DE, de, en-us, en In-Reply-To: X-Y-GMX-Trusted: 0 X-detected-kernel: Linux 2.6 (newer, 1) X-BeenThere: emacs-pretest-bug@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Bug reports for CVS Emacs." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-pretest-bug-bounces+gebp-emacs-pretest-bug=gmane.org@gnu.org Errors-To: emacs-pretest-bug-bounces+gebp-emacs-pretest-bug=gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.pretest.bugs:19023 gmane.emacs.devel:71878 Archived-At: > Reports from Windows users still wanted. Works here, thanks. From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: martin rudalics Newsgroups: gmane.emacs.pretest.bugs,gmane.emacs.devel Subject: Re: Contiguous redisplay of the menu and beeps Date: Mon, 28 May 2007 10:58:00 +0200 Message-ID: <465A9998.7080604@gmx.at> References: <87zm3pd6f7.fsf@stupidchicken.com> <465A93D2.3070607@gmx.at> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-15; format=flowed Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1180342711 27661 80.91.229.12 (28 May 2007 08:58:31 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Mon, 28 May 2007 08:58:31 +0000 (UTC) Cc: emacs-pretest-bug@gnu.org, Chong Yidong , emacs-devel@gnu.org To: martin rudalics Original-X-From: emacs-pretest-bug-bounces+gebp-emacs-pretest-bug=gmane.org@gnu.org Mon May 28 10:58:30 2007 Return-path: Envelope-to: gebp-emacs-pretest-bug@gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1Hsb3d-0005gg-Hh for gebp-emacs-pretest-bug@gmane.org; Mon, 28 May 2007 10:58:29 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Hsb3d-0008W9-4b for gebp-emacs-pretest-bug@gmane.org; Mon, 28 May 2007 04:58:29 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Hsb3O-0008Ti-9L for emacs-pretest-bug@gnu.org; Mon, 28 May 2007 04:58:14 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Hsb3M-0008Sm-Ej for emacs-pretest-bug@gnu.org; Mon, 28 May 2007 04:58:13 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Hsb3M-0008Si-5L for emacs-pretest-bug@gnu.org; Mon, 28 May 2007 04:58:12 -0400 Original-Received: from mail.gmx.net ([213.165.64.20]) by monty-python.gnu.org with smtp (Exim 4.60) (envelope-from ) id 1Hsb3K-0006kt-5H for emacs-pretest-bug@gnu.org; Mon, 28 May 2007 04:58:11 -0400 Original-Received: (qmail invoked by alias); 28 May 2007 08:58:04 -0000 Original-Received: from N804P022.adsl.highway.telekom.at (EHLO [62.47.44.118]) [62.47.44.118] by mail.gmx.net (mp049) with SMTP; 28 May 2007 10:58:04 +0200 X-Authenticated: #14592706 X-Provags-ID: V01U2FsdGVkX18Nk5AgK1MN72b3Ov4V1rEHY5xaBJuCEjpnakBDab 6nEWNHhid3E+0b User-Agent: Mozilla Thunderbird 1.0 (Windows/20041206) X-Accept-Language: de-DE, de, en-us, en In-Reply-To: <465A93D2.3070607@gmx.at> X-Y-GMX-Trusted: 0 X-detected-kernel: Linux 2.6, seldom 2.4 (older, 4) X-BeenThere: emacs-pretest-bug@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Bug reports for CVS Emacs." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-pretest-bug-bounces+gebp-emacs-pretest-bug=gmane.org@gnu.org Errors-To: emacs-pretest-bug-bounces+gebp-emacs-pretest-bug=gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.pretest.bugs:19024 gmane.emacs.devel:71880 Archived-At: >> Reports from Windows users still wanted. > > > Works here, thanks. Sorry, no. With a newline after the and moving down and back that line I get sgml-point-entered: Lisp nesting exceeds `max-lisp-eval-depth' If I define `sgml-point-entered' as (defun sgml-point-entered (x y) ;; Show preceding or following hidden tag, depending of cursor direction. (let ((inhibit-point-motion-hooks t) (tag-string (save-excursion ;; Strip properties, otherwise, the text is invisible. (buffer-substring-no-properties (point) (if (or (and (> x y) (not (eq (following-char) ?<))) (and (< x y) (eq (preceding-char) ?>))) (condition-case nil (backward-list) (error (point))) (condition-case nil (forward-list) (error (point)))))))) (unless (string-equal tag-string "") (message "Invisible tag: %s" tag-string)))) it stalls as before with 100% CPU consumption. From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: YAMAMOTO Mitsuharu Newsgroups: gmane.emacs.devel,gmane.emacs.pretest.bugs Subject: Re: Contiguous redisplay of the menu and beeps Date: Mon, 28 May 2007 18:14:50 +0900 Organization: Faculty of Science, Chiba University Message-ID: References: <87zm3pd6f7.fsf@stupidchicken.com> <465A93D2.3070607@gmx.at> <465A9998.7080604@gmx.at> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 (generated by SEMI 1.14.6 - "Maruoka") Content-Type: text/plain; charset=US-ASCII X-Trace: sea.gmane.org 1180343717 712 80.91.229.12 (28 May 2007 09:15:17 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Mon, 28 May 2007 09:15:17 +0000 (UTC) Cc: emacs-pretest-bug@gnu.org, Chong Yidong , emacs-devel@gnu.org To: martin rudalics Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon May 28 11:15:14 2007 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1HsbJo-0000Ky-1C for ged-emacs-devel@m.gmane.org; Mon, 28 May 2007 11:15:12 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1HsbJm-0002a5-ET for ged-emacs-devel@m.gmane.org; Mon, 28 May 2007 05:15:10 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1HsbJi-0002Xn-EP for emacs-devel@gnu.org; Mon, 28 May 2007 05:15:06 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1HsbJe-0002Tb-4Y for emacs-devel@gnu.org; Mon, 28 May 2007 05:15:05 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1HsbJe-0002TO-09; Mon, 28 May 2007 05:15:02 -0400 Original-Received: from ntp.math.s.chiba-u.ac.jp ([133.82.132.2] helo=mathmail.math.s.chiba-u.ac.jp) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1HsbJc-00006T-1e; Mon, 28 May 2007 05:15:01 -0400 Original-Received: from church.math.s.chiba-u.ac.jp (church [133.82.132.36]) by mathmail.math.s.chiba-u.ac.jp (Postfix) with ESMTP id 7284B2C40; Mon, 28 May 2007 18:14:50 +0900 (JST) In-Reply-To: <465A9998.7080604@gmx.at> User-Agent: Wanderlust/2.14.0 (Africa) SEMI/1.14.6 (Maruoka) FLIM/1.14.8 (=?ISO-8859-4?Q?Shij=F2?=) APEL/10.6 Emacs/22.0.990 (sparc-sun-solaris2.8) MULE/5.0 (SAKAKI) X-detected-kernel: NetBSD 3.0 (DF) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:71882 gmane.emacs.pretest.bugs:19025 Archived-At: >>>>> On Mon, 28 May 2007 10:58:00 +0200, martin rudalics said: >>> Reports from Windows users still wanted. >> >> >> Works here, thanks. > Sorry, no. With a newline after the > > and moving down and back that line I get > sgml-point-entered: Lisp nesting exceeds `max-lisp-eval-depth' I couldn't reproduce it on Mac OS X. It only shows an error like forward-list: Scan error: "Containing expression ends prematurely" > If I define `sgml-point-entered' as > (defun sgml-point-entered (x y) > ;; Show preceding or following hidden tag, depending of cursor direction. > (let ((inhibit-point-motion-hooks t) > (tag-string > (save-excursion > ;; Strip properties, otherwise, the text is invisible. > (buffer-substring-no-properties > (point) > (if (or (and (> x y) > (not (eq (following-char) ?<))) > (and (< x y) > (eq (preceding-char) ?>))) > (condition-case nil > (backward-list) > (error (point))) > (condition-case nil > (forward-list) > (error (point)))))))) > (unless (string-equal tag-string "") > (message "Invisible tag: %s" tag-string)))) > it stalls as before with 100% CPU consumption. I could reproduce this, but shouldn't the above `let' be `let*'? YAMAMOTO Mitsuharu mituharu@math.s.chiba-u.ac.jp From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: martin rudalics Newsgroups: gmane.emacs.devel,gmane.emacs.pretest.bugs Subject: Re: Contiguous redisplay of the menu and beeps Date: Mon, 28 May 2007 11:42:59 +0200 Message-ID: <465AA423.302@gmx.at> References: <87zm3pd6f7.fsf@stupidchicken.com> <465A93D2.3070607@gmx.at> <465A9998.7080604@gmx.at> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-15; format=flowed Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1180345393 5910 80.91.229.12 (28 May 2007 09:43:13 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Mon, 28 May 2007 09:43:13 +0000 (UTC) Cc: emacs-pretest-bug@gnu.org, Chong Yidong , emacs-devel@gnu.org To: YAMAMOTO Mitsuharu Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon May 28 11:43:11 2007 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1Hsbkt-0005HZ-7e for ged-emacs-devel@m.gmane.org; Mon, 28 May 2007 11:43:11 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Hsbks-0005CE-MT for ged-emacs-devel@m.gmane.org; Mon, 28 May 2007 05:43:10 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Hsbko-0005Bp-5W for emacs-devel@gnu.org; Mon, 28 May 2007 05:43:06 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Hsbkm-0005Bd-LV for emacs-devel@gnu.org; Mon, 28 May 2007 05:43:05 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Hsbkm-0005Ba-Gw for emacs-devel@gnu.org; Mon, 28 May 2007 05:43:04 -0400 Original-Received: from mail.gmx.net ([213.165.64.20]) by monty-python.gnu.org with smtp (Exim 4.60) (envelope-from ) id 1Hsbkm-0002le-3g for emacs-devel@gnu.org; Mon, 28 May 2007 05:43:04 -0400 Original-Received: (qmail invoked by alias); 28 May 2007 09:43:03 -0000 Original-Received: from N780P005.adsl.highway.telekom.at (EHLO [62.47.41.101]) [62.47.41.101] by mail.gmx.net (mp043) with SMTP; 28 May 2007 11:43:03 +0200 X-Authenticated: #14592706 X-Provags-ID: V01U2FsdGVkX1+x2FF8ctuxnK7pUyBH61a+VzypZjmitTJuVS77QN rvIfPB+aAnt7lT User-Agent: Mozilla Thunderbird 1.0 (Windows/20041206) X-Accept-Language: de-DE, de, en-us, en In-Reply-To: X-Y-GMX-Trusted: 0 X-detected-kernel: Linux 2.6, seldom 2.4 (older, 4) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:71884 gmane.emacs.pretest.bugs:19026 Archived-At: > I could reproduce this, but shouldn't the above `let' be `let*'? My bad, let*'s ignore this. From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: martin rudalics Newsgroups: gmane.emacs.pretest.bugs,gmane.emacs.devel Subject: Re: Contiguous redisplay of the menu and beeps Date: Mon, 28 May 2007 12:09:14 +0200 Message-ID: <465AAA4A.8000701@gmx.at> References: <87zm3pd6f7.fsf@stupidchicken.com> <465A93D2.3070607@gmx.at> <465A9998.7080604@gmx.at> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="------------010206010008000507020206" X-Trace: sea.gmane.org 1180347052 11249 80.91.229.12 (28 May 2007 10:10:52 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Mon, 28 May 2007 10:10:52 +0000 (UTC) Cc: emacs-pretest-bug@gnu.org, Chong Yidong , emacs-devel@gnu.org To: YAMAMOTO Mitsuharu Original-X-From: emacs-pretest-bug-bounces+gebp-emacs-pretest-bug=gmane.org@gnu.org Mon May 28 12:10:50 2007 Return-path: Envelope-to: gebp-emacs-pretest-bug@gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1HscBc-00021N-MT for gebp-emacs-pretest-bug@gmane.org; Mon, 28 May 2007 12:10:48 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1HscBc-00077G-37 for gebp-emacs-pretest-bug@gmane.org; Mon, 28 May 2007 06:10:48 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1HscBV-00076v-Jv for emacs-pretest-bug@gnu.org; Mon, 28 May 2007 06:10:41 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1HscBV-00076X-28 for emacs-pretest-bug@gnu.org; Mon, 28 May 2007 06:10:41 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1HscBU-00076T-Td for emacs-pretest-bug@gnu.org; Mon, 28 May 2007 06:10:40 -0400 Original-Received: from mail.gmx.net ([213.165.64.20]) by monty-python.gnu.org with smtp (Exim 4.60) (envelope-from ) id 1HscBU-000559-BK for emacs-pretest-bug@gnu.org; Mon, 28 May 2007 06:10:40 -0400 Original-Received: (qmail invoked by alias); 28 May 2007 10:10:39 -0000 Original-Received: from N780P005.adsl.highway.telekom.at (EHLO [62.47.41.101]) [62.47.41.101] by mail.gmx.net (mp047) with SMTP; 28 May 2007 12:10:39 +0200 X-Authenticated: #14592706 X-Provags-ID: V01U2FsdGVkX18ONhEpSo4Oymu5NXYfzlQSX4zB94h+jkDEKIUgOc 9MVf/hyl2I+mi+ User-Agent: Mozilla Thunderbird 1.0 (Windows/20041206) X-Accept-Language: de-DE, de, en-us, en In-Reply-To: X-Y-GMX-Trusted: 0 X-detected-kernel: Linux 2.6, seldom 2.4 (older, 4) X-BeenThere: emacs-pretest-bug@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Bug reports for CVS Emacs." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-pretest-bug-bounces+gebp-emacs-pretest-bug=gmane.org@gnu.org Errors-To: emacs-pretest-bug-bounces+gebp-emacs-pretest-bug=gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.pretest.bugs:19028 gmane.emacs.devel:71885 Archived-At: This is a multi-part message in MIME format. --------------010206010008000507020206 Content-Type: text/plain; charset=ISO-8859-15; format=flowed Content-Transfer-Encoding: 7bit > I couldn't reproduce it on Mac OS X. It only shows an error like > > forward-list: Scan error: "Containing expression ends prematurely" OK. To prevent this I'd apply something like the attached patch (low priority). We also might consider not running point-entered/-left hooks when running a point-entered/-left hook (as with before-/after-change-functions). --------------010206010008000507020206 Content-Type: text/plain; name="sgml.patch" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline; filename="sgml.patch" *** sgml-mode.el Mon May 14 23:19:20 2007 --- sgml-mode.el Mon May 28 11:51:12 2007 *************** *** 894,911 **** (defun sgml-point-entered (x y) ;; Show preceding or following hidden tag, depending of cursor direct= ion. ! (let ((inhibit-point-motion-hooks t)) ! (save-excursion ! (message "Invisible tag: %s" ! ;; Strip properties, otherwise, the text is invisible. ! (buffer-substring-no-properties ! (point) ! (if (or (and (> x y) ! (not (eq (following-char) ?<))) ! (and (< x y) ! (eq (preceding-char) ?>))) ! (backward-list) ! (forward-list))))))) =0C (defun sgml-validate (command) --- 894,917 ---- (defun sgml-point-entered (x y) ;; Show preceding or following hidden tag, depending of cursor direct= ion. ! (let* ((inhibit-point-motion-hooks t) ! (tag-string ! (save-excursion ! ;; Strip properties, otherwise, the text is invisible. ! (buffer-substring-no-properties ! (point) ! (if (or (and (> x y) ! (not (eq (following-char) ?<))) ! (and (< x y) ! (eq (preceding-char) ?>))) ! (condition-case nil ! (backward-list) ! (error (point))) ! (condition-case nil ! (forward-list) ! (error (point)))))))) ! (unless (string-equal tag-string "") ! (message "Invisible tag: %s" tag-string)))) =0C (defun sgml-validate (command) --------------010206010008000507020206 Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ emacs-pretest-bug mailing list emacs-pretest-bug@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-pretest-bug --------------010206010008000507020206-- From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Chong Yidong Newsgroups: gmane.emacs.pretest.bugs,gmane.emacs.devel Subject: Re: Contiguous redisplay of the menu and beeps Date: Mon, 28 May 2007 08:49:12 -0400 Message-ID: <87r6p1kt9z.fsf@stupidchicken.com> References: <87zm3pd6f7.fsf@stupidchicken.com> <465A93D2.3070607@gmx.at> <465A9998.7080604@gmx.at> <465AAA4A.8000701@gmx.at> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1180357480 11780 80.91.229.12 (28 May 2007 13:04:40 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Mon, 28 May 2007 13:04:40 +0000 (UTC) Cc: emacs-devel@gnu.org To: emacs-pretest-bug@gnu.org Original-X-From: emacs-pretest-bug-bounces+gebp-emacs-pretest-bug=gmane.org@gnu.org Mon May 28 15:04:38 2007 Return-path: Envelope-to: gebp-emacs-pretest-bug@gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1Hsetq-0007L0-8i for gebp-emacs-pretest-bug@gmane.org; Mon, 28 May 2007 15:04:38 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Hsetp-0006UJ-Ql for gebp-emacs-pretest-bug@gmane.org; Mon, 28 May 2007 09:04:37 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Hsetg-0006U9-O9 for emacs-pretest-bug@gnu.org; Mon, 28 May 2007 09:04:28 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Hsetf-0006Rn-Fp for emacs-pretest-bug@gnu.org; Mon, 28 May 2007 09:04:28 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Hsetf-0006Rc-5M for emacs-pretest-bug@gnu.org; Mon, 28 May 2007 09:04:27 -0400 Original-Received: from main.gmane.org ([80.91.229.2] helo=ciao.gmane.org) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1Hsete-0001BG-St for emacs-pretest-bug@gnu.org; Mon, 28 May 2007 09:04:27 -0400 Original-Received: from list by ciao.gmane.org with local (Exim 4.43) id 1Hseik-0003wB-O5 for emacs-pretest-bug@gnu.org; Mon, 28 May 2007 14:53:11 +0200 Original-Received: from wsip-24-249-26-23.ri.ri.cox.net ([24.249.26.23]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 28 May 2007 14:53:10 +0200 Original-Received: from cyd by wsip-24-249-26-23.ri.ri.cox.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 28 May 2007 14:53:10 +0200 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 52 Original-X-Complaints-To: usenet@sea.gmane.org X-Gmane-NNTP-Posting-Host: wsip-24-249-26-23.ri.ri.cox.net User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.990 (gnu/linux) Cancel-Lock: sha1:hqMcnFcEr1uJ8PnVGbJdy4yiKsw= X-detected-kernel: Linux 2.6, seldom 2.4 (older, 4) X-BeenThere: emacs-pretest-bug@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Bug reports for CVS Emacs." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-pretest-bug-bounces+gebp-emacs-pretest-bug=gmane.org@gnu.org Errors-To: emacs-pretest-bug-bounces+gebp-emacs-pretest-bug=gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.pretest.bugs:19032 gmane.emacs.devel:71888 Archived-At: martin rudalics writes: >> I couldn't reproduce it on Mac OS X. It only shows an error like >> >> forward-list: Scan error: "Containing expression ends prematurely" > > OK. To prevent this I'd apply something like the attached patch (low > priority). I think it's cleaner to put the condition-case outside. Does this work for you? *** emacs/lisp/textmodes/sgml-mode.el.~1.121.~ 2007-05-14 10:56:30.000000000 -0400 --- emacs/lisp/textmodes/sgml-mode.el 2007-05-28 08:47:21.000000000 -0400 *************** *** 897,912 **** ;; Show preceding or following hidden tag, depending of cursor direction. (let ((inhibit-point-motion-hooks t)) (save-excursion ! (message "Invisible tag: %s" ! ;; Strip properties, otherwise, the text is invisible. ! (buffer-substring-no-properties ! (point) ! (if (or (and (> x y) ! (not (eq (following-char) ?<))) ! (and (< x y) ! (eq (preceding-char) ?>))) ! (backward-list) ! (forward-list))))))) (defun sgml-validate (command) --- 897,915 ---- ;; Show preceding or following hidden tag, depending of cursor direction. (let ((inhibit-point-motion-hooks t)) (save-excursion ! (condition-case nil ! (message "Invisible tag: %s" ! ;; Strip properties, otherwise, the text is invisible. ! (buffer-substring-no-properties ! (point) ! (if (or (and (> x y) ! (not (eq (following-char) ?<))) ! (and (< x y) ! (eq (preceding-char) ?>))) ! (backward-list) ! (forward-list)))) ! (error nil))))) ! (defun sgml-validate (command) From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: martin rudalics Newsgroups: gmane.emacs.pretest.bugs,gmane.emacs.devel Subject: Re: Contiguous redisplay of the menu and beeps Date: Mon, 28 May 2007 15:13:08 +0200 Message-ID: <465AD564.1090709@gmx.at> References: <87zm3pd6f7.fsf@stupidchicken.com> <465A93D2.3070607@gmx.at> <465A9998.7080604@gmx.at> <465AAA4A.8000701@gmx.at> <87r6p1kt9z.fsf@stupidchicken.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-15; format=flowed Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1180358314 14690 80.91.229.12 (28 May 2007 13:18:34 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Mon, 28 May 2007 13:18:34 +0000 (UTC) Cc: emacs-pretest-bug@gnu.org, emacs-devel@gnu.org To: Chong Yidong Original-X-From: emacs-pretest-bug-bounces+gebp-emacs-pretest-bug=gmane.org@gnu.org Mon May 28 15:18:32 2007 Return-path: Envelope-to: gebp-emacs-pretest-bug@gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1Hsf7I-0001ZW-1k for gebp-emacs-pretest-bug@gmane.org; Mon, 28 May 2007 15:18:32 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Hsf7H-0005SA-I7 for gebp-emacs-pretest-bug@gmane.org; Mon, 28 May 2007 09:18:31 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Hsf79-0005Rm-PO for emacs-pretest-bug@gnu.org; Mon, 28 May 2007 09:18:23 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Hsf79-0005RT-Bo for emacs-pretest-bug@gnu.org; Mon, 28 May 2007 09:18:23 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Hsf79-0005RH-1b for emacs-pretest-bug@gnu.org; Mon, 28 May 2007 09:18:23 -0400 Original-Received: from mail.gmx.net ([213.165.64.20]) by monty-python.gnu.org with smtp (Exim 4.60) (envelope-from ) id 1Hsf78-0002oU-W6 for emacs-pretest-bug@gnu.org; Mon, 28 May 2007 09:18:23 -0400 Original-Received: (qmail invoked by alias); 28 May 2007 13:18:21 -0000 Original-Received: from N761P024.adsl.highway.telekom.at (EHLO [62.47.39.24]) [62.47.39.24] by mail.gmx.net (mp028) with SMTP; 28 May 2007 15:18:21 +0200 X-Authenticated: #14592706 X-Provags-ID: V01U2FsdGVkX1+CSfZH4DCCZZHc/QRmFcS8H39D1hrEOOWhCdbejl UX4LQC43yBCYsQ User-Agent: Mozilla Thunderbird 1.0 (Windows/20041206) X-Accept-Language: de-DE, de, en-us, en In-Reply-To: <87r6p1kt9z.fsf@stupidchicken.com> X-Y-GMX-Trusted: 0 X-detected-kernel: Linux 2.6, seldom 2.4 (older, 4) X-BeenThere: emacs-pretest-bug@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Bug reports for CVS Emacs." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-pretest-bug-bounces+gebp-emacs-pretest-bug=gmane.org@gnu.org Errors-To: emacs-pretest-bug-bounces+gebp-emacs-pretest-bug=gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.pretest.bugs:19033 gmane.emacs.devel:71889 Archived-At: > I think it's cleaner to put the condition-case outside. Does this > work for you? Good. Eventually, someone could try to avoid theses scans when it's easy to determine that they fail. From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Chong Yidong Newsgroups: gmane.emacs.devel,gmane.emacs.pretest.bugs Subject: Re: Contiguous redisplay of the menu and beeps Date: Mon, 28 May 2007 10:11:29 -0400 Message-ID: <87odk5t4vi.fsf@stupidchicken.com> References: <87zm3pd6f7.fsf@stupidchicken.com> <465A93D2.3070607@gmx.at> <465A9998.7080604@gmx.at> <465AAA4A.8000701@gmx.at> <87r6p1kt9z.fsf@stupidchicken.com> <465AD564.1090709@gmx.at> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1180361533 25940 80.91.229.12 (28 May 2007 14:12:13 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Mon, 28 May 2007 14:12:13 +0000 (UTC) Cc: emacs-pretest-bug@gnu.org, emacs-devel@gnu.org To: martin rudalics Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon May 28 16:12:11 2007 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1HsfxA-0004Ir-40 for ged-emacs-devel@m.gmane.org; Mon, 28 May 2007 16:12:08 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Hsfx9-0003s1-E7 for ged-emacs-devel@m.gmane.org; Mon, 28 May 2007 10:12:07 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Hsfx5-0003rl-MV for emacs-devel@gnu.org; Mon, 28 May 2007 10:12:03 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Hsfx5-0003rd-Ad; Mon, 28 May 2007 10:12:03 -0400 Original-Received: from south-station-annex.mit.edu ([18.72.1.2]) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1Hsfx5-00019I-0W; Mon, 28 May 2007 10:12:03 -0400 Original-Received: from central-city-carrier-station.mit.edu (CENTRAL-CITY-CARRIER-STATION.MIT.EDU [18.7.7.72]) by south-station-annex.mit.edu (8.13.6/8.9.2) with ESMTP id l4SEC0XX026964; Mon, 28 May 2007 10:12:00 -0400 (EDT) Original-Received: from outgoing-legacy.mit.edu (OUTGOING-LEGACY.MIT.EDU [18.7.22.104]) by central-city-carrier-station.mit.edu (8.13.6/8.9.2) with ESMTP id l4SEBbVi021734; Mon, 28 May 2007 10:11:39 -0400 (EDT) Original-Received: from localhost (wsip-24-249-26-23.ri.ri.cox.net [24.249.26.23]) ) by outgoing-legacy.mit.edu (8.13.6/8.12.4) with ESMTP id l4SEBUuT028682; Mon, 28 May 2007 10:11:34 -0400 (EDT) Original-Received: from cyd by localhost with local (Exim 3.36 #1 (Debian)) id 1HsfwX-0001r9-00; Mon, 28 May 2007 10:11:29 -0400 In-Reply-To: <465AD564.1090709@gmx.at> (martin rudalics's message of "Mon\, 28 May 2007 15\:13\:08 +0200") User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.990 (gnu/linux) X-Scanned-By: MIMEDefang 2.42 X-Spam-Score: -2.599 X-detected-kernel: Solaris 9.1 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:71890 gmane.emacs.pretest.bugs:19035 Archived-At: martin rudalics writes: >> I think it's cleaner to put the condition-case outside. Does this >> work for you? > > Good. Eventually, someone could try to avoid theses scans when it's > easy to determine that they fail. I've checked it into the branch. From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Richard Stallman Newsgroups: gmane.emacs.pretest.bugs,gmane.emacs.devel Subject: Re: Contiguous redisplay of the menu and beeps Date: Mon, 28 May 2007 20:03:37 -0400 Message-ID: References: <87zm3pd6f7.fsf@stupidchicken.com> Reply-To: rms@gnu.org NNTP-Posting-Host: lo.gmane.org Content-Type: text/plain; charset=ISO-8859-15 X-Trace: sea.gmane.org 1180397217 11640 80.91.229.12 (29 May 2007 00:06:57 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Tue, 29 May 2007 00:06:57 +0000 (UTC) Cc: emacs-pretest-bug@gnu.org, emacs-devel@gnu.org To: Chong Yidong Original-X-From: emacs-pretest-bug-bounces+gebp-emacs-pretest-bug=gmane.org@gnu.org Tue May 29 02:06:56 2007 Return-path: Envelope-to: gebp-emacs-pretest-bug@gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1HspEk-0005kK-CM for gebp-emacs-pretest-bug@gmane.org; Tue, 29 May 2007 02:06:54 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1HspEj-0005s2-V0 for gebp-emacs-pretest-bug@gmane.org; Mon, 28 May 2007 20:06:53 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1HspBn-0002tg-5F for emacs-pretest-bug@gnu.org; Mon, 28 May 2007 20:03:51 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1HspBm-0002t9-Jo for emacs-pretest-bug@gnu.org; Mon, 28 May 2007 20:03:50 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1HspBm-0002t4-FP; Mon, 28 May 2007 20:03:50 -0400 Original-Received: from fencepost.gnu.org ([199.232.76.164]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1HspBl-0003Lp-Nn; Mon, 28 May 2007 20:03:50 -0400 Original-Received: from rms by fencepost.gnu.org with local (Exim 4.60) (envelope-from ) id 1HspBZ-0001Sw-6e; Mon, 28 May 2007 20:03:37 -0400 In-reply-to: <87zm3pd6f7.fsf@stupidchicken.com> (message from Chong Yidong on Sun, 27 May 2007 22:32:28 -0400) X-detected-kernel: Linux 2.6, seldom 2.4 (older, 4) X-BeenThere: emacs-pretest-bug@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Bug reports for CVS Emacs." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-pretest-bug-bounces+gebp-emacs-pretest-bug=gmane.org@gnu.org Errors-To: emacs-pretest-bug-bounces+gebp-emacs-pretest-bug=gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.pretest.bugs:19043 gmane.emacs.devel:71916 Archived-At: It fixes the bug as seen on GNU/Linux (i.e., with `debug-on-error' on, I no longer see a `forward-list' error with original bug recipe; I never observed the "other operations are blocked" part of the bug report on this platform.) Let's get this into the branch. Yes, that is good. From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "Davis Herring" Newsgroups: gmane.emacs.pretest.bugs,gmane.emacs.devel Subject: Re: Contiguous redisplay of the menu and beeps Date: Tue, 29 May 2007 16:38:35 -0700 (PDT) Message-ID: <39719.128.165.123.18.1180481915.squirrel@webmail.lanl.gov> References: <87zm3pd6f7.fsf@stupidchicken.com> <465A93D2.3070607@gmx.at> <465A9998.7080604@gmx.at> <465AAA4A.8000701@gmx.at> <87r6p1kt9z.fsf@stupidchicken.com> Reply-To: herring@lanl.gov NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain;charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Trace: sea.gmane.org 1180481933 13385 80.91.229.12 (29 May 2007 23:38:53 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Tue, 29 May 2007 23:38:53 +0000 (UTC) Cc: emacs-pretest-bug@gnu.org, emacs-devel@gnu.org To: "Chong Yidong" Original-X-From: emacs-pretest-bug-bounces+gebp-emacs-pretest-bug=gmane.org@gnu.org Wed May 30 01:38:52 2007 Return-path: Envelope-to: gebp-emacs-pretest-bug@gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1HtBH8-0001Cn-CU for gebp-emacs-pretest-bug@gmane.org; Wed, 30 May 2007 01:38:50 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1HtBH7-0007z6-Uo for gebp-emacs-pretest-bug@gmane.org; Tue, 29 May 2007 19:38:50 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1HtBGy-0007wt-SZ for emacs-pretest-bug@gnu.org; Tue, 29 May 2007 19:38:40 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1HtBGy-0007vP-3G for emacs-pretest-bug@gnu.org; Tue, 29 May 2007 19:38:40 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1HtBGx-0007ut-Tg; Tue, 29 May 2007 19:38:39 -0400 Original-Received: from mailwasher.lanl.gov ([192.65.95.54] helo=mailwasher-b.lanl.gov) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1HtBGx-0002QN-Df; Tue, 29 May 2007 19:38:39 -0400 Original-Received: from mailrelay3.lanl.gov (mailrelay3.lanl.gov [128.165.4.104]) by mailwasher-b.lanl.gov (8.13.8/8.13.8/(ccn-5)) with ESMTP id l4TNcara005864; Tue, 29 May 2007 17:38:36 -0600 Original-Received: from webmail1.lanl.gov (webmail1.lanl.gov [128.165.4.106]) by mailrelay3.lanl.gov (8.13.8/8.13.8/(ccn-5)) with ESMTP id l4TNca4t028586; Tue, 29 May 2007 17:38:36 -0600 Original-Received: from webmail1.lanl.gov (localhost.localdomain [127.0.0.1]) by webmail1.lanl.gov (8.12.11.20060308/8.12.11) with ESMTP id l4TNcZJi013368; Tue, 29 May 2007 17:38:35 -0600 Original-Received: (from apache@localhost) by webmail1.lanl.gov (8.12.11.20060308/8.12.11/Submit) id l4TNcZM2013366; Tue, 29 May 2007 16:38:35 -0700 X-Authentication-Warning: webmail1.lanl.gov: apache set sender to herring@lanl.gov using -f Original-Received: from 128.165.123.18 (SquirrelMail authenticated user 196434) by webmail.lanl.gov with HTTP; Tue, 29 May 2007 16:38:35 -0700 (PDT) In-Reply-To: <87r6p1kt9z.fsf@stupidchicken.com> User-Agent: SquirrelMail/1.4.8-4.el3.4lanl X-Priority: 3 (Normal) Importance: Normal X-PMX-Version: 4.7.1.128075 X-detected-kernel: Linux 2.4-2.6 X-BeenThere: emacs-pretest-bug@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Bug reports for CVS Emacs." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-pretest-bug-bounces+gebp-emacs-pretest-bug=gmane.org@gnu.org Errors-To: emacs-pretest-bug-bounces+gebp-emacs-pretest-bug=gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.pretest.bugs:19055 gmane.emacs.devel:71973 Archived-At: > --- 897,915 ---- > ;; Show preceding or following hidden tag, depending of cursor > direction. > (let ((inhibit-point-motion-hooks t)) > (save-excursion > ! (condition-case nil > ! (message "Invisible tag: %s" > ! ;; Strip properties, otherwise, the text is invisible. > ! (buffer-substring-no-properties > ! (point) > ! (if (or (and (> x y) > ! (not (eq (following-char) ?<))) > ! (and (< x y) > ! (eq (preceding-char) ?>))) > ! (backward-list) > ! (forward-list)))) > ! (error nil))))) > ! For utmost clarity, I'd just use `ignore-errors' here. (cl is already used for compiling sgml-mode.el.) Davis -- This product is sold by volume, not by mass. If it appears too dense or too sparse, it is because mass-energy conversion has occurred during shipping.