From: ken <gebser@speakeasy.net>
Subject: Re: Refreshing Firefox window from within Emacs?
Date: Mon, 9 Jan 2006 10:32:49 -0500 [thread overview]
Message-ID: <20060109103249.3dce6d19@dellap.mousecar.net> (raw)
In-Reply-To: <ihq8xtvmv16.fsf@hip389.ch.intel.com>
On 04 Jan 2006 16:29:41 -0700 Edward Dodge <user@foo.bar> wrote:
> batkins57@gmail.com writes:
>
> If the "code" you are speaking of is actually .html, you can simply
> bind the following function to a handy key-combination:
>
> browse-url-of-file
>
> Also, you may have to set your default browser for the
> "browse-url..." commands to Firefox in your .emacs.
Thanks for the hint. The dunces among us (e.g., see Sender field) need
more. It seems that, with my emacs setup anyway, if you're not using
netscape, it's necessary to Customize the "Browse Url Browser Function"
variable. I already found out that the CLI command to open a URL in
Firefox is
mozilla -a firefox -remote 'openURL(http://www.domain.tld/file.html)'
So a couple brain cells are telling me to do this into Customize:
mozilla -a firefox -remote'openURL(buffer-file-name)'
But unless this function is smarter than I think I am, I doubt this is
going to work... because buffer-file-name returns the name of a file
while the "mozilla -a firefox..." command calls for a URL.
In fact, I just tried to save the customization and got an error:
"Invalid function: mozilla".
Any help appreciated.
--
"It is not knowable how long that conflict would last, it could last,
you know, six days, six weeks. I doubt six months."
--Secretary of Defense Donald Rumsfeld, 2/7/03
next prev parent reply other threads:[~2006-01-09 15:32 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-12-31 19:54 Refreshing Firefox window from within Emacs? batkins57
2005-12-31 22:51 ` Thorsten Bonow
2006-01-01 11:56 ` Lennart Borgman
2006-01-04 11:30 ` ken
2006-01-04 23:29 ` Edward Dodge
2006-01-09 15:32 ` ken [this message]
2006-01-14 15:18 ` ken
2006-01-16 17:26 ` Kevin Rodgers
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
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20060109103249.3dce6d19@dellap.mousecar.net \
--to=gebser@speakeasy.net \
/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.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).