On Sun, Jul 31, 2011 at 09:23:29PM +0400, Loganaden Velvindron wrote: > You can check our mg from current, it should compile fine. > > Here's the diff: > > http://marc.info/?l=openbsd-tech&m=131160869319297&w=2 > > Explanation Here: > > http://marc.info/?l=openbsd-tech&m=131161031221785&w=2
CC openbsd-tech for other opinions on this (note: I'm not a member of the list). I tested the patch briefly and it seems to work fine BUT I'm not sure why this is a good idea. You're mapping keys that do other things in Emacs (esp. C-o but also C-t and even C-w which can be used if the dired buffer is made non-read-only in Emacs). Why not implement dired C-n and C-p from Emacs instead (nothing wrong with C-v followed by C-n)? And bind "M-g g" to goto-line as is done in all modes by default in recent Emacs? http://www.gnu.org/software/libtool/manual/emacs/Dired-Navigation.html http://www.gnu.org/s/libtool/manual/emacs/Moving-Point.html Cheers, -Nima -- The pudding is in the proof.