unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
* Re: master a9f147a: Use the full name of the null byte/character, not its abbreviation
       [not found] ` <20201005182138.AE01D209B9@vcs0.savannah.gnu.org>
@ 2020-10-05 19:05   ` Stefan Monnier
  2020-10-05 19:21     ` Andreas Schwab
  0 siblings, 1 reply; 3+ messages in thread
From: Stefan Monnier @ 2020-10-05 19:05 UTC (permalink / raw)
  To: emacs-devel; +Cc: Andreas Schwab

> -@xref{Lisp and Coding Systems, inhibit-nul-byte-detection}.
> +@xref{Lisp and Coding Systems, inhibit-null-byte-detection}.

I think this patch is ill-advised.

AFAIK "NULL" is a pointer of zero value, whereas the byte/char of zero
value is called "NUL", so if we want to make a change it should be from
"null-byte" to "nul-byte", not the other way around.

Especially since:

    % grep '\<nul\>' etc/NEWS*
    etc/NEWS.27:** 'inhibit-null-byte-detection' is renamed to 'inhibit-nul-byte-detection'.
    % 


-- Stefan




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

* Re: master a9f147a: Use the full name of the null byte/character, not its abbreviation
  2020-10-05 19:05   ` master a9f147a: Use the full name of the null byte/character, not its abbreviation Stefan Monnier
@ 2020-10-05 19:21     ` Andreas Schwab
  2020-10-05 19:34       ` Drew Adams
  0 siblings, 1 reply; 3+ messages in thread
From: Andreas Schwab @ 2020-10-05 19:21 UTC (permalink / raw)
  To: Stefan Monnier; +Cc: emacs-devel

On Okt 05 2020, Stefan Monnier wrote:

>> -@xref{Lisp and Coding Systems, inhibit-nul-byte-detection}.
>> +@xref{Lisp and Coding Systems, inhibit-null-byte-detection}.
>
> I think this patch is ill-advised.
>
> AFAIK "NULL" is a pointer of zero value, whereas the byte/char of zero
> value is called "NUL",

NUL is the ASCII abbreviation (TLA) of the null character.

Andreas.

-- 
Andreas Schwab, schwab@linux-m68k.org
GPG Key fingerprint = 7578 EB47 D4E5 4D69 2510  2552 DF73 E780 A9DA AEC1
"And now for something completely different."



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

* RE: master a9f147a: Use the full name of the null byte/character, not its abbreviation
  2020-10-05 19:21     ` Andreas Schwab
@ 2020-10-05 19:34       ` Drew Adams
  0 siblings, 0 replies; 3+ messages in thread
From: Drew Adams @ 2020-10-05 19:34 UTC (permalink / raw)
  To: Andreas Schwab, Stefan Monnier; +Cc: emacs-devel

> >> -@xref{Lisp and Coding Systems, inhibit-nul-byte-detection}.
> >> +@xref{Lisp and Coding Systems, inhibit-null-byte-detection}.
> >
> > I think this patch is ill-advised.
> >
> > AFAIK "NULL" is a pointer of zero value, whereas the byte/char of zero
> > value is called "NUL",
> 
> NUL is the ASCII abbreviation (TLA) of the null character.

Yes.  The character is called the null character or
the null byte character, or sometimes a null byte.

https://en.wikipedia.org/wiki/Null_character

See bug #43780, which unfortunately was closed as "not a bug".

https://debbugs.gnu.org/cgi/bugreport.cgi?bug=43780

IMO, this variable renaming was gratuitous and ill-advised.

Can we please revert this renaming from "null" to "nul"?
Or if you insist that we allow the new name, with "nul",
can we at least unobsolete the former (and better) name,
with "null"?



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

end of thread, other threads:[~2020-10-05 19:34 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <20201005182136.10826.67802@vcs0.savannah.gnu.org>
     [not found] ` <20201005182138.AE01D209B9@vcs0.savannah.gnu.org>
2020-10-05 19:05   ` master a9f147a: Use the full name of the null byte/character, not its abbreviation Stefan Monnier
2020-10-05 19:21     ` Andreas Schwab
2020-10-05 19:34       ` Drew Adams

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).