Gnus development mailing list
 help / color / mirror / Atom feed
* kill-ring-save, x-select-enable-primary and Date header
@ 2011-05-14 20:30 Peter Münster
  2011-05-30 18:54 ` Lars Magne Ingebrigtsen
  0 siblings, 1 reply; 3+ messages in thread
From: Peter Münster @ 2011-05-14 20:30 UTC (permalink / raw)
  To: ding

Hello,

With the latest emacs and gnus versions, the kill-ring-save (M-w)
doesn't work in the article buffer: instead of copying from mark to
point, the region between mark and the line after the Date header is
copied.

For example: when yanking, I get 
"Organization: Теодор Златанов @ Cienfuegos"
instead of
"On Fri, 13 May 2011 15:09:49 -0400 Dan Christensen <jdc@uwo.ca> wrote:"

Steps to reproduce the problem:
- set x-select-enable-primary to "t"
  (I need that, because I often select a region with the mouse in
  firefox or xterm, and when "nil", I cannot yank the selection with C-y)
- let elapse at least one second between placing the mark (C-SPC) and
  pressing M-w

How can solve this problem (while keeping the dynamic Date header)?

TIA for any hint!

-- 
           Peter




^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: kill-ring-save, x-select-enable-primary and Date header
  2011-05-14 20:30 kill-ring-save, x-select-enable-primary and Date header Peter Münster
@ 2011-05-30 18:54 ` Lars Magne Ingebrigtsen
  2011-05-31  7:07   ` Peter Münster
  0 siblings, 1 reply; 3+ messages in thread
From: Lars Magne Ingebrigtsen @ 2011-05-30 18:54 UTC (permalink / raw)
  To: ding

pmlists@free.fr (Peter Münster) writes:

> With the latest emacs and gnus versions, the kill-ring-save (M-w)
> doesn't work in the article buffer: instead of copying from mark to
> point, the region between mark and the line after the Date header is
> copied.

Try the following:

(setq select-active-regions nil
      mouse-drag-copy-region t
      x-select-enable-primary t
      x-select-enable-clipboard nil)

-- 
(domestic pets only, the antidote for overdose, milk.)
  bloggy blog http://lars.ingebrigtsen.no/




^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: kill-ring-save, x-select-enable-primary and Date header
  2011-05-30 18:54 ` Lars Magne Ingebrigtsen
@ 2011-05-31  7:07   ` Peter Münster
  0 siblings, 0 replies; 3+ messages in thread
From: Peter Münster @ 2011-05-31  7:07 UTC (permalink / raw)
  To: ding

On Mon, May 30 2011, Lars Magne Ingebrigtsen wrote:

> pmlists@free.fr (Peter Münster) writes:
>
>> With the latest emacs and gnus versions, the kill-ring-save (M-w)
>> doesn't work in the article buffer: instead of copying from mark to
>> point, the region between mark and the line after the Date header is
>> copied.
>
> Try the following:
>
> (setq select-active-regions nil
>       mouse-drag-copy-region t
>       x-select-enable-primary t
>       x-select-enable-clipboard nil)

Yes, that works, thanks!

-- 
           Peter




^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2011-05-31  7:07 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-05-14 20:30 kill-ring-save, x-select-enable-primary and Date header Peter Münster
2011-05-30 18:54 ` Lars Magne Ingebrigtsen
2011-05-31  7:07   ` Peter Münster

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 NNTP newsgroup(s).