diff options
| author | Glenn Morris | 2013-02-23 13:49:41 -0800 |
|---|---|---|
| committer | Glenn Morris | 2013-02-23 13:49:41 -0800 |
| commit | 3296c4430fd307a2efe869b66fcbf4240a91cb32 (patch) | |
| tree | fc5cee178534f8f0fd67ac413e5c75c66fb4a811 | |
| parent | fd7436285b30a9396f1953e46d5cc6074a80a9b5 (diff) | |
| download | emacs-3296c4430fd307a2efe869b66fcbf4240a91cb32.tar.gz emacs-3296c4430fd307a2efe869b66fcbf4240a91cb32.zip | |
Make simula.el special bug reporting obsolete
* progmodes/simula.el (simula-mode-menu, simula-mode-map):
Remove bug report entries.
(simula-mode-help-address, simula-submit-bug-report): Make obsolete.
| -rw-r--r-- | lisp/ChangeLog | 4 | ||||
| -rw-r--r-- | lisp/progmodes/simula.el | 34 |
2 files changed, 10 insertions, 28 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog index 631216da989..78df4eada32 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog | |||
| @@ -1,5 +1,9 @@ | |||
| 1 | 2013-02-23 Glenn Morris <rgm@gnu.org> | 1 | 2013-02-23 Glenn Morris <rgm@gnu.org> |
| 2 | 2 | ||
| 3 | * progmodes/simula.el (simula-mode-menu, simula-mode-map): | ||
| 4 | Remove bug report entries. | ||
| 5 | (simula-mode-help-address, simula-submit-bug-report): Make obsolete. | ||
| 6 | |||
| 3 | * emacs-lisp/bytecomp.el (byte-compile-level): New. | 7 | * emacs-lisp/bytecomp.el (byte-compile-level): New. |
| 4 | (byte-compile-file, byte-compile-from-buffer): | 8 | (byte-compile-file, byte-compile-from-buffer): |
| 5 | Use separate input/output buffers for each level of recursive | 9 | Use separate input/output buffers for each level of recursive |
diff --git a/lisp/progmodes/simula.el b/lisp/progmodes/simula.el index d71c9adbef4..77732ed3241 100644 --- a/lisp/progmodes/simula.el +++ b/lisp/progmodes/simula.el | |||
| @@ -244,8 +244,7 @@ for SIMULA mode to function correctly." | |||
| 244 | ; it determines the flavor of the Emacs running | 244 | ; it determines the flavor of the Emacs running |
| 245 | 245 | ||
| 246 | (defvar simula-mode-menu | 246 | (defvar simula-mode-menu |
| 247 | '(["Report Bug" simula-submit-bug-report t] | 247 | '(["Indent Line" simula-indent-line t] |
| 248 | ["Indent Line" simula-indent-line t] | ||
| 249 | ["Backward Statement" simula-previous-statement t] | 248 | ["Backward Statement" simula-previous-statement t] |
| 250 | ["Forward Statement" simula-next-statement t] | 249 | ["Forward Statement" simula-next-statement t] |
| 251 | ["Backward Up Level" simula-backward-up-level t] | 250 | ["Backward Up Level" simula-backward-up-level t] |
| @@ -286,10 +285,6 @@ for SIMULA mode to function correctly." | |||
| 286 | ;; Emacs 19 defines menus in the mode map | 285 | ;; Emacs 19 defines menus in the mode map |
| 287 | (define-key map [menu-bar simula] | 286 | (define-key map [menu-bar simula] |
| 288 | (cons "SIMULA" (make-sparse-keymap "SIMULA"))) | 287 | (cons "SIMULA" (make-sparse-keymap "SIMULA"))) |
| 289 | (define-key map [menu-bar simula bug-report] | ||
| 290 | '("Submit Bug Report" . simula-submit-bug-report)) | ||
| 291 | (define-key map [menu-bar simula separator-indent] | ||
| 292 | '("--")) | ||
| 293 | (define-key map [menu-bar simula indent-exp] | 288 | (define-key map [menu-bar simula indent-exp] |
| 294 | '("Indent Expression" . simula-indent-exp)) | 289 | '("Indent Expression" . simula-indent-exp)) |
| 295 | (define-key map [menu-bar simula indent-line] | 290 | (define-key map [menu-bar simula indent-line] |
| @@ -1622,28 +1617,11 @@ If not nil and not t, move to limit of search and return nil." | |||
| 1622 | (defconst simula-mode-help-address "bug-gnu-emacs@gnu.org" | 1617 | (defconst simula-mode-help-address "bug-gnu-emacs@gnu.org" |
| 1623 | "Address accepting submission of `simula-mode' bug reports.") | 1618 | "Address accepting submission of `simula-mode' bug reports.") |
| 1624 | 1619 | ||
| 1625 | (defun simula-submit-bug-report () | 1620 | (make-obsolete-variable 'simula-mode-help-address 'report-emacs-bug-address |
| 1626 | "Submit via mail a bug report on `simula-mode'." | 1621 | "24.4") |
| 1627 | (interactive) | 1622 | |
| 1628 | (and | 1623 | (define-obsolete-function-alias 'simula-submit-bug-report |
| 1629 | (y-or-n-p "Do you want to submit a report on simula-mode? ") | 1624 | 'report-emacs-bug "24.4") |
| 1630 | (reporter-submit-bug-report | ||
| 1631 | simula-mode-help-address | ||
| 1632 | (concat "simula-mode from Emacs " emacs-version) | ||
| 1633 | (list | ||
| 1634 | ;; report only the vars that affect indentation | ||
| 1635 | 'simula-indent-level | ||
| 1636 | 'simula-substatement-offset | ||
| 1637 | 'simula-continued-statement-offset | ||
| 1638 | 'simula-label-offset | ||
| 1639 | 'simula-if-indent | ||
| 1640 | 'simula-inspect-indent | ||
| 1641 | 'simula-electric-indent | ||
| 1642 | 'simula-abbrev-keyword | ||
| 1643 | 'simula-abbrev-stdproc | ||
| 1644 | 'simula-abbrev-file | ||
| 1645 | 'simula-tab-always-indent | ||
| 1646 | )))) | ||
| 1647 | 1625 | ||
| 1648 | (provide 'simula) | 1626 | (provide 'simula) |
| 1649 | 1627 | ||