From 2f4a3adcbb225b0cc16d4e7649d6427ff7cb34e6 Mon Sep 17 00:00:00 2001 From: Tomi Ollila Date: Wed, 18 Sep 2013 09:09:48 +0300 Subject: [PATCH] Re: emacs reply fills X clipboard with reply message body --- 3c/2ea36cbf2a8dd848e989cc3d97659ffd363126 | 82 +++++++++++++++++++++++ 1 file changed, 82 insertions(+) create mode 100644 3c/2ea36cbf2a8dd848e989cc3d97659ffd363126 diff --git a/3c/2ea36cbf2a8dd848e989cc3d97659ffd363126 b/3c/2ea36cbf2a8dd848e989cc3d97659ffd363126 new file mode 100644 index 000000000..e299d4188 --- /dev/null +++ b/3c/2ea36cbf2a8dd848e989cc3d97659ffd363126 @@ -0,0 +1,82 @@ +Return-Path: +X-Original-To: notmuch@notmuchmail.org +Delivered-To: notmuch@notmuchmail.org +Received: from localhost (localhost [127.0.0.1]) + by olra.theworths.org (Postfix) with ESMTP id 40A9E431FAF + for ; Tue, 17 Sep 2013 23:10:05 -0700 (PDT) +X-Virus-Scanned: Debian amavisd-new at olra.theworths.org +X-Spam-Flag: NO +X-Spam-Score: 0 +X-Spam-Level: +X-Spam-Status: No, score=0 tagged_above=-999 required=5 tests=[none] + autolearn=disabled +Received: from olra.theworths.org ([127.0.0.1]) + by localhost (olra.theworths.org [127.0.0.1]) (amavisd-new, port 10024) + with ESMTP id P4PfKxZru+eb for ; + Tue, 17 Sep 2013 23:09:57 -0700 (PDT) +Received: from guru.guru-group.fi (guru.guru-group.fi [46.183.73.34]) + by olra.theworths.org (Postfix) with ESMTP id DA80F431FAE + for ; Tue, 17 Sep 2013 23:09:56 -0700 (PDT) +Received: from guru.guru-group.fi (localhost [IPv6:::1]) + by guru.guru-group.fi (Postfix) with ESMTP id E32E51000B2; + Wed, 18 Sep 2013 09:09:48 +0300 (EEST) +From: Tomi Ollila +To: Jameson Graef Rollins , + Notmuch Mail +Subject: Re: emacs reply fills X clipboard with reply message body +In-Reply-To: <87vc1y6fbr.fsf@servo.finestructure.net> +References: <87vc1y6fbr.fsf@servo.finestructure.net> +User-Agent: Notmuch/0.16+86~g2d126a3 (http://notmuchmail.org) Emacs/24.3.1 + (x86_64-unknown-linux-gnu) +X-Face: HhBM'cA~ +MIME-Version: 1.0 +Content-Type: text/plain; charset=utf-8 +Content-Transfer-Encoding: quoted-printable +X-BeenThere: notmuch@notmuchmail.org +X-Mailman-Version: 2.1.13 +Precedence: list +List-Id: "Use and development of the notmuch mail system." + +List-Unsubscribe: , + +List-Archive: +List-Post: +List-Help: +List-Subscribe: , + +X-List-Received-Date: Wed, 18 Sep 2013 06:10:05 -0000 + +On Wed, Sep 18 2013, Jameson Graef Rollins wro= +te: + +> I've just started noticing that when I reply to messages from the emacs +> UI, my X clipboard is filled with the body of the reply message, +> displacing whatever was in there previously. I'm not sure if this is +> related to my personal emacs configuration, or some non-ideal way we're +> inserting body parts in replies. However, even if it is a configuration +> issue in my emacs, I suspect that there should be a better way to insert +> the reply body such that there's not even a possibility that it would +> leak into the users X clipboard, regardless of emacs settings. Any +> thoughts? + +env -u DISPLAY emacs -f notmuch ;) + + +.. OK, I'm marking this as a bug -- I witness the same behaviour. + +Originally I thought this relates directly to the fact that mark +is set at the end of quoted text and (point) is at the beginning of +buffer -- so that simple c-w can be used to remove the contents in +case desired... but the X paste provides the original text, not the +quoted one. + +Someone=E2=84=A2 has to dig (deeper) into the code for this... + +> jamie. + +Tomi + -- 2.26.2