[Bug 196145] New: Enable Emacs Erlang mode as optional feature

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Fri Dec 19 21:45:01 UTC 2014


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 at FreeBSD.org
          Reporter: m_josenhans at web.de
                CC: olgeni at 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.


More information about the freebsd-ports-bugs mailing list