GNU logs - #44315, boring messages


Message sent to bug-gnu-emacs@HIDDEN:


X-Loop: help-debbugs@HIDDEN
Subject: bug#44315: display property :align-to doesn't update with text-scale-mode
Resent-From: Stefan Kangas <stefan@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: bug-gnu-emacs@HIDDEN
Resent-Date: Thu, 29 Oct 2020 20:37:02 +0000
Resent-Message-ID: <handler.44315.B.160400379626844 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: report 44315
X-GNU-PR-Package: emacs
X-GNU-PR-Keywords: 
To: 44315 <at> debbugs.gnu.org
X-Debbugs-Original-To: bug-gnu-emacs@HIDDEN
Received: via spool by submit <at> debbugs.gnu.org id=B.160400379626844
          (code B ref -1); Thu, 29 Oct 2020 20:37:02 +0000
Received: (at submit) by debbugs.gnu.org; 29 Oct 2020 20:36:36 +0000
Received: from localhost ([127.0.0.1]:55083 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1kYEex-0006yu-V0
	for submit <at> debbugs.gnu.org; Thu, 29 Oct 2020 16:36:36 -0400
Received: from lists.gnu.org ([209.51.188.17]:58896)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <stefankangas@HIDDEN>) id 1kYEew-0006yn-K1
 for submit <at> debbugs.gnu.org; Thu, 29 Oct 2020 16:36:34 -0400
Received: from eggs.gnu.org ([2001:470:142:3::10]:54526)
 by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <stefankangas@HIDDEN>)
 id 1kYEew-0007Pz-DX
 for bug-gnu-emacs@HIDDEN; Thu, 29 Oct 2020 16:36:34 -0400
Received: from mail-ej1-f44.google.com ([209.85.218.44]:39526)
 by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128)
 (Exim 4.90_1) (envelope-from <stefankangas@HIDDEN>)
 id 1kYEeu-0004Lq-P3
 for bug-gnu-emacs@HIDDEN; Thu, 29 Oct 2020 16:36:34 -0400
Received: by mail-ej1-f44.google.com with SMTP id bn26so5635267ejb.6
 for <bug-gnu-emacs@HIDDEN>; Thu, 29 Oct 2020 13:36:32 -0700 (PDT)
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20161025;
 h=x-gm-message-state:from:mime-version:date:message-id:subject:to;
 bh=40PIF5V6vi/5NiyVKRCjQbmWfChXLngrPBn+Alh6v4s=;
 b=ILJLoHyjWraXLofR1XnD2XKowj7kPLIo5GruBZnCPhpwvS9Wo2HCMeJZkhpLfHt2Zx
 suxpTrxUJii2SvX2c2sVX6Ejz/FOcwrmnkuB07B3xgxTZVxpu8Bt7SB1Rvd72NjvbZEJ
 BJFv2svjYrIsdfS6jHO9ebXHoAPx3EMc2G0WaOU3gSVsUaSdqpuAMZt+ieG6/uC0MOUy
 KY6U3Y+A5wQhuABjFjsJNs0C7D/mrn9mym4+9gWAiWfEWpS9oGsBe1eGRotZoX99KHen
 Qx8VkphDw/QWV0DdfUUx3bc7MNUX4l5z5Ik/RdKuz6lnmKW+p8uCd3isHQuMRZuBPul8
 tHvg==
X-Gm-Message-State: AOAM530IwMdS/Lyihrj2JfLwdqeuY6ygPMzQ9cXPwEfNiCWeVOPkQOKd
 apQsbTUWQikA0pSQDSqOjueA/HwZvE43UPaptdZKsDGR
X-Google-Smtp-Source: ABdhPJyNWoEWS52gCv2wptz3C0acptp+ZnSgf3C0/VZXXLIp5dI6CAMtk+ewHVi1RQBg31mKNZHn5XlfuM6LhQNWKnM=
X-Received: by 2002:a17:906:804:: with SMTP id
 e4mr4630808ejd.420.1604003790769; 
 Thu, 29 Oct 2020 13:36:30 -0700 (PDT)
Received: from 753933720722 named unknown by gmailapi.google.com with
 HTTPREST; Thu, 29 Oct 2020 13:36:30 -0700
From: Stefan Kangas <stefan@HIDDEN>
MIME-Version: 1.0
Date: Thu, 29 Oct 2020 13:36:30 -0700
Message-ID: <CADwFkmkTpJg+fptY3WRB8dcwyT5kwu=k=QzA8anHrCYdThnJmQ@HIDDEN>
Content-Type: text/plain; charset="UTF-8"
Received-SPF: pass client-ip=209.85.218.44;
 envelope-from=stefankangas@HIDDEN; helo=mail-ej1-f44.google.com
X-detected-operating-system: by eggs.gnu.org: First seen = 2020/10/29 16:36:31
X-ACL-Warn: Detected OS   = Linux 2.2.x-3.x [generic] [fuzzy]
X-Spam_score_int: -13
X-Spam_score: -1.4
X-Spam_bar: -
X-Spam_report: (-1.4 / 5.0 requ) BAYES_00=-1.9, FREEMAIL_FORGED_FROMDOMAIN=0.25,
 FREEMAIL_FROM=0.001, HEADER_FROM_DIFFERENT_DOMAINS=0.249,
 RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H2=-0.001, SPF_HELO_NONE=0.001,
 SPF_PASS=-0.001 autolearn=no autolearn_force=no
X-Spam_action: no action
X-Spam-Score: 1.2 (+)
X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org",
 has NOT identified this incoming email as spam.  The original
 message has been attached to this so you can view it or label
 similar future email.  If you have any questions, see
 the administrator of that system for details.
 Content preview:  The display property :align-to space doesn't update when I
 change the text-scale using `text-scale-increase', `text-scale-decrease'
 or `text-scale-adjust', as can be seen here: 0. emacs -Q 1. Evaluate: (progn
 (insert (make-string 60 ?*) "\n") (insert (propertize " " 'display '(space
 :align-to 60))) (insert "*\n") (text-scale-increase 1)) 
 Content analysis details:   (1.2 points, 10.0 required)
 pts rule name              description
 ---- ---------------------- --------------------------------------------------
 -2.3 RCVD_IN_DNSWL_MED      RBL: Sender listed at https://www.dnswl.org/,
 medium trust [209.51.188.17 listed in list.dnswl.org]
 0.0 FREEMAIL_FROM          Sender email is commonly abused enduser mail
 provider (stefankangas[at]gmail.com)
 1.0 SPF_SOFTFAIL           SPF: sender does not match SPF record (softfail)
 0.0 SPF_HELO_NONE          SPF: HELO does not publish an SPF Record
 0.2 HEADER_FROM_DIFFERENT_DOMAINS From and EnvelopeFrom 2nd level
 mail domains are different
 0.0 RCVD_IN_MSPIKE_H4      RBL: Very Good reputation (+4)
 [209.51.188.17 listed in wl.mailspike.net]
 0.2 FREEMAIL_FORGED_FROMDOMAIN 2nd level domains in From and
 EnvelopeFrom freemail headers are different
 0.0 RCVD_IN_MSPIKE_WL      Mailspike good senders
 0.0 UNPARSEABLE_RELAY      Informational: message has unparseable relay
 lines 2.0 SPOOFED_FREEMAIL       No description available.
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.8 (-)

The display property :align-to space doesn't update when I change the
text-scale using `text-scale-increase', `text-scale-decrease' or
`text-scale-adjust', as can be seen here:

0. emacs -Q
1. Evaluate:
(progn (insert (make-string 60 ?*) "\n")
       (insert (propertize " " 'display '(space :align-to 60)))
       (insert "*\n")
       (text-scale-increase 1))

The result is that the first line extends beyond the position of the
"*" character on the second line.

I expect them to line up.




Message sent:


Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable
MIME-Version: 1.0
X-Mailer: MIME-tools 5.505 (Entity 5.505)
Content-Type: text/plain; charset=utf-8
X-Loop: help-debbugs@HIDDEN
From: help-debbugs@HIDDEN (GNU bug Tracking System)
To: Stefan Kangas <stefan@HIDDEN>
Subject: bug#44315: Acknowledgement (display property :align-to doesn't
 update with text-scale-mode)
Message-ID: <handler.44315.B.160400379626844.ack <at> debbugs.gnu.org>
References: <CADwFkmkTpJg+fptY3WRB8dcwyT5kwu=k=QzA8anHrCYdThnJmQ@HIDDEN>
X-Gnu-PR-Message: ack 44315
X-Gnu-PR-Package: emacs
Reply-To: 44315 <at> debbugs.gnu.org
Date: Thu, 29 Oct 2020 20:37:02 +0000

Thank you for filing a new bug report with debbugs.gnu.org.

This is an automatically generated reply to let you know your message
has been received.

Your message is being forwarded to the package maintainers and other
interested parties for their attention; they will reply in due course.

Your message has been sent to the package maintainer(s):
 bug-gnu-emacs@HIDDEN

If you wish to submit further information on this problem, please
send it to 44315 <at> debbugs.gnu.org.

Please do not send mail to help-debbugs@HIDDEN unless you wish
to report a problem with the Bug-tracking system.

--=20
44315: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D44315
GNU Bug Tracking System
Contact help-debbugs@HIDDEN with problems


Message sent to bug-gnu-emacs@HIDDEN:


X-Loop: help-debbugs@HIDDEN
Subject: bug#44315: display property :align-to doesn't update with text-scale-mode
Resent-From: Eli Zaretskii <eliz@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: bug-gnu-emacs@HIDDEN
Resent-Date: Fri, 30 Oct 2020 07:32:02 +0000
Resent-Message-ID: <handler.44315.B44315.160404310426900 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: followup 44315
X-GNU-PR-Package: emacs
X-GNU-PR-Keywords: 
To: Stefan Kangas <stefan@HIDDEN>
Cc: 44315 <at> debbugs.gnu.org
Received: via spool by 44315-submit <at> debbugs.gnu.org id=B44315.160404310426900
          (code B ref 44315); Fri, 30 Oct 2020 07:32:02 +0000
Received: (at 44315) by debbugs.gnu.org; 30 Oct 2020 07:31:44 +0000
Received: from localhost ([127.0.0.1]:55939 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1kYOsy-0006zj-97
	for submit <at> debbugs.gnu.org; Fri, 30 Oct 2020 03:31:44 -0400
Received: from eggs.gnu.org ([209.51.188.92]:36284)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <eliz@HIDDEN>)
 id 1kYOsw-0006zR-PT; Fri, 30 Oct 2020 03:31:43 -0400
Received: from fencepost.gnu.org ([2001:470:142:3::e]:55967)
 by eggs.gnu.org with esmtp (Exim 4.90_1)
 (envelope-from <eliz@HIDDEN>)
 id 1kYOsp-0004YI-Tk; Fri, 30 Oct 2020 03:31:37 -0400
Received: from [176.228.60.248] (port=3370 helo=home-c4e4a596f7)
 by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256)
 (Exim 4.82) (envelope-from <eliz@HIDDEN>)
 id 1kYOsn-0006iC-GB; Fri, 30 Oct 2020 03:31:34 -0400
Date: Fri, 30 Oct 2020 09:31:14 +0200
Message-Id: <83mu04b265.fsf@HIDDEN>
From: Eli Zaretskii <eliz@HIDDEN>
In-Reply-To: <CADwFkmkTpJg+fptY3WRB8dcwyT5kwu=k=QzA8anHrCYdThnJmQ@HIDDEN>
 (message from Stefan Kangas on Thu, 29 Oct 2020 13:36:30 -0700)
References: <CADwFkmkTpJg+fptY3WRB8dcwyT5kwu=k=QzA8anHrCYdThnJmQ@HIDDEN>
X-Spam-Score: -2.3 (--)
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -3.3 (---)

tags 44315 notabug
severity 44315 wishlist
thanks

> From: Stefan Kangas <stefan@HIDDEN>
> Date: Thu, 29 Oct 2020 13:36:30 -0700
> 
> 0. emacs -Q
> 1. Evaluate:
> (progn (insert (make-string 60 ?*) "\n")
>        (insert (propertize " " 'display '(space :align-to 60)))
>        (insert "*\n")
>        (text-scale-increase 1))
> 
> The result is that the first line extends beyond the position of the
> "*" character on the second line.

As it should be.  :align-to interprets the number 60 in terms of the
frame's default font width, see the ELisp manual.  And that doesn't
change with text-scale-increase, whose effect is buffer-local.

> I expect them to line up.

You expected a feature that doesn't exists.  To update the alignment
in these cases, we could:

  1) modify the application which uses :align-to to update the
     property values when the scale changes (e.g., by tracking these
     changes in a pre-redisplay-functions hook); or
  2) invent a new form of value for :align-to that would scale with
     the buffer's text scale, for example '(scale . 123)'

Patches welcome.




Message received at control <at> debbugs.gnu.org:


Received: (at control) by debbugs.gnu.org; 30 Oct 2020 07:31:44 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Fri Oct 30 03:31:44 2020
Received: from localhost ([127.0.0.1]:55937 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1kYOsx-0006zh-W4
	for submit <at> debbugs.gnu.org; Fri, 30 Oct 2020 03:31:44 -0400
Received: from eggs.gnu.org ([209.51.188.92]:36284)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <eliz@HIDDEN>)
 id 1kYOsw-0006zR-PT; Fri, 30 Oct 2020 03:31:43 -0400
Received: from fencepost.gnu.org ([2001:470:142:3::e]:55967)
 by eggs.gnu.org with esmtp (Exim 4.90_1)
 (envelope-from <eliz@HIDDEN>)
 id 1kYOsp-0004YI-Tk; Fri, 30 Oct 2020 03:31:37 -0400
Received: from [176.228.60.248] (port=3370 helo=home-c4e4a596f7)
 by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256)
 (Exim 4.82) (envelope-from <eliz@HIDDEN>)
 id 1kYOsn-0006iC-GB; Fri, 30 Oct 2020 03:31:34 -0400
Date: Fri, 30 Oct 2020 09:31:14 +0200
Message-Id: <83mu04b265.fsf@HIDDEN>
From: Eli Zaretskii <eliz@HIDDEN>
To: Stefan Kangas <stefan@HIDDEN>
In-Reply-To: <CADwFkmkTpJg+fptY3WRB8dcwyT5kwu=k=QzA8anHrCYdThnJmQ@HIDDEN>
 (message from Stefan Kangas on Thu, 29 Oct 2020 13:36:30 -0700)
Subject: Re: bug#44315: display property :align-to doesn't update with
 text-scale-mode
References: <CADwFkmkTpJg+fptY3WRB8dcwyT5kwu=k=QzA8anHrCYdThnJmQ@HIDDEN>
X-Spam-Score: -2.3 (--)
X-Debbugs-Envelope-To: control
Cc: 44315 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -3.3 (---)

tags 44315 notabug
severity 44315 wishlist
thanks

> From: Stefan Kangas <stefan@HIDDEN>
> Date: Thu, 29 Oct 2020 13:36:30 -0700
> 
> 0. emacs -Q
> 1. Evaluate:
> (progn (insert (make-string 60 ?*) "\n")
>        (insert (propertize " " 'display '(space :align-to 60)))
>        (insert "*\n")
>        (text-scale-increase 1))
> 
> The result is that the first line extends beyond the position of the
> "*" character on the second line.

As it should be.  :align-to interprets the number 60 in terms of the
frame's default font width, see the ELisp manual.  And that doesn't
change with text-scale-increase, whose effect is buffer-local.

> I expect them to line up.

You expected a feature that doesn't exists.  To update the alignment
in these cases, we could:

  1) modify the application which uses :align-to to update the
     property values when the scale changes (e.g., by tracking these
     changes in a pre-redisplay-functions hook); or
  2) invent a new form of value for :align-to that would scale with
     the buffer's text scale, for example '(scale . 123)'

Patches welcome.




Message received at control <at> debbugs.gnu.org:


Received: (at control) by debbugs.gnu.org; 30 Oct 2020 07:31:44 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Fri Oct 30 03:31:44 2020
Received: from localhost ([127.0.0.1]:55937 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1kYOsx-0006zh-W4
	for submit <at> debbugs.gnu.org; Fri, 30 Oct 2020 03:31:44 -0400
Received: from eggs.gnu.org ([209.51.188.92]:36284)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <eliz@HIDDEN>)
 id 1kYOsw-0006zR-PT; Fri, 30 Oct 2020 03:31:43 -0400
Received: from fencepost.gnu.org ([2001:470:142:3::e]:55967)
 by eggs.gnu.org with esmtp (Exim 4.90_1)
 (envelope-from <eliz@HIDDEN>)
 id 1kYOsp-0004YI-Tk; Fri, 30 Oct 2020 03:31:37 -0400
Received: from [176.228.60.248] (port=3370 helo=home-c4e4a596f7)
 by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256)
 (Exim 4.82) (envelope-from <eliz@HIDDEN>)
 id 1kYOsn-0006iC-GB; Fri, 30 Oct 2020 03:31:34 -0400
Date: Fri, 30 Oct 2020 09:31:14 +0200
Message-Id: <83mu04b265.fsf@HIDDEN>
From: Eli Zaretskii <eliz@HIDDEN>
To: Stefan Kangas <stefan@HIDDEN>
In-Reply-To: <CADwFkmkTpJg+fptY3WRB8dcwyT5kwu=k=QzA8anHrCYdThnJmQ@HIDDEN>
 (message from Stefan Kangas on Thu, 29 Oct 2020 13:36:30 -0700)
Subject: Re: bug#44315: display property :align-to doesn't update with
 text-scale-mode
References: <CADwFkmkTpJg+fptY3WRB8dcwyT5kwu=k=QzA8anHrCYdThnJmQ@HIDDEN>
X-Spam-Score: -2.3 (--)
X-Debbugs-Envelope-To: control
Cc: 44315 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -3.3 (---)

tags 44315 notabug
severity 44315 wishlist
thanks

> From: Stefan Kangas <stefan@HIDDEN>
> Date: Thu, 29 Oct 2020 13:36:30 -0700
> 
> 0. emacs -Q
> 1. Evaluate:
> (progn (insert (make-string 60 ?*) "\n")
>        (insert (propertize " " 'display '(space :align-to 60)))
>        (insert "*\n")
>        (text-scale-increase 1))
> 
> The result is that the first line extends beyond the position of the
> "*" character on the second line.

As it should be.  :align-to interprets the number 60 in terms of the
frame's default font width, see the ELisp manual.  And that doesn't
change with text-scale-increase, whose effect is buffer-local.

> I expect them to line up.

You expected a feature that doesn't exists.  To update the alignment
in these cases, we could:

  1) modify the application which uses :align-to to update the
     property values when the scale changes (e.g., by tracking these
     changes in a pre-redisplay-functions hook); or
  2) invent a new form of value for :align-to that would scale with
     the buffer's text scale, for example '(scale . 123)'

Patches welcome.




Message received at control <at> debbugs.gnu.org:


Received: (at control) by debbugs.gnu.org; 9 Apr 2021 16:59:22 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Fri Apr 09 12:59:22 2021
Received: from localhost ([127.0.0.1]:50771 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1lUuTa-0001S6-IK
	for submit <at> debbugs.gnu.org; Fri, 09 Apr 2021 12:59:22 -0400
Received: from mail-pl1-f181.google.com ([209.85.214.181]:42585)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <stefankangas@HIDDEN>) id 1lUuTY-0001Rm-HL
 for control <at> debbugs.gnu.org; Fri, 09 Apr 2021 12:59:20 -0400
Received: by mail-pl1-f181.google.com with SMTP id w8so711710plg.9
 for <control <at> debbugs.gnu.org>; Fri, 09 Apr 2021 09:59:20 -0700 (PDT)
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20161025;
 h=x-gm-message-state:from:mime-version:date:message-id:subject:to;
 bh=jURVhZ2hy+JWabUW5O8Aex5KV7V6jFY35s4YixOxk5Y=;
 b=Z8cXdTn81OrDBTWwZdzJsNPgziUkhdP1NN2+BKKnb6/AELhtUAkcz5LuNVQ/a5gp8B
 g8SRnOpo1Y/3H6p+FByWyi5RVhj9Oalqpdi4CkP1RyCdqmB57+wzJmelCs4VtdqztHnu
 Y8Z/FDEfpwlmf8+qfKNfbMUJoQedXqBg9roCUYki3yOgkvgMXtHLTOCX85LvVa1xo+tl
 XEn07dri1G7ve0tUPXAYgCRa+4xnMgh0dzWMlVa4O765+1CSc4K+M+AIv2zm9WxgxCc8
 lTnUZhIZ/YKUgI3GkoeUXP/Vt0YohpsWz9Lea0vbJUWkAe3O6rss9CLDEVzzQolXw279
 Hu9w==
X-Gm-Message-State: AOAM5301FZX2gYCrSiOnj3iFw+m9Ptdf/0p20iP0DM4ImwatiAPGmuSd
 YHN77P61apWRmWBMKitJEsETBrstpKPdiJwhkmGm1NQW
X-Google-Smtp-Source: ABdhPJwzlZmQLB3lvrfXfhODz1uBncaRk6YC5ryXTwzZFRQun6tBTGNAYYwXd/u1ISEVLORa+tuLu9GIwcNWAgcEUoQ=
X-Received: by 2002:a17:90b:f0b:: with SMTP id
 br11mr2606272pjb.179.1617987554490; 
 Fri, 09 Apr 2021 09:59:14 -0700 (PDT)
Received: from 753933720722 named unknown by gmailapi.google.com with
 HTTPREST; Fri, 9 Apr 2021 11:59:13 -0500
From: Stefan Kangas <stefan@HIDDEN>
MIME-Version: 1.0
Date: Fri, 9 Apr 2021 11:59:13 -0500
Message-ID: <CADwFkmnHALkhBJp8ODfGe9oEWUSCmtUdoF72voGc49NsOCeVog@HIDDEN>
Subject: 
To: control <at> debbugs.gnu.org
Content-Type: text/plain; charset="UTF-8"
X-Spam-Score: 2.5 (++)
X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org",
 has NOT identified this incoming email as spam.  The original
 message has been attached to this so you can view it or label
 similar future email.  If you have any questions, see
 the administrator of that system for details.
 Content preview:  tags 44315 - notabug thanks 
 Content analysis details:   (2.5 points, 10.0 required)
 pts rule name              description
 ---- ---------------------- --------------------------------------------------
 -0.0 RCVD_IN_DNSWL_NONE     RBL: Sender listed at https://www.dnswl.org/,
 no trust [209.85.214.181 listed in list.dnswl.org]
 0.0 SPF_HELO_NONE          SPF: HELO does not publish an SPF Record
 -0.0 SPF_PASS               SPF: sender matches SPF record
 0.2 HEADER_FROM_DIFFERENT_DOMAINS From and EnvelopeFrom 2nd level
 mail domains are different
 0.0 FREEMAIL_FROM          Sender email is commonly abused enduser mail
 provider (stefankangas[at]gmail.com)
 0.0 RCVD_IN_MSPIKE_H3      RBL: Good reputation (+3)
 [209.85.214.181 listed in wl.mailspike.net]
 0.0 UNPARSEABLE_RELAY      Informational: message has unparseable relay
 lines 0.0 RCVD_IN_MSPIKE_WL      Mailspike good senders
 2.0 BLANK_SUBJECT          Subject is present but empty
 0.2 FREEMAIL_FORGED_FROMDOMAIN 2nd level domains in From and
 EnvelopeFrom freemail headers are different
X-Debbugs-Envelope-To: control
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: 1.5 (+)
X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org",
 has NOT identified this incoming email as spam.  The original
 message has been attached to this so you can view it or label
 similar future email.  If you have any questions, see
 the administrator of that system for details.
 
 Content preview:  tags 44315 - notabug thanks 
 
 Content analysis details:   (1.5 points, 10.0 required)
 
  pts rule name              description
 ---- ---------------------- --------------------------------------------------
 -0.0 RCVD_IN_DNSWL_NONE     RBL: Sender listed at https://www.dnswl.org/,
                              no trust
                             [209.85.214.181 listed in list.dnswl.org]
  0.0 RCVD_IN_MSPIKE_H3      RBL: Good reputation (+3)
                             [209.85.214.181 listed in wl.mailspike.net]
  0.0 SPF_HELO_NONE          SPF: HELO does not publish an SPF Record
 -0.0 SPF_PASS               SPF: sender matches SPF record
  0.2 HEADER_FROM_DIFFERENT_DOMAINS From and EnvelopeFrom 2nd level
                             mail domains are different
  0.0 FREEMAIL_FROM          Sender email is commonly abused enduser mail
                             provider (stefankangas[at]gmail.com)
  0.0 UNPARSEABLE_RELAY      Informational: message has unparseable relay
                             lines
 -1.0 MAILING_LIST_MULTI     Multiple indicators imply a widely-seen list
                             manager
  0.0 RCVD_IN_MSPIKE_WL      Mailspike good senders
  2.0 BLANK_SUBJECT          Subject is present but empty
  0.2 FREEMAIL_FORGED_FROMDOMAIN 2nd level domains in From and
                             EnvelopeFrom freemail headers are
                             different

tags 44315 - notabug
thanks





Last modified: Fri, 9 Apr 2021 17:15:01 UTC

GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997 nCipher Corporation Ltd, 1994-97 Ian Jackson.