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 iDQ5ACahz2KJcwEAbAwnHQ (envelope-from ) for ; Thu, 14 Jul 2022 06:52:54 +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 mKuUOyWhz2JsPAEAauVa8A (envelope-from ) for ; Thu, 14 Jul 2022 06:52:53 +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 9E45F3B905 for ; Thu, 14 Jul 2022 06:52:53 +0200 (CEST) Received: from localhost ([::1]:42868 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oBqqK-0006dt-2h for larch@yhetil.org; Thu, 14 Jul 2022 00:52:52 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:38546) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oBqpn-0006dV-Vy for emacs-orgmode@gnu.org; Thu, 14 Jul 2022 00:52:20 -0400 Received: from mail-qk1-x72a.google.com ([2607:f8b0:4864:20::72a]:41606) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1oBqpm-0005As-9a for emacs-orgmode@gnu.org; Thu, 14 Jul 2022 00:52:19 -0400 Received: by mail-qk1-x72a.google.com with SMTP id i2so480685qkm.8 for ; Wed, 13 Jul 2022 21:52:17 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=user-agent:from:to:subject:date:message-id:mime-version; bh=+vhPmutXt8YGjiNbVpnPcdZJ2tcDI101bttMfvEWWTE=; b=Sd9x0/c/adCmQCEPXh5s9ONIykapy1vcI4Xeaa2WtxoP2nj+BDxIJGR/XqC6LyJ8TJ zEJphusclsx8eOUA8hI2PzByKjim5R4mr37HhV2RJiJENqH/gqCRXOWN1Gma4ORAkgaN 3+pYEJN0r7c4Zmxo6AhrZgEBQAlVrrfsZhgguhRWhLZ1U8lnZsFZg3euEc7f2Vz8z8zV qiGdrT/PKLopDYMBwjLQoMGB72veV+vOvjznRHlTlk4M2Cv6SksESNGoKUsW4X7RnsaN 89yw9WPWTChBWY/1ngbwrQvtfgIMGcaSeFLikaJnkSyxGyDkCmvChc6LcgFrbFPnrJv7 9vJA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:user-agent:from:to:subject:date:message-id :mime-version; bh=+vhPmutXt8YGjiNbVpnPcdZJ2tcDI101bttMfvEWWTE=; b=Ury1v7RHeM5cLGLJr0KPFDbaXTOEbFC5el39h08C/l7Bp2yf20xTpzwukRDQuFpqzK c63crDE9F0n/GhkR5gzv8mp3hYpiDfiA8rJDQGWC4gQYGdrqHvxQPI+q/pLzA0AOTexi PLJNIAH6BcFELPxhljIQecbiPsETYbrRXPRf3LVkB6PbvHmNlM5HL0/A095/KgSOHo5T zJpriYAkC3djdbN0Z91K+O5xMsMhdaeBYPKoTAUhn6nWYrTuUjbSwgB8sgMZevo4LYfo 4leYRBmyJxPGfNgiWw8txRf/SfHT4Gk1vSpP9v3jfg4LyMGodwNfBEonR9eFAo1XgOdD GtkA== X-Gm-Message-State: AJIora9jzulhhjfUZa+zyITj6hYGUlXnO1RVPDcqgkw9FX4EkK9prGJW plDbmlmy+5vC1XA0U7m/mi2Z/2hqLH0= X-Google-Smtp-Source: AGRyM1unYG408NIi1mqoL3f9IRwmndYKXcg5ZktyaW+pBjA/WD3SHWZwsGu64PkY12d2e71e2Nx4rQ== X-Received: by 2002:a05:620a:44c9:b0:6b2:1f49:f0f5 with SMTP id y9-20020a05620a44c900b006b21f49f0f5mr4730798qkp.327.1657774336667; Wed, 13 Jul 2022 21:52:16 -0700 (PDT) Received: from nbook ([2601:82:c200:166d:7a0:14e6:e26:75bd]) by smtp.gmail.com with ESMTPSA id v6-20020a05622a144600b0031ecb762677sm673946qtx.66.2022.07.13.21.52.15 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 13 Jul 2022 21:52:15 -0700 (PDT) User-agent: mu4e 1.8.5; emacs 29.0.50 From: No Wayman To: emacs-orgmode@gnu.org Subject: [PATCH] ob-core.el: Fix docstring single quotes [9.6 (9.6-gc66bdb @ /home/n/.emacs.d/elpaca/builds/org/)] Date: Thu, 14 Jul 2022 00:51:47 -0400 Message-ID: <8735f41egz.fsf@gmail.com> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" Received-SPF: pass client-ip=2607:f8b0:4864:20::72a; envelope-from=iarchivedmywholelife@gmail.com; helo=mail-qk1-x72a.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, 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=1657774373; 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:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=+vhPmutXt8YGjiNbVpnPcdZJ2tcDI101bttMfvEWWTE=; b=WbAQQbKEtaIkbDhSw4hEvqnq5pypL14AbImq5gQdsod48Oaj7ODMfVx5g/yfrhYNO1JGHC ME4JQ1iX36ejdCMD9hikEIBat5noncKn6QE7UotyxZqDIyDjtUtw19wZGHWfljIuPXgx95 BPDhoqQbuQffDpJn+D1/WCTairNRpAKV68mEHTRR1YPEhhQVmZFhBdJFwmXgc1ipfmxaCG QRqeaQ1M5c75/zJFdtLtPhGxP5E2EPFiVHpffuiBfKVwt5efCrFCel9GAjSFK3K41MBR8M 10LpwJeE0Rs5M227UqAWiBJ36GLQE5MXlSUIDRx0YSgEP617F8oRxTt47hun+Q== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1657774373; a=rsa-sha256; cv=none; b=NFXGq+PyRbTbBwrqR5FEJqlZNnxWCyPXshL3MLcv3gLUxsq7utF5eW/WKYP2E9IeAwNdDE Yg+i1Q1pNVcSP/JAqP9fdEw/qSzxCZ1/sXeCKY/yD3lQDMmp0RS0duL57HhX8bo4/gcjRY vu5Jdo/bwbT7wBBUA6W6/J3TtP9IYr3UBJdK3NAMPy6D3ZjUBE73I14M3l969M8RYRbUY1 vdnVacBVajO3gj4im8GSecJmMP5e8MNQere4VlvBeu/OA7zY/E6e3SeeH0/SUCTwR0ILQ8 HPz3VMaHxA8fYEhOPualI/qO3ygSq6c3bT7bErGyhzAJbQS3KfngW/Ecjhi+OA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b="Sd9x0/c/"; 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: -5.44 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b="Sd9x0/c/"; 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: 9E45F3B905 X-Spam-Score: -5.44 X-Migadu-Scanner: scn0.migadu.com X-TUID: Y86trw4Oi88z --=-=-= Content-Type: text/plain; format=flowed Emacs 29's byte compiler warns about single quotes in docstring examples. Emacs : GNU Emacs 29.0.50 (build 1, x86_64-pc-linux-gnu, GTK+ Version 3.24.34, cairo version 1.17.6) of 2022-06-28 Package: Org mode version 9.6 (9.6-gc66bdb @ /home/n/.emacs.d/elpaca/builds/org/) --=-=-= Content-Type: text/x-patch Content-Disposition: attachment; filename=0001-lisp-ob-core.el-Fix-docstring-quote-usage.patch >From 6bf0e44615d174281452df57260b0ff591539ffb Mon Sep 17 00:00:00 2001 From: Nicholas Vollmer Date: Thu, 14 Jul 2022 00:37:26 -0400 Subject: [PATCH] * lisp/ob-core.el: Fix docstring quote usage (org-babel-default-header-args): escape syntactic single quote in docstring (org-babel-result-to-file): escape syntactic single quote in docstring --- lisp/ob-core.el | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/lisp/ob-core.el b/lisp/ob-core.el index f1a98b7d0..ac9af5d24 100644 --- a/lisp/ob-core.el +++ b/lisp/ob-core.el @@ -487,7 +487,7 @@ evaluates to a string. A closure is evaluated when the source block is being evaluated (e.g. during execution or export), with point at the source block. It is not possible to use an arbitrary function -symbol (e.g. 'some-func), since org uses lexical binding. To +symbol (e.g. \\='some-func), since org uses lexical binding. To achieve the same functionality, call the function within a closure (e.g. (lambda () (some-func))). @@ -514,7 +514,7 @@ functionality is also supported for default header arguments by providing the header argument multiple times in the alist. For example: -'((:var . \"foo=\\\"bar\\\"\") +\\='((:var . \"foo=\\\"bar\\\"\") (:var . \"bar=\\\"foo\\\"\"))") (put 'org-babel-default-header-args 'safe-local-variable @@ -2627,7 +2627,7 @@ in the buffer." If the `default-directory' is different from the containing file's directory then expand relative links. -If the optional TYPE is passed as 'attachment` and the path is a +If the optional TYPE is passed as \\='attachment and the path is a descendant of the DEFAULT-DIRECTORY, the generated link will be specified as an an \"attachment:\" style link." (when (stringp result) -- 2.37.0 --=-=-=--