From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Noam Postavsky Newsgroups: gmane.emacs.bugs Subject: bug#43847: ERC - prevent yanking multiple lines into IRC (feature request) *patch* Date: Wed, 07 Oct 2020 11:27:14 -0400 Message-ID: <85mu0yxdil.fsf@gmail.com> References: Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="9652"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.3 (windows-nt) Cc: 43847@debbugs.gnu.org To: Corwin Brust Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Wed Oct 07 17:28:19 2020 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1kQBMX-0002N1-TB for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 07 Oct 2020 17:28:17 +0200 Original-Received: from localhost ([::1]:59900 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kQBMW-0001n3-Nf for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 07 Oct 2020 11:28:16 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:55412) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kQBMI-0001lQ-KZ for bug-gnu-emacs@gnu.org; Wed, 07 Oct 2020 11:28:07 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:46187) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1kQBMI-0004XO-7U for bug-gnu-emacs@gnu.org; Wed, 07 Oct 2020 11:28:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1kQBMI-0006Xy-5N for bug-gnu-emacs@gnu.org; Wed, 07 Oct 2020 11:28:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Noam Postavsky Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 07 Oct 2020 15:28:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 43847 X-GNU-PR-Package: emacs Original-Received: via spool by 43847-submit@debbugs.gnu.org id=B43847.160208444525103 (code B ref 43847); Wed, 07 Oct 2020 15:28:02 +0000 Original-Received: (at 43847) by debbugs.gnu.org; 7 Oct 2020 15:27:25 +0000 Original-Received: from localhost ([127.0.0.1]:57729 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kQBLh-0006Wp-2a for submit@debbugs.gnu.org; Wed, 07 Oct 2020 11:27:25 -0400 Original-Received: from mail-qk1-f172.google.com ([209.85.222.172]:34726) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kQBLe-0006WZ-Tp for 43847@debbugs.gnu.org; Wed, 07 Oct 2020 11:27:23 -0400 Original-Received: by mail-qk1-f172.google.com with SMTP id c62so3222470qke.1 for <43847@debbugs.gnu.org>; Wed, 07 Oct 2020 08:27:22 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version; bh=FTnAdWfmnTjzv14EE0yyfJLridSZ6eCDl6lpDLvFtKI=; b=eRliVQM0wYjqoubN4XcYhRKj2luSnMWuUk2IJH9xfpqmV/uOPOflQSsxQfjERutE3Q OHLflaSWfQkwdkAUVtzJxv95xbzo1Jy+WLXqfJ1NwK/Vzjex6sW85gzNkzBZreC70LpQ JJTJC6g80SIQpMtbo/3BO6LkJ82NxpVSZuGhiKpYtjBmhh4S9gUaQ1TdwGMgrEJB063P jMtIAUlH3OHeSesGG4tIrGDJKUkTF+VBRiGMZVgyMpw09Tin28UGALOHTQJfcR924WAm GqxeEF+p40x1ueez7lIBBY4o+QqLvsR3yvFComGkh/3WLDitnN6q0vwLC0IyxpTUS1zs +GQw== 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:references:date:in-reply-to :message-id:user-agent:mime-version; bh=FTnAdWfmnTjzv14EE0yyfJLridSZ6eCDl6lpDLvFtKI=; b=JzYxMM2BHNadumlvGxTjtK14sA52YkiF1Rx1uPGoZ2/5kWopqchsJaqTtM1M+tE4OM AR7ZEPWoeXbZiBioSBa3PdLKeUiiHI8prTL0xtuYiHHKCqUUQEK6f25/cAC1KSq0p+RT FqnUZltb0JA2hQg5041xtAxjduz68bls5J04E4VVdOs1Qr46vde/MfQpaTBHmU4jiklo FGdV+wp14u2DlLp683owqgchRPHmyuBtAzhJGrwdoFsdfmg094uVlTBV3YQIoasTHo7j au6NxfMVY/iVdjIWDemGGJ9a/gfBflq8iiScma2uG78hup8IV/G1SwD12ftfqpif54DC 9zZA== X-Gm-Message-State: AOAM532NyGRoEOH7FsqPgCWkSC7GqV27AqzdIMizLAaNLnceFRy6JOUS BGnvdEEJ7n4i6QncYgzffdjrJ6bJ2XI= X-Google-Smtp-Source: ABdhPJxz0xWOKqlCRhI18yRvDbt0AZykYBscgHtTSfmlW8U3zuaq8cXscgCuUASkMiLesDHsm8oxAA== X-Received: by 2002:a37:aec2:: with SMTP id x185mr3333904qke.73.1602084437135; Wed, 07 Oct 2020 08:27:17 -0700 (PDT) Original-Received: from vhost2 (CPE001143542e1f-CMf81d0f809fa0.cpe.net.cable.rogers.com. [99.230.38.42]) by smtp.gmail.com with ESMTPSA id x75sm58498qka.59.2020.10.07.08.27.16 (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Wed, 07 Oct 2020 08:27:16 -0700 (PDT) In-Reply-To: (Corwin Brust's message of "Wed, 7 Oct 2020 09:11:48 -0500") X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list 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-mx.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.io gmane.emacs.bugs:190038 Archived-At: Corwin Brust writes: > I hate it when I accidentally paste multi-line text into ERC. I > *never* actually intend to do this. > > This patch provides erc-yank and binds it to C-y for erc-mode buffers. > This does the same as `yank'; however, the text is unfilled (collapsed > to a single line) before it is inserted. > All feedback gratefully received :) I think you may have forgotten to include the patch :)