[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Native line numbers landed on master

From: Eli Zaretskii
Subject: Re: Native line numbers landed on master
Date: Wed, 09 Oct 2019 15:23:35 +0300

> From: Robert Pluim <address@hidden>
> Cc: address@hidden
> Date: Wed, 09 Oct 2019 14:14:48 +0200
> >>>>> On Wed, 09 Oct 2019 11:16:36 +0300, Eli Zaretskii <address@hidden> said:
>     >> Iʼve done my best, although I donʼt see where init_buffer_once comes
>     >> in.
>     Eli> I meant the likes of this:
>     Eli>   XSETFASTINT (BVAR (&buffer_local_flags, tab_width), idx); ++idx;
>     Eli> Anyone who defines buffer-local variables should generally be 
> familiar
>     Eli> with this stuff.
> Thatʼs for variables defined with DEFVAR_PER_BUFFER


> Do people add those often enough that we need to document it?

I don't know, but it's a kind of black magic that if you don't know
about, you are in a lot of trouble when you need to add such a

> * doc/lispref/internals.texi (Writing Emacs Primitives): Add
> description of DEFVAR_* arguments.  Describe variable naming
> conventions.  Explain how to express quoting of symbols in C, plus
> 'specbind' and how to create buffer-local variables.

LGTM, thanks.

reply via email to

[Prev in Thread] Current Thread [Next in Thread]