unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* bug#32032: 26.1; Emacs 26 opens under X with blank window
@ 2018-07-02  1:52 gnu_lists
  2018-07-02 14:35 ` Eli Zaretskii
  0 siblings, 1 reply; 31+ messages in thread
From: gnu_lists @ 2018-07-02  1:52 UTC (permalink / raw)
  To: 32032

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

I just built Emacs 26.1 on Centos 6 (RHEL 6.9). When I fire up the


executable with `src/emacs -Q` over X11 it shows an empty window with nominibuffer. See the following screenshot:


https://i.stack.imgur.com/0Uf4m.png





I built Emacs without `gnutls`, but that should be possible. Do I missany essential libraries?





According to a stack exchange question


(https://emacs.stackexchange.com/questions/41021/emacs-26-1-rc1-display-issues-over-ssh-x11-with-xming-vcxsrv)the issue might be related to the X-toolkit I'm using (GTK2). Does Emacs26 not support GTK2? The X server I use is MobaXterm 3.0 on Windows 7Enterprise. I cannot test with another X server.





The output of my `./configure --without-gnutls` is stored in a GitHubgist:


https://gist.github.com/halloleo/46808e9574f375f1e320f5e13c068296. Theoutput of the `make all` is in this gist:


https://gist.github.com/halloleo/c4a4ac53c047d972b6f7b91a0240167f





## Notes:





1. The build runs fine in a terminal via `src/emacs -Q -nw` (**That’s
   how I generated the bug report output below!**)


2. I have built Emacs 25 on the same machine and it runs successfullyover X11.





In GNU Emacs 26.1 (build 1, x86_64-pc-linux-gnu, GTK+ Version 2.24.23) of 2018-06-29 built on ACCRAD01


System Description: Oracle Linux Server release 6.9





Configured using:


 'configure --without-gnutls'





Configured features:


XPM JPEG TIFF GIF PNG SOUND GPM DBUS GCONF GSETTINGS NOTIFY LIBSELINUXLIBXML2 FREETYPE XFT ZLIB TOOLKIT_SCROLL_BARS GTK2 X11 THREADS





Important settings:


  value of $LANG: en_US.UTF-8


  locale-coding-system: utf-8-unix





Major mode: Lisp Interaction





Minor modes in effect:


  tooltip-mode: t


  global-eldoc-mode: t


  eldoc-mode: t


  electric-indent-mode: t


  mouse-wheel-mode: t


  tool-bar-mode: t


  menu-bar-mode: t


  file-name-shadow-mode: t


  global-font-lock-mode: t


  font-lock-mode: t


  auto-composition-mode: t


  auto-encryption-mode: t


  auto-compression-mode: t


  line-number-mode: t


  transient-mark-mode: t





Load-path shadows:


None found.





Features:


(shadow sort mail-extr emacsbug message rmc puny seq byte-opt gv


bytecomp byte-compile cconv cl-loaddefs cl-lib dired dired-loaddefs


format-spec rfc822 mml easymenu mml-sec password-cache epa derived epgepg-config gnus-util rmail rmail-loaddefs mm-decode mm-bodies mm-encodemail-parse rfc2231 mailabbrev gmm-utils mailheader sendmail rfc2047


rfc2045 ietf-drums mm-util mail-prsvr mail-utils term/xterm xterm


time-date elec-pair mule-util tooltip eldoc electric uniquify ediff-hookvc-hooks lisp-float-type mwheel term/x-win x-win term/common-win x-dndtool-bar dnd fontset image regexp-opt fringe tabulated-list replace


newcomment text-mode elisp-mode lisp-mode prog-mode register page


menu-bar rfn-eshadow isearch timer select scroll-bar mouse jit-lock


font-lock syntax facemenu font-core term/tty-colors frame cl-generic


cham georgian utf-8-lang misc-lang vietnamese tibetan thai tai-viet laokorean japanese eucjp-ms cp51932 hebrew greek romanian slovak czech


european ethiopic indian cyrillic chinese composite charscript charpropcase-table epa-hook jka-cmpr-hook help simple abbrev obarray minibuffercl-preloaded nadvice loaddefs button faces cus-face macroexp files


text-properties overlay sha1 md5 base64 format env code-pages mule


custom widget hashtable-print-readable backquote dbusbind inotify


dynamic-setting system-font-setting font-render-setting move-toolbar gtkx-toolkit x multi-tty make-network-process emacs)





Memory information:


((conses 16 97738 9072)


 (symbols 48 20313 2)


 (miscs 40 33 93)


 (strings 32 28225 1194)


 (string-bytes 1 746234)


 (vectors 16 12015)


 (vector-slots 8 446631 9182)


 (floats 8 53 260)


 (intervals 56 204 0)


 (buffers 992 11)


 (heap 1024 15148 697))




[-- Attachment #2: Type: text/html, Size: 37704 bytes --]

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

* bug#32032: 26.1; Emacs 26 opens under X with blank window
  2018-07-02  1:52 bug#32032: 26.1; Emacs 26 opens under X with blank window gnu_lists
@ 2018-07-02 14:35 ` Eli Zaretskii
  2018-07-03  7:20   ` gnu_lists
  0 siblings, 1 reply; 31+ messages in thread
From: Eli Zaretskii @ 2018-07-02 14:35 UTC (permalink / raw)
  To: gnu_lists; +Cc: 32032

> From: gnu_lists@halloleo.hailmail.net
> Date: Mon, 02 Jul 2018 11:52:34 +1000
> 
> I just built Emacs 26.1 on Centos 6 (RHEL 6.9). When I fire up the
> executable with `src/emacs -Q` over X11 it shows an empty window with no
> minibuffer. See the following screenshot:

> https://i.stack.imgur.com/0Uf4m.png
> 
> I built Emacs without `gnutls`, but that should be possible. Do I miss
> any essential libraries?

Try disabling double-buffering (etc/NEWS describes how to do that).





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

* bug#32032: 26.1; Emacs 26 opens under X with blank window
  2018-07-02 14:35 ` Eli Zaretskii
@ 2018-07-03  7:20   ` gnu_lists
  2018-07-03  9:20     ` Robert Pluim
  0 siblings, 1 reply; 31+ messages in thread
From: gnu_lists @ 2018-07-03  7:20 UTC (permalink / raw)
  To: Eli Zaretskii; +Cc: 32032

> > I just built Emacs 26.1 on Centos 6 (RHEL 6.9). When I fire up the
> > executable with `src/emacs -Q` over X11 it shows an empty window with no
> > minibuffer. See the following screenshot:
> 
> > https://i.stack.imgur.com/0Uf4m.png
> > 
> > I built Emacs without `gnutls`, but that should be possible. Do I miss
> > any essential libraries?
> 
> Try disabling double-buffering (etc/NEWS describes how to do that).

Thanks Eli. That works. :-)
 
Any way to *build* Emacs so that  it disables by default double-buffering?





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

* bug#32032: 26.1; Emacs 26 opens under X with blank window
  2018-07-03  7:20   ` gnu_lists
@ 2018-07-03  9:20     ` Robert Pluim
  2018-07-03 18:53       ` Eli Zaretskii
  0 siblings, 1 reply; 31+ messages in thread
From: Robert Pluim @ 2018-07-03  9:20 UTC (permalink / raw)
  To: gnu_lists; +Cc: 32032

gnu_lists@halloleo.hailmail.net writes:

>> > I just built Emacs 26.1 on Centos 6 (RHEL 6.9). When I fire up the
>> > executable with `src/emacs -Q` over X11 it shows an empty window with no
>> > minibuffer. See the following screenshot:
>> 
>> > https://i.stack.imgur.com/0Uf4m.png
>> > 
>> > I built Emacs without `gnutls`, but that should be possible. Do I miss
>> > any essential libraries?
>> 
>> Try disabling double-buffering (etc/NEWS describes how to do that).
>
> Thanks Eli. That works. :-)
>  
> Any way to *build* Emacs so that  it disables by default double-buffering?

It doesnʼt look that way, if configure finds the Xdbe extension Emacs
uses it. You could add

'(inhibit-double-buffering . t)

to default-frame-alist, or uninstall the Xdbe.h header.

Robert





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

* bug#32032: 26.1; Emacs 26 opens under X with blank window
  2018-07-03  9:20     ` Robert Pluim
@ 2018-07-03 18:53       ` Eli Zaretskii
  2018-07-03 22:57         ` gnu_lists
  0 siblings, 1 reply; 31+ messages in thread
From: Eli Zaretskii @ 2018-07-03 18:53 UTC (permalink / raw)
  To: Robert Pluim; +Cc: gnu_lists, 32032

> From: Robert Pluim <rpluim@gmail.com>
> Cc: Eli Zaretskii <eliz@gnu.org>,  32032@debbugs.gnu.org
> Date: Tue, 03 Jul 2018 11:20:15 +0200
> 
> >> Try disabling double-buffering (etc/NEWS describes how to do that).
> >
> > Thanks Eli. That works. :-)
> >  
> > Any way to *build* Emacs so that  it disables by default double-buffering?
> 
> It doesnʼt look that way, if configure finds the Xdbe extension Emacs
> uses it. You could add
> 
> '(inhibit-double-buffering . t)
> 
> to default-frame-alist, or uninstall the Xdbe.h header.

Given that there are known bugs with this feature that no one is
working on, perhaps we should introduce an optional configure switch
to build without double-buffering.





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

* bug#32032: 26.1; Emacs 26 opens under X with blank window
  2018-07-03 18:53       ` Eli Zaretskii
@ 2018-07-03 22:57         ` gnu_lists
  2018-07-04  2:35           ` Eli Zaretskii
  0 siblings, 1 reply; 31+ messages in thread
From: gnu_lists @ 2018-07-03 22:57 UTC (permalink / raw)
  To: Eli Zaretskii, Robert Pluim; +Cc: 32032

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




On Wed, 4 Jul 2018, at 4:53 AM, Eli Zaretskii wrote:
> > From: Robert Pluim <rpluim@gmail.com>
> > Cc: Eli Zaretskii <eliz@gnu.org>,  32032@debbugs.gnu.org
> > Date: Tue, 03 Jul 2018 11:20:15 +0200
> >
> > >> Try disabling double-buffering (etc/NEWS describes how to do
> > >> that).> > >
> > > Thanks Eli. That works. :-)
> > > 
> > > Any way to *build* Emacs so that  it disables by default double-
> > > buffering?> >
> > It doesnʼt look that way, if configure finds the Xdbe
> > extension Emacs> > uses it. You could add
> >
> > '(inhibit-double-buffering . t)
> >
> > to default-frame-alist, or uninstall the Xdbe.h header.
>
> Given that there are known bugs with this feature that no one is
> working on, perhaps we should introduce an optional configure switch
> to build without double-buffering.

Agreed. Does it make sense for a Emacs source code newbie to chip in
here?

[-- Attachment #2: Type: text/html, Size: 2294 bytes --]

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

* bug#32032: 26.1; Emacs 26 opens under X with blank window
  2018-07-03 22:57         ` gnu_lists
@ 2018-07-04  2:35           ` Eli Zaretskii
  2018-07-06 12:33             ` gnu_lists
  0 siblings, 1 reply; 31+ messages in thread
From: Eli Zaretskii @ 2018-07-04  2:35 UTC (permalink / raw)
  To: gnu_lists; +Cc: rpluim, 32032

> From: gnu_lists@halloleo.hailmail.net
> Cc: 32032@debbugs.gnu.org
> Date: Wed, 04 Jul 2018 08:57:55 +1000
> 
> > Given that there are known bugs with this feature that no one is
> > working on, perhaps we should introduce an optional configure switch
> > to build without double-buffering.
> 
> Agreed. Does it make sense for a Emacs source code newbie to chip in here?

Of course.  We were all newbies at some point.





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

* bug#32032: 26.1; Emacs 26 opens under X with blank window
  2018-07-04  2:35           ` Eli Zaretskii
@ 2018-07-06 12:33             ` gnu_lists
  2018-07-06 12:50               ` Robert Pluim
  2018-07-06 12:51               ` Eli Zaretskii
  0 siblings, 2 replies; 31+ messages in thread
From: gnu_lists @ 2018-07-06 12:33 UTC (permalink / raw)
  To: Eli Zaretskii; +Cc: rpluim, gnu_lists, 32032

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

>>> Given that there are known bugs with this feature that no one is
>>> working on, perhaps we should introduce an optional configure switch>>> to build without double-buffering.
>> 
>> Agreed. Does it make sense for a Emacs source code newbie to chip
>> in here?> 
> Of course.  We were all newbies at some point.

I created a new `configure.ac` (see
https://gist.github.com/halloleo/8f4ba4b1ffcc3874a2ee0e16e03f6618) which
provides a `--without-backbuffer` option:
    ./configure --without-gnutls --without-backbuffer

then builds an Emacs exe which starts up properly on unbuffered X
servers without any custom `.emacs` file.
Where do I put the `configure.ac` file and how do I create a pull
request for it?

[-- Attachment #2: Type: text/html, Size: 1707 bytes --]

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

* bug#32032: 26.1; Emacs 26 opens under X with blank window
  2018-07-06 12:33             ` gnu_lists
@ 2018-07-06 12:50               ` Robert Pluim
  2018-07-06 13:20                 ` Eli Zaretskii
  2018-07-06 12:51               ` Eli Zaretskii
  1 sibling, 1 reply; 31+ messages in thread
From: Robert Pluim @ 2018-07-06 12:50 UTC (permalink / raw)
  To: gnu_lists; +Cc: 32032

gnu_lists@halloleo.hailmail.net writes:

>>>> Given that there are known bugs with this feature that no one is
>>>> working on, perhaps we should introduce an optional configure switch>>> to build without double-buffering.
>>> 
>>> Agreed. Does it make sense for a Emacs source code newbie to chip
>>> in here?> 
>> Of course.  We were all newbies at some point.
>
> I created a new `configure.ac` (see
> https://gist.github.com/halloleo/8f4ba4b1ffcc3874a2ee0e16e03f6618) which
> provides a `--without-backbuffer` option:
>     ./configure --without-gnutls --without-backbuffer
>

Iʼd call it --without-xdbe, since thatʼs the name of the X
extension. You should probably also add it to the output of configure
(all those "Does Emacs use <foo>" lines), and to
emacs_config_features.

> then builds an Emacs exe which starts up properly on unbuffered X
> servers without any custom `.emacs` file.
> Where do I put the `configure.ac` file and how do I create a pull
> request for it?

We donʼt do pull requests. Creating a git format-patch (including a
ChangeLog entry), is probably the easiest way to get the change
in. Itʼs possible you'll need to complete a copyright assignment [1]

Eli, would such a change require copyright assignment? I suspect the
change is less than 10 lines.

Regards

Robert

Footnotes:
[1]  Yes, thereʼs a lot of inertia to overcome before you can
     contribute to emacs.






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

* bug#32032: 26.1; Emacs 26 opens under X with blank window
  2018-07-06 12:33             ` gnu_lists
  2018-07-06 12:50               ` Robert Pluim
@ 2018-07-06 12:51               ` Eli Zaretskii
  2018-07-06 12:55                 ` Robert Pluim
                                   ` (2 more replies)
  1 sibling, 3 replies; 31+ messages in thread
From: Eli Zaretskii @ 2018-07-06 12:51 UTC (permalink / raw)
  To: gnu_lists; +Cc: rpluim, 32032

> From: gnu_lists@halloleo.hailmail.net
> Cc: gnu_lists@halloleo.hailmail.net, rpluim@gmail.com, 32032@debbugs.gnu.org
> Date: Fri, 06 Jul 2018 22:33:05 +1000
> 
> 
> [1:text/plain Show]
> 
> 
> [2:text/html Hide Save:noname (2kB)]
> 
>  Given that there are known bugs with this feature that no one is
>  working on, perhaps we should introduce an optional configure switch
>  to build without double-buffering.
> 
>  Agreed. Does it make sense for a Emacs source code newbie to chip in here?
> 
>  Of course.  We were all newbies at some point.
> 
> I created a new `configure.ac` (see https://gist.github.com/halloleo/8f4ba4b1ffcc3874a2ee0e16e03f6618)
> which provides a `--without-backbuffer` option:
> 
>     ./configure --without-gnutls --without-backbuffer

Thanks.

> then builds an Emacs exe which starts up properly on unbuffered X servers without any custom `.emacs` file.
> 
> Where do I put the `configure.ac` file and how do I create a pull request for it?

We don't (yet) work with pull requests.  Please make the change in
your local clone of the Emacs repository, on the master branch, and
then use "git format-patch" to prepare a patch and post the patch
here.

(Please consult CONTRIBUTE in the repository for some of the practices
we advise to use with contributed code.)





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

* bug#32032: 26.1; Emacs 26 opens under X with blank window
  2018-07-06 12:51               ` Eli Zaretskii
@ 2018-07-06 12:55                 ` Robert Pluim
  2018-07-06 13:30                   ` Eli Zaretskii
  2018-07-06 13:12                 ` gnu_lists
  2018-07-08 23:30                 ` leo
  2 siblings, 1 reply; 31+ messages in thread
From: Robert Pluim @ 2018-07-06 12:55 UTC (permalink / raw)
  To: Eli Zaretskii; +Cc: gnu_lists, 32032

Eli Zaretskii <eliz@gnu.org> writes:

> We don't (yet) work with pull requests.  Please make the change in
> your local clone of the Emacs repository, on the master branch, and
> then use "git format-patch" to prepare a patch and post the patch
> here.

It looks simple enough for emacs-26, no? Of course, it needs an
etc/NEWS entry as well describing it whichever branch it goes to.

Regards

Robert





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

* bug#32032: 26.1; Emacs 26 opens under X with blank window
  2018-07-06 12:51               ` Eli Zaretskii
  2018-07-06 12:55                 ` Robert Pluim
@ 2018-07-06 13:12                 ` gnu_lists
  2018-07-08 23:30                 ` leo
  2 siblings, 0 replies; 31+ messages in thread
From: gnu_lists @ 2018-07-06 13:12 UTC (permalink / raw)
  To: Eli Zaretskii; +Cc: rpluim, 32032

> >  Given that there are known bugs with this feature that no one is
> >  working on, perhaps we should introduce an optional configure switch
> >  to build without double-buffering.
> > 
> >  Agreed. Does it make sense for a Emacs source code newbie to chip in here?
> > 
> >  Of course.  We were all newbies at some point.
> > 
> > I created a new `configure.ac` (see https://gist.github.com/halloleo/8f4ba4b1ffcc3874a2ee0e16e03f6618)
> > which provides a `--without-backbuffer` option:
> > 
> >     ./configure --without-gnutls --without-backbuffer
> 
> Thanks.
> 
> > then builds an Emacs exe which starts up properly on unbuffered X servers without any custom `.emacs` file.
> > 
> > Where do I put the `configure.ac` file and how do I create a pull request for it?
> 
> We don't (yet) work with pull requests.  Please make the change in
> your local clone of the Emacs repository, on the master branch, and
> then use "git format-patch" to prepare a patch and post the patch
> here.
> 
> (Please consult CONTRIBUTE in the repository for some of the practices
> we advise to use with contributed code.)

Will do. Will try to post patch tomorrow.

Happy emacsing! : -)





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

* bug#32032: 26.1; Emacs 26 opens under X with blank window
  2018-07-06 12:50               ` Robert Pluim
@ 2018-07-06 13:20                 ` Eli Zaretskii
  2018-07-06 13:54                   ` gnu_lists
  0 siblings, 1 reply; 31+ messages in thread
From: Eli Zaretskii @ 2018-07-06 13:20 UTC (permalink / raw)
  To: Robert Pluim; +Cc: gnu_lists, 32032

> From: Robert Pluim <rpluim@gmail.com>
> Cc: Eli Zaretskii <eliz@gnu.org>,  32032@debbugs.gnu.org
> Date: Fri, 06 Jul 2018 14:50:22 +0200
> 
> >     ./configure --without-gnutls --without-backbuffer
> >
> 
> Iʼd call it --without-xdbe

Or maybe --disable-double-buffering?

> Eli, would such a change require copyright assignment? I suspect the
> change is less than 10 lines.

If it's small (and I also expect it to be small), then no assignment
is necessary.  Of course, starting the paperwork now would be a good
idea regardless.





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

* bug#32032: 26.1; Emacs 26 opens under X with blank window
  2018-07-06 12:55                 ` Robert Pluim
@ 2018-07-06 13:30                   ` Eli Zaretskii
  2018-07-14 23:55                     ` Noam Postavsky
  0 siblings, 1 reply; 31+ messages in thread
From: Eli Zaretskii @ 2018-07-06 13:30 UTC (permalink / raw)
  To: Robert Pluim; +Cc: gnu_lists, 32032

> From: Robert Pluim <rpluim@gmail.com>
> Cc: gnu_lists@halloleo.hailmail.net,  32032@debbugs.gnu.org
> Date: Fri, 06 Jul 2018 14:55:02 +0200
> 
> Eli Zaretskii <eliz@gnu.org> writes:
> 
> > We don't (yet) work with pull requests.  Please make the change in
> > your local clone of the Emacs repository, on the master branch, and
> > then use "git format-patch" to prepare a patch and post the patch
> > here.
> 
> It looks simple enough for emacs-26, no?

It does, but I'm hesitant to add new features to emacs-26, and I still
hope those bugs will get fixed at some point, so we will have no
urgent need for this option.

What do others think--is it urgent to get this option into Emacs 26.2?





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

* bug#32032: 26.1; Emacs 26 opens under X with blank window
  2018-07-06 13:20                 ` Eli Zaretskii
@ 2018-07-06 13:54                   ` gnu_lists
  2018-07-06 14:04                     ` Robert Pluim
                                       ` (2 more replies)
  0 siblings, 3 replies; 31+ messages in thread
From: gnu_lists @ 2018-07-06 13:54 UTC (permalink / raw)
  To: Eli Zaretskii, Robert Pluim; +Cc: 32032

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

> > >     ./configure --without-gnutls --without-backbuffer
> > >
> >
> > Iʼd call it --without-xdbe
>
> Or maybe --disable-double-buffering?

I think sticking with the --without-... pattern makes sense.

> > Eli, would such a change require copyright assignment? 

What’s this copyright assignment about? A GNU thing?

[-- Attachment #2: Type: text/html, Size: 1283 bytes --]

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

* bug#32032: 26.1; Emacs 26 opens under X with blank window
  2018-07-06 13:54                   ` gnu_lists
@ 2018-07-06 14:04                     ` Robert Pluim
  2018-07-06 14:07                     ` Noam Postavsky
  2018-07-06 14:08                     ` Eli Zaretskii
  2 siblings, 0 replies; 31+ messages in thread
From: Robert Pluim @ 2018-07-06 14:04 UTC (permalink / raw)
  To: gnu_lists; +Cc: 32032

gnu_lists@halloleo.hailmail.net writes:

>> > >     ./configure --without-gnutls --without-backbuffer
>> > >
>> >
>> > Iʼd call it --without-xdbe
>>
>> Or maybe --disable-double-buffering?
>
> I think sticking with the --without-... pattern makes sense.
>

Yes, as it a compile time option, not a run-time disabling of the
feature. If you call it 'without-double-buffering' please make Xdbe
appear in the help string, it would help people search for it.

>> > Eli, would such a change require copyright assignment? 
>
> What’s this copyright assignment about? A GNU thing?

Yes. The FSF requires that substantial changes to GNU programs have
their copyright assigned to them (although you still retain your
rights to the changes as well). Explained in greater detail here:
<https://www.gnu.org/licenses/why-assign.en.html>

For small changes such assignment is not required, but if you plan to
make lots of contributions itʼs a good idea. The process is relatively
painless.

Robert





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

* bug#32032: 26.1; Emacs 26 opens under X with blank window
  2018-07-06 13:54                   ` gnu_lists
  2018-07-06 14:04                     ` Robert Pluim
@ 2018-07-06 14:07                     ` Noam Postavsky
  2018-07-06 14:57                       ` Robert Pluim
  2018-07-06 14:08                     ` Eli Zaretskii
  2 siblings, 1 reply; 31+ messages in thread
From: Noam Postavsky @ 2018-07-06 14:07 UTC (permalink / raw)
  To: gnu_lists; +Cc: Robert Pluim, 32032

On 6 July 2018 at 09:54,  <gnu_lists@halloleo.hailmail.net> wrote:
>> > >     ./configure --without-gnutls --without-backbuffer
>> > >
>> >
>> > Iʼd call it --without-xdbe
>>
>> Or maybe --disable-double-buffering?
>
> I think sticking with the --without-... pattern makes sense.

The ./configure --help output distinguishes between features and packages:

Optional Features:
  --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
  --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]

Optional Packages:
  --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
  --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)

I think the double buffering thing is a feature, not a package, so
--disable-... fits better.





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

* bug#32032: 26.1; Emacs 26 opens under X with blank window
  2018-07-06 13:54                   ` gnu_lists
  2018-07-06 14:04                     ` Robert Pluim
  2018-07-06 14:07                     ` Noam Postavsky
@ 2018-07-06 14:08                     ` Eli Zaretskii
  2018-07-06 22:44                       ` gnu_lists
  2 siblings, 1 reply; 31+ messages in thread
From: Eli Zaretskii @ 2018-07-06 14:08 UTC (permalink / raw)
  To: gnu_lists; +Cc: rpluim, 32032

> From: gnu_lists@halloleo.hailmail.net
> Cc: 32032@debbugs.gnu.org
> Date: Fri, 06 Jul 2018 23:54:12 +1000
> 
> > > Eli, would such a change require copyright assignment? 
> 
> What’s this copyright assignment about? A GNU thing?

Yes.  I can send you the assignment form, and you can then decide
whether you are okay with doing it.





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

* bug#32032: 26.1; Emacs 26 opens under X with blank window
  2018-07-06 14:07                     ` Noam Postavsky
@ 2018-07-06 14:57                       ` Robert Pluim
  2018-07-06 22:43                         ` gnu_lists
  0 siblings, 1 reply; 31+ messages in thread
From: Robert Pluim @ 2018-07-06 14:57 UTC (permalink / raw)
  To: Noam Postavsky; +Cc: gnu_lists, 32032

Noam Postavsky <npostavs@gmail.com> writes:

> On 6 July 2018 at 09:54,  <gnu_lists@halloleo.hailmail.net> wrote:
>>> > >     ./configure --without-gnutls --without-backbuffer
>>> > >
>>> >
>>> > Iʼd call it --without-xdbe
>>>
>>> Or maybe --disable-double-buffering?
>>
>> I think sticking with the --without-... pattern makes sense.
>
> The ./configure --help output distinguishes between features and packages:
>
> Optional Features:
>   --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
>   --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
>
> Optional Packages:
>   --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
>   --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
>
> I think the double buffering thing is a feature, not a package, so
> --disable-... fits better.

Is XIM as feature or a package? Because thatʼs under --with (as is
X11).

Robert





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

* bug#32032: 26.1; Emacs 26 opens under X with blank window
  2018-07-06 14:57                       ` Robert Pluim
@ 2018-07-06 22:43                         ` gnu_lists
  0 siblings, 0 replies; 31+ messages in thread
From: gnu_lists @ 2018-07-06 22:43 UTC (permalink / raw)
  To: Robert Pluim, Noam Postavsky; +Cc: 32032

> >>> > >     ./configure --without-gnutls --without-backbuffer
> >>> > >
> >>> >
> >>> > Iʼd call it --without-xdbe
> >>>
> >>> Or maybe --disable-double-buffering?
> >>
> >> I think sticking with the --without-... pattern makes sense.
> >
> > The ./configure --help output distinguishes between features and packages:
> >
> > Optional Features:
> >   --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
> >   --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
> >
> > Optional Packages:
> >   --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
> >   --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
> >
> > I think the double buffering thing is a feature, not a package, so
> > --disable-... fits better.
>
> Is XIM as feature or a package? Because thatʼs under --with (as is
> X11).

I’d say if we call it "--without-xdbe" it’s a package, if we call it "--disable-double-buffering" it is a feature. %-)

I vote for --without-xdbe; - it is shorter and gives the X11 reference. I can include "double-buffering" in the help string.






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

* bug#32032: 26.1; Emacs 26 opens under X with blank window
  2018-07-06 14:08                     ` Eli Zaretskii
@ 2018-07-06 22:44                       ` gnu_lists
  2018-07-07  7:18                         ` Eli Zaretskii
  0 siblings, 1 reply; 31+ messages in thread
From: gnu_lists @ 2018-07-06 22:44 UTC (permalink / raw)
  To: Eli Zaretskii; +Cc: rpluim, 32032

> > > > Eli, would such a change require copyright assignment?
> >
> > What’s this copyright assignment about? A GNU thing?
>
> Yes.  I can send you the assignment form, and you can then decide
> whether you are okay with doing it.

Yes, please send it through.




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

* bug#32032: 26.1; Emacs 26 opens under X with blank window
  2018-07-06 22:44                       ` gnu_lists
@ 2018-07-07  7:18                         ` Eli Zaretskii
  0 siblings, 0 replies; 31+ messages in thread
From: Eli Zaretskii @ 2018-07-07  7:18 UTC (permalink / raw)
  To: gnu_lists; +Cc: rpluim, 32032

> From: gnu_lists@halloleo.hailmail.net
> Date: Sat, 7 Jul 2018 08:44:00 +1000
> Cc: rpluim@gmail.com,
>  32032@debbugs.gnu.org
> 
> > > > > Eli, would such a change require copyright assignment?
> > >
> > > What’s this copyright assignment about? A GNU thing?
> >
> > Yes.  I can send you the assignment form, and you can then decide
> > whether you are okay with doing it.
> 
> Yes, please send it through.

Send off-list.





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

* bug#32032: 26.1; Emacs 26 opens under X with blank window
  2018-07-06 12:51               ` Eli Zaretskii
  2018-07-06 12:55                 ` Robert Pluim
  2018-07-06 13:12                 ` gnu_lists
@ 2018-07-08 23:30                 ` leo
  2 siblings, 0 replies; 31+ messages in thread
From: leo @ 2018-07-08 23:30 UTC (permalink / raw)
  To: Eli Zaretskii; +Cc: Robert Pluim, 32032

[-- Attachment #1: 0001-.-configure.ac-Build-option-for-Xdbe-double-bufferin.patch.zip --]
[-- Type: application/zip, Size: 1069 bytes --]

[-- Attachment #2: Type: text/plain, Size: 662 bytes --]


On 6 Jul 2018, at 22:51, Eli Zaretskii <eliz@gnu.org> wrote:

> 
>> then builds an Emacs exe which starts up properly on unbuffered X servers without any custom `.emacs` file.
>> 
>> Where do I put the `configure.ac` file and how do I create a pull request for it?
> 
> ...Please make the change in your local clone of the Emacs repository, on the master branch, and
> then use "git format-patch" to prepare a patch and post the patch
> here.

Created the patch. I went with “--without-xdbe" and "double buffering" in the help message.

Please find attached the zipped patch file. Let me know whether I’ve done it according to protocol.

Leo

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

* bug#32032: 26.1; Emacs 26 opens under X with blank window
  2018-07-06 13:30                   ` Eli Zaretskii
@ 2018-07-14 23:55                     ` Noam Postavsky
  2018-07-15 11:35                       ` Robert Pluim
  2018-07-20  9:17                       ` Eli Zaretskii
  0 siblings, 2 replies; 31+ messages in thread
From: Noam Postavsky @ 2018-07-14 23:55 UTC (permalink / raw)
  To: Eli Zaretskii; +Cc: Robert Pluim, gnu_lists, 32032

retitle 32032 26.1; MobaXterm X server + double buffering causes blank window
quit

Eli Zaretskii <eliz@gnu.org> writes:
>
> It does, but I'm hesitant to add new features to emacs-26, and I still
> hope those bugs will get fixed at some point, so we will have no
> urgent need for this option.
>
> What do others think--is it urgent to get this option into Emacs 26.2?

I'm not sure why it's so important to disable this at configure time,
but I wouldn't count on the urgency being relieved by getting the bug
fixed any time soon since it only seems to happen on more exotic X
servers.





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

* bug#32032: 26.1; Emacs 26 opens under X with blank window
  2018-07-14 23:55                     ` Noam Postavsky
@ 2018-07-15 11:35                       ` Robert Pluim
  2018-07-20  9:17                       ` Eli Zaretskii
  1 sibling, 0 replies; 31+ messages in thread
From: Robert Pluim @ 2018-07-15 11:35 UTC (permalink / raw)
  To: Noam Postavsky; +Cc: gnu_lists, 32032

Noam Postavsky <npostavs@gmail.com> writes:

> retitle 32032 26.1; MobaXterm X server + double buffering causes blank window
> quit
>
> Eli Zaretskii <eliz@gnu.org> writes:
>>
>> It does, but I'm hesitant to add new features to emacs-26, and I still
>> hope those bugs will get fixed at some point, so we will have no
>> urgent need for this option.
>>
>> What do others think--is it urgent to get this option into Emacs 26.2?
>
> I'm not sure why it's so important to disable this at configure time,
> but I wouldn't count on the urgency being relieved by getting the bug
> fixed any time soon since it only seems to happen on more exotic X
> servers.

I can understand that some people want to build an emacs thatʼs
maximally likely to work with all X servers, hence they want to be
able to disable possible problematic features like double-buffering at
compile time. That doesnʼt make it urgent, but itʼs a pretty small and
harmless change (famous last words).

Robert





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

* bug#32032: 26.1; Emacs 26 opens under X with blank window
  2018-07-14 23:55                     ` Noam Postavsky
  2018-07-15 11:35                       ` Robert Pluim
@ 2018-07-20  9:17                       ` Eli Zaretskii
  2018-07-20 12:50                         ` Noam Postavsky
  1 sibling, 1 reply; 31+ messages in thread
From: Eli Zaretskii @ 2018-07-20  9:17 UTC (permalink / raw)
  To: Noam Postavsky; +Cc: rpluim, gnu_lists, 32032

> From: Noam Postavsky <npostavs@gmail.com>
> Cc: Robert Pluim <rpluim@gmail.com>,  gnu_lists@halloleo.hailmail.net,  32032@debbugs.gnu.org
> Date: Sat, 14 Jul 2018 19:55:11 -0400
> 
> retitle 32032 26.1; MobaXterm X server + double buffering causes blank window
> quit
> 
> Eli Zaretskii <eliz@gnu.org> writes:
> >
> > It does, but I'm hesitant to add new features to emacs-26, and I still
> > hope those bugs will get fixed at some point, so we will have no
> > urgent need for this option.
> >
> > What do others think--is it urgent to get this option into Emacs 26.2?
> 
> I'm not sure why it's so important to disable this at configure time,
> but I wouldn't count on the urgency being relieved by getting the bug
> fixed any time soon since it only seems to happen on more exotic X
> servers.

So you tend to have this on the release branch?





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

* bug#32032: 26.1; Emacs 26 opens under X with blank window
  2018-07-20  9:17                       ` Eli Zaretskii
@ 2018-07-20 12:50                         ` Noam Postavsky
  2018-07-21 10:50                           ` Eli Zaretskii
  0 siblings, 1 reply; 31+ messages in thread
From: Noam Postavsky @ 2018-07-20 12:50 UTC (permalink / raw)
  To: Eli Zaretskii; +Cc: rpluim, gnu_lists, 32032

Eli Zaretskii <eliz@gnu.org> writes:
>> >
>> > It does, but I'm hesitant to add new features to emacs-26, and I still
>> > hope those bugs will get fixed at some point, so we will have no
>> > urgent need for this option.
>> >
>> > What do others think--is it urgent to get this option into Emacs 26.2?
>> 
>> I'm not sure why it's so important to disable this at configure time,
>> but I wouldn't count on the urgency being relieved by getting the bug
>> fixed any time soon since it only seems to happen on more exotic X
>> servers.
>
> So you tend to have this on the release branch?

Yeah, since it's to avoid a bug in a new feature.





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

* bug#32032: 26.1; Emacs 26 opens under X with blank window
  2018-07-20 12:50                         ` Noam Postavsky
@ 2018-07-21 10:50                           ` Eli Zaretskii
  2018-07-21 11:25                             ` leo
  2020-08-26 13:05                             ` Lars Ingebrigtsen
  0 siblings, 2 replies; 31+ messages in thread
From: Eli Zaretskii @ 2018-07-21 10:50 UTC (permalink / raw)
  To: Noam Postavsky; +Cc: rpluim, gnu_lists, 32032

> From: Noam Postavsky <npostavs@gmail.com>
> Cc: rpluim@gmail.com,  gnu_lists@halloleo.hailmail.net,  32032@debbugs.gnu.org
> Date: Fri, 20 Jul 2018 08:50:02 -0400
> 
> Eli Zaretskii <eliz@gnu.org> writes:
> >> >
> >> > It does, but I'm hesitant to add new features to emacs-26, and I still
> >> > hope those bugs will get fixed at some point, so we will have no
> >> > urgent need for this option.
> >> >
> >> > What do others think--is it urgent to get this option into Emacs 26.2?
> >> 
> >> I'm not sure why it's so important to disable this at configure time,
> >> but I wouldn't count on the urgency being relieved by getting the bug
> >> fixed any time soon since it only seems to happen on more exotic X
> >> servers.
> >
> > So you tend to have this on the release branch?
> 
> Yeah, since it's to avoid a bug in a new feature.

OK, let's get this into emacs-26, then.

Thanks.





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

* bug#32032: 26.1; Emacs 26 opens under X with blank window
  2018-07-21 10:50                           ` Eli Zaretskii
@ 2018-07-21 11:25                             ` leo
  2018-07-21 17:20                               ` Robert Pluim
  2020-08-26 13:05                             ` Lars Ingebrigtsen
  1 sibling, 1 reply; 31+ messages in thread
From: leo @ 2018-07-21 11:25 UTC (permalink / raw)
  To: Eli Zaretskii, Noam Postavsky; +Cc: rpluim, 32032

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




On Sat, 21 Jul 2018, at 8:50 PM, Eli Zaretskii wrote:
> > From: Noam Postavsky <npostavs@gmail.com>
> > Cc: rpluim@gmail.com,  gnu_lists@halloleo.hailmail.net,
> > 32032@debbugs.gnu.org> > Date: Fri, 20 Jul 2018 08:50:02 -0400
> >
> > Eli Zaretskii <eliz@gnu.org> writes:
> > >> >
> > >> > It does, but I'm hesitant to add new features to emacs-26, and
> > >> > I still> > >> > hope those bugs will get fixed at some point, so we will have
> > >> > no> > >> > urgent need for this option.
> > >> >
> > >> > What do others think--is it urgent to get this option into
> > >> > Emacs 26.2?> > >>
> > >> I'm not sure why it's so important to disable this at configure
> > >> time,> > >> but I wouldn't count on the urgency being relieved by getting the
> > >> bug> > >> fixed any time soon since it only seems to happen on more
> > >> exotic X> > >> servers.
> > >
> > > So you tend to have this on the release branch?
> >
> > Yeah, since it's to avoid a bug in a new feature.
>
> OK, let's get this into emacs-26, then.
>
> Thanks.

Cool! If there's anythingfor me to add in, let me know.

Leo

[-- Attachment #2: Type: text/html, Size: 2778 bytes --]

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

* bug#32032: 26.1; Emacs 26 opens under X with blank window
  2018-07-21 11:25                             ` leo
@ 2018-07-21 17:20                               ` Robert Pluim
  0 siblings, 0 replies; 31+ messages in thread
From: Robert Pluim @ 2018-07-21 17:20 UTC (permalink / raw)
  To: leo; +Cc: Noam Postavsky, 32032

leo <gnu_lists@halloleo.hailmail.net> writes:

> On Sat, 21 Jul 2018, at 8:50 PM, Eli Zaretskii wrote:
>> > From: Noam Postavsky <npostavs@gmail.com>
>> > Cc: rpluim@gmail.com,  gnu_lists@halloleo.hailmail.net,
>> > 32032@debbugs.gnu.org> > Date: Fri, 20 Jul 2018 08:50:02 -0400
>> >
>> > Eli Zaretskii <eliz@gnu.org> writes:
>> > >> >
>> > >> > It does, but I'm hesitant to add new features to emacs-26, and
>> > >> > I still> > >> > hope those bugs will get fixed at some point, so we will have
>> > >> > no> > >> > urgent need for this option.
>> > >> >
>> > >> > What do others think--is it urgent to get this option into
>> > >> > Emacs 26.2?> > >>
>> > >> I'm not sure why it's so important to disable this at configure
>> > >> time,> > >> but I wouldn't count on the urgency being relieved by getting the
>> > >> bug> > >> fixed any time soon since it only seems to happen on more
>> > >> exotic X> > >> servers.
>> > >
>> > > So you tend to have this on the release branch?
>> >
>> > Yeah, since it's to avoid a bug in a new feature.
>>
>> OK, let's get this into emacs-26, then.
>>
>> Thanks.
>
> Cool! If there's anythingfor me to add in, let me know.

I think an entry in etc/NEWS describing the new configure option
would be good (and a commit message in ChangeLog format, I donʼt
recall if you provided that).

Thanks

Robert





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

* bug#32032: 26.1; Emacs 26 opens under X with blank window
  2018-07-21 10:50                           ` Eli Zaretskii
  2018-07-21 11:25                             ` leo
@ 2020-08-26 13:05                             ` Lars Ingebrigtsen
  1 sibling, 0 replies; 31+ messages in thread
From: Lars Ingebrigtsen @ 2020-08-26 13:05 UTC (permalink / raw)
  To: Eli Zaretskii; +Cc: rpluim, gnu_lists, Noam Postavsky, 32032

Eli Zaretskii <eliz@gnu.org> writes:

>> > So you tend to have this on the release branch?
>> 
>> Yeah, since it's to avoid a bug in a new feature.
>
> OK, let's get this into emacs-26, then.

Apparently everybody agreed that this was to be applied, but that never
happened?  So I applied it now to Emacs 28, but since nobody has
complained about this in the past two years, perhaps it's superfluous.
If so, feel free to revert the patch.

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no





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

end of thread, other threads:[~2020-08-26 13:05 UTC | newest]

Thread overview: 31+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-07-02  1:52 bug#32032: 26.1; Emacs 26 opens under X with blank window gnu_lists
2018-07-02 14:35 ` Eli Zaretskii
2018-07-03  7:20   ` gnu_lists
2018-07-03  9:20     ` Robert Pluim
2018-07-03 18:53       ` Eli Zaretskii
2018-07-03 22:57         ` gnu_lists
2018-07-04  2:35           ` Eli Zaretskii
2018-07-06 12:33             ` gnu_lists
2018-07-06 12:50               ` Robert Pluim
2018-07-06 13:20                 ` Eli Zaretskii
2018-07-06 13:54                   ` gnu_lists
2018-07-06 14:04                     ` Robert Pluim
2018-07-06 14:07                     ` Noam Postavsky
2018-07-06 14:57                       ` Robert Pluim
2018-07-06 22:43                         ` gnu_lists
2018-07-06 14:08                     ` Eli Zaretskii
2018-07-06 22:44                       ` gnu_lists
2018-07-07  7:18                         ` Eli Zaretskii
2018-07-06 12:51               ` Eli Zaretskii
2018-07-06 12:55                 ` Robert Pluim
2018-07-06 13:30                   ` Eli Zaretskii
2018-07-14 23:55                     ` Noam Postavsky
2018-07-15 11:35                       ` Robert Pluim
2018-07-20  9:17                       ` Eli Zaretskii
2018-07-20 12:50                         ` Noam Postavsky
2018-07-21 10:50                           ` Eli Zaretskii
2018-07-21 11:25                             ` leo
2018-07-21 17:20                               ` Robert Pluim
2020-08-26 13:05                             ` Lars Ingebrigtsen
2018-07-06 13:12                 ` gnu_lists
2018-07-08 23:30                 ` leo

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).