A few requests...

  • From: Grégory SCHMITT <gy.schmitt@xxxxxxxxx>
  • To: emelfm2@xxxxxxxxxxxxx
  • Date: Sat, 16 Aug 2008 22:26:01 -0400

Hi all,

I thought of a few features/bugs that might be interesting for e2:

- Escape special characters in the filename.
AFAIK, e2 currently offers the possibility to surround the filename
using quotes (") by calling %f, or disabling the quotes (%%f). I have
several files with filenames that contain either a " or ',
leading to the command associated with the filetype not being properly
executed. How difficult would it be to design a new variable (such as
%e) that would escape any special character (such as " ' ? *...) with
a slash ?

- When executing file.info on a file with a filename containing spaces,
the description given by "file" is correct, not the one given by the
mime type (obviously, the filename variable is not quoted).
I quickly looked at the code and located two different pieces of code,
in e2_utils.c and e2_file_info_dialog.c. What puzzles me, Tom, is that
if e2_utils_get_mimetype() fails, there's a fallback value (using the
command file), and in e2_file_info_dialog.c, there's again a fallback
value (using file again, but with different parameters). Isn't it
redundent code ?

- Would it be possible to have an option (to be specified by the user,
in the config panel) that would define a command to be run after
mounting/unmounting devices is done (and returns 0) ? I remember that
some time ago, unmounting a device was followed by an ejection, which
has been removed since.
For those who will tell me to use HAL, I'll say that HAL sends a
signal whenever a device receives an unmount signal and can't be used
anymore, but doesn't send any signal when the device is ACTUALLY ready
to be removed (i.e. when the writes are done).

-- 
Grégory SCHMITT <mailto:gy.schmitt@xxxxxxxxx>


--
Users can unsubscribe from the list by sending email to 
emelfm2-request@xxxxxxxxxxxxx with 'unsubscribe' in the subject field or by 
logging into the web interface.

Other related posts: