Tabbar很棒。它添加了emacs的标签。我用
加载它(require 'tabbar)
(tabbar-mode t)
我唯一的问题是,当emacs在重新启动时重新加载桌面时,选项卡会重新排序。您能否告诉我是否有任何方法让桌面保存过程保存标签的顺序?我试过这个但它没有用。
(desktop-save-mode 1)
(require 'saveplace)
(setq-default save-place t)
;(setq history-length 5500)
(add-to-list 'desktop-globals-to-save 'tabbar-drag-tab)
;(add-to-list 'desktop-globals-to-save 'tabbar-current-tabset)
;(add-to-list 'desktop-globals-to-save 'tabbar-tabsets)
;(add-to-list 'desktop-globals-to-save 'tabbar-tabs)
;(add-to-list 'desktop-globals-to-save 'tabbar-buffer-tabs)
;(add-to-list 'desktop-globals-to-save 'tabbar--buffers)
;(add-to-list 'desktop-globals-to-save 'tabbar--buffer-show-groups)
;(add-to-list 'desktop-globals-to-save 'tabbar-current-tabset)
;(add-to-list 'desktop-globals-to-save 'tabbar-tab-label)
;(add-to-list 'desktop-globals-to-save 'tabbar-select-tab)
;(add-to-list 'desktop-globals-to-save 'tabbar-help-on-tab)
;(add-to-list 'desktop-globals-to-save 'tabbar-button-label)
;(add-to-list 'desktop-globals-to-save 'tabbar-home)
;(add-to-list 'desktop-globals-to-save 'tabbar-home-help)