GNU bug report logs -
#15600
24.3; ruby-mode lacks a menu
Previous Next
Reported by: John Anthony <john <at> jo.hnanthony.com>
Date: Sat, 12 Oct 2013 18:11:01 UTC
Severity: wishlist
Tags: patch
Merged with 15595
Found in version 24.3
Fixed in version 24.4.
Done: Glenn Morris <rgm <at> gnu.org>
Bug is archived. No further changes may be made.
To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 15600 in the body.
You can then email your comments to 15600 AT debbugs.gnu.org in the normal way.
Toggle the display of automated, internal messages from the tracker.
Report forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#15600
; Package
emacs
.
(Sat, 12 Oct 2013 18:11:01 GMT)
Full text and
rfc822 format available.
Acknowledgement sent
to
John Anthony <john <at> jo.hnanthony.com>
:
New bug report received and forwarded. Copy sent to
bug-gnu-emacs <at> gnu.org
.
(Sat, 12 Oct 2013 18:11:02 GMT)
Full text and
rfc822 format available.
Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):
Here's a menu that just covers the basic commands from
lisp/progmodes/ruby.el
diff --git a/lisp/progmodes/ruby-mode.el b/lisp/progmodes/ruby-mode.el
index 2f92216..07ca58b 100644
--- a/lisp/progmodes/ruby-mode.el
+++ b/lisp/progmodes/ruby-mode.el
@@ -158,6 +158,22 @@ This should only be called after matching against `ruby-here-doc-beg-re'."
map)
"Keymap used in Ruby mode.")
+(easy-menu-define
+ ruby-mode-menu
+ ruby-mode-map
+ "Ruby Mode Menu"
+ '("Ruby"
+ ["Beginning Of Block" ruby-beginning-of-block t]
+ ["End Of Block" ruby-end-of-block t]
+ ["Toggle Block" ruby-toggle-block t]
+ "--"
+ ["Backward Sexp" ruby-backward-sexp
+ :active (not ruby-use-smie)]
+ ["Forward Sexp" ruby-forward-sexp
+ :active (not ruby-use-smie)]
+ ["Indent Sexp" ruby-indent-sexp
+ :active (not ruby-use-smie)]))
+
(defvar ruby-mode-syntax-table
(let ((table (make-syntax-table)))
(modify-syntax-entry ?\' "\"" table)
--
John Anthony
Merged 15595 15600.
Request was from
Glenn Morris <rgm <at> gnu.org>
to
control <at> debbugs.gnu.org
.
(Sat, 12 Oct 2013 18:22:01 GMT)
Full text and
rfc822 format available.
Reply sent
to
Glenn Morris <rgm <at> gnu.org>
:
You have taken responsibility.
(Fri, 25 Oct 2013 02:40:03 GMT)
Full text and
rfc822 format available.
Notification sent
to
John Anthony <john <at> jo.hnanthony.com>
:
bug acknowledged by developer.
(Fri, 25 Oct 2013 02:40:05 GMT)
Full text and
rfc822 format available.
Message #12 received at 15600-done <at> debbugs.gnu.org (full text, mbox):
Version: 24.4.
Applied.
Reply sent
to
Glenn Morris <rgm <at> gnu.org>
:
You have taken responsibility.
(Fri, 25 Oct 2013 02:40:06 GMT)
Full text and
rfc822 format available.
Notification sent
to
Bozhidar Batsov <bozhidar.batsov <at> gmail.com>
:
bug acknowledged by developer.
(Fri, 25 Oct 2013 02:40:07 GMT)
Full text and
rfc822 format available.
bug archived.
Request was from
Debbugs Internal Request <help-debbugs <at> gnu.org>
to
internal_control <at> debbugs.gnu.org
.
(Fri, 22 Nov 2013 12:24:04 GMT)
Full text and
rfc822 format available.
This bug report was last modified 10 years and 178 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.