From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Jeff Hartnell Newsgroups: gmane.emacs.help Subject: indenting and wrapping Date: Wed, 27 Jul 2005 11:14:41 +0100 Message-ID: <42E75E91.6050603@rl.ac.uk> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1122461794 28299 80.91.229.2 (27 Jul 2005 10:56:34 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Wed, 27 Jul 2005 10:56:34 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Wed Jul 27 12:56:26 2005 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1DxjZy-0001Oz-Cy for geh-help-gnu-emacs@m.gmane.org; Wed, 27 Jul 2005 12:56:02 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1DxjcL-0008Rb-Ka for geh-help-gnu-emacs@m.gmane.org; Wed, 27 Jul 2005 06:58:29 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1DxjNS-0004cY-RB for help-gnu-emacs@gnu.org; Wed, 27 Jul 2005 06:43:07 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1DxjNR-0004c5-Ax for help-gnu-emacs@gnu.org; Wed, 27 Jul 2005 06:43:05 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1DxjLu-00045u-L9 for help-gnu-emacs@gnu.org; Wed, 27 Jul 2005 06:41:30 -0400 Original-Received: from [163.1.2.161] (helo=relay2.mail.ox.ac.uk) by monty-python.gnu.org with esmtp (Exim 4.34) id 1Dxj6o-00039R-6L for help-gnu-emacs@gnu.org; Wed, 27 Jul 2005 06:25:54 -0400 Original-Received: from smtp2.herald.ox.ac.uk ([163.1.0.235]) by relay2.mail.ox.ac.uk with esmtp (Exim 4.50) id 1DxivQ-0003l3-7f for help-gnu-emacs@gnu.org; Wed, 27 Jul 2005 11:14:08 +0100 Original-Received: from pplxgen.physics.ox.ac.uk ([163.1.243.80] helo=[127.0.0.1]) by smtp2.herald.ox.ac.uk with esmtp (Exim 3.35 #1) id 1DxivQ-0002p7-02 for help-gnu-emacs@gnu.org; Wed, 27 Jul 2005 11:14:08 +0100 User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.7) Gecko/20050414 X-Accept-Language: en-us, en Original-To: help-gnu-emacs@gnu.org X-Enigmail-Version: 0.86.0.0 X-Enigmail-Supports: pgp-inline, pgp-mime X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:28216 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:28216 Hi, I have a couple of problems with emacs version 21.3.1 that came with SuSE linux 9.2. 1.) C++ mode related The "basic offset" refered to in FAQ 5.19 is currently set to 4 white-spaces. I want to set it to 2 white-spaces. I tried (setq standard-indent 2) but it has no effect. Also, another problem, when I write a comment it wont indent on the TAB command unless it is at least one white-space away from the margin. e.g. if (bla) //this will indent on tab //this one wont until I insert a space in front of it 2.) Latex mode related I can't change the "M-q" command that wraps all the text to a certain width. I tried: M-x customize-option RET fill-column RET 72 but it doesn't work for latex files (it works fine if I have file.txt say) I have a feeling that both my problems are related to being in c++ or latex mode? Is this right? How do I get round it? Many thanks, Jeff.