[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
make M-x compile aware of where cursor is in Makefile maybe
From: |
Dan Jacobson |
Subject: |
make M-x compile aware of where cursor is in Makefile maybe |
Date: |
16 Apr 2001 06:48:33 +0800 |
User-agent: |
Gnus/5.0808 (Gnus v5.8.8) Emacs/20.7 |
Feature addition suggestion: have an variable that could activate
this:
When the cursor is in a certain area of a Makefile, the suggested
default in the minibuffer should be to "make <that part>", e.g,
for Makefile portion
tm2pole-test: tm2pole
./$< < $?.data
pole2tm-test: pole2tm
./$< < $?.data
if the cursor is in line 1 or 2, then upon typing M-x compile, one
should see
Compile command: make tm2pole-test
proposed in the minibuffer.
[but what if one still wants to do several make -n tm2pole-test's
first? OK, maybe just automate minibuffer proposal of last argument,
remember other arguments.]
If we aren't visiting a [Mm]akefile when M-x compile is invoked, then
just give the last minibuffer proposal, as usual.
--
http://www.geocities.com/jidanni Tel886-4-25854780 e-mail:restore .com.
- make M-x compile aware of where cursor is in Makefile maybe,
Dan Jacobson <=