From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp12.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 VRmANzJTtGQAVQAASxT56A (envelope-from ) for ; Sun, 16 Jul 2023 22:29:38 +0200 Received: from aspmx1.migadu.com ([2001:41d0:403:478a::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp12.migadu.com with LMTPS id gLWxNjJTtGSLWQAAauVa8A (envelope-from ) for ; Sun, 16 Jul 2023 22:29:38 +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 0EF475ABC8 for ; Sun, 16 Jul 2023 22:29:38 +0200 (CEST) Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=posteo.net header.s=2017 header.b=nSfT25Rz; 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=1689539378; a=rsa-sha256; cv=none; b=bLnlipIlr39Uuer4ch1xCnyhm4nBMA0sbLshUtE9MXAlrN8lNxchB/xXFtkbbKkn7tf0Ih SO39j2sJEweTLC4fqi5xfZwFra166/pIf/CQHsVkKU0+8Yoo2iSGVkM0g3KS1WpQnq79Xo CFUs9XTSuN+g93nCOQ7UQwwKpyFvt5BI40RClt4/lC12D7DP0k/ZS9Bg9TeUlo7MVa83bv CUtJ+gChrAr8aQkDSCeB5QuayjBkmeWepLE6UCZwcOSpM7Y6LmXKMllgbRSE42WKWNpkuT RBco62SvDpejAoL71RHx/zqlZDSZYgMCASwKs8zfIVACaAbngAtGPb9suOPj2w== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=posteo.net header.s=2017 header.b=nSfT25Rz; 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=1689539378; 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=s8mea620Pry6ylwqLIKVhdFxBuYXssOdY1gozy/i8h4=; b=rEt1lIsBFW78uJKWDEfQe6Lr7aeJKKx63vaks5aGB8xKIcASOI1Aa5VZRBj0RgPn16kNqb jCWNNMrlGfIk+FgBuy8RTVutmRtUgJ4q1zT6BEJEaAHzKTg7mH1UAF2ZSBTP1QBmIXwBI4 o7YD48qw315BC8ZnlUOoLp+Sgj7RACPmhSMcs1U58gfBhaESvPIuLCQiePeVdYMdolR+qI 8DpLztTznpP+gfmBWfLpKq08cCw7gN9ztJkkOE+o9B2isY+v43qZaXUIYdVUU1AMkufys9 +0yxfdG2i44U2pJOVWFk1Aso9XjilTF6EwEJJGUOsfB7QWGI6pw3dI/5P4fEfg== Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qL8MQ-00074M-VB; Sun, 16 Jul 2023 16:28:54 -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 1qL8MO-000748-Qy for emacs-orgmode@gnu.org; Sun, 16 Jul 2023 16:28:52 -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 1qL8MN-0001aJ-3f for emacs-orgmode@gnu.org; Sun, 16 Jul 2023 16:28:52 -0400 Received: from submission (posteo.de [185.67.36.169]) by mout02.posteo.de (Postfix) with ESMTPS id AC9B5240103 for ; Sun, 16 Jul 2023 22:28:48 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1689539328; bh=GIvMtK0F9rX9C4tBXCCEHzSiCLtMLMF2M/a+on7mxsA=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version: Content-Transfer-Encoding:From; b=nSfT25Rz8NRoQGrhAUngDkWZeSNxnpMCtPeRPwP+0SlLULVSqgvJVBkn0OGRu7qLA MX2ZBlx7/LPbNtjS4qPXtkyv+hxZafvDi//4kkH0deiGbV0FHUXL22dWYaU4B2vud5 inW8Qk2en2FvwwLSF3UT7sVrsNoUCjwnynuszHaetQod9RPSLY3j+mqJRh+4OkAtMZ TJ/qksPJTS8tHxDZq5OOUvb44rZAQQARlNpioEBskPF3LizqgbmJoXdZdWAzharOiu uVanTTtGAQuOyJnU3Fgr5Um7vlhqCeU5WMPFckp9y7O1Dok09uBMHibsgJe/h+YW7x WxlEt2rs0l4fg== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4R3xcw0VMRz9rxP; Sun, 16 Jul 2023 22:28:47 +0200 (CEST) From: Ihor Radchenko To: Ypo Cc: Org-mode Subject: Re: org-bibtex manual In-Reply-To: References: Date: Sun, 16 Jul 2023 20:28:57 +0000 Message-ID: <87edl71tyu.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: -53 X-Spam_score: -5.4 X-Spam_bar: ----- X-Spam_report: (-5.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=-1, RCVD_IN_MSPIKE_WL=-0.01, 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-bounces+larch=yhetil.org@gnu.org X-Migadu-Flow: FLOW_IN X-Migadu-Country: US X-Migadu-Scanner: mx0.migadu.com X-Migadu-Spam-Score: -5.09 X-Spam-Score: -5.09 X-Migadu-Queue-Id: 0EF475ABC8 X-TUID: CSdDUcxfPOmK Ypo writes: > I would like to customize the name of the heading. I think it should be=20 > customized this function: "Org Bibtex Headline Format Function". > > Is there a guide to do this? > > I can see the default is: > > #[257 "\300.\236A\207" > =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 [:title] > =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 3 "\n\n(fn ENTRY)"] > That's a bit misleading because of compilation. The original code is (defcustom org-bibtex-headline-format-function (lambda (entry) (cdr (assq :title entry))) "Function returning the headline text for `org-bibtex-write'. It should take a single argument, the bibtex entry (an alist as returned by `org-bibtex-read'). The default value simply returns the entry title." :group 'org-bibtex :version "26.1" :package-version '(Org . "9.1") :type 'function) I should factor out that lambda into a separate readable function name, like `org-bibtex-headline-from-title'. --=20 Ihor Radchenko // yantar92, Org mode contributor, Learn more about Org mode at . Support Org development at , or support my work at