all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* Xaw3d configure fix
@ 2006-03-29 13:11 Emanuele Giaquinta
  2006-03-29 15:23 ` Stefan Monnier
  2006-03-31  3:08 ` Richard Stallman
  0 siblings, 2 replies; 6+ messages in thread
From: Emanuele Giaquinta @ 2006-03-29 13:11 UTC (permalink / raw)


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

Hi,

The attached pach to configure.in disables the Xaw3d check when
--without-toolkit-scroll-bars is specified, to link emacs to libXaw
instead of libXaw3d when both are installed; I am assuming the only
reason to prefer Xaw3d to Xaw is for scroll-bars.
BTW, xterm.c seems to support Xaw scroll-bars, but they are never
enabled because USE_TOOLKIT_SCROLL_BARS is defined only when MOTIF or
Xaw3d is available wrt USE_X_TOOLKIT.

--
Emanuele Giaquinta

[-- Attachment #2: configure-xaw3d.patch --]
[-- Type: application/octet-stream, Size: 694 bytes --]

Index: configure.in
===================================================================
RCS file: /sources/emacs/emacs/configure.in,v
retrieving revision 1.406
diff -u -r1.406 configure.in
--- configure.in	14 Feb 2006 15:32:49 -0000	1.406
+++ configure.in	29 Mar 2006 12:45:48 -0000
@@ -2179,7 +2179,7 @@
 ### Is -lXaw3d available?
 HAVE_XAW3D=no
 if test "${HAVE_X11}" = "yes"; then
-  if test "${USE_X_TOOLKIT}" != "none"; then
+  if test "${USE_X_TOOLKIT}" != "none" && test "${with_toolkit_scroll_bars}" != "no"; then
     dnl Fixme: determine what Scrollbar.h needs to avoid compilation
     dnl errors from the test without the `-'.
     AC_CHECK_HEADER(X11/Xaw3d/Scrollbar.h,












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

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

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

* Re: Xaw3d configure fix
  2006-03-29 13:11 Xaw3d configure fix Emanuele Giaquinta
@ 2006-03-29 15:23 ` Stefan Monnier
  2006-03-31  3:09   ` Richard Stallman
  2006-03-31  3:08 ` Richard Stallman
  1 sibling, 1 reply; 6+ messages in thread
From: Stefan Monnier @ 2006-03-29 15:23 UTC (permalink / raw)
  Cc: emacs-devel

> BTW, xterm.c seems to support Xaw scroll-bars, but they are never
> enabled because USE_TOOLKIT_SCROLL_BARS is defined only when MOTIF or
> Xaw3d is available wrt USE_X_TOOLKIT.

Indeed, when I hacked on the scrollbar code, I tried to make sure it works
with Xaw as well as a matter of good principle.  But nobody has considered
it worthwhile to provide yet-another compilation option.  I think there'd be
more interest in making it possible to use the non-toolkit-scrollbars even
if you compiled with toolkit scrollbars (i.e. make the choice at run time,
maybe even on a window-by-window basis).


        Stefan

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

* Re: Xaw3d configure fix
  2006-03-29 13:11 Xaw3d configure fix Emanuele Giaquinta
  2006-03-29 15:23 ` Stefan Monnier
@ 2006-03-31  3:08 ` Richard Stallman
  2006-03-31 11:30   ` Emanuele Giaquinta
  1 sibling, 1 reply; 6+ messages in thread
From: Richard Stallman @ 2006-03-31  3:08 UTC (permalink / raw)
  Cc: emacs-devel

    BTW, xterm.c seems to support Xaw scroll-bars, but they are never
    enabled because USE_TOOLKIT_SCROLL_BARS is defined only when MOTIF or
    Xaw3d is available wrt USE_X_TOOLKIT.

Now seems like the wrong time to change that, but could you send a patch
after the next release?

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

* Re: Xaw3d configure fix
  2006-03-29 15:23 ` Stefan Monnier
@ 2006-03-31  3:09   ` Richard Stallman
  0 siblings, 0 replies; 6+ messages in thread
From: Richard Stallman @ 2006-03-31  3:09 UTC (permalink / raw)
  Cc: emanuele.giaquinta, emacs-devel

    > BTW, xterm.c seems to support Xaw scroll-bars, but they are never
    > enabled because USE_TOOLKIT_SCROLL_BARS is defined only when MOTIF or
    > Xaw3d is available wrt USE_X_TOOLKIT.

    Indeed, when I hacked on the scrollbar code, I tried to make sure it works
    with Xaw as well as a matter of good principle.  But nobody has considered
    it worthwhile to provide yet-another compilation option.

The proposal is to use Xaw scroll bars.  That need not be a
compilation option--it could be done unconditionally when using Xt and
Xaw.

Whether that would be an improvement, I don't know.

I don't know whether it has any advantages.

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

* Re: Xaw3d configure fix
  2006-03-31  3:08 ` Richard Stallman
@ 2006-03-31 11:30   ` Emanuele Giaquinta
  2006-04-01 13:45     ` Richard Stallman
  0 siblings, 1 reply; 6+ messages in thread
From: Emanuele Giaquinta @ 2006-03-31 11:30 UTC (permalink / raw)
  Cc: emacs-devel

> Now seems like the wrong time to change that, but could you send a patch
> after the next release?

Yes, but my patch was about another issue; when
'--without-toolkit-scroll-bars' is specified emacs will be linked to
Xaw, if Xaw3d is not installed, to the latter otherwise. This seems to
me inconsistent and I was proposing to always link to Xaw in that
case.

--
Emanuele Giaquinta

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

* Re: Xaw3d configure fix
  2006-03-31 11:30   ` Emanuele Giaquinta
@ 2006-04-01 13:45     ` Richard Stallman
  0 siblings, 0 replies; 6+ messages in thread
From: Richard Stallman @ 2006-04-01 13:45 UTC (permalink / raw)
  Cc: emacs-devel

    Yes, but my patch was about another issue; when
    '--without-toolkit-scroll-bars' is specified emacs will be linked to
    Xaw, if Xaw3d is not installed, to the latter otherwise. This seems to
    me inconsistent and I was proposing to always link to Xaw in that
    case.

Sorry, I do not understand.

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

end of thread, other threads:[~2006-04-01 13:45 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-03-29 13:11 Xaw3d configure fix Emanuele Giaquinta
2006-03-29 15:23 ` Stefan Monnier
2006-03-31  3:09   ` Richard Stallman
2006-03-31  3:08 ` Richard Stallman
2006-03-31 11:30   ` Emanuele Giaquinta
2006-04-01 13:45     ` Richard Stallman

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.