Bill Clementson <[EMAIL PROTECTED]> writes: > >>> 5. Dired key: It would be nice to have a defcustom value that would >>> specify a dired map key that would call doc-view on a file (with a new >>> doc-view function that doesn't prompt for the file name). This would >>> make it easier to "browse" pdf files in dired. >> >> Good idea. I'll add that. Do you have a good suggestion what key could >> be used and is free? > > How about "b" (for browse) or "V" (for View)?
I think 'b' is available. However, you may find it useful to do what I did in my txutils.el package. I used defadvice around view-file (which is bound to v in dired). So, now if I hit v on a pdf, ps, doc, ppt html etc file, it converts the file to either text or html and then displays it in a buffer (in the case of html output and .html files, it just uses browse-url to display the rendered version). What I like about this approach is that I now always use 'v' to view a file and don't have to remember to hit a different key for different filetypes. HTH Tim > -- tcross (at) rapttech dot com dot au _______________________________________________ gnu-emacs-sources mailing list gnu-emacs-sources@gnu.org http://lists.gnu.org/mailman/listinfo/gnu-emacs-sources