all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Michael Heerdegen <michael_heerdegen@web.de>
To: help-gnu-emacs@gnu.org
Subject: Re: line-spacing in the minibuffer/echo area
Date: Mon, 12 Oct 2015 12:14:09 +0200	[thread overview]
Message-ID: <8737xgs8b2.fsf@web.de> (raw)
In-Reply-To: m2a8rohnul.fsf@tenpoint.co.nz

Nick Helm <nick@tenpoint.co.nz> writes:

> How do I change the line-spacing in the minibuffer/echo area? And
> then, how do I make that change persistent?
>
> I have this in my init.el
>
> (setq-default line-spacing 2) 
>
> which works well for most windows and buffers, but not the minibuffer or
> echo area.

This works for me out of the box.  I tested with Emacs 23.4, 24.5 and 25.

> I've tried a few things to change the vertical spacing, such as:
>
> (with-current-buffer (get-buffer " *Minibuf-1*") 
>    (setq-local line-spacing 2))

Local variables aren't durable in the minibuffers AFAIK, so this will
have not effect.

> What am I missing here?

Good question.  For me, the effect of setq-default line-spacing is
respected by both minibuffers and echo area buffers.  But it only makes
a difference when multiple lines are shown there (like in any other
buffer, too).


Michael.




  reply	other threads:[~2015-10-12 10:14 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-10-12  1:33 line-spacing in the minibuffer/echo area Nick Helm
2015-10-12 10:14 ` Michael Heerdegen [this message]
2015-10-15  4:04   ` Nick Helm
2015-10-12 19:48 ` John Mastro

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

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=8737xgs8b2.fsf@web.de \
    --to=michael_heerdegen@web.de \
    --cc=help-gnu-emacs@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 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.