From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Johan =?UTF-8?Q?Wid=C3=A9n?= Newsgroups: gmane.emacs.bugs Subject: bug#65445: 29.1; Android emacs: False memory full condition, due to Java exception (?) Date: Tue, 22 Aug 2023 07:21:48 +0200 Message-ID: References: <878ra4m77d.fsf@gmail.com> <83o7izu802.fsf@gnu.org> <87bkezak0g.fsf@yahoo.com> Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="12388"; mail-complaints-to="usenet@ciao.gmane.io" Cc: Eli Zaretskii , 65445@debbugs.gnu.org To: Po Lu Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Tue Aug 22 07:23:13 2023 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1qYJrE-00034N-Az for geb-bug-gnu-emacs@m.gmane-mx.org; Tue, 22 Aug 2023 07:23:12 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qYJr3-0005TA-JJ; Tue, 22 Aug 2023 01:23:01 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1qYJr1-0005T2-Tv for bug-gnu-emacs@gnu.org; Tue, 22 Aug 2023 01:22:59 -0400 Original-Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1qYJr1-0004Lc-Lh for bug-gnu-emacs@gnu.org; Tue, 22 Aug 2023 01:22:59 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1qYJr4-0002nO-7d for bug-gnu-emacs@gnu.org; Tue, 22 Aug 2023 01:23:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Johan =?UTF-8?Q?Wid=C3=A9n?= Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 22 Aug 2023 05:23:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 65445 X-GNU-PR-Package: emacs Original-Received: via spool by 65445-submit@debbugs.gnu.org id=B65445.169268173010680 (code B ref 65445); Tue, 22 Aug 2023 05:23:02 +0000 Original-Received: (at 65445) by debbugs.gnu.org; 22 Aug 2023 05:22:10 +0000 Original-Received: from localhost ([127.0.0.1]:58299 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qYJqD-0002mC-U7 for submit@debbugs.gnu.org; Tue, 22 Aug 2023 01:22:10 -0400 Original-Received: from mail-pf1-x430.google.com ([2607:f8b0:4864:20::430]:50676) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qYJqC-0002m0-1g for 65445@debbugs.gnu.org; Tue, 22 Aug 2023 01:22:08 -0400 Original-Received: by mail-pf1-x430.google.com with SMTP id d2e1a72fcca58-68a56401b9aso1026636b3a.1 for <65445@debbugs.gnu.org>; Mon, 21 Aug 2023 22:22:05 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1692681719; x=1693286519; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=snxbo5wEBIZIQazMv57ihlPU2u2RXxWm1NseVZIasf8=; b=i17EYraxOCTn3D1z+vS7ijAiduDAxcajXsWfjxJrrvt2HfTtfPvH8Utbw6Bj+HhBVA SKPguR0mZnw3p/DZR6XQJOa/nE39UEzTyCvJtsH05CaKVGXq6CEO/BEzeeIHqT8tJ1oj /8cFFzI+fLoNrGDwu9e+UiHFhZkqWdnUqDfPb1ahUv+DryMfgRm+OXRqBaUlAi49mlvc bVqczKD8gpUpOHGTw1nLVvkJYZe8gPLxrvO17lORk5UGJj/jpXvcpiSPVCpWPefvKVdf OoRIZ6lxF4vSkt9y60aSDI5LNchg/LVCoYlZjAfvlX8vCFqbH/oMDUQVE+bj3cprv3iN +22g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1692681719; x=1693286519; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=snxbo5wEBIZIQazMv57ihlPU2u2RXxWm1NseVZIasf8=; b=cONrzo7QbOKYBeCpfjOD9GsrwE8GALiVfuJzMshAYQKo84nvHoHavjEq7dS64Pltvv 89o0na5V0iIGb4J7tLVPn7dm68DCOnhOiV7qYPM4s7mI8wK/lwGikIzMpAMw5WmWO+JE v+doeBrEMxA+DKIggSki89VdKMZpRKObUDWAlTNOi8EQ4dhoilhOTavKhQqvHCQPFEFV 3VpiDGLdKEDGfxsRj5f3kuD+29vxCJmbClUXxf0OfXaru/3aHxHmt0BhWoLG8UuDHiHd EyWjJ25gwzW+GtR5tyDTSda44HaiwETpjkafYSMJbUH3W3tZ/LNNzyL3mXcEVNJcqUwv JPqA== X-Gm-Message-State: AOJu0Yy15nrR0ADiGzAHef39xgV8gpzWeUVlQSXJFmjjO+lZtW/li/1/ k3hPo+Q7FIH5cZSe1zsl7qN1ASGS96gC6IalnVY= X-Google-Smtp-Source: AGHT+IHT+s8BDlEZOKr4gu0wvrDWS93TFGAzndt66mcYuKYAVc8dGgQCHnutjtw7PBLL9OwsUcpoYFR48Dg0RXoW7m0= X-Received: by 2002:a17:90b:f06:b0:268:d456:123 with SMTP id br6-20020a17090b0f0600b00268d4560123mr5652168pjb.41.1692681719398; Mon, 21 Aug 2023 22:21:59 -0700 (PDT) In-Reply-To: <87bkezak0g.fsf@yahoo.com> X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.bugs:268138 Archived-At: 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 : > > Eli Zaretskii 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" > >> > >> When an exception is registered by android_exception_check, it makes a= n > >> 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. > --=20 Johan Wid=C3=A9n, tel: +46705367346 Risv=C3=A4gen 5 A, 192 73 Sollentuna, SWEDEN