From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1 ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id MH84J+JheWF9FwAAgWs5BA (envelope-from ) for ; Wed, 27 Oct 2021 16:27:46 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1 with LMTPS id sNrjIuJheWFLcQAAbx9fmQ (envelope-from ) for ; Wed, 27 Oct 2021 14:27:46 +0000 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 E62F535AA3 for ; Wed, 27 Oct 2021 16:27:45 +0200 (CEST) Received: from localhost ([::1]:41232 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mfju4-0006L6-RZ for larch@yhetil.org; Wed, 27 Oct 2021 10:27:44 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:40882) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mfjNp-0007ea-Kn for emacs-orgmode@gnu.org; Wed, 27 Oct 2021 09:54:25 -0400 Received: from mail-pf1-x433.google.com ([2607:f8b0:4864:20::433]:34475) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mfjNj-00033O-L5 for emacs-orgmode@gnu.org; Wed, 27 Oct 2021 09:54:25 -0400 Received: by mail-pf1-x433.google.com with SMTP id 127so2836679pfu.1 for ; Wed, 27 Oct 2021 06:54:17 -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=mlw6EHyMsASPCyegeHFUD+1zE5d3DoTtaqTnpf0LkFc=; b=qLYrPjKbz9isN7/M5SlrgN2RmeCY6ePiQD2yPtjp722YRw2OzVBg/U1baHOD+YVzZf lCdMrTPZiBUvHomK9FBW+oX3vyc/c07O3ZNDbV2y21pDwa4gt/wUIOmpo5ZqzkToxH63 az/NbSLV9Ec3NejLYhcR3ekYfTHqatemUaZjVjmlD+uFdy1WIwFVdX1xfswE27jummp3 3UktdkueT7Rm+Ie/YEEy5LvMW0c9aEJXDy/uiyN1hNs/9e/v02PO6Ec5QasoFofTt3/u 8ZgBJtK6tWYlZbJFv1Ahop0GAC7bDAVOub6u6gS8yCUL5bXIKAbC6T4w9y0/angekR9d aWoQ== 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=mlw6EHyMsASPCyegeHFUD+1zE5d3DoTtaqTnpf0LkFc=; b=fOz1XT/4P7WvTvxUO9VttB5QZlFZkySgyRLDs5vuv6yoc5wvOKBGaPLHvUK0WlYNcx miRrQCVu72WFA24mgDIhxG2fQxRj1TrJ3w+OpYoKrTjQ4XD3a+buGFwJvtrSLKPgTcQw 1NDF+BrWAizBOG8aAUCEvGn/KWa0H3eFIy0hhb79SBPAHWGg6Py6gljQh0iftEvsbfbd n6i3UeXJE5TXhtPhvZjyILwo9SfaT5KwfZqFVLxamCD0L8DGj+j78PJTk4BpIu76nRYw CWGV5Zw5g4NEw3y+GWKm/1R5iIXqxfSN32hhWqBXx5ebVyrO4ruOPFWCZVuJUimHdt+n 1fPQ== X-Gm-Message-State: AOAM532R5Xgx0fdSpx63rmVZT+ivUuByvMOdH7CZRU2Vtz4oAhujYvrk 64N+RX5rWoeuMhCKtMk4JTc= X-Google-Smtp-Source: ABdhPJy8AVBXzAVykXzHFa8KOUWMUMY5ocpCQmx4vtapUkVBm8FrsoMjSsXo5F3+WPQI0VD5QMa3QA== X-Received: by 2002:a63:7e04:: with SMTP id z4mr24192685pgc.221.1635342856357; Wed, 27 Oct 2021 06:54:16 -0700 (PDT) Received: from localhost ([103.125.234.62]) by smtp.gmail.com with ESMTPSA id l11sm4271188pjg.22.2021.10.27.06.54.15 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 27 Oct 2021 06:54:15 -0700 (PDT) From: Ihor Radchenko To: Max Nikulin Subject: Re: [Bug] org-persist.el: xdg.el is unavailable in emacs-25.2 In-Reply-To: <3e432fa9-545d-fce0-759f-9260161255c7@gmail.com> References: <3e432fa9-545d-fce0-759f-9260161255c7@gmail.com> Date: Wed, 27 Oct 2021 21:55:42 +0800 Message-ID: <87zgqu6081.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::433; envelope-from=yantar92@gmail.com; helo=mail-pf1-x433.google.com X-Spam_score_int: -17 X-Spam_score: -1.8 X-Spam_bar: - X-Spam_report: (-1.8 / 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 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: emacs-orgmode@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: orgmode Errors-To: emacs-orgmode-bounces+larch=yhetil.org@gnu.org Sender: "Emacs-orgmode" X-Migadu-Flow: FLOW_IN ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1635344866; 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=mlw6EHyMsASPCyegeHFUD+1zE5d3DoTtaqTnpf0LkFc=; b=H7neC+W1w9vEf8cEkw/Z/EdVbHRiAfN7YoVCg8el9VNu0A0Wl5lS6mBxbavDJqfD5rN/xw d76x5VON+xhCjiu7A0AAWuD9Qz5axIr1we/je/K4k4IMhRBQnv1udriJTG1vmzserLdHh1 SFgOfmoGnEDlAdaugyBz0DOfWnz27UPAbfcmJ7qyb28l0Swy56QSWrA2sjaemT9kOZZfop eruCIFqJo4G2sY51WqJ0pAfaonOtdgzgcxvWpk2oYHVHqELBFbaacOzLBTo9MVRhoqmiKx uYQKv99SWPiSdYu5Vws8EncY+e124O9Szo+6qoLd99GEhuAM7HnY8VV/Zm4dBA== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1635344866; a=rsa-sha256; cv=none; b=hCpTwP/s4lclHPEgaOMkihhmso3xO4d2s94t6zDRMq/NXABbR0B/WDdz7q+9SoSWhp3idH g35E2RQwMmvBWE7P3smW9bPocxxdgQjB9LxNQ7cfIZKSszA5eonmE1j/smnD1r81v0aoUj GACqaRovZNjAlk2VUIRbn27eWRN4vDlujx2IwLcy4BSXcDmfEnSlzjW4Ph0UUtdsvprzev U0vkBZEVfH1sdOS++rLf6vmFbgQr6+hE7lhaxJ24VYmqqxd1C4HkX33h7XhffM3G/iEGiB ytp+v7rOVMRzjdeP7mquDJO52Lo4KRNuagVszUY0vJ47sb5u7wKjL65nyL2agA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b=qLYrPjKb; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (aspmx1.migadu.com: domain of emacs-orgmode-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=emacs-orgmode-bounces@gnu.org X-Migadu-Spam-Score: -1.13 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b=qLYrPjKb; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (aspmx1.migadu.com: domain of emacs-orgmode-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=emacs-orgmode-bounces@gnu.org X-Migadu-Queue-Id: E62F535AA3 X-Spam-Score: -1.13 X-Migadu-Scanner: scn0.migadu.com X-TUID: mTcsrGZvij17 Max Nikulin writes: >> In toplevel form: >> ox-beamer.el:34:1:Error: Cannot open load file: No such file or director= y, xdg > > > > ... > > org.el in the main branch still declares > >> ;; Package-Requires: ((emacs "25.1")) > > but it seems xdg.el used by org-persist.el was added in emacs-26.0. > > I do not actually use emacs-25.2, but it happened that I have a test=20 > container for Org based on Ubuntu-18.04. > > Either org-persist and org-compat should be updated with some=20 > compatibility code or required emacs version should be updated once more. Technically, the current Emacs version is Emacs 27. So, following our maintenance convention [1], we should support everything down to Emacs 25 (e.g. 27-2). However, Emacs 28 is going to be out soon-ish and the problem is not on bugfix branch, but only on main. I am not sure if we need to follow version-2 convention for main as well. Maybe better require only version-1? Weaker back-compatibility requirement can allow us to implement more advanced features relying on more recent Emacs versions. [1] https://orgmode.org/worg/org-maintenance.html Also, org-src.el from bugfix may not run on Emacs 25: In end of data: org-src.el:1312:1:Warning: the function =E2=80=98replace-buffer-contents=E2= =80=99 is not known to be defined. Best, Ihor