From mboxrd@z Thu Jan  1 00:00:00 1970
Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail
From: Drew Adams <drew.adams@oracle.com>
Newsgroups: gmane.emacs.help
Subject: RE: [External] : Re: Is there a way to avoid clobbering minibuffer by
 messages?
Date: Thu, 30 Mar 2023 16:49:53 +0000
Message-ID: <SJ0PR10MB54887B56C1EA2D02EA096514F38E9@SJ0PR10MB5488.namprd10.prod.outlook.com>
References: <3f004ca9-1f71-2c5b-17f1-e154f209e6d3@gmail.com>
 <83ilei62o6.fsf@gnu.org> <8d94bd37-d657-cf14-c0cb-372cde983ee0@gmail.com>
 <837cuy5y2m.fsf@gnu.org> <e246266e9f40e7a19d45@heytings.org>
 <SJ0PR10MB5488EF349775EDAA44177E39F38E9@SJ0PR10MB5488.namprd10.prod.outlook.com>
 <83fs9m42pc.fsf@gnu.org>
Mime-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: quoted-printable
Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214";
	logging-data="37584"; mail-complaints-to="usenet@ciao.gmane.io"
To: Eli Zaretskii <eliz@gnu.org>, "help-gnu-emacs@gnu.org"
 <help-gnu-emacs@gnu.org>
Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Thu Mar 30 18:50:36 2023
Return-path: <help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org>
Envelope-to: geh-help-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 <help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org>)
	id 1phvTw-0009cA-2v
	for geh-help-gnu-emacs@m.gmane-mx.org; Thu, 30 Mar 2023 18:50:36 +0200
Original-Received: from localhost ([::1] helo=lists1p.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.90_1)
	(envelope-from <help-gnu-emacs-bounces@gnu.org>)
	id 1phvTQ-0006XR-Q6; Thu, 30 Mar 2023 12:50:04 -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 <drew.adams@oracle.com>)
 id 1phvTO-0006WZ-O7
 for help-gnu-emacs@gnu.org; Thu, 30 Mar 2023 12:50:02 -0400
Original-Received: from mx0a-00069f02.pphosted.com ([205.220.165.32])
 by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <drew.adams@oracle.com>)
 id 1phvTM-0007gA-Dh; Thu, 30 Mar 2023 12:50:02 -0400
Original-Received: from pps.filterd (m0246617.ppops.net [127.0.0.1])
 by mx0b-00069f02.pphosted.com (8.17.1.19/8.17.1.19) with ESMTP id
 32UEEMph030176; Thu, 30 Mar 2023 16:49:56 GMT
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oracle.com;
 h=from : to : subject :
 date : message-id : references : in-reply-to : content-type :
 content-transfer-encoding : mime-version; s=corp-2022-7-12;
 bh=RHAHbysCMhHsNb25pHDzYkkLnNVK38raQbuI4PanTuU=;
 b=k69Y4bF+XfayMunqyNsAX5gSecV1aftqh+KAvqEKXRa8LVEHLdZ/DVmxSWJPf52ytzkL
 4GjXYRtTcII3jKANlvj+tMs4j4yhoDIupJOZQXnO5tzPUJPvUyaodTIJ2HL431t7iWNI
 HUBcARNzK+ITspDAtziuTsALfVaThf75fCWW89bcunQoMBuFsj7RnEf3hwYoxU0uzKlk
 HzCA882P5WSBycXZd2JOcwYsbPbFwjF4QfRtPECGouakyE1Qf2Jg03ze+1vqER5ZO1TP
 mgqjqPBMxuc1ZVin8PAnRsaUj3jr0oyAzQRgMYTGo9Zr82+1F2bmbBFoeNuTxVWOfYtF Nw== 
Original-Received: from iadpaimrmta01.imrmtpd1.prodappiadaev1.oraclevcn.com
 (iadpaimrmta01.appoci.oracle.com [130.35.100.223])
 by mx0b-00069f02.pphosted.com (PPS) with ESMTPS id 3pmq56u801-1
 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK);
 Thu, 30 Mar 2023 16:49:56 +0000
Original-Received: from pps.filterd
 (iadpaimrmta01.imrmtpd1.prodappiadaev1.oraclevcn.com [127.0.0.1])
 by iadpaimrmta01.imrmtpd1.prodappiadaev1.oraclevcn.com (8.17.1.5/8.17.1.5)
 with ESMTP id 32UG5IOB010905; Thu, 30 Mar 2023 16:49:55 GMT
Original-Received: from nam10-dm6-obe.outbound.protection.outlook.com
 (mail-dm6nam10lp2106.outbound.protection.outlook.com [104.47.58.106])
 by iadpaimrmta01.imrmtpd1.prodappiadaev1.oraclevcn.com (PPS) with ESMTPS id
 3phqdg8hqn-1
 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK);
 Thu, 30 Mar 2023 16:49:55 +0000
ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none;
 b=YG91xDcPBKmtt6uI1wEzsjOg0r8AmMu0FDDRmNEFftTzmuuQLl5k1ZkKRXzqxC0XfnWXagVCj6J3eIcdcsUxJvLuwu28r76XBbMILtN/qSBOaA0WW4NMWTw1HYNZhzsXXoVuZSpqB/Dmg3NHDEVDan2531HkGwQZqyZlvZmmkjUV7g4khvgx4yBrnMAWHUvT6HfR0vKPJC8xvvKvDCv4IU3NtPHWXHRNdCDLSfqZb5TvrDI0FZfnl53btGq/ZgcSBnd3NcS+ZlIg/f5C1KXiQJb3lgaX7Whgm0Auiic47qH5o1UmgM4RXpuiemFINlMbbCjA1rS/YWX5emgHxdkreA==
ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; 
 s=arcselector9901;
 h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1;
 bh=RHAHbysCMhHsNb25pHDzYkkLnNVK38raQbuI4PanTuU=;
 b=ZwulojQnmsH6tKgiTLcVIEm27Wnaq+aofnH/Qi8PD/Y/ns0+aqOIPMQ+5oDBmAXTIQbdguZFlv+4a8W4qaY/Glgo0q7d8zR2EESIrV4ugVyYzoaaQgzdi5nf0Cn5S/nVV7jvglGtgBURw9Aakr7MKImQsd2IuxREqRRVEb7FShvJdqw7GSMCSnf+CY1xV17cnsQ6W8809luI8ZT2arMAFmc51fMdKnOu6q7cr4nYsqL9c8pfTS1lTgRaRIflGmWnM5Ytdq4qeykEQIEKad0SYZBlkEDq07+4pq7Xvk5lFYvWJ9M+1XU1xnbzIPbfzOrJNrYMWhhTz8GDQBygxDG2NA==
ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass
 smtp.mailfrom=oracle.com; dmarc=pass action=none header.from=oracle.com;
 dkim=pass header.d=oracle.com; arc=none
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=oracle.onmicrosoft.com; s=selector2-oracle-onmicrosoft-com;
 h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck;
 bh=RHAHbysCMhHsNb25pHDzYkkLnNVK38raQbuI4PanTuU=;
 b=sAK75qSZnHRtGyughpCWsjCgyea7iUTkVNJehNFXuz2BEGeP89xHALwxf8wAwt6GBDNlKi8Zha0GXZ08KLpyZNyFBzhtxT3YR0T2hUs6D6MHgB52m2+YCkckH5TEvufWDLYd5HJtqc3p5n0DHoaatRhLnGyY1qq6rw88qJ6u6+A=
Original-Received: from SJ0PR10MB5488.namprd10.prod.outlook.com (2603:10b6:a03:37e::19)
 by DS0PR10MB6973.namprd10.prod.outlook.com (2603:10b6:8:14d::17) with
 Microsoft SMTP Server (version=TLS1_2,
 cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6222.35; Thu, 30 Mar
 2023 16:49:53 +0000
Original-Received: from SJ0PR10MB5488.namprd10.prod.outlook.com
 ([fe80::a995:2ae5:2745:24ff]) by SJ0PR10MB5488.namprd10.prod.outlook.com
 ([fe80::a995:2ae5:2745:24ff%6]) with mapi id 15.20.6222.035; Thu, 30 Mar 2023
 16:49:53 +0000
Thread-Topic: [External] : Re: Is there a way to avoid clobbering minibuffer
 by messages?
Thread-Index: AQHZYyXLDlC89P3zokuikyBK6U/cKK8The5g
In-Reply-To: <83fs9m42pc.fsf@gnu.org>
Accept-Language: en-US
Content-Language: en-US
x-ms-publictraffictype: Email
x-ms-traffictypediagnostic: SJ0PR10MB5488:EE_|DS0PR10MB6973:EE_
x-ms-office365-filtering-correlation-id: 2f1fb1d7-fbd2-4b30-3c16-08db313ec907
x-ms-exchange-senderadcheck: 1
x-ms-exchange-antispam-relay: 0
x-microsoft-antispam: BCL:0;
x-microsoft-antispam-message-info: nZdXY+/mRTPBC8PKipnslCi7HyNDoiEVPwdwleuRs5Y+jKS4HleMhZGk+7c2EOmtDOgLn8pVmkBdpt6URZ4GB9z237C3eHXHZMOmrYeyynjErWZH+IEs9ttbr2vVEhpOVv/6fHN5Ld/fgTTZm+8ZNH1r/4/AvegZ4CTRbVZ1ZUhpRiA8CRQ35VjZTOfhZY2UYA2qvHRTp9GFl7ybWHYrKLhbHu/4wWrIqvyWW+jCUYClpsGhJ7lkZYx2zI6RikV58dx80Dtl6RKbXwrcbR6Tl/GzNWHFgxIfTC3qLnZ3ABwwbFq5uzWTv0tBqAnNpCJyTiv0w57i92u18zzqLTrtxGqWWlkTO0g8s+GbHIow7YTeBUcefXauFg53gJ8a/Y22V9f89rbvZgiv02JTeQLyJhOgKbgS+u4o0PXcxXd9o2d/+4/oVXMKc9irATl4utIvxXmtojkpUrAjCdN3qUm14QBKZw55/aRR5EWWAPedKawBg8D+NgKCpQgBaEG35sM8WtdLXqsbfLAHSRbrFy9sMpFOSTUbvFy153EyYA/ikcl5k0UrCZFVyiwUu1EJZe0XWw45ZsyLoXyrDUkZ/rNnrLOLgIKFCvEVpRgrzkUzPthyYOoy+t9k31azCABYc5YQ8gm2AZYxfrFL71CnQELx7Q==
x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:;
 IPV:NLI; SFV:NSPM; H:SJ0PR10MB5488.namprd10.prod.outlook.com; PTR:; CAT:NONE;
 SFS:(13230028)(376002)(396003)(39860400002)(366004)(346002)(136003)(451199021)(44832011)(83380400001)(53546011)(26005)(9686003)(6506007)(122000001)(38100700002)(38070700005)(86362001)(71200400001)(110136005)(5660300002)(66556008)(66446008)(450100002)(8676002)(52536014)(478600001)(33656002)(41300700001)(66946007)(7696005)(8936002)(316002)(66476007)(186003)(55016003)(64756008)(15650500001)(76116006)(2906002)(66899021)(43043002);
 DIR:OUT; SFP:1101; 
x-ms-exchange-antispam-messagedata-chunkcount: 1
x-ms-exchange-antispam-messagedata-0: =?us-ascii?Q?vN3+jbWg/wls1K8Sl7PGA3A9tDH7mMRMlOvb5dm1JKzJayTo81qIdGU9Ub34?=
 =?us-ascii?Q?O3kceleBRKmdXvY2oMKrZKR4hraRsJZwunC+3NZIG8P1ACUuLbXfufbZ5BH9?=
 =?us-ascii?Q?YliwyUE7XhpPcaG99v+d8U8Pi8XDDsUrye5xZFKhVGV+hJTBulwSqF0GwfVU?=
 =?us-ascii?Q?wxseE5bwkZr3+LqYqNJilyBwdibT8p8oUY1mIUAf9UiCy45613xpUxJ/uLY1?=
 =?us-ascii?Q?/f4rpaxzTTOHMWIVMAPLtYwaAfQibxFhmxjd2ca3M9Q2FkFDZwILNSHkQf6Z?=
 =?us-ascii?Q?Zm+QVL6OGozpfCpAwqUZ1vconVkDYrhbgl/zAwRpDIrnF260seQzwPz00kFT?=
 =?us-ascii?Q?v8WMWuOx5DDsv0B/1zXbjACLe5UelvgpWfq7CHkVCWQZcPeLjFqz5EZMuSgJ?=
 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ZrYeLyxVPo/gtmKNnwfxKDtAAzxNKcRa8Eh4dPZ1sDE3XtY1KaHkzb1oX3NGqBUbfIWzKdgW1gF
 UELeVNvOrtGKqFhULZ
X-OriginatorOrg: oracle.com
X-MS-Exchange-CrossTenant-AuthAs: Internal
X-MS-Exchange-CrossTenant-AuthSource: SJ0PR10MB5488.namprd10.prod.outlook.com
X-MS-Exchange-CrossTenant-Network-Message-Id: 2f1fb1d7-fbd2-4b30-3c16-08db313ec907
X-MS-Exchange-CrossTenant-originalarrivaltime: 30 Mar 2023 16:49:53.3373 (UTC)
X-MS-Exchange-CrossTenant-fromentityheader: Hosted
X-MS-Exchange-CrossTenant-id: 4e2c6054-71cb-48f1-bd6c-3a9705aca71b
X-MS-Exchange-CrossTenant-mailboxtype: HOSTED
X-MS-Exchange-CrossTenant-userprincipalname: vYpeB9RppCi5wu0W1VegRmGpRq8XcrYgmoxOHR25eBF9UEkmj72+3dPK+rrfaIx74WpcW8gi7WPXq/KW1lsq3w==
X-MS-Exchange-Transport-CrossTenantHeadersStamped: DS0PR10MB6973
X-Proofpoint-Virus-Version: vendor=baseguard
 engine=ICAP:2.0.254,Aquarius:18.0.942,Hydra:6.0.573,FMLib:17.11.170.22
 definitions=2023-03-30_10,2023-03-30_03,2023-02-09_01
X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 bulkscore=0
 malwarescore=0
 suspectscore=0 mlxscore=0 mlxlogscore=985 spamscore=0 adultscore=0
 phishscore=0 classifier=spam adjust=0 reason=mlx scancount=1
 engine=8.12.0-2303200000 definitions=main-2303300133
X-Proofpoint-GUID: G07MIEKouOb2R39GOyx-TEKtu4IlmOzq
X-Proofpoint-ORIG-GUID: G07MIEKouOb2R39GOyx-TEKtu4IlmOzq
Received-SPF: pass client-ip=205.220.165.32;
 envelope-from=drew.adams@oracle.com; helo=mx0a-00069f02.pphosted.com
X-Spam_score_int: -27
X-Spam_score: -2.8
X-Spam_bar: --
X-Spam_report: (-2.8 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1,
 DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1,
 RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H2=-0.001, SPF_HELO_NONE=0.001,
 SPF_PASS=-0.001 autolearn=ham autolearn_force=no
X-Spam_action: no action
X-BeenThere: help-gnu-emacs@gnu.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: Users list for the GNU Emacs text editor <help-gnu-emacs.gnu.org>
List-Unsubscribe: <https://lists.gnu.org/mailman/options/help-gnu-emacs>,
 <mailto:help-gnu-emacs-request@gnu.org?subject=unsubscribe>
List-Archive: <https://lists.gnu.org/archive/html/help-gnu-emacs>
List-Post: <mailto:help-gnu-emacs@gnu.org>
List-Help: <mailto:help-gnu-emacs-request@gnu.org?subject=help>
List-Subscribe: <https://lists.gnu.org/mailman/listinfo/help-gnu-emacs>,
 <mailto:help-gnu-emacs-request@gnu.org?subject=subscribe>
Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org
Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org
Xref: news.gmane.io gmane.emacs.help:143154
Archived-At: <http://permalink.gmane.org/gmane.emacs.help/143154>



> -----Original Message-----
> From: help-gnu-emacs-bounces+drew.adams=3Doracle.com@gnu.org <help-gnu-
> emacs-bounces+drew.adams=3Doracle.com@gnu.org> On Behalf Of Eli Zaretskii
> Sent: Thursday, March 30, 2023 9:35 AM
> To: help-gnu-emacs@gnu.org
> Subject: Re: [External] : Re: Is there a way to avoid clobbering
> minibuffer by messages?
>=20
> > From: Drew Adams <drew.adams@oracle.com>
> > CC: "help-gnu-emacs@gnu.org" <help-gnu-emacs@gnu.org>
> > Date: Thu, 30 Mar 2023 16:28:16 +0000
> >
> > Why not let users choose among several behaviors?
> >
> >  1. Emacs 28+ approach: message and input in
> >     minibuffer at the same time.
> >
> >  2. Traditional approach: echo area displayed
> >     temporarily, in place of the minibuffer.
> >
> >  3. Minibuffer and echo area shown separately,
> >     in different places?
> >
> > And offer various choices for #3: how to show
> > the echo area.
>=20
> Users can already choose between 1 and 2: see set-message-function.

Good!  Sorry, I missed that; thank you.

I used menu-bar `Options > Customize Emacs >
New Options', and I searched for "minibuffer" and
"echo area", but didn't find any option for this.

Searching now for `set-message-function' I don't
see it listed either - it's a defvar, not a user
option.

Seems like this doesn't make it easy for users
to discover how to restore the pre-28 behavior,
or even let them do that easily, if they do
somehow manage to discover that variable.

> As for the other alternatives: no one wrote the code to implement
> them; patches welcome.  (Of course, they all can be implemented via
> set-message-function.)

Yes, a user can write code to implement
`set-message-function' to do <whatever>.  But
it would be good for Emacs to offer some OOTB
choices.

I understand that volunteers would be needed
to implement such things.  But it's unfortunate
that the Emacs 28 change wasn't accompanied by
some easy way for a user to revert that change,
getting back the pre-28 behavior.