unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: Albaro Pereyra <albaropereyra22@gmail.com>
To: help-gnu-emacs@gnu.org
Subject: Replicate the following in the latest emacs version
Date: Mon, 17 Jun 2024 20:28:13 -0700	[thread overview]
Message-ID: <CALLR6FxZr7LC3c6b+g=mx8aZtaqcki6fe0Ke=QT0q=289NZinw@mail.gmail.com> (raw)

Hello,

I would like to replicate the following in the latest emacs version;


;;; Add line numbers to buffer
(add-hook 'prog-mode-hook 'linum-mode)
  (setq linum-format "%4d \u2502 ")

I manage to get the line number but not the line or \u2502 character

Please advise,
Thank you,


             reply	other threads:[~2024-06-18  3:28 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-06-18  3:28 Albaro Pereyra [this message]
2024-06-18 15:13 ` Replicate the following in the latest emacs version Eli Zaretskii

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='CALLR6FxZr7LC3c6b+g=mx8aZtaqcki6fe0Ke=QT0q=289NZinw@mail.gmail.com' \
    --to=albaropereyra22@gmail.com \
    --cc=help-gnu-emacs@gnu.org \
    /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).