From unknown Sat Aug 16 23:43:09 2025 X-Loop: help-debbugs@gnu.org Subject: bug#8551: making Emacs remember a key binding to 'other-window Resent-From: Kevin Michael Simonson Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-To: owner@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 25 Apr 2011 17:42:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 8551 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: 8551@debbugs.gnu.org X-Debbugs-Original-To: "bug-gnu-emacs@gnu.org" Received: via spool by submit@debbugs.gnu.org id=B.130375331019588 (code B ref -1); Mon, 25 Apr 2011 17:42:02 +0000 Received: (at submit) by debbugs.gnu.org; 25 Apr 2011 17:41:50 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1QEPnB-00055s-HZ for submit@debbugs.gnu.org; Mon, 25 Apr 2011 13:41:50 -0400 Received: from eggs.gnu.org ([140.186.70.92]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1QEPal-00041j-Kn for submit@debbugs.gnu.org; Mon, 25 Apr 2011 13:29:00 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1QEPaf-0003Nu-9A for submit@debbugs.gnu.org; Mon, 25 Apr 2011 13:28:54 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,HTML_MESSAGE, T_DKIM_INVALID autolearn=unavailable version=3.3.1 Received: from lists.gnu.org ([140.186.70.17]:35107) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QEPaf-0003Nq-7Y for submit@debbugs.gnu.org; Mon, 25 Apr 2011 13:28:53 -0400 Received: from eggs.gnu.org ([140.186.70.92]:48144) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QEPad-0007Jy-Tf for bug-gnu-emacs@gnu.org; Mon, 25 Apr 2011 13:28:53 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1QEPac-0003MT-3j for bug-gnu-emacs@gnu.org; Mon, 25 Apr 2011 13:28:51 -0400 Received: from mail7.gmhwh.org ([216.49.178.97]:51370) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QEPab-0003LK-Ni for bug-gnu-emacs@gnu.org; Mon, 25 Apr 2011 13:28:49 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=ldschurch.org; h=from : to : date : subject : message-id : content-type : mime-version; s=feb2010; bh=nBde0TSVU1DJRz+dVeWe34kZ3e9vZ1G1gXiDQ2QupZc=; b=INQDC3kqfvV+oY56sbVBtS6yJHbTGrzsfwSFSR5i3s7thKnhJZsc+gV547JHtmOG2JV2 YZy9HE5/+/sWX6p4sskM7XoVj6ox9z81QzIvW+Q8Su64ApZ5TXu8dhJXu0ghHeMNz8fZ fBOqeKDqMlW9fQwG3vTfJhUvOvBPuWom8OI= Received: from chqpvuw1162.ldschurch.org ([10.97.70.82]) by mail7.gmhwh.org (8.14.3/8.14.3) with ESMTP id p3PHSlc1007915 (version=TLSv1/SSLv3 cipher=RC4-MD5 bits=128 verify=NOT) for ; Mon, 25 Apr 2011 11:28:47 -0600 Received: from MBX01.ldschurch.org ([10.97.70.84]) by chqpvuw1162.ldschurch.org ([10.97.70.82]) with mapi; Mon, 25 Apr 2011 11:28:47 -0600 From: Kevin Michael Simonson Date: Mon, 25 Apr 2011 11:28:46 -0600 Thread-Topic: making Emacs remember a key binding to 'other-window Thread-Index: AcwDbjtE6U28zWlNTQSGZPpku7e+AQ== Message-ID: <3679AE44D8C04547A4F3EB83E7790562A8B3FE561E@MBX01.ldschurch.org> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: acceptlanguage: en-US Content-Type: multipart/alternative; boundary="_000_3679AE44D8C04547A4F3EB83E7790562A8B3FE561EMBX01ldschurc_" MIME-Version: 1.0 X-Disclaimer: True X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10432:5.2.15, 1.0.148, 0.0.0000 definitions=2011-04-25_05:2011-04-25, 2011-04-25, 1970-01-01 signatures=0 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 spamscore=0 ipscore=0 suspectscore=1 phishscore=0 bulkscore=0 adultscore=0 classifier=spam adjust=0 reason=mlx engine=6.0.2-1012030000 definitions=main-1104250091 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6, seldom 2.4 (older, 4) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-Received-From: 140.186.70.17 X-Spam-Score: -6.0 (------) X-Mailman-Approved-At: Mon, 25 Apr 2011 13:41:47 -0400 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -6.0 (------) --_000_3679AE44D8C04547A4F3EB83E7790562A8B3FE561EMBX01ldschurc_ Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="ISO-8859-1" I am often running Emacs with multiple windows. In my opinion the "C-x o" = key-combination is too cumbersome, and I never use the "open-line" function= "C-o" is bound to, so I'm always using "global-set-key" to bind "C-o" to "= other-window". How can I put that key binding in my ".emacs" file so that = this key binding is remembered and I don't have to keep executing "global-s= et-key" manually? Kevin Simonson NOTICE: This email message is for the sole use of the intended recipient(s= ) and may contain confidential and privileged information. Any unauthorized= review, use, disclosure or distribution is prohibited. If you are not the = intended recipient, please contact the sender by reply email and destroy al= l copies of the original message. --_000_3679AE44D8C04547A4F3EB83E7790562A8B3FE561EMBX01ldschurc_ Content-Transfer-Encoding: quoted-printable Content-Type: text/html; charset="ISO-8859-1"

I am often runni= ng Emacs with multiple windows.  In my opinion the “C-x o”= key-combination is too cumbersome, and I never use the “open-line= 221; function “C-o” is bound to, so I’m always using R= 20;global-set-key” to bind “C-o” to “other-window&#= 8221;.  How can I put that key binding in my “.emacs” file= so that this key binding is remembered and I don’t have to keep exec= uting “global-set-key” manually?

 

Kevin Simonson

 

<= br>
NOTICE: This email message is for the sole use of the intended reci= pient(s) and may contain confidential and privileged information. Any unaut= horized review, use, disclosure or distribution is prohibited. If you are n= ot the intended recipient, please contact the sender by reply email and des= troy all copies of the original message.


--_000_3679AE44D8C04547A4F3EB83E7790562A8B3FE561EMBX01ldschurc_-- From unknown Sat Aug 16 23:43:09 2025 X-Loop: help-debbugs@gnu.org Subject: bug#8551: making Emacs remember a key binding to 'other-window Resent-From: "Drew Adams" Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-To: owner@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 25 Apr 2011 18:51:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 8551 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: "'Kevin Michael Simonson'" , <8551@debbugs.gnu.org> Cc: help-gnu-emacs@gnu.org Received: via spool by 8551-submit@debbugs.gnu.org id=B8551.130375745625658 (code B ref 8551); Mon, 25 Apr 2011 18:51:02 +0000 Received: (at 8551) by debbugs.gnu.org; 25 Apr 2011 18:50:56 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1QEQs3-0006fm-2Z for submit@debbugs.gnu.org; Mon, 25 Apr 2011 14:50:56 -0400 Received: from rcsinet10.oracle.com ([148.87.113.121]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1QEQs1-0006fa-0x for 8551@debbugs.gnu.org; Mon, 25 Apr 2011 14:50:53 -0400 Received: from rcsinet15.oracle.com (rcsinet15.oracle.com [148.87.113.117]) by rcsinet10.oracle.com (Switch-3.4.2/Switch-3.4.2) with ESMTP id p3PIojnI019252 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Mon, 25 Apr 2011 18:50:46 GMT Received: from acsmt357.oracle.com (acsmt357.oracle.com [141.146.40.157]) by rcsinet15.oracle.com (Switch-3.4.2/Switch-3.4.1) with ESMTP id p3PIoiBR017710 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Mon, 25 Apr 2011 18:50:44 GMT Received: from abhmt014.oracle.com (abhmt014.oracle.com [141.146.116.23]) by acsmt357.oracle.com (8.12.11.20060308/8.12.11) with ESMTP id p3PIoheM027740; Mon, 25 Apr 2011 13:50:44 -0500 Received: from dradamslap1 (/130.35.178.194) by default (Oracle Beehive Gateway v4.0) with ESMTP ; Mon, 25 Apr 2011 11:50:43 -0700 From: "Drew Adams" References: <3679AE44D8C04547A4F3EB83E7790562A8B3FE561E@MBX01.ldschurch.org> Date: Mon, 25 Apr 2011 11:50:45 -0700 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Mailer: Microsoft Office Outlook 11 In-Reply-To: <3679AE44D8C04547A4F3EB83E7790562A8B3FE561E@MBX01.ldschurch.org> Thread-Index: AcwDbjtE6U28zWlNTQSGZPpku7e+AQACfWaQ X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.6090 X-Source-IP: rcsinet15.oracle.com [148.87.113.117] X-Auth-Type: Internal IP X-CT-RefId: str=0001.0A090209.4DB5C286.0145:SCFMA4539811,ss=1,fgs=0 X-Spam-Score: -6.5 (------) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -6.5 (------) > I am often running Emacs with multiple windows. In my opinion > the "C-x o" key-combination is too cumbersome, and I never use > the "open-line" function "C-o" is bound to, so I'm always using > "global-set-key" to bind "C-o" to "other-window". How can I put > that key binding in my ".emacs" file so that this key binding is > remembered and I don't have to keep executing "global-set-key" > manually? Kevin Simonson A couple of administrative things, FYI: * The best mailing list for questions like this is `help-gnu-emacs@gnu.org' (cc'd). * Please use plain-text, not HTML formatting, when sending mail to either the bug list or the help list. --- Wrt your question, here's what I would suggest: In Emacs 22+, where (fboundp 'command-remapping) is non-nil: (global-set-key [remap open-line] 'other-window) In Emacs before 22 (no command remapping): (substitute-key-definition 'open-line 'other-window global-map) From unknown Sat Aug 16 23:43:09 2025 MIME-Version: 1.0 X-Mailer: MIME-tools 5.427 (Entity 5.427) X-Loop: help-debbugs@gnu.org From: help-debbugs@gnu.org (GNU bug Tracking System) To: Kevin Michael Simonson Subject: bug#8551: closed (Re: bug#8551: making Emacs remember a key binding to 'other-window) Message-ID: References: <3679AE44D8C04547A4F3EB83E7790562A8B3FE561E@MBX01.ldschurch.org> X-Gnu-PR-Message: they-closed 8551 X-Gnu-PR-Package: emacs Reply-To: 8551@debbugs.gnu.org Date: Mon, 25 Apr 2011 19:40:03 +0000 Content-Type: multipart/mixed; boundary="----------=_1303760403-30002-1" This is a multi-part message in MIME format... ------------=_1303760403-30002-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" Your bug report #8551: making Emacs remember a key binding to 'other-window which was filed against the emacs package, has been closed. The explanation is attached below, along with your original report. If you require more details, please reply to 8551@debbugs.gnu.org. --=20 8551: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D8551 GNU Bug Tracking System Contact help-debbugs@gnu.org with problems ------------=_1303760403-30002-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at 8551-done) by debbugs.gnu.org; 25 Apr 2011 19:39:36 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1QERd9-0007nH-Nx for submit@debbugs.gnu.org; Mon, 25 Apr 2011 15:39:36 -0400 Received: from fencepost.gnu.org ([140.186.70.10]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1QERd7-0007n4-MJ for 8551-done@debbugs.gnu.org; Mon, 25 Apr 2011 15:39:34 -0400 Received: from 213-159-126-200.fibertel.com.ar ([200.126.159.213]:42549 helo=ceviche.home) by fencepost.gnu.org with esmtpsa (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1QERd2-0004wF-0a; Mon, 25 Apr 2011 15:39:28 -0400 Received: by ceviche.home (Postfix, from userid 20848) id C04AA6610E; Mon, 25 Apr 2011 16:39:24 -0300 (ART) From: Stefan Monnier To: Kevin Michael Simonson Subject: Re: bug#8551: making Emacs remember a key binding to 'other-window Message-ID: References: <3679AE44D8C04547A4F3EB83E7790562A8B3FE561E@MBX01.ldschurch.org> Date: Mon, 25 Apr 2011 16:39:24 -0300 In-Reply-To: <3679AE44D8C04547A4F3EB83E7790562A8B3FE561E@MBX01.ldschurch.org> (Kevin Michael Simonson's message of "Mon, 25 Apr 2011 11:28:46 -0600") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -6.0 (------) X-Debbugs-Envelope-To: 8551-done Cc: 8551-done@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -6.0 (------) > I am often running Emacs with multiple windows. In my opinion the "C-x o" > key-combination is too cumbersome, and I never use the "open-line" function > "C-o" is bound to, so I'm always using "global-set-key" to bind "C-o" to > "other-window". How can I put that key binding in my ".emacs" file so that > this key binding is remembered and I don't have to keep executing > "global-set-key" manually? I'd recommend you post such questions to gnu.emacs.help, since it's neither a bug report, nor a feature request, but just a question. As for answers, the Emacs manual (reachable via the Help menu, for example) is a good way to figure it out. It has a whole section "53.4.6 Rebinding Keys in Your Init File" with examples. So for your case, you'd do: (global-set-key [?\C-o] 'other-window) -- Stefan ------------=_1303760403-30002-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at submit) by debbugs.gnu.org; 25 Apr 2011 17:41:50 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1QEPnB-00055s-HZ for submit@debbugs.gnu.org; Mon, 25 Apr 2011 13:41:50 -0400 Received: from eggs.gnu.org ([140.186.70.92]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1QEPal-00041j-Kn for submit@debbugs.gnu.org; Mon, 25 Apr 2011 13:29:00 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1QEPaf-0003Nu-9A for submit@debbugs.gnu.org; Mon, 25 Apr 2011 13:28:54 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,HTML_MESSAGE, T_DKIM_INVALID autolearn=unavailable version=3.3.1 Received: from lists.gnu.org ([140.186.70.17]:35107) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QEPaf-0003Nq-7Y for submit@debbugs.gnu.org; Mon, 25 Apr 2011 13:28:53 -0400 Received: from eggs.gnu.org ([140.186.70.92]:48144) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QEPad-0007Jy-Tf for bug-gnu-emacs@gnu.org; Mon, 25 Apr 2011 13:28:53 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1QEPac-0003MT-3j for bug-gnu-emacs@gnu.org; Mon, 25 Apr 2011 13:28:51 -0400 Received: from mail7.gmhwh.org ([216.49.178.97]:51370) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QEPab-0003LK-Ni for bug-gnu-emacs@gnu.org; Mon, 25 Apr 2011 13:28:49 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=ldschurch.org; h=from : to : date : subject : message-id : content-type : mime-version; s=feb2010; bh=nBde0TSVU1DJRz+dVeWe34kZ3e9vZ1G1gXiDQ2QupZc=; b=INQDC3kqfvV+oY56sbVBtS6yJHbTGrzsfwSFSR5i3s7thKnhJZsc+gV547JHtmOG2JV2 YZy9HE5/+/sWX6p4sskM7XoVj6ox9z81QzIvW+Q8Su64ApZ5TXu8dhJXu0ghHeMNz8fZ fBOqeKDqMlW9fQwG3vTfJhUvOvBPuWom8OI= Received: from chqpvuw1162.ldschurch.org ([10.97.70.82]) by mail7.gmhwh.org (8.14.3/8.14.3) with ESMTP id p3PHSlc1007915 (version=TLSv1/SSLv3 cipher=RC4-MD5 bits=128 verify=NOT) for ; Mon, 25 Apr 2011 11:28:47 -0600 Received: from MBX01.ldschurch.org ([10.97.70.84]) by chqpvuw1162.ldschurch.org ([10.97.70.82]) with mapi; Mon, 25 Apr 2011 11:28:47 -0600 From: Kevin Michael Simonson To: "bug-gnu-emacs@gnu.org" Date: Mon, 25 Apr 2011 11:28:46 -0600 Subject: making Emacs remember a key binding to 'other-window Thread-Topic: making Emacs remember a key binding to 'other-window Thread-Index: AcwDbjtE6U28zWlNTQSGZPpku7e+AQ== Message-ID: <3679AE44D8C04547A4F3EB83E7790562A8B3FE561E@MBX01.ldschurch.org> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: acceptlanguage: en-US Content-Type: multipart/alternative; boundary="_000_3679AE44D8C04547A4F3EB83E7790562A8B3FE561EMBX01ldschurc_" MIME-Version: 1.0 X-Disclaimer: True X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10432:5.2.15, 1.0.148, 0.0.0000 definitions=2011-04-25_05:2011-04-25, 2011-04-25, 1970-01-01 signatures=0 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 spamscore=0 ipscore=0 suspectscore=1 phishscore=0 bulkscore=0 adultscore=0 classifier=spam adjust=0 reason=mlx engine=6.0.2-1012030000 definitions=main-1104250091 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6, seldom 2.4 (older, 4) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-Received-From: 140.186.70.17 X-Spam-Score: -6.0 (------) X-Debbugs-Envelope-To: submit X-Mailman-Approved-At: Mon, 25 Apr 2011 13:41:47 -0400 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -6.0 (------) --_000_3679AE44D8C04547A4F3EB83E7790562A8B3FE561EMBX01ldschurc_ Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="ISO-8859-1" I am often running Emacs with multiple windows. In my opinion the "C-x o" = key-combination is too cumbersome, and I never use the "open-line" function= "C-o" is bound to, so I'm always using "global-set-key" to bind "C-o" to "= other-window". How can I put that key binding in my ".emacs" file so that = this key binding is remembered and I don't have to keep executing "global-s= et-key" manually? Kevin Simonson NOTICE: This email message is for the sole use of the intended recipient(s= ) and may contain confidential and privileged information. Any unauthorized= review, use, disclosure or distribution is prohibited. If you are not the = intended recipient, please contact the sender by reply email and destroy al= l copies of the original message. --_000_3679AE44D8C04547A4F3EB83E7790562A8B3FE561EMBX01ldschurc_ Content-Transfer-Encoding: quoted-printable Content-Type: text/html; charset="ISO-8859-1"

I am often runni= ng Emacs with multiple windows.  In my opinion the “C-x o”= key-combination is too cumbersome, and I never use the “open-line= 221; function “C-o” is bound to, so I’m always using R= 20;global-set-key” to bind “C-o” to “other-window&#= 8221;.  How can I put that key binding in my “.emacs” file= so that this key binding is remembered and I don’t have to keep exec= uting “global-set-key” manually?

 

Kevin Simonson

 

<= br>
NOTICE: This email message is for the sole use of the intended reci= pient(s) and may contain confidential and privileged information. Any unaut= horized review, use, disclosure or distribution is prohibited. If you are n= ot the intended recipient, please contact the sender by reply email and des= troy all copies of the original message.


--_000_3679AE44D8C04547A4F3EB83E7790562A8B3FE561EMBX01ldschurc_-- ------------=_1303760403-30002-1-- From unknown Sat Aug 16 23:43:09 2025 X-Loop: help-debbugs@gnu.org Subject: bug#8551: making Emacs remember a key binding to 'other-window Resent-From: Deniz Dogan Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-To: owner@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 25 Apr 2011 23:59:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 8551 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: 8551@debbugs.gnu.org, monnier@iro.umontreal.ca Cc: Kevin Michael Simonson , 8551-done@debbugs.gnu.org Received: via spool by 8551-submit@debbugs.gnu.org id=B8551.130377594119113 (code B ref 8551); Mon, 25 Apr 2011 23:59:02 +0000 Received: (at 8551) by debbugs.gnu.org; 25 Apr 2011 23:59:01 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1QEVgB-0004yA-6V for submit@debbugs.gnu.org; Mon, 25 Apr 2011 19:59:00 -0400 Received: from mail-vx0-f172.google.com ([209.85.220.172]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1QEVg9-0004xw-RA; Mon, 25 Apr 2011 19:58:58 -0400 Received: by vxg33 with SMTP id 33so104527vxg.3 for ; Mon, 25 Apr 2011 16:58:52 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc:content-type:content-transfer-encoding; bh=k2p/qu4aeHdUm3Go9hMRhuOBWz7HHl0N2Io9+0EfRSk=; b=RmjhVG0wMLaPSH8a9TGmnzxFCeViVf23TY4ePFoR3E48Qt0BJX+ymsN5/uB0Xtv3Z0 0FoO7Hs0wqZaHgPMcmptT7emUApyaE3OoL+SNoluS4Xy9kDUFLkLEtcsHaKPdYvkULN/ sFesLuCyX7DvtImTLW2Lsi82t6K/xcmXWJSNM= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type:content-transfer-encoding; b=aSqkMaBf3ESD2eFH5g7x1A3YAEJ+/6+9UNqbjUmQap+cAiPdc2Gb2HVBAcG+kmaZs/ ecmls2HJzxByzXMtWFPDf9rSMWJLWf9ujPmi2hDcEAAIHJA4U4LMfCjpG0rXtkoIBMLr NGJdjFZM9LiHy00KrZQW+i9shGgCRYc56HGYI= Received: by 10.52.97.41 with SMTP id dx9mr136601vdb.97.1303775932168; Mon, 25 Apr 2011 16:58:52 -0700 (PDT) MIME-Version: 1.0 Received: by 10.52.159.70 with HTTP; Mon, 25 Apr 2011 16:58:32 -0700 (PDT) In-Reply-To: References: <3679AE44D8C04547A4F3EB83E7790562A8B3FE561E@MBX01.ldschurch.org> From: Deniz Dogan Date: Tue, 26 Apr 2011 01:58:32 +0200 Message-ID: Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Spam-Score: -2.7 (--) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -2.7 (--) 2011/4/25 Stefan Monnier : > =A0 (global-set-key [?\C-o] 'other-window) > Or: (global-set-key (kbd "C-o") 'other-window)