From mboxrd@z Thu Jan 1 00:00:00 1970 From: khi at users.sourceforge.jp (khi at users.sourceforge.jp) Date: Wed, 09 Apr 2008 22:12:54 +0900 Subject: [Howm-eng 54] Re: customization In-Reply-To: <200804080000.m3800AnW005414@localhost.localdomain> References: <200804060000.m3600Ip7007684@localhost.localdomain> <200804080000.m3800AnW005414@localhost.localdomain> Message-ID: At Tue, 8 Apr 2008 02:00:10 +0200, Xavier Maillard wrote: > Well something as simple as "> " expanding to ">>> ". like this? (defun my-insert-self-or-link (dummy) (interactive "P") (if (and (boundp 'howm-mode) howm-mode (looking-back ">")) (insert ">> ") (call-interactively #'self-insert-command))) (define-key howm-mode-map " " #'my-insert-self-or-link)