From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp10.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 EJJoBGqLqGIE5AAAbAwnHQ (envelope-from ) for ; Tue, 14 Jun 2022 15:21:46 +0200 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp10.migadu.com with LMTPS id 6LBjA2qLqGJp6wAAG6o9tA (envelope-from ) for ; Tue, 14 Jun 2022 15:21:46 +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 8D64018B10 for ; Tue, 14 Jun 2022 15:21:45 +0200 (CEST) Received: from localhost ([::1]:39124 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1o16UJ-0001j3-N4 for larch@yhetil.org; Tue, 14 Jun 2022 09:21:43 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:35050) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1o16St-0001hz-Ua for emacs-orgmode@gnu.org; Tue, 14 Jun 2022 09:20:16 -0400 Received: from mail-pf1-x429.google.com ([2607:f8b0:4864:20::429]:42540) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1o16Ss-00035P-Bt for emacs-orgmode@gnu.org; Tue, 14 Jun 2022 09:20:15 -0400 Received: by mail-pf1-x429.google.com with SMTP id 187so8538207pfu.9 for ; Tue, 14 Jun 2022 06:20:13 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:cc:subject:in-reply-to:references:date:message-id :mime-version:content-transfer-encoding; bh=O02WU9Ngvn2JMCG1OhRyw8BzjQis41ixgLWzVoY+HaM=; b=DQId7sX1AkkuLjLO28Xk7zdCXQjBXFlqWtHGtsYRt0lOkqJYUu5kXw9qdnzMJ2Klu0 orief3xztnhOB5FoBR6mliBzMaIkuvMhSldWOGUyZQkw62z2MYDlRBA24PCqr9PxrzWf J2GqjvTGTtPiag8NsXsF8dXqNBiHHI3oyEc2ji7hcatA5xhcozE2E7lLrdcxuBXUe9Q7 OTyEEvaYXqg5X3p3uwE/3wvNjfNvGECIPpX17viJxTOlG9v9MYsGI3qWjwPQm6ad6d2I Pb6ZDDVVmSD4rt2m3034QqxSCkhBvO4mbnlVSW3enlpgWkpJrt8cTXg9GThwugPPiU7g Zfrw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:in-reply-to:references:date :message-id:mime-version:content-transfer-encoding; bh=O02WU9Ngvn2JMCG1OhRyw8BzjQis41ixgLWzVoY+HaM=; b=3O5eZyrRXV1b0Ym9caBvcg8G2N0ppA+7Olbzd2DXW0Ec6JzcbAzUIK/AhAZMU3etmb +GdspFfZ9sS3v92YY1HM/fMQ7HUWBiKug52SBACay8aGW0CrkpvNki56Sf6yBfSgk0r2 r6Sl80n1GMqmm86R4IpXj66K6plsxMQkaw2/2+ogyPiSfCGmK5XT6BLokf0/yI/pLCDy ln03NxyrnWVYq29o+v7JklVwueY0S9PKP8MuMUL1LNvuXxFZUFhctj0YMmTNFe3ePGYs FeNpOVm6SAew1Xaqa9TD335NZI6ixDkEy2ZBZ4ep0kzV93ksb30FWSxGXn/qGL367Ce3 coiw== X-Gm-Message-State: AOAM530y0shvjiAddaLmuUgE8DrxdZEVSbBXHbihfETRn7sQ3E7xEoen yMWG4MqX2e205jqY1XY1g04= X-Google-Smtp-Source: ABdhPJxz/3B1qvZHoPTjxmxnF6UHKHvaSgCq6KS+dE3lDtFXcAA4ZuZtZcU4iacPHBUxjT7tNVrYlg== X-Received: by 2002:a62:a516:0:b0:505:722e:15d5 with SMTP id v22-20020a62a516000000b00505722e15d5mr4791441pfm.52.1655212812670; Tue, 14 Jun 2022 06:20:12 -0700 (PDT) Received: from localhost ([155.94.207.39]) by smtp.gmail.com with ESMTPSA id e17-20020a637451000000b003fb0354c43asm7711278pgn.32.2022.06.14.06.20.10 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 14 Jun 2022 06:20:12 -0700 (PDT) From: Ihor Radchenko To: sebastien.miquel@posteo.eu Cc: emacs-orgmode Subject: Re: [PATCH] org.el (org-format-latex-header): put DEFAULT-PACKAGES before PACKAGES In-Reply-To: <08a42351-1f4f-b0ed-ae68-63d08d9f7c06@posteo.eu> References: <08a42351-1f4f-b0ed-ae68-63d08d9f7c06@posteo.eu> Date: Tue, 14 Jun 2022 21:21:21 +0800 Message-ID: <87sfo7wfce.fsf@localhost> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Received-SPF: pass client-ip=2607:f8b0:4864:20::429; envelope-from=yantar92@gmail.com; helo=mail-pf1-x429.google.com X-Spam_score_int: -18 X-Spam_score: -1.9 X-Spam_bar: - X-Spam_report: (-1.9 / 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_ENVFROM_END_DIGIT=0.25, 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=1655212905; 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=O02WU9Ngvn2JMCG1OhRyw8BzjQis41ixgLWzVoY+HaM=; b=LNEaPB3t28DhIgcNhbwMfv5AQ3Wpq/gS0odsxuKKMFOPSmui/MjJ0/SVgSQLvC7oaMU+6T lTRoWI9BmLgK8ZKOwM6ZRLh6uWcTTIty/Is2XajJFxmIsM7m76cqMCbqhR7nkirxPFtsUD FlUgqhe1Pju5MU1yMEK43yxrcXUPWalPUIbaVh7U8nJ1YMWOzIM9RdYXBm34JV1zuewbth MIdTsdcX3CA3aSNDIF8uQiwDPH/yZifhSTZ4Yk+U3yLG69iqHtbHAqBvQoX4S0Egptv64l 91+lMBNX6z3yKXO3Gedm1QqTbhv9WBS7sHRMLXJJ4huw9ToIEJOzAemNfX2MuQ== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1655212905; a=rsa-sha256; cv=none; b=XjsjjHisHak4of07gM4oOEac0ROWaGcs6UqC34Wk3i7BvGZVPlF5KtJR8Vo6SchS4Q1Oug hG06UAX+M30+2HQhxoQueRA3uXSO7bAB0fzDiITRCO4q1ApsU7FgoKJk3Dr/P6j2QR4Fr7 X/wu1X6mHQ+ZdJtqztflCXyBLq3/O/der59NAWOZ0zvwLG+hLV+HPDPutOpuDkNM36H0I/ psQu0PC3It+2+RTQ1DXHfARpigWYQtmaf1njrX1hW5Jv4XSftPhuGo9qUZjz3TNs1THVgx XrrWuxMEMQd4AYmkGE0ZauaXkmTRd8NgP0ybCc0NFv1CNnrIdJ6ZQ8DDI9v2nA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b=DQId7sX1; 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: -1.99 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b=DQId7sX1; 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: 8D64018B10 X-Spam-Score: -1.99 X-Migadu-Scanner: scn0.migadu.com X-TUID: OGJbb2p3rXO0 S=C3=A9bastien Miquel writes: > The attached patch puts DEFAULT-PACKAGES before PACKAGES in=20 > org-format-latex-header, as per org-latex-packages-alist's and=20 > org-latex-classes' documentations. > ... > -\[PACKAGES] > \[DEFAULT-PACKAGES] > +\[PACKAGES] Thanks! We actually have 2 options here: 1. Change the docstring 2. Change the template Can moving [PACKAGES] up break the existing configs? It might. I am inclined to change the docstring instead. Best, Ihor