emacs-devel
[Top][All Lists]
Advanced

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

Re: Fill column indicator functionality


From: Eli Zaretskii
Subject: Re: Fill column indicator functionality
Date: Sat, 06 Apr 2019 15:53:06 +0300

> Date: Sat, 6 Apr 2019 13:06:52 +0200
> From: Ergus <address@hidden>
> Cc: Óscar Fuentes <address@hidden>, address@hidden
> 
> >Hmm... why do we need those DEFSYMs?  I don't think the Qfoo symbols
> >are ever used in C, are they?  Do the problems go away if you remove
> >the DEFSYMS?
> >
> Hi Eli:
> 
> I just followed the same schema than the display-line-numbers variables
> some lines before. (and many other variables)

We should only need DEFSYM if we need to reference Qfoo in C code.

> What are actually the Qfoo symbols for? I thought they where for make
> buffer local variables?
> 
> Actually the question is: Why are we not using those?  instead of
>  Vdisplay_fill_column_indicator_character?

The Vfoo is the variable, the Qfoo is its symbol.  You need the latter
if you have to call a function that accepts symbols, like specbind.
It's the same as with foo vs 'foo in Lisp.




reply via email to

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