From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Drew Adams Newsgroups: gmane.emacs.bugs Subject: bug#19070: 25.0.50; Provide a user option that filters the buffer list for `switch-to-next-buffer' Date: Thu, 12 May 2022 16:02:49 +0000 Message-ID: References: <6ccbf136-5fc1-4b95-ab58-67ad51619fe8@default> <87r14z353v.fsf@gnus.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="19984"; mail-complaints-to="usenet@ciao.gmane.io" Cc: "19070@debbugs.gnu.org" <19070@debbugs.gnu.org> To: Lars Ingebrigtsen Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Thu May 12 18:11:39 2022 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 1npBPf-00050n-80 for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 12 May 2022 18:11:39 +0200 Original-Received: from localhost ([::1]:37036 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1npBPd-0000f5-T2 for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 12 May 2022 12:11:37 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:46274) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1npBHM-0002Du-Ut for bug-gnu-emacs@gnu.org; Thu, 12 May 2022 12:03:04 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:48112) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1npBHK-0008FA-7U for bug-gnu-emacs@gnu.org; Thu, 12 May 2022 12:03:04 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1npBHK-0007F8-4l for bug-gnu-emacs@gnu.org; Thu, 12 May 2022 12:03:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Drew Adams Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 12 May 2022 16:03:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 19070 X-GNU-PR-Package: emacs Original-Received: via spool by 19070-submit@debbugs.gnu.org id=B19070.165237137627829 (code B ref 19070); Thu, 12 May 2022 16:03:02 +0000 Original-Received: (at 19070) by debbugs.gnu.org; 12 May 2022 16:02:56 +0000 Original-Received: from localhost ([127.0.0.1]:42009 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1npBHE-0007Ek-0j for submit@debbugs.gnu.org; Thu, 12 May 2022 12:02:56 -0400 Original-Received: from mx0a-00069f02.pphosted.com ([205.220.165.32]:5870) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1npBHC-0007Eb-NW for 19070@debbugs.gnu.org; Thu, 12 May 2022 12:02:55 -0400 Original-Received: from pps.filterd (m0246617.ppops.net [127.0.0.1]) by mx0b-00069f02.pphosted.com (8.17.1.5/8.17.1.5) with ESMTP id 24CEeBEr023694; Thu, 12 May 2022 16:02:54 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oracle.com; h=from : to : cc : subject : date : message-id : references : in-reply-to : content-type : content-transfer-encoding : mime-version; s=corp-2021-07-09; bh=rp92L5qnCsVpCxvy8cga3NdkcrBLtuddZsm10qDpyh0=; b=Sw34p3HOu7XvyYpG5XZvwv5CmJDXd87cDzsP1Uy0sFEv/Qu6fFM6Nm3AkDDSHi1KzMvl mQyzMg/GNCIpqQNJ37GhFwfPm3CMSp+aT3hOg/X/xq1kwqzfQVuHY+4SGjJvn1Ep8Ju3 38vYzR1dXDA9JY1bNSNKKgnmqp7IVJ29pG1XuKohKK+NDm5x7xjf+XzOra8/ogp2+dun ZT7vZYT3llezckerpysJ64yfbkQmLgEBMzhdTscUKSyKtvgcjqQXzvNqcy6uaWrgTUlk hNcFUa5luC8hQqeLhF6+MwVhAbzPieWk9ay2CWy2ZxdM3rq1nQsDjrlLz0GdWbZS/4YT ng== Original-Received: from iadpaimrmta03.imrmtpd1.prodappiadaev1.oraclevcn.com (iadpaimrmta03.appoci.oracle.com [130.35.103.27]) by mx0b-00069f02.pphosted.com (PPS) with ESMTPS id 3fwhatna87-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Thu, 12 May 2022 16:02:53 +0000 Original-Received: from pps.filterd (iadpaimrmta03.imrmtpd1.prodappiadaev1.oraclevcn.com [127.0.0.1]) by iadpaimrmta03.imrmtpd1.prodappiadaev1.oraclevcn.com (8.16.1.2/8.16.1.2) with SMTP id 24CFklk2015814; Thu, 12 May 2022 16:02:52 GMT Original-Received: from nam04-dm6-obe.outbound.protection.outlook.com (mail-dm6nam08lp2045.outbound.protection.outlook.com [104.47.73.45]) by iadpaimrmta03.imrmtpd1.prodappiadaev1.oraclevcn.com with ESMTP id 3fwf75eap0-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Thu, 12 May 2022 16:02:52 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=MwUs6Km37+z8Tx9pA+TmZHSYFZRG+bUJnWd4yMVBASKJF9mk7rH4AsGF75w17t5brVHQQlzj4ON7Zk5GTdDRrMdvT+zVaBt/vIGPlhcttZzAzt66jvZYnOYA6BIGpqezS5gISMsUVpXINVZxuD5jNHtKYvcPpIE5H1tskE4+Nt2Eq8gOU6WX6DyW+JbXSz3uOR4vYx+Fthh1Qi9hv+r1Bt+JLOh0ossKbTdiNIBQAhVZkynmN3m4t6YVlafqMjs/DIsPGHj5xyOrN2zqwuclXNXUNJ9R8HttQ+2xCstnFFA1K/iFD01zk7ApFYpodBHU8qeQF4OWszOZe7RUBUctZg== 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=rp92L5qnCsVpCxvy8cga3NdkcrBLtuddZsm10qDpyh0=; b=MWpImicme9IqdoktMALDQkUvczGghLecmyi4WJBYtK5gBpW8QLF3Fe/JnT53yxXB95s/nSVczXRXHfE4Xz5YLEqxRInpYYqw7VHPsKEx5Ow30uVsn1fIfnuQb5xmOJG7Q3efLMf+x2oRs+3Bl4Xtgu/roTArhCzJJYD4p8goE+5MvjVri7oqOv6DQ7x+17MGDCpmNxpvHTuQdr5/4qSGqp9Exw8kGyfPsgMU6kEnLLZwgxh6Yo5qfr76i6UUs/d/ox2ODpJRbrbwqcUD0QOYl2Qu9Mv4J61N7kw4VhffERKvIr64tb+d/QuxkyzyQSkwAHcodF5WrC4A7NJbQQmvYw== 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=rp92L5qnCsVpCxvy8cga3NdkcrBLtuddZsm10qDpyh0=; b=RKKZdYkISZ93BZ5VY8AUsSCCdH7kZmbWHKexop1+yFJCA0nguRDM7edMl8ZRIh6zC0Hu/JUXkiTuKWaWa1iljAxubVk6Sh8gSA2jyLlFYSa3S6x3XggnGYcmP7fnCF+2zmeHkV8HZjiODV2uktQwMmjLDcdl4yt2iN0AzIlMoJ0= Original-Received: from SJ0PR10MB5488.namprd10.prod.outlook.com (2603:10b6:a03:37e::19) by MW4PR10MB5774.namprd10.prod.outlook.com (2603:10b6:303:18e::14) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5227.23; Thu, 12 May 2022 16:02:50 +0000 Original-Received: from SJ0PR10MB5488.namprd10.prod.outlook.com ([fe80::a0e7:5f38:ab50:5123]) by SJ0PR10MB5488.namprd10.prod.outlook.com ([fe80::a0e7:5f38:ab50:5123%9]) with mapi id 15.20.5227.024; Thu, 12 May 2022 16:02:50 +0000 Thread-Topic: [External] : Re: bug#19070: 25.0.50; Provide a user option that filters the buffer list for `switch-to-next-buffer' Thread-Index: AQHYZaCbSVHzFwR4wkKjNRPoD2GKia0bZ8Uw In-Reply-To: <87r14z353v.fsf@gnus.org> Accept-Language: en-US Content-Language: en-US x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: 0383102d-0810-465a-be77-08da3430dd35 x-ms-traffictypediagnostic: MW4PR10MB5774:EE_ x-microsoft-antispam-prvs: x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: svU7cbm1ehA0MdSJ6M8P880f0uRcjhLV1nOkP7i4RM8ZiF9TU+mkZk148d9qlevH0yn3vSgbdhSujAwN9L4Qzrz+qS6YBRDHtN4hA5/e/IXK07iuP2odDoGxwgtH9sZJ8njSnBFEthwFIu7GPLYHlqPSza5RGZveLlW8i7iesvEl70gGlDXhvbPjmCz19q2m2BYODZ7ILya95y2Uf94raRREAhcH/skW3OBCG98YyKS37Rchhq0jdFC4GFAxrso4dANdvH5LKi6SozhnPTx9fDysqwsZznAdoqJCgZjfLuLgcocS7+Q9xeT4jGb+Bz0udpeKGdDo2HJPGGF6b49SMaIlxuNQnpUFKUsu6x+MYM2sUmEN0MME39cIWOwjSfuAFHRM0X6vXIy2VGMAb1c+3PlCnU5gCAOJ5eYJUJbUnkdHn8XEsdUeGJtUnwpRyXIT3167dnf+pBlpYH5CaOrKkFj1AmnqBfZxs2rKefcQdOURWjph+ifny1OX47nUxGvdOzoQNzuDDK3ObeQhpTRS2PgDYfw1XoTiVbgWU7Oy9U+wYTnj2hFecFQLxBsW88yUfBw2/PT0jZSDsfrF/Nkz3dQonOEzgDxEjf1QnQTMQ4YwQepUlOv7PkJ3O6mjjt5bDXRt4XYLNzyVhrnIU8R6w7iU1enIP4Q9mjKrzpp1me8OrXEJvflVnZ0OJmK+/mUxz8rB2MupQst+ziX9DpPmY42cXCVc5tqKUwbuj4QP7gs= 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:(13230001)(366004)(9686003)(4744005)(64756008)(5660300002)(6506007)(8676002)(76116006)(26005)(66946007)(66476007)(4326008)(66446008)(33656002)(2906002)(8936002)(7696005)(44832011)(186003)(66556008)(508600001)(52536014)(55016003)(71200400001)(38070700005)(38100700002)(86362001)(6916009)(316002)(122000001)(81973001); DIR:OUT; SFP:1101; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: /iW8Lec1SpOAqmfzJt0XN4d/jjZw9LU/9Zy/cCujxWzssI18Sjb4G7WJ9mMMe3kJWN8WRjY7Qm2kt6UAD7QUtvHHR2R2XOlwp95PQu6JTLPmKHk/8Qyd9zGaQCoiszNcWyXi+MvK1dxmHvOM4LaLVhcruX/CXhdBYVXKexijMSfg7Q/rD+VqcKkTz2NXoUyJ1dyE2zRtPh26/x0hKBQHAu/+kUlTIRV5YyorfCHABJi2eSBep6NvwOJQj8BFCd/k853EBn5DbTQYUMHgRD9nN8tlEu9HAA4nQHKKF/z2GSsNu5QZ6SOM/OR78eYyQjGKVaziCuPJKtSamah2fb+UubYOR+XVyz5AswwEoElbBCKpUccNcezyVxBNA6H9v/SHlMCc+Tb7lBB5fVzoqNEBSrgAcEby7DOKxyhlex/0BqXCo6c3pF2da24aikW0N3SUXIsWLh1noVHBqH0jfuc4FgEWVYKuiz8SRROazvW5sT+7EYMh0QnVK+G6jt/zgAymZgyMsF2CGDmT+S4KkTaKVwQ66djLcVm9PW1AMFP4MT24/UGXc3GOsoAtQwvK8MrmZNhyvOHWs3wamy7D2WcZU/+EcWdU5lVdoboRSJh/0YaozMILcYpsvfEn7iyiRZ2rdZG4pTXxeYrE9pxLWyQmahivtZyAuncgrCM9b2BPeBuKoGkH7xq0R/zVdgghGdK9Odl8CKqbRZIAB2VZSE0L6aHzs87RCw7PgO+drbZI4Gk7CsXC/E9NdALRmq BykCCk846gfg0AiSJFyv7cdhTrOoyDolAoYSaS/VNQQ9tiqPpwqujBZ/TBsHUGnVzPMcp79HZmg+qOXvYONdkW4vLi3mOiYOfV 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: 0383102d-0810-465a-be77-08da3430dd35 X-MS-Exchange-CrossTenant-originalarrivaltime: 12 May 2022 16:02:50.0083 (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: Ua4m2pLZtPHiRz4WLLHA4cTUDpseea/NYIuv1Q8Xt0GRVLSf0FPiKmi+l7DPVdZ0fZyVzZPj8XVsPAG7YKzDfg== X-MS-Exchange-Transport-CrossTenantHeadersStamped: MW4PR10MB5774 X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:6.0.486, 18.0.858 definitions=2022-05-12_08:2022-05-12, 2022-05-12 signatures=0 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 mlxlogscore=858 adultscore=0 spamscore=0 phishscore=0 suspectscore=0 mlxscore=0 bulkscore=0 malwarescore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2202240000 definitions=main-2205120076 X-Proofpoint-GUID: G-SelzH69FRtD-QtMpczyfPgA7sRMAgn X-Proofpoint-ORIG-GUID: G-SelzH69FRtD-QtMpczyfPgA7sRMAgn 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" Xref: news.gmane.io gmane.emacs.bugs:232059 Archived-At: > > Provide a user option with a regexp value that filters the buffers (by > > name) that are cycled through by `next-buffer' and `previous-buffer'. > > Buffer names matching the regexp would be excluded. >=20 > Emacs 27.1 added switch-to-prev-buffer-skip, but didn't include a > simple regexp form, and I agree that such a simple form is usually what p= eople > want. (I know you can achieve some of this stuff by making windows > dedicated, too, but that's another complication.) >=20 > > Or the option could be a cons, with one part determining whether the > > regexp is used to exclude or include and the other part being the > > regexp. >=20 > I see the charm, but for complex setups like that, I think using > dedicated windows would be the thing. >=20 > So I've now added switch-to-prev-buffer-skip-regexp to Emacs 29. Did you respect this part? The default value should not exclude any buffers.