From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Corwin Brust Newsgroups: gmane.emacs.bugs Subject: bug#43847: ERC - prevent yanking multiple lines into IRC (feature request) *patch* Date: Sat, 10 Oct 2020 00:00:31 -0500 Message-ID: References: <85mu0yxdil.fsf@gmail.com> <85k0w2xbrm.fsf@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="22365"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 43847@debbugs.gnu.org, Amin Bandali To: Noam Postavsky Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sat Oct 10 07:01:14 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 1kR70M-0005hl-1b for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 10 Oct 2020 07:01:14 +0200 Original-Received: from localhost ([::1]:47134 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kR70K-0004BR-G8 for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 10 Oct 2020 01:01:12 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:47250) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kR70A-0004B6-PG for bug-gnu-emacs@gnu.org; Sat, 10 Oct 2020 01:01:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:53459) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1kR70A-0006tR-Fp for bug-gnu-emacs@gnu.org; Sat, 10 Oct 2020 01:01:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1kR70A-00066x-FC for bug-gnu-emacs@gnu.org; Sat, 10 Oct 2020 01:01:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Corwin Brust Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 10 Oct 2020 05:01: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.160230605123467 (code B ref 43847); Sat, 10 Oct 2020 05:01:02 +0000 Original-Received: (at 43847) by debbugs.gnu.org; 10 Oct 2020 05:00:51 +0000 Original-Received: from localhost ([127.0.0.1]:36772 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kR6zy-00066Q-Vy for submit@debbugs.gnu.org; Sat, 10 Oct 2020 01:00:51 -0400 Original-Received: from mail-ej1-f47.google.com ([209.85.218.47]:44425) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kR6zv-00066B-Pk for 43847@debbugs.gnu.org; Sat, 10 Oct 2020 01:00:49 -0400 Original-Received: by mail-ej1-f47.google.com with SMTP id a3so15964822ejy.11 for <43847@debbugs.gnu.org>; Fri, 09 Oct 2020 22:00:47 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc:content-transfer-encoding; bh=DcEP74Wc5nHX5/BMLFOqYnjgvDVVZtQRx6G0PeVhkYg=; b=o/P2BEYhlt5D62j9IEHAHjuModm0V9CVCRMBhsKTR98KL7uR1i18BADhBUkfM3heLu Nfu8HnmrTuG/xyb4u4WjnQ7P8mfK85Am66y8q4icXssHnBGXCgRj1UHa4RTuNjakSdP1 OKR3IA9oF2B2vMbBFsBdLSlxTd64pgx1MYwhJGMqskUwhDWYbEyrlnh6kIYbhlr2liQp yqs4tqmp6+oUHm61XF1W1It8TaTuyoZultFCoGdunbWRm+C4XE/S3XBzPoQsz1VHpGPx h66+DGKdi7/yQR0S9NxBjP6ye0QVFh1f3ACIgI3CfzPZIjf+ekplB+PpB37bKr3zC6PS 6uDw== X-Gm-Message-State: AOAM531Vd+9bhddWTbSV93kmvK2ZvT+Z3DV2S8BiMpFlOkc7eCmfQ4sH Kcrwf0+E2tgB0ISSq853OKcAIm19JSTF5hGuQTM= X-Google-Smtp-Source: ABdhPJz/RPfIoeIP1aDs9zjHg9SbWfx7AJWAWyoOGYWh4oGqIeGS8uaOe1HXVSYAfZS1CPgreXWlE9yxfhZz82GzIU8= X-Received: by 2002:a17:906:340b:: with SMTP id c11mr17729885ejb.213.1602306041960; Fri, 09 Oct 2020 22:00:41 -0700 (PDT) In-Reply-To: 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:190191 Archived-At: If you are using this patch please ROLLBACK. =F0=9F=98=8A On Thu, Oct 8, 2020 at 9:01 PM Corwin Brust wrote: > > Many thanks, Noam. > > On Wed, Oct 7, 2020 at 11:05 AM Noam Postavsky wrote= : > > > > I hope an ERC user will follow up (I think Bandali was going over ERC > > patches at some point?), but just some general comments: > > I'm hoping Bandali and other ERC users will look, also. [...] This has unpleasant results when the point is not immediately after the ERC prompt, and likely in other cases I haven't found. For a next pass I plan to: * use `erc-display-line' instead of `insert' * remove the new binding while we discuss ideal approaches * create from master and see if I can I get tabs/spaces correct * CC emacs-erc in hopes of soliciting more inputs Thanks to Amin and others for discussions on IRC this evening. Regards Corwin