From unknown Sun Sep 07 01:05:55 2025 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Mailer: MIME-tools 5.509 (Entity 5.509) Content-Type: text/plain; charset=utf-8 From: bug#40914 <40914@debbugs.gnu.org> To: bug#40914 <40914@debbugs.gnu.org> Subject: Status: 27.0.91; erc send is failing on pretest Reply-To: bug#40914 <40914@debbugs.gnu.org> Date: Sun, 07 Sep 2025 08:05:55 +0000 retitle 40914 27.0.91; erc send is failing on pretest reassign 40914 emacs submitter 40914 Andr=C3=A9s Ram=C3=ADrez severity 40914 normal thanks From debbugs-submit-bounces@debbugs.gnu.org Mon Apr 27 18:22:31 2020 Received: (at submit) by debbugs.gnu.org; 27 Apr 2020 22:22:32 +0000 Received: from localhost ([127.0.0.1]:38349 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jTC91-0004lY-HE for submit@debbugs.gnu.org; Mon, 27 Apr 2020 18:22:31 -0400 Received: from lists.gnu.org ([209.51.188.17]:57196) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jTC8w-0004lL-K4 for submit@debbugs.gnu.org; Mon, 27 Apr 2020 18:22:30 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:40122) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jTC8v-0002pw-My for bug-gnu-emacs@gnu.org; Mon, 27 Apr 2020 18:22:26 -0400 X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FROM, RCVD_IN_DNSWL_NONE,SPF_PASS,URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.2 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.90_1) (envelope-from ) id 1jTC8u-0007pn-S6 for bug-gnu-emacs@gnu.org; Mon, 27 Apr 2020 18:22:25 -0400 Received: from mail-ua1-x931.google.com ([2607:f8b0:4864:20::931]:43207) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1jTC8u-0007pY-Ck for bug-gnu-emacs@gnu.org; Mon, 27 Apr 2020 18:22:24 -0400 Received: by mail-ua1-x931.google.com with SMTP id u12so19241231uau.10 for ; Mon, 27 Apr 2020 15:22:23 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:subject:date:message-id:mime-version :content-transfer-encoding; bh=IQbPp0sEn153iaqZ6TEjksy0Z5V5WyQ9H7LDjMpJmi4=; b=teXTh4n7W3/AIDwYU73C6XeIzliKHSxKbhmzNzKMubNu/JmxKyemu1+IyWwGyNkCIq lppCqpDMM34rIz/f1JJ56kKpexywwkj8lp7oLkOoj1YnRgAydMSA91EnqtOzCBAA3lNv vWsyjrZvyX83T+wgB5j7F2EK+CyCo030AqvDlQ3IVEJmmwqnA8uBibZLOeNh/erHse45 LnfGBaoARLxng6kA0J3ahyAxU9s94eZ9DBnuRRNMKZwGhJ0l8bDXB8LSJy3gfrrIpuSX UPTfwOtiW6YGMuIPpGq9lbh7Rbz8p8DSJGZp1kiXV2I+3Mw9hQ08dLa+yBnNR7tei1W9 0hjQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:subject:date:message-id:mime-version :content-transfer-encoding; bh=IQbPp0sEn153iaqZ6TEjksy0Z5V5WyQ9H7LDjMpJmi4=; b=OOM+FFtdnHpcK/FOip/VqW7j4UwHFKVLnlzZqHndx4+TsbdnfCjPT2N/xO4D/a3UpY d9tyBR2ggG7PJLC00twoezGeuUCGc8NLtE0yrZSptF92hPVxbarbr1UAWaNHtrXNqKfT Dd3Cagsuht01NJ56BR6Nn8rTd4iJgAUK+Fw0qeUIhz2EnnWT0KAujWJVrUL6Bgg0lxP9 viqYP/SlOyM7wUSoM3gWxpS/3Otuou78XkFm1vd9OV/LeEISeZGvt+BMolvnDImb7a1J g2a78vFXLz9D5JSpImclA6vU+HgjxXcA+sZEvUm7gWktu+IvmLZ5GrzUQ5inL35On+PF qI+g== X-Gm-Message-State: AGi0PuY4iHlkycZoU62sfVgIqG+O46pV3vsxhIVQfM0PcQrHV0qHV5o/ OYKyNrEuaYfNBbj/ZtLFBm/+fxf7 X-Google-Smtp-Source: APiQypLd1SFXqUzkPuMIjcw31jHuZc0bwyrfsnU/0VUJiXbK8gB9p9cNGkdZGpDaDpHCGxkdgN4qHw== X-Received: by 2002:a67:6955:: with SMTP id e82mr18975298vsc.18.1588026142377; Mon, 27 Apr 2020 15:22:22 -0700 (PDT) Received: from sacsa.n800.arm.processor.yandex.fm ([190.236.255.138]) by smtp.gmail.com with ESMTPSA id 62sm4412705vku.10.2020.04.27.15.22.20 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 27 Apr 2020 15:22:21 -0700 (PDT) From: =?utf-8?Q?Andr=C3=A9s_Ram=C3=ADrez?= To: bug-gnu-emacs@gnu.org Subject: 27.0.91; erc send is failing on pretest Date: Mon, 27 Apr 2020 22:22:17 +0000 Message-ID: <86zhawr2li.fsf@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Received-SPF: pass client-ip=2607:f8b0:4864:20::931; envelope-from=rrandresf@gmail.com; helo=mail-ua1-x931.google.com X-detected-operating-system: by eggs.gnu.org: Error: [-] PROGRAM ABORT : Malformed IPv6 address (bad octet value). Location : parse_addr6(), p0f-client.c:67 X-Received-From: 2607:f8b0:4864:20::931 X-Spam-Score: 0.7 (/) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -2.3 (--) Hi. When connecting to irc And pressing return for sending this string: --8<---------------cut here---------------start------------->8--- "Hi Guys. Ethernet connection drops from time to time. Has anyone experienced this behaviour before?" --8<---------------cut here---------------end--------------->8--- I am getting this Backtrace. --8<---------------cut here---------------start------------->8--- Debugger entered--Lisp error: (wrong-type-argument listp utf-8) erc-split-line("Hi Guys. Ethernet connection drops from time to ti...") #f(compiled-function (line) #)("Hi Guys. Ethernet conn= ection drops from time to ti...") mapc(#f(compiled-function (line) #) ("Hi Guys. Etherne= t connection drops from time to ti...")) erc-send-input("Hi Guys. Ethernet connection drops from time to ti...") erc-send-current-line() funcall-interactively(erc-send-current-line) call-interactively(erc-send-current-line nil nil) command-execute(erc-send-current-line) --8<---------------cut here---------------end--------------->8--- BTW. Same works on 26.3. AR In GNU Emacs 27.0.91 (build 1, armv7l-unknown-linux-gnueabihf, X toolkit, X= aw3d scroll bars) Windowing system distributor 'The X.Org Foundation', version 11.0.12099001 System Description: Arch Linux ARM Recent messages: chacrape/erc-connect Decrypting /home/olla/.netrc.gpg...done Connecting to irc.freenode.net:6667...=20 Logging in as `sunshavi'... Logging in as =E2=80=98sunshavi=E2=80=99... done ERC: irc.freenode.net:6667: has changed mode for sunshavi to +i Decrypting /home/olla/.authinfo.gpg...done Entering debugger... Quit Making completion list... Configured using: 'configure '--program-transform-name=3Ds/^ctags$/ctags.emacs/' --prefix=3D/usr --sysconfdir=3D/etc --libexecdir=3D/usr/lib --localstatedir=3D/usr/share --with-x-toolkit=3Dlucid --mandir=3D/usr/share/man --pdfdir=3D/usr/share/doc/emacs --with-modules --with-xft --without-gconf --without-gsettings --with-imagemagick --without-xwidgets --without-pop --with-gameuser=3D:games --disable-build-details 'CFLAGS=3D-march=3Darmv7-a -mfloat-abi=3Dhard -mfpu=3Dvfpv3-d16 -O2 -pipe -fstack-protector-strong -fno-plt' CPPFLAGS=3D-D_FORTIFY_SOURCE=3D2 LDFLAGS=3D-Wl,-O1,--sort-common,--as-needed,-z,relro,-z,now' Configured features: XAW3D XPM JPEG TIFF GIF PNG RSVG IMAGEMAGICK SOUND GPM DBUS GLIB NOTIFY INOTIFY ACL GNUTLS LIBXML2 FREETYPE HARFBUZZ M17N_FLT LIBOTF XFT ZLIB TOOLKIT_SCROLL_BARS LUCID X11 XDBE XIM MODULES THREADS LIBSYSTEMD JSON PDUMPER LCMS2 GMP Important settings: value of $LC_COLLATE: C value of $LANG: en_US.UTF-8 locale-coding-system: utf-8-unix Major mode: Debugger Minor modes in effect: erc-list-mode: t erc-ring-mode: t erc-pcomplete-mode: t erc-button-mode: t erc-netsplit-mode: t display-time-mode: t which-function-mode: t savehist-mode: t show-paren-mode: t erc-networks-mode: t erc-track-mode: t erc-track-minor-mode: t erc-match-mode: t erc-menu-mode: t erc-autojoin-mode: t erc-fill-mode: t erc-stamp-mode: t erc-irccontrols-mode: t erc-noncommands-mode: t erc-move-to-prompt-mode: t erc-readonly-mode: t global-eldoc-mode: t electric-indent-mode: t mouse-wheel-mode: t file-name-shadow-mode: t global-font-lock-mode: t font-lock-mode: t auto-composition-mode: t auto-encryption-mode: t auto-compression-mode: t buffer-read-only: t column-number-mode: t line-number-mode: t Load-path shadows: None found. Features: (shadow sort mail-extr emacsbug message rmc puny dired dired-loaddefs rfc822 mml mml-sec gnus-util rmail rmail-loaddefs text-property-search mm-decode mm-bodies mm-encode mail-parse rfc2231 mailabbrev gmm-utils mailheader sendmail rfc2047 rfc2045 ietf-drums mm-util mail-prsvr mail-utils help-fns radix-tree cl-print debug backtrace help-mode erc-list erc-ring erc-pcomplete erc-button browse-url wid-edit erc-netsplit rot13 disp-table epa-file epa epg epg-config misearch multi-isearch add-log my-noexternals server time org-wl org ob ob-tangle ob-ref ob-lob ob-table ob-exp org-macro org-footnote org-src ob-comint org-pcomplete pcomplete comint ansi-color org-list org-faces org-entities time-date noutline outline org-version ob-emacs-lisp ob-core ob-eval org-table ol org-keys org-compat org-macs org-loaddefs find-func cal-menu calendar cal-loaddefs sm-c-mode derived pcase smie netrc ace-window avy ring god-mode emms-get-lyrics mbsync rx my-misc-setup ido which-func savehist paren vc-git diff-mode easy-mmode em-alias esh-mode esh-cmd esh-ext esh-opt esh-proc esh-io esh-arg esh-module esh-groups esh-util my-erc-setup erc-services erc-networks erc-track erc-match erc-sasl cl erc-menu erc-join erc-fill erc-stamp erc-goodies erc erc-backend erc-compat format-spec auth-source cl-seq eieio eieio-core cl-macs eieio-loaddefs password-cache json subr-x map seq byte-opt gv bytecomp byte-compile cconv pp erc-loaddefs my-defuns-setup imenu thingatpt info-look info google-c-style gtags cc-mode cc-fonts easymenu cc-guess cc-menus cc-cmds cc-styles cc-align cc-engine cc-vars cc-defs edmacro kmacro cl-loaddefs cl-lib jka-compr advice lemacs-public tooltip eldoc electric uniquify ediff-hook vc-hooks lisp-float-type mwheel term/x-win x-win term/common-win x-dnd tool-bar dnd fontset image regexp-opt fringe tabulated-list replace newcomment text-mode elisp-mode lisp-mode prog-mode register page tab-bar menu-bar rfn-eshadow isearch timer select scroll-bar mouse jit-lock font-lock syntax facemenu font-core term/tty-colors frame minibuffer cl-generic cham georgian utf-8-lang misc-lang vietnamese tibetan thai tai-viet lao korean japanese eucjp-ms cp51932 hebrew greek romanian slovak czech european ethiopic indian cyrillic chinese composite charscript charprop case-table epa-hook jka-cmpr-hook help simple abbrev obarray cl-preloaded 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 threads dbusbind inotify lcms2 dynamic-setting font-render-setting x-toolkit x multi-tty make-network-process emacs) Memory information: ((conses 8 221078 132580) (symbols 24 21597 1) (strings 16 69970 5000) (string-bytes 1 2292424) (vectors 8 31494) (vector-slots 4 370002 110490) (floats 8 125 604) (intervals 28 1649 0) (buffers 576 22)) From debbugs-submit-bounces@debbugs.gnu.org Tue Apr 28 05:10:36 2020 Received: (at 40914) by debbugs.gnu.org; 28 Apr 2020 09:10:36 +0000 Received: from localhost ([127.0.0.1]:38900 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jTMGC-0000Vn-1r for submit@debbugs.gnu.org; Tue, 28 Apr 2020 05:10:36 -0400 Received: from eggs.gnu.org ([209.51.188.92]:55360) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jTMGA-0000Va-Sg for 40914@debbugs.gnu.org; Tue, 28 Apr 2020 05:10:35 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:54903) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jTMG5-0003p2-Jz; Tue, 28 Apr 2020 05:10:29 -0400 Received: from [176.228.60.248] (port=2186 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1jTMG4-00031K-Jj; Tue, 28 Apr 2020 05:10:29 -0400 Date: Tue, 28 Apr 2020 12:10:07 +0300 Message-Id: <83blnc2cy8.fsf@gnu.org> From: Eli Zaretskii To: =?utf-8?Q?Andr=C3=A9s_Ram=C3=ADrez?= In-Reply-To: <86zhawr2li.fsf@gmail.com> (message from =?utf-8?Q?Andr=C3=A9?= =?utf-8?Q?s_Ram=C3=ADrez?= on Mon, 27 Apr 2020 22:22:17 +0000) Subject: Re: bug#40914: 27.0.91; erc send is failing on pretest References: <86zhawr2li.fsf@gmail.com> MIME-version: 1.0 Content-type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 40914 Cc: 40914@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) > From: Andrés Ramírez > Date: Mon, 27 Apr 2020 22:22:17 +0000 > > Hi. When connecting to irc And pressing return for sending this string: > --8<---------------cut here---------------start------------->8--- > "Hi Guys. Ethernet connection drops from time to time. Has anyone > experienced this behaviour before?" > --8<---------------cut here---------------end--------------->8--- > > I am getting this Backtrace. > --8<---------------cut here---------------start------------->8--- > Debugger entered--Lisp error: (wrong-type-argument listp utf-8) > erc-split-line("Hi Guys. Ethernet connection drops from time to ti...") > #f(compiled-function (line) #)("Hi Guys. Ethernet connection drops from time to ti...") > mapc(#f(compiled-function (line) #) ("Hi Guys. Ethernet connection drops from time to ti...")) > erc-send-input("Hi Guys. Ethernet connection drops from time to ti...") > erc-send-current-line() > funcall-interactively(erc-send-current-line) > call-interactively(erc-send-current-line nil nil) > command-execute(erc-send-current-line) > --8<---------------cut here---------------end--------------->8--- I cannot reproduce this, so I guess this is triggered by something specific in your environment. What does the following yield in a session that fails like this? M-: (erc-coding-system-for-target nil) RET From debbugs-submit-bounces@debbugs.gnu.org Tue Apr 28 11:48:46 2020 Received: (at 40914) by debbugs.gnu.org; 28 Apr 2020 15:48:46 +0000 Received: from localhost ([127.0.0.1]:41132 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jTSTV-0004Zx-Nx for submit@debbugs.gnu.org; Tue, 28 Apr 2020 11:48:46 -0400 Received: from mail-ua1-f43.google.com ([209.85.222.43]:45379) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jTSTT-0004Zj-Pj for 40914@debbugs.gnu.org; Tue, 28 Apr 2020 11:48:44 -0400 Received: by mail-ua1-f43.google.com with SMTP id m9so8164193uaq.12 for <40914@debbugs.gnu.org>; Tue, 28 Apr 2020 08:48:43 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:in-reply-to:organization:references:date :message-id:mime-version; bh=zYSp0CGNuChGUhHV0Jh5SomBRldJAWc1r43ih0kazzg=; b=aVvxtkNoiHU01Phu1beFYDOGzdbV+7x1dpGEs27hR0pRxk9ztbKksHoxs9YCMC0wrU VduqehEm95NouyPrAqFT9YSJt39A0F1W1rk/nAolvzoc65UAUvZAySMvrbD0muhItWyL 1cBWEntmNQceDu9SLSp9w4gbUiDU7YZD1pEoZFz1JdAI1UEerqpbHV4jt+bH1PgsPTRh aaIGcJS6SrKtpxjklXT/y2V3HcdWucP27kX9cK37U9kxAiRTpeHsngAxx5brqqH80n+y 2JxJvOVnWMxQddaMB+DuhcomeJ/n1tzKeuwPvnkDKKxOin15TG1pdYG+IhXW8f25wf0e BWFg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:in-reply-to:organization :references:date:message-id:mime-version; bh=zYSp0CGNuChGUhHV0Jh5SomBRldJAWc1r43ih0kazzg=; b=p4rKxarLHlqYEhzqLGbGTxoZhgbnQ756Hb+iwXk+ltJjz1QN28jfVOY96bXqM2sW2m 8ruB0T2IIyvl0yYMdAaUrh1adwYX7f2k5yy9uXPYYCTl29RYZS+1saaOCsR7D9G4e1PK htLMWettGnkdI1qiYm8tNOj1BjgIneyv42rMG+QVfIdyED+gtSVI1ghV2WUmPBuxGCFC tXBrjbUsymc5jKDZqWt+WpJp/1BIEfiIxzgVq0YsTpzJM9s8TcXNCaCidrtSA/4zqQwh Ty+pTUaGTgo3+V6sRKtOLuLMI1TPsrA+lrBxSOtHac8lZkl2c5qxcWP5zqCydugDgZnD bIAA== X-Gm-Message-State: AGi0PubKoHG7rSFRZug1HaBFsN58A0KnFVTrLNkiQyuiYN3JZlul22gF tGOPaUSyUCLOgoqvGWJU+8F0H9i5 X-Google-Smtp-Source: APiQypKzlGylbj4tdL+CdvkI3GYxswVUF4NN/J2dpyMAiMCTi2smM/qA9gaVS7t9FXW0CDVdMlpxqg== X-Received: by 2002:ab0:25:: with SMTP id 34mr21848898uai.63.1588088917611; Tue, 28 Apr 2020 08:48:37 -0700 (PDT) Received: from sacsa.n800.arm.processor.yandex.fm ([190.236.255.138]) by smtp.gmail.com with ESMTPSA id v64sm4990805vkb.2.2020.04.28.08.48.35 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 28 Apr 2020 08:48:36 -0700 (PDT) From: =?utf-8?Q?andr=C3=A9s_ram=C3=ADrez?= To: Eli Zaretskii Subject: Re: bug#40914: 27.0.91; erc send is failing on pretest In-Reply-To: <83blnc2cy8.fsf@gnu.org> Organization: bien.comun.org References: <86zhawr2li.fsf@gmail.com> <83blnc2cy8.fsf@gnu.org> X-Attribution: INKA Date: Tue, 28 Apr 2020 15:48:32 +0000 Message-ID: <86wo5z1ui7.fsf@gmail.com> MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 40914 Cc: 40914@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) Hi Eli. >>>>> "Eli" == Eli Zaretskii writes: [...] Eli> I cannot reproduce this, so I guess this is triggered by Eli> something specific in your environment. My enviroment is going to be shared below. Eli> What does the following yield in a session that fails like Eli> this? Eli> M-: (erc-coding-system-for-target nil) RET --8<---------------cut here---------------start------------->8--- utf-8 --8<---------------cut here---------------end--------------->8--- It is needed a couple of files. file 1: --8<---------------cut here---------------start------------->8--- ;-*- mode: emacs-lisp; encoding: utf-8; -*- (require 'erc nil 'nonil4noerror) (when (fboundp 'erc) (require 'erc-fill) (require 'erc-join) ; autojoin support is implemented by erc-join.el (require 'erc-menu) ;(require 'erc-sasl) (require 'erc-sasl "~/.emacs.d/lisp/erc-sasl.el" 'nonil4noerror) (when (boundp 'erc-sasl-server-regexp-list) (add-to-list 'erc-sasl-server-regexp-list "irc\\.freenode\\.net") ) (erc-fill-mode t) (erc-autojoin-enable) ; enable channel autojoin support, by default (setq erc-autojoin-channels-alist '(("freenode.net" )) erc-autojoin-timing 'ident erc-fill-function 'erc-fill-static erc-lurker-hide-list '("JOIN" "PART" "QUIT") erc-lurker-threshold-time 43200 ;erc-prompt-for-nickserv-password nil) erc-server-reconnect-attempts 5 erc-server-reconnect-timeout 3 ) (setq erc-nick-uniquifier "_" erc-kill-queries-on-quit t erc-server-coding-system (quote utf-8) ) ;; check channels (erc-track-mode t) (setq erc-track-exclude-types '("JOIN" "NICK" "PART" "QUIT" "MODE" )) ;; don't show any of this (setq erc-hide-list '("JOIN" "PART" "QUIT" "NICK")) (require 'erc-services) ; http://emacswiki.org/emacs/ErcChannelTracking (setq erc-format-query-as-channel-p t erc-track-priority-faces-only 'all erc-track-faces-priority-list '(erc-error-face erc-current-nick-face erc-keyword-face erc-nick-msg-face erc-direct-msg-face erc-dangerous-host-face erc-notice-face erc-prompt-face)) (defun chacrape/erc-connect () "Connect to IM networks using sasl on n800 do this from terminal." (interactive) (progn ; could not connect to here cos of sasl (erc-select :server "irc.freenode.net" :port 6667 :nick "inka" :password "mypwd") ) ) ;; notify me when someone mentions me (4 now just 4 maemo n800) (require 'erc-match) (setq erc-keywords '("n800" "n900" "emacs" "h3" "mesa" "lima" "mali")) (setq erc-pals '("pal1" "pal1")) (erc-match-mode 1) (defun erc-global-notify (matched-type nick msg) (interactive) (let ( (previous-content) ) (when (and (eq matched-type 'current-nick) (not (string-match "^NickServ" nick)) (not (string-match "^[sS]erver" nick)) ;(not (string-match "^.*has changed mode for .*" nick)) ;this line is not working (not (string-match (format "^%s!" (erc-current-nick)) nick))) ;(pushover-notify (concat "ERC: " (buffer-name)) (concat "<" (car (split-string nick "!")) "> " message)) (if (string-match "arm" system-configuration) (shell-command-to-string "if which espeak > /dev/null 2>&1 ; then espeak -v es --stdout message\ message | gst-launch-1.0 -v fdsrc ! wavparse ! audioconvert ! autoaudiosink; fi") (noemacswiki/espeak "new message ")) (setq previous-content (with-temp-buffer "ERC Notifications" (buffer-string))) (display-message-or-buffer (concat "ERC: " (buffer-name) ": <" (car (split-string nick "!")) "> " previous-content msg) "ERC Notifications") ) ) ) (add-hook 'erc-text-matched-hook 'erc-global-notify) ;;overwrite for sasl (defun erc-login () "Perform user authentication at the IRC server." (erc-log (format "login: nick: %s, user: %s %s %s :%s" (erc-current-nick) (user-login-name) (or erc-system-name (system-name)) erc-session-server erc-session-user-full-name)) (if erc-session-password (erc-server-send (format "PASS %s" erc-session-password)) (message "Logging in without password")) (when (and (featurep 'erc-sasl) (erc-sasl-use-sasl-p)) (erc-server-send "CAP REQ :sasl")) (erc-server-send (format "NICK %s" (erc-current-nick))) (erc-server-send (format "USER %s %s %s :%s" ;; hacked - S.B. (if erc-anonymous-login erc-email-userid (user-login-name)) "0" "*" erc-session-user-full-name)) (erc-update-mode-line)) (provide 'my-erc-setup) ) --8<---------------cut here---------------end--------------->8--- file 2 comes from {https://gitlab.com/psachin/erc-sasl/-/blob/master/erc-sasl.el}. It is the one referenced by emacswiki. Launch emacs with: emacs -Q M-x load-file erc-sasl.el M-x find-file file 1. Change user and password on funct chacrape/erc-connect M-x eval-buffer from file 1. M-x toggle-debug-on-error M-x chacrape/erc-connect M-x erc-join-channel "any". type hi and press Return key; *Backtrace* should appear. Best Regards From debbugs-submit-bounces@debbugs.gnu.org Tue Apr 28 12:11:18 2020 Received: (at 40914) by debbugs.gnu.org; 28 Apr 2020 16:11:18 +0000 Received: from localhost ([127.0.0.1]:41140 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jTSpK-0005A9-20 for submit@debbugs.gnu.org; Tue, 28 Apr 2020 12:11:18 -0400 Received: from eggs.gnu.org ([209.51.188.92]:55780) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jTSpI-00059x-9s for 40914@debbugs.gnu.org; Tue, 28 Apr 2020 12:11:16 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:34403) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jTSpC-0007wb-0n; Tue, 28 Apr 2020 12:11:10 -0400 Received: from [176.228.60.248] (port=4963 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1jTSpA-0006Uv-VN; Tue, 28 Apr 2020 12:11:09 -0400 Date: Tue, 28 Apr 2020 19:10:48 +0300 Message-Id: <831ro7381j.fsf@gnu.org> From: Eli Zaretskii To: =?utf-8?Q?andr=C3=A9s_ram=C3=ADrez?= In-Reply-To: <86wo5z1ui7.fsf@gmail.com> (message from =?utf-8?Q?andr=C3=A9?= =?utf-8?Q?s_ram=C3=ADrez?= on Tue, 28 Apr 2020 15:48:32 +0000) Subject: Re: bug#40914: 27.0.91; erc send is failing on pretest References: <86zhawr2li.fsf@gmail.com> <83blnc2cy8.fsf@gnu.org> <86wo5z1ui7.fsf@gmail.com> MIME-version: 1.0 Content-type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 40914 Cc: 40914@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) > From: andrés ramírez > Cc: 40914@debbugs.gnu.org > Date: Tue, 28 Apr 2020 15:48:32 +0000 > > Eli> What does the following yield in a session that fails like > Eli> this? > > Eli> M-: (erc-coding-system-for-target nil) RET > > --8<---------------cut here---------------start------------->8--- > utf-8 > --8<---------------cut here---------------end--------------->8--- That's the problem. The question is: how did that happen? And here's the answer: > (setq > erc-nick-uniquifier "_" > erc-kill-queries-on-quit t > erc-server-coding-system (quote utf-8) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ So does the patch below fix the problem? diff --git a/lisp/erc/erc-backend.el b/lisp/erc/erc-backend.el index 0e3495e..526e854 100644 --- a/lisp/erc/erc-backend.el +++ b/lisp/erc/erc-backend.el @@ -466,7 +466,8 @@ erc-split-line The length is specified in `erc-split-line-length'. Currently this is called by `erc-send-input'." - (let ((charset (car (erc-coding-system-for-target nil)))) + (let* ((coding (erc-coding-system-for-target nil)) + (charset (if (consp coding) (car coding) coding))) (with-temp-buffer (insert longline) ;; The line lengths are in octets, not characters (because these From debbugs-submit-bounces@debbugs.gnu.org Tue Apr 28 13:03:18 2020 Received: (at 40914) by debbugs.gnu.org; 28 Apr 2020 17:03:19 +0000 Received: from localhost ([127.0.0.1]:41252 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jTTde-0006Vz-LZ for submit@debbugs.gnu.org; Tue, 28 Apr 2020 13:03:18 -0400 Received: from mail-vk1-f182.google.com ([209.85.221.182]:39767) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jTTdc-0006Vm-TM for 40914@debbugs.gnu.org; Tue, 28 Apr 2020 13:03:17 -0400 Received: by mail-vk1-f182.google.com with SMTP id f7so6083193vkl.6 for <40914@debbugs.gnu.org>; Tue, 28 Apr 2020 10:03:16 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:in-reply-to:organization:references:date :message-id:mime-version; bh=SryrvMniisQROaBn1N+TuZa7jrZOsHCDcU/74FjlrfA=; b=JyLTeKLXBZYC026w2yD8969vrvbwxD+TF2/6U9z7nT/6FJRiw3V7uWKuj3scRw3pPR DKCi14lsKADbb6Dzqy4D2e5cQ8epbv5pYxmKP7Gd1Y+3OcyEd3CTVLWBGiYqwon3k7Ga jw0qakjZu0/TXQRajFXxBRmfXAo2VO8JbhNxvGJ2HwrtLkE164x78o6hAI4xVkyVnC8J 4xUpoXISgu37CTu1+b4YyATjLc9pIRRxHiZoPpubxI3a4ayOTF6jRfqDAtu/9HVmCuzY RYtpqCDcOmLC0yO0LNLR0OPKYsbbKIHgIFXEvv0xZG+OD29EiLN0kgrMT1x1fAUvpsXw JOLQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:in-reply-to:organization :references:date:message-id:mime-version; bh=SryrvMniisQROaBn1N+TuZa7jrZOsHCDcU/74FjlrfA=; b=KlUULb0MKzklmAi5A8I1FQhVnGKEk2qUxZf2xUJifvi9N89eu7PM2gZQ6kqDr/he/g 8i+ujVqfcJsrYQFy3k4nkFvnhUTfLSi62EUGLI+y9GJ7buPn3u6/o6drqdEzCLFQXQLC 4kpyWJUCBvgV+pkopWhpWzwKF+jdOnwE0erhSo3NjlYUprXQrozP1ZL0HFrlqei6kt8r PizZ6/ACFGkiDX8R1ZvrMbZUJPXBsnBD239IRX+W+ees8LwcyvkMPNdtooLf1sTpDkj1 oB5K85DzWQ4ZvFW1eaaUaIR977N7O3fmmQpaN2mgMzN8oiu11yxKycb+PmS6wL8KREMU vC8w== X-Gm-Message-State: AGi0PuZxfq+s5YIcoCdrtVtbznuow8lQjd1/OCdQnZjysQUL4wlCckZi g/j0g+DnoJOdHSTwkVEjplPDvC1a X-Google-Smtp-Source: APiQypL4VMGLFZ+8Tpjl1q4toICnInxx2qJL1jQ+SitUX/6jJ+SH34N/2cVvLcuj7pSRl+G5QzAwLg== X-Received: by 2002:a1f:dec7:: with SMTP id v190mr10345892vkg.87.1588093390720; Tue, 28 Apr 2020 10:03:10 -0700 (PDT) Received: from sacsa.n800.arm.processor.yandex.fm ([190.236.255.138]) by smtp.gmail.com with ESMTPSA id f14sm4085464uab.17.2020.04.28.10.03.09 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 28 Apr 2020 10:03:10 -0700 (PDT) From: =?utf-8?Q?andr=C3=A9s_ram=C3=ADrez?= To: Eli Zaretskii Subject: Re: bug#40914: 27.0.91; erc send is failing on pretest In-Reply-To: <831ro7381j.fsf@gnu.org> Organization: bien.comun.org References: <86zhawr2li.fsf@gmail.com> <83blnc2cy8.fsf@gnu.org> <86wo5z1ui7.fsf@gmail.com> <831ro7381j.fsf@gnu.org> X-Attribution: INKA Date: Tue, 28 Apr 2020 17:03:06 +0000 Message-ID: <86v9lj1r1x.fsf@gmail.com> MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 40914 Cc: 40914@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) Hi Eli. >>>>> "Eli" == Eli Zaretskii writes: [...] Eli> So does the patch below fix the problem? [...] Yes Eli. It has fixed It. Thanks. Best Regards From debbugs-submit-bounces@debbugs.gnu.org Tue Apr 28 13:25:29 2020 Received: (at 40914-done) by debbugs.gnu.org; 28 Apr 2020 17:25:30 +0000 Received: from localhost ([127.0.0.1]:41275 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jTTz7-00072s-Kl for submit@debbugs.gnu.org; Tue, 28 Apr 2020 13:25:29 -0400 Received: from eggs.gnu.org ([209.51.188.92]:38062) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jTTz5-00072c-I6 for 40914-done@debbugs.gnu.org; Tue, 28 Apr 2020 13:25:28 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:36185) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jTTz0-0005u2-6s; Tue, 28 Apr 2020 13:25:22 -0400 Received: from [176.228.60.248] (port=1521 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1jTTyz-0000WG-9A; Tue, 28 Apr 2020 13:25:21 -0400 Date: Tue, 28 Apr 2020 20:25:01 +0300 Message-Id: <83wo5z1q1e.fsf@gnu.org> From: Eli Zaretskii To: =?utf-8?Q?andr=C3=A9s_ram=C3=ADrez?= In-Reply-To: <86v9lj1r1x.fsf@gmail.com> (message from =?utf-8?Q?andr=C3=A9?= =?utf-8?Q?s_ram=C3=ADrez?= on Tue, 28 Apr 2020 17:03:06 +0000) Subject: Re: bug#40914: 27.0.91; erc send is failing on pretest References: <86zhawr2li.fsf@gmail.com> <83blnc2cy8.fsf@gnu.org> <86wo5z1ui7.fsf@gmail.com> <831ro7381j.fsf@gnu.org> <86v9lj1r1x.fsf@gmail.com> MIME-version: 1.0 Content-type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 40914-done Cc: 40914-done@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) > From: andrés ramírez > Cc: 40914@debbugs.gnu.org > Date: Tue, 28 Apr 2020 17:03:06 +0000 > > Eli> So does the patch below fix the problem? > > > [...] > > > Yes Eli. It has fixed It. Thanks, pushed to the emacs-27 branch. From unknown Sun Sep 07 01:05:55 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Wed, 27 May 2020 11:24:06 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator