all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* resize-mini-windows gives error
@ 2020-11-19  0:14 Christopher Dimech
  2020-11-19  2:50 ` Stefan Monnier
  2020-11-22 13:54 ` Michael Heerdegen
  0 siblings, 2 replies; 5+ messages in thread
From: Christopher Dimech @ 2020-11-19  0:14 UTC (permalink / raw)
  To: Help Gnu Emacs

Have tried to use the following but Emacs is complaining

Debugger entered--Lisp error: (void-function resize-mini-windows)
  (resize-mini-windows t)

(icomplete-mode 1)
(resize-mini-windows t)




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

* Re: resize-mini-windows gives error
  2020-11-19  0:14 resize-mini-windows gives error Christopher Dimech
@ 2020-11-19  2:50 ` Stefan Monnier
  2020-11-19  3:28   ` Christopher Dimech
  2020-11-22 13:54 ` Michael Heerdegen
  1 sibling, 1 reply; 5+ messages in thread
From: Stefan Monnier @ 2020-11-19  2:50 UTC (permalink / raw)
  To: help-gnu-emacs

Christopher Dimech [2020-11-19 01:14:49] wrote:

> Have tried to use the following but Emacs is complaining
>
> Debugger entered--Lisp error: (void-function resize-mini-windows)
>   (resize-mini-windows t)

If it hurts, don't do that.

> (icomplete-mode 1)
> (resize-mini-windows t)

What led you to decide to write this code?


        Stefan




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

* Re: resize-mini-windows gives error
  2020-11-19  2:50 ` Stefan Monnier
@ 2020-11-19  3:28   ` Christopher Dimech
  2020-11-19  5:04     ` Jean Louis
  0 siblings, 1 reply; 5+ messages in thread
From: Christopher Dimech @ 2020-11-19  3:28 UTC (permalink / raw)
  To: Stefan Monnier; +Cc: help-gnu-emacs

I am trying to use EShell.  And I found icomplete-vertical
which has icomplete-vertical-toggle.  After a few moments,
the mini-buffer gets quickly reduced to a single line.

https://github.com/oantolin/icomplete-vertical

One can do 'cd =' to list the directory stack with each line numbered.

The plan is to use the minibuffer and Icomplete to get to previously
visited directories using completion.



> Sent: Thursday, November 19, 2020 at 3:50 AM
> From: "Stefan Monnier" <monnier@iro.umontreal.ca>
> To: help-gnu-emacs@gnu.org
> Subject: Re: resize-mini-windows gives error
>
> Christopher Dimech [2020-11-19 01:14:49] wrote:
>
> > Have tried to use the following but Emacs is complaining
> >
> > Debugger entered--Lisp error: (void-function resize-mini-windows)
> >   (resize-mini-windows t)
>
> If it hurts, don't do that.
>
> > (icomplete-mode 1)
> > (resize-mini-windows t)
>
> What led you to decide to write this code?
>
>
>         Stefan
>
>
>



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

* Re: resize-mini-windows gives error
  2020-11-19  3:28   ` Christopher Dimech
@ 2020-11-19  5:04     ` Jean Louis
  0 siblings, 0 replies; 5+ messages in thread
From: Jean Louis @ 2020-11-19  5:04 UTC (permalink / raw)
  To: Christopher Dimech; +Cc: help-gnu-emacs, Stefan Monnier

* Christopher Dimech <dimech@gmx.com> [2020-11-19 06:30]:
> I am trying to use EShell.  And I found icomplete-vertical
> which has icomplete-vertical-toggle.  After a few moments,
> the mini-buffer gets quickly reduced to a single line.
> 
> https://github.com/oantolin/icomplete-vertical
> 
> One can do 'cd =' to list the directory stack with each line numbered.
> 
> The plan is to use the minibuffer and Icomplete to get to previously
> visited directories using completion.

I really recommend that you install different completing package named
ivy from GNU ELPA, by using {M-x package-install RET ivy RET} then
turn it on by {M-x ivy-mode} and explore. It is much more intuitive
and easy to understand then icomplete.

Once you have ivy you may also install counsel package that uses ivy
for various enhancements: {M-x package-install RET counsel RET}

More complex and well thought out completing package is Helm.

Emacs Helm
https://emacs-helm.github.io/helm/

Emacs Helm Wiki
https://github.com/emacs-helm/helm/wiki

There are several others.

The notation I am giving here such as:

{M-x package-install RET ivy RET}

is within { } as those are used by package GNU Hyperbole that I use
all the time and that helps in using Emacs, so those notations can be
activated when using GNU Hyperbole by M-RET and those commands would
straight do what they are supposed to do.

GNU Hyperbole
https://www.gnu.org/s/hyperbole

To install GNU Hyperbole:

{M-x package-install RET hyperbole RET}




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

* Re: resize-mini-windows gives error
  2020-11-19  0:14 resize-mini-windows gives error Christopher Dimech
  2020-11-19  2:50 ` Stefan Monnier
@ 2020-11-22 13:54 ` Michael Heerdegen
  1 sibling, 0 replies; 5+ messages in thread
From: Michael Heerdegen @ 2020-11-22 13:54 UTC (permalink / raw)
  To: Christopher Dimech; +Cc: Help Gnu Emacs

Christopher Dimech <dimech@gmx.com> writes:

> Have tried to use the following but Emacs is complaining
>
> Debugger entered--Lisp error: (void-function resize-mini-windows)
>   (resize-mini-windows t)
>
> (icomplete-mode 1)
> (resize-mini-windows t)

What nobody told you is that the error occurs because you call
`resize-mini-windows' as a function but it is only defined as a
variable, so you likely wanted to set it using `setq'.  Dunno if that
snipped then is appropriate, I guess the other answers you got were
discussing that question.

Regards,

Michael.



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

end of thread, other threads:[~2020-11-22 13:54 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-11-19  0:14 resize-mini-windows gives error Christopher Dimech
2020-11-19  2:50 ` Stefan Monnier
2020-11-19  3:28   ` Christopher Dimech
2020-11-19  5:04     ` Jean Louis
2020-11-22 13:54 ` Michael Heerdegen

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.