From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Antoine Levitt Newsgroups: gmane.emacs.bugs Subject: bug#12740: 24.2.50; ERC fix broke modules after require Date: Fri, 26 Oct 2012 16:58:07 +0200 Message-ID: <87625xe0w0.fsf@gmail.com> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1351263542 17767 80.91.229.3 (26 Oct 2012 14:59:02 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 26 Oct 2012 14:59:02 +0000 (UTC) To: 12740@debbugs.gnu.org, monnier@iro.umontreal.ca Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Fri Oct 26 16:59:10 2012 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1TRlNN-0005DL-Rb for geb-bug-gnu-emacs@m.gmane.org; Fri, 26 Oct 2012 16:59:10 +0200 Original-Received: from localhost ([::1]:33168 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TRlNF-0008W0-T8 for geb-bug-gnu-emacs@m.gmane.org; Fri, 26 Oct 2012 10:59:01 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:37608) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TRlN8-0008Sb-Lh for bug-gnu-emacs@gnu.org; Fri, 26 Oct 2012 10:58:59 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TRlN7-0002ui-Ba for bug-gnu-emacs@gnu.org; Fri, 26 Oct 2012 10:58:54 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:52852) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TRlN7-0002ue-88 for bug-gnu-emacs@gnu.org; Fri, 26 Oct 2012 10:58:53 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.72) (envelope-from ) id 1TRlPC-0002Gp-6E for bug-gnu-emacs@gnu.org; Fri, 26 Oct 2012 11:01:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Antoine Levitt Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 26 Oct 2012 15:01:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 12740 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: X-Debbugs-Original-To: bug-gnu-emacs@gnu.org, Stefan Monnier Original-Received: via spool by submit@debbugs.gnu.org id=B.13512636358692 (code B ref -1); Fri, 26 Oct 2012 15:01:01 +0000 Original-Received: (at submit) by debbugs.gnu.org; 26 Oct 2012 15:00:35 +0000 Original-Received: from localhost ([127.0.0.1]:34870 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1TRlOl-0002G9-DM for submit@debbugs.gnu.org; Fri, 26 Oct 2012 11:00:35 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:38198) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1TRlOj-0002G2-GB for submit@debbugs.gnu.org; Fri, 26 Oct 2012 11:00:34 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TRlMd-0002k1-0v for submit@debbugs.gnu.org; Fri, 26 Oct 2012 10:58:23 -0400 Original-Received: from lists.gnu.org ([208.118.235.17]:41717) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TRlMc-0002jx-UA for submit@debbugs.gnu.org; Fri, 26 Oct 2012 10:58:22 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:37458) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TRlMc-0007wk-1p for bug-gnu-emacs@gnu.org; Fri, 26 Oct 2012 10:58:22 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TRlMR-0002ho-FJ for bug-gnu-emacs@gnu.org; Fri, 26 Oct 2012 10:58:21 -0400 Original-Received: from mail-wg0-f49.google.com ([74.125.82.49]:43087) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TRlMR-0002he-82 for bug-gnu-emacs@gnu.org; Fri, 26 Oct 2012 10:58:11 -0400 Original-Received: by mail-wg0-f49.google.com with SMTP id gg4so1598611wgb.30 for ; Fri, 26 Oct 2012 07:58:09 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:subject:date:message-id:user-agent:mime-version :content-type; bh=y+cm1LwJORgxlAQ2nPZuq+SaG6Z27hICUN/4memAXbI=; b=iieKI+4lOJ79Qzv+sCBtxlRpNZG5KLitiexcU1xAt79V7TVfD11aYuvDDhk92YnVGN Bbs0ft6ceS7JMshcYou+1N3FlKhxQu8LBbkW2xPwLhmUojt/O+f/8D4UwUSs92HPmyoq X1tNb/dE5s/ShhO5BZHTGiMMt+k11JMVk62dnKJ1qSbHXjuJqoOTPHeuAgATUR0TNiD0 Z55rHFO3k1K+1WMWAmNzFK4qTL+L9efGEbGexAngPq6jKapWO034lqSkFoNsqPV1/xk6 YCDtLYc+R29BmCSjnxweTQ+smQBf1LM1hFuU1+yuJA6qFP7Dc3hgtRbjaudVP+gOXIcb FFJg== Original-Received: by 10.180.8.41 with SMTP id o9mr5401985wia.3.1351263489756; Fri, 26 Oct 2012 07:58:09 -0700 (PDT) Original-Received: from sigma ([194.214.160.170]) by mx.google.com with ESMTPS id gm7sm3319307wib.10.2012.10.26.07.58.08 (version=TLSv1/SSLv3 cipher=OTHER); Fri, 26 Oct 2012 07:58:09 -0700 (PDT) User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.2.50 (gnu/linux) X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) X-Received-From: 140.186.70.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:66078 Archived-At: 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 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 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