• 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)
    
  • 相关阅读:
    cocos2dx CCSprite自动拉伸全屏
    linux 安装输入法
    linux jdk 配置
    Proguard.cfg 配置
    C++基本概念
    查看android keystore 别名
    view onTouch,onClick,onLongClick
    LiteDB V4.1.4版本 查询日期写法 C#
    解决Highcharts 5.0.7,IE8下bar类型图表无法显示的问题
    AspNetCore AmbiguousMatchException: The request matched multiple endpoints. Matches
  • 原文地址:https://www.cnblogs.com/aqing1987/p/4799186.html
Copyright © 2020-2023  润新知