Control: tag -1 unreproducible Le Fri, Aug 01, 2014 at 12:48:27AM +0200, Kai-Martin Knaak a écrit : > > the package mime-supports installs /usr/bin/edit as a symlink > to /usr/bin/run-mailcap . However, in many cases this does not open the > the application most probably desired by the user. E.g.: > $ edit foobar.html > would open the sensible www-browser, most likely iceweasel. The > expected behaviour would be to open an editor instead.
Hello, on my system, the ‘edit’ command does the right thing. Can you run it on your system with the ‘--debug’ option ? $ edit --debug toto.html - parsing parameter "toto.html" - Reading mime.types file "/home/charles/.mime.types"... could not read "/home/charles/.mime.types" -- Aucun fichier ou dossier de ce type - Reading mime.types file "/usr/local/etc/mime.types"... could not read "/usr/local/etc/mime.types" -- Aucun fichier ou dossier de ce type - Reading mime.types file "/usr/share/etc/mime.types"... could not read "/usr/share/etc/mime.types" -- Aucun fichier ou dossier de ce type - Reading mime.types file "/etc/mime.types"... - extension "html" maps to mime-type "text/html" - Reading mailcap file "/home/charles/.mailcap"... could not read "/home/charles/.mailcap" -- Aucun fichier ou dossier de ce type - Reading mailcap file "/etc/mailcap"... - Reading mailcap file "/usr/local/etc/mailcap"... could not read "/usr/local/etc/mailcap" -- Aucun fichier ou dossier de ce type - Reading mailcap file "/usr/share/etc/mailcap"... could not read "/usr/share/etc/mailcap" -- Aucun fichier ou dossier de ce type - Reading mailcap file "/usr/etc/mailcap"... could not read "/usr/etc/mailcap" -- Aucun fichier ou dossier de ce type Processing file "toto.html" of type "text/html" (encoding=none)... - checking mailcap entry "text/*; view %s; edit=vim %s; compose=vim %s; test=test -x /usr/bin/vim; needsterminal" - program to execute: vim %s - needsterminal is satisfied by stdout - running test: test -x /usr/bin/vim (result=0=true) - executing: vim toto.html $ file toto.html toto.html: HTML document, ASCII text Have a nice day, -- Charles Plessy Tsurumi, Kanagawa, Japan -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org