mg dired diff to reduce annoyance

2011-07-18 Thread Loganaden Velvindron
Hi, kjell@ suggested a different approach. Instead of using hacks in basic.c, I've added wrappers in dired itself. Rather than overwriting existing keys (C-v and M-v), I think that using C-w and C-T is better for now. As usual, I welcome feedback. Index: src/usr.bin/mg/dired.c =

Re: mg dired diff to reduce annoyance

2011-07-25 Thread Loganaden Velvindron
Can some mg user please test this ? It's getting so irritating that I want to smash my keyboard. Thanks Index: dired.c === RCS file: /cvs/src/usr.bin/mg/dired.c,v retrieving revision 1.48 diff -u -p -r1.48 dired.c --- dired.c 23

Re: mg dired diff to reduce annoyance

2011-07-25 Thread Theo de Raadt
> Can some mg user please test this ? It's getting > so irritating that I want to smash my keyboard. Noone tests patches which come without a detailed description. > Index: dired.c > === > RCS file: /cvs/src/usr.bin/mg/dired.c,v > re

Re: mg dired diff to reduce annoyance

2011-07-25 Thread Loganaden Velvindron
It uses wrapper functions around forwpage,backpage, and goto-line, and maps the dot on the filename itself, which is less confusing. C-W for going 1 page forward, C-T for going 1 page backwards, and finally C-O for going on a specific line. This paches doesn't override the existing functions, so

Re: mg dired diff to reduce annoyance

2011-07-30 Thread Loganaden Velvindron
I'll wait for kjell@ to have some time to review this diff. No big deal really :-D

Re: mg dired diff to reduce annoyance

2011-07-30 Thread Kenneth R Westerback
On Sat, Jul 30, 2011 at 04:30:42PM -0400, Loganaden Velvindron wrote: > I'll wait for kjell@ to have some time > to review this diff. > > No big deal really :-D > You might wait a long time. Kjell has transitioned to the real world and now works for a living. :-) Ken