all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* region sensitive Makefile compile-command
@ 2004-11-27  1:12 Dan Jacobson
  2004-12-01 20:37 ` Juri Linkov
  0 siblings, 1 reply; 9+ messages in thread
From: Dan Jacobson @ 2004-11-27  1:12 UTC (permalink / raw)


You guys just got to implement this, so I'm rereqesting it as it is so
cool.  Make a new variable that we can turn on to enable this:

Here we are in a Makefile,
a:
        bla bla
b:
        bla bla

Well, if the cursor is anywhere in the a: region, all two lines of it,
then compile-command should be "make a" (or "make -k a"). If anywhere
in the b: region, then compile-command should be "make b".

That way when one hits M-x compile, one gets prompted with something
relevant, not just "make -k" which may not always be what you want.

Currently sadly, one can even put the cursor right on top of the a:
and normally highly sensitive emacs (especially after enabling ffap)
still doesn't get the hint.

^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2004-12-09  0:33 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-11-27  1:12 region sensitive Makefile compile-command Dan Jacobson
2004-12-01 20:37 ` Juri Linkov
2004-12-02 23:33   ` Dan Jacobson
2004-12-05 20:52     ` Juri Linkov
     [not found]     ` <mailman.3743.1102280901.27204.bug-gnu-emacs@gnu.org>
2004-12-06 17:04       ` Kevin Rodgers
2004-12-06 23:40         ` Juri Linkov
     [not found]         ` <mailman.4029.1102377320.27204.bug-gnu-emacs@gnu.org>
2004-12-07  0:20           ` Kevin Rodgers
2004-12-07  1:23             ` Juri Linkov
2004-12-09  0:33         ` Dan Jacobson

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.