[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
special-mode buffer changes to fundamental when modified
From: |
Stefan Huchler |
Subject: |
special-mode buffer changes to fundamental when modified |
Date: |
Thu, 20 Oct 2016 04:25:40 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/24.5 (gnu/linux) |
I try something like that:
(define-derived-mode foo-mode special-mode "foo"
(with-current-buffer-window "*foo*" nil nil
(print (concat "...:\n"
(substitute-command-keys
"\\{foo-mode-map}") ))
)
)
but then its no special mode buffer anymore, and it
overwrites my keymaps. Without the with-current-buffer-window macro it
works it supposed to be but the buffer is empty.
I tried I think most with- macros and nothing worked, not very obvious
for me how to write stuff in a special buffer.
- special-mode buffer changes to fundamental when modified,
Stefan Huchler <=
- Re: special-mode buffer changes to fundamental when modified, Michael Heerdegen, 2016/10/20
- Re: special-mode buffer changes to fundamental when modified, Stefan Huchler, 2016/10/20
- Re: special-mode buffer changes to fundamental when modified, Michael Heerdegen, 2016/10/21
- Re: special-mode buffer changes to fundamental when modified, Stefan Huchler, 2016/10/22
- Re: special-mode buffer changes to fundamental when modified, Michael Heerdegen, 2016/10/23
- Re: special-mode buffer changes to fundamental when modified, Stefan Huchler, 2016/10/23
- Re: special-mode buffer changes to fundamental when modified, Michael Heerdegen, 2016/10/23
- Re: special-mode buffer changes to fundamental when modified, Stefan Huchler, 2016/10/23
- Re: special-mode buffer changes to fundamental when modified, Michael Heerdegen, 2016/10/27