On Sun, Mar 18, 2012 at 10:06 PM, Stephen J. Turnbull
<stephenjturnbull(a)gmail.com> wrote:
> To fix the font parsing issue, you probably need to explicitly configure
> for Xft. Before you ask, Xft is not the default because, frankly speaking,
> the implementation in XEmacs sucks. It's only fit for use by people who
> don't need to ask the kinds of questions you're asking. That said, *they*
> mostly think it's great, so if you're willing to continue asking questions
> until you've got things working as you like (you're always welcome to ask
> here), add "--with-xft=all" to your configure command and rebuild.
>
> You will need at least the fontconfig and Xft development packages from
> your distro. I don't know if those are provided by the command Uwe
> suggested, I don't use Ubuntu (or Debian workstation configurations, for
> that matter).
It turns out I do have them thanks to Uwe.
> I can't guarantee that using Xft will fix the font parsing issue, as I
> believe that GNOME uses a similar syntax to Xft but Xft can't parse it,
> and we have no code in place to transform it to Xft's preferred format.
> But we should be able to tell you how to transform it by hand.
Actually, it does. I get:
Warning: Cannot convert string
"-*-helvetica-bold-r-*-*-*-120-*-*-*-*-iso8859-*" to type FontStruct
when I start xemacs but I can actually see what is in the *scratch* buffer now.
Also, maximizing xemacs doesn't peg the CPU which was the issue that
started me down this path.
Thanks to all for your help!
Bruce
_______________________________________________
XEmacs-Beta mailing list
XEmacs-Beta(a)xemacs.org
http://lists.xemacs.org/mailman/listinfo/xemacs-beta
Stephen J. Turnbull wrote:
> On Mon, Mar 19, 2012 at 12:13 PM, Mike Kupfer <mike.kupfer(a)xemacs.org> wrote:
>
> > xemacs -eval "(shell-command (concat \"echo \" (face-font-name 'default) \" > `tty`\"))" -kill
>
> xemacs -batch -eval "(princ ...)"
>
> is the way to do this.
Thanks. Unfortunately, -batch apparently does something so that
(face-font-name 'default)
yields nil.
> Having reviewed the thread a little more carefully, I think the main
> problem is that Bruce is trying to use the menus to manipulate
> TrueType fonts, and that doesn't work for me at all at the moment.
FWIW, I think his XEmacs is configured for bitmap fonts.
>From <CA+JV0C2Foy9u25mQP6OBwyXLj=QezVC5z3ZMadfJxjahxNoOxA(a)mail.gmail.com>:
Window System:
Compiling in support for the X window system:
- X Windows headers location:
- X Windows libraries location:
- Handling WM_COMMAND properly.
Compiling in support for the Athena widget set:
- Athena headers location: X11/Xaw
- Athena library to link: Xaw
Using Lucid menubars.
Using Lucid scrollbars.
Using Athena dialog boxes.
Using Athena native widgets.
And I don't understand why he's not able to see text, unless it has
something to do with falling back to Courier when Courier isn't
available. Or somehow the colors have gotten messed up in his face
settings, so that the foreground color is the same as the background
color.
>From <CA+JV0C1PAzk7-sh--vCuWAEOKreCUmKtgHcEa8ZSZCjXObgVrQ(a)mail.gmail.com>:
Now I get an X window but the mode line is blank and any buffers I
view are blank.
mike
_______________________________________________
XEmacs-Beta mailing list
XEmacs-Beta(a)xemacs.org
http://lists.xemacs.org/mailman/listinfo/xemacs-beta
Bruce Visscher wrote:
> Now I get an X window but the mode line is blank and any buffers I
> view are blank. Under Options/Font and Font Size it says "Cannot
> parse current font".
Unfortunately, the naming syntax for X bitmap fonts is different from
the syntax for Xft fonts. I suspect that something in your
configuration is using one syntax, but XEmacs is built to expect the
other.
So, three questions:
What options did you give the "configure" script, if any?
The configuration process creates a file called Installation in the top
of your XEmacs source tree. Please look in that file for the "Window
System" section, and let us know if there are any references to
fontconfig or fonts in general.
Do you have any Emacs Lisp or other customizations (e.g., an .Xresources
file) that sets the default font? If not, please check your custom.el
(usually $HOME/.xemacs/custom.el) for a call to custom-set-faces, e.g.,
(custom-set-faces
'(default ((t (:size "14pt" :family "Fixed"))) t)
[...]
'(modeline ((t (:background "lightgray"))) t "background needs to be non-white if 3D modeline is disabled"))
regards,
mike
_______________________________________________
XEmacs-Beta mailing list
XEmacs-Beta(a)xemacs.org
http://lists.xemacs.org/mailman/listinfo/xemacs-beta
Hello,
I had issues with the xemacs package that I apt-get installed under
ubuntu 11.10 (which I reported to the ubuntu maintainers but I don't
think anyone took ownership). So, I downloaded xemacs-beta via
mercurial and configured. Had issues in src/termcap.c which I worked
around (tried couple different ways)...
diff -r 611a6845ebee src/termcap.c
--- a/src/termcap.c Mon Feb 13 08:00:23 2012 -0500
+++ b/src/termcap.c Sat Mar 17 15:59:56 2012 -0400
@@ -27,6 +27,11 @@
#include "device-impl.h" /* For DEVICE_BAUD_RATE */
#include "sysfile.h"
#include "process.h"
+
+/* #ifdef HAVE_TERMIOS */
+/* #include <termios.h> */
+/* #endif */
+
#else /* not emacs */
#include <stdlib.h>
@@ -232,11 +237,11 @@
/* Outputting a string with padding. */
-#ifdef LINUX
-speed_t ospeed;
-#else
+/* #ifdef LINUX */
+/* speed_t ospeed; */
+/* #else */
short ospeed;
-#endif
+/* #endif */
/* If `ospeed' is 0, we use `tputs_baud_rate' as the actual baud rate. */
int tputs_baud_rate;
char PC;
...but either way (#include <termios.h> or s/speed_t/sort/) I get:
IO Error: Terminal type undefined (or can't access database?), "xterm"
info/man termcap says "...termcap...is an obsolete facility...new
[programs] should use the terminfo(5) database and associated
libraries".
I tried configure --without-termcap and --with-terminfo to no avail.
So, do I need a backport of /etc/termicap to get xemacs to run on this
platform?
Thanks,
Bruce
_______________________________________________
XEmacs-Beta mailing list
XEmacs-Beta(a)xemacs.org
http://lists.xemacs.org/mailman/listinfo/xemacs-beta
On Sat, Mar 17, 2012 at 7:15 PM, Jerry James <james(a)xemacs.org> wrote:
> On Sat, Mar 17, 2012 at 5:02 PM, Bruce Visscher
> <bruce.visscher(a)gmail.com> wrote:
>>> IIRC Matts is correct, you must have ncurses install on Ubuntu to get
>>> XEmacs working. I don't remember *which* exact packages and my notes
>>> are at work. But here is what I have installed:
>>>
>>> % dpkg --get-selections | fgrep curses
>>> libncurses5 install
>>> libncurses5-dbg install
>>> libncurses5-dev install
> ^^^^^^^^^^^^^^^
> This is the one you need.
>
>>> libncursesw5 install
>>> ncurses-base install
>>> ncurses-bin install
>>>
>>> Cheers,
>>> Sean
>>
>> % dpkg --get-selections | fgrep curses
>> lib64ncurses5 deinstall
>> libncurses5 install
>> libncursesw5 install
>> ncurses-base install
>> ncurses-bin install
>> ncurses-term install
>
> Notice it isn't on your list. Regards,
> --
> Jerry James
> http://www.jamezone.org/
Very astute. Installed missing library. Now it builds but runs in TTY
mode. I reverted my changes and started over. Same thing.
Thanks,
Bruce
_______________________________________________
XEmacs-Beta mailing list
XEmacs-Beta(a)xemacs.org
http://lists.xemacs.org/mailman/listinfo/xemacs-beta
ACTIVITY SUMMARY (2012-02-28 - 2012-03-06)
XEmacs Issue Tracking System at http://tracker.xemacs.org/XEmacs/its/
To view or respond to any of the issues listed below, click on the issue
number. Do NOT respond to this message.
541 open ( +1) / 284 closed ( +0) / 825 total ( +1)
Open issues with patches: 11
Average duration of open issues: 1057 days.
Median duration of open issues: 1115 days.
Open Issues Breakdown
new 217 ( +1)
deferred 6 ( +0)
napping 3 ( +0)
verified 56 ( +0)
assigned 152 ( +0)
committed 18 ( +0)
documented 3 ( +0)
done/needs work 17 ( +0)
Issues Created Or Reopened (1)
______________________________
Crash when reading gwene.com.nytimes.blogs.freakonomics 2012-03-04
http://tracker.xemacs.org/XEmacs/its/issue827 created rpluim
_______________________________________________
XEmacs-Beta mailing list
XEmacs-Beta(a)xemacs.org
http://lists.xemacs.org/mailman/listinfo/xemacs-beta