From unknown Fri Jun 20 07:17:26 2025 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Mailer: MIME-tools 5.509 (Entity 5.509) Content-Type: text/plain; charset=utf-8 From: bug#23642 <23642@debbugs.gnu.org> To: bug#23642 <23642@debbugs.gnu.org> Subject: Status: 24.5; Dired Line Movement, Region Handling Reply-To: bug#23642 <23642@debbugs.gnu.org> Date: Fri, 20 Jun 2025 14:17:26 +0000 retitle 23642 24.5; Dired Line Movement, Region Handling reassign 23642 emacs submitter 23642 Michael Cain severity 23642 minor thanks From debbugs-submit-bounces@debbugs.gnu.org Sat May 28 18:45:00 2016 Received: (at submit) by debbugs.gnu.org; 28 May 2016 22:45:00 +0000 Received: from localhost ([127.0.0.1]:45114 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1b6myZ-0000c7-OQ for submit@debbugs.gnu.org; Sat, 28 May 2016 18:45:00 -0400 Received: from eggs.gnu.org ([208.118.235.92]:52972) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1b6lj7-0005aH-86 for submit@debbugs.gnu.org; Sat, 28 May 2016 17:24:57 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1b6lj1-0001zs-91 for submit@debbugs.gnu.org; Sat, 28 May 2016 17:24:52 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: * X-Spam-Status: No, score=1.1 required=5.0 tests=BAYES_50, FREEMAIL_ENVFROM_END_DIGIT,FREEMAIL_FROM,T_DKIM_INVALID autolearn=disabled version=3.3.2 Received: from lists.gnu.org ([2001:4830:134:3::11]:58029) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1b6lj1-0001ze-5l for submit@debbugs.gnu.org; Sat, 28 May 2016 17:24:51 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:43943) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1b6liy-00036Z-SJ for bug-gnu-emacs@gnu.org; Sat, 28 May 2016 17:24:49 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1b6liu-0001yw-Lv for bug-gnu-emacs@gnu.org; Sat, 28 May 2016 17:24:47 -0400 Received: from mail-qk0-x22d.google.com ([2607:f8b0:400d:c09::22d]:34084) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1b6liu-0001yd-Hh for bug-gnu-emacs@gnu.org; Sat, 28 May 2016 17:24:44 -0400 Received: by mail-qk0-x22d.google.com with SMTP id y126so101209951qke.1 for ; Sat, 28 May 2016 14:24:44 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=to:subject:from:message-id:date:user-agent:mime-version :content-transfer-encoding; bh=olI18ovKd766+FHPen5i61KOW/HCimqFOgL++qAeuIA=; b=vhYx4UszD5ecdXUKXEasYJRsX96cOkcMsxthRgFBRmkuAFLrUXwo7HYYfeElQWC4PE xUul3+ilWTf2fQamFDFXaplrGL/g+V8lJAieDt9osJHpiLRFLseIZ0YL/QfSd8S8H/I7 88kG9bcsfnW+pIHThHkWCgP6m/9wRRvAglVrv+4m8MUcBR57gts4+vr+OGRf5aD0lqIu w1vheZsGLOAHcgYMbfwMmyxpHfxmCD2PizgKf3IvwqOwEOvvFAWtXhsMumNH73AtjHH3 7i6ZQZ/eoaJmN3B3tLvMTGZF54OG4SkE6KP9Z8SImlLi98tA2Tq+UDSmKkw00vo7lbjO j9rA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:to:subject:from:message-id:date:user-agent :mime-version:content-transfer-encoding; bh=olI18ovKd766+FHPen5i61KOW/HCimqFOgL++qAeuIA=; b=Q5ypGO1qEYH7txXigoElBimlBR52ZCP8NErBhm/NS+pna/JQWtihqI5KWGHgHiFT6m a4gqbBsd732QEypEsZM8jrrxNQiA07Y1qG71cXO+o8f+dzd6qYsjm7x9TpSMGHIUZMyM N4YYlV/3/yDkBImcpMZ1zMrpSyjFd96/2U4TkVpIfa1GFk3qgFH+1Hz6RQfllH/rqujA Abyttl5Q1qaGfJolU2K4jmZhv41Ofe5BBBRGrQD59Wl0ue8jcPkDhY0qwKWXrHRgkn5Z LNOisLG0JMFhkKecvPj5+VR1Xldfv7T37BuJVpdLO00Wql1zcmmS8qJEyVmQJ+cDOYvG hR9w== X-Gm-Message-State: ALyK8tL+yn8SNvszpOof58Sj4JTUDnNWhtnM2nOmUvHBUC2E9zwJdmiBKXOCmuc1bFzkhw== X-Received: by 10.237.52.134 with SMTP id x6mr20010558qtd.27.1464470683981; Sat, 28 May 2016 14:24:43 -0700 (PDT) Received: from [192.168.1.6] (pool-72-66-87-238.washdc.fios.verizon.net. [72.66.87.238]) by smtp.gmail.com with ESMTPSA id s75sm1893193qka.32.2016.05.28.14.24.43 for (version=TLSv1/SSLv3 cipher=OTHER); Sat, 28 May 2016 14:24:43 -0700 (PDT) To: bug-gnu-emacs@gnu.org Subject: 24.5; Dired Line Movement, Region Handling From: Michael Cain Message-ID: <79ec4788-6eea-e9a1-afeb-2bbb278cba8e@gmail.com> Date: Sat, 28 May 2016 17:25:44 -0400 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.1.0 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 2001:4830:134:3::11 X-Spam-Score: -3.8 (---) X-Debbugs-Envelope-To: submit X-Mailman-Approved-At: Sat, 28 May 2016 18:44:58 -0400 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.8 (---) (I'm not sure if this is actually a bug or not, just because Dired is used so frequently and I assume someone probably would've mentioned it by now. Hopefully this feedback will be helpful anyway) I find myself using the writable feature of Dired rather frequently, but one default of Dired's up/down movement (specifically the shift selection in Transient Mark mode) is difficult to work around. That is, I very often try to hold down shift and proceed down lines to create a region, but this doesn't work by default. I've temporarily solved this by making wrapper functions around `dired-next-line' and `dired-previous-line' that handle the shift selection, but it also works to add an additional "^" argument to the existing "p" in those functions. Thanks! :) From debbugs-submit-bounces@debbugs.gnu.org Sat May 28 19:22:52 2016 Received: (at 23642) by debbugs.gnu.org; 28 May 2016 23:22:52 +0000 Received: from localhost ([127.0.0.1]:45120 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1b6nZD-0001aH-Td for submit@debbugs.gnu.org; Sat, 28 May 2016 19:22:52 -0400 Received: from aserp1040.oracle.com ([141.146.126.69]:48290) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1b6nZB-0001a1-Ms for 23642@debbugs.gnu.org; Sat, 28 May 2016 19:22:50 -0400 Received: from aserv0022.oracle.com (aserv0022.oracle.com [141.146.126.234]) by aserp1040.oracle.com (Sentrion-MTA-4.3.2/Sentrion-MTA-4.3.2) with ESMTP id u4SNMhXD000332 (version=TLSv1 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Sat, 28 May 2016 23:22:43 GMT Received: from userv0121.oracle.com (userv0121.oracle.com [156.151.31.72]) by aserv0022.oracle.com (8.13.8/8.13.8) with ESMTP id u4SNMgpn027717 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Sat, 28 May 2016 23:22:43 GMT Received: from abhmp0018.oracle.com (abhmp0018.oracle.com [141.146.116.24]) by userv0121.oracle.com (8.13.8/8.13.8) with ESMTP id u4SNMfD3015332; Sat, 28 May 2016 23:22:42 GMT MIME-Version: 1.0 Message-ID: <97caf944-6fe6-4c3c-a8c8-90a890047f67@default> Date: Sat, 28 May 2016 16:22:40 -0700 (PDT) From: Drew Adams To: Michael Cain , 23642@debbugs.gnu.org Subject: RE: bug#23642: 24.5; Dired Line Movement, Region Handling References: <79ec4788-6eea-e9a1-afeb-2bbb278cba8e@gmail.com> In-Reply-To: <79ec4788-6eea-e9a1-afeb-2bbb278cba8e@gmail.com> X-Priority: 3 X-Mailer: Oracle Beehive Extensions for Outlook 2.0.1.9 (901082) [OL 12.0.6744.5000 (x86)] Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Source-IP: aserv0022.oracle.com [141.146.126.234] X-Spam-Score: -3.7 (---) X-Debbugs-Envelope-To: 23642 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.7 (---) > I find myself using the writable feature of Dired rather frequently, but > one default of Dired's up/down movement (specifically the shift > selection in Transient Mark mode) is difficult to work around. That is, > I very often try to hold down shift and proceed down lines to create a > region, but this doesn't work by default. What do you mean that it does not work by default. Is this what you tried? C-a ; To move to bol C-SPC ; To activate the region ... ; To extend the region downward. (Or `C-n' instead of `'.) What did you try, what did it do, and what did you expect it to do? > I've temporarily solved this by making wrapper functions around > `dired-next-line' and `dired-previous-line' that handle the shift > selection Were you describing WDired (editable Dired, after `C-x C-q') or Dired? In the former, and `C-n' are bound to `wdired-next-line', not `dired-next-line'. From debbugs-submit-bounces@debbugs.gnu.org Sat May 28 19:41:56 2016 Received: (at 23642) by debbugs.gnu.org; 28 May 2016 23:41:56 +0000 Received: from localhost ([127.0.0.1]:45124 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1b6nrg-00021j-JM for submit@debbugs.gnu.org; Sat, 28 May 2016 19:41:56 -0400 Received: from mout.web.de ([212.227.17.12]:62166) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1b6nre-00021V-F2 for 23642@debbugs.gnu.org; Sat, 28 May 2016 19:41:55 -0400 Received: from drachen.dragon ([109.43.0.89]) by smtp.web.de (mrweb102) with ESMTPSA (Nemesis) id 0Le4Po-1bsCt62pzw-00pt39; Sun, 29 May 2016 01:41:40 +0200 From: Michael Heerdegen To: Drew Adams Subject: Re: bug#23642: 24.5; Dired Line Movement, Region Handling References: <79ec4788-6eea-e9a1-afeb-2bbb278cba8e@gmail.com> <97caf944-6fe6-4c3c-a8c8-90a890047f67@default> Date: Sun, 29 May 2016 01:41:37 +0200 In-Reply-To: <97caf944-6fe6-4c3c-a8c8-90a890047f67@default> (Drew Adams's message of "Sat, 28 May 2016 16:22:40 -0700 (PDT)") Message-ID: <87oa7pagy6.fsf@web.de> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.0.94 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Provags-ID: V03:K0:lUDmyZZaFjrbHaPAWfsb1ywmfyyrOli9pMezC5ppCXyJa4fRtBG gp6a6ScFRHsItoLr9JxeYKOflonPcuYRg6WqeAUVfFvMjxkumsJdIu7dvA4kfI29ZFJfkcd 57kKqonZFut/OGoQqKNzAbpRe/qc3C6AaC0jyKito0hSEv9qm0yK7GWwN8PpjuI07jdmhpE aAJQgw1ZCndPbw1X7dqLA== X-UI-Out-Filterresults: notjunk:1;V01:K0:o6wIH2WCU7M=:Td8tUBFk9vDJH3p2PdIsYc SilPLIWTLI5YrxpPHiND29KUbBOkO2Yo8KhcPFUrLVm6x43A00fpyeXEnhf8S+LNYsD0UszZI jh8mNrx702IG9yxICMHcocLHv58f330kbc/YBh07Rq/1hqe8TNW5aQL/2xdrZTgdXFELXXUy9 +jijBO+bRMmqwQ62u6ZjGiFpl+GiD9R94fULSJMPd1yb/uR6TKm0X0OOyK/BUkB7Yt1ojhw8h T4EORu0q3lYffOoIbwP+PsgFfVwV38+S11WI88K5AhEXdZFquXR247JZvNlW5pBFWvaBumsLr 3nbcgOREPWgxM/c+kt0cWn779M74KmcIj7cINg7ZCsj4G/QbKKgL7wBmsMokEzmvfwqcA2m2U Z7nefVnwy6S10DzEo2u5HOZhPGtHT6k22kbknMgq+8t+GAvob+m0DCRagtDIji+sw6pkW5qtZ ksZzt1WJHgCJR0HICDqMsppei05VIio7B3RM9h5j/RuarTJLjCFshg6EYI0+LU0GPWUQ8V1uP df6DZZQPB6GE97I8U8cVvdaEwRrhuNmhyiBjaivjnXqi8NVziO8LpPo9F4xRbSj1jMoHnCfqi Myj/pQzMYFoiPgt946VbEMf+OWbY49AWF9z3kWwcDDweAv4yJ4Kqly+2oq1ad5v7shZ7xt2si lPEs0fL19BnfgDdmnQWRPOMMfXglgnODlgwEPvMqCuiMy3yx0av+4+/u6t5QOfKtDORNNkTqj X/En2C3nxdMbvZ8+ybxlPByZ59K1vx+xa2ZuapLJbFw1lL37sIzWUvw3P26ted/8adpcJ+Syi wHmTiAX X-Spam-Score: -2.1 (--) X-Debbugs-Envelope-To: 23642 Cc: 23642@debbugs.gnu.org, Michael Cain X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -2.1 (--) Drew Adams writes: > What did you try, what did it do, and what did you expect it to do? AFAIU: Setting a region in wdired-mode with shift + arrow keys does not work as expected. No region is selected. Michael. From debbugs-submit-bounces@debbugs.gnu.org Sat May 28 20:16:40 2016 Received: (at 23642) by debbugs.gnu.org; 29 May 2016 00:16:40 +0000 Received: from localhost ([127.0.0.1]:45139 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1b6oPH-0002rp-TA for submit@debbugs.gnu.org; Sat, 28 May 2016 20:16:40 -0400 Received: from mail-yw0-f175.google.com ([209.85.161.175]:33912) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1b6oPG-0002rd-Gq for 23642@debbugs.gnu.org; Sat, 28 May 2016 20:16:38 -0400 Received: by mail-yw0-f175.google.com with SMTP id c127so136417758ywb.1 for <23642@debbugs.gnu.org>; Sat, 28 May 2016 17:16:38 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=subject:references:cc:from:message-id:date:user-agent:mime-version :in-reply-to:content-transfer-encoding; bh=RckYZZ9MiZ+wSaJJ0jrO9hZvO+cg/jx9TWpRz6yEX64=; b=O9zoWiUuYFOpZRL05uNNTxYoeJQU842L/62u9q2ASBRzMD53Ypwjp8YycR2xkx1YsF 1Xxgxd4ZH5HPntzBAVWB5hMVgWEzi2d3YP933pqDGqqrVnh09aBtLF27mC9VOuZl2kDz SZ2VRvklULmnbRbBgw0YKH+UyQCqpkQLcm3omwENYwjgOxknI1YnDq8+GXDurl5z0GQn GU1+knPTpsYOOUVttXfsXXJ6tnHni4A6JiaP004/Vg1WFWLZWJA4iGATar9J96QZz+Fx rHyfwVUS2Vb31j2D3l0gX9AGQmfinDRUjGYeclEG9rxcoe4+ZY0s/LrHmKDu13LnNHUG 1QnQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:subject:references:cc:from:message-id:date :user-agent:mime-version:in-reply-to:content-transfer-encoding; bh=RckYZZ9MiZ+wSaJJ0jrO9hZvO+cg/jx9TWpRz6yEX64=; b=TE2SMJE06am9+cmkDzSVeYzTmZcVsBhUdGlAdaIlbQ1qOI5RsFdEpG/v78uglbqfv/ /A7TPznCy+0lw98Gl8Vn/N8q9r1PsBE49CJ7aH1O2RagatGodrdvUTZZbHNh0lRZl1wt Xn6Rl2pJLIE/y9O1DEN5hx9LDyYgKrli5ZvU76uof1B/vc/yC0pbcwV2nCXS/9/e63NY 1WLXDXCcNrKcwj+6qbauoTgzv1mSPdfG4CzLkJ4r3G6n4SHNV2MNLdcRRXACZExoWDnI OyeUuJxScj8k0KVar5maeSxzrqN8psComqiylHRvy1UwundmiES6UR/LNSScEpPIe21I ot8Q== X-Gm-Message-State: ALyK8tKbjAsyR3Ih7185pNvAgvWa4SpdMLJsvhJW7sPXG4+JnRjIKCp6Jasr54k4XxvwSg== X-Received: by 10.129.135.67 with SMTP id x64mr14569400ywf.304.1464480992918; Sat, 28 May 2016 17:16:32 -0700 (PDT) Received: from [192.168.1.6] (pool-72-66-87-238.washdc.fios.verizon.net. [72.66.87.238]) by smtp.gmail.com with ESMTPSA id f129sm9486719ywd.10.2016.05.28.17.16.32 for <23642@debbugs.gnu.org> (version=TLSv1/SSLv3 cipher=OTHER); Sat, 28 May 2016 17:16:32 -0700 (PDT) Subject: Re: bug#23642: 24.5; Dired Line Movement, Region Handling References: <79ec4788-6eea-e9a1-afeb-2bbb278cba8e@gmail.com> <97caf944-6fe6-4c3c-a8c8-90a890047f67@default> <87oa7pagy6.fsf@web.de> From: Michael Cain Message-ID: Date: Sat, 28 May 2016 20:17:33 -0400 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.1.0 MIME-Version: 1.0 In-Reply-To: <87oa7pagy6.fsf@web.de> Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Score: 1.4 (+) X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: I figure I should probably include my current workaround wrapper functions, so you can personally examine what I expect to happen. ;; Dired (defun my-dired-next-line (arg) (interactive "^p") (dired-next-line arg)) [...] Content analysis details: (1.4 points, 10.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- 1.2 MISSING_HEADERS Missing To: header -0.0 RCVD_IN_DNSWL_NONE RBL: Sender listed at http://www.dnswl.org/, no trust [209.85.161.175 listed in list.dnswl.org] 0.0 FREEMAIL_FROM Sender email is commonly abused enduser mail provider (cain.michael1[at]gmail.com) 0.2 FREEMAIL_ENVFROM_END_DIGIT Envelope-from freemail username ends in digit (cain.michael1[at]gmail.com) -0.0 SPF_PASS SPF: sender matches SPF record -0.0 RCVD_IN_MSPIKE_H3 RBL: Good reputation (+3) [209.85.161.175 listed in wl.mailspike.net] -0.0 RCVD_IN_MSPIKE_WL Mailspike good senders 0.0 T_DKIM_INVALID DKIM-Signature header exists but is not valid X-Debbugs-Envelope-To: 23642 Cc: 23642@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 1.4 (+) X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: I figure I should probably include my current workaround wrapper functions, so you can personally examine what I expect to happen. ;; Dired (defun my-dired-next-line (arg) (interactive "^p") (dired-next-line arg)) [...] Content analysis details: (1.4 points, 10.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -0.0 RCVD_IN_DNSWL_NONE RBL: Sender listed at http://www.dnswl.org/, no trust [209.85.161.175 listed in list.dnswl.org] -0.0 RCVD_IN_MSPIKE_H3 RBL: Good reputation (+3) [209.85.161.175 listed in wl.mailspike.net] 1.2 MISSING_HEADERS Missing To: header 0.0 FREEMAIL_FROM Sender email is commonly abused enduser mail provider (cain.michael1[at]gmail.com) 0.2 FREEMAIL_ENVFROM_END_DIGIT Envelope-from freemail username ends in digit (cain.michael1[at]gmail.com) -0.0 SPF_PASS SPF: sender matches SPF record -0.0 RCVD_IN_MSPIKE_WL Mailspike good senders 0.0 T_DKIM_INVALID DKIM-Signature header exists but is not valid I figure I should probably include my current workaround wrapper functions, so you can personally examine what I expect to happen. ;; Dired (defun my-dired-next-line (arg) (interactive "^p") (dired-next-line arg)) (defun my-dired-previous-line (arg) (interactive "^p") (dired-previous-line arg)) ;; WDired (defun my-wdired-next-line (arg) (interactive "^p") (wdired-next-line arg)) (defun my-wdired-previous-line (arg) (interactive "^p") (wdired-previous-line arg)) ;; Bindings (define-key dired-mode-map (kbd "") #'my-dired-next-line) (define-key dired-mode-map (kbd "") #'my-dired-previous-line) (define-key wdired-mode-map (kbd "") #'my-wdired-next-line) (define-key wdired-mode-map (kbd "") #'my-wdired-previous-line) With these bindings, the Shift+Arrow selection with Transient Mark mode works as I expect with both Dired and WDired. From debbugs-submit-bounces@debbugs.gnu.org Mon May 30 17:21:52 2016 Received: (at 23642) by debbugs.gnu.org; 30 May 2016 21:21:52 +0000 Received: from localhost ([127.0.0.1]:47815 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1b7UdE-0008Ci-EP for submit@debbugs.gnu.org; Mon, 30 May 2016 17:21:52 -0400 Received: from sub3.mail.dreamhost.com ([69.163.253.7]:57357 helo=homiemail-a12.g.dreamhost.com) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1b7UdD-0008Ca-81 for 23642@debbugs.gnu.org; Mon, 30 May 2016 17:21:51 -0400 Received: from homiemail-a12.g.dreamhost.com (localhost [127.0.0.1]) by homiemail-a12.g.dreamhost.com (Postfix) with ESMTP id 550A01030063; Mon, 30 May 2016 14:21:48 -0700 (PDT) Received: from localhost.linkov.net (85.253.58.75.cable.starman.ee [85.253.58.75]) (Authenticated sender: jurta@jurta.org) by homiemail-a12.g.dreamhost.com (Postfix) with ESMTPA id 770051030062; Mon, 30 May 2016 14:21:47 -0700 (PDT) From: Juri Linkov To: Michael Cain Subject: Re: bug#23642: 24.5; Dired Line Movement, Region Handling Organization: LINKOV.NET References: <79ec4788-6eea-e9a1-afeb-2bbb278cba8e@gmail.com> Date: Tue, 31 May 2016 00:18:20 +0300 In-Reply-To: <79ec4788-6eea-e9a1-afeb-2bbb278cba8e@gmail.com> (Michael Cain's message of "Sat, 28 May 2016 17:25:44 -0400") Message-ID: <878tyr1bz7.fsf@mail.linkov.net> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.1.50 (x86_64-pc-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: 23642 Cc: 23642@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.0 (/) > (I'm not sure if this is actually a bug or not, just because Dired is > used so frequently and I assume someone probably would've mentioned it > by now. Hopefully this feedback will be helpful anyway) > > I find myself using the writable feature of Dired rather frequently, bu= t > one default of Dired's up/down movement (specifically the shift > selection in Transient Mark mode) is difficult to work around. That is, > I very often try to hold down shift and proceed down lines to create a > region, but this doesn't work by default. > > I've temporarily solved this by making wrapper functions around > `dired-next-line' and `dired-previous-line' that handle the shift > selection, but it also works to add an additional "^" argument to the > existing "p" in those functions. > > Thanks! :) You are right. Shift-selection should be supported in WDired by this pat= ch. BTW, do you think that in WDired it would be more useful to select rectangular regions because file names are organized in columns. Then, for example, =E2=80=98downcase-region=E2=80=99 and =E2=80=98upcase-= region=E2=80=99 will work on the selected regions, not fail are they do now in WDired. diff --git a/lisp/wdired.el b/lisp/wdired.el index 2e68bec..600a813 100644 --- a/lisp/wdired.el +++ b/lisp/wdired.el @@ -590,7 +590,7 @@ (defun wdired-next-line (arg) "Move down lines then position at filename or the current column. See `wdired-use-dired-vertical-movement'. Optional prefix ARG says how many lines to move; default is one line." - (interactive "p") + (interactive "^p") (with-no-warnings (next-line arg)) (if (or (eq wdired-use-dired-vertical-movement t) (and wdired-use-dired-vertical-movement @@ -603,7 +603,7 @@ (defun wdired-previous-line (arg) "Move up lines then position at filename or the current column. See `wdired-use-dired-vertical-movement'. Optional prefix ARG says how many lines to move; default is one line." - (interactive "p") + (interactive "^p") (with-no-warnings (previous-line arg)) (if (or (eq wdired-use-dired-vertical-movement t) (and wdired-use-dired-vertical-movement From debbugs-submit-bounces@debbugs.gnu.org Sun Jun 05 17:17:27 2016 Received: (at 23642-done) by debbugs.gnu.org; 5 Jun 2016 21:17:27 +0000 Received: from localhost ([127.0.0.1]:55941 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1b9fQF-0008RC-8V for submit@debbugs.gnu.org; Sun, 05 Jun 2016 17:17:27 -0400 Received: from sub3.mail.dreamhost.com ([69.163.253.7]:58875 helo=homiemail-a101.g.dreamhost.com) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1b9fQD-0008Qu-Go for 23642-done@debbugs.gnu.org; Sun, 05 Jun 2016 17:17:25 -0400 Received: from homiemail-a101.g.dreamhost.com (localhost [127.0.0.1]) by homiemail-a101.g.dreamhost.com (Postfix) with ESMTP id 151BB117E06A; Sun, 5 Jun 2016 14:17:25 -0700 (PDT) Received: from localhost.linkov.net (62.65.224.151.cable.starman.ee [62.65.224.151]) (Authenticated sender: jurta@jurta.org) by homiemail-a101.g.dreamhost.com (Postfix) with ESMTPA id 434E3117E065; Sun, 5 Jun 2016 14:17:24 -0700 (PDT) From: Juri Linkov To: Michael Cain Subject: Re: bug#23642: 24.5; Dired Line Movement, Region Handling Organization: LINKOV.NET References: <79ec4788-6eea-e9a1-afeb-2bbb278cba8e@gmail.com> <878tyr1bz7.fsf@mail.linkov.net> Date: Mon, 06 Jun 2016 00:16:35 +0300 In-Reply-To: <878tyr1bz7.fsf@mail.linkov.net> (Juri Linkov's message of "Tue, 31 May 2016 00:18:20 +0300") Message-ID: <87wpm3ibf0.fsf@mail.linkov.net> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.1.50 (x86_64-pc-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 23642-done Cc: 23642-done@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 0.0 (/) >> (I'm not sure if this is actually a bug or not, just because Dired is >> used so frequently and I assume someone probably would've mentioned it >> by now. Hopefully this feedback will be helpful anyway) >> >> I find myself using the writable feature of Dired rather frequently, b= ut >> one default of Dired's up/down movement (specifically the shift >> selection in Transient Mark mode) is difficult to work around. That is= , >> I very often try to hold down shift and proceed down lines to create a >> region, but this doesn't work by default. >> >> I've temporarily solved this by making wrapper functions around >> `dired-next-line' and `dired-previous-line' that handle the shift >> selection, but it also works to add an additional "^" argument to the >> existing "p" in those functions. >> >> Thanks! :) > > You are right. Shift-selection should be supported in WDired by this p= atch. Thanks for the suggestion. Pushed to master. > BTW, do you think that in WDired it would be more useful to select > rectangular regions because file names are organized in columns. > Then, for example, =E2=80=98downcase-region=E2=80=99 and =E2=80=98upcas= e-region=E2=80=99 will work > on the selected regions, not fail are they do now in WDired. From unknown Fri Jun 20 07:17:26 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Mon, 04 Jul 2016 11:24:03 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator