emacs-devel
[Top][All Lists]
Advanced

[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: Tue, 11 Jul 2017 19:04:54 +0300

> From: Stefan Monnier <address@hidden>
> Date: Tue, 11 Jul 2017 11:27:18 -0400
> 
> > Looks okay, although I'd drop the # part in the below:
> >   (add-hook 'pre-command-hook #'display-line-numbers-update-width nil t))
> 
> Recent Elisp changes have rather gone the other way (adding a # rather
> than removing them).  Part of the reason is that lexical-binding gives
> different semantics to '(lambda ...) and #'(lambda ...), other part is
> that cl-flet and cl-labels also give different semantics to 'foo and
> #'foo.
> 
> Finally, if you keep the # part, the byte-compiler will be able to check
> that you spelled the function correctly (and warn you if that function
> is not known to exist).

Without this being documented anywhere (AFAICS), how can we ever hope
to educate our users (starting with myself) about this?



reply via email to

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