From: "Drew Adams" <drew.adams@oracle.com>
To: "'Brendan Miller'" <catphive@catphive.net>
Cc: help-gnu-emacs@gnu.org
Subject: RE: visually mark off 80th column?
Date: Fri, 22 Jan 2010 16:15:23 -0800 [thread overview]
Message-ID: <DDF36A4BAC3D424FBB4977289E47DEFC@us.oracle.com> (raw)
In-Reply-To: <ef38762f1001221602l4f921c28m82d165dda6d3c3bf@mail.gmail.com>
> vline would be ideal... but I don't see a way to pin highlighting to
> the 80th column.
You'd have to write a bit of Elisp code, no doubt. I don't have time to look
into it for you, but maybe someone else is interested.
> I've come up with this using the highlight-80+ package.
> (require 'highlight-80+)
> (dolist (hook '(emacs-lisp-mode-hook ... python-mode-hook))
> (add-hook hook
> '(lambda () (highlight-80+-mode))))
I'm not familiar with highlight-80+. But you can do the same thing with
column-number.
> I really want this to apply to *all* modes, not
> just the ones I thought to list here. Is there any global mode hook
> that applies to everything?
Dunno. It might depend on your Emacs version.
Perhaps someone else has a good answer.
Maybe `after-change-major-mode-hook'.
next prev parent reply other threads:[~2010-01-23 0:15 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-01-22 1:42 visually mark off 80th column? Brendan Miller
2010-01-22 1:53 ` Drew Adams
2010-01-22 19:23 ` Brendan Miller
2010-01-22 19:41 ` Drew Adams
[not found] ` <ef38762f1001221333n4387d296hc417e9af57e5b938@mail.gmail.com>
2010-01-22 21:33 ` Fwd: " Brendan Miller
2010-01-22 22:28 ` Drew Adams
2010-01-23 0:02 ` Brendan Miller
2010-01-23 0:15 ` Drew Adams [this message]
2010-01-23 15:31 ` Kevin Rodgers
[not found] <mailman.1914.1264124551.18930.help-gnu-emacs@gnu.org>
2010-01-25 18:03 ` Stefan Monnier
2010-01-25 21:03 ` Max Penet
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=DDF36A4BAC3D424FBB4977289E47DEFC@us.oracle.com \
--to=drew.adams@oracle.com \
--cc=catphive@catphive.net \
--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.