* Sunrise Commander: Version 3 released. @ 2009-02-28 16:05 escherdragon 2009-03-01 2:06 ` Leo ` (2 more replies) 0 siblings, 3 replies; 14+ messages in thread From: escherdragon @ 2009-02-28 16:05 UTC (permalink / raw) To: help-gnu-emacs Hello, Emacs Community! Just to inform you that version 3 of the Sunrise Commander file manager for GNU Emacs is already available at http://joseito.republika.pl/sunrise-commander.el.gz For more details on the Sunrise Commander and some of its extensions, please check the Emacs Wiki page: http://www.emacswiki.org/emacs/Sunrise_Commander Here's a short summary of the improvements made since version 2 (rev. 61) was released: + Passive navigation (in passive pane). + Synchronized navigation (in both panes). + List of directories in active pane's history ring. + Comparison of directories by file contents (using MD5 sums). + Creation of hard and symbolic, absolute and relative links (in systems that support them). + Easy resizing of the panes (using "[" and "]"). + Customizable directory history length. + Improved support for Editable Dired (WDired) mode in regular, as well as in virtual panes (Careful with that axe, Eugene! Be sure to play a while with this feature before using it for real). + Improved hiding of file attributes: it's now sticky in each pane and there's a variable that can be customized to have them hidden from the start. + Improved display of hidden files: it's now sticky and there's a variable that can be customized to have them displayed from the start. + Improved management of Sunrise buffers: never more than 2 Sunrise buffers are now kept alive. + Improved management of open terminals, including automatic renaming, so the last opened one is always named "*terminal*". + Virtual copy (copying files/directories to a virtual pane that can be later saved to a regular file). + New command line expansion (CLEX) macros: %n, %N (expand to file names without paths). + Fixed execution of dired-do-query-replace-regexp (Q), dired-do-find- marked-files (F) and dired-do-search (A) from inside Sunrise. + Fast backup of marked files (@!). + Customizable font-lock colors and styles. + Vertical locking of panes. + Start and Quit hooks. Enjoy ;) -- José A. Romero L. escherdragon at gmail dot com. "We who cut mere stones must always be envisioning cathedrals." (Quarry worker's creed) ^ permalink raw reply [flat|nested] 14+ messages in thread
* Re: Sunrise Commander: Version 3 released. 2009-02-28 16:05 Sunrise Commander: Version 3 released escherdragon @ 2009-03-01 2:06 ` Leo [not found] ` <mailman.2120.1235873238.31690.help-gnu-emacs@gnu.org> 2009-03-13 7:30 ` rustom 2 siblings, 0 replies; 14+ messages in thread From: Leo @ 2009-03-01 2:06 UTC (permalink / raw) To: help-gnu-emacs On 2009-02-28 16:05 +0000, escherdragon@gmail.com wrote: > For more details on the Sunrise Commander and some of its extensions, > please check the Emacs Wiki page: > http://www.emacswiki.org/emacs/Sunrise_Commander The logo looks beautiful. BTW, have sent your package to emacs sources? -- .: Leo :. [ sdl.web AT gmail.com ] .: I use Emacs :. ^ permalink raw reply [flat|nested] 14+ messages in thread
[parent not found: <mailman.2120.1235873238.31690.help-gnu-emacs@gnu.org>]
* Re: Sunrise Commander: Version 3 released. [not found] ` <mailman.2120.1235873238.31690.help-gnu-emacs@gnu.org> @ 2009-03-01 17:23 ` escherdragon 0 siblings, 0 replies; 14+ messages in thread From: escherdragon @ 2009-03-01 17:23 UTC (permalink / raw) To: help-gnu-emacs On Mar 1, 3:06 am, Leo <sdl....@gmail.com> wrote: > On 2009-02-28 16:05 +0000, escherdra...@gmail.com wrote: (...) > have sent your package to emacs sources? (...) No, I hadn't. Thanks for reminding me :) Cheers, -- José A. Romero L. escherdragon at gmail dot com. "We who cut mere stones must always be envisioning cathedrals." (Quarry worker's creed) ^ permalink raw reply [flat|nested] 14+ messages in thread
* Re: Sunrise Commander: Version 3 released. 2009-02-28 16:05 Sunrise Commander: Version 3 released escherdragon 2009-03-01 2:06 ` Leo [not found] ` <mailman.2120.1235873238.31690.help-gnu-emacs@gnu.org> @ 2009-03-13 7:30 ` rustom 2009-03-17 20:00 ` escherdragon 2 siblings, 1 reply; 14+ messages in thread From: rustom @ 2009-03-13 7:30 UTC (permalink / raw) To: help-gnu-emacs; +Cc: escherdragon On Feb 28, 9:05 pm, escherdra...@gmail.com wrote: > Hello, Emacs Community! > > Just to inform you that version 3 of the Sunrise Commander file > manager for GNU Emacs is already available athttp://joseito.republika.pl/sunrise-commander.el.gz > -- > -- > José A. Romero L. Hello Jose! Any suggestions for someone wanting to learn to use sunrise?? I know in some theoretical way that nc (like) tools can race ahead of windows-explorer, shell, dired or anything. But somehow in practice I cannot dig into these. Yeah I know about http://www.softpanorama.org/OFM/index.shtml but I dont find enough practical material there ^ permalink raw reply [flat|nested] 14+ messages in thread
* Re: Sunrise Commander: Version 3 released. 2009-03-13 7:30 ` rustom @ 2009-03-17 20:00 ` escherdragon 2009-03-18 8:57 ` rustom 0 siblings, 1 reply; 14+ messages in thread From: escherdragon @ 2009-03-17 20:00 UTC (permalink / raw) To: help-gnu-emacs On 13 Mar, 08:30, rustom <rustompm...@gmail.com> wrote: (...) > Any suggestions for someone wanting to learn to usesunrise?? (...) (Ooops, I didn't notice this was sent to the newsgroup. Here is the answer I sent to Rustom:) The Sunrise Commander is just another OFM, so experience with any other file manager of the same family (Norton, Midnight, Total, Far, etc, etc, etc) is all you need to know the philosophy and basic capabilities of all of them. 0) Find two good key shortcuts and assign them to the sunrise and sunrise-cd functions (e.g. mine are C-c x and C-c X). 1) To get acquainted specifically with the capabilities offered by Sunrise, I think the best first step is to get and install the Buttons extension from: http://joseito.republika.pl/sunrise-x-buttons.el.gz it'll provide you with a nice third pane (at the bottom) with buttons you can click to perform many basic operations. The trick with those buttons is that they're labeled with their equivalent shortcuts, so in no time you memorize them so you don't have to reach out for the mouse. In general the highest productivity can be achieved when using exclusively the keyboard -- use the mouse rather as kind of side-wheels to learn the basics (or to work while eating a sandwich), then just drop it. 2) Once you know the buttons, go for the listing of bindings in the describe-mode message (just press h while in sunrise mode). 3) You'll be best set off with Sunrise if you use some kind of Linux or MacOS X. On Windows there's unfortunately a heck lot of stuff you have to set up first to make all the emacs capabilities integrated in Sunrise work. In particular try to have AVFS running in your box -- it will allow to transparently navigate into all kinds of archives (zip, rar, jar, even mbox) -- great deal. Unfortunately AFAIK there's no AVFS for Windows. BTW Archlinux offers Sunrise with AVFS and other goodies conveniently placed in one single package. 4) Explore all the configuration capabilities Sunrise offers by typing: M-x configure-group RET sunrise RET 5) Master Emacs Dired. After all, Sunrise is nothing more than a fancy front end for all the amazing capabilities Dired offers. One aspect of dired I've found particularly useful is dired marks (m marks one file, t toggles all marks in the current directory, u unmarks one file, U removes all marks). Most Sunrise and Dired commands can work on all marked files and directories at once. 6) Learn Emacs. The WDired mode (C-x C-q) puts you in a regular emacs buffer that gives you all the possibilities you normally have while editing text to manipulate the names of your files and directories -- query replace, regular expressions, serial numbering... your imagination is the only limit. Just one warning: be careful and play a LOT with it before using it for real, so there are no surprises later and you don't shoot yourself in the foot. 7) Don't forget a OFM is just a semi-graphical extension of the command line. Learn when it's preferable to use the command line instead of the FM. Learn to use the FM to move fast through your directory hierarchy (e.g. use C-c t and C-c T to activate the CL from Sunrise, and the sunrise and sunrise-cd methods to switch to fullscreen CL and back to Sunrise from there. If you're using an external shell for the CL (e.g. bash, or ksh, instead of eshell), learn when to use C-c C-j and C-c C-k to switch between line and character mode. Learn to use CLEX tags (%f, %F, %d, %D, etc) to write fast your paths and file names in the CL. Cheers, -- José A. Romero L. escherdragon@gmail.com "We who cut mere stones must always be envisioning cathedrals." (Quarry worker's creed) ^ permalink raw reply [flat|nested] 14+ messages in thread
* Re: Sunrise Commander: Version 3 released. 2009-03-17 20:00 ` escherdragon @ 2009-03-18 8:57 ` rustom 2009-03-18 9:42 ` escherdragon ` (2 more replies) 0 siblings, 3 replies; 14+ messages in thread From: rustom @ 2009-03-18 8:57 UTC (permalink / raw) To: help-gnu-emacs Thanks José for all the points I continue to try to make my usage of file mgmt better. Here are some small attempts and questions: > 5) Master Emacs Dired. After all, Sunrise is nothing more than a fancy front end for all the > amazing capabilities Dired offers. So trying to go back to using dired better I discover that right-click open is a commonly used paradigm. [Note: Its not the mouse thats important -- the windows application does the same job better -- its the functionality] So I found this (somewhere in eshell on wiki?? dont remember) (defun eshell/op (FILE) "Invoke (w32-shell-execute \"Open\" FILE) and substitute slashes for backslashes" (w32-shell-execute "Open" (substitute ?\\ ?/ (expand-file-name FILE)))) This makes the command `op file' behave like double click in eshell So then I need to redefine dired-find-file thus: (defun dired-find-file () (interactive) (eshell/op (dired-get-file-for-visit)) ) So some questions: How do you put such a redefinition on a hook? (Needs to be defuned after dired is require-d) It needs to be more sophisticated: eg this way hitting return on a directory opens windows explorer but it should probably open another dired. More generally all the emacs-ish should stay in emacs with the w32-shell-execute only used as a catch-all for files that emacs cant/ shouldnt handle. ^ permalink raw reply [flat|nested] 14+ messages in thread
* Re: Sunrise Commander: Version 3 released. 2009-03-18 8:57 ` rustom @ 2009-03-18 9:42 ` escherdragon 2009-03-18 12:26 ` rustom 2009-03-18 14:51 ` Drew Adams [not found] ` <mailman.3502.1237387928.31690.help-gnu-emacs@gnu.org> 2 siblings, 1 reply; 14+ messages in thread From: escherdragon @ 2009-03-18 9:42 UTC (permalink / raw) To: help-gnu-emacs On Mar 18, 9:57 am, rustom <rustompm...@gmail.com> wrote: (...) > This makes the command `op file' behave like double click in eshell > > So then I need to redefine dired-find-file thus: > > (defun dired-find-file () > (interactive) > (eshell/op (dired-get-file-for-visit)) > ) > > So some questions: > How do you put such a redefinition on a hook? (Needs to be defuned > after dired is require-d) > It needs to be more sophisticated: eg this way hitting return on a > directory opens windows explorer but it should probably open another > dired. More generally all the emacs-ish should stay in emacs with the > w32-shell-execute only used as a catch-all for files that emacs cant/ > shouldnt handle. Oh, once again I forgot point 0.5 :) 0.5) Get and install Markus Triska's openwith -- it will allow to open your files using external programs based on file extension. It can be found in the Emacs Wiki: http://www.emacswiki.org/emacs/OpenWith Isn't this solution good enough? I find it fantastic, but to be honest I haven't tried it on Windows. Another possibility for you rodent lovers ;-) would be to give dired- dd (http://www.asahi-net.or.jp/~pi9s-nnb/dired-dd-home.html) a try. Unfortunately it won't work right out of the box with sunrise, but after applying the following patch to dired-dd it does (I'm currently trying to get in contact with the author to have it included in the standard distribution of dired-dd): *************************** CUT HERE *************************** 1569c1569 < (if (not (eq major-mode 'dired-mode)) --- > (if (not (derived-mode-p 'dired-mode)) 1793c1793 < (if (eq 'dired-mode major-mode) --- > (if (derived-mode-p 'dired-mode) 1836c1836 < (if (setq target-diredp (eq 'dired-mode major-mode)) --- > (if (setq target-diredp (derived-mode-p 'dired-mode)) *************************** CUT HERE *************************** I could write a sunrise extension to make sunrise appear as clean dired to dired-dd (in fact I already have) but I think this direct modification of dired-dd is a more elegant solution. For a better effect add this to your .emacs file after requiring dired-dd: (setq dired-dd-find-file-method 'sr-advertised-find-file) Dired DD has all bells and whistles one can possibly imagine for the mouse (even assigning sounds to operations!) Cheers, -- José A. Romero L. escherdragon@gmail.com "We who cut mere stones must always be envisioning cathedrals." (Quarry worker's creed) ^ permalink raw reply [flat|nested] 14+ messages in thread
* Re: Sunrise Commander: Version 3 released. 2009-03-18 9:42 ` escherdragon @ 2009-03-18 12:26 ` rustom 2009-03-18 14:56 ` Drew Adams 2009-03-18 16:58 ` escherdragon 0 siblings, 2 replies; 14+ messages in thread From: rustom @ 2009-03-18 12:26 UTC (permalink / raw) To: help-gnu-emacs On Mar 18, 2:42 pm, escherdra...@gmail.com wrote: > On Mar 18, 9:57 am, rustom <rustompm...@gmail.com> wrote: > (...) > > > > > This makes the command `op file' behave like double click in eshell > > > So then I need to redefine dired-find-file thus: > > > (defun dired-find-file () > > (interactive) > > (eshell/op (dired-get-file-for-visit)) > > ) > > > So some questions: > > How do you put such a redefinition on a hook? (Needs to be defuned > > after dired is require-d) > > It needs to be more sophisticated: eg this way hitting return on a > > directory opens windows explorer but it should probably open another > > dired. More generally all the emacs-ish should stay in emacs with the > > w32-shell-execute only used as a catch-all for files that emacs cant/ > > shouldnt handle. > > Oh, once again I forgot point 0.5 :) > > 0.5) Get and install Markus Triska's openwith -- it will allow to open > your files using external programs based on file extension. It can be > found in the Emacs Wiki:http://www.emacswiki.org/emacs/OpenWith > > Isn't this solution good enough? I find it fantastic, but to be honest > I haven't tried it on Windows. Does not work on windows. > > Another possibility for you rodent lovers ;-) would be to give dired- > dd (http://www.asahi-net.or.jp/~pi9s-nnb/dired-dd-home.html) a try. Actually I am quite rodent-allergic. The problem is that windows keeps a helluva lot of info in the registry and a program that does not use it effectively (aka vanilla emacs) is not well clued in. The w32-shell-execute open... at least allows to do 'the right' thing on a given file. > Unfortunately it won't work right out of the box with sunrise, but > after applying the following patch to dired-dd it does (I'm currently > trying to get in contact with the author to have it included in the > standard distribution of dired-dd): ^ permalink raw reply [flat|nested] 14+ messages in thread
* RE: Sunrise Commander: Version 3 released. 2009-03-18 12:26 ` rustom @ 2009-03-18 14:56 ` Drew Adams 2009-03-18 16:58 ` escherdragon 1 sibling, 0 replies; 14+ messages in thread From: Drew Adams @ 2009-03-18 14:56 UTC (permalink / raw) To: 'rustom', help-gnu-emacs > Actually I am quite rodent-allergic. > The problem is that windows keeps a helluva lot of info in the > registry and a program that does not use it effectively (aka vanilla > emacs) is not well clued in. The w32-shell-execute open... at least > allows to do 'the right' thing on a given file. http://www.emacswiki.org/emacs/MsShellExecute (And DiredPlus uses `w32browser.el', described at that URL, to pick up Windows file associations.) ^ permalink raw reply [flat|nested] 14+ messages in thread
* Re: Sunrise Commander: Version 3 released. 2009-03-18 12:26 ` rustom 2009-03-18 14:56 ` Drew Adams @ 2009-03-18 16:58 ` escherdragon 1 sibling, 0 replies; 14+ messages in thread From: escherdragon @ 2009-03-18 16:58 UTC (permalink / raw) To: help-gnu-emacs On 18 Mar, 13:26, rustom <rustompm...@gmail.com> wrote: (...) > > 0.5) Get and install Markus Triska's openwith -- it will allow to open > > your files using external programs based on file extension. It can be > > found in the Emacs Wiki:http://www.emacswiki.org/emacs/OpenWith > > > Isn't this solution good enough? I find it fantastic, but to be honest > > I haven't tried it on Windows. > > Does not work on windows. Oh, that's a real shame. Luckily not hard to fix :) I've just submitted the following patch for Mr. Triska to consider applying it to the standard distribution: *************************** CUT HERE *************************** --- openwith.el 2009-01-19 10:26:09.000000000 +0100 +++ openwith.el 2009-03-18 15:44:30.000000000 +0100 @@ -75,16 +75,19 @@ (setq oa (car assocs) assocs (cdr assocs)) (when (save-match-data (string-match (car oa) file)) - (let ((params (mapcar (lambda (x) (if (eq x 'file) file x)) - (nth 2 oa)))) - (when (or (not openwith-confirm-invocation) - (y-or-n-p (format "%s %s? " (cadr oa) - (mapconcat #'identity params " ")))) - (apply #'start-process "openwith-process" nil (cadr oa) params) - (kill-buffer nil) - ;; inhibit further actions - (error "Opened %s in external program" - (file-name-nondirectory file)))))))) + (let ((params (mapcar (lambda (x) (if (eq x 'file) file x)) + (nth 2 oa)))) + (when (or (not openwith-confirm-invocation) + (y-or-n-p (format "%s %s? " (cadr oa) + (mapconcat #'identity params " ")))) + (if (and (fboundp 'w32-shell-execute) + (string= "open" (nth 1 oa))) + (w32-shell-execute "open" file) + (apply #'start-process "openwith-process" nil (cadr oa) params)) + (kill-buffer nil) + ;; inhibit further actions + (error "Opened %s in external program" + (file-name-nondirectory file)))))))) ;; when no association was found, relay the operation to other handlers (let ((inhibit-file-name-handlers (cons 'openwith-file-handler *************************** CUT HERE *************************** with this modification, openwith works OK on windows too. You configure it the same way one does in linux: M-x customize-variable RET openwith-associations RET just instead of using real program names, use the string "open" (without the quotes) as the program to open all the extensions of the files you want managed directly by windows. Hope this helps. Cheers, -- José A. Romero L. escherdragon@gmail.com "We who cut mere stones must always be envisioning cathedrals." (Quarry worker's creed) ^ permalink raw reply [flat|nested] 14+ messages in thread
* RE: Sunrise Commander: Version 3 released. 2009-03-18 8:57 ` rustom 2009-03-18 9:42 ` escherdragon @ 2009-03-18 14:51 ` Drew Adams [not found] ` <mailman.3502.1237387928.31690.help-gnu-emacs@gnu.org> 2 siblings, 0 replies; 14+ messages in thread From: Drew Adams @ 2009-03-18 14:51 UTC (permalink / raw) To: 'rustom', help-gnu-emacs > > 5) Master Emacs Dired. After all, Sunrise is nothing more > > than a fancy front end for all the > > amazing capabilities Dired offers. > > So trying to go back to using dired better I discover that right-click > open is a commonly used paradigm. > [Note: Its not the mouse thats important -- the windows application > does the same job better -- its the functionality] DiredPlus has right-click mouse menus for actions specific to the file you point to in Dired (or to the marked files). Description: http://www.emacswiki.org/emacs/DiredPlus Library: http://www.emacswiki.org/emacs/dired%2b.el ^ permalink raw reply [flat|nested] 14+ messages in thread
[parent not found: <mailman.3502.1237387928.31690.help-gnu-emacs@gnu.org>]
* Re: Sunrise Commander: Version 3 released. [not found] ` <mailman.3502.1237387928.31690.help-gnu-emacs@gnu.org> @ 2009-03-18 17:03 ` escherdragon 2009-03-18 18:46 ` Drew Adams [not found] ` <mailman.3512.1237401999.31690.help-gnu-emacs@gnu.org> 0 siblings, 2 replies; 14+ messages in thread From: escherdragon @ 2009-03-18 17:03 UTC (permalink / raw) To: help-gnu-emacs On 18 Mar, 15:51, "Drew Adams" <drew.ad...@oracle.com> wrote: (...) > DiredPlus has right-click mouse menus for actions specific to the file you point > to in Dired (or to the marked files). That's true, DiredPlus is another good alternative for better mouse support. It doesn't have D&D, but gives you a lot of psychedelic colors instead :) Oh, and it seems to work quite nicely with sunrise right out of the box. Cheers, -- José A. Romero L. j.romero@mrted.com "We who cut mere stones must always be envisioning cathedrals." (Quarry worker's creed) ^ permalink raw reply [flat|nested] 14+ messages in thread
* RE: Sunrise Commander: Version 3 released. 2009-03-18 17:03 ` escherdragon @ 2009-03-18 18:46 ` Drew Adams [not found] ` <mailman.3512.1237401999.31690.help-gnu-emacs@gnu.org> 1 sibling, 0 replies; 14+ messages in thread From: Drew Adams @ 2009-03-18 18:46 UTC (permalink / raw) To: escherdragon, help-gnu-emacs > > DiredPlus has right-click mouse menus for actions specific > > to the file you point to in Dired (or to the marked files). > > That's true, DiredPlus is another good alternative for better mouse > support. It doesn't have D&D, but gives you a lot of psychedelic > colors instead :) > > Oh, and it seems to work quite nicely with sunrise right out of the > box. Drag-n-drop is available even for vanilla Dired - no need for DiredPlus to add it. See the Emacs manual, node Drag and Drop. ^ permalink raw reply [flat|nested] 14+ messages in thread
[parent not found: <mailman.3512.1237401999.31690.help-gnu-emacs@gnu.org>]
* Re: Sunrise Commander: Version 3 released. [not found] ` <mailman.3512.1237401999.31690.help-gnu-emacs@gnu.org> @ 2009-03-19 0:19 ` escherdragon 0 siblings, 0 replies; 14+ messages in thread From: escherdragon @ 2009-03-19 0:19 UTC (permalink / raw) To: help-gnu-emacs On Mar 18, 7:46 pm, "Drew Adams" <drew.ad...@oracle.com> wrote: > > > DiredPlus has right-click mouse menus for actions specific > > > to the file you point to in Dired (or to the marked files). > > > That's true, DiredPlus is another good alternative for better mouse > > support. It doesn't have D&D, but gives you a lot of psychedelic > > colors instead :) > > > Oh, and it seems to work quite nicely withsunriseright out of the > > box. > > Drag-n-drop is available even for vanilla Dired - no need for DiredPlus to add > it. See the Emacs manual, node Drag and Drop. Right, I should have written "no additional D&D". Cheers, -- José A. Romero L. escherdragon@gmail.com "We who cut mere stones must always be envisioning cathedrals." (Quarry worker's creed) ^ permalink raw reply [flat|nested] 14+ messages in thread
end of thread, other threads:[~2009-03-19 0:19 UTC | newest] Thread overview: 14+ messages (download: mbox.gz follow: Atom feed -- links below jump to the message on this page -- 2009-02-28 16:05 Sunrise Commander: Version 3 released escherdragon 2009-03-01 2:06 ` Leo [not found] ` <mailman.2120.1235873238.31690.help-gnu-emacs@gnu.org> 2009-03-01 17:23 ` escherdragon 2009-03-13 7:30 ` rustom 2009-03-17 20:00 ` escherdragon 2009-03-18 8:57 ` rustom 2009-03-18 9:42 ` escherdragon 2009-03-18 12:26 ` rustom 2009-03-18 14:56 ` Drew Adams 2009-03-18 16:58 ` escherdragon 2009-03-18 14:51 ` Drew Adams [not found] ` <mailman.3502.1237387928.31690.help-gnu-emacs@gnu.org> 2009-03-18 17:03 ` escherdragon 2009-03-18 18:46 ` Drew Adams [not found] ` <mailman.3512.1237401999.31690.help-gnu-emacs@gnu.org> 2009-03-19 0:19 ` escherdragon
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox; as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).