From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: brakjoller@hotmail.com (Barman Brakjoller) Newsgroups: gmane.emacs.help Subject: Re: Number of characters per line Date: 2 Sep 2003 08:06:58 -0700 Organization: http://groups.google.com/ Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Message-ID: <1c58a7c3.0309020706.20a98dad@posting.google.com> References: <07E4b.124170$Rk.6600843@amsnews03.chello.com> NNTP-Posting-Host: deer.gmane.org Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit X-Trace: sea.gmane.org 1062579789 8689 80.91.224.253 (3 Sep 2003 09:03:09 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Wed, 3 Sep 2003 09:03:09 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Wed Sep 03 11:03:08 2003 Return-path: Original-Received: from monty-python.gnu.org ([199.232.76.173]) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 19uTXg-0001uV-00 for ; Wed, 03 Sep 2003 11:03:08 +0200 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.22) id 19uTWm-0006Q3-Pk for geh-help-gnu-emacs@m.gmane.org; Wed, 03 Sep 2003 05:02:12 -0400 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!postnews1.google.com!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 8 Original-NNTP-Posting-Host: 193.41.170.225 Original-X-Trace: posting.google.com 1062515219 8602 127.0.0.1 (2 Sep 2003 15:06:59 GMT) Original-X-Complaints-To: groups-abuse@google.com Original-NNTP-Posting-Date: 2 Sep 2003 15:06:59 GMT Original-Xref: shelby.stanford.edu gnu.emacs.help:116320 Original-To: help-gnu-emacs@gnu.org X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.2 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: main.gmane.org gmane.emacs.help:12239 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:12239 > 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... :)