zoukankan      html  css  js  c++  java
  • 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)
    
  • 相关阅读:
    dhl:有用的sql语句(我用到的)更新中....
    dhl:给Button设背景图片
    遍历一个类中的每一个属性、方法、公共字段
    swf、wmv、mov、RM几种常见格式视频播放器代码!
    理解Windows中的路由表和默认网关
    主/辅DNS服务器详细配置
    用组策略彻底禁止USB存储设备、光驱、软驱、ZIP软驱
    DHCP中继原理及配置--路由器
    路由器NAT功能配置简介
    网络负载平衡群集
  • 原文地址:https://www.cnblogs.com/aqing1987/p/4799186.html
Copyright © 2011-2022 走看看