From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp10.migadu.com ([2001:41d0:403:478a::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms9.migadu.com with LMTPS id GFOlK+5EAGV4ZwAAG6o9tA:P1 (envelope-from ) for ; Tue, 12 Sep 2023 13:01:02 +0200 Received: from aspmx1.migadu.com ([2001:41d0:403:478a::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp10.migadu.com with LMTPS id GFOlK+5EAGV4ZwAAG6o9tA (envelope-from ) for ; Tue, 12 Sep 2023 13:01: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 4F91CE2BE for ; Tue, 12 Sep 2023 13:01:01 +0200 (CEST) Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=posteo.net header.s=2017 header.b=EgwzZCrw; 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" ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1694516462; 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: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references:list-id:list-help: list-unsubscribe:list-subscribe:list-post:dkim-signature; bh=lwkR/t7Lg1QhxrPaT/Sxx4S8LRIqLhT7m9iZzgDhchI=; b=oL9Q4iLaoosYsc5ILLhUxpqet61tFLnCxGXeUGttFPYPMIerEtk/gBctIFUFqdIpvXUJ/m vQOGaVvVW2Q5bHrbs1ptm/5U3u/DEewtKbvjTeuJOauW/u0j0D88SHQifSqR8oTQmQXsvs YaE4XQF+3NTNsOlJfk/VvmZepIVQTr4jt57Wa/+LhAmHoAJccFhwZggdRHjLbJc/P5/9yC PItiCO+N1/MeMzeYxsqCkvmnQJhyMG0f84PV3V1T2ocYYPQaA4kvGzk/+qCyg8pQyQtuOE uFURkmTXjwdvIZl9gVZ2LOyOt8uuoRG0fF0cqkpfh2ev1KwuAGuTPO8r6aE8Pw== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1694516462; a=rsa-sha256; cv=none; b=F+kJVfNZQrzuNCiFD/ZAG+P69pbaIcd+MCqibZdmkmCtuOJg3va50v5joLqv7XWTO9nXlQ +EPwOsw9Wjxv526gQxcSvce40cCQcxamOMbMKKNyVTtW9W7QzbWNrdVppxxjnlERWFBrg5 4sj3CgZeBfJOEjHLXHVdyAcPWM24ReqqO26+HsM0WnfUMD+L3iO0s2eQdiKBDximjIu6X6 hmDCoeFPavM4CKN2LHQwtgIEex6mFD61Ub/kMmMTYImpqwzxWAWvqTusspfACIGaovMKZj SpGovMuiyH8g1WhVcVMP/MYo6HkxPUMpoX2MRzxqzkegqp8JvmvJGjrGVecdhg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=posteo.net header.s=2017 header.b=EgwzZCrw; 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" Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qg17c-0002aw-7K; Tue, 12 Sep 2023 06:59:56 -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 1qg17X-0002aX-Ca for emacs-orgmode@gnu.org; Tue, 12 Sep 2023 06:59:53 -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 1qg17T-0002Xc-O2 for emacs-orgmode@gnu.org; Tue, 12 Sep 2023 06:59:51 -0400 Received: from submission (posteo.de [185.67.36.169]) by mout02.posteo.de (Postfix) with ESMTPS id 3B7A5240101 for ; Tue, 12 Sep 2023 12:59:45 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1694516385; bh=lwkR/t7Lg1QhxrPaT/Sxx4S8LRIqLhT7m9iZzgDhchI=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version: Content-Transfer-Encoding:From; b=EgwzZCrwUGHCRxp1tflAJAr1Y1Jt0QCpMCnQdyjwhUTXYJxawoCjIW4hc8rwOURi1 Hi0SYIKagvDGM3nfTEEK0uBekHs/8kohSNSU7jST37J1GHTF6LU2aDqaGDPnvUKlNQ 8ilZnY2Ds2QNGaTc/8KyO5OGfeZLmxqtWrOQruTpAdzdfCUl/wcEraYjP0CmHVGz6b +xT7BUo0XnPVd0+jXDJn+IP9/Bwi0MO5iX46oYSsvz6RDwn6QAgfsgNLo8YKLUZUJA 5yZRGW/k9atW4vToEJ8OQ/pamFtNmzZhZNIAYT1Wr2hHxTOJSMWbZgzcmvBVvDkE4j dkVBC/XCnA1KQ== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4RlLFX3V72z9rxP; Tue, 12 Sep 2023 12:59:44 +0200 (CEST) From: Ihor Radchenko To: "Dr. Arne Babenhauserheide" Cc: emacs-orgmode@gnu.org Subject: Re: [BUG] PRIORITIES does not accept multi-byte unicode characters [9.6.9 (N/A @ /gnu/store/3rxpvdkn907pb1ccm2yl3ffyaz02k7d1-emacs-org-9.6.9/share/emacs/site-lisp/org-9.6.9/)] In-Reply-To: <87wmwvsng6.fsf@web.de> References: <87wmwvsng6.fsf@web.de> Date: Tue, 12 Sep 2023 11:00:36 +0000 Message-ID: <87zg1rhd0r.fsf@localhost> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Received-SPF: pass client-ip=185.67.36.66; envelope-from=yantar92@posteo.net; helo=mout02.posteo.de X-Spam_score_int: -43 X-Spam_score: -4.4 X-Spam_bar: ---- X-Spam_report: (-4.4 / 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_DNSWL_MED=-2.3, RCVD_IN_MSPIKE_H5=0.001, RCVD_IN_MSPIKE_WL=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: , Errors-To: emacs-orgmode-bounces+larch=yhetil.org@gnu.org Sender: emacs-orgmode-bounces+larch=yhetil.org@gnu.org X-Migadu-Flow: FLOW_IN X-Migadu-Country: US X-Migadu-Spam-Score: -6.63 X-Spam-Score: -6.63 X-Migadu-Queue-Id: 4F91CE2BE X-Migadu-Scanner: mx0.migadu.com X-TUID: kkNjGIMeidxd "Dr. Arne Babenhauserheide" writes: > Hi, I tried to hack a UI together to have simple marking of entries with > priorities and found that multi-byte priorities do not work. > > To reproduce: Set priorities as > > #+PRIORITIES: =F0=9F=87=A9=F0=9F=87=AA =F0=9F=87=AC=F0=9F=87=A7 =F0=9F=87= =A9=F0=9F=87=AA > > Then go on a headline and press S-up. > > Expected: The lowest priority is selected: [#=F0=9F=87=A9=F0=9F=87=AA] > > Actual: Only the first byte of the lowest priority is selected: [#=F0=9F= =87=A9] Try M-x describe-char on any of these emojis. Org mode relies on `string-to-char' to extract the priority char and (insert (string-to-char "=F0=9F=87=A9=F0=9F=87=AA")) ;=3D> =F0=9F=87=A9 So, it is a problem with Emacs. You may report it with M-x report-emacs-bug --=20 Ihor Radchenko // yantar92, Org mode contributor, Learn more about Org mode at . Support Org development at , or support my work at