Hi!
I had the following email exchange with a Xtla user.
I use DVC and defvar dvc-prefix-key before loading dvc.
Can anyone give a hint about using defcustom for dvc-prefix-key?
Stefan.
--- Begin Message ---
Hi Stefan!
>> I want to use <f6> instead of C-x T for xtla.el.
>> I put
>> (custom-set-variables '(tla-prefix-key [f6]))
>> in my .emacs.
>> the results are:
>>
>> 1. the drop-down menues still mention C-x T, not <f6>
>>
>> 2. <f6> still does not work until I run some tla command using C-x T.
>> After that, both <f6> and C-x T work, but the menues still mention
>> C-x T, not <f6>.
>>
>> Thanks.
>>
>> tla-version
>> "1.1 ([EMAIL PROTECTED]/xtla--main--1.1--patch-60)"
>
> I use super t as prefix key.
>
> Just defvar the key before loading xtla:
>
> (defvar tla-prefix-key '[(super t)])
> (defvar dvc-prefix-key '[(super t)])
> (require 'xtla nil t)
>
>
> So it should be:
> (defvar tla-prefix-key '[f6])
>
> FYI:
> dvc-prefix-key is for DVC: (http://xsteve.at/prg/emacs_dvc/)
thank for your help.
alas, your solution requires that I load xtla at all times, even for
emacs sessions where I do not use it.
it would be nicer if you fixed this (I think defcustom allows that).
if you do not want to, please replace the definition of tla-prefix-key
to use defvar, not defcustom, because defcustom sends the message to the
user that he can just "shoot and forget": customize the variable and not
load the package.
thanks!
--
Sam Steingold (http://www.podval.org/~sds) on Fedora Core release 4 (Stentz)
http://www.camera.org http://www.honestreporting.com
http://pmw.org.il http://www.iris.org.il http://www.memri.org
All generalizations are wrong. Including this.
--- End Message ---
_______________________________________________
Xtla-el-dev mailing list
[email protected]
https://mail.gna.org/listinfo/xtla-el-dev