GNU bug report logs - #65445
29.1; Android emacs: False memory full condition, due to Java exception (?)

Previous Next

Package: emacs;

Reported by: Johan Widén <j.e.widen <at> gmail.com>

Date: Mon, 21 Aug 2023 21:43:02 UTC

Severity: normal

Found in version 29.1

Done: Stefan Kangas <stefankangas <at> gmail.com>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Johan Widén <j.e.widen <at> gmail.com>
To: Po Lu <luangruo <at> yahoo.com>
Cc: Eli Zaretskii <eliz <at> gnu.org>, 65445 <at> debbugs.gnu.org
Subject: bug#65445: 29.1; Android emacs: False memory full condition, due to Java exception (?)
Date: Tue, 22 Aug 2023 07:21:48 +0200
It seems that Android emacs copies to (and from?) the system clipboard
very often. This is not the case in other Android apps: There copy to
and from the system clipboard is a very explicit operation. Perhaps it
should be so also in Android emacs: Create a new set of elisp
functions for this, and initially only have them bound to a couple of
icons at the top of emacs. Perhaps also provide interaction using long
press.

When I do the evil yank, that is copy some text object to evil
registers, Android displays a pop up text that says the text has been
copied to the system clipboard.

If nothing else, I believe that removing the current connection of
internal copy paste, to system clipboard copy paste, would remove the
annoying "out of memory error".

Den tis 22 aug. 2023 kl 04:28 skrev Po Lu <luangruo <at> yahoo.com>:
>
> Eli Zaretskii <eliz <at> gnu.org> writes:
>
> >> Cc: 65445 <at> debbugs.gnu.org
> >> Date: Tue, 22 Aug 2023 07:52:18 +0800
> >> From:  Po Lu via "Bug reports for GNU Emacs,
> >>  the Swiss army knife of text editors" <bug-gnu-emacs <at> gnu.org>
> >>
> >> When an exception is registered by android_exception_check, it makes an
> >> attempt to print it to the log buffer.  Piping it to `grep -A10
> >> "Possible out of memory error"' should uncover the Java stack trace
> >> saved in the exception.
> >
> > Would it be useful to add this to etc/DEBUG?
>
> Yes, I will do that.
>


-- 
Johan Widén, tel: +46705367346
Risvägen 5 A, 192 73 Sollentuna, SWEDEN




This bug report was last modified 1 year and 264 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.