[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] externals/compat e8de246d40 14/16: Update manual
From: |
ELPA Syncer |
Subject: |
[elpa] externals/compat e8de246d40 14/16: Update manual |
Date: |
Wed, 4 Jan 2023 07:57:28 -0500 (EST) |
branch: externals/compat
commit e8de246d409f11f473a29b03aec420449263f005
Author: Daniel Mendler <mail@daniel-mendler.de>
Commit: Daniel Mendler <mail@daniel-mendler.de>
Update manual
---
compat.texi | 18 +++++++++++++-----
1 file changed, 13 insertions(+), 5 deletions(-)
diff --git a/compat.texi b/compat.texi
index e01ec421e5..6f85e54832 100644
--- a/compat.texi
+++ b/compat.texi
@@ -143,6 +143,14 @@ call these definitions ``Explicit Definitions''. In
contrast,
(mapcan FUNCTION SEQUENCE) ;; Implicit
@end example
+If you intend to use a compatibility function in your code it is
+strongly recommended that you check the tests in
+@file{compat-tests.el}. There you will find the supported calling
+convention, which is guaranteed to work on the supported Emacs
+versions. We ensure this using continuous integration. If a function
+is not tested yet in @file{compat-tests.el} NO GUARANTEES CAN BE MADE.
+You are invited to contribute tests in this case.
+
It is recommended to subscribe to the
@uref{https://lists.sr.ht/~pkal/compat-announce, compat-announce}
mailing list to be notified when new versions are released or relevant
@@ -155,7 +163,7 @@ The library intends to provide support back until Emacs
24.4. The
intended audience are package developers that are interested in using
newer developments, without having to break compatibility.
-Sadly, total backwards compatibility cannot be provided for technical
+Total backwards compatibility cannot be provided for technical
reasons. These might include:
@itemize
@@ -165,7 +173,7 @@ To support these cases, the function or macro would have to
be
advised. As this is regarded as invasive and adds significant
overhead, even when the new feature is not used, this approach is not
used. As a compromise, compatibility functions and macros with a
-changed calling convetion can be accessed via the
+changed calling convention can be accessed via the
@code{compat-function} and @code{compat-call} macros.
@item
@@ -180,9 +188,9 @@ other times it would be infeasible to duplicate an entire
library within
Compat while also providing the necessary backwards compatibility.
@item
-It just wasn't added, and there is no good reason (though good excuses
-might exist). If you happen to find such a function, @ref{Development,
-, reporting} it would be much appreciated.
+It just wasn't added, and there is no good reason. If you happen to
+find such a function, @ref{Development, , reporting} it would be much
+appreciated.
Always begin by assuming that this might be the case, unless proven
otherwise.
- [elpa] externals/compat updated (3ee973db10 -> 0bb4709d83), ELPA Syncer, 2023/01/04
- [elpa] externals/compat 601387077a 04/16: Always require subr-x at compile time, ELPA Syncer, 2023/01/04
- [elpa] externals/compat 9ecaf46e15 09/16: Restore explicit versions of string-trim, ELPA Syncer, 2023/01/04
- [elpa] externals/compat dab2ec091d 01/16: Restore tests, ELPA Syncer, 2023/01/04
- [elpa] externals/compat de7346396a 05/16: Add compat-feature macro, ELPA Syncer, 2023/01/04
- [elpa] externals/compat d18955c1be 07/16: Remove comments, ELPA Syncer, 2023/01/04
- [elpa] externals/compat 8ebf7984ce 06/16: Revert "Add compat-feature macro", ELPA Syncer, 2023/01/04
- [elpa] externals/compat 7737bb9d56 08/16: Run all checks at compile time, ELPA Syncer, 2023/01/04
- [elpa] externals/compat 31810cd4d9 10/16: Add :feature, ELPA Syncer, 2023/01/04
- [elpa] externals/compat e8de246d40 14/16: Update manual,
ELPA Syncer <=
- [elpa] externals/compat 71f9648cdf 03/16: Specify features, ELPA Syncer, 2023/01/04
- [elpa] externals/compat 7aa705b65e 02/16: Require features at compile time, ELPA Syncer, 2023/01/04
- [elpa] externals/compat ce86316661 11/16: Restore tests, ELPA Syncer, 2023/01/04
- [elpa] externals/compat f342b01a10 12/16: Update manual, ELPA Syncer, 2023/01/04
- [elpa] externals/compat 77e3e92ebf 13/16: Restore tests, ELPA Syncer, 2023/01/04
- [elpa] externals/compat 7569405bc8 15/16: Restore tests, ELPA Syncer, 2023/01/04
- [elpa] externals/compat 0bb4709d83 16/16: Expand commentary, ELPA Syncer, 2023/01/04