From owner-freebsd-ports-bugs@FreeBSD.ORG Fri Dec 19 21:45:01 2014 Return-Path: Delivered-To: freebsd-ports-bugs@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 77CA85C9 for ; Fri, 19 Dec 2014 21:45:01 +0000 (UTC) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 459F61691 for ; Fri, 19 Dec 2014 21:45:01 +0000 (UTC) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.14.9/8.14.9) with ESMTP id sBJLj1fQ073377 for ; Fri, 19 Dec 2014 21:45:01 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-ports-bugs@FreeBSD.org Subject: [Bug 196145] New: Enable Emacs Erlang mode as optional feature Date: Fri, 19 Dec 2014 21:45:00 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Ports Tree X-Bugzilla-Component: Individual Port(s) X-Bugzilla-Version: Latest X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: m_josenhans@web.de X-Bugzilla-Status: New X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: freebsd-ports-bugs@FreeBSD.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version rep_platform op_sys bug_status bug_severity priority component assigned_to reporter cc Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 19 Dec 2014 21:45:01 -0000 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-/emacs" or /usr/local/otp/lib/tools/emacs" "/usr/local/otp") "/usr/local/otp/bin" Please note, that the "-" 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-/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.