* Enlarging minibuffer prompt
@ 2024-10-24 6:11 Jean Louis
2024-10-24 7:34 ` Stephen Berman
2024-10-24 16:17 ` [External] : " Drew Adams
0 siblings, 2 replies; 12+ messages in thread
From: Jean Louis @ 2024-10-24 6:11 UTC (permalink / raw)
To: Help GNU Emacs
I would like minibuffer to be significantly larger.
There is face `minibuffer-prompt' which I could customize:
[X] Height: Value Menu Scale: 1.5
So that gives me more readable, visible prompt.
But then the text in the prompt, the actual text I am entering is
`default' face.
And I was thinking that text I am entering in the minibuffer prompt
should be something like `minibuffer-default-face', some face that is
customized especially for minibuffer.
Is there a way that I can customize the `default' face but only within
the minibuffer?
My final goal would be to enlarge the minibuffer only from my program,
based on variables that user customizes within my software.
Jean
Take action in Free Software Foundation campaigns:
https://www.fsf.org/campaigns
✡️🛡️ Proudly standing with Israel, a nation rooted in history and culture. Let's condemn hatred and promote understanding.
In support of Richard M. Stallman
https://stallmansupport.org/
^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: Enlarging minibuffer prompt
2024-10-24 6:11 Enlarging minibuffer prompt Jean Louis
@ 2024-10-24 7:34 ` Stephen Berman
2024-10-24 10:57 ` Jean Louis
2024-10-24 16:17 ` [External] : " Drew Adams
1 sibling, 1 reply; 12+ messages in thread
From: Stephen Berman @ 2024-10-24 7:34 UTC (permalink / raw)
To: Jean Louis; +Cc: Help GNU Emacs
On Thu, 24 Oct 2024 09:11:33 +0300 Jean Louis <bugs@gnu.support> wrote:
> I would like minibuffer to be significantly larger.
>
> There is face `minibuffer-prompt' which I could customize:
>
> [X] Height: Value Menu Scale: 1.5
>
> So that gives me more readable, visible prompt.
>
> But then the text in the prompt, the actual text I am entering is
> `default' face.
>
> And I was thinking that text I am entering in the minibuffer prompt
> should be something like `minibuffer-default-face', some face that is
> customized especially for minibuffer.
>
> Is there a way that I can customize the `default' face but only within
> the minibuffer?
>
> My final goal would be to enlarge the minibuffer only from my program,
> based on variables that user customizes within my software.
How about something like this:
(add-hook 'minibuffer-setup-hook (lambda () (text-scale-adjust 2)))
Steve Berman
^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: Enlarging minibuffer prompt
2024-10-24 7:34 ` Stephen Berman
@ 2024-10-24 10:57 ` Jean Louis
2024-10-24 12:26 ` Stefan Monnier via Users list for the GNU Emacs text editor
0 siblings, 1 reply; 12+ messages in thread
From: Jean Louis @ 2024-10-24 10:57 UTC (permalink / raw)
To: Stephen Berman; +Cc: Help GNU Emacs
* Stephen Berman <stephen.berman@gmx.net> [2024-10-24 10:36]:
> > Is there a way that I can customize the `default' face but only within
> > the minibuffer?
> >
> > My final goal would be to enlarge the minibuffer only from my program,
> > based on variables that user customizes within my software.
>
> How about something like this:
>
> (add-hook 'minibuffer-setup-hook (lambda () (text-scale-adjust 2)))
That is very good option, I will start using it as single user.
Though it is very general for whole Emacs.
I would like that users can set up the text-scale-adjust by variable,
and that minibuffer enlarges only when invoked through my
functions. Adding and removing hook during the function does not sound
nice to me. But is good for time being.
--
Jean
Take action in Free Software Foundation campaigns:
https://www.fsf.org/campaigns
✡️🛡️ Proudly standing with Israel, a nation rooted in history and culture. Let's condemn hatred and promote understanding.
In support of Richard M. Stallman
https://stallmansupport.org/
^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: Enlarging minibuffer prompt
2024-10-24 10:57 ` Jean Louis
@ 2024-10-24 12:26 ` Stefan Monnier via Users list for the GNU Emacs text editor
2024-10-24 14:18 ` Jean Louis
0 siblings, 1 reply; 12+ messages in thread
From: Stefan Monnier via Users list for the GNU Emacs text editor @ 2024-10-24 12:26 UTC (permalink / raw)
To: help-gnu-emacs
> Adding and removing hook during the function does not sound
> nice to me. But is good for time being.
There's `minibuffer-with-setup-hook` (which will add+remove for you).
Stefan
^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: Enlarging minibuffer prompt
2024-10-24 12:26 ` Stefan Monnier via Users list for the GNU Emacs text editor
@ 2024-10-24 14:18 ` Jean Louis
0 siblings, 0 replies; 12+ messages in thread
From: Jean Louis @ 2024-10-24 14:18 UTC (permalink / raw)
To: Stefan Monnier; +Cc: help-gnu-emacs
* Stefan Monnier via Users list for the GNU Emacs text editor <help-gnu-emacs@gnu.org> [2024-10-24 15:28]:
> > Adding and removing hook during the function does not sound
> > nice to me. But is good for time being.
>
> There's `minibuffer-with-setup-hook` (which will add+remove for you).
Thanks, and wow, that is now perfect solution that will work in my programs.
--
Jean
Take action in Free Software Foundation campaigns:
https://www.fsf.org/campaigns
✡️🛡️ Proudly standing with Israel, a nation rooted in history and culture. Let's condemn hatred and promote understanding.
In support of Richard M. Stallman
https://stallmansupport.org/
^ permalink raw reply [flat|nested] 12+ messages in thread
* RE: [External] : Enlarging minibuffer prompt
2024-10-24 6:11 Enlarging minibuffer prompt Jean Louis
2024-10-24 7:34 ` Stephen Berman
@ 2024-10-24 16:17 ` Drew Adams
2024-10-24 16:50 ` Jean Louis
1 sibling, 1 reply; 12+ messages in thread
From: Drew Adams @ 2024-10-24 16:17 UTC (permalink / raw)
To: Jean Louis, Help GNU Emacs
> I would like minibuffer to be significantly larger.
> ...the text in the prompt, the actual text I am entering
> is `default' face.
> ... text I am entering in the minibuffer prompt should be
> ... some face ... customized especially for minibuffer.
FWIW, I did this long ago for my own use. But I use a
standalone minibuffer frame, which likely isn't what you
have in mind.
My `foreground-color' value of `minibuffer-frame-alist'
is different ("Red") from that of `default-frame-alist'
("Black"): frame parameter `foreground-color'.
You can also make the font larger or smaller, using
frame parameter `font'.
My minibuffer frame also extends across the bottom of
the display. (There are no minibuffers in other frames,
which saves space and gives me a single place to look.)
^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: [External] : Enlarging minibuffer prompt
2024-10-24 16:17 ` [External] : " Drew Adams
@ 2024-10-24 16:50 ` Jean Louis
2024-10-24 17:09 ` Jean Louis
2024-10-24 17:52 ` Drew Adams
0 siblings, 2 replies; 12+ messages in thread
From: Jean Louis @ 2024-10-24 16:50 UTC (permalink / raw)
To: Drew Adams; +Cc: Help GNU Emacs
* Drew Adams <drew.adams@oracle.com> [2024-10-24 19:17]:
> > I would like minibuffer to be significantly larger.
> > ...the text in the prompt, the actual text I am entering
> > is `default' face.
> > ... text I am entering in the minibuffer prompt should be
> > ... some face ... customized especially for minibuffer.
>
> FWIW, I did this long ago for my own use. But I use a
> standalone minibuffer frame, which likely isn't what you
> have in mind.
I would like to try that idea. How to do that?
> My `foreground-color' value of `minibuffer-frame-alist'
> is different ("Red") from that of `default-frame-alist'
> ("Black"): frame parameter `foreground-color'.
>
> You can also make the font larger or smaller, using
> frame parameter `font'.
>
> My minibuffer frame also extends across the bottom of
> the display. (There are no minibuffers in other frames,
> which saves space and gives me a single place to look.)
--
Jean
Take action in Free Software Foundation campaigns:
https://www.fsf.org/campaigns
✡️🛡️ Proudly standing with Israel, a nation rooted in history and culture. Let's condemn hatred and promote understanding.
In support of Richard M. Stallman
https://stallmansupport.org/
^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: [External] : Enlarging minibuffer prompt
2024-10-24 16:50 ` Jean Louis
@ 2024-10-24 17:09 ` Jean Louis
2024-10-24 17:50 ` Drew Adams
2024-10-24 17:52 ` Drew Adams
1 sibling, 1 reply; 12+ messages in thread
From: Jean Louis @ 2024-10-24 17:09 UTC (permalink / raw)
To: Drew Adams, Help GNU Emacs
Sorry, I tried oneonone.el as if that is what you mean with dedicated buffer.
Nothing worked.
Dedicated buffer was showing like full screen, and it blocked me, I could not do much, and it was switching from one screen to other screen, dedicated, but there was no "mini" buffer, that was full screen buffer with only minibuffer shown on the top.
So library as such does not work, it requires some adjustments probably.
--
Jean
Take action in Free Software Foundation campaigns:
https://www.fsf.org/campaigns
✡️🛡️ Proudly standing with Israel, a nation rooted in history and culture. Let's condemn hatred and promote understanding.
In support of Richard M. Stallman
https://stallmansupport.org/
^ permalink raw reply [flat|nested] 12+ messages in thread
* RE: [External] : Enlarging minibuffer prompt
2024-10-24 17:09 ` Jean Louis
@ 2024-10-24 17:50 ` Drew Adams
0 siblings, 0 replies; 12+ messages in thread
From: Drew Adams @ 2024-10-24 17:50 UTC (permalink / raw)
To: Jean Louis, Help GNU Emacs
> Sorry, I tried oneonone.el as if that is what you mean with dedicated
> buffer.
To be clear, I said you might not want a
standalone minibuffer (and I didn't even
mention oneonone.el). My msg was not to
than you alone, and it wasn't about oneonone.el.
All I said was that it's possible to use a
standalone minibuffer frame, and use frame
parameters to get larger text, differently
colored etc. for the minibuffer.
> Nothing worked.
Everything I suggested works.
And everything in oneonone.el works. I've
used it for 25 years, and others use it too.
> Dedicated buffer was showing like full screen, and it blocked me, I
> could not do much, and it was switching from one screen to other screen,
> dedicated, but there was no "mini" buffer, that was full screen buffer
> with only minibuffer shown on the top.
Nothing you describe there makes any sense
to me. Nothing in oneonone.el does anything
like that.
> So library as such does not work, it requires some adjustments probably.
The library as such works fine, OOTB. Pilot
error, maybe? I suggest you don't try to use
it, Jean. ;-)
^ permalink raw reply [flat|nested] 12+ messages in thread
* RE: [External] : Enlarging minibuffer prompt
2024-10-24 16:50 ` Jean Louis
2024-10-24 17:09 ` Jean Louis
@ 2024-10-24 17:52 ` Drew Adams
2024-10-24 19:09 ` Jean Louis
1 sibling, 1 reply; 12+ messages in thread
From: Drew Adams @ 2024-10-24 17:52 UTC (permalink / raw)
To: Jean Louis; +Cc: Help GNU Emacs
> > > I would like minibuffer to be significantly larger.
> > > ...the text in the prompt, the actual text I am entering
> > > is `default' face.
> > > ... text I am entering in the minibuffer prompt should be
> > > ... some face ... customized especially for minibuffer.
> >
> > FWIW, I did this long ago for my own use. But I use a
> > standalone minibuffer frame, which likely isn't what you
> > have in mind.
>
> I would like to try that idea. How to do that?
Just customize `minibuffer-frame-alist'.
> > My `foreground-color' value of `minibuffer-frame-alist'
> > is different ("Red") from that of `default-frame-alist'
> > ("Black"): frame parameter `foreground-color'.
> >
> > You can also make the font larger or smaller, using
> > frame parameter `font'.
> >
> > My minibuffer frame also extends across the bottom of
> > the display. (There are no minibuffers in other frames,
> > which saves space and gives me a single place to look.)
Just customize `minibuffer-frame-alist'.
^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: [External] : Enlarging minibuffer prompt
2024-10-24 17:52 ` Drew Adams
@ 2024-10-24 19:09 ` Jean Louis
2024-10-24 21:23 ` Drew Adams
0 siblings, 1 reply; 12+ messages in thread
From: Jean Louis @ 2024-10-24 19:09 UTC (permalink / raw)
To: Drew Adams; +Cc: Help GNU Emacs
* Drew Adams <drew.adams@oracle.com> [2024-10-24 20:52]:
> > > > I would like minibuffer to be significantly larger.
> > > > ...the text in the prompt, the actual text I am entering
> > > > is `default' face.
> > > > ... text I am entering in the minibuffer prompt should be
> > > > ... some face ... customized especially for minibuffer.
> > >
> > > FWIW, I did this long ago for my own use. But I use a
> > > standalone minibuffer frame, which likely isn't what you
> > > have in mind.
> >
> > I would like to try that idea. How to do that?
>
> Just customize `minibuffer-frame-alist'.
Perhaps you express that in an enigmatic manner.
There is nothing visible in that alist allowing me to experience what
you mentioned.
Hide Minibuffer Frame Alist:
Repeat:
INS DEL Parameter: width
Value: 80
INS DEL Parameter: height
Value: 2
INS
State : STANDARD.
Alist of parameters for the initial minibuffer frame. Hide
This is the minibuffer frame created if ‘initial-frame-alist’
calls for a frame without a minibuffer. The parameters specified
here supersede those given in ‘default-frame-alist’, for the
initial minibuffer frame.
You can set this in your init file; for example,
(setq minibuffer-frame-alist
'((top . 1) (left . 1) (width . 80) (height . 2)))
It is not necessary to include (minibuffer . only); that is
appended when the minibuffer frame is created.
--
Jean
Take action in Free Software Foundation campaigns:
https://www.fsf.org/campaigns
✡️🛡️ Proudly standing with Israel, a nation rooted in history and culture. Let's condemn hatred and promote understanding.
In support of Richard M. Stallman
https://stallmansupport.org/
^ permalink raw reply [flat|nested] 12+ messages in thread
* RE: [External] : Enlarging minibuffer prompt
2024-10-24 19:09 ` Jean Louis
@ 2024-10-24 21:23 ` Drew Adams
0 siblings, 0 replies; 12+ messages in thread
From: Drew Adams @ 2024-10-24 21:23 UTC (permalink / raw)
To: Jean Louis; +Cc: Help GNU Emacs
> > Just customize `minibuffer-frame-alist'.
>
> Perhaps you express that in an enigmatic manner.
>
> There is nothing visible in that alist allowing me to experience what
> you mentioned.
>
> Hide Minibuffer Frame Alist:
> Repeat:
> INS DEL Parameter: width
> Value: 80
> INS DEL Parameter: height
> Value: 2
> INS
> State : STANDARD.
> Alist of parameters for the initial minibuffer frame. Hide
> This is the minibuffer frame created if ‘initial-frame-alist’
> calls for a frame without a minibuffer. The parameters specified
> here supersede those given in ‘default-frame-alist’, for the
> initial minibuffer frame.
>
> You can set this in your init file; for example,
>
> (setq minibuffer-frame-alist
> '((top . 1) (left . 1) (width . 80) (height . 2)))
>
> It is not necessary to include (minibuffer . only); that is
> appended when the minibuffer frame is created.
Take a look at node "Font and Color Parameters" in
the Elisp manual:
https://www.gnu.org/software/emacs/manual/html_node/elisp/Font-and-Color-Parameters.html
For more info about frame parameters, start at
node "Frame Parameters":
https://www.gnu.org/software/emacs/manual/html_node/elisp/Frame-Parameters.html
^ permalink raw reply [flat|nested] 12+ messages in thread
end of thread, other threads:[~2024-10-24 21:23 UTC | newest]
Thread overview: 12+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-10-24 6:11 Enlarging minibuffer prompt Jean Louis
2024-10-24 7:34 ` Stephen Berman
2024-10-24 10:57 ` Jean Louis
2024-10-24 12:26 ` Stefan Monnier via Users list for the GNU Emacs text editor
2024-10-24 14:18 ` Jean Louis
2024-10-24 16:17 ` [External] : " Drew Adams
2024-10-24 16:50 ` Jean Louis
2024-10-24 17:09 ` Jean Louis
2024-10-24 17:50 ` Drew Adams
2024-10-24 17:52 ` Drew Adams
2024-10-24 19:09 ` Jean Louis
2024-10-24 21:23 ` Drew Adams
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.