* [PATCH] orgalist: Update bug:31361 workaround for new upstream signature
@ 2023-03-09 10:55 Leo Vivier
[not found] ` <CADwFkmkfYQYxOWd953hf+o_Q_ZUDBZV5WnL8FMLiM1PAzgs=Yg@mail.gmail.com>
0 siblings, 1 reply; 3+ messages in thread
From: Leo Vivier @ 2023-03-09 10:55 UTC (permalink / raw)
To: emacs-devel; +Cc: Nicolas Goaziou
[-- Attachment #1: Type: text/plain, Size: 495 bytes --]
Hi,
This is a quick bug-fix patch for Nicolas’s orgalist (Cc’d):
- TINYCHANGE (but I’m CLA’d.).
- Tested on master and on 28.2; everything works.
- Bumped the copyright.
I’m not sure which way you intend ELPA patches to be submitted. I’ve
based my commit on the externals/orgalist branch from emacs/elpa.git;
let me know if you’d want me to proceed differently.
Best,
--
Leo Vivier
Freelance Software Developer
Website: www.leovivier.com | Blog: www.zaeph.net
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: 0001-Update-bug-31361-workaround-for-new-upstream-signatu.patch --]
[-- Type: text/x-patch, Size: 1534 bytes --]
From 00803627bf22f00aa1666977d9d157d9bd1e6183 Mon Sep 17 00:00:00 2001
From: Leo Vivier <zaeph@zaeph.net>
Date: Thu, 9 Mar 2023 11:26:59 +0100
Subject: [PATCH 1/2] Update bug:31361 workaround for new upstream signature
Upstream, `indent-according-to-mode' has a new signature.
- Introduced: Thu Nov 18 08:11:26 2021 +0100
f596f0db82c0b1ff3fe8e8f1d8b07d2fe7504ab6
- Still present in master: Thu Mar 9 12:04:52 2023 +0200
8589de94d8a44cd566eb3fe128f8091d7e958ee9
The old signature raised wrong-number-of-arguments errors on `indent-region'.
---
orgalist.el | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/orgalist.el b/orgalist.el
index 7bf27e2..6f1d2ec 100644
--- a/orgalist.el
+++ b/orgalist.el
@@ -880,12 +880,12 @@ C-c C-c `orgalist-check-item'"
;; FIXME: Workaround bug#31361.
(unless (advice-member-p 'orgalist-fix-bug:31361 'indent-according-to-mode)
(advice-add 'indent-according-to-mode
- :around (lambda (old)
+ :around (lambda (old &rest r)
"Workaround bug#31361."
(or (orgalist--indent-line)
(let ((indent-line-function
(advice--cd*r indent-line-function)))
- (funcall old))))
+ (funcall old r))))
'((name . orgalist-fix-bug:31361)))))
(t
(remove-function (local 'fill-forward-paragraph-function)
--
2.39.2
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #3: 0002-Bump-copyright.patch --]
[-- Type: text/x-patch, Size: 710 bytes --]
From 03a82f3c925455f26dfdae87f8517f7294d6c806 Mon Sep 17 00:00:00 2001
From: Leo Vivier <zaeph@zaeph.net>
Date: Thu, 9 Mar 2023 11:40:12 +0100
Subject: [PATCH 2/2] Bump copyright
---
orgalist.el | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/orgalist.el b/orgalist.el
index 6f1d2ec..045de9d 100644
--- a/orgalist.el
+++ b/orgalist.el
@@ -1,6 +1,6 @@
;;; orgalist.el --- Manage Org-like lists in non-Org buffers -*- lexical-binding: t; -*-
-;; Copyright (C) 2017-2020 Free Software Foundation, Inc.
+;; Copyright (C) 2017-2023 Free Software Foundation, Inc.
;; Author: Nicolas Goaziou <mail@nicolasgoaziou.fr>
;; Maintainer: Nicolas Goaziou <mail@nicolasgoaziou.fr>
--
2.39.2
^ permalink raw reply related [flat|nested] 3+ messages in thread
* Re: bug#66291: [Leo Vivier] [PATCH] orgalist: Update bug:31361 workaround for new upstream signature
[not found] ` <87r0ink9ab.fsf@nicolasgoaziou.fr>
@ 2024-01-12 12:19 ` Ihor Radchenko
2024-02-24 14:00 ` Bastien Guerry
0 siblings, 1 reply; 3+ messages in thread
From: Ihor Radchenko @ 2024-01-12 12:19 UTC (permalink / raw)
To: Nicolas Goaziou
Cc: Stefan Kangas, Leo Vivier, Bastien, emacs-devel, emacs-orgmode
Nicolas Goaziou <mail@nicolasgoaziou.fr> writes:
> To answer Ihor's question : I'm out of touch concerning Org development,
> so maintaining a package such as Orgalist may be problematic at some
> point, indeed.
Then, may we need to ask someone to help maintaining orgalist?
Similar question about a number of Org mode libraries where you are
listed as a maintainer.
--
Ihor Radchenko // yantar92,
Org mode contributor,
Learn more about Org mode at <https://orgmode.org/>.
Support Org development at <https://liberapay.com/org-mode>,
or support my work at <https://liberapay.com/yantar92>
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: bug#66291: [Leo Vivier] [PATCH] orgalist: Update bug:31361 workaround for new upstream signature
2024-01-12 12:19 ` bug#66291: [Leo Vivier] " Ihor Radchenko
@ 2024-02-24 14:00 ` Bastien Guerry
0 siblings, 0 replies; 3+ messages in thread
From: Bastien Guerry @ 2024-02-24 14:00 UTC (permalink / raw)
To: Ihor Radchenko
Cc: Nicolas Goaziou, Stefan Kangas, Leo Vivier, emacs-devel,
emacs-orgmode
Ihor Radchenko <yantar92@posteo.net> writes:
> Nicolas Goaziou <mail@nicolasgoaziou.fr> writes:
>
>> To answer Ihor's question : I'm out of touch concerning Org development,
>> so maintaining a package such as Orgalist may be problematic at some
>> point, indeed.
>
> Then, may we need to ask someone to help maintaining orgalist?
> Similar question about a number of Org mode libraries where you are
> listed as a maintainer.
Yes, we definitely need to do this!
--
Bastien Guerry
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2024-02-24 14:00 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-03-09 10:55 [PATCH] orgalist: Update bug:31361 workaround for new upstream signature Leo Vivier
[not found] ` <CADwFkmkfYQYxOWd953hf+o_Q_ZUDBZV5WnL8FMLiM1PAzgs=Yg@mail.gmail.com>
[not found] ` <87edh345dw.fsf@localhost>
[not found] ` <CADwFkmnW6_uEbMzCmdjRNOFJ-SNX0DePFTb=hNAnJsqUGWRedg@mail.gmail.com>
[not found] ` <87r0ink9ab.fsf@nicolasgoaziou.fr>
2024-01-12 12:19 ` bug#66291: [Leo Vivier] " Ihor Radchenko
2024-02-24 14:00 ` Bastien Guerry
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).