From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2.migadu.com ([2001:41d0:403:58f0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms8.migadu.com with LMTPS id eF6xCYCc7WUG1QAAe85BDQ:P1 (envelope-from ) for ; Sun, 10 Mar 2024 12:41:52 +0100 Received: from aspmx1.migadu.com ([2001:41d0:403:58f0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2.migadu.com with LMTPS id eF6xCYCc7WUG1QAAe85BDQ (envelope-from ) for ; Sun, 10 Mar 2024 12:41:52 +0100 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=none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1710070912; 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; bh=6j0VydBkSP5Gf7ix7l4aploH2bgmcaaGE51XtbVL/2s=; b=jedc1s1XizGmtb99YoHhLfArYDouNK97ituXmy/8IFy8pfliy7EKOSWOxs31XHS2dWWImi q4AgEPfAwFyqJ+MeNzL8toC5vJ2KX0ecnhynlKAPlWWSbv+vGBMqaqjloMxRZvXJtOhcal TKuDTvKZemdHYJLD2XQ/39myjkfPUZpe9IyjtuSVXpqYuM5zWbnbPlXM8FRyMBXjoZpvIC oV6bebI0Ez+nNmfyj/rM1gnTXoeC3vfURKHeC6O8BRw68ie4CMHKnKy37DuSjKRHQDtdgh wyTZvwfq86a2tui8xoAjgOVEL5LtaaMthQlZrZS3erR4dftLzUTDKH8rDSWxig== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1710070912; a=rsa-sha256; cv=none; b=AxmyNQ1Y0AJUwztttEdwja8JjVU5OzMnLJP4FY9m0dVWnHsT1ch7DHgXa02FFlstwCelQ7 D2mwkCIsHxaWJBIgVTNFxzr2NE4yIRIbrxJwzf9tgd/BOcqs9HUW+EqhMYkNS75IUn+YFR 9CNUdE/Q1H9N88YT6bdapQhL7qe/Wvg0ADOFE7ekRW6rxZWPU/zUZXokRgraTN9KW6IPAL Y+nSwdb28vGKAKslSXvVaO3o6RpwL5VrnVoi7F/tyfRcyFXwKmUlbIqW22UZH3wcBbRpL5 U8JRg/pJ5etL31fhBbGL+7UzyCAgVy/j4EFlMdQsdxn+OVwkPKWmh59Lv0tXhg== 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=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 AC50846F3D for ; Sun, 10 Mar 2024 12:41:51 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rjHY2-000586-GK; Sun, 10 Mar 2024 07:40:58 -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 1rjHY1-00057x-3F for emacs-orgmode@gnu.org; Sun, 10 Mar 2024 07:40:57 -0400 Received: from 96-100-31-185.ftth.cust.kwaoo.net ([185.31.100.96] helo=k-7.ch) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1rjHXw-0002a4-1F for emacs-orgmode@gnu.org; Sun, 10 Mar 2024 07:40:56 -0400 Received: from van (_gateway [192.168.1.1]) (Authenticated sender: seb) by k-7.ch (Postfix) with ESMTPSA id 3E1BFE810D; Sun, 10 Mar 2024 12:40:46 +0100 (CET) References: <87bk7mer6r.fsf@k-7.ch> <65ed8f8e.050a0220.361f9.46ed@mx.google.com> User-agent: mu4e 1.10.5; emacs 29.2 From: =?utf-8?Q?S=C3=A9bastien?= Gendre To: Bruno Barbier Cc: Org Mode List Subject: Re: How to get in-buffer setting from Elisp code Date: Sun, 10 Mar 2024 12:39:35 +0100 In-reply-to: <65ed8f8e.050a0220.361f9.46ed@mx.google.com> Message-ID: <87jzmaco1u.fsf@k-7.ch> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Received-SPF: pass client-ip=185.31.100.96; envelope-from=seb@k-7.ch; helo=k-7.ch X-Spam_score_int: -8 X-Spam_score: -0.9 X-Spam_bar: / X-Spam_report: (-0.9 / 5.0 requ) BAYES_00=-1.9, RDNS_DYNAMIC=0.982, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001, TVD_RCVD_IP=0.001, T_SCC_BODY_TEXT_LINE=-0.01 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-Flow: FLOW_IN X-Migadu-Country: US X-Migadu-Spam-Score: -5.87 X-Spam-Score: -5.87 X-Migadu-Queue-Id: AC50846F3D X-Migadu-Scanner: mx11.migadu.com X-TUID: dVjPV6wioPf3 Hi, Thank you for your reply. I talk about the Org-mode In-Buffer settings: https://orgmode.org/manual/In_002dbuffer-Settings.html Bruno Barbier writes: > Hi S=C3=A9bastien, > > S=C3=A9bastien Gendre writes: > >> Hello, >> >> How can I access to an in-buffer setting value, from Elisp code=C2=A0? >> > > IIUC, they are called "Buffer-Local Variables". > > Using 'buffer-local-value' should give you the value of a variable in a > buffer. > > See the manual for more: > (info "(elisp) Buffer-Local Variables") > > > Bruno