ALT Linux Sisyphus discussions
 help / color / mirror / Atom feed
From: Sergey Bolshakov <sbolshakov@altlinux.ru>
To: sisyphus@altlinux.ru
Subject: [sisyphus] Re: XEmacs и ~/.shadow_todo
Date: Mon, 15 Aug 2005 13:19:53 +0400
Message-ID: <m3oe7zh806.fsf@hammer.malta.altlinux.ru> (raw)
In-Reply-To: <auto-000278233162@intranet.ru> (php-coder's message of "Mon, 15 Aug 2005 12:22:35 +0700")

>>>>> "php-coder" == php-coder  <php-coder-u2l5PoMzF/Uox3rIn2DAYQ@public.gmane.org> writes:
[skipped]

 >     Также, пользуясь случаем, хотел бы задать еще пару вопросов по Емаксу:
 >     - как в нем включить нумерацию строк (аналог set nu в vim)
Мне хватает line-number-mode, когда номер текущей строки выводится в modeline
Впрочем, есть некий
http://www.zipworld.com.au/~peterm/download/setnu.el


 >     - почему у меня не включается подсветка синтаксиса файлов
 >       автоматически? Приходится выбирать в меню Options -> Syntax
 >       Highlighting -> In This Buffer
У меня есть такое в ~/.xemacs/init.el
---%<--- 
(require 'font-lock)
(setq font-lock-mode-maximum-decoration t)
(setq-default lazy-lock-mode t)
---%<--- 
  
 >     - как сделать видимыми табуляцию? какая опция за это отвечает?
whitespace-visual-mode, выбирается, как и line-number, мышой из
modeline

 >     - как удалить строку? (аналог dd в vim, очень часто
 >       пригождается :))

---%<--- 
(global-set-key '(control y) 'kill-entire-line)
---%<--- 

 >     - в Emacs Beginners HOWTO описано, что по C-h x вызывается ф-ция
 >       describe-key, которая показывает какая ф-ция вызывается по нажатии
 >       клавиши. У нас такого нет и клавиша свободна. Почему бы ее не
 >       забиндить под эти цели, чтобы у новчиков было меньше вопросов :)
 >       Может FR повесить?
C-h k на самом деле

 >     - как сделать автоперенос?

auto-fill-mode

 >     - добавил в ~/.xemacs/init.el:

 >       ;; disable toolbar
 >       (set-specifier default-toolbar-visible-p nil)

 >       Все нормально, только если запускать не графическую версию Емакса,
 >       то вылазит ошибка. Вот думаю, как задать условие, чтобы эта команда
 >       выполнялась лишь для xemacs и не выполнялась для
 >       xemacs-nox-mule

(when (eq (console-type) 'x)
 (set-specifier default-toolbar-visible-p nil))

 >     Буду очень благодарен за помощь!


 >     P.S. Оу! Сказал, что всего два вопроса спрошу, а тут.. ээ.. ;)

Обращайтесь.

-- 


  reply	other threads:[~2005-08-15  9:19 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-08-15  5:22 [sisyphus] " php-coder
2005-08-15  9:19 ` Sergey Bolshakov [this message]
2005-08-16 10:08   ` [sisyphus] " php-coder

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=m3oe7zh806.fsf@hammer.malta.altlinux.ru \
    --to=sbolshakov@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