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

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

Re: sudo emacsclient


From: Richard Riley
Subject: Re: sudo emacsclient
Date: Mon, 26 Oct 2009 22:22:55 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1 (gnu/linux)

Andreas Politz <politza@fh-trier.de> writes:

> Richard Riley <rileyrgdev@gmail.com> writes:
>
>> Teemu Likonen <tlikonen@iki.fi> writes:
>>
>>> On 2009-10-26 19:30 (+0100), Richard Riley wrote:
>>>
>>>> I use this small script to start emacs :-
>>>>
>>>> ,----
>>>> | #!/bin/bash
>>>> | # edit
>>>> | export GDK_NATIVE_WINDOWS=1
>>>> | emacsclient --alternate-editor="" -c $@
>>>> `----
>>>
>>> You probably won't need that Bash lying in the background so I would
>>> suggest using "exec" there to replace the script shell. Also, quoting
>>> "$@" is a good idea so it will quote each expanded positional argument.
>>> Like this:
>>>
>>>     exec emacsclient --alternate-editor="" -c "$@"
>>>
>>
>> Makes sense. Thanks.
>
> What is the *magic* export good for ?
>
> -ap

Emacs 23 issues with gtk. Certain menus not appearing. This fixes it for
me. It's logged as a debian/ubuntu bug.






reply via email to

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