[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: difficulty entering balance mode (SOLVED)
From: |
Emanuel Berg |
Subject: |
Re: difficulty entering balance mode (SOLVED) |
Date: |
Tue, 28 Jul 2015 23:28:50 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/24.4 (gnu/linux) |
Haines Brown <haines@engels.histomat.net> writes:
> I had assumed, incorrectly perhaps, that if two
> files are identical in respect to their observable
> properties (what is returned by $ ls -la), the
> failure of one must be due to its content.
In the context of this discussion so far, no, the file
should open fine either way (regardless of content)
and the only thing that would affect what mode Emacs
is to put it in is the extension (and, the Elisp that
tells Emacs what to do with files of such extentions).
However, there are a couple of special cases that
I know of.
For example, put this as the first line in an
elisp.el file:
;; -*- text -*-
Despite the .el extention, what you get is the
text mode!
Or, try evaluating this:
(setq magic-mode-alist '(("/\\* cpp \\*/" . c++-mode)))
Then, put this first in a file (without the whitespace
indentation):
/* cpp */
Now it should be in the C++ mode on startup.
--
underground experts united
http://user.it.uu.se/~embe8573
- difficulty entering balance mode, Haines Brown, 2015/07/24
- Re: difficulty entering balance mode, Emanuel Berg, 2015/07/24
- Re: difficulty entering balance mode, Haines Brown, 2015/07/25
- Re: difficulty entering balance mode, Haines Brown, 2015/07/25
- Re: difficulty entering balance mode, Ian Zimmerman, 2015/07/25
- Re: difficulty entering balance mode, Emanuel Berg, 2015/07/26
- Re: difficulty entering balance mode (SOLVED), Haines Brown, 2015/07/27
- Re: difficulty entering balance mode (SOLVED), Emanuel Berg, 2015/07/27
- Message not available
- Re: difficulty entering balance mode (SOLVED), Haines Brown, 2015/07/28
- Re: difficulty entering balance mode (SOLVED),
Emanuel Berg <=
- Re: difficulty entering balance mode (SOLVED), Ian Zimmerman, 2015/07/28
- Re: difficulty entering balance mode (SOLVED), Haines Brown, 2015/07/29
- Re: difficulty entering balance mode, Ian Zimmerman, 2015/07/29
- Message not available
- Re: difficulty entering balance mode, Haines Brown, 2015/07/30
- Re: difficulty entering balance mode, Ian Zimmerman, 2015/07/30
- Re: difficulty entering balance mode, Haines Brown, 2015/07/30
- Re: difficulty entering balance mode, Emanuel Berg, 2015/07/30
Re: difficulty entering balance mode, Stefan Monnier, 2015/07/25