unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: "Juanma Barranquero" <lekktu@gmail.com>
To: "YAMAMOTO Mitsuharu" <mituharu@math.s.chiba-u.ac.jp>
Cc: rms@gnu.org, emacs-devel@gnu.org
Subject: Re: Extending fringe backgrounds to scroll bar gaps
Date: Thu, 21 Jun 2007 00:42:27 +0200	[thread overview]
Message-ID: <f7ccd24b0706201542n2d99f06v479a5e8074d4605a@mail.gmail.com> (raw)
In-Reply-To: <wlk5u5d0sy.wl%mituharu@math.s.chiba-u.ac.jp>

[-- Attachment #1: Type: text/plain, Size: 939 bytes --]

On 6/15/07, YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> wrote:

> Yes.  But as I can't test it with W32, could Windows users try the
> following patch?

I've had to use "do {...} while (0)" in the definition of
w32_fill_area() in w32term.h in order to compile with your patch.

As for results, see the attached image. I don't think that was the
intended effect...

     Juanma



Index: src/w32term.h
===================================================================
RCS file: /cvsroot/emacs/emacs/src/w32term.h,v
retrieving revision 1.68
diff -u -2 -r1.68 w32term.h
--- src/w32term.h	22 Feb 2007 22:50:15 -0000	1.68
+++ src/w32term.h	20 Jun 2007 22:33:11 -0000
@@ -577,5 +581,5 @@

 #define w32_fill_area(f,hdc,pix,x,y,nx,ny) \
-{ \
+do { \
     RECT rect; \
     rect.left = x; \
@@ -584,5 +588,6 @@
     rect.bottom = y + ny; \
     w32_fill_rect (f,hdc,pix,&rect); \
-}
+} while (0)
+

 #define w32_clear_rect(f,hdc,lprect) \

[-- Attachment #2: emacs.png --]
[-- Type: image/png, Size: 5229 bytes --]

[-- Attachment #3: Type: text/plain, Size: 142 bytes --]

_______________________________________________
Emacs-devel mailing list
Emacs-devel@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-devel

  reply	other threads:[~2007-06-20 22:42 UTC|newest]

Thread overview: 21+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-03-06  3:17 Extending fringe backgrounds to scroll bar gaps YAMAMOTO Mitsuharu
2007-03-06  6:39 ` Jan Djärv
2007-03-06  7:02   ` YAMAMOTO Mitsuharu
2007-03-06  8:10     ` Jan Djärv
2007-03-06 22:36 ` Richard Stallman
2007-06-08 10:05   ` YAMAMOTO Mitsuharu
2007-06-10 13:19     ` Richard Stallman
2007-06-14  8:53       ` YAMAMOTO Mitsuharu
2007-06-15  8:48         ` Richard Stallman
2007-06-15  9:28           ` YAMAMOTO Mitsuharu
2007-06-20 22:42             ` Juanma Barranquero [this message]
2007-06-21  2:18               ` YAMAMOTO Mitsuharu
2007-06-21  8:54                 ` Juanma Barranquero
2007-06-21 11:30                   ` YAMAMOTO Mitsuharu
2007-06-21 11:47                     ` Juanma Barranquero
2007-06-21 22:17                       ` Juanma Barranquero
2007-06-22  2:14                         ` YAMAMOTO Mitsuharu
2007-06-22  8:19                           ` Juanma Barranquero
2007-06-23  2:05                             ` YAMAMOTO Mitsuharu
2007-06-25  9:45                               ` Juanma Barranquero
2007-07-27  8:49           ` YAMAMOTO Mitsuharu

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=f7ccd24b0706201542n2d99f06v479a5e8074d4605a@mail.gmail.com \
    --to=lekktu@gmail.com \
    --cc=emacs-devel@gnu.org \
    --cc=mituharu@math.s.chiba-u.ac.jp \
    --cc=rms@gnu.org \
    /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).