Announcements and discussions for Gnus, the GNU Emacs Usenet newsreader
 help / color / mirror / Atom feed
From: h4nnibal <arjun1296@gmail.com>
To: info-gnus-english@gnu.org
Subject: Emacs Line Numbering Along With Code
Date: Sat, 10 Jul 2010 03:42:56 -0700 (PDT)	[thread overview]
Message-ID: <a122c4e4-2c7e-4773-9494-8a390c29af1a@i16g2000prn.googlegroups.com> (raw)

Hai,
I am using emacs-nox. I have did a small work on my ~/.emacs file to
number my code files. But the issue is that the number comes along
with the text buffer. How can i change it. I have google it and asked
to insert these line too in the ~/.emacs file


<code>
;;cursor's column position
(column-number-mode 1)
;;Separating line numbers from text
(setq width (max width (+ (length str) 1)))
</code>


But it is not working. Please help me.

                 reply	other threads:[~2010-07-10 10:42 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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

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

  git send-email \
    --in-reply-to=a122c4e4-2c7e-4773-9494-8a390c29af1a@i16g2000prn.googlegroups.com \
    --to=arjun1296@gmail.com \
    --cc=info-gnus-english@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 NNTP newsgroup(s).