]> git.eshelyaron.com Git - emacs.git/commitdiff
Add README.TABS, declare lisp functions.
authorJan Djärv <jan.h.d@swipnet.se>
Fri, 2 Apr 2010 15:02:58 +0000 (17:02 +0200)
committerJan Djärv <jan.h.d@swipnet.se>
Fri, 2 Apr 2010 15:02:58 +0000 (17:02 +0200)
README.TABS [new file with mode: 0644]
lisp/native-tabs.el

diff --git a/README.TABS b/README.TABS
new file mode 100644 (file)
index 0000000..64a7cc8
--- /dev/null
@@ -0,0 +1,32 @@
+You can drag tabs to reorder them, drop them on another frame to move it there
+and drop on the root window to create a new frame.
+
+Lisp code is in native-tabs.el.  Keybindings are:
+
+      (global-set-key "\C-x7\C-f" 'find-file-new-tab)
+      (global-set-key "\C-x70" 'tab-delete)
+      (global-set-key "\C-x71" 'tab-delete-other)
+      (global-set-key "\C-x72" 'tab-new)
+      (global-set-key "\C-x73" 'switch-to-buffer-tab)
+      (global-set-key "\C-x7b" 'switch-to-buffer-other-tab)
+      (global-set-key "\C-x7f" 'find-file-new-tab)
+      (global-set-key "\C-x7o" 'tab-next)
+      (global-set-key "\C-x7n" 'tab<-next)
+      (global-set-key "\C-x7p" 'tab-previous)))
+
+
+The lisp interface is mostly in xfns.c:
+
+(find-file-new-tab FILENAME &optional WILDCARDS)
+(tab-new &optional LABEL FRAME)
+(tab-delete &optional KEY FRAME)
+(tab-delete-other &optional FRAME)
+(tab-set-label LABEL &optional FRAME)
+(tab-next &optional FRAME)
+(tab-previous &optional FRAME)
+(tab-nr-of-tabs &optional FRAME)
+(tab-configuration &optional FRAME)
+(tab-current &optional FRAME)
+(tab-show KEY FRAME)
+(switch-to-buffer-tab BUFFER-OR-NAME &optional FRAME)
+(switch-to-buffer-other-tab BUFFER-OR-NAME &optional NORECORD)
index fffcd156d2e432f935b61df23c2a1a66741e8ef7..2471d873ee55695149112b327ee5b2ed828c9d45 100644 (file)
 (declare-function tab-delete-other "xfns.c" ())
 (declare-function tab-next "xfns.c" ())
 (declare-function tab-previous "xfns.c" ())
+(declare-function tab-nr-of-tabs "xfns.c" ())
+(declare-function tab-configuration "xfns.c" ())
+(declare-function tab-current "xfns.c" ())
+(declare-function tab-show "xfns.c" ())
 
 (defun find-file-new-tab (filename &optional wildcards)
   "Edit file FILENAME, in a new tab.