From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.devel Subject: Re: preferred vs. running browser Date: Wed, 26 Apr 2006 01:00:45 -0400 Message-ID: <87y7xt9bny.fsf-monnier+emacs@gnu.org> References: <20060423.063614.74737467.wl@gnu.org> <20060424.065117.115919471.wl@gnu.org> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1146027707 19922 80.91.229.2 (26 Apr 2006 05:01:47 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Wed, 26 Apr 2006 05:01:47 +0000 (UTC) Cc: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed Apr 26 07:01:45 2006 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1FYc9N-0004OB-M9 for ged-emacs-devel@m.gmane.org; Wed, 26 Apr 2006 07:01:18 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1FYc9N-0004PJ-7S for ged-emacs-devel@m.gmane.org; Wed, 26 Apr 2006 01:01:17 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1FYc8y-0004ML-0y for emacs-devel@gnu.org; Wed, 26 Apr 2006 01:00:52 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1FYc8x-0004LF-4X for emacs-devel@gnu.org; Wed, 26 Apr 2006 01:00:51 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1FYc8w-0004Ko-Ls for emacs-devel@gnu.org; Wed, 26 Apr 2006 01:00:50 -0400 Original-Received: from [209.226.175.188] (helo=tomts25-srv.bellnexxia.net) by monty-python.gnu.org with esmtp (Exim 4.52) id 1FYcBU-0006gs-HH; Wed, 26 Apr 2006 01:03:28 -0400 Original-Received: from alfajor ([70.55.144.118]) by tomts25-srv.bellnexxia.net (InterMail vM.5.01.06.13 201-253-122-130-113-20050324) with ESMTP id <20060426050045.WHWF28586.tomts25-srv.bellnexxia.net@alfajor>; Wed, 26 Apr 2006 01:00:45 -0400 Original-Received: by alfajor (Postfix, from userid 1000) id 69009D7855; Wed, 26 Apr 2006 01:00:45 -0400 (EDT) Original-To: rms@gnu.org In-Reply-To: (Richard Stallman's message of "Tue, 25 Apr 2006 18:04:19 -0400") User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (gnu/linux) 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:53445 Archived-At: >> Wouldn't it be better to add some code so that a browser which >> is currently running is always tried first? > Can someone figure out how to do that? I'm not sure it's an important feature (some may even think it's a misfeature). But one way to attack it (short of looking at the list of running processes) is to look at timestamps on "witness" files: most browsers modify/create some of the user's config files at startup (and/or while running). E.g. ~/.firefox/default/*/lock or some such. I'm afraid it won't be 100% reliable, tho. Stefan