unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: Giorgos Keramidas <keramida@ceid.upatras.gr>
Subject: Re: XHTML indent
Date: Sat, 12 Aug 2006 03:12:04 +0300	[thread overview]
Message-ID: <86y7tuhkx7.fsf@gothmog.pc> (raw)
In-Reply-To: mailman.5088.1155316456.9609.help-gnu-emacs@gnu.org

On Fri, 11 Aug 2006 11:14:11 -0600, Brad Camroux <bgcamroux@shaw.ca> wrote:
> On Thu, Aug 10, 2006 at 06:39:39PM +0200, David Hansen wrote:
>> As far as i can see the indentation step is set via
>> `sgml-basic-offset'.  But it defaults to "2" and i
>> don't think anyone would think that this is "to wide".
>
> Okay... I dunno what my offset is set to, but it looks more
> like 10 or 15.  Certainly not 2.  I would be happy with 2 or 4.
> Do I just set this in my .emacs file?  Will it not be
> overridden when I start up SGML/HTML mode?

The default behavior sould be fine, if all you want is 2-column
indentation in XHTML buffers.

Can you open a buffer in sgml-mode and then check the value of
the following variables?

    indent-tabs-mode
    tab-always-indent

Then use `C-h k TAB' and see what TAB is bound to do.

Keep the results from these steps somewhere, and then repeat the
same steps with an Emacs session started with:

    emacs -Q

Keep these results somewhere too and post both sets back to the
newsgroup.

Regards,
Giorgos

      parent reply	other threads:[~2006-08-12  0:12 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-08-10  7:52 XHTML indent ray
2006-08-10 16:19 ` Brad Camroux
2006-08-10 16:39   ` David Hansen
2006-08-11 17:14     ` Brad Camroux
     [not found]     ` <mailman.5088.1155316456.9609.help-gnu-emacs@gnu.org>
2006-08-12  0:12       ` Giorgos Keramidas [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=86y7tuhkx7.fsf@gothmog.pc \
    --to=keramida@ceid.upatras.gr \
    /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).