From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2.migadu.com ([2001:41d0:403:4876::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms13.migadu.com with LMTPS id 7+qRJaRO8GacEQEAe85BDQ:P1 (envelope-from ) for ; Sun, 22 Sep 2024 17:06:44 +0000 Received: from aspmx1.migadu.com ([2001:41d0:403:4876::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2.migadu.com with LMTPS id 7+qRJaRO8GacEQEAe85BDQ (envelope-from ) for ; Sun, 22 Sep 2024 19:06:44 +0200 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=posteo.net header.s=2017 header.b=QRZwjsob; 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=pass (policy=none) header.from=posteo.net ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1727024804; 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=24z9laYB4oHmefeQccRkW1+3Wnn1FODA1HcADNYR5tg=; b=V3VKDjkvTS1LS/kBxBKEdOUaFOCdRAavsknJ1tPpiM/sZf0bNX2wzT74aiSyQCwjUAxnNZ hyubH8H0ve4DqMRP3f8y2d+ByQi6NgfF5GtWACH/4LzGr3dcjlY0idelYVCFYqK+G7bW7g NPgrUiftBVA73WfJCbtghMR32Tmi2OpWXOStdTtcGIqBPIDrofrAzdF9dLYzpQSkWvGmgd Qe+mEbsocJo4SmiKvYkvXXwI4YWnkeGDXQOptFcXcxiDNbPg1M5USIuO/F9X+1qIwzQewi 6tfhWQ6COTSWQz49YsRzdS47mN/w93tPEC260ykty0kFk4TN8wtCI/eK7G6bBw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=posteo.net header.s=2017 header.b=QRZwjsob; 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=pass (policy=none) header.from=posteo.net ARC-Seal: i=1; s=key1; d=yhetil.org; t=1727024804; a=rsa-sha256; cv=none; b=VSCcpws68YWOFfAd0ePKqR3xVY8Ljrnt7ek1KHAdjHHm8Gj+CNcSrye4+vt8YZ3bDf5cIT boy1skTgfq3GohPrgxjeY/yBeawDCATIpX8T+/zlDYXgTy6jVO7JtqM2Mom8K6Ax7s0ow+ J6Yh+iGcC1FTTqa/2FmRZXfmjNdSfv8kd7tMPcME6L+CRQCGJzBhxL1WDTMol7eYe7USmh pBNryEq54oCM9jraq92Of04v3aWW+dxr3HCC6Zm1mnWZl2sf8nwmklL0Zx9PAOXJCJX0o0 S8ljcZBoXR/WU6KA3So8UKCaCxp3o9YOw9IUD30KcQqd2648hjeHrQ+ccEqMBQ== 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 468E971514 for ; Sun, 22 Sep 2024 19:06:44 +0200 (CEST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ssQ2L-0003r4-AU; Sun, 22 Sep 2024 13:06:17 -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 1ssQ2H-0003ql-7x for emacs-orgmode@gnu.org; Sun, 22 Sep 2024 13:06:13 -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 1ssQ2E-0005Gw-OT for emacs-orgmode@gnu.org; Sun, 22 Sep 2024 13:06:12 -0400 Received: from submission (posteo.de [185.67.36.169]) by mout02.posteo.de (Postfix) with ESMTPS id 2D206240101 for ; Sun, 22 Sep 2024 19:06:08 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1727024768; bh=T7evUIwblDRj3484HpLuh9ZJyMuJi6SWbGIj7sJxBeI=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version:Content-Type: From; b=QRZwjsobmVgnFSnoMiSBX9vWQ/7ebDnD+MKinVLf/Dlm9jL+Dytwcsq6bJOOoaTyY GgVaMaGg0zMUbiUHKQSovYMTpVAJPqmMZgZ8BkizF50TYU1dXFRkATJKbUIRF06JOT kQxx/aillGRHPyFXjQhbLeF7iHMG/8/uxHBsO3rIGuGab6p8okC0I1b3yAvBsm044e hL8l1q/9DdD7lfrEHPqaOnW7ILPt6wcTkM07Ygq8kXVMWxeu39q+jwqXyX/bx1izn5 adUxPIMD5A1S6VnQfpQkczAO5GDO8EdUkwltr285/Y0xd7sWw7VyHNJtHjSv1RA3rH DbgD4NbkL+d9w== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4XBXZl2bVTz6twP; Sun, 22 Sep 2024 19:06:07 +0200 (CEST) From: Ihor Radchenko To: mbork@mbork.pl Cc: Org-Mode mailing list Subject: Re: What is the difference between :raw-value and :title? In-Reply-To: <87mskcgpjj.fsf@mbork.pl> References: <87mskcgpjj.fsf@mbork.pl> Date: Sun, 22 Sep 2024 17:07:43 +0000 Message-ID: <87ikunpqg0.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: -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_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, RCVD_IN_VALIDITY_CERTIFIED_BLOCKED=0.001, RCVD_IN_VALIDITY_RPBL_BLOCKED=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: -4.31 X-Spam-Score: -4.31 X-Migadu-Queue-Id: 468E971514 X-Migadu-Scanner: mx10.migadu.com X-TUID: 3yLA9hXr8g18 mbork@mbork.pl writes: > I am reading the Org element API docs and I don't understand the > difference between :raw-value of a headline and its :title. I performed > a few experiments with putting various things in the headline > (timestamps, links, markup) to find a case where these two differ, but I > could not. > > The :title is described as a "secondary string". What is a "secondary > string"? Maybe if I knew that, I would understand the difference...? Check out "secondary nodes" in lisp/org-element-ast.el comment. TL;DR: Secondary string is a parsed Org markup, as an "anonymous node" (list of Org markup objects). For headings, things are a little tricky though - while :raw-title always contain unparsed "raw" title text, :title may, depending on the parser mode, either be a copy of :raw-title or contain the parsed secondary string. -- Ihor Radchenko // yantar92, Org mode contributor, Learn more about Org mode at . Support Org development at , or support my work at