[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Three questions
From: |
John Paul Wallington |
Subject: |
Re: Three questions |
Date: |
Sun, 12 Sep 2004 01:09:59 +0100 |
User-agent: |
Gnus/5.110003 (No Gnus v0.3) Emacs/21.3.50 (berkeley-unix) |
"William Payne" <mikas493_no_spam@student.liu.se> writes:
> How do I set my Delete key to delete the currently selected region (and with
> selected I mean selected using the mouse)?
Turn on Delete Selection Mode; either M-x customize-variable
delete-selection-mode then set and save or put
(delete-selection-mode 1) in your .emacs file.
> Second question: I have the following in my .emacs:
> (setq auto-mode-alist
> (cons '("\\(\\`\\|/\\)Makefile\\'" . makefile-mode)
> auto-mode-alist))
>
> My old varaint would trigger Makefile mode (think I just had Makefile$ or
> something similar), if the path contained the string "Makefile". That wasn't
> so good. This varaint triggers makefile mode only if the actual file name
> itself is called Makefile: that is good. However, I want it to trigger make >
> file mode if the file name (not the path!) contains the string Makefile, so
> Makefile.in would trigger also. What do I need to change to get that?
If you remove the above snippet from your .emacs file then Emacs
should work as you expect by default. Does it?
> Finally, can I pass a parameter to the configure script when compiling emacs
> from source to make it build without sound support?
Try configure --without-sound
Generally, running configure with the --help option should
suggest options.