all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Stefan Monnier <monnier@iro.umontreal.ca>
Cc: emacs-devel@gnu.org
Subject: Re: preferred vs. running browser
Date: Wed, 26 Apr 2006 01:00:45 -0400	[thread overview]
Message-ID: <87y7xt9bny.fsf-monnier+emacs@gnu.org> (raw)
In-Reply-To: <E1FYVdr-0004mA-3l@fencepost.gnu.org> (Richard Stallman's message of "Tue, 25 Apr 2006 18:04:19 -0400")

>> 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

  parent reply	other threads:[~2006-04-26  5:00 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-04-23  4:36 preferred vs. running browser Werner LEMBERG
2006-04-23 14:36 ` Sascha Wilde
2006-04-23 21:58 ` Richard Stallman
2006-04-24  4:51   ` Werner LEMBERG
2006-04-25 22:04     ` Richard Stallman
2006-04-25 22:12       ` Lennart Borgman
2006-04-26  5:00       ` Stefan Monnier [this message]
2006-04-25 11:31 ` Tomas Zerolo
2006-04-25 19:29   ` Werner LEMBERG
2006-04-25 20:46     ` Reiner Steib
2006-04-25 22:05   ` Richard Stallman
2006-04-28  5:01     ` Tomas Zerolo
2006-04-28 15:45       ` Richard Stallman

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87y7xt9bny.fsf-monnier+emacs@gnu.org \
    --to=monnier@iro.umontreal.ca \
    --cc=emacs-devel@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.