diff options
author | Andrey Grozin <grozin@gentoo.org> | 2008-10-14 11:42:37 +0000 |
---|---|---|
committer | Andrey Grozin <grozin@gentoo.org> | 2008-10-14 11:42:37 +0000 |
commit | 7316f110d0d9e27c2c07da9f8b22a498a7edcb3d (patch) | |
tree | 45fce89c4639cf234bb393464df72364336d0eb2 /sci-visualization/gle/files | |
parent | Give the configure the --cpu option based on CFLAGS; if it is unknown it will... (diff) | |
download | historical-7316f110d0d9e27c2c07da9f8b22a498a7edcb3d.tar.gz historical-7316f110d0d9e27c2c07da9f8b22a498a7edcb3d.tar.bz2 historical-7316f110d0d9e27c2c07da9f8b22a498a7edcb3d.zip |
Emacs support fixed (bug #241582), a typo introduced in the last revision fixed (bug #241710), many thanks to Ulrich Mueller <ulm@gentoo.org>
Package-Manager: portage-2.2_rc12/cvs/Linux 2.6.25-tuxonice-r1 i686
Diffstat (limited to 'sci-visualization/gle/files')
-rw-r--r-- | sci-visualization/gle/files/64gle-gentoo.el | 6 | ||||
-rw-r--r-- | sci-visualization/gle/files/gle-4.1.2b-emacs.patch | 49 |
2 files changed, 53 insertions, 2 deletions
diff --git a/sci-visualization/gle/files/64gle-gentoo.el b/sci-visualization/gle/files/64gle-gentoo.el index fcb527f40b59..841503ba6eec 100644 --- a/sci-visualization/gle/files/64gle-gentoo.el +++ b/sci-visualization/gle/files/64gle-gentoo.el @@ -1,4 +1,6 @@ -;; begin gle-mode + +;;; gle site-lisp configuration + +(add-to-list 'load-path "@SITELISP@") (autoload 'gle-mode "gle-mode") (add-to-list 'auto-mode-alist '("\\.gle\\'" . gle-mode)) -;; end gle-mode diff --git a/sci-visualization/gle/files/gle-4.1.2b-emacs.patch b/sci-visualization/gle/files/gle-4.1.2b-emacs.patch new file mode 100644 index 000000000000..ff33db706d53 --- /dev/null +++ b/sci-visualization/gle/files/gle-4.1.2b-emacs.patch @@ -0,0 +1,49 @@ +--- gle-mode.el~ 2005-04-27 11:19:52.000000000 +0200 ++++ gle-mode.el 2008-10-14 10:56:58.000000000 +0200 +@@ -167,27 +167,28 @@ + (set (make-local-variable 'comment-start-skip) "!+\\s-*") + (set (make-local-variable 'font-lock-defaults) + '(gle-font-lock-keywords)) ++ (run-hooks 'gle-mode-hook) + ) + +-(add-menu nil "GLE" +- '( +- ["View ps file" gle-view-postscript t] +- ["View png file" gle-view-png t ] +- "--------------------" +- ["Create ps file" gle-create-postscript t] +- "--------------------" +- ["Write graph" gle-write-standard-graph t] +- )) ++(define-key gle-mode-map [menu-bar gle-mode] ++ (cons "GLE" (make-sparse-keymap "GLE"))) ++(define-key gle-mode-map [menu-bar gle-mode gle-write-standard-graph] ++ '("Write graph" . gle-write-standard-graph)) ++(define-key gle-mode-map [menu-bar gle-mode separator-gle-mode-2] ++ '("--------------------")) ++(define-key gle-mode-map [menu-bar gle-mode gle-create-postscript] ++ '("Create ps file" . gle-create-postscript)) ++(define-key gle-mode-map [menu-bar gle-mode separator-gle-mode-1] ++ '("--------------------")) ++(define-key gle-mode-map [menu-bar gle-mode gle-view-png] ++ '("View png file" . gle-view-png)) ++(define-key gle-mode-map [menu-bar gle-mode gle-view-postscript] ++ '("View ps file" . gle-view-postscript)) + +- +-(setq major-mode 'gle-mode) +-(setq mode-name "GLE") +-(local-set-key "\t" " ") +-(global-set-key "\C-c\C-p" 'gle-create-postscript) +-(global-set-key "\C-c\C-v" 'gle-view-postscript) +-(global-set-key "\C-c\C-x" 'gle-view-x) +-(global-set-key "\C-c\C-b" 'gle-write-basic-commands) +-(run-hooks 'gle-mode-hook) ++(define-key gle-mode-map "\C-c\C-p" 'gle-create-postscript) ++(define-key gle-mode-map "\C-c\C-v" 'gle-view-postscript) ++(define-key gle-mode-map "\C-c\C-x" 'gle-view-x) ++(define-key gle-mode-map "\C-c\C-b" 'gle-write-basic-commands) + + (provide 'gle-mode) + ;; End gle-mode |