Code Monkey home page Code Monkey logo

Comments (18)

jasonm23 avatar jasonm23 commented on July 18, 2024

Please identify the face being used in the mails which show as light-grey on white.

To do this, put the point on text decorated with this face and do:

M-x describe-face

Select the default face-name provided. Check that the problematic colours are shown in the face settings.

Regarding raw HTML display in GNUS, the theme is setting colours and running a rainbow-delimiters config, so it's tough to see how it would have any effect on GNUS, it doesn't even set GNUS specific faces.

I assume that you are only seeing this GNUS/HTML issue with Clues?

Let me know any other info that might be relevant. I'd also suggest posting the GNUS//HTML issue on Stackoverflow.com and/or googling for the problem as well.

from emacs-clues-theme.

jasonm23 avatar jasonm23 commented on July 18, 2024

Maybe this issue is relevant? https://groups.google.com/forum/#!topic/gnu.emacs.help/1DBK8hxMkKI

from emacs-clues-theme.

boudiccas avatar boudiccas commented on July 18, 2024

JasonM23 [email protected] writes:

Please identify the face being used in the mails which show as
light-grey on white.

To do this, put the point on text decorated with this face and do:

M-x describe-face

Select the default face-name provided. Check that the problematic
colours are shown in the face settings.
--8<---------------cut here---------------start------------->8---
Face: default (sample) (customize this face)
Documentation:
Basic default face.

Defined in `faces.el'.

       Family: DejaVu Sans Mono
      Foundry: unknown
        Width: normal
       Height: 113
       Weight: normal
        Slant: normal
   Foreground: #C0E9F6

DistantForeground: unspecified
Background: #110B14
Underline: nil
Overline: nil
Strike-through: nil
Box: nil
Inverse: nil
Stipple: nil
Font: #<font-object -unknown-DejaVu Sans Mono-normal-normal-normal--15----m-0-iso10646-1>
Fontset: -unknown-DejaVu Sans Mono-normal-normal-normal--15----m-0-fontset-startup
Inherit: nil
--8<---------------cut here---------------end--------------->8---

Regarding raw HTML display in GNUS, the theme is setting colours and
running a rainbow-delimiters config. I assume that you are only seeing
this part of the issue with Clues? Let me know any other info if
possible.

I've just downloaded and built a new emacs, and this one does not show any
blocks of html-code with any of the problem gmails from yesterday, so it was
obviously a problem induced by the yesterdays emacs version. Sorry :(

Sharon.

A taste of linux = http://www.sharons.org.uk
my git repo = https://bitbucket.org/boudiccas/dots
TGmeds = http://www.tgmeds.org.uk
Debian testing, Fluxbox 1.3.5, emacs 24.4.50.7

from emacs-clues-theme.

boudiccas avatar boudiccas commented on July 18, 2024

JasonM23 [email protected] writes:

Maybe this issue is relevant?
https://groups.google.com/forum/#!topic/gnu.emacs.help/1DBK8hxMkKI

And that url leads to Re: Help with make install to a non-default directory -
Emacs not finding lisp files maybe?, and just as another check
https://groups.google.com/forum/#!topic/gnu.emacs.help/1DBK8hxMkKI

This is GNU Emacs 24.4.50.6 (i686-pc-linux-gnu, GTK+ Version 3.12.0) of
2014-04-17 on london, Gnus v5.13, and Org-mode version 8.2.5h (8.2.5h-106-gfaa170-elpaplus @ /home/boudiccas/.emacs.d/elpa/org-plus-contrib-20140414/)
This emacs was downloaded and compiled with the defaults only yesterday. AFAIK
everything with it is 'bog-standard', I just went with the defaults because it
was easier, simpler, and quicker, and its the fourth or fifth iteration that
I've done it with.

Its now 0640 and I've just started another build of emacs, I tend to do it
every other day atm. When its built, I'll re-examine the problem emails to see
if it has been corrected, i.e. whether the fault is within emacs itself?

New default build and I've re-examined about a dozen of the old problem gmail
emails, and in none of them does it show any blocks of html-code, so it was
obviously a glitch in the previous build which has since been
corrected. However, the grey on white still remains, and answered in another
mail.

Thanks

Sharon.

A taste of linux = http://www.sharons.org.uk
my git repo = https://bitbucket.org/boudiccas/dots
TGmeds = http://www.tgmeds.org.uk
Debian testing, Fluxbox 1.3.5, emacs 24.4.50.7

from emacs-clues-theme.

jasonm23 avatar jasonm23 commented on July 18, 2024

Good to know the gmail HTML issue was build related, it seemed so. No idea why that link was wrong, I just c/p'ed it out of the address bar for a "gnus not displaying HTML emails correctly", still, no longer relevant to this issue.

The default face is customized by the theme as:

Foreground: #C0E9F6
Background: #110B14

(which is what you're seeing in the face attributes view, which is obviously not a white/light-grey combo)

So the theme isn't related to that either, however there's a chance that describe-face isn't displaying the face at point, or you misconstrued my instructions and chose the "default" face, which wasn't my intention.

If the latter is the case, describe-face should provide a face name to lookup, which is the face where the cursor is currently (ie. at point) - if so, grab those face details by placing the point on the white/grey and then use M-x and hopefully the correct face is suggested on the minibuffer prompt.

If the former is the case, and "default" is what describe-face is suggesting, try a few different points in the white/grey area and see if different faces are suggested.

You can also try hunting down the specific gnus face, however there's quite a few to check...

gnus-bookmark-menu-heading
gnus-button
gnus-emphasis-bold
gnus-emphasis-bold-italic
gnus-emphasis-highlight-words
gnus-emphasis-italic
gnus-emphasis-strikethru
gnus-emphasis-underline
gnus-emphasis-underline-bold
gnus-emphasis-underline-bold-italic
gnus-emphasis-underline-italic
gnus-group-mail-1
gnus-group-mail-1-empty
gnus-group-mail-2
gnus-group-mail-2-empty
gnus-group-mail-3
gnus-group-mail-3-empty
gnus-group-mail-low
gnus-group-mail-low-empty
gnus-group-news-1
gnus-group-news-1-empty
gnus-group-news-2
gnus-group-news-2-empty
gnus-group-news-3
gnus-group-news-3-empty
gnus-group-news-4
gnus-group-news-4-empty
gnus-group-news-5
gnus-group-news-5-empty
gnus-group-news-6
gnus-group-news-6-empty
gnus-group-news-low
gnus-group-news-low-empty
gnus-header-content
gnus-header-from
gnus-header-name
gnus-header-newsgroups
gnus-header-subject
gnus-server-agent
gnus-server-closed
gnus-server-denied
gnus-server-offline
gnus-server-opened
gnus-signature
gnus-splash
gnus-summary-cancelled
gnus-summary-high-ancient
gnus-summary-high-read
gnus-summary-high-ticked
gnus-summary-high-undownloaded
gnus-summary-high-unread
gnus-summary-low-ancient
gnus-summary-low-read
gnus-summary-low-ticked
gnus-summary-low-undownloaded
gnus-summary-low-unread
gnus-summary-normal-ancient
gnus-summary-normal-read
gnus-summary-normal-ticked
gnus-summary-normal-undownloaded
gnus-summary-normal-unread
gnus-summary-selected
gnus-x-face

The only way that clues-theme might be interacting with any of these faces is if they inherit from a "standard" face, like default and then change an attribute (most likely background)

If I get a chance, and you get no where, I'll setup a 24.4 build, configure and use GNUS, and see if I can replicate, at the moment though my freetime is a snowed under.

from emacs-clues-theme.

jasonm23 avatar jasonm23 commented on July 18, 2024

If it helps at all, here's a list of the gnus faces with their background and foreground colors, (although without knowing which face you're having problems with, this might not be much use.)

gnus-bookmark-menu-heading          ::bg nil -   ::fg nil
gnus-button                         ::bg nil -   ::fg nil
gnus-emphasis-bold                  ::bg nil -   ::fg nil
gnus-emphasis-bold-italic           ::bg nil -   ::fg nil
gnus-emphasis-highlight-words       ::bg black - ::fg yellow
gnus-emphasis-italic                ::bg nil -   ::fg nil
gnus-emphasis-strikethru            ::bg nil -   ::fg nil
gnus-emphasis-underline             ::bg nil -   ::fg nil
gnus-emphasis-underline-bold        ::bg nil -   ::fg nil
gnus-emphasis-underline-bold-italic ::bg nil -   ::fg nil
gnus-emphasis-underline-italic      ::bg nil -   ::fg nil
gnus-group-mail-1                   ::bg nil -   ::fg #e1ffe1
gnus-group-mail-1-empty             ::bg nil -   ::fg #e1ffe1
gnus-group-mail-2                   ::bg nil -   ::fg DarkSeaGreen1
gnus-group-mail-2-empty             ::bg nil -   ::fg DarkSeaGreen1
gnus-group-mail-3                   ::bg nil -   ::fg aquamarine1
gnus-group-mail-3-empty             ::bg nil -   ::fg aquamarine1
gnus-group-mail-low                 ::bg nil -   ::fg aquamarine2
gnus-group-mail-low-empty           ::bg nil -   ::fg aquamarine2
gnus-group-news-1                   ::bg nil -   ::fg PaleTurquoise
gnus-group-news-1-empty             ::bg nil -   ::fg PaleTurquoise
gnus-group-news-2                   ::bg nil -   ::fg turquoise
gnus-group-news-2-empty             ::bg nil -   ::fg turquoise
gnus-group-news-3                   ::bg nil -   ::fg nil
gnus-group-news-3-empty             ::bg nil -   ::fg nil
gnus-group-news-4                   ::bg nil -   ::fg nil
gnus-group-news-4-empty             ::bg nil -   ::fg nil
gnus-group-news-5                   ::bg nil -   ::fg nil
gnus-group-news-5-empty             ::bg nil -   ::fg nil
gnus-group-news-6                   ::bg nil -   ::fg nil
gnus-group-news-6-empty             ::bg nil -   ::fg nil
gnus-group-news-low                 ::bg nil -   ::fg DarkTurquoise
gnus-group-news-low-empty           ::bg nil -   ::fg DarkTurquoise
gnus-header-content                 ::bg nil -   ::fg SpringGreen1
gnus-header-from                    ::bg nil -   ::fg PaleGreen1
gnus-header-name                    ::bg nil -   ::fg SpringGreen2
gnus-header-newsgroups              ::bg nil -   ::fg yellow
gnus-header-subject                 ::bg nil -   ::fg SeaGreen1
gnus-server-agent                   ::bg nil -   ::fg PaleTurquoise
gnus-server-closed                  ::bg nil -   ::fg LightBlue
gnus-server-denied                  ::bg nil -   ::fg Pink
gnus-server-offline                 ::bg nil -   ::fg Yellow
gnus-server-opened                  ::bg nil -   ::fg Green1
gnus-signature                      ::bg nil -   ::fg nil
gnus-splash                         ::bg nil -   ::fg #cccccc
gnus-summary-cancelled              ::bg black - ::fg yellow
gnus-summary-high-ancient           ::bg nil -   ::fg SkyBlue
gnus-summary-high-read              ::bg nil -   ::fg PaleGreen
gnus-summary-high-ticked            ::bg nil -   ::fg pink
gnus-summary-high-undownloaded      ::bg nil -   ::fg LightGray
gnus-summary-high-unread            ::bg nil -   ::fg nil
gnus-summary-low-ancient            ::bg nil -   ::fg SkyBlue
gnus-summary-low-read               ::bg nil -   ::fg PaleGreen
gnus-summary-low-ticked             ::bg nil -   ::fg pink
gnus-summary-low-undownloaded       ::bg nil -   ::fg LightGray
gnus-summary-low-unread             ::bg nil -   ::fg nil
gnus-summary-normal-ancient         ::bg nil -   ::fg SkyBlue
gnus-summary-normal-read            ::bg nil -   ::fg PaleGreen
gnus-summary-normal-ticked          ::bg nil -   ::fg pink
gnus-summary-normal-undownloaded    ::bg nil -   ::fg LightGray
gnus-summary-normal-unread          ::bg nil -   ::fg nil
gnus-summary-selected               ::bg nil -   ::fg nil
gnus-x-face                         ::bg white - ::fg black

from emacs-clues-theme.

jasonm23 avatar jasonm23 commented on July 18, 2024

Note that none of these seem to have a suspicious background color.

from emacs-clues-theme.

jasonm23 avatar jasonm23 commented on July 18, 2024

FYI to quickly list out multiple face attributes do something like:

(cl-loop for f in '( ;list of face names separated by spaces 
) do (message
    (format "%s ::bg %s - ::fg %s" f (face-background f) (face-foreground f))))

from emacs-clues-theme.

jasonm23 avatar jasonm23 commented on July 18, 2024

Oh, also try

C-u C-x =

To get a detailed info of the current point, including a list of faces there. (listed at the bottom of the info output)

from emacs-clues-theme.

boudiccas avatar boudiccas commented on July 18, 2024

JasonM23 [email protected] writes:

Please identify the face being used in the mails which show as
light-grey on white.

To do this, put the point on text decorated with this face and do:

M-x describe-face

I've just changed my theme to "dichromacy" and the email displays perfectly,
and I've done "describe-face"
--8<---------------cut here---------------start------------->8---
Face: default (sample) (customize this face)

Documentation:
Basic default face.

Defined in `faces.el'.

       Family: DejaVu Sans Mono
      Foundry: unknown
        Width: normal
       Height: 113
       Weight: normal
        Slant: normal
   Foreground: black

DistantForeground: unspecified
Background: white
Underline: nil
Overline: nil
Strike-through: nil
Box: nil
Inverse: nil
Stipple: nil
Font: #<font-object -unknown-DejaVu Sans Mono-normal-normal-normal--15----m-0-iso10646-1>
Fontset: -unknown-DejaVu Sans Mono-normal-normal-normal--15----m-0-fontset-startup
Inherit: nil
--8<---------------cut here---------------end--------------->8---
Does this help in progressing things?

Sharon.

Select the default face-name provided. Check that the problematic
colours are shown in the face settings.

Regarding raw HTML display in GNUS, the theme is setting colours and
running a rainbow-delimiters config. I assume that you are only seeing
this part of the issue with Clues? Let me know any other info if

possible.

A taste of linux = http://www.sharons.org.uk
my git repo = https://bitbucket.org/boudiccas/dots
TGmeds = http://www.tgmeds.org.uk
Debian testing, Fluxbox 1.3.5, emacs 24.4.50.9

from emacs-clues-theme.

boudiccas avatar boudiccas commented on July 18, 2024

JasonM23 [email protected] writes:

Good to know the gmail HTML issue was build related, it seemed so. No
idea why that link was wrong, I just c/p'ed it out of the address bar
for a "gnus not displaying HTML emails correctly", still, no longer
relevant to this issue.

The default face is customized by the theme as:

Foreground: #C0E9F6
Background: #110B14

So the theme isn't related to that either, however there's a chance
that describe-face isn't displaying the face at point, or you
misconstrued my instructions and chose the "default" face, which
wasn't my intention.

--8<---------------cut here---------------start------------->8---
Face: default (sample) (customize this face)

Documentation:
Basic default face.

Defined in `faces.el'.

       Family: DejaVu Sans Mono
      Foundry: unknown
        Width: normal
       Height: 113
       Weight: normal
        Slant: normal
   Foreground: #C0E9F6

DistantForeground: unspecified
Background: #110B14
Underline: nil
Overline: nil
Strike-through: nil
Box: nil
Inverse: nil
Stipple: nil
Font: #<font-object -unknown-DejaVu Sans Mono-normal-normal-normal--15----m-0-iso10646-1>
Fontset: -unknown-DejaVu Sans Mono-normal-normal-normal--15----m-0-fontset-startup
Inherit: nil

[back]
--8<---------------cut here---------------end--------------->8---

Not knowing much about emacs fontification I followed your instructions, and
have repeated it again with similar results. I've also copied it above for you to
see the "Help" buffer generated too!
[snip]

The only way that clues-theme might be interacting with any of these
faces is if they inherit from a "standard" face, like default and then
change an attribute (most likely background)

That's what it seems to be doing.

If I get a chance, and you get no where, I'll setup a 24.4 build,
configure and use GNUS, and see if I can replicate, at the moment
though my freetime is a snowed under.

If it helps, I have a posting on my blog for the script for 'ebuild' which
automates the building of the development branch of emacs 24.4.50.x, where
once you've started it the only other thing that you have to do is put your
password in so that it can install emacs to /usr/local/bin, everything else is
automated so you can have a cup of tea whilst its building! :)

Thanks for all the help and guidance.

Sharon.

A taste of linux = http://www.sharons.org.uk
my git repo = https://bitbucket.org/boudiccas/dots
TGmeds = http://www.tgmeds.org.uk
Debian testing, Fluxbox 1.3.5, emacs 24.4.50.7

from emacs-clues-theme.

jasonm23 avatar jasonm23 commented on July 18, 2024
 C-u C-x =

Is the command to get a full info dump about the current point at cursor. Default face is definitely not the problem, but C-u C-x = will list all faces that affect the point.

from emacs-clues-theme.

boudiccas avatar boudiccas commented on July 18, 2024

JasonM23 [email protected] writes:

C-u C-x =

Is the command to get a full info dump about the current point at
cursor. Default face is definitely not the problem, but C-u C-x = will
list all faces that affect the point.

Thanks for this, two points
[1] - I want to put you into BBDB, but which email address please?
[2] - follows
--8<---------------cut here---------------start------------->8---
position: 434 of 2489 (17%), column: 30
character: a (displayed as a) (codepoint 97, #o141, #x61)
preferred charset: ascii (ASCII (ISO646 IRV))
code point in charset: 0x61
script: latin
syntax: w which means: word
category: .:Base, L:Left-to-right (strong), a:ASCII, l:Latin, r:Roman
to input: type "C-x 8 RET HEX-CODEPOINT" or "C-x 8 RET NAME"
buffer code: #x61
file code: #x61 (encoded by coding system utf-8)
display: by this font (glyph code)
xft:-unknown-DejaVu Sans Mono-normal-normal-normal--15----m-0-iso10646-1 (#x44)

Character code properties: customize what to show
name: LATIN SMALL LETTER A
general-category: Ll (Letter, Lowercase)
decomposition: (97) ('a')

There are text properties here:
face ((:foreground "#676767") (:foreground "#676767") (:background "#767676"))
fontified t
--8<---------------cut here---------------end--------------->8---
This is from a "problem gmail"

--8<---------------cut here---------------start------------->8---
position: 254 of 1337 (19%), column: 29
character: N (displayed as N) (codepoint 78, #o116, #x4e)
preferred charset: ascii (ASCII (ISO646 IRV))
code point in charset: 0x4E
script: latin
syntax: w which means: word
category: .:Base, L:Left-to-right (strong), a:ASCII, l:Latin, r:Roman
to input: type "C-x 8 RET HEX-CODEPOINT" or "C-x 8 RET NAME"
buffer code: #x4E
file code: #x4E (encoded by coding system utf-8)
display: by this font (glyph code)
xft:-unknown-DejaVu Sans Mono-normal-normal-normal--15----m-0-iso10646-1 (#x31)

Character code properties: customize what to show
name: LATIN CAPITAL LETTER N
general-category: Lu (Letter, Uppercase)
decomposition: (78) ('N')

There are text properties here:
face (:foreground "#676767")
fontified t

[back]
--8<---------------cut here---------------end--------------->8---
From a "non-problem gmail", just to see the difference.

Sharon.

A taste of linux = http://www.sharons.org.uk
my git repo = https://bitbucket.org/boudiccas/dots
TGmeds = http://www.tgmeds.org.uk
Debian testing, Fluxbox 1.3.5, emacs 24.4.50.7

from emacs-clues-theme.

jasonm23 avatar jasonm23 commented on July 18, 2024

Note that the face info on your bad gmail is using isolated face attributes, and not a custom theme defface.

See here:

There are text properties here: 
face ((:foreground "#676767") (:foreground "#676767") (:background "#767676")) 
fontified t 

Which means code somewhere else is setting that text's face attributes to #767676 / #676767. Although I cannot tell you where, you can search your installed packages or even site-lisp etc for such settings.

I can say with a fair degree of certainty that you will likely see the exact same problem with any other theme - please check this assertion and let me know.

from emacs-clues-theme.

jasonm23 avatar jasonm23 commented on July 18, 2024

Btw, note that those two colours are not set together (or even separately) in clues-theme.el.

from emacs-clues-theme.

jasonm23 avatar jasonm23 commented on July 18, 2024

I'll close this issue, as it clearly has nothing to do with the clues-theme

from emacs-clues-theme.

boudiccas avatar boudiccas commented on July 18, 2024

JasonM23 [email protected] writes:

I'll close this issue, as it clearly has nothing to do with the
clues-theme

Except that the clues-theme and some emails from google groups are
incompatible. You just can't read them, and I don't know what the
solution is.

Sharon.

A taste of linux = http://www.sharons.org.uk
my git repo = https://bitbucket.org/boudiccas/dots
TGmeds = http://www.tgmeds.org.uk
Debian testing, Fluxbox 1.3.5, emacs 24.4.50.16

from emacs-clues-theme.

jasonm23 avatar jasonm23 commented on July 18, 2024

Unfortunately, that has nothing to do with clues-theme. As we have proven that the faces in question, and the colours used, are never set by clues.

So as I said, this issue had nothing to do with clues.

from emacs-clues-theme.

Related Issues (3)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.