From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.help Subject: Re: Emacs and Everything (~ locate) on Windows 8 Date: Thu, 17 Jan 2013 18:28:59 +0200 Message-ID: <83622v93jo.fsf@gnu.org> References: <86pq14gefo.fsf@somewhere.org> <86ehhkgc4o.fsf@somewhere.org> NNTP-Posting-Host: plane.gmane.org X-Trace: ger.gmane.org 1358440173 9419 80.91.229.3 (17 Jan 2013 16:29:33 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 17 Jan 2013 16:29:33 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Thu Jan 17 17:29:51 2013 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1TvsLa-00020m-Rv for geh-help-gnu-emacs@m.gmane.org; Thu, 17 Jan 2013 17:29:46 +0100 Original-Received: from localhost ([::1]:34708 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TvsLK-0006Oa-9e for geh-help-gnu-emacs@m.gmane.org; Thu, 17 Jan 2013 11:29:30 -0500 Original-Received: from eggs.gnu.org ([208.118.235.92]:45674) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TvsL9-0006Me-NW for help-gnu-emacs@gnu.org; Thu, 17 Jan 2013 11:29:24 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TvsL4-0008CT-L6 for help-gnu-emacs@gnu.org; Thu, 17 Jan 2013 11:29:19 -0500 Original-Received: from mtaout23.012.net.il ([80.179.55.175]:40734) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TvsL4-0008BN-6u for help-gnu-emacs@gnu.org; Thu, 17 Jan 2013 11:29:14 -0500 Original-Received: from conversion-daemon.a-mtaout23.012.net.il by a-mtaout23.012.net.il (HyperSendmail v2007.08) id <0MGS00B002ZOIJ00@a-mtaout23.012.net.il> for help-gnu-emacs@gnu.org; Thu, 17 Jan 2013 18:28:55 +0200 (IST) Original-Received: from HOME-C4E4A596F7 ([87.69.4.28]) by a-mtaout23.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0MGS00BUW3469YB0@a-mtaout23.012.net.il> for help-gnu-emacs@gnu.org; Thu, 17 Jan 2013 18:28:55 +0200 (IST) In-reply-to: <86ehhkgc4o.fsf@somewhere.org> X-012-Sender: halo1@inter.net.il X-detected-operating-system: by eggs.gnu.org: Solaris 10 X-Received-From: 80.179.55.175 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:88677 Archived-At: > From: "Sebastien Vauban" > Date: Thu, 17 Jan 2013 14:41:43 +0100 > > Another tool such as locate could certainly work, though it's not > straightforward to set up under Cygwin There is a native Windows port here: http://sourceforge.net/projects/ezwinports/files/findutils-4.2.30-4-w32-bin.zip/download although I never tried this on Windows 8, so caveat emptor. I do use this on Windows 7, and there are even 64-bit (as well as 32-bit) binaries in the pack, which should be significantly faster on a 64-bit OS. > and locate's contents is only updated every once in a while. You could set up a scheduled task that will run every hour, if you really need the DB to be so up-to-date. (I have such a task run once a week, and I never had any problems with files I couldn't find.) > Everything, on the other hand, is always fully up-to-date. You move a file, it > already knows about that. Very practical. If this is more important to you than get rid of the UAC prompts, then you are already set up. In any case, the list of measures I know of that might help you not to get into trouble with UAC is: . Never run "as administrator", except for very rare and specific jobs. Windows treats such users inherently dangerous and will pop up UAC prompts where it doesn't for other users. . If you possibly can, don't use a user who is "local admin"; instead, use a "normal" user and grant that user all the necessary privileges via the Local Security Policy. . Take ownership on the entire hierarchy under C:\Users\YOUR-USERNAME; that will fix the ownership problems that Emacs might not like, because it doesn't always know that ownership by "Administrators" group is OK when the user FOO is a local admin. . Take ownership on any directory tree where you happen to work a lot, if that tree is not owned by you. . If you must run programs that write into C:\Program Files, take ownership on that directory and its subdirectories as well. . Some utilities might need a manifest where you tell Windows to run them at "asInvoker" level, to avoid the UAC prompts, because Windows in its infinite wisdom considers certain program names and even certain symbols inside them as evidence that the program might be "dangerous". One example is the GNU Patch utility, but the exact rules by which Windows decides whether a program belongs to the dangerous lot are unpublished, so any program which pops up the UAC prompts should have a manifest created for it, before you conclude that it's something in the program's code that triggers that. Not sure this will help you; I don't use Everything. You may wish to try Findutils anyway before you embark on the above adventure, who knows, you might even like it.