From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: "Alejandro Barocio A." Newsgroups: gmane.emacs.help Subject: Re: Display line number on each buffer line Date: Thu, 02 Dec 2021 07:33:09 -0600 Message-ID: <87a6hjm8p0.fsf@gmail.com> References: <87mtljmmqh.fsf@gnus.org-MpuGQO3----2> <875ys7z7pl.fsf@posteo.net-MpuQz9y----2> Mime-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha256; protocol="application/pgp-signature" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="14286"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: mu4e 1.6.10; emacs 29.0.50 To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Thu Dec 02 14:36:20 2021 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1msmG4-0003Vl-9a for geh-help-gnu-emacs@m.gmane-mx.org; Thu, 02 Dec 2021 14:36:20 +0100 Original-Received: from localhost ([::1]:39054 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1msmG2-0001EI-9C for geh-help-gnu-emacs@m.gmane-mx.org; Thu, 02 Dec 2021 08:36:18 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:57174) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1msmEs-0001E9-Lh for help-gnu-emacs@gnu.org; Thu, 02 Dec 2021 08:35:06 -0500 Original-Received: from [2607:f8b0:4864:20::334] (port=44712 helo=mail-ot1-x334.google.com) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1msmEr-0002lQ-8g for help-gnu-emacs@gnu.org; Thu, 02 Dec 2021 08:35:06 -0500 Original-Received: by mail-ot1-x334.google.com with SMTP id u18-20020a9d7212000000b00560cb1dc10bso39907301otj.11 for ; Thu, 02 Dec 2021 05:35:04 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=references:user-agent:from:to:subject:date:in-reply-to:message-id :mime-version; bh=NZaUgygfwmmPrxrXwOquxUm3HVppdcWBAcYo2h4lxCU=; b=eWLluKXfAcYZHg5dAyEQzoo1QgqoIcWPcoWIz2UTpI5u4TDyQeg6sqD6eSYWxyGSkL vLS0WFtsyZ84VoMtV9gmdQ5Xg/X0nc8VK4yAD5TupY1sG3SwzYDXIvt+slTND7xb6cWf wqc6DkIPSlwNIa7Sk3h+51LGFZ7U2Q8LQZ3WovU/wo5Nq9Au9YaPrEtPB09RMc/oQY8f 5jl4PVmRsYQ9h+hmwCUfxaJEh+r9s21w5X6V9/ZI2abIjNHjwFp4WAJ2I9eNTl+WVmGI EEWVQ2HXn4AqLaPQhGKWdXB6Lz7e/6pows1IMa/vCUVYaPgzXUpz0n5W0w1hPM7qfdAD SeSA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:references:user-agent:from:to:subject:date :in-reply-to:message-id:mime-version; bh=NZaUgygfwmmPrxrXwOquxUm3HVppdcWBAcYo2h4lxCU=; b=KVodsiMksTGHjjS+fI8LRvLWrtbXhMMx81+JEC0Olk/J4n2p/yWFyOKf32+pwKwhZv fa/rfM+3pH8ISZXo13KBB3cRh6SGbgXJTj8AT2LKtrjP+UjCtSyum/BM5QjDIyqkJ38Z QeeiBK6pu1epO/YW975EpBFf6vTmf1e++Ee1u/sEWEWkiDTp3lcnk6TgK8HQSHi7n+Ec QYiBCSagiaIRjki6BnKQintPTW+Z5v4Bg8E+o4kxWvLCpByOWGsbQIG6qp/8ez4gZ5Ih +niOCcDZHqF3AWymjqfLL/yoigfZxCK+IrGpEOKuZVY0ai1n9sWxOVo/Nqqcvd3vtsBz hE2g== X-Gm-Message-State: AOAM531PWubo1zr4FSxvD6Ka5BzFVZd19zBao7z1qg0RKQDiHXWb8tuU eQ63g2lCK734kdEUrEQXepvmH3GrU1I= X-Google-Smtp-Source: ABdhPJzls/I/qCcMexsv9ZkN7uoFAZKZFyVlY5vX6ffDR2nAqtCD3fBqqpnZAgRofHgfeO06I6U9hw== X-Received: by 2002:a05:6830:1445:: with SMTP id w5mr11549083otp.112.1638452103517; Thu, 02 Dec 2021 05:35:03 -0800 (PST) Original-Received: from ithilien ([2806:109f:14:3b24:7cb0:a488:a2a8:5fbd]) by smtp.gmail.com with ESMTPSA id e3sm1035146otk.71.2021.12.02.05.35.02 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 02 Dec 2021 05:35:02 -0800 (PST) In-reply-to: X-Host-Lookup-Failed: Reverse DNS lookup failed for 2607:f8b0:4864:20::334 (failed) Received-SPF: pass client-ip=2607:f8b0:4864:20::334; envelope-from=abarocio80@gmail.com; helo=mail-ot1-x334.google.com X-Spam_score_int: -10 X-Spam_score: -1.1 X-Spam_bar: - X-Spam_report: (-1.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_ENVFROM_END_DIGIT=0.25, FREEMAIL_FROM=0.001, PDS_HP_HELO_NORDNS=0.001, RCVD_IN_DNSWL_NONE=-0.0001, RDNS_NONE=0.793, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=no autolearn_force=no X-Spam_action: no action X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: "help-gnu-emacs" Xref: news.gmane.io gmane.emacs.help:134778 Archived-At: --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable fatiparty--- via Users list for the GNU Emacs text editor writes: > Dec 2, 2021, 09:17 by philipk@posteo.net: > >> fatiparty--- via Users list for the GNU Emacs text editor >> writes: >> >>> Dec 2, 2021, 08:31 by larsi@gnus.org: >>> >>>> fatiparty--- via Users list for the GNU Emacs text editor >>>> writes: >>>> >>>>> Is there a way to display the line number on each buffer line? >>>>> >>>> >>>> `M-x display-line-numbers-mode' >>>> >>> That's what I was looking for.=C2=A0 Is there a technique for changing = the foreground colour of the line number as well? >>> >> >> You can customise the faces line-number (for all lines) and >> line-number-current-line (for the current line). Use `M-x >> customize-face [face name]' to do this interactively. >> > > That is good, but I want to do that from my init file if possible.=C2=A0 = Is > there a way to reduce the line number size as well? All configuration and customization could be done from your init.el. All customization that changes font, sizes, colours... all is done customizing your faces. =2D-=20 Alejandro Barocio A. Ex nihilo nihil fit. --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQJJBAEBCAAzFiEEqjJuGz26q8WD1hLtgvMiwJlilTMFAmGoy3sVHGFiYXJvY2lv ODBAZ21haWwuY29tAAoJEILzIsCZYpUzl14P/0eV7ZwEO4oXwzxPeGvJ5gMcZxOD Iwr6CUJTf9fx4guKkKxrFy27EMis8+lv4QEejjboGNrY4XQh3Z+bserU3eUZNyEY JlZKrAnJOFoXmWmPEvDLmoKVTLrl02WjiKZiUlWJ2WwqFhYM7kmgakXM64kmwvMG tprM+Uc4VmwI4A00sdx+Jw9hHm/bZ3b2piqo3kkYGZe85hwO71gEfCcVgaRjWFaz 4SHuzk3Vy2B89tOv9wApwWLY7lM3WyhvRESA+Et4J631/5UAf6zF6SijFJ4ezSDa segEyJSUe9ipwefdw8RsAxqoJv1L5XueJm5BWC6oKlk4Nv2BeP4Zo71e4rX0gcLh fXWhuCN70LzpFl/6sIB+i/clNGnMuEtponqblsSJH1rCEU0fy0PUNcLZCaq5huPN 1/+qa/QvWLMVFNFUjpJMvungzRno2AWdmvDjf/L7f4fEos4waVKmYO+6lo/ygRyD 8dTgXRjiLRUC3U2z1WjItfCP0pRcxg6cWvHgNwFUPDciG12kBXLBO2LGBT2DPG0r smQLhKk69I5wkbBGMuJopvYhQNOmyM3DTdWnrYO0a+Yi0+fIQ/eZ7Ysr2siTpw4Y ecFnhb7cne8aks61vslricc6SV2yxIwBGLgZ9ZZLo8dcBMH4x8BETxWcSuqdFCV8 NzdncaU3osmmqL8D =Sm8X -----END PGP SIGNATURE----- --=-=-=--