• Fix header line conflict between tabbar and cedet


    Fix header line conflict between tabbar and cedet

    1 Problem Description

    When I open .c/.cpp file, tabbar header line is occupied by cedet semantic

    2 fix process

    add

    (global-semantic-stickyfunc-mode nil)
    

    in the last cfg line of cedet

    3 tabbar install

    • M-x package-list-packages
    • C-s tabbar
    • install
    • Cfg
    (add-to-list 'load-path "~/.emacs.d/elpa/tabbar-20141109.143/")
    (require 'tabbar)
    (tabbar-mode)
    
    (defun my-tabbar-buffer-groups ()  
      "Return the list of group names the current buffer belongs to.  
       Return a list of one element based on major mode."  
      (list  
       (cond  
        ((string-equal "*" (substring (buffer-name) 0 1))  
         "Emacs Buffer"  
         )  
        ((eq major-mode 'dired-mode)  
         "Dired"  
         )  
        (t  
         "User Buffer"  
         ))))  
    
    (setq tabbar-buffer-groups-function 'my-tabbar-buffer-groups)
    
  • 相关阅读:
    数据库SQL优化大总结之 百万级数据库优化方案
    2020春季学期第九周学习总结
    2020春季学期第八周学习总结
    《一线架构师实践指南》第三章Refined Architecture阶段学习总结
    2020春季学期第七周学习总结
    2020春季学期第六周学习总结
    《软件架构设计》阅读笔记三
    2020春季学期第四周学习总结
    数据分析练习-3.14进度
    《软件架构设计》阅读笔记二
  • 原文地址:https://www.cnblogs.com/aqing1987/p/4799186.html
Copyright © 2020-2023  润新知