all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Antoine Levitt <antoine.levitt@gmail.com>
To: 12740@debbugs.gnu.org, monnier@iro.umontreal.ca
Subject: bug#12740: 24.2.50; ERC fix broke modules after require
Date: Fri, 26 Oct 2012 16:58:07 +0200	[thread overview]
Message-ID: <87625xe0w0.fsf@gmail.com> (raw)

Hi,

The following code stopped working (ie truncate stopped being activated)
after a series of commits by Stefan Monnier

emacs -Q

(require 'erc)
(setq erc-modules '(truncate))
(erc-update-modules)
(erc :server "irc.freenode.net")

This worked fine before

Author: Stefan Monnier <monnier@iro.umontreal.ca>
Date:   Mon Oct 15 12:49:57 2012 -0400

    * lisp/erc/erc.el (erc-log): Make it into a defsubst.
    (erc-with-server-buffer, define-erc-module, erc-with-buffer)
    (erc-with-all-buffers-of-server): Use `declare'.
    * lisp/erc/erc-backend.el (erc-log): Adjust autoload accordingly.

After this, erc was broken until

Author: Stefan Monnier <monnier@iro.umontreal.ca>
Date:   Thu Oct 18 11:51:28 2012 -0400

    * lisp/erc/erc-backend.el: Require `erc' instead of autoloading its macros.

And after this commit, the sample code above stopped working.

Antoine





             reply	other threads:[~2012-10-26 14:58 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-10-26 14:58 Antoine Levitt [this message]
2012-10-26 15:21 ` bug#12740: 24.2.50; ERC fix broke modules after require Stefan Monnier
2012-10-26 15:52   ` Antoine Levitt
2012-10-26 18:30     ` Stefan Monnier
2012-10-26 18:47       ` Antoine Levitt
2012-10-28 15:35         ` Stefan Monnier
2012-10-28 15:41           ` Antoine Levitt

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=87625xe0w0.fsf@gmail.com \
    --to=antoine.levitt@gmail.com \
    --cc=12740@debbugs.gnu.org \
    --cc=monnier@iro.umontreal.ca \
    /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.