From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Tassilo Horn Newsgroups: gmane.emacs.help Subject: Re: possible `with-current-buffer' bug Date: Mon, 07 Feb 2011 10:43:00 +0100 Message-ID: <87y65s6uzf.fsf@member.fsf.org> References: <87mxm9rnbw.fsf@escher.home> <87oc6onsic.fsf@member.fsf.org> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: dough.gmane.org 1298104401 19227 80.91.229.12 (19 Feb 2011 08:33:21 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Sat, 19 Feb 2011 08:33:21 +0000 (UTC) Cc: help-gnu-emacs@gnu.org To: Le Wang Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Mon Feb 07 10:44:15 2011 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1PmNdk-0002V0-UI for geh-help-gnu-emacs@m.gmane.org; Mon, 07 Feb 2011 10:44:13 +0100 Original-Received: from localhost ([127.0.0.1]:49626 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PmNdk-0004XA-Ey for geh-help-gnu-emacs@m.gmane.org; Mon, 07 Feb 2011 04:44:12 -0500 Original-Received: from [140.186.70.92] (port=42164 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PmNcl-0004Qt-Cn for help-gnu-emacs@gnu.org; Mon, 07 Feb 2011 04:43:12 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1PmNcd-0002oc-2O for help-gnu-emacs@gnu.org; Mon, 07 Feb 2011 04:43:04 -0500 Original-Received: from deliver.uni-koblenz.de ([141.26.64.15]:10472) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1PmNcc-0002oW-QO for help-gnu-emacs@gnu.org; Mon, 07 Feb 2011 04:43:03 -0500 Original-Received: from localhost (localhost [127.0.0.1]) by deliver.uni-koblenz.de (Postfix) with ESMTP id D57F17814DAE; Mon, 7 Feb 2011 10:43:01 +0100 (CET) Original-Received: from deliver.uni-koblenz.de ([127.0.0.1]) by localhost (deliver.uni-koblenz.de [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 25128-06; Mon, 7 Feb 2011 10:43:01 +0100 (CET) X-CHKRCPT: Envelopesender noch tassilo@member.fsf.org Original-Received: from thinkpad (tsdh.uni-koblenz.de [141.26.67.142]) by deliver.uni-koblenz.de (Postfix) with ESMTP id 145867814DB0; Mon, 7 Feb 2011 10:43:01 +0100 (CET) In-Reply-To: (Le Wang's message of "Mon, 7 Feb 2011 17:23:09 +0800") User-Agent: Gnus/5.110011 (No Gnus v0.11) Emacs/24.0.50 (gnu/linux) X-Virus-Scanned: amavisd-new at uni-koblenz.de X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6, seldom 2.4 (older, 4) X-Received-From: 141.26.64.15 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:79211 Archived-At: Le Wang writes: > It lets you grep through a list of files. Files may contain space in > their names. The most important thing is concatenated length of the > file names is not a restricting factor. i.e. grep unlimited number of > files. If `rgrep' and friends don't allow whitespaces in filenames and hit the command line limit much earlier than your version, I'd consider it a bug that should be reported using M-x report-emacs-bug. But since `rgrep' uses `find' (or, on Windows, the find emulation of dired) in conjunction with -print0, it shouldn't suffer problems with filenames with spaces or maximum length of command lines... > I'm not sure what the command line length limit is for other OS, but > on Vista, it's pretty short. On my Gentoo/GNU Linux box, it is... --8<---------------cut here---------------start------------->8--- % getconf ARG_MAX 2097152 --8<---------------cut here---------------end--------------->8--- Bye, Tassilo