unofficial mirror of notmuch@notmuchmail.org
 help / color / mirror / code / Atom feed
From: Tomi Ollila <tomi.ollila@iki.fi>
To: Jameson Graef Rollins <jrollins@finestructure.net>,
	Notmuch Mail <notmuch@notmuchmail.org>
Subject: Re: emacs reply fills X clipboard with reply message body
Date: Wed, 18 Sep 2013 09:09:48 +0300	[thread overview]
Message-ID: <m2y56uirtf.fsf@guru.guru-group.fi> (raw)
In-Reply-To: <87vc1y6fbr.fsf@servo.finestructure.net>

On Wed, Sep 18 2013, Jameson Graef Rollins <jrollins@finestructure.net> wrote:

> 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™ has to dig (deeper) into the code for this...

> jamie.

Tomi

  reply	other threads:[~2013-09-18  6:10 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-09-18  2:20 emacs reply fills X clipboard with reply message body Jameson Graef Rollins
2013-09-18  6:09 ` Tomi Ollila [this message]
2013-09-18 15:05   ` Tomi Ollila
2013-09-18 22:28   ` Mark Walters
2013-09-19  6:28     ` Tomi Ollila
2014-05-08 14:45 ` David Edmondson
2014-05-08 16:08   ` Jameson Graef Rollins
2014-05-08 23:33     ` David Bremner

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://notmuchmail.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=m2y56uirtf.fsf@guru.guru-group.fi \
    --to=tomi.ollila@iki.fi \
    --cc=jrollins@finestructure.net \
    --cc=notmuch@notmuchmail.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://yhetil.org/notmuch.git/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).