all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Jeff Hartnell <j.j.hartnell@rl.ac.uk>
Subject: indenting and wrapping
Date: Wed, 27 Jul 2005 11:14:41 +0100	[thread overview]
Message-ID: <42E75E91.6050603@rl.ac.uk> (raw)

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.

             reply	other threads:[~2005-07-27 10:14 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-07-27 10:14 Jeff Hartnell [this message]
     [not found] ` <42E75E91.6050603-Xz5UVyKf4VA@public.gmane.org>
2005-07-28 19:37   ` indenting and wrapping Jochen Küpper
     [not found] <mailman.1863.1122460990.20277.help-gnu-emacs@gnu.org>
2005-07-27 11:59 ` Marc Tfardy
     [not found] <42F09F36.6020803@rl.ac.uk>
     [not found] ` <42F09F36.6020803-Xz5UVyKf4VA@public.gmane.org>
2005-08-03 11:06   ` Jochen Küpper
     [not found]     ` <42F32BF9.1000002@rl.ac.uk>
     [not found]       ` <42F32BF9.1000002-Xz5UVyKf4VA@public.gmane.org>
2005-08-05 11:41         ` Jochen Küpper
2005-08-05 12:33           ` Johan Meskens CS3 jmcs3
2005-08-05 13:03             ` Peter Dyballa
2005-08-05 13:41           ` Jeff Hartnell

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=42E75E91.6050603@rl.ac.uk \
    --to=j.j.hartnell@rl.ac.uk \
    /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.