From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: John Yates Newsgroups: gmane.emacs.devel Subject: Re: Reformat all of src/ Date: Wed, 28 Dec 2016 11:01:04 -0500 Message-ID: References: <87h95olvg0.fsf@gmail.com> <228ccc55affe1320a030a5652c63e005.squirrel@cloud103.planethippo.com> <87o9zwvz91.fsf@gnus.org> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: multipart/alternative; boundary=001a1140210e82dfc80544ba13d5 X-Trace: blaine.gmane.org 1482940946 18936 195.159.176.226 (28 Dec 2016 16:02:26 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Wed, 28 Dec 2016 16:02:26 +0000 (UTC) Cc: Emacs developers To: Lars Ingebrigtsen Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed Dec 28 17:02:22 2016 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cMGg2-0002UH-V8 for ged-emacs-devel@m.gmane.org; Wed, 28 Dec 2016 17:02:07 +0100 Original-Received: from localhost ([::1]:59807 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cMGg5-0001eN-Vz for ged-emacs-devel@m.gmane.org; Wed, 28 Dec 2016 11:02:10 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:40226) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cMGf9-0001aG-JY for emacs-devel@gnu.org; Wed, 28 Dec 2016 11:01:17 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cMGf5-0007Xr-B3 for emacs-devel@gnu.org; Wed, 28 Dec 2016 11:01:11 -0500 Original-Received: from mail-lf0-x22f.google.com ([2a00:1450:4010:c07::22f]:33545) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1cMGf5-0007Xm-4M for emacs-devel@gnu.org; Wed, 28 Dec 2016 11:01:07 -0500 Original-Received: by mail-lf0-x22f.google.com with SMTP id c13so206788177lfg.0 for ; Wed, 28 Dec 2016 08:01:06 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:sender:in-reply-to:references:from:date:message-id :subject:to:cc; bh=H0ETmDUQPcWdK0i9p/K9SAw8q7kvpwZX0DH1iMTzJc0=; b=UH2CfQVKVPa8kXqoMqCI9TdFeP7a297llqdfO3wNSZe9nqMYVAxolwV3e/b2dYUs4W wc+mZxppeyZlcugVV2bfu6AcMxnwzDMgCs71TpMZAu3xTCzdSJJklI9lY/SQdtKB9+sg kmGLL44VQ/C+FasIwPc/wnLMuxM4N513cJp0rJ6oXy4Y7IKlzqp6E5eyfDRVQmmh7hAL tht/DXiclzZrGydBnpxAzXwxl/0kSYo4eibYXumk8gTYD5t7ULj/iB2YeBegZ+7VsJvB poyJamPBPuRYC/fTeXDbKigHtmuFqSKADZ1AXn0F4RAZbyjpTyO9tkMMs4W06BOHeHvV WOrQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:sender:in-reply-to:references:from :date:message-id:subject:to:cc; bh=H0ETmDUQPcWdK0i9p/K9SAw8q7kvpwZX0DH1iMTzJc0=; b=nOUwFUdVLYc707IH1RD7I+3RHl+PRgN5DT3oYx+c34HWvExoFNFO7i8XGF3EF9q7W+ bLca8aLmO861OXcTnR34MSlvMHS3oT2IkwztDOjBdpnwm4Zk0kIXdcwIdsDicrKc5XNo qXh4NGIiEDgPO3M34eLDFqeOana8eNiOFy0nHIcdRaIDgF65lgfZmsHt88SpaJf5u+2i gb0qkmJVuPhZfs7RgGAD+SinNXIK5Qf0Do/cQaIbtnixZsHHhV7HEE3jp9waxnij/LHS lXT9PLPXp89VWr4fHRpXnm3tWrpyv6LY+Pl1SLSm3p+MjHltCtO+N1S2udkrQyQi8Rpn nWrw== X-Gm-Message-State: AIkVDXIbhDaFJJW7fp3TGy/N93tlGd//756a9FkkshT+EkHbWaQ2Cjs4RFb3dmYE6dOax6VbqFhcrK8YGNuOGA== X-Received: by 10.25.28.145 with SMTP id c139mr11062516lfc.167.1482940865499; Wed, 28 Dec 2016 08:01:05 -0800 (PST) Original-Received: by 10.25.165.209 with HTTP; Wed, 28 Dec 2016 08:01:04 -0800 (PST) In-Reply-To: <87o9zwvz91.fsf@gnus.org> X-Google-Sender-Auth: HJdbs1CkXTb1_Vnl-4UtxCKu0UA X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2a00:1450:4010:c07::22f X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.21 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" Xref: news.gmane.org gmane.emacs.devel:210892 Archived-At: --001a1140210e82dfc80544ba13d5 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable On Wed, Dec 28, 2016 at 10:39 AM, Lars Ingebrigtsen wrote: > John Yates writes: > > > =E2=80=8BThey made sense 40 years ago when my 2315 disk pack held 1.2MB= . > > These days I too think they suck.=E2=80=8B > > I think that if you notice whether the indentation is made from tabs, > spaces or a mix of them, you're probably doing something wrong. > "Something" is not very helpful. Would you care to suggest a set of best practices to insulate me (or more importantly a programming newbie) from pain?=E2=80=8B Pain extends beyond mere emacs editing. =E2=80=8BI have worked on projects= where tabstops were at multiples other than 8. I commend to you the task of writing a language frontend that tries to report errors in context in such settings.=E2=80=8B And - assuming you believe in unit testing - providing tests for that facility. Not saying it cannot be done. (I have done it.) But it does leave one wondering why such an anachronism is allowed to persist. /john --001a1140210e82dfc80544ba13d5 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
On Wed, De= c 28, 2016 at 10:39 AM, Lars Ingebrigtsen <larsi@gnus.org> wrote:
John Yates <john@yates-sheets.org> writes:

> =E2=80=8BThey made sense 40 years ago when my 2315 disk pack held 1.2M= B.
> These days I too think they suck.=E2=80=8B

I think that if you notice whether the indentation is made from tabs,
spaces or a mix of them, you're probably doing something wrong.

"Something" is not very helpful.= =C2=A0 Would you care to suggest a set of best
practices to insulat= e me (or more importantly a programming newbie) from
<ht> pai= n?=E2=80=8B

Pain extends beyond mere emacs editing. = =C2=A0=E2=80=8BI have worked on projects where
tabstops were at mul= tiples other than 8.=C2=A0 I commend to you the task of writing
a l= anguage frontend that tries to report errors in context in such settings.= =E2=80=8B
And - assuming you believe in unit testing - providing te= sts for that facility.

Not saying it cannot be done. = =C2=A0(I have done it.) =C2=A0But it does leave one
wondering why s= uch an anachronism is allowed to persist.

/john
<= /div>
--001a1140210e82dfc80544ba13d5--