all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Nick Helm <nick@tenpoint.co.nz>
To: <help-gnu-emacs@gnu.org>
Subject: line-spacing in the minibuffer/echo area
Date: Mon, 12 Oct 2015 14:33:54 +1300	[thread overview]
Message-ID: <m2a8rohnul.fsf@tenpoint.co.nz> (raw)

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.

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

and this

(with-current-buffer (get-buffer " *Minibuf-1*")
   (add-text-properties (point-min) (point-max) '(line-spacing 2)))

but they have no effect that I can see.

It's not that the minibuffer/echo area properties are read-only, because
I can change other properties without a problem. This example for a face
text property is adapted from one in the manual:

(with-current-buffer (get-buffer " *Echo Area 0*") 
   (setq-local face-remapping-alist '((default (:height 2.0)))))

This also works for *Minibuf-1* but, oddly, is not persistent.

Anyway, as far as I know, line-spacing and line-height are not valid frame
parameters, so I can't simply add to minibuffer-frame-alist.

What am I missing here?



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

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-10-12  1:33 Nick Helm [this message]
2015-10-12 10:14 ` line-spacing in the minibuffer/echo area Michael Heerdegen
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=m2a8rohnul.fsf@tenpoint.co.nz \
    --to=nick@tenpoint.co.nz \
    --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.