unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Michael Heerdegen <michael_heerdegen@web.de>
To: Bruno BARBIER <brubar.cs@gmail.com>
Cc: 22272@debbugs.gnu.org
Subject: bug#22272: 24.5; nonfunctional Emacs with a bad global mode (post-command-hook).
Date: Thu, 31 Dec 2015 21:31:30 +0100	[thread overview]
Message-ID: <87a8oq2wd9.fsf@web.de> (raw)
In-Reply-To: <20151231073819brubar.cs@gmail.com> (Bruno BARBIER's message of "Thu, 31 Dec 2015 07:40:19 +0100")

Bruno BARBIER <brubar.cs@gmail.com> writes:

> The simplest solution is probably to use a spare Emacs when
> developping a new global mode and to catch errors in it; that makes
> sense.

Also compile your code before loading it:

In BAD-global-mode:
bad.el:30:31:Warning: identity called with 0 args, but requires 1
bad.el:32:3:Warning: identity called with 0 arguments, but requires 1

The byte compiler finds most of such obvious errors.


Michael.





  reply	other threads:[~2015-12-31 20:31 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-12-30  7:28 bug#22272: 24.5; nonfunctional Emacs with a bad global mode (post-command-hook) brubar.cs
2015-12-30 18:04 ` Eli Zaretskii
2015-12-30 19:02   ` Bruno BARBIER
2015-12-30 20:28     ` Michael Heerdegen
2015-12-31  6:40       ` Bruno BARBIER
2015-12-31 20:31         ` Michael Heerdegen [this message]
2015-12-31 20:33 ` bug#22272: Close 22272 Michael Heerdegen

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=87a8oq2wd9.fsf@web.de \
    --to=michael_heerdegen@web.de \
    --cc=22272@debbugs.gnu.org \
    --cc=brubar.cs@gmail.com \
    /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 public inbox

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

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).