ALT Linux Team development discussions
 help / color / mirror / Atom feed
From: Ivan Zakharyaschev <imz@altlinux.ru>
To: ALT Developers List <devel@altlinux.ru>
Subject: Re: [devel] /etc/emacs/site-start.el
Date: Mon, 14 Oct 2002 11:29:51 +0400 (MSD)
Message-ID: <Pine.LNX.4.44L.0210141126200.2279-100000@arrakis.zephyrous> (raw)
In-Reply-To: <Pine.LNX.4.44L.0210141050400.2279-100000@arrakis.zephyrous>

	Hello, Sergey!

Сергей, сейчас покапался в архиве и понял, что Вы уже давно предлагали
использовать default.el для повышения гибкости настройки Emacs.

On Mon, 14 Oct 2002, Ivan Zakharyaschev wrote:

> On Sat, 12 Oct 2002, Sergey Vlasov wrote:
>
> > Итак, я опять по поводу скриптов запуска Emacs.
>
> Я почитал документацию по этому поводу, и подумал, что, может, лучше
> использовать стандартный механизм default.el для этого. (elisp
> manual:
> Startup Summary и Emacs manual: Init File.) Нужно подумать и
> попробовать перебросить бОльшую часть настроек из site-start в
> default.
>
> > Я посмотрел на пакет emacsen-startscripts-0.0.1-alt3 - на мой
> взгляд,
> > это неправильно. Как известно, site-start.el загружается до
> ~/.emacs,
> > и
> > нет простого способа отменить его загрузку (отключается только
> опцией
> > --no-site-file). Точнее, на самом деле способ есть - export
>
> default загружается после .emacs, и это можно отменить, установив
> inhibit-default-init (customizable variable defined in startup.el).
>
> > Кроме того, зачастую мешают лишь отдельные файлы из
> > /etc/emacs/site-start.d (например, 10fontlock.el).
>
> Это можно решить с помощью механизма features -- каждую отдельную
> часть
> default-настроек оформить как-то так:
>
> (unless (featurep 'fontlock-setup)
> 	....
> 	(provide 'fontlock-setup))
>
> Если у кого-то свои настройки и он не желает грузить то, что есть в
> default, он пишет (provide 'fontlock-setup) в ~/.emacs.
>
> > Предлагается модифицированная версия site-start.el, позволяющая
> > пользователю отключить автозагрузку отдельных файлов из
> site-start.d,
> > либо полностью отключить site-start.el:
>
> Какой из вариантов выберем?
>
>

-- 
С наилучшими пожеланиями,
Иван Захарьящев, Москва



  reply	other threads:[~2002-10-14  7:29 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-10-12 12:48 Sergey Vlasov
2002-10-13 21:02 ` Ivan Zakharyaschev
2002-10-13 21:20   ` Alex Ott
2002-10-14  6:43     ` Ivan Zakharyaschev
2002-10-14 14:46       ` Sergey Vlasov
2002-10-14 13:20     ` Alexey Morozov
2002-10-14 12:36       ` Sergey Bolshakov
2002-10-14  8:55   ` Sergey Bolshakov
2002-10-14  7:20 ` Ivan Zakharyaschev
2002-10-14  7:29   ` Ivan Zakharyaschev [this message]
2002-10-14  7:33     ` Ivan Zakharyaschev

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=Pine.LNX.4.44L.0210141126200.2279-100000@arrakis.zephyrous \
    --to=imz@altlinux.ru \
    --cc=devel@altlinux.ru \
    /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