From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Alex Newsgroups: gmane.emacs.bugs Subject: bug#28771: 26.0.60; A couple space display property feature requests Date: Mon, 09 Oct 2017 18:20:42 -0600 Message-ID: <87fuarc0px.fsf@gmail.com> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: blaine.gmane.org 1507594934 22282 195.159.176.226 (10 Oct 2017 00:22:14 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Tue, 10 Oct 2017 00:22:14 +0000 (UTC) To: 28771@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Tue Oct 10 02:22:10 2017 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1e1iJB-0004Uy-Of for geb-bug-gnu-emacs@m.gmane.org; Tue, 10 Oct 2017 02:22:06 +0200 Original-Received: from localhost ([::1]:60406 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1e1iJH-0006Nt-ER for geb-bug-gnu-emacs@m.gmane.org; Mon, 09 Oct 2017 20:22:11 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:45676) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1e1iJB-0006Nh-Ln for bug-gnu-emacs@gnu.org; Mon, 09 Oct 2017 20:22:06 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1e1iJ8-0000Uo-H0 for bug-gnu-emacs@gnu.org; Mon, 09 Oct 2017 20:22:05 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:50194) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1e1iJ8-0000Ui-Dy for bug-gnu-emacs@gnu.org; Mon, 09 Oct 2017 20:22:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1e1iJ8-0002kW-57 for bug-gnu-emacs@gnu.org; Mon, 09 Oct 2017 20:22:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Alex Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 10 Oct 2017 00:22:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 28771 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Original-Received: via spool by submit@debbugs.gnu.org id=B.150759486210481 (code B ref -1); Tue, 10 Oct 2017 00:22:01 +0000 Original-Received: (at submit) by debbugs.gnu.org; 10 Oct 2017 00:21:02 +0000 Original-Received: from localhost ([127.0.0.1]:58875 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1e1iIA-0002iz-Dv for submit@debbugs.gnu.org; Mon, 09 Oct 2017 20:21:02 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:54585) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1e1iI9-0002i8-3q for submit@debbugs.gnu.org; Mon, 09 Oct 2017 20:21:01 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1e1iI2-00006U-Pv for submit@debbugs.gnu.org; Mon, 09 Oct 2017 20:20:55 -0400 Original-Received: from lists.gnu.org ([2001:4830:134:3::11]:36152) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1e1iI2-00006L-Ms for submit@debbugs.gnu.org; Mon, 09 Oct 2017 20:20:54 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:45536) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1e1iI1-0006I5-6T for bug-gnu-emacs@gnu.org; Mon, 09 Oct 2017 20:20:54 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1e1iHy-0008Vp-2d for bug-gnu-emacs@gnu.org; Mon, 09 Oct 2017 20:20:53 -0400 Original-Received: from mail-io0-x232.google.com ([2607:f8b0:4001:c06::232]:51383) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1e1iHx-0008VG-Ti for bug-gnu-emacs@gnu.org; Mon, 09 Oct 2017 20:20:49 -0400 Original-Received: by mail-io0-x232.google.com with SMTP id b186so2715739iof.8 for ; Mon, 09 Oct 2017 17:20:48 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:subject:date:message-id:mime-version; bh=cjkMhq6OV1MN+smg/VuZru6hvIQB/zgQHBpleayUEaE=; b=AxWBcxydkpac6D6TDvbnaEIP8EclAQOQbwlkZ3aUsIHiolEhazcThNshmslZhygE+w 40cwNlKQEQvOMl2jWeNhq8NTp441rvJ4P5VS24ib4nnK45nQHceSk3eOPKNSqkcAcUks n7UKCTB42BS5Tjooo3CfchOX/ni5Mo2/7LX2NRQ4+CDBqlztmTCR/TdqFQ/qomqVDyck pJ7Ex6DAB0nmmVGf8Yw5ioFZ1yCxCOXadESuRcCGyfMTEKki4L5JO16uVifGN06EJG1B WBvZaAdZ4FQlKZYSFvnF97p+UxfOjiWBsW/xLsRtVmxuofKMlDYgpJXNeyzBxwyCm7lV fSLg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:subject:date:message-id:mime-version; bh=cjkMhq6OV1MN+smg/VuZru6hvIQB/zgQHBpleayUEaE=; b=QTdYlxMkl84hc0j3GT/YvF8T7Vjucvhufo5vhFdPKMnKbGbuJpfBxvySqENSnY88iv 1dHVY37BjJjCJgK6/j08MgWZ6CEEOfOCqLMyHMF7cgKpFiuKBQhu3pDQHW/+3n1Go+7o UEvtx6EWMrpTEtZFVpmv47O2+JKNvFGpfZK8msI3ciOFG2DI6gxPdchPVO5uoq3eyJuC 9vkXa3iCdaur03o/YWf/lZoPXrYOmtqeC/hd+iG2YABkXfdVui+JzL1cUgBef/s8CT+z 80SWJlqHxIk6ZGhyZf6JzxM0lUfK2hREhNdjK3ECcxheht+APKgmlRaa1DS/X8yENQKE BNpg== X-Gm-Message-State: AMCzsaXOdIM5hnGeU/zX2DWVkhQFBITPRNqm4xKn0a2PKp+emT8TGdjd Jd6eRGStjulzLP9hMMV65qYo3Q== X-Google-Smtp-Source: AOwi7QAEAVc5QojnQcyB/9JUChNlSH0X0l5XBc0Ywv+UazQQgc3zGObv4nPBvi9c5h0hyy4BksaX+g== X-Received: by 10.107.21.1 with SMTP id 1mr14720387iov.209.1507594847741; Mon, 09 Oct 2017 17:20:47 -0700 (PDT) Original-Received: from lylat (S010664777d9cebe3.ss.shawcable.net. [70.64.85.59]) by smtp.gmail.com with ESMTPSA id j81sm4335999ioj.13.2017.10.09.17.20.46 for (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Mon, 09 Oct 2017 17:20:46 -0700 (PDT) X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 208.118.235.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.org gmane.emacs.bugs:138144 Archived-At: I've branched this out from the following thread instead of posting it there: https://lists.gnu.org/archive/html/help-gnu-emacs/2017-10/msg00037.html Here's a few features that would be nice for the pixel-specified space properties. 1. Specifying the pixel width to the left/center/right of the text area. This is helpful (I believe it's necessary if I want it to be robust) when one wants to pad either side of a string with the same number of pixels and the left side uses (:align-to 0). I could use (:width (+ left-fringe left-margin)) for the right padding, but this doesn't take into account line-number display, as well as the scroll-bar width (if it's on the left). 2. Specifying the pixel position relative to the left or right edge of the window. The right edge of the window currently may be the right edge of the right fringe or the scroll bar, depending on what side it is on. Also, just in the case that in the future the fringe/scroll-bar may not be the outermost elements, there should be a way to explicitly specify one of the edges. 3. Following from "1." and the help-gnu-emacs thread, it would be nice if there was a display property that allowed you to pad a string on both sides with a pixel-specified space instead of surrounding it with 2 pixel-specified spaces.