GNU bug report logs - #4341
23.1; M-x locate runs synchronously

Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.

Package: emacs; Severity: wishlist; Reported by: Tom Tromey <tromey@HIDDEN>; dated Fri, 4 Sep 2009 19:20:04 UTC; Maintainer for emacs is bug-gnu-emacs@HIDDEN.
Severity set to 'wishlist' from 'normal' Request was from Juanma Barranquero <lekktu@HIDDEN> to control@HIDDEN. Full text available.

Message received at 4341@HIDDEN:


Received: (at 4341) by emacsbugs.donarmstrong.com; 10 Sep 2009 01:57:22 +0000
From juri@HIDDEN Wed Sep  9 18:57:22 2009
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.7 required=4.0 tests=AWL,HAS_BUG_NUMBER
	autolearn=ham version=3.2.5-bugs.debian.org_2005_01_02
Received: from mx1.starman.ee (smtp-out1.starman.ee [85.253.0.3])
	by rzlab.ucr.edu (8.14.3/8.14.3/Debian-5) with ESMTP id n8A1vLEo029104
	for <4341@HIDDEN>; Wed, 9 Sep 2009 18:57:22 -0700
X-Virus-Scanned: by Amavisd-New at mx1.starman.ee
Received: from mail.starman.ee (82.131.30.70.cable.starman.ee [82.131.30.70])
	by mx1.starman.ee (Postfix) with ESMTP id 062FC3F436B;
	Thu, 10 Sep 2009 04:57:14 +0300 (EEST)
From: Juri Linkov <juri@HIDDEN>
To: Tom Tromey <tromey@HIDDEN>
Cc: 4341 <at> debbugs.gnu.org
Subject: Re: bug#4341: 23.1; M-x locate runs synchronously
Organization: JURTA
References: <m3y6oua5cp.fsf@HIDDEN>
Date: Thu, 10 Sep 2009 04:17:14 +0300
In-Reply-To: <m3y6oua5cp.fsf@HIDDEN> (Tom Tromey's message of "Fri,
	04 Sep 2009 13:15:50 -0600")
Message-ID: <87y6onr35h.fsf@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1.50 (x86_64-pc-linux-gnu)
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii

> Today I ran M-x locate.
> This took a little while -- long enough to bother me that Emacs was
> locked up for the entire time it was running.
>
> I think it would be preferable to run locate in asynchronously.

This would be possible when `locate' were more similar to `find-dired'.
I don't mean its output should be formatted as files in dired.
For that we could create a new command like `locate-dired'.
But maybe internals of `find-dired' should be generalized to
accept arbitrary commands.  This would allow implementing
`locate-dired', `rgrep-dired', `lgrep-dired', i.e. any command
that searches files with their output formatted for dired
like `find-name-dired', `find-grep-dired' and `find-dired'.

-- 
Juri Linkov
http://www.jurta.org/emacs/



Acknowledgement sent to Juri Linkov <juri@HIDDEN>:
Extra info received and forwarded to list. Copy sent to Emacs Bugs <bug-gnu-emacs@HIDDEN>. Full text available.
Information forwarded to bug-submit-list@HIDDEN, Emacs Bugs <bug-gnu-emacs@HIDDEN>:
bug#4341; Package emacs. Full text available.

Message received at submit@HIDDEN:


Received: (at submit) by emacsbugs.donarmstrong.com; 4 Sep 2009 19:16:02 +0000
From tromey@HIDDEN Fri Sep  4 12:16:01 2009
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=AWL,FOURLA autolearn=no
	version=3.2.5-bugs.debian.org_2005_01_02
Received: from lists.gnu.org (lists.gnu.org [199.232.76.165])
	by rzlab.ucr.edu (8.14.3/8.14.3/Debian-5) with ESMTP id n84JG0UE014072
	for <submit@HIDDEN>; Fri, 4 Sep 2009 12:16:01 -0700
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43)
	id 1MjeGN-0003aU-Ph
	for bug-gnu-emacs@HIDDEN; Fri, 04 Sep 2009 15:15:59 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43)
	id 1MjeGJ-0003Yd-4c
	for bug-gnu-emacs@HIDDEN; Fri, 04 Sep 2009 15:15:59 -0400
Received: from [199.232.76.173] (port=57525 helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43)
	id 1MjeGI-0003YW-Vy
	for bug-gnu-emacs@HIDDEN; Fri, 04 Sep 2009 15:15:55 -0400
Received: from mx1.redhat.com ([209.132.183.28]:23345)
	by monty-python.gnu.org with esmtp (Exim 4.60)
	(envelope-from <tromey@HIDDEN>)
	id 1MjeGI-00047m-FH
	for bug-gnu-emacs@HIDDEN; Fri, 04 Sep 2009 15:15:54 -0400
Received: from int-mx08.intmail.prod.int.phx2.redhat.com (int-mx08.intmail.prod.int.phx2.redhat.com [10.5.11.21])
	by mx1.redhat.com (8.13.8/8.13.8) with ESMTP id n84JFrWJ027932
	for <bug-gnu-emacs@HIDDEN>; Fri, 4 Sep 2009 15:15:53 -0400
Received: from ns3.rdu.redhat.com (ns3.rdu.redhat.com [10.11.255.199])
	by int-mx08.intmail.prod.int.phx2.redhat.com (8.13.8/8.13.8) with ESMTP id n84JFquY003466;
	Fri, 4 Sep 2009 15:15:52 -0400
Received: from opsy.redhat.com (ovpn01.gateway.prod.ext.phx2.redhat.com [10.5.9.1])
	by ns3.rdu.redhat.com (8.13.8/8.13.8) with ESMTP id n84JFpIj018488;
	Fri, 4 Sep 2009 15:15:51 -0400
Received: by opsy.redhat.com (Postfix, from userid 500)
	id DD4963782A2; Fri,  4 Sep 2009 13:15:50 -0600 (MDT)
From: Tom Tromey <tromey@HIDDEN>
To: bug-gnu-emacs@HIDDEN
Subject: 23.1; M-x locate runs synchronously
Reply-To: Tom Tromey <tromey@HIDDEN>
X-Attribution: Tom
Date: Fri, 04 Sep 2009 13:15:50 -0600
Message-ID: <m3y6oua5cp.fsf@HIDDEN>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
X-Scanned-By: MIMEDefang 2.67 on 10.5.11.21
X-detected-operating-system: by monty-python.gnu.org: Genre and OS details not recognized.


Please write in English if possible, because the Emacs maintainers
usually do not have translators to read other languages for them.

Your bug report will be posted to the bug-gnu-emacs@HIDDEN mailing list,
and to the gnu.emacs.bug news group.

Please describe exactly what actions triggered the bug
and the precise symptoms of the bug:


Today I ran M-x locate.
This took a little while -- long enough to bother me that Emacs was
locked up for the entire time it was running.

I think it would be preferable to run locate in asynchronously.



If Emacs crashed, and you have the Emacs process in the gdb debugger,
please include the output from the following gdb commands:
    `bt full' and `xbacktrace'.
If you would like to further debug the crash, please read the file
/usr/share/emacs/23.1/etc/DEBUG for instructions.


In GNU Emacs 23.1.1 (i386-redhat-linux-gnu, GTK+ Version 2.16.5)
 of 2009-08-24 on x86-2.fedora.phx.redhat.com
Windowing system distributor `The X.Org Foundation', version 11.0.10601901
configured using `configure  '--build=i386-redhat-linux-gnu' '--host=i386-redhat-linux-gnu' '--target=i586-redhat-linux-gnu' '--program-prefix=' '--prefix=/usr' '--exec-prefix=/usr' '--bindir=/usr/bin' '--sbindir=/usr/sbin' '--sysconfdir=/etc' '--datadir=/usr/share' '--includedir=/usr/include' '--libdir=/usr/lib' '--libexecdir=/usr/libexec' '--localstatedir=/var' '--sharedstatedir=/var/lib' '--mandir=/usr/share/man' '--infodir=/usr/share/info' '--with-dbus' '--with-gif' '--with-jpeg' '--with-png' '--with-rsvg' '--with-tiff' '--with-xft' '--with-xpm' '--with-x-toolkit=gtk' 'build_alias=i386-redhat-linux-gnu' 'host_alias=i386-redhat-linux-gnu' 'target_alias=i586-redhat-linux-gnu' 'CFLAGS=-DMAIL_USE_LOCKF -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m32 -march=i586 -mtune=generic -fasynchronous-unwind-tables''

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: en_US.UTF-8
  value of $XMODIFIERS: nil
  locale-coding-system: utf-8-unix
  default-enable-multibyte-characters: t

Major mode: Texinfo

Minor modes in effect:
  shell-dirtrack-mode: t
  diff-auto-refine-mode: t
  auto-fill-function: do-auto-fill
  erc-list-mode: t
  erc-menu-mode: t
  erc-autojoin-mode: t
  erc-ring-mode: t
  erc-pcomplete-mode: t
  erc-track-mode: t
  erc-track-minor-mode: t
  erc-match-mode: t
  erc-button-mode: t
  erc-fill-mode: t
  erc-stamp-mode: t
  erc-netsplit-mode: t
  erc-spelling-mode: t
  erc-truncate-mode: t
  flyspell-mode: t
  erc-status-mode: t
  erc-services-mode: t
  erc-networks-mode: t
  erc-irccontrols-mode: t
  erc-noncommands-mode: t
  erc-move-to-prompt-mode: t
  erc-readonly-mode: t
  tooltip-mode: t
  mouse-wheel-mode: t
  file-name-shadow-mode: t
  global-font-lock-mode: t
  font-lock-mode: t
  global-auto-composition-mode: t
  auto-composition-mode: t
  auto-encryption-mode: t
  auto-compression-mode: t
  line-number-mode: t
  transient-mark-mode: t

Recent input:
<switch-frame> <down-mouse-1> <mouse-movement> <mouse-movement> 
<drag-mouse-1> <down-mouse-1> <mouse-1> C-x C-e C-a 
C-x b SPC * h t <tab> <tab> <tab> < <tab> <return> 
M-v M-v C-z o C-x b C-g <switch-frame> <next> <next> 
<prior> C-x k <return> C-x b SPC * h t <tab> <return> 
C-x k <return> <f10> M-v C-l C-u C-n C-u C-n C-l C-n 
C-n C-l M-> p m <tab> y e a h , SPC e x c e p t SPC 
o f t e n y o u <backspace> <backspace> SPC <backspace> 
<backspace> SPC y o u SPC w a n SPC t C-t t o SPC g 
o SPC d e b u g SPC <M-backspace> <M-backspace> s e 
t SPC a SPC b r e a k p o i n t SPC a n d SPC d e b 
u g SPC a n SPC e x p l i c i t SPC c a l l . SPC SPC 
a n SPC o p t i o n SPC m i g h t SPC b e SPC n i c 
e , SPC I SPC d u n n o . <backspace> <return> <f10> 
<f10> <f10> <f10> <f10> <f10> <f10> M-x e m m s - p 
a u s e <return> C-z o C-z o <f10> C-c b C-z o C-a 
<switch-frame> <switch-frame> <switch-frame> <f10> 
<f10> <f10> <f10> <f10> <switch-frame> <switch-frame> 
M-x l o c a t e <return> g n u - s C-t m l . e l <return> 
C-f C-z o C-z o C-z o C-h f l o c a t e <return> C-x 
o C-x 1 C-c b M-x s <backspace> e m a c s - <M-backspace> 
r e p r <backspace> o r t - e m <tab> b <tab> <ret
urn>

Recent messages:
Contacting host: localhost:3128
Reading [text/html]... 1k of 1k (101%)
Reading... done.
#<buffer  *http localhost:3128*<2>>
Making completion list...
call-interactively: Beginning of buffer
Quit
call-interactively: End of buffer
Mark set
Type C-x 1 to delete the help window, C-M-v to scroll help.

Tom




Acknowledgement sent to Tom Tromey <tromey@HIDDEN>:
New bug report received and forwarded. Copy sent to Emacs Bugs <bug-gnu-emacs@HIDDEN>. Full text available.
Report forwarded to bug-submit-list@HIDDEN, Emacs Bugs <bug-gnu-emacs@HIDDEN>:
bug#4341; Package emacs. Full text available.
Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.
Last modified: Fri, 31 Oct 2014 17:00:04 UTC

GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997 nCipher Corporation Ltd, 1994-97 Ian Jackson.