emacs in F9

Richard W.M. Jones rjones at redhat.com
Wed Nov 28 11:16:13 UTC 2007


Robert P. J. Day wrote:
> On Wed, 28 Nov 2007, Richard W.M. Jones wrote:
> 
>> Minor but annoying point.  It seems like in F9 there is no 'emacs' command.
>> Instead I have to type (or tab-complete / alias / etc.) 'emacs-22.1.50'.
>>
>> Any reason for this or just a mistake?
> 
> um ...F9?  in any event, on my F8 system, there *is* an F8 file
> /usr/bin/emacs, but it's a symlink:

Well OK, F8-devel = F9.

> $ ls -l /usr/bin/emacs
> lrwxrwxrwx 1 root root 23 2007-11-11 04:52 /usr/bin/emacs -> /etc/alternatives/emacs
> 
> you might want to run
> 
>   $ alternatives --config emacs
> 
> and see if you're somehow missing that setup step.

# /usr/sbin/alternatives --config emacs

There are 2 programs which provide 'emacs'.

   Selection    Command
-----------------------------------------------
*+ 1           /usr/bin/emacs-22.1
    2           /usr/bin/emacs-22.1.50

Enter to keep the current selection[+], or type selection number: 1
# emacs
bash: emacs: command not found

Rich.

-- 
Emerging Technologies, Red Hat - http://et.redhat.com/~rjones/
Registered Address: Red Hat UK Ltd, Amberley Place, 107-111 Peascod
Street, Windsor, Berkshire, SL4 1TE, United Kingdom.  Registered in
England and Wales under Company Registration No. 03798903
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/x-pkcs7-signature
Size: 3237 bytes
Desc: S/MIME Cryptographic Signature
URL: <http://listman.redhat.com/archives/fedora-list/attachments/20071128/28574eab/attachment-0001.bin>


More information about the fedora-list mailing list