Announcements and discussions for Gnus, the GNU Emacs Usenet newsreader
 help / color / mirror / Atom feed
* problem with colors in summary buffer
@ 2013-01-23 16:11 Janko Muzykant
  2013-01-24  3:47 ` Wolfgang Jenkner
  2013-01-24 14:55 ` Wolfgang Jenkner
  0 siblings, 2 replies; 5+ messages in thread
From: Janko Muzykant @ 2013-01-23 16:11 UTC (permalink / raw)
  To: info-gnus-english

hi,
for some reason I lost all my colors from gnus summary buffer. lines are
formatted correctly but no colors applied.

this is my line format:

  gnus-summary-line-format "%1{%U%R%z: %}%2{%d%}%5{ %[%4i%] %}%um %(%4{%-30,30n%}%6{%-4,4ur%}%5{ │ %}%1{%B%}%s%un%)\n"

and how I defined colors:

(defface face-1
  '((default (:foreground "grey30" :height 130))) "a gnus face 1")
(defface gnus-face-2
  '((default (:foreground "white" :weight bold :height 130))) "a gnus face 2")
(defface face-3
  '((default (:weight normal :height 130))) "a gnus face 3")
(defface face-4
  '((default (:foreground "orange" :italic t :height 130))) "a gnus face 4")
(defface face-5
  '((default (:foreground "grey40" :height 130))) "a gnus face 5")
(defface face-6
  '((default (:foreground "red" :height 130))) "a gnus face 6")

(setq gnus-face-1 'face-1)
(setq gnus-face-2 'face-2)
(setq gnus-face-3 'face-3)
(setq gnus-face-4 'face-4)
(setq gnus-face-5 'face-5)
(setq gnus-face-6 'face-6)

I updated Emacs to 24.2.92.1 (x86_64-apple-darwin, NS apple-appkit-1038.36).

Is there anything wrong in my configuration or has anything changed drastically
in gnus that might imply this weird visual look of summary buffer?

Best regards,
JM.


_______________________________________________
info-gnus-english mailing list
info-gnus-english@gnu.org
https://lists.gnu.org/mailman/listinfo/info-gnus-english

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: problem with colors in summary buffer
  2013-01-23 16:11 problem with colors in summary buffer Janko Muzykant
@ 2013-01-24  3:47 ` Wolfgang Jenkner
  2013-01-24  8:06   ` Janko Muzykant
  2013-01-24 14:55 ` Wolfgang Jenkner
  1 sibling, 1 reply; 5+ messages in thread
From: Wolfgang Jenkner @ 2013-01-24  3:47 UTC (permalink / raw)
  To: Janko Muzykant; +Cc: info-gnus-english

On Wed, Jan 23 2013, Janko Muzykant wrote:

> for some reason I lost all my colors from gnus summary buffer. lines are
> formatted correctly but no colors applied.

> (defface face-1
>   '((default (:foreground "grey30" :height 130))) "a gnus face 1")
> (defface gnus-face-2

Typo?  Don't you want face-2 here?

>   '((default (:foreground "white" :weight bold :height 130))) "a gnus face 2")
[...]

> (setq gnus-face-1 'face-1)
> (setq gnus-face-2 'face-2)

Wolfgang

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: problem with colors in summary buffer
  2013-01-24  3:47 ` Wolfgang Jenkner
@ 2013-01-24  8:06   ` Janko Muzykant
  0 siblings, 0 replies; 5+ messages in thread
From: Janko Muzykant @ 2013-01-24  8:06 UTC (permalink / raw)
  To: info-gnus-english

Wolfgang Jenkner <wjenkner@inode.at> writes:

> On Wed, Jan 23 2013, Janko Muzykant wrote:
>
> > for some reason I lost all my colors from gnus summary buffer. lines are
> > formatted correctly but no colors applied.
>
> > (defface face-1
> >   '((default (:foreground "grey30" :height 130))) "a gnus face 1")
> > (defface gnus-face-2
>
> Typo?  Don't you want face-2 here?
>
Yup, sorry that's something I changed few minutes before my post to
experiment a bit (and forgot to revert it). 

Unfortunately the problem still exists :(

Interesting thing is, that all other places are colored as
expected. Summary buffer is an exception.

Best,
JM.

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: problem with colors in summary buffer
  2013-01-23 16:11 problem with colors in summary buffer Janko Muzykant
  2013-01-24  3:47 ` Wolfgang Jenkner
@ 2013-01-24 14:55 ` Wolfgang Jenkner
  2013-01-24 21:13   ` Janko Muzykant
  1 sibling, 1 reply; 5+ messages in thread
From: Wolfgang Jenkner @ 2013-01-24 14:55 UTC (permalink / raw)
  To: Janko Muzykant; +Cc: info-gnus-english

On Wed, Jan 23 2013, Janko Muzykant wrote:

> this is my line format:
>
>   gnus-summary-line-format "%1{%U%R%z: %}%2{%d%}%5{ %[%4i%] %}%um %(%4{%-30,30n%}%6{%-4,4ur%}%5{ │ %}%1{%B%}%s%un%)\n"

Could you please show your definitions of
gnus-user-format-function-{m,r,n} as well?

Wolfgang

_______________________________________________
info-gnus-english mailing list
info-gnus-english@gnu.org
https://lists.gnu.org/mailman/listinfo/info-gnus-english

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: problem with colors in summary buffer
  2013-01-24 14:55 ` Wolfgang Jenkner
@ 2013-01-24 21:13   ` Janko Muzykant
  0 siblings, 0 replies; 5+ messages in thread
From: Janko Muzykant @ 2013-01-24 21:13 UTC (permalink / raw)
  To: info-gnus-english

Wolfgang Jenkner <wjenkner@inode.at> writes:

> On Wed, Jan 23 2013, Janko Muzykant wrote:
>
> > this is my line format:
> >
> >   gnus-summary-line-format "%1{%U%R%z: %}%2{%d%}%5{ %[%4i%] %}%um %(%4{%-30,30n%}%6{%-4,4ur%}%5{ │ %}%1{%B%}%s%un%)\n"
>
> Could you please show your definitions of
> gnus-user-format-function-{m,r,n} as well?
>

ahh here was the root of my problem - I removed sometime ago -n
function. gnus was tolerating this somehow in emacs-23 but looks like
it's not as much forgiving in emacs-24 :)

thanks for help.
JM.


_______________________________________________
info-gnus-english mailing list
info-gnus-english@gnu.org
https://lists.gnu.org/mailman/listinfo/info-gnus-english

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2013-01-24 21:13 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-01-23 16:11 problem with colors in summary buffer Janko Muzykant
2013-01-24  3:47 ` Wolfgang Jenkner
2013-01-24  8:06   ` Janko Muzykant
2013-01-24 14:55 ` Wolfgang Jenkner
2013-01-24 21:13   ` Janko Muzykant

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).