From: Kevin Rodgers <ihs_4664@yahoo.com>
Subject: Re: Number of characters per line
Date: Tue, 02 Sep 2003 11:20:21 -0600 [thread overview]
Message-ID: <3F54D155.7030704@yahoo.com> (raw)
In-Reply-To: 1c58a7c3.0309020706.20a98dad@posting.google.com
Barman Brakjoller wrote:
>>Could someone tell me how to set the maximum number of characters per line
>>to 70 for C++ mode.
>>
>
> I cannot tell you how but as almost anything in Emacs is tweakable it
> would certainly be possible to hook-on a function that after each
> keyboard press checked if the current column was greater then a
> certain number, and if it was, BEEP at the user. Would be very
> annoying though... :)
(defun annoy ()
(if (>= (current-column) 70)
(beep t)))
(add-hook 'post-command-hook 'annoy)
--
Kevin Rodgers
prev parent reply other threads:[~2003-09-02 17:20 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-09-01 9:15 Number of characters per line Chemtux
2003-09-02 7:33 ` Joakim Hove
2003-09-02 14:46 ` Michal Wyrebski
2003-09-02 15:06 ` Barman Brakjoller
2003-09-02 17:20 ` Kevin Rodgers [this message]
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=3F54D155.7030704@yahoo.com \
--to=ihs_4664@yahoo.com \
/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).