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: Tue, 10 Mar 2020 09:33:59 -0700 (PDT) Message-ID: <2c2bb934-6cb9-4c84-a35b-85c1755d5e57@default> 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> <87v9ndvazk.fsf@web.de> <44092023-db86-4399-bff9-b731785bb23e@default> <87mu8oqjqy.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="65492"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 39902@debbugs.gnu.org, Juri Linkov To: Michael Heerdegen Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Tue Mar 10 17:37:14 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 1jBhsY-000GvQ-2Y for geb-bug-gnu-emacs@m.gmane-mx.org; Tue, 10 Mar 2020 17:37:14 +0100 Original-Received: from localhost ([::1]:36638 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jBhsX-0002FA-4D for geb-bug-gnu-emacs@m.gmane-mx.org; Tue, 10 Mar 2020 12:37:13 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:60804) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jBhsN-0002Ew-Os for bug-gnu-emacs@gnu.org; Tue, 10 Mar 2020 12:37:04 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1jBhsM-0002GW-HN for bug-gnu-emacs@gnu.org; Tue, 10 Mar 2020 12:37:03 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:47210) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1jBhsM-0002Fy-Cx for bug-gnu-emacs@gnu.org; Tue, 10 Mar 2020 12:37:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1jBhsM-0004Mr-8x for bug-gnu-emacs@gnu.org; Tue, 10 Mar 2020 12:37: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: Tue, 10 Mar 2020 16:37: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.158385817716725 (code B ref 39902); Tue, 10 Mar 2020 16:37:02 +0000 Original-Received: (at 39902) by debbugs.gnu.org; 10 Mar 2020 16:36:17 +0000 Original-Received: from localhost ([127.0.0.1]:53180 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jBhrc-0004Lg-Us for submit@debbugs.gnu.org; Tue, 10 Mar 2020 12:36:17 -0400 Original-Received: from userp2120.oracle.com ([156.151.31.85]:53424) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jBhrY-0004LL-MV for 39902@debbugs.gnu.org; Tue, 10 Mar 2020 12:36:15 -0400 Original-Received: from pps.filterd (userp2120.oracle.com [127.0.0.1]) by userp2120.oracle.com (8.16.0.42/8.16.0.42) with SMTP id 02AGP4HC171911; Tue, 10 Mar 2020 16:36:06 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=RiIDmOioi39UmpQQe/mDhSat1Ol+epsHT953lzZrlQY=; b=Qat3BI99qECrIMV0TMZprPyYkwi3xPnAY5ujR5Bxsqw0UQ4pDdpFXBy7L4dFNgzqCjZf 9ryrTDSN5WSEXCsvAn5F47pDtdCHDKju85pbV3HCMU75nhM6/unBngC4+97kAyhTsLMQ 3k91Ln436sJwMlKPbLLAUyii0flGi4jc97hEaDQASHsscr8/BE6rM3mDWsL/P2w9+Nhl V8U8Kbu9Cdqvp5g/O4DtLm7o/pJIOKDgWWALaHKnOIFL5w63ieeqpuFsLra2tk7yR5zO XpAt8ClOeG83+j1Ecv9y0L+EvnTEgsOyOBwUdVNr7wo7FJwUUY9pcccNXPzu03zKKNNk Qg== Original-Received: from userp3030.oracle.com (userp3030.oracle.com [156.151.31.80]) by userp2120.oracle.com with ESMTP id 2yp7hm32v6-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Tue, 10 Mar 2020 16:36:06 +0000 Original-Received: from pps.filterd (userp3030.oracle.com [127.0.0.1]) by userp3030.oracle.com (8.16.0.42/8.16.0.42) with SMTP id 02AGXLbY037362; Tue, 10 Mar 2020 16:34:06 GMT Original-Received: from userv0122.oracle.com (userv0122.oracle.com [156.151.31.75]) by userp3030.oracle.com with ESMTP id 2yp8qp2h6r-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Tue, 10 Mar 2020 16:34:05 +0000 Original-Received: from abhmp0010.oracle.com (abhmp0010.oracle.com [141.146.116.16]) by userv0122.oracle.com (8.14.4/8.14.4) with ESMTP id 02AGY0Mc029107; Tue, 10 Mar 2020 16:34:02 GMT In-Reply-To: <87mu8oqjqy.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=9556 signatures=668685 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 phishscore=0 malwarescore=0 mlxscore=0 adultscore=0 suspectscore=2 bulkscore=0 spamscore=0 mlxlogscore=999 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2001150001 definitions=main-2003100102 X-Proofpoint-Virus-Version: vendor=nai engine=6000 definitions=9556 signatures=668685 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 bulkscore=0 spamscore=0 priorityscore=1501 clxscore=1015 mlxscore=0 impostorscore=0 mlxlogscore=999 suspectscore=2 phishscore=0 malwarescore=0 adultscore=0 lowpriorityscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2001150001 definitions=main-2003100102 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:177148 Archived-At: Thanks for the details. Sorry about not getting it. > > `C-u 99999 m' starting where you left off? >=20 > I could do that. I didn't use to use these keys because I just > ... wanted to use the region. Plus, maybe I don't want to continue with > all of the remaining files but only a subset? OK. Confirming: 1. You could use `C-u m', and it would be about as easy (number of keystrokes). You might have to guess , if you wanted only some of the remaining files. 2. The point is that, regardless of _why_ you might want to mark the files in the region, doing that should just work, where "work" means that any file with any part of its line in the active region gets marked. (Likewise, for unmarking, flagging, changing marks, etc.) As you put it: > I expect marking in dired with region active to > always behave the same no matter why I do it. As I think I've indicated, I agree 100%. And I think the fix is trivial, and it has already been given in this thread (more than once). The bug, found by Stephen Berman, was presumably just a typo in the first place: (progn (goto-char end) (line-beginning-position)) should be (progn (goto-char end) (line-end-position)) Hopefully someone will apply that fix. > If you didn't understand now I'm willing to pay a > flight to Germany so I can show you ;-) In a short while, flights will be almost free, in money terms - unfortunately for world health. ;-)