jed-users mailing list

[2004 Date Index] [2004 Thread Index] [Other years]
[Thread Prev] [Thread Next]      [Date Prev] [Date Next]

Re: changing .jedrc on the fly?


On 30.08.04, Ryan Swan wrote:
> I basically want to press a key and have jed unload
> the .jedrc file it loaded, and load a different one. 
> I know I can do this by creating a function with a lot
> of unsetkey() and setkey() calls, but was wondering if
> there was a cleaner way.

AFAIK, there is no way to "unload" a file. OTOH, variables and library
function definitions can be overwritten, so just evaluating the alternative
configuration file might help.

Most emulation modes will have the unset_ctrl_keys() function to remove a
subset of old bindings (see site.sl for a definition, this might also be a
template for your own "unsetting fuction"). Thus, something like M-X
cua_mode (while in emacs-emulation-mode) might give you part of the desired
result.

G|nter

-- 
G.Milde web.de

--------------------------
To unsubscribe send email to <jed-users-request@xxxxxxxxxxx> with
the word "unsubscribe" in the message body.
Need help? Email <jed-users-owner@xxxxxxxxxxx>.


[2004 date index] [2004 thread index]
[Thread Prev] [Thread Next]      [Date Prev] [Date Next]