unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: fatiparty--- via Users list for the GNU Emacs text editor <help-gnu-emacs@gnu.org>
To: "Alejandro Barocio A." <abarocio80@gmail.com>
Cc: Help Gnu Emacs <help-gnu-emacs@gnu.org>
Subject: Display line number on each buffer line
Date: Thu, 2 Dec 2021 15:39:25 +0100 (CET)	[thread overview]
Message-ID: <Mpv_UAL--3-2@tutanota.com> (raw)
In-Reply-To: <87a6hjm8p0.fsf@gmail.com>


Dec 2, 2021, 13:33 by abarocio80@gmail.com:

>
> fatiparty--- via Users list for the GNU Emacs text editor <help-gnu-emacs@gnu.org> writes:
>
>> Dec 2, 2021, 09:17 by philipk@posteo.net:
>>
>>> fatiparty--- via Users list for the GNU Emacs text editor
>>> <help-gnu-emacs@gnu.org> writes:
>>>
>>>> Dec 2, 2021, 08:31 by larsi@gnus.org:
>>>>
>>>>> fatiparty--- via Users list for the GNU Emacs text editor
>>>>> <help-gnu-emacs@gnu.org> 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.  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.  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.
>
What are the keyword names I need to change exactly in my init file?  



  reply	other threads:[~2021-12-02 14:39 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-12-02  8:18 Display line number on each buffer line fatiparty--- via Users list for the GNU Emacs text editor
2021-12-02  8:31 ` Lars Ingebrigtsen
     [not found] ` <87mtljmmqh.fsf@gnus.org-MpuGQO3----2>
2021-12-02  9:02   ` fatiparty--- via Users list for the GNU Emacs text editor
2021-12-02  9:17     ` Philip Kaludercic
     [not found]     ` <875ys7z7pl.fsf@posteo.net-MpuQz9y----2>
2021-12-02 12:06       ` fatiparty--- via Users list for the GNU Emacs text editor
2021-12-02 13:33         ` Alejandro Barocio A.
2021-12-02 14:39           ` fatiparty--- via Users list for the GNU Emacs text editor [this message]
2021-12-02 14:53         ` Michael Heerdegen
2021-12-02 15:09           ` Eli Zaretskii
2021-12-02 15:23             ` Michael Heerdegen
2021-12-03  9:36               ` fatiparty--- via Users list for the GNU Emacs text editor
2021-12-03 23:47                 ` Michael Heerdegen
2021-12-02 20:42         ` Philip Kaludercic
2021-12-03 20:53     ` Jean Louis

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=Mpv_UAL--3-2@tutanota.com \
    --to=help-gnu-emacs@gnu.org \
    --cc=abarocio80@gmail.com \
    --cc=fatiparty@tutanota.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).