about summary refs log tree commit diff stats
diff options
context:
space:
mode:
-rw-r--r--ranger/core/actions.py7
1 files changed, 6 insertions, 1 deletions
diff --git a/ranger/core/actions.py b/ranger/core/actions.py
index d493da48..2ba696ac 100644
--- a/ranger/core/actions.py
+++ b/ranger/core/actions.py
@@ -538,7 +538,7 @@ class Actions(FileManagerAware, EnvironmentAware, SettingsAware):
         except:
             pass
 
-    def mark_files(self, all=False, toggle=False, val=None, movedown=None, narg=1):
+    def mark_files(self, all=False, toggle=False, val=None, movedown=None, narg=None):
         """A wrapper for the directory.mark_xyz functions.
 
         Arguments:
@@ -561,6 +561,11 @@ class Actions(FileManagerAware, EnvironmentAware, SettingsAware):
         if val is None and toggle is False:
             return
 
+        if narg == None:
+            narg = 1
+        else:
+            all = False
+
         if all:
             if toggle:
                 cwd.toggle_all_marks()
Kartik K. Agaram <vc@akkartik.com> 2015-05-06 00:36:32 -0700 committer Kartik K. Agaram <vc@akkartik.com> 2015-05-06 00:36:32 -0700 1280 - index.html for github page' href='/akkartik/mu/commit/index.html?h=hlt&id=87f58c6c757311fa505210c5413a795027752266'>87f58c6c ^
6e1eeeeb ^
e877e1fc ^
6e1eeeeb ^
f5465e12 ^
6e1eeeeb ^

f6b44306 ^
b514fbb9 ^

e877e1fc ^
a675eda3 ^
e877e1fc ^
fd5e720b ^



e877e1fc ^

b514fbb9 ^


70763af3 ^








6845c4d9 ^
70763af3 ^




b514fbb9 ^
f6b44306 ^
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48

                 
                                                                                                                
   

                                                               
   

      
 
                                                                  
 
                                                            
 

                                                                              
 

    
   
              
    



                                                    

     


                      








                                                                                  
                                                                                        




                                                                             
 
                               
<title>Mu</title>

With apologies to <a href='http://en.wikipedia.org/wiki/Mu_%28negative%29#In_popular_culture'>Robert Pirsig</a>:
<p>
<div style='font-style: italic; margin-left:2em'>
Is it a language, or an operating system, or a virtual machine?
<p>
Mu.
</div>

<b><a href='http://akkartik.name/about'>Problem statement.</a></b>

<b><a href='http://github.com/akkartik/mu'>Solution.</a></b>

<p>For an earlier prototype, a high-level statement-oriented language with a
tree-walking interpreter, see <a href='http://akkartik.github.io/mu1'>mu1</a>.

<hr>

<p>
The zen of Mu:
<ul>
<li>traces, not interfaces
<li>be rewrite-friendly, not backwards-compatible
<li>be easy to port rather than portable
<li>global structure matters more than local hygiene
</ul>

<p>
Mu's vision of utopia:
<ul>
<li>Run your devices in 1/1000th the code.
<li>1000x more forks for open source projects.
<li>Make simple changes to any project in an afternoon, no matter how large it is.
<li>Projects don't slow down with age, they continue to evolve just as fast as
when they were first started.
<li>All software rewards curiosity, allowing anyone to query its design
decisions, gradually learn how to tweak it, try out increasingly radical
redesign ideas in a sandbox. People learn programming as an imperceptible side
effect of tinkering with the projects they care about.
<li><a href='http://akkartik.name/post/habitability'>Habitable</a> digital environments.
<li>A <em>literate</em> digital society with widespread skills for
comprehending large-scale software structure and comparing-and-contrasting
similar solutions. (I don't think anybody is literate by this definition
today. All we can do easily is read our own programs that we wrote recently.)
</ul>

<p style='margin-bottom: 2em'/>