From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Filipe Silva Newsgroups: gmane.emacs.devel Subject: Re: Native line numbers, final testing Date: Mon, 10 Jul 2017 15:22:49 -0300 Message-ID: References: <83y3s9pm2a.fsf@gnu.org> <83zicmntaq.fsf@gnu.org> <83van9o6l8.fsf@gnu.org> <83mv8knuhi.fsf@gnu.org> <83fuecnr4p.fsf@gnu.org> <83d19gnocd.fsf@gnu.org> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="001a113bd054a91bb70553faab3b" X-Trace: blaine.gmane.org 1499710984 20698 195.159.176.226 (10 Jul 2017 18:23:04 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Mon, 10 Jul 2017 18:23:04 +0000 (UTC) Cc: Emacs developers To: Stefan Monnier Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Jul 10 20:22:59 2017 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dUdKg-0004pi-E9 for ged-emacs-devel@m.gmane.org; Mon, 10 Jul 2017 20:22:54 +0200 Original-Received: from localhost ([::1]:42413 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dUdKl-0000vY-Ti for ged-emacs-devel@m.gmane.org; Mon, 10 Jul 2017 14:22:59 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:55718) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dUdKf-0000vJ-NT for emacs-devel@gnu.org; Mon, 10 Jul 2017 14:22:54 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dUdKe-0000mV-RJ for emacs-devel@gnu.org; Mon, 10 Jul 2017 14:22:53 -0400 Original-Received: from mail-oi0-x230.google.com ([2607:f8b0:4003:c06::230]:35327) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1dUdKe-0000mP-Lu for emacs-devel@gnu.org; Mon, 10 Jul 2017 14:22:52 -0400 Original-Received: by mail-oi0-x230.google.com with SMTP id 191so82216359oii.2 for ; Mon, 10 Jul 2017 11:22:52 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=AMlc9UCuDCNLf4lpXm679/4ypn18FdKlrgof6IoHw8c=; b=ed1KlfP1qpKXJb+e26Bsqfi3HKvf4+2baO2ErtzCy7/Ok1RKRhT63eNY4jjuOFSSqd pcPV4JIfl1P1E+J3T3O0ACHCHAUuTxkESAPJqAVB83eFlKFwLImTS5iccHzKNPcACNYv lsdHOnOtNJoGqlwIjk7WfMnrNUrBnNaPTItEfOUqWGT4btiBUWJdun1lyLU4eOkT6ztS OwlpG8TXFxMQN6JrjiW73Yr9r7U2CjhUgS91lwwh/Grhvbls4X8R0GYZqKmFcCYwHIZo jxF7QIKAJwG14XUWFiSgqGxrfiv93ENAfiCd7Y5f3G9cqjLnUv9qM6YYbpQ3suSAV0jY owNg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=AMlc9UCuDCNLf4lpXm679/4ypn18FdKlrgof6IoHw8c=; b=U5D++LNKBIkL4cMuivaUKCzA9Xi3zUK33lPAs2fqsx+5ur8953SwknPRyusFsvKnNJ KIunjjGKx34DQlW9Zifx0X2+5x4VrqrIhbTVxhc/FdZhtzRc/B2efNe7OO/oFcdGBGzu S8aQwRHw9w4LYce7/5Gdx7dO/Cj3h5l+XE1qHg7CK2GXPHohGeJz5rgDMJU49sNzWuwy LAZPZAY9ueFLeruxb5YhEPmVQyPQoGXehzlr56S+v3Ax2g3dCPondbbzv+bAUG972IO6 MxhqxvSIGzytru3md7Z3SJaqi1e26O9s3LUXgzx+lmwE/BI0bt/S/ZvVLP4910ZbOQmG +e6A== X-Gm-Message-State: AIVw110+lzJ1DwvAV0oU0EtPQGxgBaWZhfN6+azeqfDzbI3EnNW3z0hQ MAR0XDWXtBTQDlXBM3NK5WTuMHCPWQ== X-Received: by 10.202.66.4 with SMTP id p4mr10400192oia.114.1499710970467; Mon, 10 Jul 2017 11:22:50 -0700 (PDT) Original-Received: by 10.182.85.69 with HTTP; Mon, 10 Jul 2017 11:22:49 -0700 (PDT) In-Reply-To: X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2607:f8b0:4003:c06::230 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.org gmane.emacs.devel:216431 Archived-At: --001a113bd054a91bb70553faab3b Content-Type: text/plain; charset="UTF-8" Stefan, while this is awesome, do I have to (require 'cl-macs) for this to work properly? On Tue, Jul 4, 2017 at 2:52 PM, Stefan Monnier wrote: > > (if display-line-numbers-current-absolute > > (setq display-line-numbers-current-absolute nil) > > (setq display-line-numbers-current-absolute t))) > > aka > (setq display-line-numbers-current-absolute > (not display-line-numbers-current-absolute)) > aka > (cl-callf not display-line-numbers-current-absolute) > > > -- Stefan > > > --001a113bd054a91bb70553faab3b Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Stefan, while this is awesome, do I have to (require 'cl= -macs) for this to work properly?
On Tue, Jul 4, 2017 at 2:52 PM, Stefan Monnier = <monnier@iro.umontreal.ca> wrote:
>=C2=A0 =C2=A0 =C2=A0 =C2=A0 (if display= -line-numbers-current-absolute
>=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 (setq display-line-numbers-cu= rrent-absolute nil)
>=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 (setq display-line-numbers-current-<= wbr>absolute t)))

aka
=C2=A0 =C2=A0 =C2=A0 =C2=A0 (setq display-line-numbers-current-absolut= e
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 (not display-line-numbers-= current-absolute))
aka
=C2=A0 =C2=A0 =C2=A0 =C2=A0 (cl-callf not display-line-numbers-current-absolute)


-- Stefan



--001a113bd054a91bb70553faab3b--