From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: Richard Stallman Newsgroups: gmane.emacs.devel Subject: Re: Drawing to cairo context from within emacs module? Date: Wed, 04 Dec 2019 23:42:55 -0500 Message-ID: References: <87eexlb1d4.fsf@randomsample> Reply-To: rms@gnu.org Content-Type: text/plain; charset=Utf-8 Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="170553"; mail-complaints-to="usenet@blaine.gmane.org" Cc: emacs-devel@gnu.org To: David Engster Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu Dec 05 05:44:01 2019 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([209.51.188.17]) by blaine.gmane.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.89) (envelope-from ) id 1icizh-000iCi-5A for ged-emacs-devel@m.gmane.org; Thu, 05 Dec 2019 05:44:01 +0100 Original-Received: from localhost ([::1]:49928 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1icizf-0001mj-Tp for ged-emacs-devel@m.gmane.org; Wed, 04 Dec 2019 23:43:59 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:46886) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iciyg-0001hy-S1 for emacs-devel@gnu.org; Wed, 04 Dec 2019 23:43:00 -0500 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:34565) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1iciyg-00017B-3y; Wed, 04 Dec 2019 23:42:58 -0500 Original-Received: from rms by fencepost.gnu.org with local (Exim 4.82) (envelope-from ) id 1iciyd-00073S-2F; Wed, 04 Dec 2019 23:42:56 -0500 In-Reply-To: <87eexlb1d4.fsf@randomsample> (message from David Engster on Tue, 03 Dec 2019 21:28:07 +0100) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.org gmane.emacs.devel:243139 Archived-At: [[[ To any NSA and FBI agents reading my email: please consider ]]] [[[ whether defending the US Constitution against all enemies, ]]] [[[ foreign or domestic, requires you to follow Snowden's example. ]]] > There's probably a million things I'm missing here, but would it be > possible to access the cairo context from within an emacs module, so > that one could simply draw stuff using the Cairo API (on Cairo-enabled > Emacsen only, of course)? I'm sure this won't play well at all with > redisplay, but it'd be fun playing around with it... The primary purpose of GNU Emacs, or any other GNU program, is to contribute to what the GNU operating system can do. The feature you are asking for would operate only on a non-GNU operating system. Emacs with that feature would give a non-GNU system (even worse, a non-free system) better support than it gives to GNU. That would detach it from the GNU Project and work against our goal. Sorry, but we must not implement this. It would be ok to implement the feature so that it works on GNU with GTK2 and work on MacOS with Cairo. That way, the feature would enhance the GNU system and we could continue to say validly that Emacs "runs best on GNU." -- Dr Richard Stallman Founder, Free Software Foundation (https://gnu.org, https://fsf.org) Internet Hall-of-Famer (https://internethalloffame.org)