Skip to content

Commit

Permalink
The Sunrise Commander -- version 6
Browse files Browse the repository at this point in the history
  • Loading branch information
escherdragon committed Jun 29, 2012
1 parent d67b721 commit 17c1039
Show file tree
Hide file tree
Showing 10 changed files with 61 additions and 71 deletions.
63 changes: 29 additions & 34 deletions sunrise-commander.el
Expand Up @@ -6,13 +6,13 @@
;; Štěpán Němec <stepnem@gmail.com> ;; Štěpán Němec <stepnem@gmail.com>
;; Maintainer: José Alfredo Romero L. <escherdragon@gmail.com> ;; Maintainer: José Alfredo Romero L. <escherdragon@gmail.com>
;; Created: 24 Sep 2007 ;; Created: 24 Sep 2007
;; Version: 5 ;; Version: 6
;; RCS Version: $Rev: 422 $ ;; RCS Version: $Rev: 423 $
;; Keywords: files, dired, midnight commander, norton, orthodox ;; Keywords: files, dired, midnight commander, norton, orthodox
;; URL: http://www.emacswiki.org/emacs/sunrise-commander.el ;; URL: http://www.emacswiki.org/emacs/sunrise-commander.el
;; Compatibility: GNU Emacs 22+ ;; Compatibility: GNU Emacs 22+


;; This file is *NOT* part of GNU Emacs. ;; This file is not part of GNU Emacs.


;; This program is free software: you can redistribute it and/or modify it under ;; This program is free software: you can redistribute it and/or modify it under
;; the terms of the GNU General Public License as published by the Free Software ;; the terms of the GNU General Public License as published by the Free Software
Expand All @@ -29,28 +29,19 @@


;;; Commentary: ;;; Commentary:


;; Here is another two-pane mc emulation layer for Emacs. It's built on top of ;; The Sunrise Commmander is an double-pane file manager for Emacs. It's built
;; Dired and takes advantage of all its features, offering at the same time the ;; atop of Dired and takes advantage of all its power, but also provides many
;; double pane interface I'd been missing so badly since I started using regu- ;; handy features of its own:
;; larly Emacs (for everything!). I tried both Ilya Zakharevich's nc.el and
;; Kevin Burton's mc.el, but none of them was what I was looking for (though
;; mc.el was near the ideal).

;; A lot of this code was once adapted from Kevin's mc.el, but it has evolved
;; quite a bit since then. Another part (the code for file copying and renaming)
;; derives originally from the Dired extensions written by Kurt Nørmark for LAML
;; (http://www.cs.aau.dk/~normark/scheme/distribution/laml/).

;; I have added to the mix many useful functions:


;; * Sunrise is implemented as a derived major mode confined inside the pane ;; * Sunrise is implemented as a derived major mode confined inside the pane
;; buffers, so its buffers and Dired ones can live together without easymenu or ;; buffers, so its buffers and Dired ones can live together without easymenu or
;; viper to avoid key binding collisions. ;; viper to avoid key binding collisions.


;; * It automatically closes unused buffers and tries to never keep open more ;; * It automatically closes unused buffers and tries to never keep open more
;; than the one or two used to display the panes. ;; than the one or two used to display the panes, though this behavior may be
;; disabled if desired.


;; * Each pane has its own history ring: press M-y / M-u for moving backwards / ;; * Each pane has its own history stack: press M-y / M-u for moving backwards /
;; forwards in the history of directories. ;; forwards in the history of directories.


;; * Press M-t to swap (transpose) the panes. ;; * Press M-t to swap (transpose) the panes.
Expand Down Expand Up @@ -164,14 +155,19 @@
;; There is no help window like in MC, but if you really miss it, just get and ;; There is no help window like in MC, but if you really miss it, just get and
;; install the sunrise-x-buttons extension. ;; install the sunrise-x-buttons extension.


;; A lot of this code was once adapted from Kevin's mc.el, but it has evolved
;; considerably since then. Another part (the code for file copying and
;; renaming) derives originally from the Dired extensions written by Kurt
;; Nørmark for LAML (http://www.cs.aau.dk/~normark/scheme/distribution/laml/).

;; It was written on GNU Emacs 24 on Linux and tested on GNU Emacs 22, 23 and 24 ;; It was written on GNU Emacs 24 on Linux and tested on GNU Emacs 22, 23 and 24
;; for Linux and on EmacsW32 (version 23) for Windows. I have also received ;; for Linux and on EmacsW32 (version 23) for Windows. I have also received
;; feedback from users reporting it works OK on the Mac. It does not work either ;; feedback from users reporting it works OK on the Mac. It does not work either
;; on GNU Emacs 21 or XEmacs -- please drop me a line if you would like to help ;; on GNU Emacs 21 or XEmacs -- please drop me a line if you would like to help
;; porting it. All contributions and/or bug reports will be very welcome. ;; porting it. All contributions and/or bug reports will be very welcome.


;; For more details on the file manager, extensions and cool tips & tricks visit ;; For more details on the file manager, several available extensions and many
;; http://www.emacswiki.org/emacs/Sunrise_Commander ;; cool tips & tricks visit http://www.emacswiki.org/emacs/Sunrise_Commander


;;; Installation and Usage: ;;; Installation and Usage:


Expand Down Expand Up @@ -387,9 +383,11 @@ displayed instead."
(defvar sr-prior-window-configuration nil (defvar sr-prior-window-configuration nil
"Window configuration before Sunrise was started.") "Window configuration before Sunrise was started.")


(defvar sr-running nil "True when Sunrise commander mode is running.") (defvar sr-running nil
"True when Sunrise commander mode is running.")


(defvar sr-synchronized nil "True when synchronized navigation is on") (defvar sr-synchronized nil
"True when synchronized navigation is on")


(defvar sr-current-window-overlay nil (defvar sr-current-window-overlay nil
"Holds the current overlay which marks the current Dired buffer.") "Holds the current overlay which marks the current Dired buffer.")
Expand All @@ -398,7 +396,7 @@ displayed instead."
"Overlay used to highlight the hot character (%) during CLEX operations.") "Overlay used to highlight the hot character (%) during CLEX operations.")


(defvar sr-left-directory "~/" (defvar sr-left-directory "~/"
"Dired directory for the left window. See the variable `dired-directory'.") "Dired directory for the left window. See variable `dired-directory'.")


(defvar sr-left-buffer nil (defvar sr-left-buffer nil
"Dired buffer for the left window.") "Dired buffer for the left window.")
Expand All @@ -407,7 +405,7 @@ displayed instead."
"The left window of Dired.") "The left window of Dired.")


(defvar sr-right-directory "~/" (defvar sr-right-directory "~/"
"Dired directory for the right window. See variable `dired-directory'.") "Dired directory for the right window. See variable `dired-directory'.")


(defvar sr-right-buffer nil (defvar sr-right-buffer nil
"Dired buffer for the right window.") "Dired buffer for the right window.")
Expand Down Expand Up @@ -451,7 +449,8 @@ element that is immediately beneath the top of the stack.")
"Flag that indicates that a CLEX operation is taking place.") "Flag that indicates that a CLEX operation is taking place.")


(defvar sr-virtual-buffer nil (defvar sr-virtual-buffer nil
"Local flag that indicates the current buffer was originally in VIRTUAL mode.") "Local flag that indicates the current buffer was originally in
VIRTUAL mode.")


(defvar sr-dired-directory "" (defvar sr-dired-directory ""
"Directory inside which `sr-mode' is currently active.") "Directory inside which `sr-mode' is currently active.")
Expand Down Expand Up @@ -482,8 +481,9 @@ Initial value is 2/3 the viewport height.")
(make-variable-buffer-local 'sr-backup-buffer) (make-variable-buffer-local 'sr-backup-buffer)


(defvar sr-goto-dir-function nil (defvar sr-goto-dir-function nil
"Function to use to navigate to a given directory, or nil to do the default. "Function to use to navigate to a given directory, or nil to do
The function receives one argument DIR, which is the directory to go to.") the default. The function receives one argument DIR, which is
the directory to go to.")


(defconst sr-side-lookup (list '(left . right) '(right . left)) (defconst sr-side-lookup (list '(left . right) '(right . left))
"Trivial alist used by the Sunrise Commander to lookup its own passive side.") "Trivial alist used by the Sunrise Commander to lookup its own passive side.")
Expand Down Expand Up @@ -1143,7 +1143,7 @@ the Sunrise Commander."
"Traditional commander-style keybindings for the Sunrise Commander.") "Traditional commander-style keybindings for the Sunrise Commander.")


(defcustom sr-use-commander-keys t (defcustom sr-use-commander-keys t
"Whether to use the traditional commander-style keys (F5 = copy, etc)." "Whether to use traditional commander-style function keys (F5 = copy, etc)"
:group 'sunrise :group 'sunrise
:type 'boolean :type 'boolean
:set (defun sr-set-commander-keys (symbol value) :set (defun sr-set-commander-keys (symbol value)
Expand All @@ -1155,17 +1155,12 @@ the Sunrise Commander."
(define-key sr-mode-map (car x) nil)) sr-commander-keys)) (define-key sr-mode-map (car x) nil)) sr-commander-keys))
(set-default symbol value))) (set-default symbol value)))


;; These are for backward compatibility:
(defun sunrise-mc-keys () "Currently does nothing" (interactive) (ignore))
(make-obsolete 'sunrise-mc-keys
"customize variable `sr-use-commander-keys' instead" "4R340")

;;; ============================================================================ ;;; ============================================================================
;;; Initialization and finalization functions: ;;; Initialization and finalization functions:


;;;###autoload ;;;###autoload
(defun sunrise (&optional left-directory right-directory filename) (defun sunrise (&optional left-directory right-directory filename)
"Toggle the Sunrise Commander FM. "Toggle the Sunrise Commander file manager.
If LEFT-DIRECTORY is given, the left window will display that If LEFT-DIRECTORY is given, the left window will display that
directory (same for RIGHT-DIRECTORY). Specifying nil for any of directory (same for RIGHT-DIRECTORY). Specifying nil for any of
these values uses the default, ie. $HOME." these values uses the default, ie. $HOME."
Expand Down
10 changes: 5 additions & 5 deletions sunrise-x-buttons.el
@@ -1,18 +1,18 @@
;;; sunrise-x-buttons.el --- mouse-clickable shortcut buttons for the Sunrise Commander File Manager -*- lexical-binding: t -*- ;;; sunrise-x-buttons.el --- mouse-clickable shortcut buttons for the Sunrise Commander File Manager -*- lexical-binding: t -*-


;; Copyright (C) 2008-2010 José Alfredo Romero Latouche. ;; Copyright (C) 2008-2012 José Alfredo Romero Latouche.


;; Author: José Alfredo Romero L. <escherdragon@gmail.com> ;; Author: José Alfredo Romero L. <escherdragon@gmail.com>
;; Štěpán Němec <stepnem@gmail.com> ;; Štěpán Němec <stepnem@gmail.com>
;; Maintainer: José Alfredo Romero L. <escherdragon@gmail.com> ;; Maintainer: José Alfredo Romero L. <escherdragon@gmail.com>
;; Created: 11 Jun 2008 ;; Created: 11 Jun 2008
;; Version: 1 ;; Version: 1
;; RCS Version: $Rev: 394 $ ;; RCS Version: $Rev: 423 $
;; Keywords: sunrise commander, shortcut buttons ;; Keywords: sunrise commander, shortcut buttons
;; URL: http://www.emacswiki.org/emacs/sunrise-x-buttons.el ;; URL: http://www.emacswiki.org/emacs/sunrise-x-buttons.el
;; Compatibility: GNU Emacs 22+ ;; Compatibility: GNU Emacs 22+


;; This file is *NOT* part of GNU Emacs. ;; This file is not part of GNU Emacs.


;; This program is free software: you can redistribute it and/or modify it under ;; This program is free software: you can redistribute it and/or modify it under
;; the terms of the GNU General Public License as published by the Free Software ;; the terms of the GNU General Public License as published by the Free Software
Expand Down Expand Up @@ -60,8 +60,8 @@
;;; Code: ;;; Code:


(require 'sunrise-commander) (require 'sunrise-commander)
(eval-when-compile (require 'cl)) (eval-when-compile (require 'cl)
(eval-when-compile (require 'cus-edit)) (require 'cus-edit))


(defvar sr-buttons-buffer-name "*Sunrise Buttons*" (defvar sr-buttons-buffer-name "*Sunrise Buttons*"
"Name of the Sunrise buttons buffer") "Name of the Sunrise buttons buffer")
Expand Down
10 changes: 4 additions & 6 deletions sunrise-x-checkpoints.el
@@ -1,18 +1,18 @@
;;; sunrise-x-checkpoints.el --- checkpoint bookmarks for the Sunrise Commander File Manager -*- lexical-binding: t -*- ;;; sunrise-x-checkpoints.el --- checkpoint bookmarks for the Sunrise Commander File Manager -*- lexical-binding: t -*-


;; Copyright (C) 2009-2010 José Alfredo Romero Latouche. ;; Copyright (C) 2009-2012 José Alfredo Romero Latouche.


;; Author: José Alfredo Romero L. <escherdragon@gmail.com> ;; Author: José Alfredo Romero L. <escherdragon@gmail.com>
;; Štěpán Němec <stepnem@gmail.com> ;; Štěpán Němec <stepnem@gmail.com>
;; Maintainer: José Alfredo Romero L. <escherdragon@gmail.com> ;; Maintainer: José Alfredo Romero L. <escherdragon@gmail.com>
;; Created: 29 Dec 2009 ;; Created: 29 Dec 2009
;; Version: 1 ;; Version: 1
;; RCS Version: $Rev: 374 $ ;; RCS Version: $Rev: 423 $
;; Keywords: sunrise commander, checkpoints, bookmarks ;; Keywords: sunrise commander, checkpoints, bookmarks
;; URL: http://www.emacswiki.org/emacs/sunrise-x-checkpoints.el ;; URL: http://www.emacswiki.org/emacs/sunrise-x-checkpoints.el
;; Compatibility: GNU Emacs 23+ ;; Compatibility: GNU Emacs 23+


;; This file is *NOT* part of GNU Emacs. ;; This file is not part of GNU Emacs.


;; This program is free software: you can redistribute it and/or modify it under ;; This program is free software: you can redistribute it and/or modify it under
;; the terms of the GNU General Public License as published by the Free Software ;; the terms of the GNU General Public License as published by the Free Software
Expand Down Expand Up @@ -40,9 +40,7 @@
;; other one is deprecated and will eventually disappear once Emacs 23+ becomes ;; other one is deprecated and will eventually disappear once Emacs 23+ becomes
;; the "stable" release. ;; the "stable" release.


;; This is version 1 $Rev: 374 $ of the Sunrise Commander Checkpoints Extension. ;; This extension was written and tested on GNU Emacs 23 on Linux.

;; It was written and tested on GNU Emacs 23 on Linux.


;;; Installation and Usage: ;;; Installation and Usage:


Expand Down
6 changes: 3 additions & 3 deletions sunrise-x-loop.el
@@ -1,18 +1,18 @@
;;; sunrise-x-loop.el --- asynchronous execution of filesystem operations for the Sunrise Commander File Manager -*- lexical-binding: t -*- ;;; sunrise-x-loop.el --- asynchronous execution of filesystem operations for the Sunrise Commander File Manager -*- lexical-binding: t -*-


;; Copyright (C) 2008-2010 José Alfredo Romero Latouche. ;; Copyright (C) 2008-2012 José Alfredo Romero Latouche.


;; Author: José Alfredo Romero L. <escherdragon@gmail.com> ;; Author: José Alfredo Romero L. <escherdragon@gmail.com>
;; Štěpán Němec <stepnem@gmail.com> ;; Štěpán Němec <stepnem@gmail.com>
;; Maintainer: José Alfredo Romero L. <escherdragon@gmail.com> ;; Maintainer: José Alfredo Romero L. <escherdragon@gmail.com>
;; Created: 27 Jun 2008 ;; Created: 27 Jun 2008
;; Version: 3 ;; Version: 3
;; RCS Version: $Rev: 394 $ ;; RCS Version: $Rev: 423 $
;; Keywords: sunrise commander, background copy rename move ;; Keywords: sunrise commander, background copy rename move
;; URL: http://www.emacswiki.org/emacs/sunrise-x-loop.el ;; URL: http://www.emacswiki.org/emacs/sunrise-x-loop.el
;; Compatibility: GNU Emacs 22+ ;; Compatibility: GNU Emacs 22+


;; This file is *NOT* part of GNU Emacs. ;; This file is not part of GNU Emacs.


;; This program is free software: you can redistribute it and/or modify it under ;; This program is free software: you can redistribute it and/or modify it under
;; the terms of the GNU General Public License as published by the Free Software ;; the terms of the GNU General Public License as published by the Free Software
Expand Down
6 changes: 3 additions & 3 deletions sunrise-x-mirror.el
@@ -1,18 +1,18 @@
;;; sunrise-x-mirror.el --- full read/write access to compressed archives for the Sunrise Commander File Manager -*- lexical-binding: t -*- ;;; sunrise-x-mirror.el --- full read/write access to compressed archives for the Sunrise Commander File Manager -*- lexical-binding: t -*-


;; Copyright (C) 2008-2011 José Alfredo Romero Latouche. ;; Copyright (C) 2008-2012 José Alfredo Romero Latouche.


;; Author: José Alfredo Romero L. <escherdragon@gmail.com> ;; Author: José Alfredo Romero L. <escherdragon@gmail.com>
;; Štěpán Němec <stepnem@gmail.com> ;; Štěpán Němec <stepnem@gmail.com>
;; Maintainer: José Alfredo Romero L. <escherdragon@gmail.com> ;; Maintainer: José Alfredo Romero L. <escherdragon@gmail.com>
;; Created: 4 May 2008 ;; Created: 4 May 2008
;; Version: 2 ;; Version: 2
;; RCS Version: $Rev: 396 $ ;; RCS Version: $Rev: 423 $
;; Keywords: sunrise commander, archives read/write ;; Keywords: sunrise commander, archives read/write
;; URL: http://www.emacswiki.org/emacs/sunrise-x-mirror.el ;; URL: http://www.emacswiki.org/emacs/sunrise-x-mirror.el
;; Compatibility: GNU Emacs 22+ ;; Compatibility: GNU Emacs 22+


;; This file is *NOT* part of GNU Emacs. ;; This file is not part of GNU Emacs.


;; This program is free software: you can redistribute it and/or modify it under ;; This program is free software: you can redistribute it and/or modify it under
;; the terms of the GNU General Public License as published by the Free Software ;; the terms of the GNU General Public License as published by the Free Software
Expand Down
6 changes: 3 additions & 3 deletions sunrise-x-modeline.el
@@ -1,18 +1,18 @@
;;; sunrise-x-modeline.el --- navigable mode line for the Sunrise Commander File Manager -*- lexical-binding: t -*- ;;; sunrise-x-modeline.el --- navigable mode line for the Sunrise Commander File Manager -*- lexical-binding: t -*-


;; Copyright (C) 2009-2010 José Alfredo Romero Latouche. ;; Copyright (C) 2009-2012 José Alfredo Romero Latouche.


;; Author: José Alfredo Romero L. <escherdragon@gmail.com> ;; Author: José Alfredo Romero L. <escherdragon@gmail.com>
;; Štěpán Němec <stepnem@gmail.com> ;; Štěpán Němec <stepnem@gmail.com>
;; Maintainer: José Alfredo Romero L. <escherdragon@gmail.com> ;; Maintainer: José Alfredo Romero L. <escherdragon@gmail.com>
;; Created: 10 Oct 2009 ;; Created: 10 Oct 2009
;; Version: 2 ;; Version: 2
;; RCS Version: $Rev: 394 $ ;; RCS Version: $Rev: 423 $
;; Keywords: sunrise commander, modeline, path mode line ;; Keywords: sunrise commander, modeline, path mode line
;; URL: http://www.emacswiki.org/emacs/sunrise-x-modeline.el ;; URL: http://www.emacswiki.org/emacs/sunrise-x-modeline.el
;; Compatibility: GNU Emacs 22+ ;; Compatibility: GNU Emacs 22+


;; This file is *NOT* part of GNU Emacs. ;; This file is not part of GNU Emacs.


;; This program is free software: you can redistribute it and/or modify it under ;; This program is free software: you can redistribute it and/or modify it under
;; the terms of the GNU General Public License as published by the Free Software ;; the terms of the GNU General Public License as published by the Free Software
Expand Down
12 changes: 5 additions & 7 deletions sunrise-x-old-checkpoints.el
@@ -1,18 +1,18 @@
;;; sunrise-x-old-checkpoints.el --- backward compatibility checkpoint functions for the Sunrise Commander File Manager ;;; sunrise-x-old-checkpoints.el --- backward compatibility checkpoint functions for the Sunrise Commander File Manager


;; Copyright (C) 2009-2010 José Alfredo Romero Latouche. ;; Copyright (C) 2009-2012 José Alfredo Romero Latouche.


;; Author: José Alfredo Romero L. <escherdragon@gmail.com> ;; Author: José Alfredo Romero L. <escherdragon@gmail.com>
;; Štěpán Němec <stepnem@gmail.com> ;; Štěpán Němec <stepnem@gmail.com>
;; Maintainer: José Alfredo Romero L. <escherdragon@gmail.com> ;; Maintainer: José Alfredo Romero L. <escherdragon@gmail.com>
;; Created: 28 Dec 2009 ;; Created: 28 Dec 2009
;; Version: 1 ;; Version: 1
;; RCS Version: $Rev: 374 $ ;; RCS Version: $Rev: 423 $
;; Keywords: sunrise commander, old checkpoints ;; Keywords: sunrise commander, old checkpoints
;; URL: http://www.emacswiki.org/emacs/sunrise-x-old-checkpoints.el ;; URL: http://www.emacswiki.org/emacs/sunrise-x-old-checkpoints.el
;; Compatibility: GNU Emacs 22 ;; Compatibility: GNU Emacs 22


;; This file is *NOT* part of GNU Emacs. ;; This file is not part of GNU Emacs.


;; This program is free software: you can redistribute it and/or modify it under ;; This program is free software: you can redistribute it and/or modify it under
;; the terms of the GNU General Public License as published by the Free Software ;; the terms of the GNU General Public License as published by the Free Software
Expand All @@ -36,10 +36,8 @@
;; your bookmarks.el, just add this extension to your .emacs.el to get back the ;; your bookmarks.el, just add this extension to your .emacs.el to get back the
;; original functionality. ;; original functionality.


;; This is version 1 $Rev: 374 $ of the Old Checkpoints Extension. ;; This extension was written on GNU Emacs 23 on Linux, and tested on GNU Emacs

;; 22 and 23 for Linux and on EmacsW32 (version 22) for Windows.
;; It was written on GNU Emacs 23 on Linux, and tested on GNU Emacs 22 and 23
;; for Linux and on EmacsW32 (version 22) for Windows.


;;; Installation and Usage: ;;; Installation and Usage:


Expand Down
6 changes: 3 additions & 3 deletions sunrise-x-popviewer.el
@@ -1,18 +1,18 @@
;;; sunrise-x-popviewer.el --- floating viewer window for the Sunrise Commander -*- lexical-binding: t -*- ;;; sunrise-x-popviewer.el --- floating viewer window for the Sunrise Commander -*- lexical-binding: t -*-


;; Copyright (C) 2008-2010 José Alfredo Romero L. ;; Copyright (C) 2008-2012 José Alfredo Romero L.


;; Author: José Alfredo Romero L. <escherdragon@gmail.com> ;; Author: José Alfredo Romero L. <escherdragon@gmail.com>
;; Štěpán Němec <stepnem@gmail.com> ;; Štěpán Němec <stepnem@gmail.com>
;; Maintainer: José Alfredo Romero L. <escherdragon@gmail.com> ;; Maintainer: José Alfredo Romero L. <escherdragon@gmail.com>
;; Created: 20 Aug 2008 ;; Created: 20 Aug 2008
;; Version: 3 ;; Version: 3
;; RCS Version: $Rev: 409 $ ;; RCS Version: $Rev: 423 $
;; Keywords: sunrise commander, windows, accessibility, viewer ;; Keywords: sunrise commander, windows, accessibility, viewer
;; URL: http://www.emacswiki.org/emacs/sunrise-x-popviewer.el ;; URL: http://www.emacswiki.org/emacs/sunrise-x-popviewer.el
;; Compatibility: GNU Emacs 22+ ;; Compatibility: GNU Emacs 22+


;; This file is *NOT* part of GNU Emacs. ;; This file is not part of GNU Emacs.


;; This program is free software: you can redistribute it and/or modify it under ;; This program is free software: you can redistribute it and/or modify it under
;; the terms of the GNU General Public License as published by the Free Software ;; the terms of the GNU General Public License as published by the Free Software
Expand Down
4 changes: 2 additions & 2 deletions sunrise-x-tabs.el
Expand Up @@ -7,12 +7,12 @@
;; Maintainer: José Alfredo Romero L. <escherdragon@gmail.com> ;; Maintainer: José Alfredo Romero L. <escherdragon@gmail.com>
;; Created: 24 Oct 2009 ;; Created: 24 Oct 2009
;; Version: 1 ;; Version: 1
;; RCS Version: $Rev: 421 $ ;; RCS Version: $Rev: 423 $
;; Keywords: sunrise commander, tabs ;; Keywords: sunrise commander, tabs
;; URL: http://www.emacswiki.org/emacs/sunrise-x-tabs.el ;; URL: http://www.emacswiki.org/emacs/sunrise-x-tabs.el
;; Compatibility: GNU Emacs 22+ ;; Compatibility: GNU Emacs 22+


;; This file is *NOT* part of GNU Emacs. ;; This file is not part of GNU Emacs.


;; This program is free software: you can redistribute it and/or modify it under ;; This program is free software: you can redistribute it and/or modify it under
;; the terms of the GNU General Public License as published by the Free Software ;; the terms of the GNU General Public License as published by the Free Software
Expand Down
9 changes: 4 additions & 5 deletions sunrise-x-tree.el
Expand Up @@ -7,12 +7,12 @@
;; Maintainer: José Alfredo Romero L. <escherdragon@gmail.com> ;; Maintainer: José Alfredo Romero L. <escherdragon@gmail.com>
;; Created: 4 May 2010 ;; Created: 4 May 2010
;; Version: 1 ;; Version: 1
;; RCS Version: $Rev: 422 $ ;; RCS Version: $Rev: 423 $
;; Keywords: sunrise commander, directories tree navigation ;; Keywords: sunrise commander, directories tree navigation
;; URL: http://www.emacswiki.org/emacs/sunrise-x-tree.el ;; URL: http://www.emacswiki.org/emacs/sunrise-x-tree.el
;; Compatibility: GNU Emacs 22+ ;; Compatibility: GNU Emacs 22+


;; This file is *NOT* part of GNU Emacs. ;; This file is not part of GNU Emacs.


;; This program is free software: you can redistribute it and/or modify it under ;; This program is free software: you can redistribute it and/or modify it under
;; the terms of the GNU General Public License as published by the Free Software ;; the terms of the GNU General Public License as published by the Free Software
Expand Down Expand Up @@ -195,10 +195,9 @@ Used by the command `sr-tree-explode-branch'."
"List of paths to big compressed archives visited through AVFS.") "List of paths to big compressed archives visited through AVFS.")


(defvar sr-tree-cursor nil (defvar sr-tree-cursor nil
;; FIXME better docstring -- what about LABEL?
"Cons cell of the from (LABEL . FILEPATH). "Cons cell of the from (LABEL . FILEPATH).
FILEPATH is the path to the selected directory in the current FILEPATH is the path to the selected directory in the current tree
tree view.") view. LABEL is the name displayed in the tree representing FILEPATH")


(defvar sr-tree-mode-map (make-sparse-keymap) (defvar sr-tree-mode-map (make-sparse-keymap)
"Keymap for the Sunrise Commander Tree View.") "Keymap for the Sunrise Commander Tree View.")
Expand Down

0 comments on commit 17c1039

Please sign in to comment.