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 17:24:16 -0700 (PDT) Message-ID: <96c51d58-1037-4577-8a9b-3c773b64c3f7@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> <8736aiqu3y.fsf@mail.linkov.net> <7a0a6f19-f958-4b38-beaf-3d60dc8a279f@default> <87d09lb1ts.fsf@mail.linkov.net> <87wo7raj4r.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="76862"; 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 Wed Mar 11 01:25: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 1jBpBS-000Jqf-1z for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 11 Mar 2020 01:25:14 +0100 Original-Received: from localhost ([::1]:42116 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jBpBQ-0007in-QW for geb-bug-gnu-emacs@m.gmane-mx.org; Tue, 10 Mar 2020 20:25:12 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:59140) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jBpBH-0007iV-Bd for bug-gnu-emacs@gnu.org; Tue, 10 Mar 2020 20:25:04 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1jBpBG-0001y7-Dt for bug-gnu-emacs@gnu.org; Tue, 10 Mar 2020 20:25:03 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:47511) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1jBpBG-0001xM-97 for bug-gnu-emacs@gnu.org; Tue, 10 Mar 2020 20:25:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1jBpBG-0000pX-5C for bug-gnu-emacs@gnu.org; Tue, 10 Mar 2020 20:25: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: Wed, 11 Mar 2020 00:25: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.15838862713149 (code B ref 39902); Wed, 11 Mar 2020 00:25:02 +0000 Original-Received: (at 39902) by debbugs.gnu.org; 11 Mar 2020 00:24:31 +0000 Original-Received: from localhost ([127.0.0.1]:53484 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jBpAk-0000oj-Rx for submit@debbugs.gnu.org; Tue, 10 Mar 2020 20:24:31 -0400 Original-Received: from aserp2120.oracle.com ([141.146.126.78]:52182) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jBpAj-0000oY-Tf for 39902@debbugs.gnu.org; Tue, 10 Mar 2020 20:24:30 -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 02B0Mrhe157549; Wed, 11 Mar 2020 00:24:23 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=C7V1AavONBnGHokui3Vr+D43GyMa0uMAyPd+ZPX91wQ=; b=enbYnffeFBNXo237ixpU8+DcR7no/qIC6ScEharO2yTuLytvZuMa9Otk3VmykZWR/S8o O26nTABXymidszKYhwIj3Ec+kZy5CPnRaNtVHZ7IU+E3oH5HWBDIYHWqSO95nGr/pjXp HwK+sygSlZHjSSe6GJbHmob6ramWxU5LzE9UKMh++qKCWJ+10Fzv6AfvmnYxjWfEE3Iq mIQ6ehJcyZpDOSC3gET+e4Q9fnNg72UOR1COzWLJKHhNF5uWALciRu9V2f60ulNuPdgw HjgiJ/uo51hg33HY/tV78wlRqOvk6xrzCl/gzeumelNeqLPzEFL14fzyp9T8xWJ9y3zB 6w== Original-Received: from aserp3030.oracle.com (aserp3030.oracle.com [141.146.126.71]) by aserp2120.oracle.com with ESMTP id 2yp9v63qvt-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Wed, 11 Mar 2020 00:24:22 +0000 Original-Received: from pps.filterd (aserp3030.oracle.com [127.0.0.1]) by aserp3030.oracle.com (8.16.0.42/8.16.0.42) with SMTP id 02B0C9w9063450; Wed, 11 Mar 2020 00:24:22 GMT Original-Received: from userv0122.oracle.com (userv0122.oracle.com [156.151.31.75]) by aserp3030.oracle.com with ESMTP id 2yp8pv1gn8-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Wed, 11 Mar 2020 00:24:22 +0000 Original-Received: from abhmp0006.oracle.com (abhmp0006.oracle.com [141.146.116.12]) by userv0122.oracle.com (8.14.4/8.14.4) with ESMTP id 02B0OHlM004819; Wed, 11 Mar 2020 00:24:17 GMT In-Reply-To: <87wo7raj4r.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=9556 signatures=668685 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 phishscore=0 malwarescore=0 mlxlogscore=683 bulkscore=0 suspectscore=0 mlxscore=0 spamscore=0 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2001150001 definitions=main-2003100146 X-Proofpoint-Virus-Version: vendor=nai engine=6000 definitions=9556 signatures=668685 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 suspectscore=0 spamscore=0 mlxscore=0 priorityscore=1501 lowpriorityscore=0 bulkscore=0 mlxlogscore=738 phishscore=0 adultscore=0 clxscore=1015 impostorscore=0 malwarescore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2001150001 definitions=main-2003100146 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:177162 Archived-At: > (progn (goto-char end) (line-beginning-position)) > should NOT be replaced with > (progn (goto-char end) (line-end-position)) I see. Yes. We can decide how to handle that corner case. If the region end is bolp then `1-' it. That's one possibility. (progn (goto-char end) =09 (when (bolp) (backward-char)) =09 (line-end-position)) This feature/problem is not a big deal, IMO. I think what Michael is asking for is pretty straightforward, as is the code needed.