From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Harry Putnam Newsgroups: gmane.emacs.help Subject: Re: Sanest way to make emacs behave on a Solaris OS Date: Sun, 04 Aug 2013 06:10:22 -0400 Organization: Still searching... Message-ID: References: <87d2pzj4m2.fsf@VLAN-3434.student.uu.se> <87ob9izk9k.fsf@VLAN-3434.student.uu.se> <87fvusw968.fsf@newsguy.com> <20130803070334.GA2266@dismay.proulx.com> <87mwow3m16.fsf@newsguy.com> <20130805201654.GB5734@hysteria.proulx.com> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1375742218 24253 80.91.229.3 (5 Aug 2013 22:36:58 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 5 Aug 2013 22:36:58 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Tue Aug 06 00:36:59 2013 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1V6TOc-0004lk-G0 for geh-help-gnu-emacs@m.gmane.org; Tue, 06 Aug 2013 00:36:58 +0200 Original-Received: from localhost ([::1]:54357 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1V6TOc-0006W7-0m for geh-help-gnu-emacs@m.gmane.org; Mon, 05 Aug 2013 18:36:58 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:45949) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1V6TOL-0006Uf-Va for help-gnu-emacs@gnu.org; Mon, 05 Aug 2013 18:36:47 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1V6TOG-00031s-1c for help-gnu-emacs@gnu.org; Mon, 05 Aug 2013 18:36:41 -0400 Original-Received: from plane.gmane.org ([80.91.229.3]:41601) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1V6TOF-00031j-R2 for help-gnu-emacs@gnu.org; Mon, 05 Aug 2013 18:36:35 -0400 Original-Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1V6TOE-0004cO-GS for help-gnu-emacs@gnu.org; Tue, 06 Aug 2013 00:36:34 +0200 Original-Received: from z65-50-57-227.ips.direcpath.com ([65.50.57.227]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 06 Aug 2013 00:36:34 +0200 Original-Received: from reader by z65-50-57-227.ips.direcpath.com with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 06 Aug 2013 00:36:34 +0200 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 76 Original-X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: z65-50-57-227.ips.direcpath.com User-Agent: Gnus/5.130008 (Ma Gnus v0.8) Emacs/24.3 (usg-unix-v) Cancel-Lock: sha1:7ud25+VijSjkumT9qiy5O2s/3QE= X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 80.91.229.3 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:92746 Archived-At: Bob Proulx writes: [...] First off, sorry to both you and Emanuel. I admit I'm not your basic quick study... but really asleep at the switch on this. I've allowed you to put in time and effort and then dropped my end... for that I am truly sorry. > You are NOT doing what I am suggesting. As others mentioned if you > are starting emacs as a graphical application and not a console one > running in the xterm then Emacs will handle the keyboard itself and > then it has nothing to do with Xterm at all. The Meta Sends Escape > setting only applies to XTerm. It won't apply to emacs in the > graphical client mode. Those are two completely separate and distinct > cases with different configurations. Confusing those two cases makes > talking about it very difficult. Yes, difficult... so doing my best to clarify now. > Which do you want to do? Do you want to run Emacs as a graphical > client? Do you want to run Emacs as a text console program within an > XTerm? Please pick one or the other and then work through it to > completion before trying the opposite way. Actually I want to do both as stated in OP. But was pinheadedly focused on the GUI response. (Which will often be my main usage) > Assuming that you want Emacs as a text client within an Xterm then > please verify that you have started emacs from the xterm window using > the 'emacs -nw' with the -nw option. This should be the simpler case > to get going. Then can do the graphical one afterward. If emacs is > compiled without X the option is still accepted and therefore never > hurts to use -nw when debugging the text flavor. OK, since I DO want both. But before using the .Xresources approach I'll report on the the menu technique: It does cause the key with windows logo to work as M in emacs to bring up the 'M-x' emacs prompt, [...] >> Into my ~/.Xresources file.... but Doggone it, I don't remember how to >> reread .Xresources so that any changes become effective.... I'll have >> to restart X and see how it goes. > > xrdb -m ~/.Xresources > > The -m merges. The -l loads. I selected merging because you may have > sevaral files all merged together so this would only change what you > changed. Using -l would empty first and then only load that file so > if you had several files, perhaps a /etc/X11/something, then that > other would be lost. But I will use -l when I want only what is in > that file, nothing more and nothing less, and want to avoid anything > else that might have been set elsewhere. Somewhat like the emacs -Q > of things. OK thanks for the solid hand holding. I don't think there will be any merging unless setup by the install... but using xrdb -m as you suggested just in case. It worked as you expected... the Windows Logo key now works like M in emacs. But here's the sort of complicated part. I want the Alt key to do that. Having the Meta key work as the alt key is MUCH MUCH better than stretching for the escape key. So this is definitely a working solution. Now I have an easyish time of it with both Gui and text mode emacs. Thank you sir... and thanks for being a patient and thorough coach.