Article View: gnu.emacs.help
Article #189844Re: x11 and unwanted command line options
From: Jeff Minnig
Date: Wed, 24 Oct 1990 13:10
Date: Wed, 24 Oct 1990 13:10
40 lines
2029 bytes
2029 bytes
In article <9010201104.AA03309@uunet.uu.net> fe2o3!jad@HPCNDNM.CND.HP.COM (John Dilley) writes:
> The following emacs lisp code, in your .emacs file, will look at
> the command line options and blow away then ones you don't want. If
> you have options with no arguments (mine both have two), use only one
> cdr instead (cdr (cdr ...)). Enjoy...
>
> *** stuff deleted ***
>
You also could have modified the definition of
command-switch-alist in your emacs/lisp/term/x11-term.el
to ignore the extra command line arguments. Just add a
list element of:
("-xrm" . xignore)
That should do the trick and everyone who uses x11emacs at
your site can then use -xrm with no problem.
-jeff-
--
----------------------------------------------------------------------
I said it, not the people I work for.
----------------------------------------------------------------------
Jeff Minnig | (402) 476-8278
Design Data |
1033 'O' St. Suite 324 | {hpfcla,ssbell,unocss}!dsndata!jeff
Lincoln NE 68508 |
----------------------------------------------------------------------
Home is where your keyboard is.
----------------------------------------------------------------------
Technical Details
Message-ID:
<JEFF.90Oct24091040@dsndata.uucp>Path:
arc1-ca.pugleaf.net!gmdzi!unido!mcsun!uunet!zaphod.mps.ohio-state.edu!rpi!sci.ccny.cuny.edu!dsndata!jeffReferences:
<9010201104.AA03309@uunet.uu.net>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103b8b,1611ab65e5ae57b1 X-Google-Attributes: gid103b8b,public X-Google-ArrivalTime: 1990-10-24 06:10:40 PST Path: arc1-ca.pugleaf.net!gmdzi!unido!mcsun!uunet!zaphod.mps.ohio-state.edu!rpi!sci.ccny.cuny.edu!dsndata!jeff From: jeff@dsndata.uucp (Jeff Minnig) Newsgroups: gnu.emacs.help Subject: Re: x11 and unwanted command line options Message-ID: <JEFF.90Oct24091040@dsndata.uucp> Date: 24 Oct 90 13:10:40 GMT References: <9010201104.AA03309@uunet.uu.net> Sender: jeff@dsndata.UUCP Followup-To: gnu.emacs.help Distribution: gnu Organization: Design Data Lines: 40 Posted: Wed Oct 24 14:10:40 1990 In-reply-to: fe2o3!jad@HPCNDNM.CND.HP.COM's message of 19 Oct 90 20:33:08 GMT