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

org-agenda integration #32

Closed gonewest818 closed 4 years ago

gonewest818 commented 4 years ago

Reposting from email, where @mack1070101 wrote:

If you run org-agenda it should pop up a buffer that asks you to "Press a key for an agenda command". With dimmer-mode enabled, this buffer is "dimmed". I added

(eval-after-load 'org
    (lambda()
      (setq dimmer-buffer-exclusion-regexps '("^ \\*Minibuf-[0-9]+\\*$"
                                              "^ \\*Echo.*\\*$"
                                              "\\*Org Agenda\\*"
                                              "\\*Org Select\\*"
                                              "\\magit-dispatch"
                                              "magit-diff: *"
                                              "\\*Agenda Commands\\*"))
  (dimmer-mode t)

This to my init file, and that seemed to resolve this issue, so that could be a good potential comment for your README.

gonewest818 commented 4 years ago

Seems like the thing to do here is add a function dimmer-configure-org-mode and set the appropriate regexps as Mack has done in the example above.