GNU bug report logs -
#13790
Cannot paste with C-y into Homebrew emacs v24.2.1
Previous Next
Full log
View this message in rfc822 format
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.