From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Stephen Berman Newsgroups: gmane.emacs.devel Subject: Re: To non-native English writers: expunging the solecism "This allows to do something." Date: Mon, 25 Jan 2016 15:25:03 +0100 Message-ID: <87zivteny8.fsf@gmx.net> References: <20160124210602.GA7711@acm.fritz.box> <87fuxmzj03.fsf@rub.de> <20160125125156.GB4500@acm.fritz.box> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1453731926 17299 80.91.229.3 (25 Jan 2016 14:25:26 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 25 Jan 2016 14:25:26 +0000 (UTC) Cc: emacs-devel@gnu.org To: Alan Mackenzie Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Jan 25 15:25:17 2016 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1aNi4z-0000aV-54 for ged-emacs-devel@m.gmane.org; Mon, 25 Jan 2016 15:25:17 +0100 Original-Received: from localhost ([::1]:38917 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aNi4y-0005Af-IP for ged-emacs-devel@m.gmane.org; Mon, 25 Jan 2016 09:25:16 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:41485) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aNi4t-00057g-Gi for emacs-devel@gnu.org; Mon, 25 Jan 2016 09:25:12 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aNi4o-0002NZ-Hv for emacs-devel@gnu.org; Mon, 25 Jan 2016 09:25:11 -0500 Original-Received: from mout.gmx.net ([212.227.15.15]:62062) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aNi4o-0002MB-8Q for emacs-devel@gnu.org; Mon, 25 Jan 2016 09:25:06 -0500 Original-Received: from rosalinde ([89.245.103.134]) by mail.gmx.com (mrgmx003) with ESMTPSA (Nemesis) id 0MBWTO-1aDETZ49LC-00AUFE; Mon, 25 Jan 2016 15:25:04 +0100 In-Reply-To: <20160125125156.GB4500@acm.fritz.box> (Alan Mackenzie's message of "Mon, 25 Jan 2016 12:51:56 +0000") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.0.50 (gnu/linux) X-Provags-ID: V03:K0:YvVEROr97IUysS3su+k0iO0MCjAorgiceqYKFnhn4Euu63jnYlG 5k3JqJRWmXFSrX0XGTNeRPKKgZ2e1K48CFiZsoyNDn7NX7zxe6spOXINUstOfkdeGfD+WMe Hme9K9OyV2n+wKUg3JItkMavprXGfF58EQhtMMdcSI4qBh/s2fhIXgQxCQ1G2sNAGNgQA8f xJ3bXbGzRUxuUtoRb18JQ== X-UI-Out-Filterresults: notjunk:1;V01:K0:32LIf6Nk2LU=:Akw9om4uIREQ6LXgzfJsEv 0UKWVyIssfCay4SvbjqAazm20g5s7zdn3ZS1oUd2chUKCvSk+aulRLS/h3o16re/UJQZqRc2/ 779MDcpTX468/tH2g/rH3HWnEiJpDFScUCSW3A69YSuvzShTqaGnzUDnlScBwX2IDYFQIc2DI z5Ay4Pk3FToRRU6UQp8+9EO5fgNbTYXhT32nrz2Ayo9cZnvord8vyafEznJBvvZY837ZvI4cS pCz3YITYlBwrUcIufPS8GFzAliiLusl3ykrpfn/5gsWFP4IhlBbz3BarLlZpePabkbz7fLXhA kR+FkfAbc0zdtFwDlk3gAu9oLcnuHx74/PtwpJ6c0g5+aaBjm9Kfl5SYhiHztntyRRCK8/hZo nGVm0Gu4ATLu00CGyn6D+0WyolwWnWnCbPeaXk+++ABRelTha7NwPJhz5uDjWZATEDhSHoYhj B+GlWW7arZCS8/qknMJ/EPg6I6iZJCCH7w05P3kYWZ/7KjkRPefyA+th9e+0tdVKQZc9+Ov4P 8xArFoHFDAjKP9K9DIZKZMiEXMV4N0lVHPD0g8wOTdqiYhSMQ1tF77sUbX3yl9uH/zJXXzDVR N7jL+qeX/eMYMzNHD+ifbBvt0ZjaIDlvN0b2iZjl8rr6MFlPBzgADi6dU/OSVOE7WXEf5KKSl KxuA7c/0pADAo3mf9PDtZmvNlh0vnb7dwXDVOsR9lJbLaFcWNgBT//wwBepDdpSnbv2LZq628 SnZ6L2LbFNwAW0ulwZK+bF/NdoFNrCj5rWl66oZhOs9cJOTAjwuZ9unIwxQpEUqmS7Xjz84i X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 212.227.15.15 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:198765 Archived-At: On Mon, 25 Jan 2016 12:51:56 +0000 Alan Mackenzie wrote: > On Sun, Jan 24, 2016 at 11:54:04PM +0100, Stephen Berman wrote: > >> You missed some instances, which I found by running rgrep on the Emacs >> source tree with this regexp (without the quotes): > >> "[^-]\(allow\|enable\|permit\|prevent\|require\)[^-de ]* to " > > Yes, I'd overlooked "require"; but there are instances of "requires to" > which are OK. The regexp I ended up using was: > > '\b\(require\|allow\|prevent\|permit\|enable\)s\? to\b' Ah, this is better than mine in that it also find cases where the verb is at bol or "to" at eol; yet ... > , and some fancy playing around with -A1 and -B1 flags to grep to find > instances (and there were a few) where the verb is at the end of a line > and the "to" at the beginning of the next line (modulo comment markers, > etc.). > >> This does, however, also return several false positives, most of them >> with "require" (one is written as `require' and one or two of the others >> should probably be quoted like that). I don't have time in the next few >> days to commit a fix for these, so if you do, please go ahead. > > Well, I've knocked down quite a few more instances. I can't guarantee > there're none left, of course, but there aren't many. ... your regexp misses cases of "allowing to", "requiring to", which there are a handful of (and I didn't try using -A1 and -B1): ./etc/ORG-NEWS:1602: =org-attach-method= now supports a new method =lns=, allowing to ./lisp/ruler-mode.el:122:Also allowing to visually change `tab-stop-list' setting using ./lisp/org/ox.el:3470:;; `org-export-with-backend' is a function allowing to locally use ./lisp/org/ChangeLog.1:10415: (org-element--current-element): Fix bug requiring to parse a quote ./lisp/org/ChangeLog.1:14844: Check `org-protected' property before allowing to match a footnote. ./lisp/org/ChangeLog.1:17233: (org-re-property): New function allowing to build a regexp to ./doc/lispref/text.texi:1376:allowing to undo them as a group. By default, commands ./doc/lispref/markers.texi:343:Most functions that create markers, without an argument allowing to ./doc/emacs/frames.texi:1013:with the mouse, thus allowing to easily resize adjacent windows. I think that's it (don't worry, I won't try looking for more ;-). Steve Berman