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, 24 Mar 2020 15:14:00 -0700 (PDT) Message-ID: <9ce72e62-6aec-473d-8f39-53ec16c6909f@default> References: <87d09suras.fsf@web.de> <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> <87bloybivx.fsf@mail.linkov.net> <0066d43a-5f97-4c9d-a4b7-84c6b0ecf356@default> <87bloxgp9g.fsf@mail.linkov.net> <8736a7ajn5.fsf@web.de> <87fte52pbf.fsf@mail.linkov.net> <87o8sruchv.fsf@mail.linkov.net> <875zexf6l3.fsf@web.de> <4dd30e49-9a6a-4962-a6f2-1a68a41ce5e2@default> <87a747zyru.fsf@mail.linkov.net> <71b84061-b6c4-4fec-b12b-084b2df3c6c3@default> <87h7yds9dt.fsf@mail.linkov.net> 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="102424"; mail-complaints-to="usenet@ciao.gmane.io" Cc: Michael Heerdegen , 39902@debbugs.gnu.org To: Juri Linkov Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Tue Mar 24 23:15:24 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 1jGrpT-000QWn-Ed for geb-bug-gnu-emacs@m.gmane-mx.org; Tue, 24 Mar 2020 23:15:23 +0100 Original-Received: from localhost ([::1]:55918 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jGrpS-0001lq-Gk for geb-bug-gnu-emacs@m.gmane-mx.org; Tue, 24 Mar 2020 18:15:22 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:42329) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jGrp8-0001lZ-VJ for bug-gnu-emacs@gnu.org; Tue, 24 Mar 2020 18:15:03 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1jGrp8-0006KB-3d for bug-gnu-emacs@gnu.org; Tue, 24 Mar 2020 18:15:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:49739) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1jGrp8-0006K6-07 for bug-gnu-emacs@gnu.org; Tue, 24 Mar 2020 18:15:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1jGrp7-0007Ff-SI for bug-gnu-emacs@gnu.org; Tue, 24 Mar 2020 18:15:01 -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, 24 Mar 2020 22:15:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 39902 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: fixed Original-Received: via spool by 39902-submit@debbugs.gnu.org id=B39902.158508805227792 (code B ref 39902); Tue, 24 Mar 2020 22:15:01 +0000 Original-Received: (at 39902) by debbugs.gnu.org; 24 Mar 2020 22:14:12 +0000 Original-Received: from localhost ([127.0.0.1]:55712 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jGroK-0007EC-FO for submit@debbugs.gnu.org; Tue, 24 Mar 2020 18:14:12 -0400 Original-Received: from aserp2120.oracle.com ([141.146.126.78]:48552) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jGroJ-0007E0-4s for 39902@debbugs.gnu.org; Tue, 24 Mar 2020 18:14:11 -0400 Original-Received: from pps.filterd (aserp2120.oracle.com [127.0.0.1]) by aserp2120.oracle.com (8.16.0.42/8.16.0.42) with SMTP id 02OMDD6E144557; Tue, 24 Mar 2020 22:14:04 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=DkUXXIkFBIvsS4S3HWeKTlj70is5zMraiJzRPaIKcB0=; b=G0ccJO1D0xBX6/W/q7a8Sjiag6rHc39fTVo8ZFG4u+SbdohZWoHjedMFzUCoW3O/IGxM 2FpdIBfs5WcNrqJfCzCIaBaAtOmTi5tIzuwu2bC5kRCYZ0Pjfa9i421HdoMT4vrOhKbE 7P51yrRge41wIq+pKX4vrOo4LrknsdnOugSGY6S7hJTEdMX17MN+6VTZnB3v3zsO/9TH +bX1ZHhf61AVHUSNWMI7zwq+NgYXshwwsgLVoZMY2ndLIyh7yCg5vos1roRdrPYoL/K4 g3qDm4RCjeZSnyWTvvkNGi1DmJAlzRZF3x4ZxznOeJBvrjatzhGJjwHUHeVD1/zOqKuW kA== Original-Received: from userp3020.oracle.com (userp3020.oracle.com [156.151.31.79]) by aserp2120.oracle.com with ESMTP id 2ywavm6we5-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Tue, 24 Mar 2020 22:14:04 +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 02OMBfpt188329; Tue, 24 Mar 2020 22:14:03 GMT Original-Received: from aserv0122.oracle.com (aserv0122.oracle.com [141.146.126.236]) by userp3020.oracle.com with ESMTP id 2yxw6nku7q-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Tue, 24 Mar 2020 22:14:03 +0000 Original-Received: from abhmp0007.oracle.com (abhmp0007.oracle.com [141.146.116.13]) by aserv0122.oracle.com (8.14.4/8.14.4) with ESMTP id 02OME22t027234; Tue, 24 Mar 2020 22:14:02 GMT In-Reply-To: <87h7yds9dt.fsf@mail.linkov.net> 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=9570 signatures=668685 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 suspectscore=0 adultscore=0 malwarescore=0 mlxscore=0 spamscore=0 mlxlogscore=999 bulkscore=0 phishscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2003020000 definitions=main-2003240111 X-Proofpoint-Virus-Version: vendor=nai engine=6000 definitions=9570 signatures=668685 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 adultscore=0 malwarescore=0 priorityscore=1501 mlxscore=0 bulkscore=0 clxscore=1015 impostorscore=0 phishscore=0 suspectscore=0 mlxlogscore=999 spamscore=0 lowpriorityscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2003020000 definitions=main-2003240111 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:177691 Archived-At: > > And it's easy to hit `C-SPC' without realizing that you've done so - > > there's no good visual signal (just the "Mark activated" msg). >=20 > Typing `C-x SPC' shows an indication as a thin vertical bar highlighted > with the region face. But `C-SPC' doesn't have the same subtle > indication. Yes, sorry, I meant `C-SPC'. > > an empty region should always be ignored... > > A better way to do it...: > > (if (and (region-active-p) > > (> (region-end) (region-beginning))) >=20 > Thanks for the suggestion, now changed in master. Glad we reached a conclusion. Thanks to both of you for working on this.