From mboxrd@z Thu Jan 1 00:00:00 1970 From: Alex Kost Subject: Re: [PATCH 3/5] build: Add 'emacs-build-system' Date: Tue, 23 Jun 2015 14:57:08 +0300 Message-ID: <87mvzqr623.fsf@gmail.com> References: <87twu06bhk.fsf@gmail.com> <87si9jsjyj.fsf@gmail.com> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:50215) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Z7MpK-0003pn-3D for guix-devel@gnu.org; Tue, 23 Jun 2015 07:57:21 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Z7MpE-0002NE-B6 for guix-devel@gnu.org; Tue, 23 Jun 2015 07:57:18 -0400 Received: from mail-lb0-x22a.google.com ([2a00:1450:4010:c04::22a]:34588) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Z7MpE-0002NA-2x for guix-devel@gnu.org; Tue, 23 Jun 2015 07:57:12 -0400 Received: by lbnk3 with SMTP id k3so5039486lbn.1 for ; Tue, 23 Jun 2015 04:57:11 -0700 (PDT) In-Reply-To: (Federico Beffa's message of "Mon, 22 Jun 2015 21:33:23 +0200") List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org Sender: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org To: Federico Beffa Cc: Guix-devel Federico Beffa (2015-06-22 22:33 +0300) wrote: > On Mon, Jun 22, 2015 at 7:59 PM, Alex Kost wrote: > >> Well, these trailing spaces are artifacts of (inaccurate) coding. Emacs >> can't read user's mind to decide if the spaces are redundant or >> intended. > > No need to read the mind... you just look if there are characters > other than white spaces (and possibly TABs) between newlines :-) > > But, my question was NOT: how can I see white spaces. Rather: is there > a Guix coding style "rule" which states that white spaces there are > undesired. > > I personally prefer to have them, because then, if I use M-up/down, I > move to the beginning/end of a whole top-level block, without stopping > at internal points and that's what I want most of the time. > > So, these spaces are not just coding artifacts, but have some use. Ouch, I didn't realize that you left the spaces intentionally, sorry. I always thought that "avoiding trailing whitespaces" is a general convention everywhere. But I see your point now, that's a nice trick! For lisp/scheme code I use 'beginning-of-defun'/'end-of-defun' commands instead of 'backward-paragraph'/'forward-paragraph' (if that's what is bound to M-up/down for you). -- Alex