From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: Jesse Medeiros Newsgroups: gmane.emacs.devel Subject: Re: Patch to vertically center line content when using line-spacing variable Date: Sun, 8 Sep 2019 20:24:50 -0300 Message-ID: References: <83ftl85tbn.fsf@gnu.org> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="000000000000ff3f53059212faad" Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="181741"; mail-complaints-to="usenet@blaine.gmane.org" Cc: Stefan Kangas To: Eli Zaretskii , emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Sep 09 01:25:26 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 1i76Yg-000lBk-GL for ged-emacs-devel@m.gmane.org; Mon, 09 Sep 2019 01:25:26 +0200 Original-Received: from localhost ([::1]:51202 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1i76Ye-0003fW-LY for ged-emacs-devel@m.gmane.org; Sun, 08 Sep 2019 19:25:24 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:35876) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1i76YT-0003fB-Pz for emacs-devel@gnu.org; Sun, 08 Sep 2019 19:25:14 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1i76YS-0003rX-Er for emacs-devel@gnu.org; Sun, 08 Sep 2019 19:25:13 -0400 Original-Received: from mail-qt1-x833.google.com ([2607:f8b0:4864:20::833]:44854) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1i76YK-0003dP-If; Sun, 08 Sep 2019 19:25:04 -0400 Original-Received: by mail-qt1-x833.google.com with SMTP id u40so14051453qth.11; Sun, 08 Sep 2019 16:25:02 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=vLYxcft+ikAkGnpXRpZ1VQNB/yE/GeL7I6uGWI67Qkc=; b=YqdA2DqS9bXwJ6JBtWlb1sUMWZGtISZKch44Y/vaZXz7dKt4+IMJ9RADyh9z+xPl/R gH/9pUIe/rYNXyyce62EemEpd5yyESH+pBFNnDVG0zLyZkoAe+K3mIpD++AfRvmrzE1e h7yaln+rRaGwIqDPxmByY1zxVOyxNz3QbWDT9QdfxB+QeJVwWkhGyxn0WqbTLkFolLCi zi/du8LU5xFXhU0revFwUhvw0TY9B5WJLXI22vNera4bccv85gcie+wTjq4Z4t/wQiOV 5/2bjZcw9KM7BDpFIbnS/Sv29AIvNpFJGChg5YgqZ6mYyhqK5Mtw7Eha9Acxo0kL5kLJ Z4SA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=vLYxcft+ikAkGnpXRpZ1VQNB/yE/GeL7I6uGWI67Qkc=; b=LdlGRcIWlb63Z84KG52dpAmtNspozN5bzLkD6BQ68nc76yHwtS1Pd1huJJLbhVHAnY 2tZWaQgwxlza5bmIWCYohceNIjUXpYYwNJHM4QfNGlWqc0MrXr08lbSM30u6RwVY+Dph 6sm4edkoYO2hfBvhdQ6wDpsuh9GDbfgABcevh1yZriq6HL0I68OW7v2OdFYltzUqT0F5 KRC1YZhdHd9ggqxS0fex5a0iPqzDS9uaB82V6nJaCmhIj59Zb8L6mNM4f35KD02fGzpi FTMtIlGjDafqFF18OR96x5jWwAzHO2wKh/TB9YTEhkmToA2mf+8JzdhsL7Mdtvx8hCzc MLZg== X-Gm-Message-State: APjAAAWP3QrtjfHhW6sS63COxgjv2jH+akYsOpfp6ttx/85KCD3W2vxk KF4k3cuZ4ewir1FqlMRBLKK8IzEXiYOUUNSqma51fEgGHeU= X-Google-Smtp-Source: APXvYqx9dUkV7l8tPqa6bpdBhbpUVWkwSnW5yquEgz3GEFXdbPEIojLSTVMcnFw6gMnch7MLpu/OAqrE9kgbJMrTkdY= X-Received: by 2002:ac8:74c7:: with SMTP id j7mr20589345qtr.37.1567985101643; Sun, 08 Sep 2019 16:25:01 -0700 (PDT) In-Reply-To: <83ftl85tbn.fsf@gnu.org> X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2607:f8b0:4864:20::833 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:239947 Archived-At: --000000000000ff3f53059212faad Content-Type: text/plain; charset="UTF-8" I made these changes and wrote entries in the NEWS and in the manual. I wasn't sure where I should place it in the NEWS, so I put it at the end of the 'Changes in Emacs 27.1' section. If there still something amiss just let me know. --000000000000ff3f53059212faad Content-Type: text/x-patch; charset="US-ASCII"; name="0001-Center-lines-vertically-with-line-spacing-vertical-c.patch" Content-Disposition: attachment; filename="0001-Center-lines-vertically-with-line-spacing-vertical-c.patch" Content-Transfer-Encoding: base64 Content-ID: X-Attachment-Id: f_k0blruvk0 RnJvbSA4NzNjNGYyZjc3ODQ3OGVmMjJiOTFlNTAwMGNiYTcyOTcwNjAyZDI2IE1vbiBTZXAgMTcg MDA6MDA6MDAgMjAwMQpGcm9tOiBKZXNzZSBOYXphcmlvIDxqZXNzZW56ckBnbWFpbC5jb20+CkRh dGU6IFN1biwgOCBTZXAgMjAxOSAyMDowNjoxNSAtMDMwMApTdWJqZWN0OiBbUEFUQ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KICAgICB7Ci0gICAgICBpdC0+ZGVzY2Vu dCArPSBleHRyYV9saW5lX3NwYWNpbmc7CisgICAgICBpZiAoISBCVkFSIChYQlVGRkVSIChpdC0+ dy0+Y29udGVudHMpLCBsaW5lX3NwYWNpbmdfdmVydGljYWxfY2VudGVyKSkKKyAgICAgICAgaXQt PmRlc2NlbnQgKz0gZXh0cmFfbGluZV9zcGFjaW5nOworICAgICAgZWxzZQorICAgICAgICB7Cisg ICAgICAgICAgaW50IHNwYWNpbmcgPSBleHRyYV9saW5lX3NwYWNpbmcgLyAyOworICAgICAgICAg IGl0LT5hc2NlbnQgKz0gc3BhY2luZzsKKyAgICAgICAgICBpdC0+ZGVzY2VudCArPSBzcGFjaW5n OworICAgICAgICB9CiAgICAgICBpZiAoZXh0cmFfbGluZV9zcGFjaW5nID4gaXQtPm1heF9leHRy YV9saW5lX3NwYWNpbmcpCiAJaXQtPm1heF9leHRyYV9saW5lX3NwYWNpbmcgPSBleHRyYV9saW5l X3NwYWNpbmc7CiAgICAgfQotLSAKMi4yMy4wCgo= --000000000000ff3f53059212faad--