From: Mohsen BANAN <list-general@mohsen.1.banan.byname.net>
To: Tim Cross <theophilusx@gmail.com>
Cc: emacs-devel@gnu.org
Subject: Now: Emacs<->Mozilla Integration -- Was: Re: Feature change or bug - Emacs server
Date: Sun, 12 Jun 2011 21:53:50 -0700 [thread overview]
Message-ID: <yx2y616wcv5.fsf_-_@mohsen.1.banan.byname.net> (raw)
In-Reply-To: <BANLkTinbzCP4zvoNbVGQJTytq8mL2jzmNg@mail.gmail.com> (Tim Cross's message of "Mon, 13 Jun 2011 12:09:23 +1000")
>>>>> On Mon, 13 Jun 2011 12:09:23 +1000, Tim Cross <theophilusx@gmail.com> said:
Tim> For emacs to really be a good desktop environment in this age, I think it must
Tim> have the ability to provide access to rich web content - content that uses
Tim> javascript, html5 etc. It would seem there are two possible approaches to this
Tim> - do the necessary work in emacs or provide some mechanism that would allow
Tim> emacs to access and possibly manipulate data that is already partially
Tim> processed by a web browser such as firefox or chromium.
This is right on the mark.
And is consistent with what I meant earlier by
calling Emacs and Mozilla as joint sisters.
Below are my notes for add-on packages that I
include in firefox to provide some level of
integration with emacs.
The model of mozrepl is particularly promising.
http://wiki.github.com/bard/mozrepl/
Mozrepl permits considering Mozilla as an emacs coprocess.
Where emacs can execute javascript inside of
mozilla. So, all we need is a lisp interpreter
written in javascript. We can then view Mozilla as
a renderer and an extension of emacs.
I know that people have tried building a lisp
interpreter in javascript, but as far as I know
such a thing does not exist yet.
I am very interested in knowing people's thoughts
on this approach.
...Mohsen
(defun blee:blee:doc:howto:browser:config-desc ()
"
\\subsection{Browser (Mozilla/Firefox) Configuration for BLEE}
\\begin{verbatim}
CONFIGURATION
=============
Major Packages Used Are:
- httpheaders: mozmail.el plus about:config protocol ...
- firemacs: Emacs Keyboard Mapping
- mozex: Textbox editing, Source View, Send Email, Send Link (does not work)
- It's All Text: Textbox Editing
- mozmail: mozmail.el plus gnome prefered application
- mozrepl: Control the browser with javascript from inside
Live HTTP Headers
-----------------
--- View HTTP headers of a page and while browsing. (Used for Plone Reverse Engineering) ---
https://addons.mozilla.org/en-US/firefox/addon/live-http-headers/
Click -- Add to Firefox
FIREMACS Installation
---------------------
--- Emacs Key Bindings for Mozilla/Firefox ---
download firemacs
https://addons.mozilla.org/en-US/firefox/addon/4141
Click -- Add to Firefox
Click -- Install Now
Click -- Restart Firefox
After Install Verify -- Firefox/Tools/Add-Ons/Extensions/Firemacs
plugin: It's All Text -- Text Box Editor (Replaces Mozex)
----------------------------------------
https://addons.mozilla.org/en-US/firefox/addon/its-all-text/contribute/roadblock/?src=addondetail&version=1.5
Tools -> It's All Text -> Preferences
Editor=/usr/bin/emacsclient
When done with the buffer, C-X #
MOZREPL
-------
- http://wiki.github.com/bard/mozrepl/
Install the released version -- Click on Allow
In Firefox go to Tools -> MozRepl -> Activate on Startup
View Sources Editor Specification (Firefox's Own Configuration)
---------------------------------------------------------------
about:config
view_source.editor.external (toggle it -- right mouse)
view_source.editor.path (/usr/bin/emacsclient) -- leave .editor.args empty
Send Link -- For MOZMAIL -- On The Browser Side:
------------------------------------------------
On The Desktop of the target machine -- NOT REMOTELEY
Go To: Gnome (Desktop) -> System -> Preferences -> Preferred Applications == Mail Reader Custom
Command: /opt/public/osmt/bin/lcaMozillaProc.sh -p url=%s -i SendLink
Select Run in Terminal
TESTING YOUR BROWSER ENVIRONMENT:
---------------------------------
A) (FIREMACS) Emacs Key Bindings
Try C-s instead of find
B) Edit a Box
Should See The (edit) option under the box
C) View Sources
View > Page Source (make sure that (server-start) was done on emacs side)
Should Throw you in emacs
D) MozRepl
E) (MOZMAIL)
1- On The Emacs side run M-x server-start -- (server-start)
2) Get Some Sample Addresses From
http://mc-computing.com/HTML_Examples/MailTo.htm
3) Click on one of the mailto: addresses
USEFUL INFO:
http://kb.mozillazine.org/About:config_Entries
OBSOLETED - JUNKYARD - HISTORIC:
================================
Plugin: MOZEX -- OBSOLETED by it's all text
-------------------------------------------
http://mozex.mozdev.org/installation.html
## (Not Normally Used )http://mozex.mozdev.org/development.html
Under *NIX installation
Click -- here
Click -- ALLOW
Click -- Install Now
Click -- Restart Firefox
After Install Verify -- Firefox/Tools/Add-Ons/Extensions/Mozex 1.9.9
After Restart
Right Mouse Click
Mozex-Configration
Textarea
Text editor: /usr/bin/emacsclient.emacs-snapshot %t
Source
Source editor: /usr/bin/emacsclient.emacs-snapshot %t
close window
B) (MOZEX)
1- On The Emacs side run M-x server-start -- (server-start)
2- On The Browser Side -- Right Mouse Click - Mozex - View Page Source
\\end{verbatim}
"
(interactive)
)
next prev parent reply other threads:[~2011-06-13 4:53 UTC|newest]
Thread overview: 18+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-06-09 6:47 Feature change or bug - Emacs server Tim Cross
2011-06-09 7:17 ` Tassilo Horn
2011-06-09 8:13 ` chad
2011-06-09 15:21 ` Stefan Monnier
2011-06-11 2:48 ` Tim Cross
2011-06-11 10:39 ` Ted Zlatanov
2011-06-13 2:09 ` Tim Cross
2011-06-13 4:53 ` Mohsen BANAN [this message]
2011-06-13 7:37 ` Now: Emacs<->Mozilla Integration -- Was: " chad
2011-06-14 3:57 ` Tim Cross
2011-06-14 3:53 ` Tim Cross
2011-06-14 8:37 ` Daniel Colascione
2011-06-13 15:47 ` Ted Zlatanov
2011-06-14 3:42 ` Tim Cross
2011-06-14 14:53 ` Lars Magne Ingebrigtsen
2011-06-14 15:01 ` Julien Danjou
2011-06-14 17:08 ` joakim
2011-06-14 16:17 ` Ted Zlatanov
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=yx2y616wcv5.fsf_-_@mohsen.1.banan.byname.net \
--to=list-general@mohsen.1.banan.byname.net \
--cc=emacs-devel@gnu.org \
--cc=theophilusx@gmail.com \
/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.