From: Sergey Vlasov <vsu@altlinux.ru>
To: sisyphus@altlinux.ru
Subject: [sisyphus] Re: GNU emacs load-path variable: How it works
Date: Tue, 11 Mar 2003 20:52:55 +0300
Message-ID: <20030311205255.60780172.vsu@altlinux.ru> (raw)
In-Reply-To: <3E6E1F05.2090504@yauza.ru>
On Tue, 11 Mar 2003 20:38:13 +0300
"Pavel S. Khmelinsky" <hmepas@yauza.ru> wrote:
> Смотрим в /etc/emacs/site-start.d/ecb.el :
> (setq load-path (append load-path '("/usr/share/emacs/site-lisp/ecb")))
>
> Т.е. работать все должно из коробки, переменная сама добавляется
> стартовым скриптом.
>
> Заходим в емакс, набираем C-h v load-path , и среди прочих директорий
> действительно видим нашу /usr/share/emacs/site-lisp/ecb . Что опять же
> доказывает то что все установленно правильно,
> /etc/emacs/site-start.d/ecb.el в момент старта отработал, переменную
> load-path настроил.
>
> Набираем M-x ecb-activate -- команда не найдена.
Всё правильно - чтобы находились команды, одной настройки load-path
недостаточно; нужно либо сразу загрузить соответствующий файл через
(require 'ecb), либо использовать autoload. В README от ecb всё
написано.
Кстати, возможно, эти autoload всё-таки стоит занести в
/etc/emacs/site-start.d/ecb.el ?
next prev parent reply other threads:[~2003-03-11 17:52 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-03-11 17:38 [sisyphus] " Pavel S. Khmelinsky
2003-03-11 17:52 ` Sergey Vlasov [this message]
2003-03-11 17:59 ` [sisyphus] " Pavel S. Khmelinsky
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=20030311205255.60780172.vsu@altlinux.ru \
--to=vsu@altlinux.ru \
--cc=sisyphus@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 Sisyphus discussions
This inbox may be cloned and mirrored by anyone:
git clone --mirror http://lore.altlinux.org/sisyphus/0 sisyphus/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 sisyphus sisyphus/ http://lore.altlinux.org/sisyphus \
sisyphus@altlinux.ru sisyphus@altlinux.org sisyphus@lists.altlinux.org sisyphus@lists.altlinux.ru sisyphus@lists.altlinux.com sisyphus@linuxteam.iplabs.ru sisyphus@list.linux-os.ru
public-inbox-index sisyphus
Example config snippet for mirrors.
Newsgroup available over NNTP:
nntp://lore.altlinux.org/org.altlinux.lists.sisyphus
AGPL code for this site: git clone https://public-inbox.org/public-inbox.git