unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: Emanuel Berg <embe8573@student.uu.se>
To: help-gnu-emacs@gnu.org
Subject: Re: difficulty entering balance mode
Date: Sat, 25 Jul 2015 03:31:08 +0200	[thread overview]
Message-ID: <87a8ul2fc3.fsf@nl106-137-147.student.uu.se> (raw)
In-Reply-To: 87380dnyw3.fsf@engels.histomat.net

Haines Brown <haines@engels.histomat.net> writes:

> I don't know that I changed any emacs configuration,
> but it now has problems entering balance mode.
>
> Of do C-f to find ~/.balance.bal, nothing happens.
> If I do it a second time, emacs enters the balance
> mode properly.
>
> In .emacs I have:
>
>   (autoload 'balance-mode "balance")
>    (setq auto-mode-alist
>      (append '(("\\.bal$" . balance-mode)) auto-mode-alist))

What happens if you comment that out in .emacs, and
instead evaluate them manually - do you get any
error messages?

I just tried my way of doing it, which resembles
yours, and it works alright save for I don't have any
"balance-mode" in my system.

If you evaluate this -

(let ((modes '(
     ("\\.bal"                                               . balance-mode)
     ("\\.gpi"                                               . gnuplot-mode)
     ("\\.\\(glsl\\|oil\\|ssc\\|dfy\\)"                      . c-mode)
     ("\\.lua"                                               . lua-mode)
     ("\\.\\(service\\|list\\|theme\\|mailrc\\|sed\\|inc\\)" . conf-mode)
     ("\\.pic"                                               . nroff-mode)
     ("\\.xr"                                                . conf-xdefaults-mode)
     ("inputrc"                                              . conf-colon-mode)
     ("KILL"                                                 . emacs-lisp-mode)
     ("\\.service"                                           . emacs)
     )))
  (setq auto-mode-alist (append modes auto-mode-alist)) )

- and then opens .balance.bal - what happens?

-- 
underground experts united
http://user.it.uu.se/~embe8573




  reply	other threads:[~2015-07-25  1:31 UTC|newest]

Thread overview: 24+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-07-24 19:23 difficulty entering balance mode Haines Brown
2015-07-25  1:31 ` Emanuel Berg [this message]
2015-07-25 10:52   ` Haines Brown
2015-07-26 21:53     ` Emanuel Berg
2015-07-25 18:53   ` Haines Brown
2015-07-25 20:43     ` Ian Zimmerman
2015-07-26 21:59     ` Emanuel Berg
2015-07-27 10:16       ` difficulty entering balance mode (SOLVED) Haines Brown
2015-07-27 23:32         ` Emanuel Berg
     [not found]         ` <mailman.7494.1438040115.904.help-gnu-emacs@gnu.org>
2015-07-28 10:38           ` Haines Brown
2015-07-28 21:28             ` Emanuel Berg
2015-07-28 21:46               ` Ian Zimmerman
2015-07-29 15:44                 ` Haines Brown
2015-07-29 17:04     ` difficulty entering balance mode Ian Zimmerman
     [not found]     ` <mailman.7618.1438189554.904.help-gnu-emacs@gnu.org>
2015-07-30 11:02       ` Haines Brown
2015-07-30 15:54         ` Ian Zimmerman
2015-07-30 17:30           ` Haines Brown
2015-07-30 22:44             ` Emanuel Berg
2015-07-25  8:02 ` Stefan Monnier
2015-07-25 10:39   ` Haines Brown
2015-07-25 16:06     ` Stefan Monnier
2015-07-26 21:44   ` Emanuel Berg
2015-07-26 22:14     ` Ian Zimmerman
2015-07-26 22:19       ` Emanuel Berg

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

  List information: https://www.gnu.org/software/emacs/

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

  git send-email \
    --in-reply-to=87a8ul2fc3.fsf@nl106-137-147.student.uu.se \
    --to=embe8573@student.uu.se \
    --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.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).