From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.ciao.gmane.io!not-for-mail From: David Engster Newsgroups: gmane.emacs.devel Subject: Re: Emacs canvas support Date: Wed, 29 Apr 2020 22:14:18 +0200 Message-ID: <878siedp7p.fsf@randomsample> References: <875zdikdge.fsf.ref@yahoo.com> <875zdikdge.fsf@yahoo.com> <834kt21yyo.fsf@gnu.org> <87zhau1uog.fsf@yahoo.com> <83sggmzjp8.fsf@gnu.org> <87mu6u1tii.fsf@yahoo.com> <83o8raziis.fsf@gnu.org> <877dxy1smz.fsf@yahoo.com> <87o8rae0ao.fsf@randomsample> <83k11yxlrh.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="ciao.gmane.io:159.69.161.202"; logging-data="122831"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.91 (gnu/linux) Cc: luangruo@yahoo.com, emacs-devel@gnu.org To: Eli Zaretskii Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Wed Apr 29 22:15:09 2020 Return-path: Envelope-to: ged-emacs-devel@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1jTt6p-000Vpe-Us for ged-emacs-devel@m.gmane-mx.org; Wed, 29 Apr 2020 22:15:07 +0200 Original-Received: from localhost ([::1]:55172 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jTt6o-0000g1-Ui for ged-emacs-devel@m.gmane-mx.org; Wed, 29 Apr 2020 16:15:06 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:51580) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jTt6H-0000Da-5B for emacs-devel@gnu.org; Wed, 29 Apr 2020 16:14:33 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.90_1) (envelope-from ) id 1jTt6F-0001Ul-Ka for emacs-devel@gnu.org; Wed, 29 Apr 2020 16:14:32 -0400 Original-Received: from zplane.randomsample.de ([192.145.45.252]:52962 helo=randomsample.de) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jTt6E-0001Dw-Uu; Wed, 29 Apr 2020 16:14:31 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=randomsample.de; s=a; h=Content-Type:MIME-Version:Message-ID:Date: References:In-Reply-To:Subject:Cc:To:From:Sender:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Id: List-Help:List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=M95RGvTZ66e986AbaqJWGM+FA8HLNYY+pmlm/WpLnH8=; b=P7mWKS1GaYKo4yqsalNJUZVEU nnHfGtmj2gN8sFzjYIyNanvkUhiNZ0G1O97I77cDGUlxuP4wxlaszqtrfIoCX6VroTHdel3Go89qf T5YXznI13LShYUEnIOqZeGNz/iigLzDspt0dSvlgsktdnqKjRlH4PY8iLvJwWgpkQeE3f7yrdFgfp ae2UgYJrXqo0wVYjGgF9Jkk2L8ShpgOuJ9itloK12SOU0Ruy4KBew4QB/ejWfDNJrIDe1OlcSHn/s K2MjZmzZHTokLTxHujJA5tDQLsAwHATRb+V0Q2HQgtrz6FTGqQANRjYSCFN0qZxnKfuNl98w2EPU/ mvBLU4OcQ==; Original-Received: from ip5f5abaee.dynamic.kabel-deutschland.de ([95.90.186.238] helo=void) by randomsample.de with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1jTt62-0004Ch-MO; Wed, 29 Apr 2020 22:14:24 +0200 In-Reply-To: <83k11yxlrh.fsf@gnu.org> (Eli Zaretskii's message of "Wed, 29 Apr 2020 20:08:34 +0300") Received-SPF: pass client-ip=192.145.45.252; envelope-from=david@engster.org; helo=randomsample.de X-detected-operating-system: by eggs.gnu.org: First seen = 2020/04/29 16:14:27 X-ACL-Warn: Detected OS = Linux 2.2.x-3.x [generic] [fuzzy] X-Received-From: 192.145.45.252 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-mx.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.io gmane.emacs.devel:248189 Archived-At: >> From: David Engster >> Date: Wed, 29 Apr 2020 18:14:55 +0200 >> Cc: Eli Zaretskii , emacs-devel@gnu.org >> >> [...] things like proper indentation guides, or widgets inside text >> for code folding. > > Would it make sense to put these on the fringes? If yes, this could > be done without any changes on the C level, I think. I just found that this exists already with the 'hideshowvis' package and it works reasonably well. So I agree this is not a good use case. You can also do indentation guides in current Emacs, but the packages I tried did not work great. They usually collide with packages like company-mode which are more important to me. This is often the case: if you have several packages that use overlays and/or text properties for fancy stuff, you can expect them to collide in some way. Let's take another very simple example: I often wished it would be possible to tell Emacs "Put an image at pixel position (x,y)" without having to anchor it to some point position. For instance, I have a block of text and would like to have an image next to it. Last I checked, the only way to do this is to create a "sliced image" which automatically gets cut up into rows and columns, but this is a very brittle workaround (it doesn't work with an increased line-spacing, for instance). -David