From: "Valery V. Inozemtsev" <shrek@freesource.info> To: ALT Devel discussion list <devel@lists.altlinux.org> Subject: Re: [devel] Клиентские ресурсы X и ресурсы Emacs Date: Sat, 25 Nov 2006 22:23:31 +0300 Message-ID: <200611252223.37536.shrek@freesource.info> (raw) In-Reply-To: <m2psbb8loh.fsf@eugene-home.ikz.ru> [-- Attachment #1: Type: text/plain, Size: 4474 bytes --] В сообщении от 25 ноября 2006 20:45 Eugene Vlasov написал(a): > Добрый день. > > Возникло несколько вопросов по X resource и по ресурсам Emacs в > частности. > > 1. Куда с современным xorg предполагается ложить клиентские ресурсы > приложений? Вроде бы, раньше все ложилось в /etc/X11/app-defaults, с тех времен ничего не менялось XFILESEARCHPATHDEFAULT='$(sysconfdir)/X11/%L/%T/%N%C%S: $(sysconfdir)/X11/%l/%T/%N%C%S:$(sysconfdir)/X11/%T/%N%C%S:$(sysconf dir)/X11/%L/%T/%N%S:$(sysconfdir)/X11/%l/%T/%N%S:$(sysconfdir)/X11/%T/%N%S: $(datadir)/X11/%L/%T/%N%C%S:$(datadir)/X11/%l/%T /%N%C%S:$(datadir)/X11/%T/%N%C%S:$(datadir)/X11/%L/%T/%N%S: $(datadir)/X11/%l/%T/%N%S:$(datadir)/X11/%T/%N%S:$(libdir)/X11/% L/%T/%N%C%S:$(libdir)/X11/%l/%T/%N%C%S:$(libdir)/X11/%T/%N%C%S: $(libdir)/X11/%L/%T/%N%S:$(libdir)/X11/%l/%T/%N%S:$(libdir)/ X11/%T/%N%S' AC_ARG_WITH(xfile-search-path, AC_HELP_STRING([--with-xfile-search-path=<path>], [Set path to search for app-defaults and other files]), [XFILESEARCHPATHDEFAULT="$withval"], []) > но > с недавнего времени это, насколько я вижу, не работает. Вот что > проверяется у меня на машине при старте emacs: > > access("/usr/share/X11/ru_RU.KOI8-R/app-defaults/Emacs", R_OK) = -1 ENOENT > (No such file or directory) > access("/usr/share/X11/ru_RU.KOI8-R/app-defaults/Emacs", R_OK) = -1 ENOENT > (No such file or directory) access("/usr/share/X11/app-defaults/Emacs", > R_OK) = -1 ENOENT (No such file or directory) > access("/usr/share/X11/ru_RU.KOI8-R/app-defaults/Emacs", R_OK) = -1 ENOENT > (No such file or directory) > access("/usr/share/X11/ru_RU.KOI8-R/app-defaults/Emacs", R_OK) = -1 ENOENT > (No such file or directory) access("/usr/share/X11/app-defaults/Emacs", > R_OK) = -1 ENOENT (No such file or directory) > access("/usr/lib64/X11/ru_RU.KOI8-R/app-defaults/Emacs", R_OK) = -1 ENOENT > (No such file or directory) > access("/usr/lib64/X11/ru_RU.KOI8-R/app-defaults/Emacs", R_OK) = -1 ENOENT > (No such file or directory) access("/usr/lib64/X11/app-defaults/Emacs", > R_OK) = -1 ENOENT (No such file or directory) > access("/usr/lib64/X11/ru_RU.KOI8-R/app-defaults/Emacs", R_OK) = -1 ENOENT > (No such file or directory) > access("/usr/lib64/X11/ru_RU.KOI8-R/app-defaults/Emacs", R_OK) = -1 ENOENT > (No such file or directory) access("/usr/lib64/X11/app-defaults/Emacs", > R_OK) = -1 ENOENT (No such file or directory) > access("/home/eugene/ru_RU.KOI8-R/Emacs", R_OK) = -1 ENOENT (No such file > or directory) access("/home/eugene/Emacs", R_OK) = -1 ENOENT (No such > file or directory) > > Бага в xorg? $ strace xfontsel 2>&1 | grep access access("/etc/ld.so.preload", R_OK) = -1 ENOENT (No such file or directory) access("/home/valery/.Xauthority", R_OK) = 0 access("/usr/share/X11/locale/C/XLC_LOCALE", R_OK) = 0 access("/usr/share/X11/locale/C/XLC_LOCALE", R_OK) = 0 access("/usr/share/X11/locale/en_US.UTF-8/XLC_LOCALE", R_OK) = 0 access("/home/valery/ru_RU.UTF-8/XFontSel", R_OK) = -1 ENOENT (No such file or directory) access("/home/valery/ru/XFontSel", R_OK) = -1 ENOENT (No such file or directory) access("/home/valery/XFontSel", R_OK) = -1 ENOENT (No such file or directory) access("/home/valery/ru_RU.UTF-8/XFontSel", R_OK) = -1 ENOENT (No such file or directory) access("/home/valery/ru/XFontSel", R_OK) = -1 ENOENT (No such file or directory) access("/home/valery/XFontSel", R_OK) = -1 ENOENT (No such file or directory) access("/etc/X11/ru_RU.UTF-8/app-defaults/XFontSel", R_OK) = -1 ENOENT (No such file or directory) access("/etc/X11/ru/app-defaults/XFontSel", R_OK) = -1 ENOENT (No such file or directory) access("/etc/X11/app-defaults/XFontSel", R_OK) = 0 > > 2. Настройки из /etc/X11/app-defaults/Emacs были когда-то давно > внесены в /etc/X11/Xresources - как написано в этом файле, для того > чтобы все Emacs выглядели одинаково. Имеет ли это смысл в современном > Sisyphus? Работает ли это с XEmacs? > В частности, у меня есть желание удалить оттуда строки > > Emacs.mode-line.attributeForeground: red > Emacs.mode-line.attributeBackground: lemon chiffon > > Эти настройки перекрывают изменения цвета строки режима из ~/.emacs > (например, не работает custom-set-faces для строки режима - #10310) > Может быть, ресурсы Emacs* вообще стоит оттуда убрать? Для GNU Emacs > вполне достаточно клиентских ресурсов. -- Valery V. Inozemtsev [-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]
prev parent reply other threads:[~2006-11-25 19:23 UTC|newest] Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top 2006-11-25 17:45 Eugene Vlasov 2006-11-25 19:23 ` Valery V. Inozemtsev [this message]
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox Avoid top-posting and favor interleaved quoting: https://en.wikipedia.org/wiki/Posting_style#Interleaved_style * Reply using the --to, --cc, and --in-reply-to switches of git-send-email(1): git send-email \ --in-reply-to=200611252223.37536.shrek@freesource.info \ --to=shrek@freesource.info \ --cc=devel@lists.altlinux.org \ /path/to/YOUR_REPLY https://kernel.org/pub/software/scm/git/docs/git-send-email.html * If your mail client supports setting the In-Reply-To header via mailto: links, try the mailto: link
ALT Linux Team development discussions This inbox may be cloned and mirrored by anyone: git clone --mirror http://lore.altlinux.org/devel/0 devel/git/0.git # If you have public-inbox 1.1+ installed, you may # initialize and index your mirror using the following commands: public-inbox-init -V2 devel devel/ http://lore.altlinux.org/devel \ devel@altlinux.org devel@altlinux.ru devel@lists.altlinux.org devel@lists.altlinux.ru devel@linux.iplabs.ru mandrake-russian@linuxteam.iplabs.ru sisyphus@linuxteam.iplabs.ru public-inbox-index devel Example config snippet for mirrors. Newsgroup available over NNTP: nntp://lore.altlinux.org/org.altlinux.lists.devel AGPL code for this site: git clone https://public-inbox.org/public-inbox.git