unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: "Jan Djärv" <jan.h.d@swipnet.se>
To: "Jarosław Rzeszótko" <sztywny@gmail.com>, "Eli Zaretskii" <eliz@gnu.org>
Cc: 16395@debbugs.gnu.org
Subject: bug#16395: Tab-containing lines displayed with different background?
Date: Fri, 10 Jan 2014 14:36:10 +0100	[thread overview]
Message-ID: <52CFF74A.2030701@swipnet.se> (raw)
In-Reply-To: <CAHnYAZYXrHWAitSr10Q9OR7_gUndPchscaKbGMNaKhpSk9xX5w@mail.gmail.com>

Hello.

I simply can not reproduce this on any machine with any Linux 
distribution/Gtk+ version that I have.  You have to debug this yourself.

Colors are loaded in xfaces.c, load_color2.
For Gtk+ the background is also set in gtkutil.c, xg_set_widget_bg.

I suggest you do some tracing there and see what the difference is.

	Jan D.

2014-01-09 17:48, Jarosław Rzeszótko skrev:
> By the way, this happens with any background color, not just this
> particular one.
>
> Cheers,
> Jarosław Rzeszótko
>
> 2014/1/9 Jarosław Rzeszótko <sztywny@gmail.com>:
>> Hi,
>>
>> It's #141414 vs #151515, might not be easy to notice depending on
>> display/brightness/contrast/..., but you can zoom in and probe with
>> Gimp or something and you will see that, for example, the first line
>> has a #141414 background, and the second one with the hard tabs a
>> #151515. It's pretty strange because there don't seem to be any
>> overlays or anything of this kind.
>>
>> Cheers,
>> Jarosław Rzeszótko
>>
>> 2014/1/9 Eli Zaretskii <eliz@gnu.org>:
>>>> Date: Thu, 9 Jan 2014 14:53:08 +0100
>>>> From: Jarosław Rzeszótko <sztywny@gmail.com>
>>>> Cc: 16395@debbugs.gnu.org
>>>>
>>>> 1. I start emacs with "emacs -Q"
>>>>
>>>> 2. I open up M-x customize-face[RET] default[RET]
>>>>
>>>> 3. I set the background to #151515, foreground to #ffffff, and "click" "Apply"
>>>>
>>>> 4. M-x find-file[RET] ~/text.bar[RET]
>>>>
>>>> 5. I insert into the file some combination of empty lines, lines
>>>> containing text, and lines containing hard tabs and text.
>>>>
>>>> 6. The result can be seen in the screenshot attached.
>>>
>>> Sorry, but I see only one background color on the image, not two.  All
>>> the lines of text and empty lines have the same background.  Am I
>>> missing something?






  reply	other threads:[~2014-01-10 13:36 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-01-07 19:29 bug#16395: Tab-containing lines displayed with different background? Jarosław Rzeszótko
2014-01-08 19:25 ` Jan Djärv
2014-01-09 10:01   ` Jarosław Rzeszótko
2014-01-09 13:44     ` Jan Djärv
2014-01-09 13:53       ` Jarosław Rzeszótko
2014-01-09 16:30         ` Eli Zaretskii
2014-01-09 16:43           ` Jarosław Rzeszótko
2014-01-09 16:48             ` Jarosław Rzeszótko
2014-01-10 13:36               ` Jan Djärv [this message]
2015-12-26 12:52                 ` Lars Ingebrigtsen
2016-02-29  5:37                   ` Lars Ingebrigtsen

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=52CFF74A.2030701@swipnet.se \
    --to=jan.h.d@swipnet.se \
    --cc=16395@debbugs.gnu.org \
    --cc=eliz@gnu.org \
    --cc=sztywny@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

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 read-only IMAP folder(s) and NNTP newsgroup(s).