help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Three questions


From: William Payne
Subject: Re: Three questions
Date: Sun, 12 Sep 2004 16:40:25 +0200

"John Paul Wallington" <jpw@gnu.org> wrote in message 
86mzzwz6so.fsf@vaio.shootybangbang.com">news:86mzzwz6so.fsf@vaio.shootybangbang.com...
> "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.

Thanks Paul.
(delete-selection mode 1) works.
the --without-sound option doesn't appear when I run ./configure --help, but 
I will try it next time I build emacs.
And if I comment out the lines regarding makefile-mode, I don't get makefile 
mode for files named Makefile.txt for example, only if they are named 
Makefile.

/ WP 



reply via email to

[Prev in Thread] Current Thread [Next in Thread]