From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Richard M Stallman Newsgroups: gmane.emacs.devel Subject: Re: embedding gtk widgets in a buffer Date: Sat, 10 May 2008 04:55:08 -0400 Message-ID: References: Reply-To: rms@gnu.org NNTP-Posting-Host: lo.gmane.org Content-Type: text/plain; charset=ISO-8859-15 X-Trace: ger.gmane.org 1210410096 14961 80.91.229.12 (10 May 2008 09:01:36 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 10 May 2008 09:01:36 +0000 (UTC) Cc: emacs-devel@gnu.org To: joakim@verona.se Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sat May 10 11:02:10 2008 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1Jukxe-0008PW-Qd for ged-emacs-devel@m.gmane.org; Sat, 10 May 2008 11:01:47 +0200 Original-Received: from localhost ([127.0.0.1]:32782 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Jukww-0003O1-3t for ged-emacs-devel@m.gmane.org; Sat, 10 May 2008 05:01:02 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Juks5-0007HQ-Lf for emacs-devel@gnu.org; Sat, 10 May 2008 04:56:01 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Juks3-0007FI-0N for emacs-devel@gnu.org; Sat, 10 May 2008 04:56:00 -0400 Original-Received: from [199.232.76.173] (port=48248 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Juks1-0007Eu-Su for emacs-devel@gnu.org; Sat, 10 May 2008 04:55:58 -0400 Original-Received: from fencepost.gnu.org ([140.186.70.10]:34296) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1Juks1-0002vF-FY for emacs-devel@gnu.org; Sat, 10 May 2008 04:55:57 -0400 Original-Received: from rms by fencepost.gnu.org with local (Exim 4.67) (envelope-from ) id 1JukrE-00037T-PT; Sat, 10 May 2008 04:55:08 -0400 In-reply-to: (joakim@verona.se) X-detected-kernel: by monty-python.gnu.org: Linux 2.6, seldom 2.4 (older, 4) 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:96921 Archived-At: > The natural way is for this to generate events, and when those events > reach the main loop, they will do whatever it is. Ok, I will look into this. does "whatever it is" include calling a callback I associate with the widget? It means anything you want to do. Ok. I was thinking more along having the generic callback interface solve this too, and also that Id like to create the process in lisp, so I could bind a sentinel to it, and send commands to it through stdio, etc. You can't call general Lisp code from a GTK callback. Please design a way to implement the features you want without running any Lisp code.