You can always just run Emacs as administrator. That will give all of its sub-processes admin privileges. There is no need to wait for runas before adding this.
CeleritasCelery (5b25f277) at 04 Mar 05:55
CeleritasCelery (5b25f277) at 02 Mar 19:58
Fix issue with use-package keywords overriding one another
CeleritasCelery (1c5ca3a4) at 02 Mar 19:46
Fix issue with use-package keywords overriding one another
... and 7 more commits
Okay so I took a look and we overwrote the fixes in !3 (merged) when we merged develop. This means that we no longer have the ability to override the hook with subsequent calls to compdef. I will rebase this MR off master and make sure to fix both !3 (merged) and !4 (merged). If we are using a lambda we will loose the ability to override the hooks.
Calling the function plain does not accept atoms for some reason.
I didn’t follow this. Can you rephrase it?
CeleritasCelery (9f68a4c2) at 07 Feb 16:47
Merge branch 'master' of sccj002253.sc.intel.com:~/custom/env_bare/...
... and 172 more commits
@jjzmajic have you had a chance to test this?
Every time you call compdef it redefines the hook function. Here is a simple way to test.
(use-package python
:compdef python-mode
:capf capf
:company company)
Run that then open a new python file. You will observe that either company-backends or completion-at-point-functions will be wrong.
@jjzmajic
Currently if you define both a :capf and :company argument for use-package it will call compdef twice, once with each argument. That means that the latter keyword will override the first and you will only get one of the settings instead of both. Since compdef has no required use-package keyword, it is harder to fix it on that side then to just create two seperate functions. One for capf and one for company.
CeleritasCelery (381c2580) at 13 Dec 13:40
Fix issue with use-package keywords overriding one another
CeleritasCelery (c9a8ca4c) at 13 Dec 13:29
Fix issue with use-package keywords overriding one another
... and 5 more commits
CeleritasCelery (a28fb972) at 11 Dec 02:49
@jjzmajic
ping
This MR fixes two issues
Company-mode allows grouping backends by including them in a sublist. However use-package-normalize-symlist does not handle sublists. By using the recursive version of the normalize function we can correctly handle company mode grouping.
Currently if a compdef hook is updated it will not be able to override the settings of the older version of the function because it is a lambda and later in the hook. By changing it to a named symbol we are able to override it by redefining it.
CeleritasCelery (a28fb972) at 28 Oct 17:15
Allow compdef hooks to be overridden by subsequent calls
... and 1 more commit