unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Mauro Aranda <maurooaranda@gmail.com>
To: Shynur Xie <one.last.kiss@outlook.com>
Cc: 65145@debbugs.gnu.org
Subject: bug#65145: ‘enable-theme’ completion for themes loaded by ‘require-theme’
Date: Tue, 8 Aug 2023 20:09:29 -0300	[thread overview]
Message-ID: <e12f0d89-2866-a6f1-b0a4-f9da9d68e1c7@gmail.com> (raw)
In-Reply-To: <PH0PR11MB74701863A6E1A3A55195AE5DD70DA@PH0PR11MB7470.namprd11.prod.outlook.com>

Shynur Xie <one.last.kiss@outlook.com> writes:

 > Hi, friends.  I find that if we use
 >
 >     (require-theme 'X-theme)
 >
 > to load ‘X-theme’, minibuffer doesn’t provide the completion for
 > ‘X-theme’ when calling ‘enable-theme’ interactively.  But the
 > following code
 >
 >     (require-theme 'X-theme)
 >     (enable-theme 'X)
 >
 > works fine.

I can't reproduce it.  I did:
emacs -Q
(require-theme 'leuven-theme)
M-x enable-theme
TAB

And "leuven" was inserted at the minibuffer.

I tried on Emacs 28, Emacs 29 and master.

 > Is it an intended behavior that ‘enable-theme’ doesn’t provide
 > completion for those themes loaded by ‘require-theme’?
 > If so, please ignore this report and excuse my intrusion. If not, can
 > we fix it?

It should offer the completion, and at least it does for me. What were
the steps that you followed? And on which Emacs version?






  reply	other threads:[~2023-08-08 23:09 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-08-08 10:31 bug#65145: ‘enable-theme’ completion for themes loaded by ‘require-theme’ Shynur Xie
2023-08-08 23:09 ` Mauro Aranda [this message]
2023-08-09  7:23   ` Shynur Xie
2023-08-09  7:38     ` Shynur Xie
2023-08-09  9:50     ` Mauro Aranda
2023-08-09  9:59       ` Shynur Xie
2023-08-09 10:17         ` Mauro Aranda

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=e12f0d89-2866-a6f1-b0a4-f9da9d68e1c7@gmail.com \
    --to=maurooaranda@gmail.com \
    --cc=65145@debbugs.gnu.org \
    --cc=one.last.kiss@outlook.com \
    /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).