diff options
| author | Glenn Morris | 2008-11-19 04:37:25 +0000 |
|---|---|---|
| committer | Glenn Morris | 2008-11-19 04:37:25 +0000 |
| commit | 68fcc3ec7d4c2817007c0a167b660897fd82af0e (patch) | |
| tree | df4419595c6bee77abbba52a15fd2ca6c7d52557 | |
| parent | dcbfa92ba2c76cfc4d3865088afffd1dbc935c66 (diff) | |
| download | emacs-68fcc3ec7d4c2817007c0a167b660897fd82af0e.tar.gz emacs-68fcc3ec7d4c2817007c0a167b660897fd82af0e.zip | |
(f90-mode-map): Add some menu :help.
| -rw-r--r-- | lisp/ChangeLog | 2 | ||||
| -rw-r--r-- | lisp/progmodes/f90.el | 63 |
2 files changed, 43 insertions, 22 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog index 71db241df6f..526b47d23c1 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog | |||
| @@ -1,5 +1,7 @@ | |||
| 1 | 2008-11-19 Glenn Morris <rgm@gnu.org> | 1 | 2008-11-19 Glenn Morris <rgm@gnu.org> |
| 2 | 2 | ||
| 3 | * progmodes/f90.el (f90-mode-map): Add some menu :help. | ||
| 4 | |||
| 3 | * autoinsert.el (auto-insert-alist): Update template to FDL 1.3+. | 5 | * autoinsert.el (auto-insert-alist): Update template to FDL 1.3+. |
| 4 | 6 | ||
| 5 | * emacs-lisp/cl.el (floor*, ceiling*, truncate*, round*, mod*): | 7 | * emacs-lisp/cl.el (floor*, ceiling*, truncate*, round*, mod*): |
diff --git a/lisp/progmodes/f90.el b/lisp/progmodes/f90.el index a53e103c6f8..9846fa3c61d 100644 --- a/lisp/progmodes/f90.el +++ b/lisp/progmodes/f90.el | |||
| @@ -675,29 +675,44 @@ Can be overridden by the value of `font-lock-maximum-decoration'.") | |||
| 675 | `("F90" | 675 | `("F90" |
| 676 | ("Customization" | 676 | ("Customization" |
| 677 | ,(custom-menu-create 'f90) | 677 | ,(custom-menu-create 'f90) |
| 678 | ["Set" Custom-set t] | 678 | ;; FIXME useless? |
| 679 | ["Save" Custom-save t] | 679 | ["Set" Custom-set :active t |
| 680 | ["Reset to Current" Custom-reset-current t] | 680 | :help "Set current value of all edited settings in the buffer"] |
| 681 | ["Reset to Saved" Custom-reset-saved t] | 681 | ["Save" Custom-save :active t |
| 682 | ["Reset to Standard Settings" Custom-reset-standard t] | 682 | :help "Set and save all edited settings"] |
| 683 | ["Reset to Current" Custom-reset-current :active t | ||
| 684 | :help "Reset all edited settings to current"] | ||
| 685 | ["Reset to Saved" Custom-reset-saved :active t | ||
| 686 | :help "Reset all edited or set settings to saved"] | ||
| 687 | ["Reset to Standard Settings" Custom-reset-standard :active t | ||
| 688 | :help "Erase all cusomizations in buffer"] | ||
| 683 | ) | 689 | ) |
| 684 | "--" | 690 | "--" |
| 685 | ["Indent Subprogram" f90-indent-subprogram t] | 691 | ["Indent Subprogram" f90-indent-subprogram t] |
| 686 | ["Mark Subprogram" f90-mark-subprogram t] | 692 | ["Mark Subprogram" f90-mark-subprogram :active t :help |
| 687 | ["Beginning of Subprogram" f90-beginning-of-subprogram t] | 693 | "Mark the end of the current subprogram, move point to the start"] |
| 688 | ["End of Subprogram" f90-end-of-subprogram t] | 694 | ["Beginning of Subprogram" f90-beginning-of-subprogram :active t |
| 695 | :help "Move point to the start of the current subprogram"] | ||
| 696 | ["End of Subprogram" f90-end-of-subprogram :active t | ||
| 697 | :help "Move point to the end of the current subprogram"] | ||
| 689 | "--" | 698 | "--" |
| 690 | ["(Un)Comment Region" f90-comment-region mark-active] | 699 | ["(Un)Comment Region" f90-comment-region :active mark-active |
| 691 | ["Indent Region" f90-indent-region mark-active] | 700 | :help "Comment or uncomment the region"] |
| 692 | ["Fill Region" f90-fill-region mark-active] | 701 | ["Indent Region" f90-indent-region :active mark-active] |
| 702 | ["Fill Region" f90-fill-region :active mark-active | ||
| 703 | :help "Fill long lines in the region"] | ||
| 693 | "--" | 704 | "--" |
| 694 | ["Break Line at Point" f90-break-line t] | 705 | ["Break Line at Point" f90-break-line :active t |
| 695 | ["Join with Previous Line" f90-join-lines t] | 706 | :help "Break the current line at point"] |
| 696 | ["Insert Block End" f90-insert-end t] | 707 | ["Join with Previous Line" f90-join-lines :active t |
| 708 | :help "Join the current line to the previous one"] | ||
| 709 | ["Insert Block End" f90-insert-end :active t | ||
| 710 | :help "Insert an end statement for the current code block"] | ||
| 697 | "--" | 711 | "--" |
| 698 | ("Highlighting" | 712 | ("Highlighting" |
| 713 | :help "Fontify this buffer to varying degrees" | ||
| 699 | ["Toggle font-lock-mode" font-lock-mode :selected font-lock-mode | 714 | ["Toggle font-lock-mode" font-lock-mode :selected font-lock-mode |
| 700 | :style toggle] | 715 | :style toggle :help "Fontify text in this buffer"] |
| 701 | "--" | 716 | "--" |
| 702 | ["Light highlighting (level 1)" f90-font-lock-1 t] | 717 | ["Light highlighting (level 1)" f90-font-lock-1 t] |
| 703 | ["Moderate highlighting (level 2)" f90-font-lock-2 t] | 718 | ["Moderate highlighting (level 2)" f90-font-lock-2 t] |
| @@ -705,6 +720,7 @@ Can be overridden by the value of `font-lock-maximum-decoration'.") | |||
| 705 | ["Maximum highlighting (level 4)" f90-font-lock-4 t] | 720 | ["Maximum highlighting (level 4)" f90-font-lock-4 t] |
| 706 | ) | 721 | ) |
| 707 | ("Change Keyword Case" | 722 | ("Change Keyword Case" |
| 723 | :help "Change the case of keywords in the buffer or region" | ||
| 708 | ["Upcase Keywords (buffer)" f90-upcase-keywords t] | 724 | ["Upcase Keywords (buffer)" f90-upcase-keywords t] |
| 709 | ["Capitalize Keywords (buffer)" f90-capitalize-keywords t] | 725 | ["Capitalize Keywords (buffer)" f90-capitalize-keywords t] |
| 710 | ["Downcase Keywords (buffer)" f90-downcase-keywords t] | 726 | ["Downcase Keywords (buffer)" f90-downcase-keywords t] |
| @@ -717,13 +733,16 @@ Can be overridden by the value of `font-lock-maximum-decoration'.") | |||
| 717 | mark-active] | 733 | mark-active] |
| 718 | ) | 734 | ) |
| 719 | "--" | 735 | "--" |
| 720 | ["Toggle auto-fill" auto-fill-mode :selected auto-fill-function | 736 | ["Toggle Auto Fill" auto-fill-mode :selected auto-fill-function |
| 721 | :style toggle] | 737 | :style toggle |
| 722 | ["Toggle abbrev-mode" abbrev-mode :selected abbrev-mode | 738 | :help "Automatically fill text while typing in this buffer"] |
| 723 | :style toggle] | 739 | ["Toggle Abbrev Mode" abbrev-mode :selected abbrev-mode |
| 724 | ["Add imenu Menu" f90-add-imenu-menu | 740 | :style toggle :help "Expand abbreviations while typing in this buffer"] |
| 741 | ["Add Imenu Menu" f90-add-imenu-menu | ||
| 725 | :active (not (lookup-key (current-local-map) [menu-bar index])) | 742 | :active (not (lookup-key (current-local-map) [menu-bar index])) |
| 726 | :included (fboundp 'imenu-add-to-menubar)])) | 743 | :included (fboundp 'imenu-add-to-menubar) |
| 744 | :help "Add an index menu to the menu-bar" | ||
| 745 | ])) | ||
| 727 | map) | 746 | map) |
| 728 | "Keymap used in F90 mode.") | 747 | "Keymap used in F90 mode.") |
| 729 | 748 | ||