gonewest818 / dimmer.el

Interactively highlight which buffer is active by dimming the others.
GNU General Public License v3.0
267 stars 14 forks source link

Inconsistent behaviour #3

Closed manuel-uberti closed 6 years ago

manuel-uberti commented 6 years ago

Hi,

first of all thanks for the package, a useful visual aid. I am giving it a try with this snippet in my configuration:

(use-package dimmer
  :load-path "~/githubs/dimmer.el"
  :init
  (require 'dimmer)
  (dimmer-activate))

The package only seems to work when point is in the minibuffer. Have a look at these screenshots:

01

02

gonewest818 commented 6 years ago

Hi Manuel,

The way this package is implemented, it depends on buffer-local overrides to the faces in your theme. However, any time you have multiple windows displaying the same buffer they will all dim/undim together.

It’s not possible to distinguish the individual windows, at least not with the face override APIs that I happen to be using.

I should clarify this in the readme.

So I would first try splitting windows and displaying something else in the second one. It can be the scratch buffer or anything else, and confirm that the dimmer at least works for you.

If it still doesn’t work then I’ll ask your emacs version and we can try to narrow down what’s different about your setup.

Thanks for the feedback-

On Dec 22, 2017, at 9:33 AM, Manuel Uberti notifications@github.com wrote:

Hi,

first of all thanks for the package, a useful visual aid. I am giving it a try with this snippet in my configuration:

(use-package dimmer :load-path "~/githubs/dimmer.el" :init (require 'dimmer) (dimmer-activate)) The package only seems to work when point is in the minibuffer. Have a look at these screenshots:

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub, or mute the thread.

manuel-uberti commented 6 years ago

Thanks for the reply. I will be away on holiday for a couple of weeks, but I'll resume testing as soon as I get back.

manuel-uberti commented 6 years ago

Hi, I installed the package from MELPA and restarted Emacs.

This is my configuration:

(use-package dimmer
  :ensure t
  :init (dimmer-mode))

It still seems to work only when point is in the minibuffer.

I am using GNU Emacs 27.0.50 (build 1, x86_64-debian-linux-gnu, GTK+ Version 3.18.9) of 2018-01-07.

manuel-uberti commented 6 years ago

BTW, it only happens as described here.