From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp12.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id uCZ/M9b1z2Jm9AAAbAwnHQ (envelope-from ) for ; Thu, 14 Jul 2022 12:54:14 +0200 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp12.migadu.com with LMTPS id MDhkM9b1z2I1ewAAauVa8A (envelope-from ) for ; Thu, 14 Jul 2022 12:54:14 +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 8CFA4B565 for ; Thu, 14 Jul 2022 12:54:14 +0200 (CEST) Received: from localhost ([::1]:38054 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oBwU1-0006VG-8w for larch@yhetil.org; Thu, 14 Jul 2022 06:54:13 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:40002) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oBwSW-0006SI-KO for emacs-orgmode@gnu.org; Thu, 14 Jul 2022 06:52:41 -0400 Received: from mail-wr1-x434.google.com ([2a00:1450:4864:20::434]:33621) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1oBwSV-000755-6l for emacs-orgmode@gnu.org; Thu, 14 Jul 2022 06:52:40 -0400 Received: by mail-wr1-x434.google.com with SMTP id h17so2085028wrx.0 for ; Thu, 14 Jul 2022 03:52:38 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:cc:subject:in-reply-to:references:date:message-id :mime-version:content-transfer-encoding; bh=kn2mw4kibIQa8O70FDS8x+9THfwp04Kmkis8dszXBSQ=; b=iJeZDtNzno7NVjMpGmxe2cwYt4JOoe0Rg6Uch2fTLtEDiEWNtFETycc4P02o/N1ZwK S2jlFKcKId9gJYQdpJemnw8Ip22JP5LthOTe49RLghzaI98jqPoSkWGZjrCGnvFLKK6Y flLGD85L8lMDNA8ig3TMw+hVaT5sm+IQwgDbh4xEHtq0YBpw7FHBIzHLeWS9KUhZqZNR 8gMyRVFwP0MOE+eZBE4lwxtSagiIT3Wf9KhL+u+D3BemiQl7w3VwEDJiyMx5y7HGdFmA J8Pq7whrLQLQFu60lXs5mOrADA3G7k/PfbCIwZMeJ7HMimQ65o+VooT/NhoaSuaCSGWl 6HdQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:in-reply-to:references:date :message-id:mime-version:content-transfer-encoding; bh=kn2mw4kibIQa8O70FDS8x+9THfwp04Kmkis8dszXBSQ=; b=w8lg5UlaEf0lYyO+4vt+nTF18I8Vy1O4HPPydj4WnwqtOcL5LzYfJ2SGcZ43nc5iqG ttQwyscMuuAAX4mlQHlA2O4yMKEF6cMoIAneaGgh72lPCRMJsvq3Qtb5NNoWSlEv/oKu 5C51AChDGHpUgkwLJTwvfbPtWMIOy2648yid/qA1xOEYg2BSn5fd7wIk9AXWx7Qz6uze fSHI75ZpX5gzFGXPryCoSwGO7lENmp0aUzo+guoJIB0Lo43PDf1VtVldVx6vVdqaofNQ Tzvum56G3Q+08Xr11495+GqoT7nELmWIRt5kb0bG0XBnYufDKZkk9tSLTBLZimcIqJVO S0og== X-Gm-Message-State: AJIora+CF9lW3m4WwV7Li6VMCs2y+VH4kpTn9G0oz1tYpH4z16OYGCnw cNuejW+zYAfBbZrD350+sRTGscORTllYkhC9o04= X-Google-Smtp-Source: AGRyM1tcWyVVkouA9x7l0R136TaIqCB994XrF7yKewts2aGLZSO08+ziXzIEOFUP+3bapLOBGImyMg== X-Received: by 2002:a5d:6288:0:b0:21d:6c75:82 with SMTP id k8-20020a5d6288000000b0021d6c750082mr7612916wru.218.1657795957284; Thu, 14 Jul 2022 03:52:37 -0700 (PDT) Received: from localhost ([2409:8a70:2bd:4d0:8ec6:81ff:fe70:339d]) by smtp.gmail.com with ESMTPSA id w9-20020a05600018c900b0021dac657337sm1162389wrq.75.2022.07.14.03.52.35 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 14 Jul 2022 03:52:36 -0700 (PDT) From: Ihor Radchenko To: emacs@vergauwen.me Cc: Emacs Orgmode Subject: Re: [Question]: Parsing attribute string In-Reply-To: References: Date: Thu, 14 Jul 2022 18:53:40 +0800 Message-ID: <87lesw2cej.fsf@localhost> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Received-SPF: pass client-ip=2a00:1450:4864:20::434; envelope-from=yantar92@gmail.com; helo=mail-wr1-x434.google.com X-Spam_score_int: -18 X-Spam_score: -1.9 X-Spam_bar: - X-Spam_report: (-1.9 / 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, FREEMAIL_ENVFROM_END_DIGIT=0.25, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 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" X-Migadu-Flow: FLOW_IN X-Migadu-To: larch@yhetil.org X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1657796054; 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=kn2mw4kibIQa8O70FDS8x+9THfwp04Kmkis8dszXBSQ=; b=nkx0Y3ef+U1th14viob0exQ5+wvrWHHAnUAiMP4nyOvJ3tKXasfDWiWy8gszdjU48LQ4DO AY4O6pqTK8ruEXjgBCN+m3IdEA2Zye5QG80EzMW+fv/oR0lZq4B02huN3VcggmxZZ3Nnhm 5y4QzepIO4BA6xRfr7Z4e+bXBJAPRxBJiCxEJHNnhwNHngoDKeicr2mJynT+UeviPNAi6I /6CG5CTdtMCVFqcdq3Y5pKtHShM/+KCgQzwCfsYiNfEggMF2CVnQyx+P2DfXesavrqXBvY kVKlLhNiSNDtSSypUT9y9KqCl852zKruiEqfANxFYoHvCfTr20MO+FBQ/pvGxA== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1657796054; a=rsa-sha256; cv=none; b=H+VtHtoFJRZjstJCi/sv05VkbDBMNFQQ5sT9AbXKSjouW4zxoYDIeK5QFZQcZpgF95oyxb poDZ+g01RQFvXaGPCkfWOLq/DhvxYnzX1HW5Ks8+kS8xFTK6K2yyETbgeLeRLHa3AyN1tt fJ/ga2twDSdUjzejpAhEdhd/cxVWlWgTE5i9eF6jtIqaWNrjmuVok9dQlTQsE/AV3XTUr2 VH1tZCln2KwQh2D77AAtSFlvuW3yO8JAa00yqviBH8ZUO6x+lASdp0+58EgBRdJpYp9cHU ANnkR6BfRDsRrXH9emPO/ZJJd9VyNyUHMgle0lNCFYxP+S3y9vtBGYC0+mgEwQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b=iJeZDtNz; dmarc=pass (policy=none) header.from=gmail.com; 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: -8.25 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b=iJeZDtNz; dmarc=pass (policy=none) header.from=gmail.com; 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: 8CFA4B565 X-Spam-Score: -8.25 X-Migadu-Scanner: scn0.migadu.com X-TUID: Ni0D/fgeWpmc emacs--- via "General discussions about Org-mode." writes: > I have a quick question about parsing a string containing attributes. > My string has the following form > (setq my-string ":caption the caption :label fig-1 :width 10cm :something= this is an extra option") > I'm looking for a function which produces an alist or plist with the opti= on value pair. > (:caption "the caption" > =C2=A0:label "fig-1" > =C2=A0:width "10cm > =C2=A0:something "this is an extra option") org-babel-parse-header-arguments