From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id UCaZGCdzOWNUcQEAbAwnHQ (envelope-from ) for ; Sun, 02 Oct 2022 13:16:55 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id GK2LGCdzOWPeUwEA9RJhRA (envelope-from ) for ; Sun, 02 Oct 2022 13:16:55 +0200 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 3940E4338E for ; Sun, 2 Oct 2022 13:16:55 +0200 (CEST) Received: from localhost ([::1]:38284 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oewxq-0006yz-Bz for larch@yhetil.org; Sun, 02 Oct 2022 07:16:54 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:58096) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oewxP-0006yf-Gg; Sun, 02 Oct 2022 07:16:27 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:34904) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oewxP-0001Gf-3p; Sun, 02 Oct 2022 07:16:27 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date: mime-version; bh=3AsmwLIgI2tpW+0CuRzIDQ3Cu1+oIfbgncGxfQFvwKY=; b=M6bZLqRGgJ/k DNq/LgO7l2l8EM8/SggA/CK/frT6rdGFlS+D7i5Ttda55XEJn7Gim0mo0Lm4qLIpPy9nDJn4ahC1o aXVwSIJ2kMkeUo8v7Izxs1I1DQopb1u6B/1tPWiQBYyda3CTrhCrB8C6xYPuyf3pgK3j73gWVXBZa b6x7CICl93pDVKc43HRbyWCroIiKWp8lMafN+pHqmQz0tyYd+a1Qfy0OXW2XUp5JIVymM9v0V+7f7 n5mdBtu+/KamiqD2tJm97+/UERHQT65NH+JNpvkzEwXVLSRHYGXjlS6WQCRYd9bdBdwbybQWdG4MV GUrgSQM6HUSCRHC/YSgIZQ==; Received: from [87.69.77.57] (port=4924 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oewxO-0000y2-Gh; Sun, 02 Oct 2022 07:16:26 -0400 Date: Sun, 02 Oct 2022 14:16:17 +0300 Message-Id: <83v8p21nni.fsf@gnu.org> From: Eli Zaretskii To: Ihor Radchenko Cc: numbchild@gmail.com, emacs-devel@gnu.org, emacs-orgmode@gnu.org In-Reply-To: (message from Ihor Radchenko on Sun, 2 Oct 2022 18:57:56 +0800) Subject: Re: [CLOSED] text-property displayed image has a center-line when the text face has underline attribute References: <6337ac4e.050a0220.c05b9.7747SMTPIN_ADDED_BROKEN@mx.google.com> <87r0zs14ur.fsf@localhost> <63380111.050a0220.592f2.fab7SMTPIN_ADDED_BROKEN@mx.google.com> <87o7uvsuid.fsf@localhost> <63383737.050a0220.63781.8825SMTPIN_ADDED_BROKEN@mx.google.com> <87mtae2718.fsf@localhost> <83a66eaczp.fsf@gnu.org> <63396d3d.050a0220.d98c9.1ea6SMTPIN_ADDED_BROKEN@mx.google.com> X-BeenThere: emacs-orgmode@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+larch=yhetil.org@gnu.org Sender: "Emacs-orgmode" X-Migadu-Flow: FLOW_IN X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1664709415; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=3AsmwLIgI2tpW+0CuRzIDQ3Cu1+oIfbgncGxfQFvwKY=; b=jFunIDXgMK2eb4WjBGFvy58QhrmNz2z6ezTVPkk4hfGIv4xFQWxkVRCdglEF4potbeFLIu ACdNcr8HvzRi5l2Nub6cvzIBpoVO2uJw98KPhKAQ5hJ1XLLGBkydLEJ1mFCcDAR4u8Hkur COEjZH3eR6jVQGgTLlYJvujX6YQ7cPX4vi7zcQ8ZCrbRdkItTChPhPENs1tLv5mIuLD/zi JtNHcwPQa3IVLUEHpDeJ8DIVNzvkep2ykzjfVwrejlQzuMxdBQm5E6pC14ayILqatXv2vg YLdBVWdzkCuiArZOTHbFTADDEWgPMC2aEA5uqJ6SQGaP2wTVCLj1cvGLCduslQ== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1664709415; a=rsa-sha256; cv=none; b=ldvpMcTnRGSrnbZbEy5oj8mNyxk0xoHK+5FGSEBuAdpGEQTsmggXqha085O6JoKFibBE++ X6PXofzX15xa2+B6fv2ibOvW5pGeX5YaitACCkEqzu/uFLGFKIQoHGppU8JkgJKvw3HfCS lCgHyq/B+R1cvgNfzDsXLhMzD5nA6it6zY7Wt7FZng/yrvwK4GkAI5UQmkUWAdMhgAbZQX sBX0zShN6fL9fZ9OEPvqJxsmxRiVXSpHUZJ5slE4are3ySap5dwKXN4xjfItOGR6DvJM8T mNB6AjfU8yjXEOK9Z9dPX4ZUzCG/WthyK1W/jct1VhHtLlt+eQz+MkRKSpMKfA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=gnu.org header.s=fencepost-gnu-org header.b=M6bZLqRG; dmarc=pass (policy=none) header.from=gnu.org; spf=pass (aspmx1.migadu.com: domain of "emacs-orgmode-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="emacs-orgmode-bounces+larch=yhetil.org@gnu.org" X-Migadu-Spam-Score: -5.14 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gnu.org header.s=fencepost-gnu-org header.b=M6bZLqRG; dmarc=pass (policy=none) header.from=gnu.org; spf=pass (aspmx1.migadu.com: domain of "emacs-orgmode-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="emacs-orgmode-bounces+larch=yhetil.org@gnu.org" X-Migadu-Queue-Id: 3940E4338E X-Spam-Score: -5.14 X-Migadu-Scanner: scn0.migadu.com X-TUID: FseKxx7zS1CH > From: Ihor Radchenko > Date: Sun, 2 Oct 2022 18:57:56 +0800 > Cc: Eli Zaretskii , emacs-devel@gnu.org, emacs-orgmode@gnu.org > > 1. find an image file in your system > 2. emacs -Q > 3. M-: (erase-buffer) > 4. Insert "askdjaklsdj lasasd" > 5. M-: (require 'org) > 6. M-x font-lock-mode > 7. M-: (put-text-property (point-min) (point-max) 'face 'org-link) > 8. M-: (put-text-property (point-min) (point-max) 'display (create-image > "/path/to/image" nil nil :ascent 'center :max-height 512)) Thanks. This is because of the ":ascent 'center" part, isn't it? What would you want Emacs to do instead in this case?