emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: combining echo area and modeline


From: Michael Heerdegen
Subject: Re: combining echo area and modeline
Date: Fri, 28 Aug 2015 04:43:49 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/25.0.50 (gnu/linux)

Hi Q,

I guess one could try to misuse the "minibuffer-line" package for that.
Proof of concept:

--8<---------------cut here---------------start------------->8---
(require 'minibuffer-line)

(setq minibuffer-line-refresh-interval 1)

(advice-add 'minibuffer-line--update
            :before
            (defun my-minibuffer-line--update--copy-mode-line ()
              (when mode-line-format
                (setq minibuffer-line-format mode-line-format
                      mode-line-format nil))))

(minibuffer-line-mode +1)
--8<---------------cut here---------------end--------------->8---

Note that that's a hack that has it's limitations.


Regards,

Michael.





reply via email to

[Prev in Thread] Current Thread [Next in Thread]