[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?
- Re: Native line numbers landed on master, (continued)
- Re: Native line numbers landed on master, Eli Zaretskii, 2017/07/12
- Re: Native line numbers landed on master, Alex, 2017/07/16
- Re: Native line numbers landed on master, Eli Zaretskii, 2017/07/16
- Re: Native line numbers landed on master, Alex, 2017/07/16
- Re: Native line numbers landed on master, Eli Zaretskii, 2017/07/17
- Re: Native line numbers landed on master, Alex, 2017/07/17
- Re: Native line numbers landed on master, Eli Zaretskii, 2017/07/22
- Re: Native line numbers landed on master, John Wiegley, 2017/07/10
- Re: Native line numbers landed on master, Eli Zaretskii, 2017/07/10
- Re: Native line numbers landed on master, Stefan Monnier, 2017/07/11
- Re: Native line numbers landed on master,
Eli Zaretskii <=
- Re: Native line numbers landed on master, Stefan Monnier, 2017/07/11
- Re: Native line numbers landed on master, Eli Zaretskii, 2017/07/11
- Re: Native line numbers landed on master, Stefan Monnier, 2017/07/11
- Re: Native line numbers landed on master, Eli Zaretskii, 2017/07/11
- Re: Native line numbers landed on master, Stefan Monnier, 2017/07/11
- Sharp-quoting function symbols (Was: Native line numbers landed on master), Kaushal Modi, 2017/07/11
Re: Native line numbers landed on master, Filipe Silva, 2017/07/10
Re: Native line numbers landed on master, Robert Pluim, 2017/07/11