From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: David Requena Zabala Newsgroups: gmane.emacs.devel Subject: Re: Emacs-devel Digest, Vol 131, Issue 82 Date: Tue, 20 Jan 2015 17:35:05 +0100 Message-ID: <20150120163505.5394514.60670.2241@gamalquiler.com> References: <9B7513AE176AE5429921DB50D54FD2FC03AB2A5D@MAILBOX.GAM.LOCAL> <8361c1xvpi.fsf@gnu.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="Windows-1252" Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1421771752 29741 80.91.229.3 (20 Jan 2015 16:35:52 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 20 Jan 2015 16:35:52 +0000 (UTC) Cc: "emacs-devel@gnu.org" To: Eli Zaretskii Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue Jan 20 17:35:48 2015 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1YDbmO-00081w-3n for ged-emacs-devel@m.gmane.org; Tue, 20 Jan 2015 17:35:48 +0100 Original-Received: from localhost ([::1]:44471 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YDbmN-0004nA-JU for ged-emacs-devel@m.gmane.org; Tue, 20 Jan 2015 11:35:47 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:54929) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YDblu-0004kA-S8 for emacs-devel@gnu.org; Tue, 20 Jan 2015 11:35:23 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YDblt-0006yf-Hc for emacs-devel@gnu.org; Tue, 20 Jan 2015 11:35:18 -0500 Original-Received: from cme-staticip-212-89-9-21.telecable.es ([212.89.9.21]:41121 helo=correo.gamalquiler.com) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YDblp-0006xj-4a; Tue, 20 Jan 2015 11:35:13 -0500 Original-Received: from MAILBOX.GAM.LOCAL ([0000:0000:0000:0000:0000:0000:0.0.0.1]) by GAMEXCHCA01.GAM.LOCAL ([172.16.13.64]) with mapi; Tue, 20 Jan 2015 17:35:06 +0100 Content-Class: urn:content-classes:message Thread-Topic: Emacs-devel Digest, Vol 131, Issue 82 Thread-Index: AdA0ziv4eMITVfe8SCm7FixUVoMcygAAOAh7 In-Reply-To: <8361c1xvpi.fsf@gnu.org> Accept-Language: es-ES Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: acceptlanguage: es-ES x-kse-antivirus-interceptor-info: protection disabled X-detected-operating-system: by eggs.gnu.org: Windows NT kernel [generic] X-Received-From: 212.89.9.21 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:181476 Archived-At: Many, many, thanks! Now lets see if my skills are up to ?emacs level :-) Saludos David.Requena/GAM Note: this e-mail composed while on mobility, please bear with any typing m= istakes. . Original Message From: Eli Zaretskii Sent: martes, 20 de enero de 2015 17:28 To: David Requena Zabala Reply To: Eli Zaretskii Cc: emacs-devel@gnu.org Subject: Re: Emacs-devel Digest, Vol 131, Issue 82 > From: David Requena Zabala > Date: Tue, 20 Jan 2015 10:23:37 +0100 > > At any rate, if someone was to implement an hypothetical > '--without-w32-toolkit-scroll-bars', would it take entering much into the= elisp > realm? No, it shouldn't touch the Lisp level at all. The implementation of the scroll bars is entirely on the C level. > Probably having different kinds of sc means some form of common scroll ba= r api > exists for sc implementation code to use and/or plug in. I mean, kind of = how > the w32_wnd_proc callback handles the WM_EMACS_CREATESCROLLBAR message by > calling w32_createscrollbar. Is this the case? Is it described somewhere? See w32term.c:w32_set_vertical_scroll_bar for the Windows implementation and xterm.c:XTset_vertical_scroll_bar for the X implementation. The guts are in x_scroll_bar_create in both cases, but the API you were asking about is defined by the former two functions, which implement the hook called by Emacs when it wants to display the scroll bar. How this maps into the windowing system is entirely hidden from the higher levels; on Windows this sends a message to the GUI thread, which calls the corresponding Windows API. David Requena Zabala Comunicaciones Internacional Tel: 985 732 273 Fax: C/ Dinamarca, n=BA19, 2=BA, Pol. Ind. Esp=EDritu 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 imprimi= r este mensaje. Este mensaje contiene informaci=F3n de car=E1cter 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=E9fono o correo e= lectr=F3nico, proceda a su destrucci=F3n y no debe leerlo, copiarlo, utiliz= arlo ni difundirlo. This message contains privileged and CONFIDENTIAL information and is intend= ed exclusively for its addressee. If you are not the intended recipient, pl= ease telephone or email the sender, delete it and do not read, copy, use or= disclose it. (A) ___________________________________________________________________________= ______