Date: Sat, 11 Mar 2006 19:28:29 -0500 (EST) From: Fazlul Shahriar <fshahriar@gmail.com> To: FreeBSD-gnats-submit@FreeBSD.org Cc: fshahriar@gmail.com Subject: ports/94376: [PATCH] pkg-message for lang/ruby-mode.el contains old elisp code Message-ID: <20060312002829.44323BBB6@k6.zcat.dyndns.org> Resent-Message-ID: <200603120300.k2C30koS053408@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 94376 >Category: ports >Synopsis: [PATCH] pkg-message for lang/ruby-mode.el contains old elisp code >Confidential: no >Severity: non-critical >Priority: medium >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: doc-bug >Submitter-Id: current-users >Arrival-Date: Sun Mar 12 03:00:45 GMT 2006 >Closed-Date: >Last-Modified: >Originator: Fazlul Shahriar >Release: FreeBSD 6.0-SECURITY i386 >Organization: >Environment: System: FreeBSD k6.zcat.dyndns.org 6.0-SECURITY FreeBSD 6.0-SECURITY #0: Tue Feb 28 22:53:43 UTC 2006 root@builder.daemonology.net:/usr/obj/usr/src/sys/GENERIC i386 ruby-1.8.4_3,1 ruby-mode.el-1.8.4,1 emacs-21.3_7 >Description: "/usr/local/bin/ruby" that pkg-message recommends (probably taken from an older version of inf-ruby.el) as ruby-program-name doesn't work well for interactive programming. The ruby executable just runs the code it gets inside the Inferior Ruby buffer until EOF and then exits. The default that inf-ruby.el sets to ("irb --inf-ruby-mode") works much better (like a REPL). There's no need to set it in ~/.emacs. This way people who just copy/paste stuff from pkg-message won't think ruby-mode is "broken". >How-To-Repeat: >Fix: --- ruby-mode-pkg-message.diff begins here --- --- pkg-message.orig Sat Mar 11 18:09:58 2006 +++ pkg-message Sat Mar 11 17:17:28 2006 @@ -3,7 +3,6 @@ following lines to your ~/.emacs: ;; Taken from the comment section in inf-ruby.el -(setq ruby-program-name "/usr/local/bin/ruby") (autoload 'ruby-mode "ruby-mode" "Mode for editing ruby source files") (add-to-list 'auto-mode-alist '("\\.rb$" . ruby-mode)) (add-to-list 'interpreter-mode-alist '("ruby" . ruby-mode)) --- ruby-mode-pkg-message.diff ends here --- >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20060312002829.44323BBB6>