From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "Bradley M. Kuhn" Newsgroups: gmane.emacs.bugs Subject: bug#17783: 24.4.50; ERC: custom-set-variables with erc-modules after a (require 'erc) causes network names to be nil unless 'networks' modules is used Date: Sat, 14 Jun 2014 17:23:37 -0400 Organization: Opinions expressed in this email are my own and are not necessarily those of any organization with which I have an affiliation. Message-ID: <8738f7423q.fsf@ebb.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1402781965 19957 80.91.229.3 (14 Jun 2014 21:39:25 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 14 Jun 2014 21:39:25 +0000 (UTC) To: 17783@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sat Jun 14 23:39:19 2014 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 1WvvfS-0007x1-EC for geb-bug-gnu-emacs@m.gmane.org; Sat, 14 Jun 2014 23:39:18 +0200 Original-Received: from localhost ([::1]:36833 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WvvfS-0001s4-2J for geb-bug-gnu-emacs@m.gmane.org; Sat, 14 Jun 2014 17:39:18 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:34389) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WvvfI-0001q2-Rv for bug-gnu-emacs@gnu.org; Sat, 14 Jun 2014 17:39:14 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WvvfC-00071u-Vy for bug-gnu-emacs@gnu.org; Sat, 14 Jun 2014 17:39:08 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:56849) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WvvfC-00071q-T3 for bug-gnu-emacs@gnu.org; Sat, 14 Jun 2014 17:39:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1WvvfC-0006oY-5D for bug-gnu-emacs@gnu.org; Sat, 14 Jun 2014 17:39:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: "Bradley M. Kuhn" Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 14 Jun 2014 21:39:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 17783 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Original-Received: via spool by submit@debbugs.gnu.org id=B.140278190426140 (code B ref -1); Sat, 14 Jun 2014 21:39:01 +0000 Original-Received: (at submit) by debbugs.gnu.org; 14 Jun 2014 21:38:24 +0000 Original-Received: from localhost ([127.0.0.1]:47999 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1WvveY-0006nW-D1 for submit@debbugs.gnu.org; Sat, 14 Jun 2014 17:38:23 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:60113) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1WvvWV-0005PK-57 for submit@debbugs.gnu.org; Sat, 14 Jun 2014 17:30:04 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WvvWK-00046P-4M for submit@debbugs.gnu.org; Sat, 14 Jun 2014 17:29:57 -0400 Original-Received: from lists.gnu.org ([2001:4830:134:3::11]:59187) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WvvWK-00046L-1r for submit@debbugs.gnu.org; Sat, 14 Jun 2014 17:29:52 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:33574) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WvvWE-0000Ne-G4 for bug-gnu-emacs@gnu.org; Sat, 14 Jun 2014 17:29:51 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WvvW9-00044j-3z for bug-gnu-emacs@gnu.org; Sat, 14 Jun 2014 17:29:46 -0400 Original-Received: from catholic.ebb.org ([67.207.139.67]:58954) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WvvW8-00044Z-Ua for bug-gnu-emacs@gnu.org; Sat, 14 Jun 2014 17:29:41 -0400 Original-Received: from localhost (birch.ebb.org [216.220.116.140]) (using TLSv1 with cipher DHE-RSA-AES128-SHA (128/128 bits)) (No client certificate requested) by catholic.ebb.org (Postfix) with ESMTPSA id A5E9FE00E2; Sat, 14 Jun 2014 17:29:39 -0400 (EDT) X-Disclaimer: Opinions expressed in this email are my own and are not necessarily those of any organization with which I have an affiliation. User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.4.50 (gnu/linux) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.4.x-2.6.x [generic] X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Mailman-Approved-At: Sat, 14 Jun 2014 17:38:21 -0400 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x 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:90390 Archived-At: Put the following in FILE: (require 'erc) (custom-set-variables '(erc-modules (quote (button)))) (erc-select :server "irc.gnome.org" :port "6667" :nick "testignoreme1857" :full-name "Tester") and call with emacs -Q -l FILE As you connect to the IRC server, you'll see that the modeline -- initally correct -- change the IRC network name "nil" after connecting. If you join a channel, that will be named #channel@nil, etc. This problem does not occur if you switch the order of "(require 'erc)" and the "(custom-set-variables)" This problem also does not occur if you have "networks" in the erc-modules list (since it changes the network name after connecting). I discovered this problem because I still had a "(require 'erc)" floating around in my .emacs, appearing before my "custom-set-variables" (from years before when ERC wasn't part of Emacs). This "(require 'erc)" isn't actually needed, but it took a long time to determine what part of my .emacs was causing the problem. In GNU Emacs 24.4.50.1 (x86_64-unknown-linux-gnu, GTK+ Version 3.4.2) of 2014-06-14 on birch Windowing system distributor `The X.Org Foundation', version 11.0.11204000 System Description: Debian GNU/Linux 7.5 (wheezy) Configured using: `configure --prefix=/home/bkuhn/hacks/Installs/Emacs-from-git' Configured features: XPM JPEG TIFF GIF PNG RSVG SOUND GPM DBUS GCONF GSETTINGS NOTIFY LIBSELINUX GNUTLS LIBXML2 FREETYPE M17N_FLT LIBOTF XFT ZLIB Important settings: value of $LANG: en_US.UTF-8 locale-coding-system: utf-8-unix Major mode: ERC Minor modes in effect: erc-list-mode: t erc-menu-mode: t erc-autojoin-mode: t erc-ring-mode: t erc-networks-mode: t erc-track-mode: t erc-track-minor-mode: t erc-match-mode: t erc-button-mode: t erc-fill-mode: t erc-stamp-mode: t erc-netsplit-mode: t erc-pcomplete-mode: t erc-irccontrols-mode: t erc-noncommands-mode: t erc-move-to-prompt-mode: t erc-readonly-mode: t tooltip-mode: t electric-indent-mode: t mouse-wheel-mode: t tool-bar-mode: t menu-bar-mode: t file-name-shadow-mode: t global-font-lock-mode: t font-lock-mode: t blink-cursor-mode: t auto-composition-mode: t auto-encryption-mode: t auto-compression-mode: t line-number-mode: t transient-mark-mode: t Recent input: M-x r e p o r t - e m Recent messages: For information about GNU Emacs and the GNU system, type C-h C-a. Connecting to irc.gnome.org:6667... ...done Logging in as 'testignoreme1857'... Logging in without password Logging in as 'testignoreme1857'... done Load-path shadows: None found. Features: (shadow sort mail-extr emacsbug message dired rfc822 mml mml-sec mm-decode mm-bodies mm-encode mail-parse rfc2231 mailabbrev gmm-utils mailheader sendmail rfc2047 rfc2045 ietf-drums mail-utils network-stream starttls tls erc-list erc-menu easymenu erc-join erc-ring erc-networks erc-track erc-match erc-button wid-edit cl-loaddefs cl-lib erc-fill erc-stamp erc-netsplit erc-pcomplete pcomplete comint ansi-color ring erc-goodies erc erc-backend erc-compat format-spec auth-source eieio byte-opt bytecomp byte-compile cconv eieio-core gnus-util mm-util help-fns mail-prsvr password-cache thingatpt pp time-date tooltip electric uniquify ediff-hook vc-hooks lisp-float-type mwheel x-win x-dnd tool-bar dnd fontset image regexp-opt fringe tabulated-list newcomment lisp-mode prog-mode register page menu-bar rfn-eshadow timer select scroll-bar mouse jit-lock font-lock syntax facemenu font-core frame cham georgian utf-8-lang misc-lang vietnamese tibetan thai tai-viet lao korean japanese hebrew greek romanian slovak czech european ethiopic indian cyrillic chinese case-table epa-hook jka-cmpr-hook help simple abbrev minibuffer nadvice loaddefs button faces cus-face macroexp files text-properties overlay sha1 md5 base64 format env code-pages mule custom widget hashtable-print-readable backquote make-network-process dbusbind gfilenotify dynamic-setting system-font-setting font-render-setting move-toolbar gtk x-toolkit x multi-tty emacs) Memory information: ((conses 16 112482 13831) (symbols 48 22374 0) (miscs 40 43 166) (strings 32 23564 5390) (string-bytes 1 670223) (vectors 16 14036) (vector-slots 8 418903 7659) (floats 8 88 194) (intervals 56 317 432) (buffers 960 13) (heap 1024 24074 639)) -- -- bkuhn