[Qt-creator] ANN: Another emacs keys plugin

Eric Feigenson eric at feigenson.net
Tue Mar 4 21:13:37 CET 2014


Thanks Eike!

It was hard to get that subtle difference in the qmake doc.  The clarification is much appreciated!

-Eric

On Mar 4, 2014, at 2:09 AM, Ziller Eike <Eike.Ziller at digia.com> wrote:

> 
> On Mar 3, 2014, at 5:51 AM, Eric Feigenson <eric at feigenson.net> wrote:
> 
>> Hi nsf...
>> 
>> I think there's a bug in your emacskeys.pro file.
>> 
>> There are two lines:
>> 
>> QTCREATOR_SOURCES = $$(QTC_SOURCE)
>> 
>> and
>> 
>> IDE_BUILD_TREE = $$(QTC_BUILD)
>> 
>> which I think should be:
>> 
>> QTCREATOR_SOURCES = $$QTC_SOURCE
>> 
>> and
>> 
>> IDE_BUILD_TREE = $$QTC_BUILD
> 
> a) The $$(QTC_SOURCE) requires you to set an *environment* variable QTC_SOURCE.
> 
> b) $$QTC_SOURCE is the syntax for a *qmake* variable (that you e.g. pass as parameter to qmake)
> 
> That’s the subtle difference between
> 
> a) QTC_SOURCE=/foo/bar qmake -r
> 
> and
> 
> b) qmake -r QTC_SOURCE=/foo/bar
> 
> ;)
> 
> I suppose the templates could be changed to allow either environment variables or qmake variables
> 
> Br, Eike
> 
>> In their original form, if I try to set QTC_BUILD or QTC_SOURCE to correspond to my local directory trees, they're not seen in those assignment statements.
>> 
>> I'm also having some build errors, and I'll get back to you if I work those out.
>> 
>> Thanks!
>> 
>> -Eric
>> 
>> On Mar 2, 2014, at 1:30 PM, nsf <no.smile.face at gmail.com> wrote:
>> 
>>> On Sat, 22 Feb 2014 04:15:02 +0600
>>> nsf <no.smile.face at gmail.com> wrote:
>>> 
>>>> Hello, everyone.
>>>> 
>>>> If you're an emacs user and googled for "qt creator emacs keys" or
>>>> something like that, you know that there is some plugin on the github,
>>>> that is based on FakeVim, you can find it here:
>>>> 
>>>> https://github.com/fberger/emacskeys
>>>> 
>>>> However, it seems like it's a dead one. Frankly, I don't like the way it
>>>> looks (messy) and I haven't checked if it still works or not.
>>>> 
>>>> So.. I created a new one. From scratch. You can find it here:
>>>> 
>>>> https://github.com/nsf/emacskeys
>>> 
>>> Hello again.
>>> 
>>> I think the plugin reached the point where I can say it's stable. Sadly,
>>> I haven't received any feedback regarding actual usage, but I'm using it
>>> everyday myself. If there is an interest to merge it to the qt creator,
>>> I'm ready to cooperate. I've registered the gerrit account, signed the
>>> CLA, and created a change here:
>>> 
>>>   https://codereview.qt-project.org/#change,79598
>>> 
>>> If for some reason it won't be accepted, I promise that I'll start
>>> doing binary releases at some point. At least 64-bit linux and windows
>>> builds.
>>> 
>>> Thank you for your attention.
>>> _______________________________________________
>>> Qt-creator mailing list
>>> Qt-creator at qt-project.org
>>> http://lists.qt-project.org/mailman/listinfo/qt-creator
>> 
>> _______________________________________________
>> Qt-creator mailing list
>> Qt-creator at qt-project.org
>> http://lists.qt-project.org/mailman/listinfo/qt-creator
> 
> -- 
> Eike Ziller, Senior Software Engineer - Digia, Qt
> Digia Germany GmbH, Rudower Chaussee 13, D-12489 Berlin
> Geschäftsführer: Mika Pälsi, Juha Varelius, Anja Wasenius
> Sitz der Gesellschaft: Berlin. Registergericht: Amtsgericht Charlottenburg, HRB 144331 B 
> 




More information about the Qt-creator mailing list