[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Addition to emacsbug.el

From: Jan D.
Subject: Addition to emacsbug.el
Date: Wed, 27 Oct 2004 11:37:34 +0200
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.3) Gecko/20040916


I'm working on the GTK scroll bars again, trying to get overscrolling to work as in the native scroll bars. But I see that depending on what GTK version and what X server version I run on (specifically with DAMAGE extension or not), I sometimes get different behaviour. Therefore I would like to have this information inserted by report-emacs-bug. The GTK version is already in emacs-version, so I propose this patch to emacsbug.el:

*** emacsbug.el.~1.61.~ 2003-10-05 15:51:43.000000000 +0200
--- emacsbug.el 2004-10-27 11:34:54.000000000 +0200
*** 128,133 ****
--- 128,136 ----
      (insert "\n\n\n")

      (insert "In " (emacs-version) "\n")
+     (if (fboundp 'x-server-vendor)
+       (insert "X vendor `" (x-server-vendor) "', vendor version "
+               (format "%d" (nth 2 (x-server-version))) "\n"))
      (if (and system-configuration-options
             (not (equal system-configuration-options "")))
        (insert "configured using `configure "

Is this OK?

        Jan D.

reply via email to

[Prev in Thread] Current Thread [Next in Thread]