Allow other text editors to edit files in Emacs' home directory

* java/AndroidManifest.xml.in: Declare the new documents
provider.
* java/README: Describe the meaning of files in res/values.
* java/org/gnu/emacs/EmacsDocumentsProvider.java
(EmacsDocumentsProvider): New file.
* java/res/values-v19/bool.xml:
* java/res/values/bool.xml: New files.
This commit is contained in:
Po Lu
2023-02-09 22:56:41 +08:00
parent f0f45ab10d
commit 209ae003b7
5 changed files with 449 additions and 1 deletions

View File

@@ -5,7 +5,12 @@ package out of them.
The ``org/gnu/emacs'' subdirectory contains the Java sources under the
``org.gnu.emacs'' package identifier.
The ``res'' directory contains resources, mainly the Emacs icon.
``AndroidManifest.xml'' contains a manifest describing the Java
sources to the system.
The ``res'' directory contains resources, mainly the Emacs icon and
several ``boolean resources'' which are used as a form of conditional
evaluation for manifest entries.
`emacs.keystore' is the signing key used to build Emacs. It is kept
here, and we encourage all people redistributing Emacs to use this
@@ -456,6 +461,12 @@ loaded by the special invocation:
System.loadLibrary ("emacs");
};
where ``static'' defines a section of code which will be run upon the
object (containing class) being loaded. This is like:
__attribute__((constructor))
on systems where shared object constructors are supported.
See http://docs.oracle.com/en/java/javase/19/docs/specs/jni/intro.html
for more details.