Ludovic Courtès (2016-04-17 18:40 +0300) wrote:
> Alex Kost skribis:
>
>> Ludovic Courtès (2016-04-16 01:23 +0300) wrote:
>
> [...]
>
>>> If you choose to take the ‘define-values’ approach above, I think you
>>> can just list they keys already in the vhash:
>>>
>>> (define-values (package-by-so
Alex Kost skribis:
> Ludovic Courtès (2016-04-16 01:23 +0300) wrote:
[...]
>> If you choose to take the ‘define-values’ approach above, I think you
>> can just list they keys already in the vhash:
>>
>> (define-values (package-by-something-file package-something-files)
>> (let* ((table (d
Ludovic Courtès (2016-04-16 01:23 +0300) wrote:
> Alex Kost skribis:
[...]
>> The problem (well, not really a problem) is: along with this procedure
>> (to get packages by location file), I need another one (to get a list
>> of location files).
>
> Right, I had forgotten about that second use.
>
Alex Kost skribis:
> Ludovic Courtès (2016-04-05 23:38 +0300) wrote:
>
>> Alex Kost skribis:
>>
>>> * emacs/guix-main.scm (%package-location-table): New variable.
>>> (package-location-table, package-locations, packages-by-location): New
>>> procedures.
>>> (%patterns-makers): Add 'location' sea
Ludovic Courtès (2016-04-05 23:38 +0300) wrote:
> Alex Kost skribis:
>
>> * emacs/guix-main.scm (%package-location-table): New variable.
>> (package-location-table, package-locations, packages-by-location): New
>> procedures.
>> (%patterns-makers): Add 'location' search type.
>> * emacs/guix-mess
Alex Kost skribis:
> * emacs/guix-main.scm (%package-location-table): New variable.
> (package-location-table, package-locations, packages-by-location): New
> procedures.
> (%patterns-makers): Add 'location' search type.
> * emacs/guix-messages.el (guix-message-packages-by-location): New procedur
* emacs/guix-main.scm (%package-location-table): New variable.
(package-location-table, package-locations, packages-by-location): New
procedures.
(%patterns-makers): Add 'location' search type.
* emacs/guix-messages.el (guix-message-packages-by-location): New procedure.
(guix-messages): Use it.
* e