From debbugs-submit-bounces@debbugs.gnu.org Tue Mar 24 23:56:44 2015 Received: (at submit) by debbugs.gnu.org; 25 Mar 2015 03:56:44 +0000 Received: from localhost ([127.0.0.1]:35447 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1YacQu-0005WW-F1 for submit@debbugs.gnu.org; Tue, 24 Mar 2015 23:56:44 -0400 Received: from eggs.gnu.org ([208.118.235.92]:56181) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1YacQr-0005W7-U1 for submit@debbugs.gnu.org; Tue, 24 Mar 2015 23:56:42 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YacQm-0003iB-1M for submit@debbugs.gnu.org; Tue, 24 Mar 2015 23:56:36 -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.9 required=5.0 tests=BAYES_00 autolearn=disabled version=3.3.2 Received: from lists.gnu.org ([2001:4830:134:3::11]:43287) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YacQl-0003i7-Ul for submit@debbugs.gnu.org; Tue, 24 Mar 2015 23:56:35 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:57902) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YacQl-0003cT-0l for bug-gnu-emacs@gnu.org; Tue, 24 Mar 2015 23:56:35 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YacQg-0003ek-6Z for bug-gnu-emacs@gnu.org; Tue, 24 Mar 2015 23:56:34 -0400 Received: from userp1040.oracle.com ([156.151.31.81]:24154) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YacQf-0003eU-U2 for bug-gnu-emacs@gnu.org; Tue, 24 Mar 2015 23:56:30 -0400 Received: from userv0022.oracle.com (userv0022.oracle.com [156.151.31.74]) by userp1040.oracle.com (Sentrion-MTA-4.3.2/Sentrion-MTA-4.3.2) with ESMTP id t2P3uSKe021404 (version=TLSv1 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK) for ; Wed, 25 Mar 2015 03:56:29 GMT Received: from aserv0122.oracle.com (aserv0122.oracle.com [141.146.126.236]) by userv0022.oracle.com (8.13.8/8.13.8) with ESMTP id t2P3uS8v003835 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=FAIL) for ; Wed, 25 Mar 2015 03:56:28 GMT Received: from abhmp0014.oracle.com (abhmp0014.oracle.com [141.146.116.20]) by aserv0122.oracle.com (8.13.8/8.13.8) with ESMTP id t2P3uSr9021446 for ; Wed, 25 Mar 2015 03:56:28 GMT MIME-Version: 1.0 Message-ID: <3126891c-8c4d-4d6f-aa97-7c2e5b4ed2d0@default> Date: Tue, 24 Mar 2015 20:56:26 -0700 (PDT) From: Drew Adams To: bug-gnu-emacs@gnu.org Subject: 25.0.50; Let Dired commands such as `dired-do-search' (`A') use prefix arg X-Priority: 3 X-Mailer: Oracle Beehive Extensions for Outlook 2.0.1.8.2 (807160) [OL 12.0.6691.5000 (x86)] Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable X-Source-IP: userv0022.oracle.com [156.151.31.74] X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.4.x-2.6.x [generic] X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2001:4830:134:3::11 X-Spam-Score: -4.0 (----) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 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: -4.0 (----) Enhancement request: Typically in Dired commands that act on the marked files will act on the next PREFIX-ARG files instead, if a prefix arg is provided. This is not true of commands such as `dired-do-search', but it would be good if it were. All that is needed is to (a) add an optional argument ARG to each such command and (b) include ARG in the call to `dired-get-marked-files'. For example: (defun dired-do-search (regexp &optional arg) ; <=3D=3D=3D Add ARG "..." (interactive "sSearch marked files (regexp): \nP") (tags-search regexp (dired-get-marked-files nil arg 'dired-nondirectory-p))) ^ | use ARG In GNU Emacs 25.0.50.1 (i686-pc-mingw32) of 2014-10-20 on LEG570 Bzr revision: 118168 rgm@gnu.org-20141020195941-icp42t8ttcnud09g Windowing system distributor `Microsoft Corp.', version 6.1.7601 Configured using: `configure --enable-checking=3Dyes,glyphs CPPFLAGS=3D-DGLYPH_DEBUG=3D1' From debbugs-submit-bounces@debbugs.gnu.org Wed Mar 25 17:56:22 2015 Received: (at 20195) by debbugs.gnu.org; 25 Mar 2015 21:56:22 +0000 Received: from localhost ([127.0.0.1]:36675 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1YatHi-0002ZY-Ac for submit@debbugs.gnu.org; Wed, 25 Mar 2015 17:56:22 -0400 Received: from sub3.mail.dreamhost.com ([69.163.253.7]:34422 helo=homiemail-a76.g.dreamhost.com) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1YatHa-0002ZE-L1 for 20195@debbugs.gnu.org; Wed, 25 Mar 2015 17:56:15 -0400 Received: from homiemail-a76.g.dreamhost.com (localhost [127.0.0.1]) by homiemail-a76.g.dreamhost.com (Postfix) with ESMTP id E81F745807C; Wed, 25 Mar 2015 14:56:12 -0700 (PDT) Received: from localhost.linkov.net (85.253.154.202.cable.starman.ee [85.253.154.202]) (Authenticated sender: jurta@jurta.org) by homiemail-a76.g.dreamhost.com (Postfix) with ESMTPA id 1F722458079; Wed, 25 Mar 2015 14:56:11 -0700 (PDT) From: Juri Linkov To: Drew Adams Subject: Re: bug#20195: 25.0.50; Let Dired commands such as `dired-do-search' (`A') use prefix arg Organization: LINKOV.NET References: <3126891c-8c4d-4d6f-aa97-7c2e5b4ed2d0@default> Date: Wed, 25 Mar 2015 23:50:52 +0200 In-Reply-To: <3126891c-8c4d-4d6f-aa97-7c2e5b4ed2d0@default> (Drew Adams's message of "Tue, 24 Mar 2015 20:56:26 -0700 (PDT)") Message-ID: <87619oiw5f.fsf@mail.linkov.net> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.0.50 (x86_64-pc-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 20195 Cc: 20195@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 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 (/) > Enhancement request: > > Typically in Dired commands that act on the marked files will act on the > next PREFIX-ARG files instead, if a prefix arg is provided. This is not > true of commands such as `dired-do-search', but it would be good if it > were. > > All that is needed is to (a) add an optional argument ARG to each such > command and (b) include ARG in the call to `dired-get-marked-files'. > For example: > > (defun dired-do-search (regexp &optional arg) ; <=== Add ARG > "..." > (interactive "sSearch marked files (regexp): \nP") > (tags-search > regexp (dired-get-marked-files nil arg 'dired-nondirectory-p))) > ^ > | > use ARG There is a problem with `dired-do-query-replace-regexp' where a prefix arg means replace word-delimited matches. From debbugs-submit-bounces@debbugs.gnu.org Wed Mar 25 19:08:59 2015 Received: (at 20195) by debbugs.gnu.org; 25 Mar 2015 23:08:59 +0000 Received: from localhost ([127.0.0.1]:36684 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1YauPy-0004OY-MB for submit@debbugs.gnu.org; Wed, 25 Mar 2015 19:08:58 -0400 Received: from aserp1040.oracle.com ([141.146.126.69]:32549) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1YauPw-0004ON-La for 20195@debbugs.gnu.org; Wed, 25 Mar 2015 19:08:57 -0400 Received: from aserv0021.oracle.com (aserv0021.oracle.com [141.146.126.233]) by aserp1040.oracle.com (Sentrion-MTA-4.3.2/Sentrion-MTA-4.3.2) with ESMTP id t2PN8nbQ023306 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Wed, 25 Mar 2015 23:08:50 GMT Received: from userv0121.oracle.com (userv0121.oracle.com [156.151.31.72]) by aserv0021.oracle.com (8.13.8/8.13.8) with ESMTP id t2PN8nAB013432 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=FAIL); Wed, 25 Mar 2015 23:08:49 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 t2PN8neQ006035; Wed, 25 Mar 2015 23:08:49 GMT MIME-Version: 1.0 Message-ID: Date: Wed, 25 Mar 2015 16:08:47 -0700 (PDT) From: Drew Adams To: Juri Linkov Subject: RE: bug#20195: 25.0.50; Let Dired commands such as `dired-do-search' (`A') use prefix arg References: <3126891c-8c4d-4d6f-aa97-7c2e5b4ed2d0@default> <87619oiw5f.fsf@mail.linkov.net> In-Reply-To: <87619oiw5f.fsf@mail.linkov.net> X-Priority: 3 X-Mailer: Oracle Beehive Extensions for Outlook 2.0.1.8.2 (807160) [OL 12.0.6691.5000 (x86)] Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable X-Source-IP: aserv0021.oracle.com [141.146.126.233] X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 20195 Cc: 20195@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 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.3 (--) > There is a problem with `dired-do-query-replace-regexp' where a prefix ar= g > means replace word-delimited matches. So make it so that only a negative prefix arg means delimited. From debbugs-submit-bounces@debbugs.gnu.org Tue Mar 31 16:39:16 2015 Received: (at 20195) by debbugs.gnu.org; 31 Mar 2015 20:39:16 +0000 Received: from localhost ([127.0.0.1]:41429 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Yd2wN-0005mX-QT for submit@debbugs.gnu.org; Tue, 31 Mar 2015 16:39:16 -0400 Received: from sub3.mail.dreamhost.com ([69.163.253.7]:58062 helo=homiemail-a75.g.dreamhost.com) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Yd2wL-0005mL-Jp for 20195@debbugs.gnu.org; Tue, 31 Mar 2015 16:39:14 -0400 Received: from homiemail-a75.g.dreamhost.com (localhost [127.0.0.1]) by homiemail-a75.g.dreamhost.com (Postfix) with ESMTP id 5B9755EC07C; Tue, 31 Mar 2015 13:39:12 -0700 (PDT) Received: from localhost.linkov.net (m83-180-13-68.cust.tele2.ee [83.180.13.68]) (Authenticated sender: jurta@jurta.org) by homiemail-a75.g.dreamhost.com (Postfix) with ESMTPA id 170B15EC072; Tue, 31 Mar 2015 13:39:10 -0700 (PDT) From: Juri Linkov To: Drew Adams Subject: Re: bug#20195: 25.0.50; Let Dired commands such as `dired-do-search' (`A') use prefix arg Organization: LINKOV.NET References: <3126891c-8c4d-4d6f-aa97-7c2e5b4ed2d0@default> <87619oiw5f.fsf@mail.linkov.net> Date: Tue, 31 Mar 2015 23:33:54 +0300 In-Reply-To: (Drew Adams's message of "Wed, 25 Mar 2015 16:08:47 -0700 (PDT)") Message-ID: <87h9t0oqj1.fsf@mail.linkov.net> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.0.50 (x86_64-pc-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 20195 Cc: 20195@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 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 (/) >> There is a problem with `dired-do-query-replace-regexp' where a prefix arg >> means replace word-delimited matches. > > So make it so that only a negative prefix arg means delimited. A negative prefix arg means backward replacement. From debbugs-submit-bounces@debbugs.gnu.org Tue Mar 31 17:22:13 2015 Received: (at 20195) by debbugs.gnu.org; 31 Mar 2015 21:22:13 +0000 Received: from localhost ([127.0.0.1]:41483 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Yd3bw-0008Ir-Oe for submit@debbugs.gnu.org; Tue, 31 Mar 2015 17:22:13 -0400 Received: from aserp1040.oracle.com ([141.146.126.69]:39490) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Yd3bu-0008Ie-Mz for 20195@debbugs.gnu.org; Tue, 31 Mar 2015 17:22:11 -0400 Received: from userv0022.oracle.com (userv0022.oracle.com [156.151.31.74]) by aserp1040.oracle.com (Sentrion-MTA-4.3.2/Sentrion-MTA-4.3.2) with ESMTP id t2VLM4Z4019656 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Tue, 31 Mar 2015 21:22:04 GMT Received: from aserv0122.oracle.com (aserv0122.oracle.com [141.146.126.236]) by userv0022.oracle.com (8.13.8/8.13.8) with ESMTP id t2VLM3oq024237 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=FAIL); Tue, 31 Mar 2015 21:22:04 GMT Received: from abhmp0013.oracle.com (abhmp0013.oracle.com [141.146.116.19]) by aserv0122.oracle.com (8.13.8/8.13.8) with ESMTP id t2VLM2fv016474; Tue, 31 Mar 2015 21:22:03 GMT MIME-Version: 1.0 Message-ID: <3f9ce496-3dc3-4ca8-adbb-0e47fa998aaa@default> Date: Tue, 31 Mar 2015 14:22:00 -0700 (PDT) From: Drew Adams To: Juri Linkov Subject: RE: bug#20195: 25.0.50; Let Dired commands such as `dired-do-search' (`A') use prefix arg References: <3126891c-8c4d-4d6f-aa97-7c2e5b4ed2d0@default> <87619oiw5f.fsf@mail.linkov.net> <87h9t0oqj1.fsf@mail.linkov.net> In-Reply-To: <87h9t0oqj1.fsf@mail.linkov.net> X-Priority: 3 X-Mailer: Oracle Beehive Extensions for Outlook 2.0.1.8.2 (807160) [OL 12.0.6691.5000 (x86)] Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable X-Source-IP: userv0022.oracle.com [156.151.31.74] X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 20195 Cc: 20195@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 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.3 (--) > >> There is a problem with `dired-do-query-replace-regexp' where a prefix > >> arg means replace word-delimited matches. > > > > So make it so that only a negative prefix arg means delimited. >=20 > A negative prefix arg means backward replacement. I didn't think so. `d-d-q-r-r' uses `tags-query-replace', and I don't see where that allows for traversing backward. I do agree that `d-d-q-r-r' presents a bit of an anomaly, where we will likely need to make a judgment call (& compromise), to accommodate whatever is deemed to be the most important subset of possibilities. FWIW - Im my own code (dired+.el), I long ago modified `dired-map-over-marks' and `dired-get-marked-files' to let multiple plain `C-u' act on all files, ignoring marks, as follows: Optional second argument ARG specifies files to use instead of marked. Usually ARG comes from the command's prefix arg. If ARG is an integer, use the next ARG files (previous -ARG, if < 0). If ARG is a cons with element 16, 64, or 256, corresponding to `C-u C-u', `C-u C-u C-u', or `C-u C-u C-u C-u', then use all files in the Dired buffer, where: 16 includes NO directories (including `.' and `..') 64 includes directories EXCEPT `.' and `..' 256 includes ALL directories (including `.' and `..') If ARG is otherwise non-nil, use the current file. So, for example, my version of `dired-do-isearch-regexp' and other such commands uses a prefix arg this way: A prefix argument ARG specifies files to use instead of those marked. * An integer means use the next ARG files (previous -ARG, if < 0). * Two or more `C-u' (e.g. `C-u C-u') means ignore any marks and use all files in the Dired buffer. * Any other prefix arg means use the current file. (For `dired-do-*' commands that do not act on directories, all multiples of `C-u' act the same as `C-u C-u': `.' and `..' are ignored.) But yes, `dired-do-query-replace-regexp' required a compromise. This is what I ended up with, but I'm not too pleased that it is an exception to the rule, and I'm not sure it is the best compromise: --- NOTE: A prefix arg for this command acts differently than for other commands, so that you can use it to request word-delimited matches. With a prefix argument: * An odd number of plain `C-u': act on the marked files, but replace only word-delimited matches. * More than one plain `C-u': act on all files, ignoring whether any are marked. * Any other prefix arg: Act on the next numeric-prefix files. So for example: * `C-u C-u C-u': act on all files, replacing word-delimited matches. * `C-u 4': act on the next 4 files. `C-4' means the same thing. * `C-u': act on the marked files, replacing word-delimited matches. --- Anyway, the point is that I think Emacs can do a bit better wrt the prefix arg for such commands. I'm open to better suggestions wrt `dired-do-query-replace-regexp'. And I'm OK, for this bug report, with whatever you decide. And should you happen to decide to add multiple `C-u' behavior to the vanilla code, and if it lets you do whatever you can do with dired+.el, then I'll be happy to drop that code from dired+.el (except for older Emacs versions). ;-) And thanks for taking a look at this, whatever you decide. Personally, I never use a prefix arg to act on the next (or previous) N files, but I do often use multiple `C-u C-u' to act on all files (regardless of any markings). From debbugs-submit-bounces@debbugs.gnu.org Tue Mar 31 17:54:39 2015 Received: (at 20195) by debbugs.gnu.org; 31 Mar 2015 21:54:39 +0000 Received: from localhost ([127.0.0.1]:41519 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Yd47L-0000eI-7U for submit@debbugs.gnu.org; Tue, 31 Mar 2015 17:54:39 -0400 Received: from out2-smtp.messagingengine.com ([66.111.4.26]:56879) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Yd47J-0000eA-4z for 20195@debbugs.gnu.org; Tue, 31 Mar 2015 17:54:37 -0400 Received: from compute3.internal (compute3.nyi.internal [10.202.2.43]) by mailout.nyi.internal (Postfix) with ESMTP id D6788206DF for <20195@debbugs.gnu.org>; Tue, 31 Mar 2015 17:54:31 -0400 (EDT) Received: from frontend1 ([10.202.2.160]) by compute3.internal (MEProxy); Tue, 31 Mar 2015 17:54:35 -0400 DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d=fastmail.fm; h=cc :content-type:date:from:in-reply-to:message-id:mime-version :references:subject:to:x-sasl-enc:x-sasl-enc; s=mesmtp; bh=z/Mqj wpLNlOk1QzGE3WjaDM7b+E=; b=D7y+85rQCb4+RtryaSVMMtjCfCEesaCY8UT6G cJY8Fnvt2yyVWbcmMP08cFt8XV1nwQU6Tqptr8ATaMkn5qOn+0bJih5p3AQypth3 1CiE5b0HGtU66LDpvdDX+k3iF2w2a+cNMWt4nFCR5WINNlqb65Mn+3E5j/SSsFaR k91cfk= DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to:x-sasl-enc :x-sasl-enc; s=smtpout; bh=z/MqjwpLNlOk1QzGE3WjaDM7b+E=; b=fd+0Y DvmYAMkQecW4Q6TST0dnsTArgNJlheQ67siwJ/p3b3SXJOAxDFsWGdd2V9g9x8ug SG3NXbEe8+RJVLc/9l3yDF0/X+dttIPEQyafPtc2uxCu3oZbOyuDA07VAddbBHVy Sf1g/Ooz+dOnNfHOtMGo4AlS7xdU4yLRt/nhp0= X-Sasl-enc: AS53/UWemhgKsg7BJkvuiyoxcb3jdhNk2m4xj+QaKqyq 1427838874 Received: from fgunbin.local (unknown [178.66.179.206]) by mail.messagingengine.com (Postfix) with ESMTPA id 3A682C00015; Tue, 31 Mar 2015 17:54:34 -0400 (EDT) From: Filipp Gunbin To: Drew Adams Subject: Re: bug#20195: 25.0.50; Let Dired commands such as `dired-do-search' (`A') use prefix arg References: <3126891c-8c4d-4d6f-aa97-7c2e5b4ed2d0@default> <87619oiw5f.fsf@mail.linkov.net> <87h9t0oqj1.fsf@mail.linkov.net> <3f9ce496-3dc3-4ca8-adbb-0e47fa998aaa@default> Date: Wed, 01 Apr 2015 00:54:33 +0300 In-Reply-To: <3f9ce496-3dc3-4ca8-adbb-0e47fa998aaa@default> (Drew Adams's message of "Tue, 31 Mar 2015 14:22:00 -0700 (PDT)") Message-ID: User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.0.50 (darwin) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 20195 Cc: 20195@debbugs.gnu.org, Juri Linkov X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 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.7 (/) On 31/03/2015 14:22 -0700, Drew Adams wrote: > If ARG is a cons with element 16, 64, or 256, corresponding to > `C-u C-u', `C-u C-u C-u', or `C-u C-u C-u C-u', then use all files > in the Dired buffer, where: > 16 includes NO directories (including `.' and `..') > 64 includes directories EXCEPT `.' and `..' > 256 includes ALL directories (including `.' and `..') Isn't it simpler to mark all files in a subdir (`* s') or just toggle everything with `t' and then invoke the command? A movement command is ok to take argument specifying a number of files, because that number is related to that command's main purpose. But here files are collected according to marks set in the buffer, so it's kind of duplication to provide the same functionality via prefix argument. Filipp From debbugs-submit-bounces@debbugs.gnu.org Tue Mar 31 20:36:28 2015 Received: (at 20195) by debbugs.gnu.org; 1 Apr 2015 00:36:28 +0000 Received: from localhost ([127.0.0.1]:41537 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Yd6dw-0004LX-Al for submit@debbugs.gnu.org; Tue, 31 Mar 2015 20:36:28 -0400 Received: from aserp1040.oracle.com ([141.146.126.69]:42383) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Yd6du-0004LJ-0z for 20195@debbugs.gnu.org; Tue, 31 Mar 2015 20:36:26 -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 t310aJCB009632 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Wed, 1 Apr 2015 00:36:19 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 t310aJbG023349 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=FAIL); Wed, 1 Apr 2015 00:36:19 GMT Received: from abhmp0013.oracle.com (abhmp0013.oracle.com [141.146.116.19]) by userv0121.oracle.com (8.13.8/8.13.8) with ESMTP id t310aIF7006722; Wed, 1 Apr 2015 00:36:18 GMT MIME-Version: 1.0 Message-ID: <849043fc-73d9-45cc-ad33-30ccf7f7b077@default> Date: Tue, 31 Mar 2015 17:36:16 -0700 (PDT) From: Drew Adams To: Filipp Gunbin Subject: RE: bug#20195: 25.0.50; Let Dired commands such as `dired-do-search' (`A') use prefix arg References: <3126891c-8c4d-4d6f-aa97-7c2e5b4ed2d0@default> <87619oiw5f.fsf@mail.linkov.net> <87h9t0oqj1.fsf@mail.linkov.net> <3f9ce496-3dc3-4ca8-adbb-0e47fa998aaa@default> In-Reply-To: X-Priority: 3 X-Mailer: Oracle Beehive Extensions for Outlook 2.0.1.8.2 (807160) [OL 12.0.6691.5000 (x86)] Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable X-Source-IP: aserv0022.oracle.com [141.146.126.234] X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 20195 Cc: 20195@debbugs.gnu.org, Juri Linkov X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 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.3 (--) > > If ARG is a cons with element 16, 64, or 256, corresponding to > > `C-u C-u', `C-u C-u C-u', or `C-u C-u C-u C-u', then use all files > > in the Dired buffer, where: > > 16 includes NO directories (including `.' and `..') > > 64 includes directories EXCEPT `.' and `..' > > 256 includes ALL directories (including `.' and `..') >=20 > Isn't it simpler to mark all files in a subdir (`* s') or just toggle > everything with `t' and then invoke the command? That's already available. Nothing new about that. Useful, of course. The point is that you might currently have markings that you want to keep for a while, and you want to perform an on-the-fly operation on all files, without fiddling with any existing markings. IOW, this is an additional possibility. It takes nothing away from what you can already do. In particular, it does not change the behavior of a single `C-u' (that still acts on the next 4 files, just like `C-4'). > A movement command I don't think there has been any mention of any movement commands. What did you have in mind? > is ok to take argument specifying a number of files, > because that number is related to that command's main purpose. But here > files are collected according to marks set in the buffer, so it's kind > of duplication to provide the same functionality via prefix argument. See above. There are *many* ways to do the same thing in Dired (and elsewhere in Emacs). In and of itself, eliminating such "duplication" is a silly goal (IMHO). And it is already the case that a numeric prefix arg acts on the next (or previous) N files, ignoring any existing marks. To be clear: 1. I don't really care whether Emacs adds that feature (multiple `C-u' acts on all, ignoring markings). And that feature is not what this enhancement request is about. 2. As one user, I use that feature quite often (with Dired+). If you don't find it useful, and you prefer to always mark and unmark, that's fine by me. ;-) From debbugs-submit-bounces@debbugs.gnu.org Thu Apr 02 09:33:08 2015 Received: (at 20195) by debbugs.gnu.org; 2 Apr 2015 13:33:08 +0000 Received: from localhost ([127.0.0.1]:43195 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1YdfF5-0003gQ-4E for submit@debbugs.gnu.org; Thu, 02 Apr 2015 09:33:07 -0400 Received: from out5-smtp.messagingengine.com ([66.111.4.29]:60320) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1YdfEy-0003g3-Tg for 20195@debbugs.gnu.org; Thu, 02 Apr 2015 09:33:04 -0400 Received: from compute2.internal (compute2.nyi.internal [10.202.2.42]) by mailout.nyi.internal (Postfix) with ESMTP id 430E120A4F for <20195@debbugs.gnu.org>; Thu, 2 Apr 2015 09:32:54 -0400 (EDT) Received: from frontend2 ([10.202.2.161]) by compute2.internal (MEProxy); Thu, 02 Apr 2015 09:32:57 -0400 DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d=fastmail.fm; h=cc :content-type:date:from:in-reply-to:message-id:mime-version :references:subject:to:x-sasl-enc:x-sasl-enc; s=mesmtp; bh=8WWY8 5Q3r9QtgHVHDWVC53xu6OQ=; b=OAvrNhBEl+zpBlrTM1gybx7OTF5feWB5YmLXP hh6V1ws3IRU+Sr+xbDaKYrVobjoZkB7C50jRJa2i6BT/YH/qZKvy/gpXuCHOGtVf EEiWL4pD13wXdYWMKBX3/BhEcQF7ihsQkjfUXXExhyBhj8kHcy0kpnDkrUV2A1q0 D84NB0= DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to:x-sasl-enc :x-sasl-enc; s=smtpout; bh=8WWY85Q3r9QtgHVHDWVC53xu6OQ=; b=bsKbZ qpanP6BmziJT4oYneJdX1M5pSKqBp1YRiQedwT2GeVt6bFBfT6WmB/IyhwZpFOsN kd4TH4cWA9/2nEdPMsISyyrWNS1MFhwxJxYAKPPcnGlBK3VSDYzF8Q27Bqbj8Ii4 W6Q/IyzZlKDmwpwGv81fYSqmZTF2dYKaSOza2Y= X-Sasl-enc: jJW1DZoAYlOz9UUbwGXYvT3Bsgy+QcdKtnMQqiJi/brX 1427981577 Received: from fgunbin.local (unknown [94.25.218.10]) by mail.messagingengine.com (Postfix) with ESMTPA id DDF416801F3; Thu, 2 Apr 2015 09:32:56 -0400 (EDT) From: Filipp Gunbin To: Drew Adams Subject: Re: bug#20195: 25.0.50; Let Dired commands such as `dired-do-search' (`A') use prefix arg References: <3126891c-8c4d-4d6f-aa97-7c2e5b4ed2d0@default> <87619oiw5f.fsf@mail.linkov.net> <87h9t0oqj1.fsf@mail.linkov.net> <3f9ce496-3dc3-4ca8-adbb-0e47fa998aaa@default> <849043fc-73d9-45cc-ad33-30ccf7f7b077@default> Date: Thu, 02 Apr 2015 16:32:59 +0300 In-Reply-To: <849043fc-73d9-45cc-ad33-30ccf7f7b077@default> (Drew Adams's message of "Tue, 31 Mar 2015 17:36:16 -0700 (PDT)") Message-ID: User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.0.50 (darwin) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 20195 Cc: 20195@debbugs.gnu.org, Juri Linkov X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 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.7 (/) On 31/03/2015 17:36 -0700, Drew Adams wrote: >> A movement command > > I don't think there has been any mention of any movement commands. > What did you have in mind? I meant other commands like `dired-next-line', just for comparison. >> is ok to take argument specifying a number of files, >> because that number is related to that command's main purpose. But here >> files are collected according to marks set in the buffer, so it's kind >> of duplication to provide the same functionality via prefix argument. > > See above. There are *many* ways to do the same thing in Dired (and > elsewhere in Emacs). In and of itself, eliminating such "duplication" > is a silly goal (IMHO). But it's rather convenient to keep in memory that: 1) First mark files you want to process. To augment mark behaviour (e.g. mark all files in a subdir) specify prefix arg to the mark command or use a corresponding specific command. 2) Perform search/replace. To augment search/replace behavior (like toggle word searching) you have to specify prefix argument to the search/replace command. > To be clear: > > 1. I don't really care whether Emacs adds that feature (multiple `C-u' > acts on all, ignoring markings). And that feature is not what this > enhancement request is about. > > 2. As one user, I use that feature quite often (with Dired+). If > you don't find it useful, and you prefer to always mark and unmark, > that's fine by me. ;-) Yes, my comment was just a note. Filipp From debbugs-submit-bounces@debbugs.gnu.org Thu Apr 02 10:01:28 2015 Received: (at 20195) by debbugs.gnu.org; 2 Apr 2015 14:01:28 +0000 Received: from localhost ([127.0.0.1]:43406 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1YdfgV-0005ne-RU for submit@debbugs.gnu.org; Thu, 02 Apr 2015 10:01:28 -0400 Received: from aserp1040.oracle.com ([141.146.126.69]:29568) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1YdfgT-0005nP-9L for 20195@debbugs.gnu.org; Thu, 02 Apr 2015 10:01:25 -0400 Received: from userv0021.oracle.com (userv0021.oracle.com [156.151.31.71]) by aserp1040.oracle.com (Sentrion-MTA-4.3.2/Sentrion-MTA-4.3.2) with ESMTP id t32E1IjQ009400 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Thu, 2 Apr 2015 14:01:18 GMT Received: from aserv0121.oracle.com (aserv0121.oracle.com [141.146.126.235]) by userv0021.oracle.com (8.13.8/8.13.8) with ESMTP id t32E1HJn013063 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=FAIL); Thu, 2 Apr 2015 14:01:17 GMT Received: from abhmp0014.oracle.com (abhmp0014.oracle.com [141.146.116.20]) by aserv0121.oracle.com (8.13.8/8.13.8) with ESMTP id t32E1H8u011813; Thu, 2 Apr 2015 14:01:17 GMT MIME-Version: 1.0 Message-ID: Date: Thu, 2 Apr 2015 07:01:15 -0700 (PDT) From: Drew Adams To: Filipp Gunbin Subject: RE: bug#20195: 25.0.50; Let Dired commands such as `dired-do-search' (`A') use prefix arg References: <3126891c-8c4d-4d6f-aa97-7c2e5b4ed2d0@default> <87619oiw5f.fsf@mail.linkov.net> <87h9t0oqj1.fsf@mail.linkov.net> <3f9ce496-3dc3-4ca8-adbb-0e47fa998aaa@default> <849043fc-73d9-45cc-ad33-30ccf7f7b077@default> In-Reply-To: X-Priority: 3 X-Mailer: Oracle Beehive Extensions for Outlook 2.0.1.8.2 (807160) [OL 12.0.6691.5000 (x86)] Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable X-Source-IP: userv0021.oracle.com [156.151.31.71] X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 20195 Cc: 20195@debbugs.gnu.org, Juri Linkov X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 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.3 (--) > > See above. There are *many* ways to do the same thing in Dired (and > > elsewhere in Emacs). In and of itself, eliminating such "duplication" > > is a silly goal (IMHO). >=20 > But it's rather convenient to keep in memory that: > 1) First mark files you want to process. To augment mark behaviour > (e.g. mark all files in a subdir) specify prefix arg to the mark > command or use a corresponding specific command. > 2) Perform search/replace. To augment search/replace behavior (like > toggle word searching) you have to specify prefix argument to the > search/replace command. Yes, there are multiple ways to do the same thing in Dired. Nothing in this enhancement will prevent you from always doing things the way you prefer. From debbugs-submit-bounces@debbugs.gnu.org Thu Feb 03 16:19:31 2022 Received: (at 20195) by debbugs.gnu.org; 3 Feb 2022 21:19:31 +0000 Received: from localhost ([127.0.0.1]:58099 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nFjVr-0007ol-LI for submit@debbugs.gnu.org; Thu, 03 Feb 2022 16:19:31 -0500 Received: from quimby.gnus.org ([95.216.78.240]:55458) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nFjVq-0007oT-1X for 20195@debbugs.gnu.org; Thu, 03 Feb 2022 16:19:30 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org; s=20200322; h=Content-Type:MIME-Version:Message-ID:In-Reply-To:Date: References:Subject:Cc:To:From:Sender:Reply-To:Content-Transfer-Encoding: Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=9XbSzVZTD1lntV0inA99puIhS4Gn5maQHP3EnhFDTE8=; b=CTYKZzMTFfYd9a6poOIQw5JWDh XYyOZh9KlngqIkvRi8JtqI+evQokrXs789RBfw/LMbN8yDf3K3EfJItUbBf715ZPNFCwgyKawyKg9 DyeWOeLglog9Nm2+1OIKJo3PVL6EjORthRIVdFsg3pAEh8rj+h8mGFDguVxw0bDDdRhg=; Received: from [84.212.220.105] (helo=giant) by quimby.gnus.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1nFjVe-0004eW-Kb; Thu, 03 Feb 2022 22:19:21 +0100 From: Lars Ingebrigtsen To: Juri Linkov Subject: Re: bug#20195: 25.0.50; Let Dired commands such as `dired-do-search' (`A') use prefix arg References: <3126891c-8c4d-4d6f-aa97-7c2e5b4ed2d0@default> <87619oiw5f.fsf@mail.linkov.net> <87h9t0oqj1.fsf@mail.linkov.net> X-Now-Playing: New Fads's _Love It All_: "Saxophone" Date: Thu, 03 Feb 2022 22:19:17 +0100 In-Reply-To: <87h9t0oqj1.fsf@mail.linkov.net> (Juri Linkov's message of "Tue, 31 Mar 2015 23:33:54 +0300") Message-ID: <87wnibk5re.fsf@gnus.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Report: Spam detection software, running on the system "quimby.gnus.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 @@CONTACT_ADDRESS@@ for details. Content preview: Juri Linkov writes: >>> There is a problem with `dired-do-query-replace-regexp' where a prefix arg >>> means replace word-delimited matches. >> >> So make it so that only a negative prefix arg means delimited. > > A nega [...] Content analysis details: (-2.9 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -1.0 ALL_TRUSTED Passed through trusted hosts only via SMTP -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 20195 Cc: 20195@debbugs.gnu.org, Drew Adams 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.3 (---) Juri Linkov writes: >>> There is a problem with `dired-do-query-replace-regexp' where a prefix arg >>> means replace word-delimited matches. >> >> So make it so that only a negative prefix arg means delimited. > > A negative prefix arg means backward replacement. So I think the conclusion here was that we can't really do the suggested change (which sounds pretty confusing to me, anyway), so I'm closing this bug report. -- (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no From debbugs-submit-bounces@debbugs.gnu.org Thu Feb 03 16:19:38 2022 Received: (at control) by debbugs.gnu.org; 3 Feb 2022 21:19:38 +0000 Received: from localhost ([127.0.0.1]:58102 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nFjVx-0007p5-TT for submit@debbugs.gnu.org; Thu, 03 Feb 2022 16:19:38 -0500 Received: from quimby.gnus.org ([95.216.78.240]:55474) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nFjVw-0007oj-72 for control@debbugs.gnu.org; Thu, 03 Feb 2022 16:19:36 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org; s=20200322; h=Subject:From:To:Message-Id:Date:Sender:Reply-To:Cc: MIME-Version:Content-Type:Content-Transfer-Encoding:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:In-Reply-To:References:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=0ga+6e31sdRRtidRvNR1699G80f9J9RrgxItYBji/Ag=; b=iTGiN4otVI9V3yoiGPGWIn0Sth O/V92wJmKmE2rQ7imkqqmo4tQfvzHrlUd5TKc6E5gzryAF3KGlUU3QTsF1qmhpMmJv+QBRBRSPnH4 N2I2dFdCXWrTFhWD9O84/50NJApRhH8Oz7uQt4b4mb37Nio3P2fqdxyvZAGO+6jUZR9A=; Received: from [84.212.220.105] (helo=giant) by quimby.gnus.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1nFjVo-0004ee-Fi for control@debbugs.gnu.org; Thu, 03 Feb 2022 22:19:30 +0100 Date: Thu, 03 Feb 2022 22:19:26 +0100 Message-Id: <87v8xvk5r5.fsf@gnus.org> To: control@debbugs.gnu.org From: Lars Ingebrigtsen Subject: control message for bug #20195 X-Spam-Report: Spam detection software, running on the system "quimby.gnus.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 @@CONTACT_ADDRESS@@ for details. Content preview: tags 20195 wontfix close 20195 quit Content analysis details: (-2.9 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -1.0 ALL_TRUSTED Passed through trusted hosts only via SMTP -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: control 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.3 (---) tags 20195 wontfix close 20195 quit From unknown Sat Aug 16 10:51:05 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Fri, 04 Mar 2022 12:24:07 +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