unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Lars Ingebrigtsen <larsi@gnus.org>
To: Glenn Morris <rgm@gnu.org>
Cc: 12890@debbugs.gnu.org
Subject: bug#12890: read-face-attribute, face-valid-attribute-values do not handle all :underline etc forms
Date: Thu, 09 Jun 2022 16:08:40 +0200	[thread overview]
Message-ID: <871qvy3p5j.fsf@gnus.org> (raw)
In-Reply-To: <87zgjpinqn.fsf@gnus.org> (Lars Ingebrigtsen's message of "Tue, 10 May 2022 14:19:28 +0200")

Lars Ingebrigtsen <larsi@gnus.org> writes:

> I tried reproducing this in Emacs 29.  It does indeed still need `C-q'
> to enter the space, but after doing that, it seems to actually do the
> rest correctly.
>
> I did:
>
> M-x set-face-underline RET
> default RET
> (:colorC-q "red") RET
>
> and the default face got a red underline.
>
> The `C-q' should be fixed, but do you also see the same behaviour for
> the rest?

Actually, I have no idea how to fix the `C-q' here.  We do want
completion because we want to complete over colour names, and (by
default) `SPC' does completion.

It might be nice to have the `SPC' in minibuffer-local-completion-map to
be more DWIM -- don't try to complete if it's "obvious" that the user
doesn't want completion.  Myself, I've disabled completion on `SPC'
because it's really annoying, but perhaps there is something we could do
here?  I.e., if there are no completions, then just insert a `SPC' and
make that the new default binding for `SPC' here?  

Because I think that would make usability here a lot better.  (It could
say "No completions; inserting space".)

Opinions?

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no





  reply	other threads:[~2022-06-09 14:08 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-11-15  7:39 bug#12890: read-face-attribute, face-valid-attribute-values do not handle all :underline etc forms Glenn Morris
2022-05-10 12:19 ` Lars Ingebrigtsen
2022-06-09 14:08   ` Lars Ingebrigtsen [this message]
2022-07-11 13:12     ` Lars Ingebrigtsen

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=871qvy3p5j.fsf@gnus.org \
    --to=larsi@gnus.org \
    --cc=12890@debbugs.gnu.org \
    --cc=rgm@gnu.org \
    /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).