[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: More keybindings in compilation-mode-map
From: |
Ehud Karni |
Subject: |
Re: More keybindings in compilation-mode-map |
Date: |
Mon, 12 Nov 2001 23:21:21 +0200 |
On Mon, 12 Nov 2001 15:12:59 +0100, address@hidden (Kai Grossjohann) wrote:
>
> IMHO, it would be useful to have some keybindings in
> compilation-mode-map, such as:
>
> [list of functions]
>
> Do you think this is in principle a good idea? If you think so, I
> can show you a patch then you can tell me what needs to be changed.
I think it is good idea and I would add 2 functions:
(defun compile-send-to-process (&optional str nl)
"Send STR (string) to process associated with this buffer.
If 2nd optional parameter NL is non nil, append \\n to the string."
(defun compile-send-to-process-nl (&optional str)
"Send STR (string) with \\n appended to process associated with this buffer."
(interactive)
(compile-send-to-process str 'NEW-LINE)) ;; send with new line
I added these functions after requests from my users to be able to
react to anything in the compilation (e.g. sending confirmation to rm).
BTW. 1. Some of your suggestions are already there (M-p/M-n do
previous/next error, RET / C-c C-c do compile-goto-error)
2. This need to be added to all compilation mode maps.
Ehud.
--
Ehud Karni Mivtach - Simon Insurance /"\
Tel: +972-3-7966-561 Fax: +972-3-7966-667 \ / ASCII Ribbon Campaign
(USA) Fax and voice mail: 1-815-5509341 X Against HTML Mail
Better Safe Than Sorry / \
mailto:address@hidden http://www.simonwiesel.co.il
- Re: More keybindings in compilation-mode-map, (continued)
- Re: More keybindings in compilation-mode-map, Stefan Monnier, 2001/11/13
- Re: More keybindings in compilation-mode-map, Andreas Schwab, 2001/11/14
- Re: More keybindings in compilation-mode-map, Ehud Karni, 2001/11/14
- Re: More keybindings in compilation-mode-map, Richard Stallman, 2001/11/14
- Re: More keybindings in compilation-mode-map, Kai Großjohann, 2001/11/14
- Re: More keybindings in compilation-mode-map, Alex Schroeder, 2001/11/14
- Re: More keybindings in compilation-mode-map, Miles Bader, 2001/11/14
- Re: More keybindings in compilation-mode-map, Richard Stallman, 2001/11/15
- Re: More keybindings in compilation-mode-map, Richard Stallman, 2001/11/15
Re: More keybindings in compilation-mode-map, Kai Großjohann, 2001/11/12
Re: More keybindings in compilation-mode-map,
Ehud Karni <=
Re: More keybindings in compilation-mode-map, Kai Großjohann, 2001/11/15