[MacPorts] #6495: BUG: "Can't set selection" error in emacs when emacs started from remote shell
MacPorts
noreply at macports.org
Fri May 29 15:21:18 PDT 2009
#6495: BUG: "Can't set selection" error in emacs when emacs started from remote
shell
----------------------------------------+-----------------------------------
Reporter: vincent-opdarw@… | Owner: macports-tickets@…
Type: defect | Status: reopened
Priority: Normal | Milestone:
Component: ports | Version:
Resolution: | Keywords:
Port: |
----------------------------------------+-----------------------------------
Old description:
> When I run emacs (from the emacs-devel port) in an environment where the
> SECURITYSESSIONID variable isn't set (this can happen when emacs is
> started from
> the screen utility), copy-paste between emacs and other applications
> fails. For
> instance, when I click with the middle button to paste in emacs, I get
> the error
> "Kill ring is empty".
New description:
When I run emacs (from the emacs-devel port) in an environment where the
SECURITYSESSIONID variable isn't set (this can happen when emacs is
started from
the screen utility), copy-paste between emacs and other applications
fails. For
instance, when I click with the middle button to paste in emacs, I get the
error
"Kill ring is empty".
--
Comment(by vinc17@…):
The bug still occurs with Emacs 22.3.1. The attachment kdump-
mp6495.tar.lzma contains the dump files obtained with
{{{
ktrace /Applications/MacPorts/Emacs.app/Contents/MacOS/Emacs \
-q -no-site-file -eval '(setq inhibit-splash-screen t)'
}}}
and kdump, and the corresponding environments. In the Emacs window, I
typed "asd" and selected it with a double-click. Then I quit Emacs with
C-x C-c.
*-fail when Emacs has been started from screen (see above).
*-ok when Emacs has been started from a normal iTerm tab.
In kdump-ok, the PID has been changed to the PID from kdump-fail in order
to be able to do a "diff".
It seems that the main differences in the kdump files are the failures of
shm_open in kdump-fail: "shm_open -1 errno 2 No such file or directory".
--
Ticket URL: <http://trac.macports.org/ticket/6495#comment:9>
MacPorts <http://www.macports.org/>
Ports system for Mac OS
More information about the macports-tickets
mailing list