Note that there are some explanatory texts on larger screens.

plurals
  1. POEmacs semantic lines
    primarykey
    data
    text
    <p>I tried a solution shown <a href="https://stackoverflow.com/questions/8038114/emacs-24-builtin-cedet-function-highlight">here</a> which did not work for me. Even just disabling decoration mode did not work. So now I am wondering exactly what these lines above my text are, and how I can disable them. Maybe it's not even semantic? I'm not really sure...</p> <p>Here's my dotfile:</p> <pre class="lang-lisp prettyprint-override"><code>(add-to-list 'load-path "~/.emacs.d/") (setq package-archives '(("gnu" . "http://elpa.gnu.org/packages/") ("marmalade" . "http://marmalade-repo.org/packages/") ("melpa" . "http://melpa.milkbox.net/packages/"))) (package-initialize) ;; auto-complete stuff ;;(require 'auto-complete) (require 'auto-complete-config) (ac-config-default) (auto-complete-mode 1) (semantic-mode 1) (global-ede-mode 1) (require 'semantic/ia) ;; Semantic (global-semantic-idle-completions-mode t) (global-semantic-decoration-mode t) (global-semantic-highlight-func-mode t) (global-semantic-show-unmatched-syntax-mode t) (add-hook 'c-mode-common-hook '(lambda () ;; ac-omni-completion-sources is made buffer local so ;; you need to add it to a mode hook to activate on ;; whatever buffer you want to use it with. This ;; example uses C mode (as you probably surmised). ;; auto-complete.el expects ac-omni-completion-sources to be ;; a list of cons cells where each cell's car is a regex ;; that describes the syntactical bits you want AutoComplete ;; to be aware of. The cdr of each cell is the source that will ;; supply the completion data. The following tells autocomplete ;; to begin completion when you type in a . or a -&gt; (add-to-list 'ac-omni-completion-sources (cons "\\." '(ac-source-semantic))) (add-to-list 'ac-omni-completion-sources (cons "-&gt;" '(ac-source-semantic))) ;; ac-sources was also made buffer local in new versions of ;; autocomplete. In my case, I want AutoComplete to use ;; semantic and yasnippet (order matters, if reversed snippets ;; will appear before semantic tag completions). (setq ac-sources '(ac-source-semantic ac-source-yasnippet)) )) (require 'semantic/scope) (require 'xcscope) (require 'semantic/symref) ;(semanticdb-enable-cscope-databases) ;;This is causing problems ;;C mode ;(require 'cc-mode) ;; ;;Color theme ;; (require 'color-theme) ;; (setq color-theme-is-global t) ;; (add-to-list 'load-path "/home/bob/.emacs.d/theme/ample-theme/ample-theme.el") ;; ;;(require 'ample-theme) ;; (eval-after-load "color-theme" ;; '(progn ;; (color-theme-initialize) ;; (color-theme-jsc-dark))) ;;set font (set-face-attribute 'default nil :family "Anonymous Pro" :height 140) ;;line numbers (global-linum-mode 1) (custom-set-variables '(linum-format (quote "%4d "))) ;;treat .h files at C++ (add-to-list 'auto-mode-alist '("\\.h\\'" . c++-mode)) ;; use F5 as compile (global-set-key [(f5)] 'compile) ;; make compilation window smaller (setq compilation-window-height 8) </code></pre> <p><img src="https://i.stack.imgur.com/IPmxE.png" alt="enter image description here"></p>
    singulars
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload