unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* bug#39143: 26.3; `widget-complete' in `customize-option'
@ 2020-01-15 17:54 Drew Adams
  2020-01-15 18:06 ` Eli Zaretskii
  0 siblings, 1 reply; 3+ messages in thread
From: Drew Adams @ 2020-01-15 17:54 UTC (permalink / raw)
  To: 39143

emacs -Q

`M-x customize-option default-frame-alist'

Click `INS'.

Enter `cursor-color' for field `Parameter: '.

Put cursor at beginning of field `Value: ', and delete the default
value, `nil'.

Use `M-TAB' (or `ESC TAB').

You get this error/message: "Not in an editable field".

Two parts to this report.  The first is a bug; the second is an
enhancement request for handling of option `default-frame-alist' and
other frame-alist options.

1. That message is incorrect.  The cursor is definitely in an editable
field.  (Same incorrect message if you first type `Blu', then `M-TAB'.)

2. Emacs should provide reasonable completion for both fields,
`Parameter' and `Value', for `default-frame-alist'.

2a. Completion can be lax for `Parameter', providing candidates that are
predefined parameters, but letting you enter other values too.

2b. Completion can perhaps be strict for `Value' for some known
parameters, but it would probably be better if it were lax in all cases,
unless there is a strict requirement about the possible values in some
case.


In GNU Emacs 26.3 (build 1, x86_64-w64-mingw32)
 of 2019-08-29 built on CIRROCUMULUS
Repository revision: 96dd0196c28bc36779584e47fffcca433c9309cd
Windowing system distributor 'Microsoft Corp.', version 10.0.17763





^ permalink raw reply	[flat|nested] 3+ messages in thread

* bug#39143: 26.3; `widget-complete' in `customize-option'
  2020-01-15 17:54 Drew Adams
@ 2020-01-15 18:06 ` Eli Zaretskii
  0 siblings, 0 replies; 3+ messages in thread
From: Eli Zaretskii @ 2020-01-15 18:06 UTC (permalink / raw)
  To: Drew Adams; +Cc: 39143

> Date: Wed, 15 Jan 2020 09:54:58 -0800 (PST)
> From: Drew Adams <drew.adams@oracle.com>
> 
> emacs -Q
> 
> `M-x customize-option default-frame-alist'
> 
> Click `INS'.
> 
> Enter `cursor-color' for field `Parameter: '.
> 
> Put cursor at beginning of field `Value: ', and delete the default
> value, `nil'.
> 
> Use `M-TAB' (or `ESC TAB').
> 
> You get this error/message: "Not in an editable field".

In Emacs 27 get the message "No completions available for this field"
instead.  So this problem is already solved.

> 1. That message is incorrect.  The cursor is definitely in an editable
> field.  (Same incorrect message if you first type `Blu', then `M-TAB'.)

This part is already solved.

> 2. Emacs should provide reasonable completion for both fields,
> `Parameter' and `Value', for `default-frame-alist'.

It does provide completions for Parameter, although it's debatable
whether they are "reasonable".





^ permalink raw reply	[flat|nested] 3+ messages in thread

* bug#39143: 26.3; `widget-complete' in `customize-option'
       [not found] ` <<83blr44mst.fsf@gnu.org>
@ 2020-01-15 18:39   ` Drew Adams
  0 siblings, 0 replies; 3+ messages in thread
From: Drew Adams @ 2020-01-15 18:39 UTC (permalink / raw)
  To: Eli Zaretskii; +Cc: 39143

> > You get this error/message: "Not in an editable field".
> > 1. That message is incorrect.  The cursor is definitely in an
> > editable field.
> 
> In Emacs 27 get the message "No completions available for this field"
> instead.  So this problem is already solved.

Good.  Thanks for the quick reply.

> > 2. Emacs should provide reasonable completion for both fields,
> > `Parameter' and `Value', for `default-frame-alist'.
> 
> It does provide completions for Parameter, although it's debatable
> whether they are "reasonable".

I guess you mean in Emacs 27.  (Not in Emacs 26, AFAICT.)

Trying an Emacs 27 snapshot from 2019-12-28, it seems
that the completion is reasonable enough.

So this report can be classified as an enhancement request
that we provide some (lax) completion for `Value'.  Thx.





^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2020-01-15 18:39 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <<ffb33622-8239-40a2-ab9d-9ea5be2baac9@default>
     [not found] ` <<83blr44mst.fsf@gnu.org>
2020-01-15 18:39   ` bug#39143: 26.3; `widget-complete' in `customize-option' Drew Adams
2020-01-15 17:54 Drew Adams
2020-01-15 18:06 ` Eli Zaretskii

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).