From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2.migadu.com ([2001:41d0:403:58f0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms13.migadu.com with LMTPS id kAAMJ1DwJmdUggEAe85BDQ:P1 (envelope-from ) for ; Sun, 03 Nov 2024 03:38:56 +0000 Received: from aspmx1.migadu.com ([2001:41d0:403:58f0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2.migadu.com with LMTPS id kAAMJ1DwJmdUggEAe85BDQ (envelope-from ) for ; Sun, 03 Nov 2024 04:38:56 +0100 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20230601 header.b=eVM09zIl; 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=gmail.com ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1730605136; 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=TeK9s9EYf4Rf3Pflu3InisrC/XPbiV0ITqMbB/apLaQ=; b=g0TsCXqHczk8hy1j/SuhxHlNBZzfxOluUr5rWcmBGmmjKkTE4tvXhmovGz9lX1Oh3EIZHO okA0M61qX/s/8Dwig4Kf0YDwz9VS7gwXERWxkdjKvJczk9VfQbsblSuIAe+35JCCUK6/ie Oo4uLcIF8DZCEJZ7UJTjShAM/FXwS01MgKRf7oj9M07Ynt5Wae9TSpYyRsBVNcVik6s2mD tqODMb8zZhYP8U2A1VygFVzk76qMp2uZIjfN6F2xaNTrPWoeFnJROT91hIw680HlJ6wKsM UiWsoNIPxpLiOUcV5jxZtTZXjBEeCJojopf5F10VeD3lcm4qTPc3pZSIYTvrcA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20230601 header.b=eVM09zIl; 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=gmail.com ARC-Seal: i=1; s=key1; d=yhetil.org; t=1730605136; a=rsa-sha256; cv=none; b=A0z96whZNoy6eJcts9wHFIjhY+rDumLhcgJmpPlc8zeYR/VlToIbb2L2DyebyIyk7W2sgC mKp+J1L6gnzvFfnNbpDkBKb7vtjefb949SVVeUF+enVbYdWDVDJzMgS9UohQr2G/2LwQRB T0Khm1u8cHdGd41weOH2kft3tsJdAxhsCldUVEhknkqJcwRUvvYy1epIVjxtbkbqMXfmvy CgFVKR3mrJGLaQYexgiR2KCOPl8uIOwciZBcGiO/1IadUYL7vm5TVu/0RPoKeXXwL2nv9F efabIkVnsOhA8xkax81Nr5DRvLFq1n5F1Us/8ViT0Q4Pr8igQWaIRhaWP7Np1g== 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 23D447ADEC for ; Sun, 03 Nov 2024 04:38:55 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1t7RRH-0007gI-KZ; Sat, 02 Nov 2024 23:38:07 -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 1t7RRF-0007fx-Rf for emacs-orgmode@gnu.org; Sat, 02 Nov 2024 23:38:05 -0400 Received: from mail-ed1-x534.google.com ([2a00:1450:4864:20::534]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1t7RRE-0006i8-9C for emacs-orgmode@gnu.org; Sat, 02 Nov 2024 23:38:05 -0400 Received: by mail-ed1-x534.google.com with SMTP id 4fb4d7f45d1cf-5cec8c4e2f6so1261264a12.1 for ; Sat, 02 Nov 2024 20:38:03 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1730605081; x=1731209881; darn=gnu.org; h=to:subject:message-id:date:mime-version:from:from:to:cc:subject :date:message-id:reply-to; bh=TeK9s9EYf4Rf3Pflu3InisrC/XPbiV0ITqMbB/apLaQ=; b=eVM09zIlGDQGR9UdwYDEKlG5woUiCvKDYKBRNfJswCmXy8FchwUO1QfOwP4gMra8Il zDPP7H39V0SJ0Heh/iwIguKWTtVjspuYtAXdXF4UE3ALxZTV+xwfho81NZjr0dco4hjQ ksGGfsq5qrw7QfgZuav1V+2EFhcFPOvpZmkIO2XH/QXDLW+st8c9bZKR0cTW151a5S67 I6oGY1Wtx3TiKqXgHP0zvBF7jHOtgiyDvWk8UvvTHp4bTZhgjdiUQWA+aUB9sa037rQn +v/q3pmVqVhetyHwzxCGRCbL/hcUoEd12u+pNPfWyZxLhg2qSRpOWezzYG9zXw7TI+hi d1Zg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1730605081; x=1731209881; h=to:subject:message-id:date:mime-version:from:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=TeK9s9EYf4Rf3Pflu3InisrC/XPbiV0ITqMbB/apLaQ=; b=h7rnOVgRAKXzrQGCxnsTPXqUXEqyDbtqqTFq52162CQvNEcbc8xVtzBzO9nG9mMlR/ euXq/s+EEt8zK4YmXBZlk6pS1vwCnM6gt5bavToaLDY6hLDTYS1P8/XSS8211ebL866q mTQ09+wKliLU1uH5H4h7++zhQlCi5vwbf7Gsv1A8HnqDht8b6IpDZRejxHdVPbcDLbGI G4QRTvSHcEatagoB0iN9AQ+wKi5Hs7lYMaUqOtAZQrmysf0YOttKpd3EhHDBTQyQ02Di 80sQDs+m7wN6PGyi4e9UWjs1F6yjWK/QCgkc3Ejl1MrJ8qKefbz0tN0Ou60Mycw75R/T mJlw== X-Gm-Message-State: AOJu0Yz8VPzEB0h7di2Vk3ar4yToql67mbgxYqbW4g5yKYRuz71IYUmA aLtm5KSsciqZpyRsJk0NNyqDCFSWQwhKJ72kdZ0vXuE1u4Kv9ldUyENwV+Ph0YPTmoJuy06Zlnt xW+r3TtCWHuSUxgkEfKXa4esJ6+sRlg== X-Google-Smtp-Source: AGHT+IFgc9boATZi0QKRpYDuzVq8iO2XuUHyxulC7j3YekM/jTry4QNgE03cJtFFSpk2c7IzNcEr430C7Er83bLepp8= X-Received: by 2002:a05:6402:34ca:b0:5ca:193a:8b5a with SMTP id 4fb4d7f45d1cf-5ceb92a920dmr5409623a12.21.1730605080547; Sat, 02 Nov 2024 20:38:00 -0700 (PDT) Received: from 753933720722 named unknown by gmailapi.google.com with HTTPREST; Sat, 2 Nov 2024 20:37:59 -0700 From: Stefan Kangas MIME-Version: 1.0 Date: Sat, 2 Nov 2024 20:37:59 -0700 Message-ID: Subject: Org uses obsolete `filter-buffer-substring-functions` variable To: Org-mode Content-Type: multipart/mixed; boundary="00000000000012b1230625f9e527" Received-SPF: pass client-ip=2a00:1450:4864:20::534; envelope-from=stefankangas@gmail.com; helo=mail-ed1-x534.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 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-Country: US X-Migadu-Flow: FLOW_IN X-Migadu-Scanner: mx11.migadu.com X-Migadu-Spam-Score: -0.38 X-Spam-Score: -0.38 X-Migadu-Queue-Id: 23D447ADEC X-TUID: 2Apf2qzWtOdL --00000000000012b1230625f9e527 Content-Type: text/plain; charset="UTF-8" Org uses the obsolete variable `filter-buffer-substring-functions'. This variable is likely due for deletion in Emacs 31.1. Usually, compatibility code looks for the new way of doing things, and then prefers that. But it seems like someone decided here to look for the old symbol instead, and prefer that. Unless I'm missing something, it seems to me that the code for the _new_ variable has been hitherto unused. Could you please take a look to confirm that removing `filter-buffer-substring-functions' from Emacs won't break your code? I have attached a diff. Thanks! --00000000000012b1230625f9e527 Content-Type: text/x-patch; charset="US-ASCII"; name="filter-buffer-substring-functions.diff" Content-Disposition: attachment; filename="filter-buffer-substring-functions.diff" Content-Transfer-Encoding: base64 X-Attachment-Id: c71c5652c0dbddcd_0.1 ZGlmZiAtLWdpdCBhL2xpc3Avb3JnLWFnZW5kYS5lbCBiL2xpc3Avb3JnLWFnZW5kYS5lbAppbmRl eCA2YjU4Njg5OWYuLmViZmNjZjE5ZSAxMDA2NDQKLS0tIGEvbGlzcC9vcmctYWdlbmRhLmVsCisr KyBiL2xpc3Avb3JnLWFnZW5kYS5lbApAQCAtMjM3NSwxNCArMjM3NSw4IEBAIFRoZSBmb2xsb3dp bmcgY29tbWFuZHMgYXJlIGF2YWlsYWJsZToKICAgKGFkZC1ob29rICdwb3N0LWNvbW1hbmQtaG9v ayAjJ29yZy1hZ2VuZGEtdXBkYXRlLWFnZW5kYS10eXBlIG5pbCAnbG9jYWwpCiAgIChhZGQtaG9v ayAncHJ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