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 OHYnG7baWGNJPQAAbAwnHQ (envelope-from ) for ; Wed, 26 Oct 2022 08:59:02 +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 IG8UG7baWGNEHgEA9RJhRA (envelope-from ) for ; Wed, 26 Oct 2022 08:59:02 +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 4B2C833378 for ; Wed, 26 Oct 2022 08:59:02 +0200 (CEST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1onaMk-0006K5-LV; Wed, 26 Oct 2022 02:58:18 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1onaMg-0006CQ-7h for emacs-orgmode@gnu.org; Wed, 26 Oct 2022 02:58:14 -0400 Received: from mout02.posteo.de ([185.67.36.66]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1onaMe-0005rG-3c for emacs-orgmode@gnu.org; Wed, 26 Oct 2022 02:58:13 -0400 Received: from submission (posteo.de [185.67.36.169]) by mout02.posteo.de (Postfix) with ESMTPS id 31780240104 for ; Wed, 26 Oct 2022 08:58:10 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1666767490; bh=1hL7sg/On+4Cl9RewEi46dpAGZnIaY/Zm0QqH/Hlwjw=; h=From:To:Cc:Subject:Date:From; b=Y8dqVUTnuDcGmjhbqAg0yRcByqDS0+I1lTqUJ619xCNuydxFR+R0cEo3RwnoEhrGA VCsyKuMH/IJkDONrFaReaWxGzvP6z5dmkKf09xzVrGAnlbv4kdfyAErA7Vlw06QCUm 9bvU7RVTOfGYAZMZldmpFC7NfH7JkqTsvAlS2PKzRRhRmDMSz7lEs38VbUxzrI0psP p0pnAdnzSEYc/878qUbKG4M39Z3DYbFtJWQWm71760hJDbzkPZsuvIJ849L2ys1ukL 9F7jwppCsWXZf/LSt1sZxr/ZfxoGBreeIkyucrusBi0mxjzTM+Uj0vmEQv1HEhc4L6 Wz4vzUJg0ENDA== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4My04w75Szz6tp0; Wed, 26 Oct 2022 08:58:08 +0200 (CEST) From: Ihor Radchenko To: Lucas Viana Cc: emacs-orgmode@gnu.org Subject: Re: [BUG] Fill-paragraph issue with hidden emphasis markers and composed characters In-Reply-To: References: Date: Wed, 26 Oct 2022 06:58:52 +0000 Message-ID: <87tu3roytv.fsf@localhost> MIME-Version: 1.0 Content-Type: text/plain Received-SPF: pass client-ip=185.67.36.66; envelope-from=yantar92@posteo.net; helo=mout02.posteo.de X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_MSPIKE_H2=-0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action 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: , Sender: "Emacs-orgmode" Errors-To: emacs-orgmode-bounces+larch=yhetil.org@gnu.org 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=1666767542; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=fyZXObwa040yAZ0nYmJGjLpu8sKidFVuwEpMeH8jqP4=; b=lFyTNuZMRKsLVqMh0fbCOq/3/GJ3AyHKP04FTEDQ87QhYHmIwzOaGyxYcv/b5UxAr84fzl x3mGa8moPR7lHV82SiMS7RTJVZ7YGFOJtkGZhFAr6QjiBtPFW77DSg0eylSJDXn5dSnOIH jR1pR9X9A4j0c29qWAsuQ5MONVH3OM+LqzwLzQhAJD/ws8DwwcxQctmn3CU1P6tQa3pXGI dYbg0C6xbjt5ybl856JfNAbfPMv+nTehCAVfAt3sCdFpHYrkA6NLH0PIxv7w1wlXG3q4jg EDXaUlQmdh3QJxMMjqX5V+KwrkThh0HsqVD5VkpftlLeR487Q0loRDFi7yCflw== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1666767542; a=rsa-sha256; cv=none; b=FtvYk8J6SQX6IzJ8dW+aCGBnpzeMk6fZuuT/XfQKH/3dm0v20e3zGmeUHAHEr3UBlt+2vZ FMWPiJ3km+ooEy7DxZiA2nL3wcnnBDkvGLPiMEJBEKmphe7OqbnGcm9s2g5x2kn6wqwVND matEwnJFXOFYrKizDqQx2cj/6jN4TfoZhJGc3We4MgEyMCl0i6/+Oro8M1rS8qI9/XJxQN X1OVcZG9z14IQM5Oa2ar1wRseFqOL6qEOwbl5tDt/+CYcaKISL6YSNXcGFkIBGaWzJvcy/ hVFwUBxOxv2lzKrPXjcisMZl18tSNBkXfVecsp74DEoFKux/+b4e1qA985P5mg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=posteo.net header.s=2017 header.b=Y8dqVUTn; dmarc=pass (policy=none) header.from=posteo.net; 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: -1.91 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=posteo.net header.s=2017 header.b=Y8dqVUTn; dmarc=pass (policy=none) header.from=posteo.net; 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: 4B2C833378 X-Spam-Score: -1.91 X-Migadu-Scanner: scn1.migadu.com X-TUID: ctJ6mztUnSeS Lucas Viana writes: > Steps to reproduce: > 1. Start emacs -Q (no configuration) > 2. Set some variables: > > (setq org-pretty-entities t > org-hide-emphasis-markers t > fill-column 80) > > 3. Create an empty org-mode buffer with the following paragraph: > "" > This is a /italic sentence for a buggy/ \alpha\beta\gamma\delta\nu\epsilon > paragraph in terms of filling, see, it's not filled yet and still the line > above > ends early. > "" > > So far so good, and with the previous config the emphasis markers are now > hidden and the greek letters appear as unicode characters. > > 4. Hit M-q (either fill-paragraph or org-fill-paragraph, both have the same > issue) > The first line wrongly wraps after "buggy" and leaves a big empty space > after that, as if the greek letters were not composed. Confirmed. This appears to be Emacs bug though. I reported it in https://debbugs.gnu.org/cgi/bugreport.cgi?bug=58791 Let's see what Emacs devs reply. -- Ihor Radchenko // yantar92, Org mode contributor, Learn more about Org mode at . Support Org development at , or support my work at