GNU bug report logs - #13790
Cannot paste with C-y into Homebrew emacs v24.2.1

Previous Next

Package: emacs;

Reported by: Andrew Pennebaker <andrew.pennebaker <at> gmail.com>

Date: Fri, 22 Feb 2013 22:48:01 UTC

Severity: normal

Tags: confirmed, moreinfo

Done: Stefan Kangas <stefankangas <at> gmail.com>

Bug is archived. No further changes may be made.

Full log


Message #23 received at 13790 <at> debbugs.gnu.org (full text, mbox):

From: Jan Djärv <jan.h.d <at> swipnet.se>
To: Josh <josh <at> foxtail.org>
Cc: Glenn Morris <rgm <at> gnu.org>, "13790 <at> debbugs.gnu.org" <13790 <at> debbugs.gnu.org>
Subject: Re: bug#13790: Cannot paste with C-y into Homebrew emacs v24.2.1
Date: Wed, 6 Mar 2013 19:54:40 +0100
Hello.

6 mar 2013 kl. 16:54 skrev Josh <josh <at> foxtail.org>:

> On Wed, Mar 6, 2013 at 1:34 AM, Jan Djärv <jan.h.d <at> swipnet.se> wrote:
>> Hello.
>> 
>> I don't see what you gain by doing this compared to the builtin integration.
>> If you remove your code, what does not work wrt copy/paste?
>> 
>>    Jan D.
> 
> -nw sessions.
> 

Yank from the clipboard is not available in a -nw session.
This is in line with how it works with -nw and X11.
Not sure about w32 though.

There is really no reason to make this work for -nw sessions as you can always use Command-V.
This is not a bug, just a limitation.

	Jan D.

> $ echo 'some content on the OS X clipboard' | pbcopy
> $ emacs --batch --eval '(progn (yank) (send-string-to-terminal (format
> "yanked text: %s" (buffer-substring (point-min) (point-max)))))'
> Mark set
> Kill ring is empty
> $ # `~/.emacs.d/set-up-osx-clipboard.el' is the snippet I posted previously
> $ emacs --batch -l ~/.emacs.d/set-up-osx-clipboard.el --eval '(progn
> (yank) (send-string-to-terminal (format "yanked text: %s"
> (buffer-substring (point-min) (point-max)))))' 2>/dev/null
> yanked text: some content on the OS X clipboard





This bug report was last modified 348 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.