From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Giorgos Keramidas Newsgroups: gmane.emacs.help Subject: Re: XHTML indent Date: Sat, 12 Aug 2006 03:12:04 +0300 Organization: SunSITE.dk - Supporting Open source Message-ID: <86y7tuhkx7.fsf@gothmog.pc> References: <2504af190608100052s619d0613g11e6c3f26b4865b1@mail.gmail.com> <20060810161913.GB17841@rigel.orion> <87u04k4kac.fsf@robotron.kosmorama> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1155343352 8333 80.91.229.2 (12 Aug 2006 00:42:32 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sat, 12 Aug 2006 00:42:32 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Sat Aug 12 02:42:31 2006 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1GBha4-0008Sw-Gj for geh-help-gnu-emacs@m.gmane.org; Sat, 12 Aug 2006 02:42:24 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1GBha4-0004B1-1O for geh-help-gnu-emacs@m.gmane.org; Fri, 11 Aug 2006 20:42:24 -0400 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!news.tele.dk!news.tele.dk!small.news.tele.dk!uninett.no!news.banetele.no!dotsrc.org!news.dotsrc.org!not-for-mail Original-Newsgroups: gnu.emacs.help User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (berkeley-unix) Cancel-Lock: sha1:T602/Sb8lMJIpHYc6+a1aZnqosE= Original-Lines: 33 Original-NNTP-Posting-Host: 62.103.39.229 Original-X-Trace: news.sunsite.dk DXC=<:2_^nB:f`e; WQXL^Mjg2:ak; I7eU]gGb30c[>DY7kXRmlJhB15Ql Original-X-Complaints-To: staff@sunsite.dk Original-Xref: shelby.stanford.edu gnu.emacs.help:140987 Original-To: help-gnu-emacs@gnu.org 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:36612 Archived-At: On Fri, 11 Aug 2006 11:14:11 -0600, Brad Camroux 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