From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2.migadu.com ([2001:41d0:303:e16b::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms1.migadu.com with LMTPS id iN3pGaUzEGZbuAAAe85BDQ:P1 (envelope-from ) for ; Fri, 05 Apr 2024 19:23:49 +0200 Received: from aspmx1.migadu.com ([2001:41d0:303:e16b::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2.migadu.com with LMTPS id iN3pGaUzEGZbuAAAe85BDQ (envelope-from ) for ; Fri, 05 Apr 2024 19:23:49 +0200 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=none; 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"; dmarc=fail reason="SPF not aligned (relaxed), No valid DKIM" header.from=gmail.com (policy=none) ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1712337829; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references:list-id:list-help: list-unsubscribe:list-subscribe:list-post; bh=6XJDvWcxzsCV9ZKyYcU9nTb8srWYv7+0Zth66vU4yyo=; b=eGfgipEIsN3RQmmxZoTf4TCm7+ax5aWmZYl/dtFaYYfLTdhXg2KPnXhbCAj9uW9iqLD7Jc wClOmHHEwKrrZQPL8X4W51PXGqhAek/8ZZv76v7rqDHn9qSEdJPcCLAlw9o6Ipo5ExU9ZG cFaskZDD9hGCW9K68sI9RCDFwkjRLQf/W1fqZey/69r8OcOJqMYU2e8Y199WhZ235tyFEo CubxmnVSIgtSqBuCQWqI4bOdqDKlCC2nGOo3VPs1wDxZVOAN9lFE/coxFJyqnEKxuxrHcE mHMU8Fj7/oOtitHGoXSgWZ9DqoCIkuwEOiPnf+zJRxwJfpq3gstSguR6Kki10g== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1712337829; a=rsa-sha256; cv=none; b=k58IwH9HZZFO3vCwUWyhVtmxz4zmkssUudljYV2YBQc54iWQfF9lssrE584YJCGlSZ4Anf y3NjIlgEBOYApB0x+vFMaA7GV9B/Jjdzlz5HtaoacWtKM7shc++KZB5oIWXFZalOI5xs3f K47PcotN3rN3yQimDYiRB/e7mDHtiGf03qF5cszREuCt24KWXYwipLxm5vPpSC1uqjW9EG SedNdit3+jt2nCo8c81C8LUq/LtgppScGFFlwiygRHIjQURZFo638DE9QyTpasP0AU9q0Y PMqOVgqSqVmAnbjikxXgMJti/tWF78ZyMvVwnXUULLYL+Tv7QHZgfP5TRk8cjw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=none; 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"; dmarc=fail reason="SPF not aligned (relaxed), No valid DKIM" header.from=gmail.com (policy=none) 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 E9B0A6F98E for ; Fri, 5 Apr 2024 19:23:48 +0200 (CEST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rsnHH-00040u-9s; Fri, 05 Apr 2024 13:22:59 -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 1rsnHF-00040m-Rf for emacs-orgmode@gnu.org; Fri, 05 Apr 2024 13:22:57 -0400 Received: from cpc81207-farn9-2-0-cust559.6-2.cable.virginm.net ([86.10.130.48] helo=pace.local) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rsnHE-0003Gv-BL for emacs-orgmode@gnu.org; Fri, 05 Apr 2024 13:22:57 -0400 Received: by pace.local (Postfix, from userid 501) id 8A1D77286451; Fri, 5 Apr 2024 18:06:25 +0100 (BST) From: Stacey Marshall To: yantar92@posteo.net Cc: emacs-orgmode@gnu.org, tom@fizz.buzz Subject: Re: COUNTER-SET for alphabetical ordered lists ignored for utf-8 exporter Date: Fri, 5 Apr 2024 18:06:25 +0100 Message-Id: <20240405170625.16111-1-stacey.marshall@gmail.com> X-Mailer: git-send-email 2.39.3 (Apple Git-146) In-Reply-To: <87o7hazpxg.fsf@localhost> References: <87o7hazpxg.fsf@localhost> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Received-SPF: none client-ip=86.10.130.48; envelope-from=smarshal@pace.local; helo=pace.local X-Spam_score_int: 46 X-Spam_score: 4.6 X-Spam_bar: ++++ X-Spam_report: (4.6 / 5.0 requ) BAYES_00=-1.9, DKIM_ADSP_CUSTOM_MED=0.001, FORGED_GMAIL_RCVD=1, FREEMAIL_FORGED_FROMDOMAIN=0.001, FREEMAIL_FROM=0.001, HEADER_FROM_DIFFERENT_DOMAINS=0.25, KHOP_HELO_FCRDNS=0.001, NML_ADSP_CUSTOM_MED=0.9, NO_DNS_FOR_FROM=0.001, RCVD_IN_PBL=3.335, RCVD_IN_SORBS_DUL=0.001, RDNS_DYNAMIC=0.982, SPF_HELO_NONE=0.001, SPF_NONE=0.001 autolearn=no 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: , Errors-To: emacs-orgmode-bounces+larch=yhetil.org@gnu.org Sender: emacs-orgmode-bounces+larch=yhetil.org@gnu.org X-Migadu-Country: US X-Migadu-Flow: FLOW_IN X-Migadu-Spam-Score: -2.42 X-Spam-Score: -2.42 X-Migadu-Queue-Id: E9B0A6F98E X-Migadu-Scanner: mx13.migadu.com X-TUID: t11KHFGQBxI0 Regarding https://list.orgmode.org/orgmode/36a62fbf-6484-456f-9537-a7aa40530068@app.fastmail.com/ Was the intention with this change to remove alphabetical lists from text (ascii) exporter? ---- #+begin_src ,#+title: Test document ,#+options: toc:nil author:nil ,* test of alphabetical export ,#+begin_src emacs-lisp :exports both :eval yes (format "%S\n%S\norg-list-allow-alphabetical: %S\n" (emacs-version) (org-version) org-list-allow-alphabetical) ,#+end_src a. Point A b. Point B c. Point C d. [@z] Point Z #+end_src Latest 9.7 alpha results in the alphabetical labels being replaced with numbers:: #+begin_example 1 test of alphabetical export ============================= ,---- | (format "%S\n%S\norg-list-allow-alphabetical: %S\n" | (emacs-version) (org-version) org-list-allow-alphabetical) `---- ,---- | "GNU Emacs 29.1 (build 1, aarch64-apple-darwin23.3.0, Carbon Version 170 AppKit 2487.4) | of 2024-02-26" | "9.7-pre" | org-list-allow-alphabetical: t `---- 1. Point A 2. Point B 3. Point C 26. Point Z #+end_example Removing the change to ox-ascii.el restores it, but leaves the original issue: #+begin_src diff :eval no :exports code $ git diff lisp/ox-ascii.el diff --git a/lisp/ox-ascii.el b/lisp/ox-ascii.el index db4356ec6..78641f1db 100644 --- a/lisp/ox-ascii.el +++ b/lisp/ox-ascii.el @@ -1485,7 +1485,7 @@ contextual information." struct (org-list-prevs-alist struct) (org-list-parents-alist struct))))))) - (replace-regexp-in-string "[0-9A-Za-z]+" num bul))) + (replace-regexp-in-string "[0-9]+" num bul))) (_ (let ((bul (org-list-bullet-string (org-element-property :bullet item)))) ;; Change bullets into more visible form if UTF-8 is active. #+end_src #+begin_example 1 test of alphabetical export ============================= ,---- | (format "%S\n%S\norg-list-allow-alphabetical: %S\n" | (emacs-version) (org-version) org-list-allow-alphabetical) `---- ,---- | "GNU Emacs 29.1 (build 1, aarch64-apple-darwin23.3.0, Carbon Version 170 AppKit 2487.4) | of 2024-02-26" | "9.7-pre" | org-list-allow-alphabetical: t `---- a. Point A b. Point B c. Point C d. Point Z #+end_example I must admit that I had not noticed that other exporters converted the letter to a number. Going forward I shall stop using them. If it is obsoleted or deprecated then a mention to etc/ORG-NEWS would be appreciated. yours faithfully, Stacey Marshall