From: "Johan Widén" <j.e.widen@gmail.com>
To: Po Lu <luangruo@yahoo.com>
Cc: Eli Zaretskii <eliz@gnu.org>, 65445@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 [thread overview]
Message-ID: <CACxzjruu1DG1GeLDb=mN-s7m2nBvZ4PiiPJbNb7TcVG1dUX_kw@mail.gmail.com> (raw)
In-Reply-To: <87bkezak0g.fsf@yahoo.com>
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@yahoo.com>:
>
> Eli Zaretskii <eliz@gnu.org> writes:
>
> >> Cc: 65445@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@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
next prev parent reply other threads:[~2023-08-22 5:21 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-08-21 20:46 bug#65445: 29.1; Android emacs: False memory full condition, due to Java exception (?) Johan Widén
2023-08-21 23:52 ` Po Lu via Bug reports for GNU Emacs, the Swiss army knife of text editors
2023-08-22 2:27 ` Eli Zaretskii
2023-08-22 2:27 ` Po Lu via Bug reports for GNU Emacs, the Swiss army knife of text editors
2023-08-22 5:21 ` Johan Widén [this message]
2023-08-22 5:25 ` Po Lu via Bug reports for GNU Emacs, the Swiss army knife of text editors
2023-08-22 5:52 ` Johan Widén
2023-08-22 6:51 ` Po Lu via Bug reports for GNU Emacs, the Swiss army knife of text editors
2023-08-22 7:09 ` Johan Widén
2023-08-22 7:28 ` Po Lu via Bug reports for GNU Emacs, the Swiss army knife of text editors
2023-09-02 16:30 ` Stefan Kangas
2023-09-02 17:21 ` Johan Widén
2023-09-02 18:52 ` Stefan Kangas
2023-09-02 18:56 ` Johan Widén
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to='CACxzjruu1DG1GeLDb=mN-s7m2nBvZ4PiiPJbNb7TcVG1dUX_kw@mail.gmail.com' \
--to=j.e.widen@gmail.com \
--cc=65445@debbugs.gnu.org \
--cc=eliz@gnu.org \
--cc=luangruo@yahoo.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.