emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: M-g in dired


From: Richard M. Stallman
Subject: Re: M-g in dired
Date: Sat, 05 Nov 2005 18:43:39 -0500

    `shadow_lookup' iterates over two maps (dired and global) and calls
    `Flookup_key' on them.  When `Flookup_key' returns 1 for the key
    "M-gn" on the dired map, the loop in `shadow_lookup' skips it

That's the place that has to be changed.

When this call to `Flookup_key' returns a number N, `shadow_lookup'
should look up a sub-key-sequence of the first N events.  If that
returns non-nil, the longer key is shadowed, so don't mention it at all.
If that returns non-nil, the longer key is not shadowed.

That avoids duplicating lots of code and avoids changing the calling
convention of Flookup_key.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]