Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Don't log tracking-ignored-buffers #313

Open
vyp opened this issue Aug 17, 2017 · 2 comments
Open

Don't log tracking-ignored-buffers #313

vyp opened this issue Aug 17, 2017 · 2 comments

Comments

@vyp
Copy link

vyp commented Aug 17, 2017

So I'm trying to selectively log only buffers that are tracked by doing the following, but it's not working, the ignored buffers are still being logged. 😞
I'm not sure what I'm doing wrong. 😕

(setq tracking-ignored-buffers
      (mapcar (lambda (channel) (list channel 'circe-highlight-nick-face))
              '("#emacs$" "#haskell$" "irc.freenode.net" "nickserv"
                "#vim$")))

(load "lui-logging" nil t)

(defun my/lui-enable-tracked-logging ()
  (unless (tracking-ignored-p (current-buffer) '(circe-highlight-nick-face))
    (enable-lui-logging)))

(add-hook 'lui-mode-hook 'my/lui-enable-tracked-logging)

So just to clarify for example. #emacs, #haskell, irc.freenode.net:6667, nickserv etc. are all still being logged.

@jorgenschaefer
Copy link
Collaborator

Hello, and sorry for the late reply. I can confirm that this is broken, but I do not quite understand why. This should work. :-(

@vyp
Copy link
Author

vyp commented Aug 27, 2017

Oh, no sweat about the late reply, it's not that late. 👍 And I was busy anyway! 😝

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants