From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Klaus Jantzen Newsgroups: gmane.emacs.help Subject: DocBook Date: Tue, 29 Jun 2010 12:17:34 +0200 Message-ID: <4C29C83E.2050004@t-online.de> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Trace: dough.gmane.org 1277806721 13707 80.91.229.12 (29 Jun 2010 10:18:41 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Tue, 29 Jun 2010 10:18:41 +0000 (UTC) To: emacs-list Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Tue Jun 29 12:18:40 2010 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1OTXto-0002hH-37 for geh-help-gnu-emacs@m.gmane.org; Tue, 29 Jun 2010 12:18:40 +0200 Original-Received: from localhost ([127.0.0.1]:53820 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OTXtn-0004Rv-CD for geh-help-gnu-emacs@m.gmane.org; Tue, 29 Jun 2010 06:18:39 -0400 Original-Received: from [140.186.70.92] (port=41451 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OTXtA-0004Rk-Iq for help-gnu-emacs@gnu.org; Tue, 29 Jun 2010 06:18:01 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1OTXt5-0000AR-MU for help-gnu-emacs@gnu.org; Tue, 29 Jun 2010 06:18:00 -0400 Original-Received: from mailout01.t-online.de ([194.25.134.80]:37905) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OTXt5-0000A6-Hd for help-gnu-emacs@gnu.org; Tue, 29 Jun 2010 06:17:55 -0400 Original-Received: from fwd02.aul.t-online.de (fwd02.aul.t-online.de ) by mailout01.t-online.de with smtp id 1OTXt1-0003vy-O9; Tue, 29 Jun 2010 12:17:51 +0200 Original-Received: from [192.168.2.100] (rAAUPUZerhyuy9ktHI5VHCVNzEDVYfXmBme1955s80PshcT3iefBa3e9mg9hUKaQIe@[87.144.119.103]) by fwd02.aul.t-online.de with esmtp id 1OTXso-1xB4FM0; Tue, 29 Jun 2010 12:17:38 +0200 User-Agent: Mozilla-Thunderbird 2.0.0.22 (X11/20090707) X-ID: rAAUPUZerhyuy9ktHI5VHCVNzEDVYfXmBme1955s80PshcT3iefBa3e9mg9hUKaQIe X-TOI-MSGID: 1b7f38e3-49d0-43fe-82bb-50918bec6222 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) 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:74005 Archived-At: Hello, I have two identical docbook files, one with extension .docbook the other with extension .dbk. When I open the .docbook file emacs automatically goes into sgml-mode; when opening the .dbk file it does not. What do I have to change so that emacs also switches to sgml-mode when the file has a .dbk extension? I am using emacs 22.2. under Debian Lenny. Thanks. -- K.D.J.