All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] stripspace: Call U+0020 a "space" instead of a "blank"
@ 2016-01-29  3:10 Alex Henrie
  2016-02-09 22:24 ` Junio C Hamano
  0 siblings, 1 reply; 5+ messages in thread
From: Alex Henrie @ 2016-01-29  3:10 UTC (permalink / raw)
  To: tklauser, gitster, git; +Cc: Alex Henrie

I couldn't find any other examples of people referring to this character
as a "blank".

Signed-off-by: Alex Henrie <alexhenrie24@gmail.com>
---
 builtin/stripspace.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/builtin/stripspace.c b/builtin/stripspace.c
index 7ff8434..15e716e 100644
--- a/builtin/stripspace.c
+++ b/builtin/stripspace.c
@@ -35,7 +35,7 @@ int cmd_stripspace(int argc, const char **argv, const char *prefix)
 			    N_("skip and remove all lines starting with comment character"),
 			    STRIP_COMMENTS),
 		OPT_CMDMODE('c', "comment-lines", &mode,
-			    N_("prepend comment character and blank to each line"),
+			    N_("prepend comment character and space to each line"),
 			    COMMENT_LINES),
 		OPT_END()
 	};
-- 
2.7.0

^ permalink raw reply related	[flat|nested] 5+ messages in thread

* Re: [PATCH] stripspace: Call U+0020 a "space" instead of a "blank"
  2016-01-29  3:10 [PATCH] stripspace: Call U+0020 a "space" instead of a "blank" Alex Henrie
@ 2016-02-09 22:24 ` Junio C Hamano
  2016-02-09 22:53   ` Stefan Beller
  0 siblings, 1 reply; 5+ messages in thread
From: Junio C Hamano @ 2016-02-09 22:24 UTC (permalink / raw)
  To: git; +Cc: tklauser, Alex Henrie

Alex Henrie <alexhenrie24@gmail.com> writes:

> I couldn't find any other examples of people referring to this character
> as a "blank".
>
> Signed-off-by: Alex Henrie <alexhenrie24@gmail.com>
> ---

Any comments on this from anybody other than the author that I
missed to support this change?

>  builtin/stripspace.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/builtin/stripspace.c b/builtin/stripspace.c
> index 7ff8434..15e716e 100644
> --- a/builtin/stripspace.c
> +++ b/builtin/stripspace.c
> @@ -35,7 +35,7 @@ int cmd_stripspace(int argc, const char **argv, const char *prefix)
>  			    N_("skip and remove all lines starting with comment character"),
>  			    STRIP_COMMENTS),
>  		OPT_CMDMODE('c', "comment-lines", &mode,
> -			    N_("prepend comment character and blank to each line"),
> +			    N_("prepend comment character and space to each line"),
>  			    COMMENT_LINES),
>  		OPT_END()
>  	};

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [PATCH] stripspace: Call U+0020 a "space" instead of a "blank"
  2016-02-09 22:24 ` Junio C Hamano
@ 2016-02-09 22:53   ` Stefan Beller
  2016-02-09 23:00     ` Junio C Hamano
  0 siblings, 1 reply; 5+ messages in thread
From: Stefan Beller @ 2016-02-09 22:53 UTC (permalink / raw)
  To: Junio C Hamano; +Cc: git, Tobias Klauser, Alex Henrie

On Tue, Feb 9, 2016 at 2:24 PM, Junio C Hamano <gitster@pobox.com> wrote:
> Alex Henrie <alexhenrie24@gmail.com> writes:
>
>> I couldn't find any other examples of people referring to this character
>> as a "blank".
>>
>> Signed-off-by: Alex Henrie <alexhenrie24@gmail.com>
>> ---
>
> Any comments on this from anybody other than the author that I
> missed to support this change?

I remember "blank" being used in my early days of computing.

The blank was somehow more accurate as it described the exact
thing (i.e. char U+0020 as commonly produced via the space bar
on the key board)

A space however could refer to any kind of indentation.
 * tabs would qualify for that
 * other tricks of your (wordprocessor-) editor would qualify for that
   (indent by 2 inches in footer section or other weeirdness)
 * any other character not using any ink in a printer[1]

[1] https://www.cs.tut.fi/~jkorpela/chars/spaces.html

Looking at that table in there, U+0020 is officially called "space",
so I guess the patch is technically correct.

Orthogonal to this discussion, I'd suggest adding an "a"
into the string

     N_("prepend a comment character and a {space, blank} to each line"),

>
>>  builtin/stripspace.c | 2 +-
>>  1 file changed, 1 insertion(+), 1 deletion(-)
>>
>> diff --git a/builtin/stripspace.c b/builtin/stripspace.c
>> index 7ff8434..15e716e 100644
>> --- a/builtin/stripspace.c
>> +++ b/builtin/stripspace.c
>> @@ -35,7 +35,7 @@ int cmd_stripspace(int argc, const char **argv, const char *prefix)
>>                           N_("skip and remove all lines starting with comment character"),
>>                           STRIP_COMMENTS),
>>               OPT_CMDMODE('c', "comment-lines", &mode,
>> -                         N_("prepend comment character and blank to each line"),
>> +                         N_("prepend comment character and space to each line"),
>>                           COMMENT_LINES),
>>               OPT_END()
>>       };
> --
> To unsubscribe from this list: send the line "unsubscribe git" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [PATCH] stripspace: Call U+0020 a "space" instead of a "blank"
  2016-02-09 22:53   ` Stefan Beller
@ 2016-02-09 23:00     ` Junio C Hamano
  2016-02-10  5:26       ` Alex Henrie
  0 siblings, 1 reply; 5+ messages in thread
From: Junio C Hamano @ 2016-02-09 23:00 UTC (permalink / raw)
  To: Stefan Beller; +Cc: git, Tobias Klauser, Alex Henrie

Stefan Beller <sbeller@google.com> writes:

> On Tue, Feb 9, 2016 at 2:24 PM, Junio C Hamano <gitster@pobox.com> wrote:
>> Alex Henrie <alexhenrie24@gmail.com> writes:
>>
>>> I couldn't find any other examples of people referring to this character
>>> as a "blank".
>>>
>>> Signed-off-by: Alex Henrie <alexhenrie24@gmail.com>
>>> ---
>>
>> Any comments on this from anybody other than the author that I
>> missed to support this change?
>
> I remember "blank" being used in my early days of computing.
>
> The blank was somehow more accurate as it described the exact
> thing (i.e. char U+0020 as commonly produced via the space bar
> on the key board)
>
> A space however could refer to any kind of indentation.
>  * tabs would qualify for that
>  * other tricks of your (wordprocessor-) editor would qualify for that
>    (indent by 2 inches in footer section or other weeirdness)
>  * any other character not using any ink in a printer[1]
>
> [1] https://www.cs.tut.fi/~jkorpela/chars/spaces.html
>
> Looking at that table in there, U+0020 is officially called "space",
> so I guess the patch is technically correct.

So the "blank" is correct because we just want a gap between the
comment char and the text, and use of " " is merely an
implementation detail.  The "space" is correct because that happens
to be the byte used as the implementation detail of leaving that gap
between the comment char and the text.

;-)



>
> Orthogonal to this discussion, I'd suggest adding an "a"
> into the string
>
>      N_("prepend a comment character and a {space, blank} to each line"),
>
>>
>>>  builtin/stripspace.c | 2 +-
>>>  1 file changed, 1 insertion(+), 1 deletion(-)
>>>
>>> diff --git a/builtin/stripspace.c b/builtin/stripspace.c
>>> index 7ff8434..15e716e 100644
>>> --- a/builtin/stripspace.c
>>> +++ b/builtin/stripspace.c
>>> @@ -35,7 +35,7 @@ int cmd_stripspace(int argc, const char **argv, const char *prefix)
>>>                           N_("skip and remove all lines starting with comment character"),
>>>                           STRIP_COMMENTS),
>>>               OPT_CMDMODE('c', "comment-lines", &mode,
>>> -                         N_("prepend comment character and blank to each line"),
>>> +                         N_("prepend comment character and space to each line"),
>>>                           COMMENT_LINES),
>>>               OPT_END()
>>>       };
>> --
>> To unsubscribe from this list: send the line "unsubscribe git" in
>> the body of a message to majordomo@vger.kernel.org
>> More majordomo info at  http://vger.kernel.org/majordomo-info.html

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [PATCH] stripspace: Call U+0020 a "space" instead of a "blank"
  2016-02-09 23:00     ` Junio C Hamano
@ 2016-02-10  5:26       ` Alex Henrie
  0 siblings, 0 replies; 5+ messages in thread
From: Alex Henrie @ 2016-02-10  5:26 UTC (permalink / raw)
  To: Junio C Hamano; +Cc: Stefan Beller, git, Tobias Klauser

2016-02-09 16:00 GMT-07:00 Junio C Hamano <gitster@pobox.com>:
> Stefan Beller <sbeller@google.com> writes:
>
>> On Tue, Feb 9, 2016 at 2:24 PM, Junio C Hamano <gitster@pobox.com> wrote:
>>> Alex Henrie <alexhenrie24@gmail.com> writes:
>>>
>>>> I couldn't find any other examples of people referring to this character
>>>> as a "blank".
>>>>
>>>> Signed-off-by: Alex Henrie <alexhenrie24@gmail.com>
>>>> ---
>>>
>>> Any comments on this from anybody other than the author that I
>>> missed to support this change?
>>
>> I remember "blank" being used in my early days of computing.
>>
>> The blank was somehow more accurate as it described the exact
>> thing (i.e. char U+0020 as commonly produced via the space bar
>> on the key board)
>>
>> A space however could refer to any kind of indentation.
>>  * tabs would qualify for that
>>  * other tricks of your (wordprocessor-) editor would qualify for that
>>    (indent by 2 inches in footer section or other weeirdness)
>>  * any other character not using any ink in a printer[1]
>>
>> [1] https://www.cs.tut.fi/~jkorpela/chars/spaces.html
>>
>> Looking at that table in there, U+0020 is officially called "space",
>> so I guess the patch is technically correct.
>
> So the "blank" is correct because we just want a gap between the
> comment char and the text, and use of " " is merely an
> implementation detail.  The "space" is correct because that happens
> to be the byte used as the implementation detail of leaving that gap
> between the comment char and the text.
>
> ;-)

"blank" does not sound like good English to me, but there are a lot of
dialects of English, so I can understand if it sounds natural to
someone else.

-Alex

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2016-02-10  5:27 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-01-29  3:10 [PATCH] stripspace: Call U+0020 a "space" instead of a "blank" Alex Henrie
2016-02-09 22:24 ` Junio C Hamano
2016-02-09 22:53   ` Stefan Beller
2016-02-09 23:00     ` Junio C Hamano
2016-02-10  5:26       ` Alex Henrie

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.