From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.ciao.gmane.io!not-for-mail From: Drew Adams Newsgroups: gmane.emacs.bugs Subject: bug#39902: 28.0.50; Marking in dired with active region Date: Mon, 9 Mar 2020 08:39:49 -0700 (PDT) Message-ID: <67a61792-03b3-46d6-bbed-085cc8e13b24@default> References: <87d09suras.fsf@web.de> <87tv33r8e2.fsf@mail.linkov.net> <87eeu6hpjf.fsf@web.de> <875zfixuoy.fsf@mail.linkov.net> <87h7z1jadw.fsf@web.de> <0a7fbe16-c51f-74f6-11e0-204d472ac83e@gmx.at> <87imjdvaeo.fsf@web.de> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="ciao.gmane.io:159.69.161.202"; logging-data="129979"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 39902@debbugs.gnu.org, Juri Linkov To: Michael Heerdegen , martin rudalics Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Mon Mar 09 16:44:56 2020 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 1jBKaO-000Xi1-QQ for geb-bug-gnu-emacs@m.gmane-mx.org; Mon, 09 Mar 2020 16:44:56 +0100 Original-Received: from localhost ([::1]:45452 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jBKaN-0002aD-QI for geb-bug-gnu-emacs@m.gmane-mx.org; Mon, 09 Mar 2020 11:44:55 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:40127) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jBKYZ-0007pZ-SY for bug-gnu-emacs@gnu.org; Mon, 09 Mar 2020 11:43:04 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1jBKYY-0000vL-R0 for bug-gnu-emacs@gnu.org; Mon, 09 Mar 2020 11:43:03 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:45386) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1jBKYY-0000vB-I6 for bug-gnu-emacs@gnu.org; Mon, 09 Mar 2020 11:43:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1jBKYY-0006v8-ES for bug-gnu-emacs@gnu.org; Mon, 09 Mar 2020 11:43: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: Mon, 09 Mar 2020 15:43:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 39902 X-GNU-PR-Package: emacs Original-Received: via spool by 39902-submit@debbugs.gnu.org id=B39902.158376852126508 (code B ref 39902); Mon, 09 Mar 2020 15:43:02 +0000 Original-Received: (at 39902) by debbugs.gnu.org; 9 Mar 2020 15:42:01 +0000 Original-Received: from localhost ([127.0.0.1]:51359 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jBKXZ-0006tP-Iu for submit@debbugs.gnu.org; Mon, 09 Mar 2020 11:42:01 -0400 Original-Received: from userp2130.oracle.com ([156.151.31.86]:55240) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jBKXX-0006tB-CR for 39902@debbugs.gnu.org; Mon, 09 Mar 2020 11:42:00 -0400 Original-Received: from pps.filterd (userp2130.oracle.com [127.0.0.1]) by userp2130.oracle.com (8.16.0.42/8.16.0.42) with SMTP id 029FSqKM054210; Mon, 9 Mar 2020 15:41:53 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-2020-01-29; bh=0K9tLX/1vqMdif6j9I3u7cGKQyQ7OtuvneuZEmopdfg=; b=QfeAQ8c+ARsuVbNOSiwaT+Yp0s3i/Es+4VST84hQGXlTkW7Szr/diQi8r6uY1w5gZfSO hopr3YhFtQVGEOnPc7TJqhJzsp4TFe2pUBr0Evy0HvlySS+ZX/M9nzoZVkvpyCU12bbN EGaUMXdJAXU5YvyuyWT/xjh/r+H2jybZkiwrzTXMs3mJ2+KAWz7WBzG59Lz7Oyvi5Mrz pObnzZX2LI8BoOxe0lA5mIswQOGLXK2OE9bNqkUCdzcAe0rDtB9ZzfpAREe8l1Nn2VYD g4uq9K+E3m5JHFHfC0vxw4sEO3qbCTcW32OVaLPLuKb60XMnX3jUeLjHwsXetg0uBtJC GA== Original-Received: from userp3020.oracle.com (userp3020.oracle.com [156.151.31.79]) by userp2130.oracle.com with ESMTP id 2ym31u7ue7-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Mon, 09 Mar 2020 15:41:53 +0000 Original-Received: from pps.filterd (userp3020.oracle.com [127.0.0.1]) by userp3020.oracle.com (8.16.0.42/8.16.0.42) with SMTP id 029FV2Qm050919; Mon, 9 Mar 2020 15:39:52 GMT Original-Received: from aserv0121.oracle.com (aserv0121.oracle.com [141.146.126.235]) by userp3020.oracle.com with ESMTP id 2ymnb06qck-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Mon, 09 Mar 2020 15:39:52 +0000 Original-Received: from abhmp0015.oracle.com (abhmp0015.oracle.com [141.146.116.21]) by aserv0121.oracle.com (8.14.4/8.13.8) with ESMTP id 029FdoCk007610; Mon, 9 Mar 2020 15:39:51 GMT In-Reply-To: <87imjdvaeo.fsf@web.de> X-Priority: 3 X-Mailer: Oracle Beehive Extensions for Outlook 2.0.1.9.1 (1003210) [OL 16.0.4966.0 (x86)] X-Proofpoint-Virus-Version: vendor=nai engine=6000 definitions=9554 signatures=668685 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 phishscore=0 mlxscore=0 mlxlogscore=999 spamscore=0 suspectscore=0 adultscore=0 malwarescore=0 bulkscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2001150001 definitions=main-2003090105 X-Proofpoint-Virus-Version: vendor=nai engine=6000 definitions=9554 signatures=668685 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 adultscore=0 lowpriorityscore=0 spamscore=0 priorityscore=1501 impostorscore=0 bulkscore=0 suspectscore=0 phishscore=0 mlxlogscore=999 mlxscore=0 malwarescore=0 clxscore=1015 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2001150001 definitions=main-2003090105 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-mx.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.io gmane.emacs.bugs:177096 Archived-At: > FWIW, most of these browsers have different > kinds of "views", and I have in mind the view > that is not line based but uses a grid of icons > with names under them. Marking a region with > the mouse happens continuously. >=20 > What I want to say here is that the current > behavior makes no sense to me. And I very much > think that I'm not the only one. I don't want > to justify why I have this expectation and be > told that my mental model is wrong... > When some users are confused by the current > behavior, it would be good to improve Emacs when > it's simple as it is here. Ah, I think maybe I'm starting to understand. (Maybe.) In your external app you'll select some files, in a particular order (e.g. as presented in that app). You might do so using the mouse (in that app), but that's not really important for the use of Emacs. Then, you want that selection, made in that app, in its particular order, to be reflected as a selection in Dired. Is that right, so far? If so, what if the order is so different from the sort order in Dired that the resulting "selection" in Dired would be a noncontiguous region - multiple zones, as Juri mentioned? Is that a problem? Assuming that's not a problem (e.g. Dired has the same order, since the original order came from Dired - but see below), how would you transfer a selection in the external app to a selection (region) in Emacs? If that's not really needed, then why wouldn't just `g' in Dired (to refresh the listing) followed by, say, `C-u 9999 m' work? I guess `g' might not do what you want if Dired's sort order is by date/time, since the external app could have updated some files, making them more recent, so the order in Dired would change from what it was originally, and the Dired selection you would need might even be noncontiguous (?). Dunno whether I'm on the right track in starting to understand. Let me know. (I'm not trying to make you justify why you want what you want. I'm just trying to understand it better.)