From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: Drew Adams Newsgroups: gmane.emacs.bugs Subject: bug#6491: 24.0.50; list-buffers should not throw away marks Date: Fri, 18 Oct 2019 04:30:45 +0000 (UTC) Message-ID: <941e77a7-3d7e-4423-985a-59f1c292384d@default> References: <87d3vjqtta.fsf@jidanni.org> <5C89778B3B7B41ED879CE82090933E46@us.oracle.com> <87v9ss747g.fsf@gnus.org> <87h846n3x4.7.fsf@jidanni.org> <87eezak91x.fsf@gnus.org> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="216494"; mail-complaints-to="usenet@blaine.gmane.org" Cc: 6491@debbugs.gnu.org To: Lars Ingebrigtsen , =?UTF-8?Q?=E7=A9=8D=E4=B8=B9=E5=B0=BC?= Dan Jacobson Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Fri Oct 18 06:31:11 2019 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([209.51.188.17]) by blaine.gmane.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.89) (envelope-from ) id 1iLJux-000uAl-1y for geb-bug-gnu-emacs@m.gmane.org; Fri, 18 Oct 2019 06:31:11 +0200 Original-Received: from localhost ([::1]:35210 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iLJuv-0003c4-Uz for geb-bug-gnu-emacs@m.gmane.org; Fri, 18 Oct 2019 00:31:09 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:43611) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iLJup-0003bj-PO for bug-gnu-emacs@gnu.org; Fri, 18 Oct 2019 00:31:04 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1iLJuo-00009s-M2 for bug-gnu-emacs@gnu.org; Fri, 18 Oct 2019 00:31:03 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:40335) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1iLJuo-00008q-Hy for bug-gnu-emacs@gnu.org; Fri, 18 Oct 2019 00:31:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1iLJuo-0004X2-Ey for bug-gnu-emacs@gnu.org; Fri, 18 Oct 2019 00:31: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: Fri, 18 Oct 2019 04:31:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 6491 X-GNU-PR-Package: emacs Original-Received: via spool by 6491-submit@debbugs.gnu.org id=B6491.157137305717397 (code B ref 6491); Fri, 18 Oct 2019 04:31:02 +0000 Original-Received: (at 6491) by debbugs.gnu.org; 18 Oct 2019 04:30:57 +0000 Original-Received: from localhost ([127.0.0.1]:49155 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iLJuj-0004WW-7z for submit@debbugs.gnu.org; Fri, 18 Oct 2019 00:30:57 -0400 Original-Received: from userp2130.oracle.com ([156.151.31.86]:47634) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iLJuh-0004W1-6X for 6491@debbugs.gnu.org; Fri, 18 Oct 2019 00:30:55 -0400 Original-Received: from pps.filterd (userp2130.oracle.com [127.0.0.1]) by userp2130.oracle.com (8.16.0.27/8.16.0.27) with SMTP id x9I4SuH1034214; Fri, 18 Oct 2019 04:30:48 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oracle.com; h=mime-version : message-id : date : from : sender : to : cc : subject : references : in-reply-to : content-type : content-transfer-encoding; s=corp-2019-08-05; bh=vqLntoV11TXVLnYvp3zHl1cApJvtVIKz9GTl8dTlW40=; b=DaHX/VO6mFqM7Mk1BAMkUZvf+nJPdJcwwqOiGQV0qTszUGgONTEyTda4/vO0L/wGEvuK vceflgkRA50GgMT98WKBgTEYvRmPHxPAtxRC6ED+WgDhhauKRTYNfKIJfbZ8aFV3mMfi cmmUhpgIKXlSWT1YDreDwjk8HA8zwfirqx+wBBT68WjYKHrxLGdCovMX4Aj3TUOxRNUf +5kDNvsOy14FI8MubXt/BJ4CrDRFiaLpvYthJ/1DueQYtN6Sz8HiFNyrRvjX/sOwBWqq TxfpoCuHrebZpLn+eP3JQJSsn3xO9exb9fqUcgHQPCNCP7r7Nb0KxsMEY5M/ww6Jl5II JA== Original-Received: from aserp3030.oracle.com (aserp3030.oracle.com [141.146.126.71]) by userp2130.oracle.com with ESMTP id 2vq0q498ha-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Fri, 18 Oct 2019 04:30:48 +0000 Original-Received: from pps.filterd (aserp3030.oracle.com [127.0.0.1]) by aserp3030.oracle.com (8.16.0.27/8.16.0.27) with SMTP id x9I4Ss7Y109314; Fri, 18 Oct 2019 04:30:47 GMT Original-Received: from aserv0122.oracle.com (aserv0122.oracle.com [141.146.126.236]) by aserp3030.oracle.com with ESMTP id 2vq0dx1cne-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Fri, 18 Oct 2019 04:30:47 +0000 Original-Received: from abhmp0011.oracle.com (abhmp0011.oracle.com [141.146.116.17]) by aserv0122.oracle.com (8.14.4/8.14.4) with ESMTP id x9I4UjLp003600; Fri, 18 Oct 2019 04:30:46 GMT In-Reply-To: <87eezak91x.fsf@gnus.org> X-Priority: 3 X-Mailer: Oracle Beehive Extensions for Outlook 2.0.1.9.1 (1003210) [OL 16.0.4900.0 (x86)] X-Proofpoint-Virus-Version: vendor=nai engine=6000 definitions=9413 signatures=668684 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 suspectscore=0 malwarescore=0 phishscore=0 bulkscore=0 spamscore=0 mlxscore=0 mlxlogscore=999 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.0.1-1908290000 definitions=main-1910180043 X-Proofpoint-Virus-Version: vendor=nai engine=6000 definitions=9413 signatures=668684 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 priorityscore=1501 malwarescore=0 suspectscore=0 phishscore=0 bulkscore=0 spamscore=0 clxscore=1011 lowpriorityscore=0 mlxscore=0 impostorscore=0 mlxlogscore=999 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.0.1-1908290000 definitions=main-1910180043 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 209.51.188.43 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.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.org gmane.emacs.bugs:169637 Archived-At: > > Docstring ""v runs the command Buffer-menu-select (found in > > Buffer-menu-mode-map),"" > > doesn't even mention it throws away the marks. >=20 > No, but it's common (in some modes) Which ones? Maybe they should change, to take advantage of the other (superior ;-)) behavior. Do they have a notion of updating - does `g' update them in some way? Or does it just reset them? A file listing is a perfect case for having `g' update - sync with the world outside the buffer state. That you can do that but keep other aspects of the buffer state is a plus. Maybe the modes you have in mind do not have any notion of updating, so `g' just does a total reset? If not, they might be candidates for upgrading to the Dired-like behavior. ;-) > to first mark a bunch of stuff, and > then when you execute the command on those marked things, the marks are > cleared so that you can then mark some other things and do some stuff > on them. That's only useful when it's necessary because no one provided an alternative. And it's only necessary if the mode doesn't have a simple way to clear the marks on demand. (`M-DEL RET' in Dired.) Separating clearing marks from syncing the buffer is a plus. There's no good reason to hard-couple the two - unless reverting does no updating, i.e., unless it's essentially just clearing marks. > Dired is one mode that doesn't work like that, but it's not the only > mode in Emacs. It's not the only one, but it's a good one. And it's clearly the closest one to the behavior of `list-buffers'.