all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: "andrés ramírez" <rrandresf@hotmail.com>
To: Thorsten Bonow <thorsten.bonow@post.rwth-aachen.de>
Cc: help-gnu-emacs@gnu.org
Subject: Re: viper and the minibuffer text color
Date: Sat, 05 Nov 2022 14:01:16 +0000	[thread overview]
Message-ID: <SJ1PR12MB6363E816C4198BF98C92EA0AA63A9@SJ1PR12MB6363.namprd12.prod.outlook.com> (raw)
In-Reply-To: <874jvd8vmt.fsf@post.rwth-aachen.de>

Hi. Thorsten.
My comments below.

>>>>> "Thorsten" == Thorsten Bonow <thorsten.bonow@post.rwth-aachen.de> writes:

[...]

    Thorsten> No, it's not a bug.  You activated Viper and GNU Emacs behaves accordingly ;-)

Ok. That is good to know. The reason I am asking is because evil-mode does not change that
face.

    Thorsten> Viper indicates in which vi/viper state it is in by visual feedback.  The "pink"
    Thorsten> you're seeing is `viper-minibuffer-insert-face', the face used in
    Thorsten> `viper-minibuffer-insert' which is the---quoting from the documentation---"Face used
    Thorsten> in the Minibuffer when it is in Insert state".  You could customize
    Thorsten> `viper-minibuffer-insert' if you want to change it.  (Which I wouldn't do until being
    Thorsten> so familiar with Viper and the reasoning behind it to make an informed decision.)
    
As I came from evil. Some evil users had found a different way of detecting the
states. It involves the funct (which changes the modeline color):
,---- [  ]
| (add-hook 'post-command-hook 'do--change-mode-line-color-by-viper-state)
`----

I am sharing my complete viper setup(JIC):
--8<---------------cut here---------------start------------->8---
https://termbin.com/zzfu
--8<---------------cut here---------------end--------------->8---

    Thorsten> Hope this helps, Toto

Yes. It helps. Thanks.

Best Regards



      reply	other threads:[~2022-11-05 14:01 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-11-04 16:12 viper and the minibuffer text color Andrés Ramírez
2022-11-05 11:54 ` Thorsten Bonow
2022-11-05 14:01   ` andrés ramírez [this message]

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=SJ1PR12MB6363E816C4198BF98C92EA0AA63A9@SJ1PR12MB6363.namprd12.prod.outlook.com \
    --to=rrandresf@hotmail.com \
    --cc=help-gnu-emacs@gnu.org \
    --cc=thorsten.bonow@post.rwth-aachen.de \
    /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.