From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1.migadu.com ([2001:41d0:403:4876::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms8.migadu.com with LMTPS id ONyeLsuP7WXAjAAA62LTzQ:P1 (envelope-from ) for ; Sun, 10 Mar 2024 11:47:39 +0100 Received: from aspmx1.migadu.com ([2001:41d0:403:4876::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1.migadu.com with LMTPS id ONyeLsuP7WXAjAAA62LTzQ (envelope-from ) for ; Sun, 10 Mar 2024 11:47:39 +0100 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20230601 header.b="OPtc2/h5"; 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" ARC-Seal: i=1; s=key1; d=yhetil.org; t=1710067659; a=rsa-sha256; cv=none; b=B9oLV4jpu1/yRhM6BxBuvppb7yimJTKr0jcDLVL1RusEYheP0EMkG5fwQlIRmI/5SyFwOL LRMGaCf6wFeVL3KOmQKI113vSIaifMRlFuC6LGWWNXSGyzA87U8fJBkVJa9/HFCWJZTcWS MQJ4roR1pbR1I8zJe7pJYgsWWl8ZVlcf+83g1nfGJEWblJ13JlMAOy6Fn+8hv3KIisTRlo Iih2sgYtOJkeyGlwbSwj+FzrGNkmrbJfBzQENFdeRMIwhjuahDqbiw6wXsozgXcWcNn3Bx r5CnTU/MUL4dLuncRgnni0QBZ0molN3oBXROtG/F8+QTmgzHRUhiwaDe9/YgYA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20230601 header.b="OPtc2/h5"; 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" ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1710067659; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to: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=0EexXCShTCD0/K81jsZYSRCTGacXNhEQR+K1qJ86Lvc=; b=f3+oMHmclaHNqCppMwlMXh70X+OCnw5/rDxhiVF1Dl/xmCF/MwiErrH7I7zKx+4BgU5DMD DkTGHTAHlnWIZKyA3DuSr0vIN5YzT0s4szxu2HF6sAVpYFzK7HpZTCSyCLAnlL8vRzqj92 h30wPZJLlwh88jJsAX5wYarGAaa244JE8WV1CN94/1tqE9iauSgpxpIjLEdohFiMLXiUTU Uf+ZtiaJoH/MRpOOL+P51Gx9MBlTM5raOar3hSK02anZcmu8oIEbXWz5/5evXRgC/sM6EB VT4YE3naE4hP5YSMx6ZLbKKq9MRs92ATdH9cJvrPt6CfT2xvs6e6bPyit+FBqw== 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 88C2B8F92 for ; Sun, 10 Mar 2024 11:47:39 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rjGhb-000258-Qs; Sun, 10 Mar 2024 06:46:47 -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 1rjGhZ-00024Q-P7 for emacs-orgmode@gnu.org; Sun, 10 Mar 2024 06:46:45 -0400 Received: from mail-wr1-x433.google.com ([2a00:1450:4864:20::433]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1rjGhY-0002Up-29 for emacs-orgmode@gnu.org; Sun, 10 Mar 2024 06:46:45 -0400 Received: by mail-wr1-x433.google.com with SMTP id ffacd0b85a97d-33e2268ed96so2740743f8f.3 for ; Sun, 10 Mar 2024 03:46:42 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1710067599; x=1710672399; darn=gnu.org; h=content-transfer-encoding:mime-version:date:references:in-reply-to :subject:to:from:message-id:from:to:cc:subject:date:message-id :reply-to; bh=0EexXCShTCD0/K81jsZYSRCTGacXNhEQR+K1qJ86Lvc=; b=OPtc2/h5qkWlJJfxsyw17aS73842gG2Ct4chw7IYEi0nWZz2sWRyrt3FJxayGtlD4D rHLXtSDgu24axJVrme+0funNKOlTqjJKpA+oLyEA0HT/3TgpzQosLPQ2PITjNKckjrWa 9BXpeyb00/0IrtK3wHsHlbElkolBrIbeAre1pA4+dPasgTCg69VSeJ1nd1kWksYBpEVG LKLTC052kYJ0yjbPcOdFcngNEG2dzbgDxs0mzFcq2/LOr7OGUMXTiNXtHUOI5ccmZDv0 hDcj9NRHfUeBkLJwXr3e/Sqv4ls8lkg8eZFDlZ357du/9LEZjkXM9H2a8z9iisD/bWX3 WIMA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1710067599; x=1710672399; h=content-transfer-encoding:mime-version:date:references:in-reply-to :subject:to:from:message-id:x-gm-message-state:from:to:cc:subject :date:message-id:reply-to; bh=0EexXCShTCD0/K81jsZYSRCTGacXNhEQR+K1qJ86Lvc=; b=nQZmjzpQ4PysXIIoroOx87hzUNE8+nE2ADYDs/4R8PWw/L488gpt3aMFclA6m54uk2 AWVnaP8Xeu4YJxeCJ2ZOqti6nLBMcm0A+ExvaMdGIA2TnC6Kb7TBPbHa1bTsUFhrMieX Eo+w7jFYYDpl3EmIeRcMON+M7SIHU/72eRVrnWmb3YM0QagvdcvY9N9BAY6GT3SNrsC3 lVMGYeYrzgfY/wNMsrGZPgpYFXG//NKIptF+RLYpLsn8x7oioM1ZN2omW/v9qIfAtDCP qEr+4ihmUPdz2f/k1hjQ7bMTHmtjYFIIUyr9Iw01/eEHreJ5f6+qwScbvcjiagk2dPnT C0mg== X-Forwarded-Encrypted: i=1; AJvYcCXPml6d1uEje51nIna0f/J7oMIhLUwlYlw600CTEEjm7k4fDZQjrSMz5h8ujWhludSdzkP6x3+md+TtB+OTLACf5ASUHaY= X-Gm-Message-State: AOJu0YwhjcdkGej0FDpb6m5tY9IwiLiKM+lt14oTua6T9UIZiSiF8Shg Wn/zuJ7C+gesKOiFtKpy0dzL7hZ/4S6uDCNvdcbgrpBR0QJf+sf0A/rpTf2R X-Google-Smtp-Source: AGHT+IGXWRVDy0w9p/gfm7J8tbsW8qhf1l3GM7sBA7xf2qr7eRaRNR2fetSNHfC4S2GlJPzjLvfBGQ== X-Received: by 2002:adf:ce0c:0:b0:33e:d27:4ed3 with SMTP id p12-20020adfce0c000000b0033e0d274ed3mr2741521wrn.64.1710067598595; Sun, 10 Mar 2024 03:46:38 -0700 (PDT) Received: from keynux ([2a01:e0a:505:3460:1c18:688d:ece4:372e]) by smtp.gmail.com with ESMTPSA id by19-20020a056000099300b0033e8c50fc3fsm1585202wrb.90.2024.03.10.03.46.37 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 10 Mar 2024 03:46:38 -0700 (PDT) Message-ID: <65ed8f8e.050a0220.361f9.46ed@mx.google.com> Received: by keynux (sSMTP sendmail emulation); Sun, 10 Mar 2024 11:46:36 +0100 From: Bruno Barbier To: =?utf-8?Q?S=C3=A9bastien?= Gendre , Org Mode List Subject: Re: How to get in-buffer setting from Elisp code In-Reply-To: <87bk7mer6r.fsf@k-7.ch> References: <87bk7mer6r.fsf@k-7.ch> Date: Sun, 10 Mar 2024 11:46:36 +0100 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::433; envelope-from=brubar.cs@gmail.com; helo=mail-wr1-x433.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 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_FROM=0.001, MSGID_FROM_MTA_HEADER=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-bounces+larch=yhetil.org@gnu.org X-Migadu-Flow: FLOW_IN X-Migadu-Country: US X-Migadu-Scanner: mx10.migadu.com X-Migadu-Spam-Score: -8.31 X-Spam-Score: -8.31 X-Migadu-Queue-Id: 88C2B8F92 X-TUID: 6FxY5T2HbRdW 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