all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* W32 with native scroll bars woes
@ 2015-01-19 17:47 David Requena Zabala
  2015-01-19 18:09 ` Eli Zaretskii
  0 siblings, 1 reply; 5+ messages in thread
From: David Requena Zabala @ 2015-01-19 17:47 UTC (permalink / raw)
  To: emacs-devel@gnu.org


[-- Attachment #1.1: Type: text/plain, Size: 1932 bytes --]

Hi All,



I don't seem to be able to get this going. Here is how I build emacs 24.4.1 as released:



system-configuration-options is a variable defined in `C source code'.

Its value is

"--enable-checking --without-toolkit-scroll-bars --with-x-toolkit=no 'CFLAGS=-O0 -g3' CPPFLAGS=-DGLYPH_DEBUG=1"



Even built with '--without-toolkit-scroll-bars' Windows styled scrollbars are drawn on screen and, worse, any mouse interaction with them makes emacs instantly crash.



Is this a not supported (like on NextStep) thing or something? If that were the case, some warning like in Next should be emiited instead of happlily buildind. Wouldn't it? So it must be me doing something dumb..


Thanks in advance



[cid:image96cf73.jpg@b895f3b5.0fe44852]


  David Requena Zabala
  Comunicaciones Internacional

  Tel: 985 732 273
  Fax:
  C/ Dinamarca, n?19, 2?, Pol. Ind. Esp?ritu Santo
  33010 Oviedo Asturias
  drequena@gamalquiler.com
  www.gamalquiler.com<http://www.gamalquiler.com/>




Visite nuestra web de venta www.gamusado.com<http://www.gamusado.com/>



_________________________________________________________________________________

P Tenga en cuenta las consecuencias para el medio ambiente antes de imprimir este mensaje.

Este mensaje contiene informaci?n de car?cter privado y CONFIDENCIAL y se dirige exclusivamente a su destinatario. Si usted no es el destinatario al que se dirige, le rogamos que nos lo comunique por tel?fono o correo electr?nico, proceda a su destrucci?n y no debe leerlo, copiarlo, utilizarlo ni difundirlo.

This message contains privileged and CONFIDENTIAL information and is intended exclusively for its addressee. If you are not the intended recipient, please telephone or email the sender, delete it and do not read, copy, use or disclose it. (A)
_________________________________________________________________________________


[-- Attachment #1.2: Type: text/html, Size: 7961 bytes --]

[-- Attachment #2: image96cf73.jpg@b895f3b5.0fe44852 --]
[-- Type: image/jpeg, Size: 19492 bytes --]

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

* Re: W32 with native scroll bars woes
  2015-01-19 17:47 W32 with native scroll bars woes David Requena Zabala
@ 2015-01-19 18:09 ` Eli Zaretskii
  2015-01-19 23:04   ` David Requena Zabala
  0 siblings, 1 reply; 5+ messages in thread
From: Eli Zaretskii @ 2015-01-19 18:09 UTC (permalink / raw)
  To: David Requena Zabala; +Cc: emacs-devel

> From: David Requena Zabala <DRequena@gamalquiler.com>
> Date: Mon, 19 Jan 2015 18:47:20 +0100
> 
> I don’t seem to be able to get this going. Here is how I build emacs 24.4.1 as
> released:
> 
> system-configuration-options is a variable defined in `C source code'.
> 
> Its value is
> 
> "--enable-checking --without-toolkit-scroll-bars --with-x-toolkit=no
> 'CFLAGS=-O0 -g3' CPPFLAGS=-DGLYPH_DEBUG=1"

These 2 options:

   --without-toolkit-scroll-bars --with-x-toolkit=no

are meaningless in the w32 build, and shouldn't change anything.
Please for starters reconfigure without them and rebuild.

Also, instead of "--enable-checking" and CPPFLAGS=-DGLYPH_DEBUG=1,
please use just this:

  --enable-checking=yes,glyphs

> Even built with '--without-toolkit-scroll-bars' Windows styled scrollbars are
> drawn on screen

You cannot disable the scroll bars at build time on Windows, only at
run time.  Once inside Emacs, "M-x scroll-bar-mode RET" should remove
the scroll bars.

> and, worse, any mouse interaction with them makes emacs instantly
> crash.

Doesn't happen to me.  If rebuilding as described above doesn't help,
please run Emacs under GDB, reproduce the crash, and post the
backtrace as part of a full bug report (using "M-x report-emacs-bug").

Filing a bug report will also collect and report additional
information about your build which is necessary for analyzing the bug.

> Is this a not supported (like on NextStep) thing or something?

Scroll bars are supported on Windows and do work.

Thanks.




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

* RE: W32 with native scroll bars woes
  2015-01-19 18:09 ` Eli Zaretskii
@ 2015-01-19 23:04   ` David Requena Zabala
  2015-01-19 23:15     ` Óscar Fuentes
  2015-01-20  3:38     ` Eli Zaretskii
  0 siblings, 2 replies; 5+ messages in thread
From: David Requena Zabala @ 2015-01-19 23:04 UTC (permalink / raw)
  To: emacs-devel@gnu.org


Many thanks for a prompt response.
Seems though that my point didn't get through very well...

> Scroll bars are supported on Windows and do work.

I can build a non-crashing emacs, with abhorrent windows scroll bars, any day of the week. Or download a pre-built binary for that matter.

I do want scroll bars, just emacs own "native scroll bars" (counter intuitive emacs speak, not mine). Those are much less obtrusive, customizable and work well for analog indication of current position on the buffer.

To that effect, on some platforms you can configure with '--without-toolkit-scroll-bars'.

Doing so on NextStep/OSX  gives an error: "Non-toolkit scroll bars are not implemented for Nextstep."

The same on a w32 build merrily builds a broken binary with no configure error whatsoever. If that is ok or not remains for you, devs, to judge.

Question stands: is it currently possible, in any way, to get *emacs native scroll bars* in w32 emacs? We had those in the past.

If not, I'm willing to look into this myself, if this was confined to some specific areas of the C language part of emacs sources. I could of course use some directions as to where to look at..

Best regards

PD: sorry if you get this twice. My fault.



 David Requena Zabala
 Comunicaciones Internacional

  Tel: 985 732 273
  Fax:
 C/ Dinamarca, nº19, 2º, Pol. Ind. Espíritu Santo
 33010 Oviedo Asturias
 drequena@gamalquiler.com
  http://www.gamalquiler.com/


Visite nuestra web de venta http://www.gamusado.com/
_________________________________________________________________________________
P Tenga en cuenta las consecuencias para el medio ambiente antes de imprimir este mensaje.
Este mensaje contiene información de carácter privado y CONFIDENCIAL y se dirige exclusivamente a su destinatario. Si usted no es el destinatario al que se dirige, le rogamos que nos lo comunique por teléfono o correo electrónico, proceda a su destrucción y no debe leerlo, copiarlo, utilizarlo ni difundirlo.
This message contains privileged and CONFIDENTIAL information and is intended exclusively for its addressee. If you are not the intended recipient, please telephone or email the sender, delete it and do not read, copy, use or disclose it. (A)
_________________________________________________________________________________





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

* Re: W32 with native scroll bars woes
  2015-01-19 23:04   ` David Requena Zabala
@ 2015-01-19 23:15     ` Óscar Fuentes
  2015-01-20  3:38     ` Eli Zaretskii
  1 sibling, 0 replies; 5+ messages in thread
From: Óscar Fuentes @ 2015-01-19 23:15 UTC (permalink / raw)
  To: emacs-devel

David Requena Zabala <DRequena@gamalquiler.com> writes:

> Many thanks for a prompt response.
> Seems though that my point didn't get through very well...
>
>> Scroll bars are supported on Windows and do work.
>
> I can build a non-crashing emacs, with abhorrent windows scroll bars,
> any day of the week. Or download a pre-built binary for that matter.
>
> I do want scroll bars, just emacs own "native scroll bars" (counter
> intuitive emacs speak, not mine). Those are much less obtrusive,
> customizable and work well for analog indication of current position
> on the buffer.
>
> To that effect, on some platforms you can configure with
> '--without-toolkit-scroll-bars'.
>
> Doing so on NextStep/OSX gives an error: "Non-toolkit scroll bars are
> not implemented for Nextstep."
>
> The same on a w32 build merrily builds a broken binary with no
> configure error whatsoever. If that is ok or not remains for you,
> devs, to judge.

This is a bug. The configure script should report that
--without-toolkit-scroll-bars is unsupported on Windows, as you suggest,
or document the fact.

> Question stands: is it currently possible, in any way, to get *emacs
> native scroll bars* in w32 emacs? We had those in the past.

Now, it is my point that didn't get through. The only supported
scrollbars on Windows are the native ones. AFAIK that was the case since
the beginning.

You can make the scrollbars thinner. Try this:

(modify-all-frames-parameters
       '((scroll-bar-width . 10)))

[snip]




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

* Re: W32 with native scroll bars woes
  2015-01-19 23:04   ` David Requena Zabala
  2015-01-19 23:15     ` Óscar Fuentes
@ 2015-01-20  3:38     ` Eli Zaretskii
  1 sibling, 0 replies; 5+ messages in thread
From: Eli Zaretskii @ 2015-01-20  3:38 UTC (permalink / raw)
  To: David Requena Zabala; +Cc: emacs-devel

> From: David Requena Zabala <DRequena@gamalquiler.com>
> Date: Tue, 20 Jan 2015 00:04:12 +0100
> 
> Question stands: is it currently possible, in any way, to get *emacs
> native scroll bars* in w32 emacs?

No, it's not possible in the w32 build.  It never was, AFAIK.  The
native scroll bars are X only.



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

end of thread, other threads:[~2015-01-20  3:38 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-01-19 17:47 W32 with native scroll bars woes David Requena Zabala
2015-01-19 18:09 ` Eli Zaretskii
2015-01-19 23:04   ` David Requena Zabala
2015-01-19 23:15     ` Óscar Fuentes
2015-01-20  3:38     ` Eli Zaretskii

Code repositories for project(s) associated with this external index

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

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.