I have tried to manipulate the /etc/alternatives settings so that
typing emacs makes emacs22 start, but it just refuses. I'm
completely stumped. I've tried removing all emacs completely,
installing only emacs22-gtk. Still, ordinary "emacs" does nothing.
$ dpkg -l |grep emacs
ii emacs-ess-ku 1.0.0-1
Emacs startup config I prefer for KU labs
rc emacs21 21.4a+1-5.3ubuntu1.1
The GNU Emacs editor
rc emacs21-bin-common 21.4a+1-5.3ubuntu1.1
The GNU Emacs editor's shared, architecture
ii emacs22 22.1-0ubuntu10.1
The GNU Emacs editor (Emacs 22)
ii emacs22-bin-common 22.1-0ubuntu10.1
The GNU Emacs editor's shared, architecture
ii emacs22-common 22.1-0ubuntu10.1
The GNU Emacs editor's common
infrastructure
ii emacs22-el 22.1-0ubuntu10.1
GNU Emacs LISP (.el) files
ii emacs22-gtk 22.1-0ubuntu10.1
The GNU Emacs editor (with GTK+ 2.x
support)
ii emacsen-common 1.4.17
Any other diagnostic information that might help?
$ which emacs
/usr/bin/emacs
$ type emacs
emacs is /usr/bin/emacs
It is only frustrating because I am accustomed to typing "emacs" and
not "emacs22". That, plus none of the configurations and scripts I
have will work without being changed to "emacs22".
--
Paul E. Johnson
Professor, Political Science
1541 Lilac Lane, Room 504
University of Kansas
--
ubuntu-users mailing list
ubuntu-users@lists.ubuntu.com
Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-users
07-23-2008, 09:41 PM
"Mumia W."
emacs won't run, but emacs22 will
Paul Johnson wrote:
> In a terminal, if I type
>
> $ emacs
>
> the hard drive churns. The terminal looses focus, but no emacs frame appears.
> [...]
>
> It is only frustrating because I am accustomed to typing "emacs" and
> not "emacs22". That, plus none of the configurations and scripts I
> have will work without being changed to "emacs22".
>
>
Until you get it sorted out, you can use a script to invoke emacs22:
Evidently, emacs doesn't like its own name ;-) Do an strace on it:
"strace emacs". It's probably having some problem finding a
configuration file that uses the binary's name. Either that or emacs has
a bug in finding its X resources; by default, a program looks for
resources that start with the program's name.
HTH
--
ubuntu-users mailing list
ubuntu-users@lists.ubuntu.com
Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-users
07-23-2008, 11:37 PM
"Paul Johnson"
emacs won't run, but emacs22 will
Problem is solved if I do not use the compiz window decorator. I'm
going to go bother them in their homeland, rather than bother the rest
of you innocent Ubuntuers.
I'm studying the strace output, lots of blah I can't decipher. Seems
like starting emacs touches every shared library and service that
exists.
PJ
On 7/23/08, Mumia W. <paduille.4062.mumia.w+nospam@earthlink.net> wrote:
> Paul Johnson wrote:
>> In a terminal, if I type
>>
>> $ emacs
>>
>> the hard drive churns. The terminal looses focus, but no emacs frame
>> appears.
>> [...]
>>
>> It is only frustrating because I am accustomed to typing "emacs" and
>> not "emacs22". That, plus none of the configurations and scripts I
>> have will work without being changed to "emacs22".
>>
>>
>
> Until you get it sorted out, you can use a script to invoke emacs22:
>
> -----file:~/bin/emacs----------
> #!/bin/sh
> exec emacs22 "$@"
> -----end-----------------------
>
> Evidently, emacs doesn't like its own name ;-) Do an strace on it:
> "strace emacs". It's probably having some problem finding a
> configuration file that uses the binary's name. Either that or emacs has
> a bug in finding its X resources; by default, a program looks for
> resources that start with the program's name.
>
> HTH
>
>
>
>
> --
> ubuntu-users mailing list
> ubuntu-users@lists.ubuntu.com
> Modify settings or unsubscribe at:
> https://lists.ubuntu.com/mailman/listinfo/ubuntu-users
>
--
Paul E. Johnson
Professor, Political Science
1541 Lilac Lane, Room 504
University of Kansas
--
ubuntu-users mailing list
ubuntu-users@lists.ubuntu.com
Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-users