all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: "Juanma Barranquero" <lekktu@gmail.com>
To: "Alexander M" <alex334599@gmail.com>
Cc: help-gnu-emacs@gnu.org
Subject: Re: Help me with adding emacs features.
Date: Mon, 10 Nov 2008 15:45:30 +0100	[thread overview]
Message-ID: <f7ccd24b0811100645v7c430a22r9536f668612f292d@mail.gmail.com> (raw)
In-Reply-To: <4917F19C.3030603@gmail.com>

On Mon, Nov 10, 2008 at 09:32, Alexander M <alex334599@gmail.com> wrote:

> The first function I would like to implement in emacs is that it should
> display some kind of marker on every n:th line.
> This functions purpose is to help me remember where page-breaks would
> occur when printing.

You can use linum.el to add line numbers, and by customizing
linum-before-numbering-hook and linum-format you can make it to show
certain lines in a different way. If you've got Emacs from the CVS
repository, you already have linum.el; otherwise, check

  http://stud4.tuwien.ac.at/~e0225855/linum/linum.html

> The second function I would like to have is a sort of vertical marker at
> the n:th column to show me where line-breaks would occur when printing.

There are several libraries which can help you do that
(colum-marker.el, col-highlight.el, vline.el, etc.). Take a look at

  http://www.emacswiki.org/emacs/HighlightCurrentColumn

  Juanma




  reply	other threads:[~2008-11-10 14:45 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-11-10  8:32 Help me with adding emacs features Alexander M
2008-11-10 14:45 ` Juanma Barranquero [this message]
2008-11-10 14:53   ` Juanma Barranquero

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=f7ccd24b0811100645v7c430a22r9536f668612f292d@mail.gmail.com \
    --to=lekktu@gmail.com \
    --cc=alex334599@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.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.