summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthew Kennedy <mkennedy@gentoo.org>2003-11-16 19:38:33 +0000
committerMatthew Kennedy <mkennedy@gentoo.org>2003-11-16 19:38:33 +0000
commite6c0f75cce37cb173f82bfc7a075077e9b180cda (patch)
tree4886a8de5cb1871bb72d3d3e82815e6bc28809b9 /app-emacs/semantic/files
parentrefine defaults (diff)
downloadhistorical-e6c0f75cce37cb173f82bfc7a075077e9b180cda.tar.gz
historical-e6c0f75cce37cb173f82bfc7a075077e9b180cda.tar.bz2
historical-e6c0f75cce37cb173f82bfc7a075077e9b180cda.zip
refine defaults
Diffstat (limited to 'app-emacs/semantic/files')
-rw-r--r--app-emacs/semantic/files/60semantic-gentoo.el25
-rw-r--r--app-emacs/semantic/files/digest-semantic-1.4.4-r11
2 files changed, 25 insertions, 1 deletions
diff --git a/app-emacs/semantic/files/60semantic-gentoo.el b/app-emacs/semantic/files/60semantic-gentoo.el
index 6c069aaed11c..3a7bf744162f 100644
--- a/app-emacs/semantic/files/60semantic-gentoo.el
+++ b/app-emacs/semantic/files/60semantic-gentoo.el
@@ -3,5 +3,28 @@
(setq load-path (cons "@SITELISP@" load-path))
(require 'semantic-util)
-(setq semantic-load-turn-everything-on t)
+
+;; To determine what should be done here every semantic release, check
+;; semantic-load.el. Here we replicate the (when ... sexp twoards the
+;; end of the source.
+
+;; We turn on everything except foor `global-semantic-stickyfunc-mode'
+;; as it seems to be a source of consternation for new and experienced
+;; users alike.
+
+(setq semantic-load-turn-everything-on nil
+ semantic-load-turn-useful-things-on nil)
(require 'semantic-load)
+
+(global-semantic-show-dirty-mode 1)
+(global-senator-minor-mode 1)
+(global-semantic-show-unmatched-syntax-mode 1)
+(global-semantic-auto-parse-mode 1)
+(global-semanticdb-minor-mode 1)
+(global-semantic-summary-mode 1)
+;; (global-semantic-stickyfunc-mode 1)
+
+(when (and (eq window-system 'x)
+ (locate-library "imenu"))
+ (add-hook 'semantic-init-hooks (lambda ()
+ (imenu-add-to-menubar "TOKENS"))))
diff --git a/app-emacs/semantic/files/digest-semantic-1.4.4-r1 b/app-emacs/semantic/files/digest-semantic-1.4.4-r1
new file mode 100644
index 000000000000..814d5c3a9405
--- /dev/null
+++ b/app-emacs/semantic/files/digest-semantic-1.4.4-r1
@@ -0,0 +1 @@
+MD5 9b3780695154dc66e1ecbdc40c0541a0 semantic-1.4.4.tar.gz 322819