Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 19 Dec 2014 21:45:00 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-ports-bugs@FreeBSD.org
Subject:   [Bug 196145] New: Enable Emacs Erlang mode as optional feature
Message-ID:  <bug-196145-13@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=196145

            Bug ID: 196145
           Summary: Enable Emacs Erlang mode as optional feature
           Product: Ports Tree
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: freebsd-ports-bugs@FreeBSD.org
          Reporter: m_josenhans@web.de
                CC: olgeni@FreeBSD.org

Accoding to this description: 
http://www.erlang.org/doc/apps/tools/erlang_mode_chapter.html    

in order to enable the erlang mode, the following directories have to be
provided by the ports. 

"/usr/local/otp/lib/tools-<ToolsVer>/emacs" or /usr/local/otp/lib/tools/emacs"
"/usr/local/otp")
"/usr/local/otp/bin"

Please note, that the "-<ToolsVer>" does no longer exist in current releases.

Currently the needed directory content is not provided by the ports. Maybe the
.emacs file should also be created. 

Similarly as #195403, this should be an optional feature for the desktop and
might not be necessary at a server. Thus it should belong into a subpackage
too.

For test purposes I downloaded OTP 17.4, installled it to "/usr/local", created
the .emacs file and adapted the path by removing the version number. The emacs
erlang mode worked. 

--------------------------------------------------------------------------------
The following issues should be considered:
1) In freebsd it is possible to install multiple Erlang releases at the same
time. Thus should we include a version in the path?
2a) Should the .emacs file created?
2b) Should the .emacs file be automatically adapted to the currently used
erlang version?
2c) Should the .emacs file be automatically adapted to the highest currently
install erlang version? E.g. using a link from
/usr/local/otp/lib/tools-<ToolsVer>/emacs to /usr/local/otp/lib/tools/emacs?
3) Should the .emacs file configuration be kept to the user?

-- 
You are receiving this mail because:
You are the assignee for the bug.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-196145-13>