unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: xani666@gmail.com
To: help-gnu-emacs@gnu.org
Subject: Re: How to get rid of 'read-only' on region when mouse-copying it from jabber mode ?
Date: Tue, 1 Jul 2014 08:56:05 -0700 (PDT)	[thread overview]
Message-ID: <a9ba8577-74d7-4102-a708-e419e051d17c@googlegroups.com> (raw)
In-Reply-To: <jwvwqbxgncp.fsf-monnier+gnu.emacs.help@gnu.org>

On Tuesday, July 1, 2014 4:37:00 PM UTC+2, Stefan Monnier wrote:
> > I've noticed a very weird thing, everytime I am trying to mouse copy text
> 
> > from jabber-mode (version 20140225), resulting paste is a read-only
> 
> > text region.
> 
> 
> 
> You might try M-x report-emacs-bug (tho the bug might also be in
> 
> jabber-mode).  In any case, to figure it out, we'll probably need more
> 
> details.  E.g. describe *in detail* what you do and what you see.
> 
> E.g. you say "resulting paste is a read-only text region" but you don't
> 
> say what makes you think so.  Similarly you say "mouse copy text" but
> 
> this can mean various different things, so you need to say which buttons
> 
> you press, and when, and where you press them.
> 
> 
By copying text I mean dragging mouse-1 (binded to mouse-drag-region)

By 'read only region' i mean that when I paste it using middle mouse button (binded to mouse-yank-primary) in read write buffer (for example *scratch*)

By "read-only" I mean region of text have property "read-only" and when I try to edit the pasted part i get "Text is read-only" in pasted part, while rest of the buffer remains read-write.

I suspect it is something to do with jabber-mode as I never saw that behaviour outside of it, I also noticed font-lock-face get copied too, even tho both of them are on yank-excluded-properties. Basically it looks like none of yank-excluded-properties gets removed when pasting via mouse yank


  reply	other threads:[~2014-07-01 15:56 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-07-01  9:19 How to get rid of 'read-only' on region when mouse-copying it from jabber mode ? xani666
2014-07-01 14:37 ` Stefan Monnier
2014-07-01 15:56   ` xani666 [this message]
2014-07-01 16:36     ` Stefan Monnier
2014-07-02  8:47       ` xani666

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://www.gnu.org/software/emacs/

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

  git send-email \
    --in-reply-to=a9ba8577-74d7-4102-a708-e419e051d17c@googlegroups.com \
    --to=xani666@gmail.com \
    --cc=help-gnu-emacs@gnu.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.
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).