Summary: | app-editors/qemacs-0.4.1_pre20150916 usage problems | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Hadrien Lacour <hadrien.lacour> |
Component: | Current packages | Assignee: | Emacs project <emacs> |
Status: | RESOLVED UPSTREAM | ||
Severity: | normal | ||
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- |
Description
Hadrien Lacour
2017-03-03 23:42:55 UTC
I have committed a new snapshot of the upstream CVS. Does qemacs-0.4.1_pre20170225 fix the problem? Sorry, it doesn't change anything. Could you reproduce any of it by the way? About the first issue: QEmacs is very old, so it will recognise XLFD font families (i.e. the second field in the output of "xlsfonts"), but no Fontconfig patterns. So these should work: set_system_font("fixed", "courier,unifont"); set_system_font("fixed", "lucidatypewriter,unifont"); However, I fear that with Terminus you are out of luck. I am not using QEmacs regularly myself, so I cannot help you with the second issue. There are both tab-width and default-tab-width variables, though. Maybe you could try setting the second one with set_variable? About the fonts: I noticed after installing xlsfont that no font other than nil and fixed was displayed. After doing xset +fp /usr/share/fonts/terminus/,/usr/share/fonts/unifont and xset fp rehash, "set_system_font("fixed", "terminus,unifont");" gave me the expected result. This may be a Gentoo bug about fonts? (the X USE flag is set on both terminus and unifont) About the rest: I tried "set_variable("tab-width", "4");" but this gave an error "set-variable: tab-width -> 4" (doesn't really look like an error). The same command works inside qemacs. I'd really like to make everything work, since this is a nice alternative to the behemoth that is GNU emacs. (uemacs-pk and mg could also be good alternatives; but the lack of syntax highlighting is a letdown) (In reply to Hadrien Lacour from comment #4) > I tried "set_variable("tab-width", "4");" but this gave an error > "set-variable: tab-width -> 4" (doesn't really look like an error). (In reply to Hadrien Lacour from comment #4) > I tried "set_variable("tab-width", "4");" but this gave an error > "set-variable: tab-width -> 4" (doesn't really look like an error). Same here, setting tab-width in the config file seems to have no effect. The following seems to work, though: default-tab-width = 4; It indeed works. Same for indent-width. Only indent-tabs-mode seems to be ignored, for some reason. Doesn't seem to be really different http://cvs.savannah.gnu.org/viewvc/qemacs/qemacs/variables.c?view=markup (maybe this method doesn't work with W_VAR?)? As I said, I'm not a QEmacs user myself. (Also Bugzilla isn't a help forum. :) I'd suggest you contact upstream (for example, via their mailing list at https://lists.nongnu.org/mailman/listinfo/qemacs-devel). Looks like they should at least improve their documentation. I just did. Thanks for helping, anyway. Do you have another lightweight emacs to recommend, by the way? (maybe not the right place to talk about this) The Emacs project has a list: https://wiki.gentoo.org/wiki/Project:Emacs/Emacs-like_editors See also bug 384451 (and the list of editors in the attachment there). Personally, I would recommend mg if you want something really lightweight, or jasspa-microemacs if you want more bells and whistles, like syntax highlighting. |