I see your point,  Alas

import FooBarBaz as FBB

is what people have gotten used to.

Cheers

Marco


On Sat, Jul 13, 2024 at 5:59 PM Pascal Bourguignon <pjb@informatimago.com> wrote:


> On 13 Jul 2024, at 16:53, Marco Antoniotti <marco.antoniotti@unimib.it> wrote:
>
> Sorry.  I was so caught up colorizing that I messed it up.  I meant USE-PACKAGE

use-package is a function.
I think it would be saner to define a separate function to add nicknames, rather than modify use-package.

(use-package :foo.with.long.name)
(add-local-nickname :foo.with.long.name :foo)

--
__Pascal Bourguignon__



--
Marco Antoniotti, Professor                   tel. +39 - 02 64 48 79 01
DISCo, University of Milan-Bicocca U14 2043   http://dcb.disco.unimib.it
Viale Sarca 336
I-20126 Milan (MI) ITALY