From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "Loris Bennett" Newsgroups: gmane.emacs.help Subject: erin-mode: problem with auto-mode-alist and saving Date: Thu, 22 Oct 2015 16:03:19 +0200 Organization: Freie Universitaet Berlin Message-ID: <8737x3xaoo.fsf@hornfels.zedat.fu-berlin.de> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1445522768 5721 80.91.229.3 (22 Oct 2015 14:06:08 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 22 Oct 2015 14:06:08 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Thu Oct 22 16:06:08 2015 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1ZpGV6-0002qp-Ds for geh-help-gnu-emacs@m.gmane.org; Thu, 22 Oct 2015 16:05:52 +0200 Original-Received: from localhost ([::1]:60181 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZpGV5-0005E2-MC for geh-help-gnu-emacs@m.gmane.org; Thu, 22 Oct 2015 10:05:51 -0400 Original-Path: usenet.stanford.edu!fu-berlin.de!uni-berlin.de!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 31 Original-X-Trace: news.uni-berlin.de pcpE/WVe7ne/UdiJPuA41AsIrDkEq6rMUgAa68Gs/A2/Xs Cancel-Lock: sha1:diaHsm6yV4DIczAP6jHFysfVhNc= User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.4 (gnu/linux) Original-Xref: usenet.stanford.edu gnu.emacs.help:215493 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:107777 Archived-At: Hi, I am using Emacs 24.4.1 on Debian Jessie and the "Edit with Emacs" plug-in 1.14 for chromium to edit a wiki. The buffer names created look something like this: wiki.some.org/edit/Web/SomePage I have two problems: 1. I have the following entry in my .emacs (setq auto-mode-alist (append '(("\\.C$" . c++-mode) ;; ... lots of other modes, but not text-mode ("wiki\\..*$" . erin-mode) ) auto-mode-alist)) But this doesn't work. The buffer is opened in text-mode 2. When I turn on erin-mode by hand, this works. However, when I save, the buffer reverts to text mode-mode. Can anyone shed any light on what is going on? Cheers, Loris -- This signature is currently under construction.