all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Haines Brown <haines@histomat.net>
To: help-gnu-emacs@gnu.org
Subject: Re: Difficulty opening a particular file
Date: Fri, 17 Jul 2015 10:45:40 -0400	[thread overview]
Message-ID: <20150717144540.GD4611@engels.historicalmaterialism.info> (raw)
In-Reply-To: <jwv1tg6rk56.fsf-monnier+gmane.emacs.help@gnu.org>

On Fri, Jul 17, 2015 at 09:25:46AM -0400, Stefan Monnier wrote:
> >      (append '(("\\.bal$" . balance-mode)) auto-mode-alist))
>                          ^
> Should be               \\'

Thanks, but doing that had no effect. Opening ~/.balance.bal still
requires repeating the C-x C-f command, and trying it as a bookmark
still hangs emacs.

But what is interesting is that if I comment the stanza and restart
emacs and then open .balance.bal with the duplicate command, emacs puts
itself into the balance-mode. So the stanza appears to be superfluous.

If I comment the stanza, the problem persists. If I start emacs with no
configuration, there is no problem opening ~.balance.bal but emacs is
not put into the balance mode. I don't understand how emacs knows to
move to the balance mode when a .bal file is opened without the stanza.




      reply	other threads:[~2015-07-17 14:45 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-07-17 13:18 Difficulty opening a particular file Haines Brown
2015-07-17 13:20 ` Pascal J. Bourguignon
2015-07-17 14:31   ` Haines Brown
2015-07-17 13:25 ` Stefan Monnier
2015-07-17 14:45   ` Haines Brown [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

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20150717144540.GD4611@engels.historicalmaterialism.info \
    --to=haines@histomat.net \
    --cc=help-gnu-emacs@gnu.org \
    /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.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.