* embedding Mozilla in GNU Emacs via GTK? @ 2005-03-04 20:15 Ted Zlatanov 2005-03-05 11:09 ` Eli Zaretskii ` (2 more replies) 0 siblings, 3 replies; 17+ messages in thread From: Ted Zlatanov @ 2005-03-04 20:15 UTC (permalink / raw) I am curious if there's a chance GNU Emacs will ever have an embedded web browser object through the Mozilla GTK support: top-level docs: http://www.mozilla.org/unix/gtk-embedding.html specific embedding example: http://lxr.mozilla.org/seamonkey/source/embedding/browser/gtk/tests/TestGtkEmbed.cpp I know about W3, w3m, and so on. The question is specifically about Mozilla. If this can be done with little effort, as the embedding docs referenced above suggest, I think the Emacs users would gain from it. I can't suggest all the possible uses (although previewing HTML as Mozilla would see it is certainly one of them), but I think this is a feature that could engender many new uses of Emacs and make many existing packages more functional. Thanks Ted ^ permalink raw reply [flat|nested] 17+ messages in thread
* Re: embedding Mozilla in GNU Emacs via GTK? 2005-03-04 20:15 embedding Mozilla in GNU Emacs via GTK? Ted Zlatanov @ 2005-03-05 11:09 ` Eli Zaretskii 2005-03-05 12:44 ` Jan D. 2005-03-05 16:59 ` Richard Stallman 2005-03-06 0:41 ` Richard Stallman 2 siblings, 1 reply; 17+ messages in thread From: Eli Zaretskii @ 2005-03-05 11:09 UTC (permalink / raw) Cc: emacs-devel > From: Ted Zlatanov <tzz@lifelogs.com> > Date: Fri, 04 Mar 2005 15:15:27 -0500 > > I am curious if there's a chance GNU Emacs will ever have an embedded > web browser object through the Mozilla GTK support: IIRC, this has come up before. If memory serves, the main problem was how to reconcile the Mozilla/GTK display functions with Emacs display engine principle of operation. Perhaps the situation has changed since then, though. ^ permalink raw reply [flat|nested] 17+ messages in thread
* Re: embedding Mozilla in GNU Emacs via GTK? 2005-03-05 11:09 ` Eli Zaretskii @ 2005-03-05 12:44 ` Jan D. 2005-03-05 14:01 ` David Kastrup 0 siblings, 1 reply; 17+ messages in thread From: Jan D. @ 2005-03-05 12:44 UTC (permalink / raw) >> From: Ted Zlatanov <tzz@lifelogs.com> >> Date: Fri, 04 Mar 2005 15:15:27 -0500 >> >> I am curious if there's a chance GNU Emacs will ever have an embedded >> web browser object through the Mozilla GTK support: > > IIRC, this has come up before. If memory serves, the main problem was > how to reconcile the Mozilla/GTK display functions with Emacs display > engine principle of operation. Perhaps the situation has changed > since then, though. I don't know the details about the display engine. I imagine that is no problem as long as the GTK event loop is run properly. Mozilla should handle its redisplay by function callbacks for expose events and the like. But as long Emacs runs the X (or rather GTK) event handling in a signal handler, this will be hard to make work correctly, because the mozilla code may do just about anything. It is possible it will work for most cases though. Jan D. ^ permalink raw reply [flat|nested] 17+ messages in thread
* Re: embedding Mozilla in GNU Emacs via GTK? 2005-03-05 12:44 ` Jan D. @ 2005-03-05 14:01 ` David Kastrup 0 siblings, 0 replies; 17+ messages in thread From: David Kastrup @ 2005-03-05 14:01 UTC (permalink / raw) Cc: Ted Zlatanov, Emacs Devel "Jan D." <jan.h.d@swipnet.se> writes: >>> From: Ted Zlatanov <tzz@lifelogs.com> >>> Date: Fri, 04 Mar 2005 15:15:27 -0500 >>> >>> I am curious if there's a chance GNU Emacs will ever have an embedded >>> web browser object through the Mozilla GTK support: >> >> IIRC, this has come up before. If memory serves, the main problem was >> how to reconcile the Mozilla/GTK display functions with Emacs display >> engine principle of operation. Perhaps the situation has changed >> since then, though. > > I don't know the details about the display engine. I imagine that > is no problem as long as the GTK event loop is run properly. > Mozilla should handle its redisplay by function callbacks for expose > events and the like. But as long Emacs runs the X (or rather GTK) > event handling in a signal handler, this will be hard to make work > correctly, because the mozilla code may do just about anything. It > is possible it will work for most cases though. Before we do any such inclusion, we need to do a sane image support. For example, PNG provides functions to provide RGB information in 24bit or 32bit format, one color per pixel, with gamma correction applied using efficient lookup routines, in several byte orders. Now suppose that we have a true color visual displaying exactly that (practically all displays can support this sort of image type). What happens? PNG converts the image without getting the screen-gamma informationinto 16bit per pixel format. Then a look goes over all pixels and calls _two_ nested functions to convert _every_ _single_ pixel. If a gamma correction is to be applied, "pow" is called _three_ times per pixel. This is plainly insane. Our per-display data structures need to get a list of visuals (probably picking through the visuals until an optimal set for image operations has been gathered), and then the image reading routines (in particular where the png and jpeg libraries offer this functionality) need to get told the gamma correction factor, and then they read the stuff in in the _correct_ format and pass it directly to the X server. Scrolling through an image-infested buffer is still quite slow at the moment, and particularly so if gamma correction gets applied. This is entirely uncalled for. We _need_ to get this straightened out _completely_ before even _thinking_ of embedding any content that can change dynamically. The data structures need to go into the per-visual information, and the library must be allowed to generate 32-bit RGB _directly_ where the display permits this, instead of 48-bit RGB which then slowly gets converted one pixel at a time. -- David Kastrup, Kriemhildstr. 15, 44793 Bochum ^ permalink raw reply [flat|nested] 17+ messages in thread
* Re: embedding Mozilla in GNU Emacs via GTK? 2005-03-04 20:15 embedding Mozilla in GNU Emacs via GTK? Ted Zlatanov 2005-03-05 11:09 ` Eli Zaretskii @ 2005-03-05 16:59 ` Richard Stallman 2005-03-06 0:41 ` Richard Stallman 2 siblings, 0 replies; 17+ messages in thread From: Richard Stallman @ 2005-03-05 16:59 UTC (permalink / raw) Cc: emacs-devel I am curious if there's a chance GNU Emacs will ever have an embedded web browser object through the Mozilla GTK support: That sounds like an unnatural thing to do to Emacs. I will send mail to fetch the page you mentioned. ^ permalink raw reply [flat|nested] 17+ messages in thread
* Re: embedding Mozilla in GNU Emacs via GTK? 2005-03-04 20:15 embedding Mozilla in GNU Emacs via GTK? Ted Zlatanov 2005-03-05 11:09 ` Eli Zaretskii 2005-03-05 16:59 ` Richard Stallman @ 2005-03-06 0:41 ` Richard Stallman 2005-03-07 16:34 ` Ted Zlatanov 2006-05-31 18:39 ` Ted Zlatanov 2 siblings, 2 replies; 17+ messages in thread From: Richard Stallman @ 2005-03-06 0:41 UTC (permalink / raw) Cc: emacs-devel I am curious if there's a chance GNU Emacs will ever have an embedded web browser object through the Mozilla GTK support: Let's please not discuss this now. We are not working on new features now. What we want to do now is prepare for a release. ^ permalink raw reply [flat|nested] 17+ messages in thread
* Re: embedding Mozilla in GNU Emacs via GTK? 2005-03-06 0:41 ` Richard Stallman @ 2005-03-07 16:34 ` Ted Zlatanov 2006-05-31 18:39 ` Ted Zlatanov 1 sibling, 0 replies; 17+ messages in thread From: Ted Zlatanov @ 2005-03-07 16:34 UTC (permalink / raw) On Sat, 05 Mar 2005, rms@gnu.org wrote: > I am curious if there's a chance GNU Emacs will ever have an embedded > web browser object through the Mozilla GTK support: > > Let's please not discuss this now. We are not working on new features > now. What we want to do now is prepare for a release. Sorry. My intention was not to propose a new feature, but to find out if it's remotely possible to do this some day. I'll bring it up again when appropriate. Thanks Ted ^ permalink raw reply [flat|nested] 17+ messages in thread
* Re: embedding Mozilla in GNU Emacs via GTK? 2005-03-06 0:41 ` Richard Stallman 2005-03-07 16:34 ` Ted Zlatanov @ 2006-05-31 18:39 ` Ted Zlatanov 2006-05-31 19:01 ` David Kastrup ` (3 more replies) 1 sibling, 4 replies; 17+ messages in thread From: Ted Zlatanov @ 2006-05-31 18:39 UTC (permalink / raw) On 5 Mar 2005, rms@gnu.org wrote: > Ted Zlatanov wrote: > I am curious if there's a chance GNU Emacs will ever have an embedded > web browser object through the Mozilla GTK support: > > Let's please not discuss this now. We are not working on new features > now. What we want to do now is prepare for a release. Now that 22.4 is out, can we consider this or some embedded web browser GTK object? Ted ^ permalink raw reply [flat|nested] 17+ messages in thread
* Re: embedding Mozilla in GNU Emacs via GTK? 2006-05-31 18:39 ` Ted Zlatanov @ 2006-05-31 19:01 ` David Kastrup 2006-05-31 19:18 ` Chong Yidong ` (2 subsequent siblings) 3 siblings, 0 replies; 17+ messages in thread From: David Kastrup @ 2006-05-31 19:01 UTC (permalink / raw) Cc: emacs-devel Ted Zlatanov <tzz@lifelogs.com> writes: > On 5 Mar 2005, rms@gnu.org wrote: > >> Ted Zlatanov wrote: >> I am curious if there's a chance GNU Emacs will ever have an embedded >> web browser object through the Mozilla GTK support: >> >> Let's please not discuss this now. We are not working on new features >> now. What we want to do now is prepare for a release. > > Now that 22.4 is out, can we consider this or some embedded web > browser GTK object? Your calendar is either stuck on April 1st, or gone out of control in front. -- David Kastrup, Kriemhildstr. 15, 44793 Bochum ^ permalink raw reply [flat|nested] 17+ messages in thread
* Re: embedding Mozilla in GNU Emacs via GTK? 2006-05-31 18:39 ` Ted Zlatanov 2006-05-31 19:01 ` David Kastrup @ 2006-05-31 19:18 ` Chong Yidong 2006-05-31 20:10 ` Ted Zlatanov 2006-06-01 19:36 ` Richard Stallman 2006-05-31 20:01 ` Ted Zlatanov 2006-06-01 19:36 ` Richard Stallman 3 siblings, 2 replies; 17+ messages in thread From: Chong Yidong @ 2006-05-31 19:18 UTC (permalink / raw) Cc: emacs-devel Ted Zlatanov <tzz@lifelogs.com> writes: > On 5 Mar 2005, rms@gnu.org wrote: > >> Ted Zlatanov wrote: >> I am curious if there's a chance GNU Emacs will ever have an embedded >> web browser object through the Mozilla GTK support: >> >> Let's please not discuss this now. We are not working on new features >> now. What we want to do now is prepare for a release. > > Now that 22.4 is out, can we consider this or some embedded web > browser GTK object? Is this an email from the future? Could you tell us who won the US presidential elections in 2008 (or would that destroy the space-time continuum)? ^ permalink raw reply [flat|nested] 17+ messages in thread
* Re: embedding Mozilla in GNU Emacs via GTK? 2006-05-31 19:18 ` Chong Yidong @ 2006-05-31 20:10 ` Ted Zlatanov 2006-06-01 19:36 ` Richard Stallman 1 sibling, 0 replies; 17+ messages in thread From: Ted Zlatanov @ 2006-05-31 20:10 UTC (permalink / raw) On 31 May 2006, cyd@mit.edu wrote: > Ted Zlatanov <tzz@lifelogs.com> writes: >> Now that 22.4 is out, can we consider this or some embedded web >> browser GTK object? > > Is this an email from the future? Could you tell us who won the US > presidential elections in 2008 (or would that destroy the space-time > continuum)? No, it's OK. Barry Manilow won, VP is Taylor Hicks, on the "love is in the air" platform. Ruffled shirts and velvet are in style. Ted ^ permalink raw reply [flat|nested] 17+ messages in thread
* Re: embedding Mozilla in GNU Emacs via GTK? 2006-05-31 19:18 ` Chong Yidong 2006-05-31 20:10 ` Ted Zlatanov @ 2006-06-01 19:36 ` Richard Stallman 2006-06-01 20:06 ` David Kastrup 1 sibling, 1 reply; 17+ messages in thread From: Richard Stallman @ 2006-06-01 19:36 UTC (permalink / raw) Cc: tzz, emacs-devel Is this an email from the future? Could you tell us who won the US presidential elections in 2008 (or would that destroy the space-time continuum)? I don't know who will win the election, but I can tell you which party's candidate will become president. ^ permalink raw reply [flat|nested] 17+ messages in thread
* Re: embedding Mozilla in GNU Emacs via GTK? 2006-06-01 19:36 ` Richard Stallman @ 2006-06-01 20:06 ` David Kastrup 2006-06-02 8:05 ` Kaloian Doganov 2006-06-02 22:38 ` Richard Stallman 0 siblings, 2 replies; 17+ messages in thread From: David Kastrup @ 2006-06-01 20:06 UTC (permalink / raw) Cc: emacs-devel Richard Stallman <rms@gnu.org> writes: > Is this an email from the future? Could you tell us who won the > US presidential elections in 2008 (or would that destroy the > space-time continuum)? > > I don't know who will win the election, but I can tell you which > party's candidate will become president. Because it is easier for a hacker to predict voting machines rather than voters? -- David Kastrup, Kriemhildstr. 15, 44793 Bochum ^ permalink raw reply [flat|nested] 17+ messages in thread
* Re: embedding Mozilla in GNU Emacs via GTK? 2006-06-01 20:06 ` David Kastrup @ 2006-06-02 8:05 ` Kaloian Doganov 2006-06-02 22:38 ` Richard Stallman 1 sibling, 0 replies; 17+ messages in thread From: Kaloian Doganov @ 2006-06-02 8:05 UTC (permalink / raw) Cc: rms, emacs-devel > I don't know who will win the election, but I can tell you which > party's candidate will become president. Because it is easier for a hacker to predict voting machines rather than voters? Because in a modern democracy it doesn't really matter who will won the elections. The president is selected, not elected. -- "Every non-free program has a lord, a master -- and if you use the program, he is your master." --RMS ___________________________________________________________ Ако не отговарям на писмата Ви: http://6lyokavitza.org/mail ^ permalink raw reply [flat|nested] 17+ messages in thread
* Re: embedding Mozilla in GNU Emacs via GTK? 2006-06-01 20:06 ` David Kastrup 2006-06-02 8:05 ` Kaloian Doganov @ 2006-06-02 22:38 ` Richard Stallman 1 sibling, 0 replies; 17+ messages in thread From: Richard Stallman @ 2006-06-02 22:38 UTC (permalink / raw) Cc: emacs-devel Because it is easier for a hacker to predict voting machines rather than voters? Because the companies that control the voting machines are run by Republicans. ^ permalink raw reply [flat|nested] 17+ messages in thread
* Re: embedding Mozilla in GNU Emacs via GTK? 2006-05-31 18:39 ` Ted Zlatanov 2006-05-31 19:01 ` David Kastrup 2006-05-31 19:18 ` Chong Yidong @ 2006-05-31 20:01 ` Ted Zlatanov 2006-06-01 19:36 ` Richard Stallman 3 siblings, 0 replies; 17+ messages in thread From: Ted Zlatanov @ 2006-05-31 20:01 UTC (permalink / raw) On 31 May 2006, tzz@lifelogs.com wrote: On 5 Mar 2005, rms@gnu.org wrote: > Ted Zlatanov wrote: >> I am curious if there's a chance GNU Emacs will ever have an embedded >> web browser object through the Mozilla GTK support: >> >> Let's please not discuss this now. We are not working on new features >> now. What we want to do now is prepare for a release. > > Now that 22.4 is out, can we consider this or some embedded web > browser GTK object? Sorry, I sent this in error (obviously). Ted ^ permalink raw reply [flat|nested] 17+ messages in thread
* Re: embedding Mozilla in GNU Emacs via GTK? 2006-05-31 18:39 ` Ted Zlatanov ` (2 preceding siblings ...) 2006-05-31 20:01 ` Ted Zlatanov @ 2006-06-01 19:36 ` Richard Stallman 3 siblings, 0 replies; 17+ messages in thread From: Richard Stallman @ 2006-06-01 19:36 UTC (permalink / raw) Cc: emacs-devel Now that 22.4 is out, can we consider this or some embedded web browser GTK object? The release has not yet been made. Would you like to help do the tasks in FOR-RELEASE? For instance, some files in lispref/ still need to be checked a second time. You would be able to do that well. ^ permalink raw reply [flat|nested] 17+ messages in thread
end of thread, other threads:[~2006-06-02 22:38 UTC | newest] Thread overview: 17+ messages (download: mbox.gz follow: Atom feed -- links below jump to the message on this page -- 2005-03-04 20:15 embedding Mozilla in GNU Emacs via GTK? Ted Zlatanov 2005-03-05 11:09 ` Eli Zaretskii 2005-03-05 12:44 ` Jan D. 2005-03-05 14:01 ` David Kastrup 2005-03-05 16:59 ` Richard Stallman 2005-03-06 0:41 ` Richard Stallman 2005-03-07 16:34 ` Ted Zlatanov 2006-05-31 18:39 ` Ted Zlatanov 2006-05-31 19:01 ` David Kastrup 2006-05-31 19:18 ` Chong Yidong 2006-05-31 20:10 ` Ted Zlatanov 2006-06-01 19:36 ` Richard Stallman 2006-06-01 20:06 ` David Kastrup 2006-06-02 8:05 ` Kaloian Doganov 2006-06-02 22:38 ` Richard Stallman 2006-05-31 20:01 ` Ted Zlatanov 2006-06-01 19:36 ` Richard Stallman
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.