From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.devel Subject: Re: Drawing to cairo context from within emacs module? Date: Thu, 05 Dec 2019 07:35:29 +0200 Message-ID: References: <87eexlb1d4.fsf@randomsample> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="109344"; mail-complaints-to="usenet@blaine.gmane.org" User-Agent: K-9 Mail for Android Cc: emacs-devel@gnu.org To: rms@gnu.org, Richard Stallman , David Engster Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu Dec 05 06:36:32 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 1icjoV-000SF0-NM for ged-emacs-devel@m.gmane.org; Thu, 05 Dec 2019 06:36:31 +0100 Original-Received: from localhost ([::1]:50258 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1icjoT-0001Fh-SJ for ged-emacs-devel@m.gmane.org; Thu, 05 Dec 2019 00:36:29 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:58934) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1icjnx-0001Ei-Lz for emacs-devel@gnu.org; Thu, 05 Dec 2019 00:35:59 -0500 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:35285) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1icjnr-0000bJ-PZ; Thu, 05 Dec 2019 00:35:51 -0500 Original-Received: from [176.12.251.170] (port=60504 helo=[10.156.102.85]) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_128_CBC_SHA1:128) (Exim 4.82) (envelope-from ) id 1icjnZ-00055I-JR; Thu, 05 Dec 2019 00:35:34 -0500 In-Reply-To: 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:243142 Archived-At: On December 5, 2019 6:42:55 AM GMT+02:00, Richard Stallman = wrote: > [[[ 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=2E ]]] >=20 > > 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=2E=2E=2E >=20 > The primary purpose of GNU Emacs, or any other GNU program, is to > contribute to what the GNU operating system can do=2E >=20 > The feature you are asking for would operate only on a non-GNU > operating system=2E Emacs with that feature would give a non-GNU system > (even worse, a non-free system) better support than it gives to GNU=2E > That would detach it from the GNU Project and work against our goal=2E >=20 > Sorry, but we must not implement this=2E >=20 > It would be ok to implement the feature so that it works on GNU with > GTK2 and work on MacOS with Cairo=2E That way, the feature would > enhance the GNU system and we could continue to say validly that Emacs > "runs best on GNU=2E" I think you are mistaking Cairo for something else=2E Emacs supports Cair= o on GNU systems=2E