Package: txt2tags
Version: 2.0-1
Severity: wishlist
Tags: patch
Hi,
Please add the attached file to /usr/share/doc/txt2tags/extras/
I'm an emacs newbie... please check the attached file first. I tested
it in my computer only, and it seems to work.
Thanks,
Pedro
$ dpkg -l emacs* | egrep '^ii' | cut -b 1-70
ii emacs21 21.3+1-8The GNU Emacs editor
ii emacs21-bin-common 21.3+1-8The GNU Emacs editor's sha
ii emacs21-common 21.3+1-8The GNU Emacs editor's sha
ii emacsen-common 1.4.15 Common facilities for all
-- System Information:
Debian Release: 3.1
APT prefers testing
APT policy: (500, 'testing')
Architecture: i386 (i586)
Kernel: Linux 2.6.8-1-386
Locale: LANG=pt_BR, LC_CTYPE=pt_BR (charmap=ISO-8859-1) (ignored: LC_ALL set to
pt_BR)
Versions of packages txt2tags depends on:
ii python2.3.4-5An interactive high-level object-o
-- no debconf information
For installing t2t-mode in emacs, follow the steps below:
1 - copied the mode to site-lisp directory:
zcat /usr/share/doc/txt2tags/extras/txt2tags-mode.el.gz
/usr/local/share/emacs/site-lisp/t2t-mode.el
2 - created /etc/emacs/site-start.d/50t2t.el with the following content:
(setq auto-mode-alist
(cons '(.*\\.t2t$ . t2t-mode) auto-mode-alist))
(autoload 't2t-mode t2t-mode mode for editing txt2tags files t)
3 - nothing else... :-)
Now if you execute emacs filename.t2t, it should open in t2t-mode.