[MacPorts] #29794: emacs-app @23.3_0 Problem using tramp in emacs.app: "ControlPath too long"
MacPorts
noreply at macports.org
Thu May 22 02:57:10 PDT 2014
#29794: emacs-app @23.3_0 Problem using tramp in emacs.app: "ControlPath too long"
------------------------+----------------------
Reporter: gorzarg@… | Owner: css@…
Type: defect | Status: reopened
Priority: Normal | Milestone:
Component: ports | Version: 1.9.2
Resolution: | Keywords:
Port: emacs-app |
------------------------+----------------------
Comment (by espenhw@…):
Replying to [comment:5 gorzarg@…]:
> Replying to [comment:4 css@…]:
> > So is this an issue with the port or a more general platform
configuration issue?
>
> Not sure. However, dmercer's workaround works. So, I dug around in the
tramp files, and I think I have a fix:
>
> 1) Open up /Applications/MacPorts/Emacs.app/Contents/Resources/lisp/net
/tramp-compat.el.gz in emacs with root access (e.g. sudo emacs tramp-
compat.el.gz).
> 2) In tramp-compat.el.gz, delete lines 212-224.
> 3) Add the following text: (file-name-as-directory "/tmp"))
> to line 212.
> 4) Control-x-s to save the file.
> 5) Meta-x, byte-compile-file, then enter in tramp-compat.el.gz and press
enter.
> 6) Meta-x, byte-compile-file, then enter in tramp.el.gz and press enter.
> 7) Adjust permissions of byte-compiled files so other people can use
them: sudo chmod go+r tramp.elc tramp-compat.elc.
Or better, add the following to your .emacs:
{{{#!el
(put 'temporary-file-directory 'standard-value '((file-name-as-directory
"/tmp")))
}}}
--
Ticket URL: <https://trac.macports.org/ticket/29794#comment:13>
MacPorts <http://www.macports.org/>
Ports system for OS X
More information about the macports-tickets
mailing list