From: Stephen Berman <stephen.berman@gmx.net>
To: Philip Kaludercic <philipk@posteo.net>
Cc: emacs-devel@gnu.org
Subject: Re: Auto-suggesting Packages
Date: Tue, 16 Jan 2024 10:01:05 +0100 [thread overview]
Message-ID: <87o7dlzm7i.fsf@gmx.net> (raw)
In-Reply-To: <87il3tg07k.fsf@posteo.net> (Philip Kaludercic's message of "Tue, 16 Jan 2024 08:18:55 +0000")
On Tue, 16 Jan 2024 08:18:55 +0000 Philip Kaludercic <philipk@posteo.net> wrote:
> I posted a patch like this a few months back and forgot about it, but
> Sacha's Emacs News this weeks reminded me again. I took the code and
> changed the default behaviour to indicate a package can be installed in
> the mode line:
[...]
> +;;;; Autosuggest
[...]
> +(defvar package--autosugest-line-format
> + '(:eval (package--autosugest-line-format)))
> +(put 'package--autosugest-line-format 'risky-local-variable t)
[...]
> +(defun package--autosugest-line-format ()
[...]
> + `(package-autosuggest-mode ("" package--autosugest-line-format)))
autosugest -> autosuggest
Steve Berman
next prev parent reply other threads:[~2024-01-16 9:01 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-01-16 8:18 Auto-suggesting Packages Philip Kaludercic
2024-01-16 9:01 ` Stephen Berman [this message]
2024-01-16 9:26 ` Philip Kaludercic
2024-01-16 12:58 ` Eli Zaretskii
2024-01-16 15:06 ` Philip Kaludercic
2024-01-16 15:13 ` Eli Zaretskii
2024-01-16 16:18 ` Philip Kaludercic
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87o7dlzm7i.fsf@gmx.net \
--to=stephen.berman@gmx.net \
--cc=emacs-devel@gnu.org \
--cc=philipk@posteo.net \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).