From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp12.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id oPQjGtpQ0WPAVAAAbAwnHQ (envelope-from ) for ; Wed, 25 Jan 2023 16:55:06 +0100 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp12.migadu.com with LMTPS id 2NbhGdpQ0WN43wAAauVa8A (envelope-from ) for ; Wed, 25 Jan 2023 16:55:06 +0100 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 ED71224C5 for ; Wed, 25 Jan 2023 16:55:05 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pKi6N-0000sh-EW; Wed, 25 Jan 2023 10:54:19 -0500 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 1pKi6L-0000r1-L2 for emacs-orgmode@gnu.org; Wed, 25 Jan 2023 10:54:17 -0500 Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pKi6L-0006Vl-BZ; Wed, 25 Jan 2023 10:54:17 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-Version:Date:References:In-Reply-To:Subject:To: From; bh=jPDy2rs+d/cd2G6ROeRuIJoMLsC7+Cj+WUmq0UuuTnY=; b=L35k2CotPAkelLssQMVT axUQPwEdykIulTIAtWaOs6FPzh6+yyA9wvpdqrX9yMa9JK1KCrJBPUXDio3D7XVifDpL3n/JcHNYb GvNODf41FYcIbUCDdpKB4mJCk7dHnfBG5AfV+y/5WUPI5vbbsXNycqo3NndoHid4RLt4MMBoerE4m FsEKe+72az5z+GB4obReDdP215RILO7CSsDbETrjAXeKV9Q2ijFA1jPrK3VSYNe1+PBCmw7Hb7uX4 3Id1V55AnpXvGJ4xgk+xkQBFpccefftV2ZShowXnNo7kDFcVO1Ylk3A+TbY2Dn171Hozjm++4zo9k dVW8kDlobHEJ3A==; Received: from pd9fb7ab6.dip0.t-ipconnect.de ([217.251.122.182] helo=MUTANT) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pKi6K-0004Gl-QT; Wed, 25 Jan 2023 10:54:17 -0500 From: Arash Esbati To: Ihor Radchenko Cc: emacs-orgmode@gnu.org Subject: Re: [PATCH] Fix one remaining emacs-30 byte-compile warning In-Reply-To: <87r0vin7vi.fsf@localhost> (Ihor Radchenko's message of "Wed, 25 Jan 2023 11:58:25 +0000") References: <86h6wgmgb6.fsf@gnu.org> <87r0vin7vi.fsf@localhost> Date: Wed, 25 Jan 2023 16:45:31 +0100 Message-ID: <86tu0ety78.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/30.0.50 MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" 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 ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1674662106; 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=jPDy2rs+d/cd2G6ROeRuIJoMLsC7+Cj+WUmq0UuuTnY=; b=j3akZvL5nH9Uwpinh7t7+KZhEhgIeErKwKxMAlW2Uh9e4PyKHhZL1fTKBgXD1Ylz/yXQnG SqqVzQU4diVtpn6PgAgn1e3/9nI8UzoWtwJBcBOOESc9ZQ5k2agq7CYbSlDLFnUwzCpk+x BjZIxTAIQMqDEmdEzgb8fP4BwzV6cZcwoaJAAO0dM/WnmU07cXg3x4M7jgBdxRWYPtjc/5 tT+tuQoWSmjSSKH1ZWpC/v8U1ZFxHHy7Os4jrkb3Sjjs8ABfhma3jygCMCghpFb3gdiDVC 2qNRy5jUfHE0DDysfRIgusNt9hR/8R8b65pFg3XcoyyGxJKOpQiSfTN8piq+Qg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=gnu.org header.s=fencepost-gnu-org header.b=L35k2Cot; 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=gnu.org ARC-Seal: i=1; s=key1; d=yhetil.org; t=1674662106; a=rsa-sha256; cv=none; b=AwlOuSMWng/1asN8iv9/FSKV4kOENzS1iseZx48DXL8q7x6RQhJuNdWK6p+rzpAji6C0mO 9pSeKZcbjc2Vmde2HPBqrAnLnDwfriqeNKmdBr+F50WG7yNpbqnsafbYL84DFT8l/nabW0 OqEeLWR/l2sVq703XQnPV0CHD+mMHQmFPORLYKqdzvdnCv3KyQL6sxr3eG4Q4asrHgWELO Xcz+9IVBARABUKBKZQ/lSn9swU6lsSOD0P+8L0xgQgyInGgz3T05eiORy3hb+xWRi3XYK0 tIxDMQ5N3TlHjL/Q4xJSlknQON8tJznpGEyMu3sgu8RkfvScLiSye768U3yS8A== X-Migadu-Scanner: scn1.migadu.com Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gnu.org header.s=fencepost-gnu-org header.b=L35k2Cot; 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=gnu.org X-Migadu-Spam-Score: -7.55 X-Spam-Score: -7.55 X-Migadu-Queue-Id: ED71224C5 X-TUID: G6/tdnlR5iHb --=-=-= Content-Type: text/plain Ihor Radchenko writes: > Could you please write a full patch with commit message? See > https://orgmode.org/worg/org-contribute.html#first-patch Thanks for your response. I hope I've got it right. Best, Arash --=-=-= Content-Type: text/x-patch Content-Disposition: attachment; filename=0001-lisp-ox.el-Pacify-compiler-warning.patch >From c550ed05d29cf163c286cffc328e5860423c7cde Mon Sep 17 00:00:00 2001 From: Arash Esbati Date: Wed, 25 Jan 2023 16:34:42 +0100 Subject: [PATCH] lisp/ox.el: Pacify compiler warning * lisp/ox.el (org-export-to-buffer): Escape single quote in the example given in docstring. Add missing '.' after the abbreviation. --- lisp/ox.el | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lisp/ox.el b/lisp/ox.el index ebf89bb..4c84686 100644 --- a/lisp/ox.el +++ b/lisp/ox.el @@ -6683,14 +6683,14 @@ see. Optional argument POST-PROCESS is a function which should accept no argument. It is always called within the current process, from BUFFER, with point at its beginning. Export back-ends can -use it to set a major mode there, e.g, +use it to set a major mode there, e.g., (defun org-latex-export-as-latex (&optional async subtreep visible-only body-only ext-plist) (interactive) (org-export-to-buffer \\='latex \"*Org LATEX Export*\" async subtreep visible-only body-only ext-plist - #'LaTeX-mode)) + #\\='LaTeX-mode)) When expressed as an anonymous function, using `lambda', POST-PROCESS needs to be quoted. -- 2.39.1 --=-=-=--