"Peter D'Hoye" <[email protected]> writes:

>> I'd like to propose (and unless discouraged will submit a patch
>> allowing) symlink-like files in rockbox. But first I'd like 
>> to ask advice about the implementation.
>> 
>> These would be text files containing the path to a different 
>> directory or file. In the case of a directory the directory 
>> browser would be called on that directory, and in the case of 
>> a file the default select action for the target file would 
>> occur. I've described my current use-case below.
>
> err... we already have shortcut files that allow just that

Ermm, yep, that is pretty similar to what I suggested :) Better in fact,
as you have multiple links per .link file. So that's great -- not only
do I get what I wanted, but I get to see how it should have been done --
even if I do look slightly stupid...

May I suggest that an entry is added to appendix A (file formats), with
a link to the plugins/shortcuts page (patches attached). [I guess no
icon has been defined/created yet for links]

Dan

Index: manual/appendix/file_formats.tex
===================================================================
--- manual/appendix/file_formats.tex	(revision 20021)
+++ manual/appendix/file_formats.tex	(working copy)
@@ -52,6 +52,8 @@
   \includegraphics[width=0.37cm]{appendix/images/icon-movie-file.png} 
     & Rockbox Video & \fname{.rvf} & View a movie (Rockbox format)\\}
 }
+  & Link & \fname{.link} & Display list of target files / directories; select jumps to target. \emph{see
+    \reference{ref:Shortcutsplugin}}\\
 \bottomrule
 \end{tabularx}
 \end{center}
Index: manual/plugins/shortcuts.tex
===================================================================
--- manual/plugins/shortcuts.tex	(revision 20021)
+++ manual/plugins/shortcuts.tex	(working copy)
@@ -1,4 +1,5 @@
 \subsection{Shortcuts}
+\label{ref:Shortcutsplugin}
 
 The Shortcuts Plugin allows you to jump to places within the file browser
 without having to navigate there manually. The plugin works with

Reply via email to