From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Sven Joachim Newsgroups: gmane.emacs.devel,gmane.emacs.pretest.bugs Subject: 23.0.60; M-x occur no longer uses previous regexp as default Date: Tue, 22 Apr 2008 13:14:25 +0200 Message-ID: <87fxtexhta.fsf@gmx.de> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1208863103 21394 80.91.229.12 (22 Apr 2008 11:18:23 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 22 Apr 2008 11:18:23 +0000 (UTC) Cc: rfrancoise@debian.org To: emacs-pretest-bug@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue Apr 22 13:18:49 2008 connect(): Connection refused 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 1JoGWN-000359-Op for ged-emacs-devel@m.gmane.org; Tue, 22 Apr 2008 13:18:48 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JoGVi-000260-2k for ged-emacs-devel@m.gmane.org; Tue, 22 Apr 2008 07:18:06 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1JoGVG-0001tV-Je for emacs-devel@gnu.org; Tue, 22 Apr 2008 07:17:38 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1JoGVE-0001sS-82 for emacs-devel@gnu.org; Tue, 22 Apr 2008 07:17:37 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JoGVD-0001sM-Ts for emacs-devel@gnu.org; Tue, 22 Apr 2008 07:17:36 -0400 Original-Received: from fencepost.gnu.org ([140.186.70.10]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1JoGVD-0002k7-Ps for emacs-devel@gnu.org; Tue, 22 Apr 2008 07:17:35 -0400 Original-Received: from mx10.gnu.org ([199.232.76.166]) by fencepost.gnu.org with esmtp (Exim 4.67) (envelope-from ) id 1JoGVD-0007q7-EO for emacs-pretest-bug@gnu.org; Tue, 22 Apr 2008 07:17:35 -0400 Original-Received: from Debian-exim by monty-python.gnu.org with spam-scanned (Exim 4.60) (envelope-from ) id 1JoGV8-0002iO-Te for emacs-pretest-bug@gnu.org; Tue, 22 Apr 2008 07:17:35 -0400 Original-Received: from mail.gmx.net ([213.165.64.20]) by monty-python.gnu.org with smtp (Exim 4.60) (envelope-from ) id 1JoGV8-0002hp-ES for emacs-pretest-bug@gnu.org; Tue, 22 Apr 2008 07:17:30 -0400 Original-Received: (qmail invoked by alias); 22 Apr 2008 11:17:28 -0000 Original-Received: from p54864028.dip.t-dialin.net (EHLO debian) [84.134.64.40] by mail.gmx.net (mp021) with SMTP; 22 Apr 2008 13:17:28 +0200 X-Authenticated: #28250155 X-Provags-ID: V01U2FsdGVkX1+8oCBux1e8AIc6eJn5XvjCYY5BylbFwFKlS1qPsd WRqP5yYxX2nRtO User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.60 (gnu/linux) X-Y-GMX-Trusted: 0 X-detected-kernel: by monty-python.gnu.org: Linux 2.6 (newer, 1) X-detected-kernel: by monty-python.gnu.org: 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:95757 gmane.emacs.pretest.bugs:22108 Archived-At: In Emacs 22, M-x occur uses the previous regexp as default when invoked a second time, so you could just press RET to look for it again. Now you have to use M-p to receive the previous regexp, if you forget that Emacs hangs and uses 100% CPU (interruptible with C-g, backtrace follows): ,---- | Debugger entered--Lisp error: (quit) | string-match("" #("To: emacs-pretest-bug@gnu.org" 0 2 (fontified t face message-header-name auto-composed t) 2 3 (fontified t face message-header-name auto-composed t) 3 4 (fontified t auto-composed t) 4 29 (fontified t face message-header-to auto-composed t)) 0) | occur-engine("" (#) # 0 t underline nil match t) | occur-1("" nil (#)) | occur("" nil) | call-interactively(occur nil nil) `---- FWIW, Emacs 22 directly signals an error if you supply an empty string in M-x occur. In GNU Emacs 23.0.60.1 (i486-pc-linux-gnu, GTK+ Version 2.12.9) of 2008-04-18 on debian, modified by Debian (emacs-snapshot package, version 1:20080416-3) Windowing system distributor `The X.Org Foundation', version 11.0.10300000 configured using `configure '--build' 'i486-linux-gnu' '--host' 'i486-linux-gnu' '--prefix=/usr' '--sharedstatedir=/var/lib' '--libexecdir=/usr/lib' '--localstatedir=/var' '--infodir=/usr/share/info' '--mandir=/usr/share/man' '--with-pop=yes' '--enable-locallisppath=/etc/emacs-snapshot:/etc/emacs:/usr/local/share/emacs/23.0.60/site-lisp:/usr/local/share/emacs/site-lisp:/usr/share/emacs/23.0.60/site-lisp:/usr/share/emacs/site-lisp' '--with-x=yes' '--with-x-toolkit=gtk' '--disable-font-backend' 'build_alias=i486-linux-gnu' 'host_alias=i486-linux-gnu' 'CFLAGS=-DDEBIAN -DSITELOAD_PURESIZE_EXTRA=5000 -g -O2'' Important settings: value of $LC_ALL: nil value of $LC_COLLATE: C value of $LC_CTYPE: nil value of $LC_MESSAGES: nil value of $LC_MONETARY: nil value of $LC_NUMERIC: nil value of $LC_TIME: nil value of $LANG: de_DE.UTF-8 value of $XMODIFIERS: nil locale-coding-system: utf-8-unix default-enable-multibyte-characters: t Major mode: Log-View Minor modes in effect: shell-dirtrack-mode: t display-time-mode: t auto-image-file-mode: t show-paren-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-compression-mode: t temp-buffer-resize-mode: t column-number-mode: t line-number-mode: t transient-mark-mode: t Recent input: SPC SPC SPC SPC SPC SPC SPC SPC SPC C-c C-c o C-z C-c o C-x 1 C-x C-s C-c C-x f i s o l 1 - u C-x C-s C-x C-j g y C-x k C e l o a p r 0 8 C-x d / u s r l o c s r t r e l i s C-s o c c u r r C-c o o c c u r C-c l o c c u r C-h k C-c o C-x o C-x 1 C-x C-j C-c l C-x b q C-x 4 n C-c C-b C-x C-b C-x o d d x g C-x 1 C-x v l C-s o c c u r C-s C-s C-s C-s C-s C-s C-s C-s C-s C-s C-s C-s C-s C-s C-s C-s C-x 1 C-g M-x r e p o r t - e m b Recent messages: Copy: 1 file Mark saved where search started Mark set Searched 1 buffer; no matches for `occur' Type C-x 4 o RET to restore the other window, C-M-v to scroll help. mouse-2, RET: find function's definition Loading vc-cvs...done Mark saved where search started Quit Making completion list... [2 times]