From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.ciao.gmane.io!not-for-mail From: Juri Linkov Newsgroups: gmane.emacs.bugs Subject: bug#39902: 28.0.50; Marking in dired with active region Date: Sun, 15 Mar 2020 01:45:38 +0200 Organization: LINKOV.NET Message-ID: <87bloybivx.fsf@mail.linkov.net> References: <87d09suras.fsf@web.de> <87tv33r8e2.fsf@mail.linkov.net> <87eeu6hpjf.fsf@web.de> <875zfixuoy.fsf@mail.linkov.net> <87h7z1jadw.fsf@web.de> <87y2sbloaa.fsf@mail.linkov.net> <877dzvgd4l.fsf@web.de> <8736aiqu3y.fsf@mail.linkov.net> <7a0a6f19-f958-4b38-beaf-3d60dc8a279f@default> <87d09lb1ts.fsf@mail.linkov.net> <87a74n4vet.fsf@web.de> <87eetzah2s.fsf@mail.linkov.net> <87zhcn9229.fsf@mail.linkov.net> <6d82d04a-db94-4df4-82cc-3ea13a78a4dd@default> <877dzqidzn.fsf@mail.linkov.net> <1e37a524-80d3-445f-8f81-a18539105ac3@default> <87pndhhyvk.fsf@mail.linkov.net> <1ce62594-cc2a-4e95-b2b3-d022fa65decd@default> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="ciao.gmane.io:159.69.161.202"; logging-data="124819"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (x86_64-pc-linux-gnu) Cc: Michael Heerdegen , 39902@debbugs.gnu.org To: Drew Adams Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sun Mar 15 01:06:15 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 1jDGnG-000WMa-VE for geb-bug-gnu-emacs@m.gmane-mx.org; Sun, 15 Mar 2020 01:06:15 +0100 Original-Received: from localhost ([::1]:49556 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jDGnF-0006oR-UH for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 14 Mar 2020 20:06:13 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:50801) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jDGn5-0006nw-Ef for bug-gnu-emacs@gnu.org; Sat, 14 Mar 2020 20:06:04 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1jDGn4-0003ND-Do for bug-gnu-emacs@gnu.org; Sat, 14 Mar 2020 20:06:03 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:56354) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1jDGn4-0003Mx-AP for bug-gnu-emacs@gnu.org; Sat, 14 Mar 2020 20:06:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1jDGn4-0002N0-5P for bug-gnu-emacs@gnu.org; Sat, 14 Mar 2020 20:06:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Juri Linkov Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 15 Mar 2020 00:06: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.15842307048998 (code B ref 39902); Sun, 15 Mar 2020 00:06:02 +0000 Original-Received: (at 39902) by debbugs.gnu.org; 15 Mar 2020 00:05:04 +0000 Original-Received: from localhost ([127.0.0.1]:34089 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jDGm8-0002L4-Cy for submit@debbugs.gnu.org; Sat, 14 Mar 2020 20:05:04 -0400 Original-Received: from aye.elm.relay.mailchannels.net ([23.83.212.6]:41092) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jDGm6-0002KN-Id for 39902@debbugs.gnu.org; Sat, 14 Mar 2020 20:05:03 -0400 X-Sender-Id: dreamhost|x-authsender|jurta@jurta.org Original-Received: from relay.mailchannels.net (localhost [127.0.0.1]) by relay.mailchannels.net (Postfix) with ESMTP id 454DE500DAA; Sun, 15 Mar 2020 00:05:01 +0000 (UTC) Original-Received: from pdx1-sub0-mail-a76.g.dreamhost.com (100-96-217-49.trex.outbound.svc.cluster.local [100.96.217.49]) (Authenticated sender: dreamhost) by relay.mailchannels.net (Postfix) with ESMTPA id C1B1E500F9C; Sun, 15 Mar 2020 00:05:00 +0000 (UTC) X-Sender-Id: dreamhost|x-authsender|jurta@jurta.org Original-Received: from pdx1-sub0-mail-a76.g.dreamhost.com ([TEMPUNAVAIL]. [64.90.62.162]) (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384) by 0.0.0.0:2500 (trex/5.18.5); Sun, 15 Mar 2020 00:05:01 +0000 X-MC-Relay: Neutral X-MailChannels-SenderId: dreamhost|x-authsender|jurta@jurta.org X-MailChannels-Auth-Id: dreamhost X-Hook-Invention: 6b52158c1bef5343_1584230701081_2962796622 X-MC-Loop-Signature: 1584230701081:2007899357 X-MC-Ingress-Time: 1584230701081 Original-Received: from pdx1-sub0-mail-a76.g.dreamhost.com (localhost [127.0.0.1]) by pdx1-sub0-mail-a76.g.dreamhost.com (Postfix) with ESMTP id 22D4AB05B3; Sat, 14 Mar 2020 17:04:56 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=linkov.net; h=from:to:cc :subject:references:date:in-reply-to:message-id:mime-version :content-type; s=linkov.net; bh=We/KWmGNg6i+ACCuZwXYQ+dYnEA=; b= ZCeOWvb97mk9/ZYKNdXFF4VlSn9ZoeKFYniTZ+uia7qq+JGy0QlsHxW8LqFprvER evOD6M5NnGUAABPn6Zv2QOvxRNeuXlrh3+qWDCixqDlNWGznSGAIslXq2DY/XIpD ozgQUxxLVELsnLEqGytKIq4lUi0PfSrjKxcb/De2Rkc= Original-Received: from mail.jurta.org (m91-129-107-65.cust.tele2.ee [91.129.107.65]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) (Authenticated sender: jurta@jurta.org) by pdx1-sub0-mail-a76.g.dreamhost.com (Postfix) with ESMTPSA id 7BECEB05B1; Sat, 14 Mar 2020 17:04:51 -0700 (PDT) X-DH-BACKEND: pdx1-sub0-mail-a76 In-Reply-To: <1ce62594-cc2a-4e95-b2b3-d022fa65decd@default> (Drew Adams's message of "Sat, 14 Mar 2020 10:56:29 -0700 (PDT)") X-VR-OUT-STATUS: OK X-VR-OUT-SCORE: -100 X-VR-OUT-SPAMCAUSE: gggruggvucftvghtrhhoucdtuddrgedugedrudeftddguddvucetufdoteggodetrfdotffvucfrrhhofhhilhgvmecuggftfghnshhusghstghrihgsvgdpffftgfetoffjqffuvfenuceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmnecujfgurhephffvufhofhffjgfkfgggtgesthdtredttdertdenucfhrhhomheplfhurhhiucfnihhnkhhovhcuoehjuhhriheslhhinhhkohhvrdhnvghtqeenucfkphepledurdduvdelrddutdejrdeiheenucevlhhushhtvghrufhiiigvpedvnecurfgrrhgrmhepmhhouggvpehsmhhtphdphhgvlhhopehmrghilhdrjhhurhhtrgdrohhrghdpihhnvghtpeeluddruddvledruddtjedrieehpdhrvghtuhhrnhdqphgrthhhpefluhhrihcunfhinhhkohhvuceojhhurhhisehlihhnkhhovhdrnhgvtheqpdhmrghilhhfrhhomhepjhhurhhisehlihhnkhhovhdrnhgvthdpnhhrtghpthhtohepughrvgifrdgruggrmhhssehorhgrtghlvgdrtghomh 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:177371 Archived-At: >> The most obvious way for users to mark e.g. next 2 files >> is to type S-down 2 times, then type 'm', especially >> convenient when arrow keys are located near the 'm' key. > > I don't have a problem with users doing that. What's the > problem with that? What habit would be broken? The habit of typing S-down twice to mark two files, not three. > What we're talking about, I thought, is that, IF you use > `m' (or other mark-changing keys) AFTER you do that (or > after something else that selects parts of contiguous > file lines as the active region), THEN that marking > command acts on each file that has ANY part of its line > selected. That's what the behavior should be, IMO. 1. > That second image, where point is not at bol, _should_ > result in the 3rd file being marked, IMO - and it does. 2. > For me, it's about whether ANY (non-empty, hence the > bolp fix) part of a file's line is selected. Aren't the above two sentences contradicting? Because on the second image there is only empty space before the file name, so according to your second sentence, the 3rd file should NOT be marked. > (An action, such as renaming, might affect only the > file-name portion as its _result_. But it takes > effect on the file designated by that line. And other > actions (e.g. chmod, touch) can affect other parts of > the line (e.g. permissions, date). > > We've been around and around about the question now. > I think those who have spoken up in this thread, > including OP Michael - with you as the exception, feel > the same way: Act on each file when any non-empty part > of its line is in the active region. Why non-empty part of the line? It's more logical about the non-empty part of the file name, because dired commands don't act on lines, but on files.