all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Adam Hardy <emacs@cyberspaceroad.com>
Cc: help-gnu-emacs@gnu.org
Subject: Re: line length control setting
Date: Fri, 12 Dec 2003 12:37:19 +0100	[thread overview]
Message-ID: <3FD9A86F.5090506@cyberspaceroad.com> (raw)
In-Reply-To: <yoij65grqir9.fsf@aldor.dd.chalmers.se>

On 12/08/2003 07:14 PM Johan Bockgård wrote:
> Adam Hardy <emacs@cyberspaceroad.com> writes:
  >>Would this really just put in a vertical line at line-length and allow
>>me to type text past it? If so, it sounds ideal. Is it really vvb.el?
>>If so do you have a link to it somewhere?
> 
> Yes. It's `vvb-mode'. The Emacs Lisp List has it (look for
> vvb-mode2.el (ported from XEmacs)).
> 
> http://www.anc.ed.ac.uk/~stephen/emacs/ell.html

I successfully set up vvb-mode to load through my .emacs for all modes, 
but I find it is totally unnecessary in some modes, like dired for 
instance.

I regularly need it in java-mode, html-helper-mode, css-mode, 
javascript-generic-mode etc.

I've been looking at the docs and examples and I can't figure out how I 
can set vvb-mode minor mode only for those modes I want it in. This is 
what I've currently got:

; put a vertical line in at the fill-column
(require 'vvb-mode)
(setq-default vvb-column fill-column
               vvb-sticky-p nil
               vvb-permanent-p t)
(setq-default vvb-right-on-eol-p t)
(setq-default vvb-mode 1)

How can I load it only for those modes I need it with?

Thanks in advance,
Adam
-- 
GNU Emacs 21.3.1 on Linux 2.4.20 Debian

  parent reply	other threads:[~2003-12-12 11:37 UTC|newest]

Thread overview: 23+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <mailman.3297.1068117967.21628.help-gnu-emacs@gnu.org>
2003-11-06 15:41 ` line length control setting Jesper Harder
2003-11-06 18:27 ` Kevin Rodgers
2003-11-07 13:57   ` Adam Hardy
2003-11-07 18:40 ` Gareth Rees
2003-11-08 14:47   ` Adam Hardy
     [not found]   ` <mailman.46.1068306647.2005.help-gnu-emacs@gnu.org>
2003-11-10 18:39     ` Gareth Rees
2003-11-11 11:10       ` Adam Hardy
2003-11-11 11:20       ` Adam Hardy
2003-11-11 13:47 ` Oliver Scholz
2003-11-13  9:49   ` Adam Hardy
     [not found]   ` <mailman.28.1068720748.399.help-gnu-emacs@gnu.org>
2003-11-13 12:02     ` Oliver Scholz
2003-11-13 17:01       ` Kevin Rodgers
2003-11-17 13:08         ` Adam Hardy
     [not found]         ` <mailman.157.1069078348.399.help-gnu-emacs@gnu.org>
2003-11-17 14:56           ` Phillip Lord
2003-12-07 15:29 ` Kai Grossjohann
2003-12-08  9:55   ` Adam Hardy
     [not found]   ` <mailman.1329.1070881092.399.help-gnu-emacs@gnu.org>
2003-12-08 18:14     ` Johan Bockgård
2003-12-10 12:47       ` Adam Hardy
2003-12-12 11:37       ` Adam Hardy [this message]
     [not found]       ` <mailman.1629.1071232851.399.help-gnu-emacs@gnu.org>
2003-12-12 18:58         ` Johan Bockgård
2003-12-13 11:06           ` Adam Hardy
     [not found]           ` <mailman.15.1071317460.868.help-gnu-emacs@gnu.org>
2003-12-13 18:13             ` Johan Bockgård
2003-11-06 11:24 Adam Hardy

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=3FD9A86F.5090506@cyberspaceroad.com \
    --to=emacs@cyberspaceroad.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.