From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: XeCycle Newsgroups: gmane.emacs.help Subject: Re: How bind C-c C-c to specific buffer? Date: Sat, 12 Nov 2011 11:08:04 +0800 Message-ID: <8739du11ij.fsf@gmail.com> References: <877h369rfi.fsf@gmail.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha1; protocol="application/pgp-signature" X-Trace: dough.gmane.org 1321067313 9226 80.91.229.12 (12 Nov 2011 03:08:33 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Sat, 12 Nov 2011 03:08:33 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Sat Nov 12 04:08:29 2011 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([140.186.70.17]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1RP3xE-0004C9-FY for geh-help-gnu-emacs@m.gmane.org; Sat, 12 Nov 2011 04:08:28 +0100 Original-Received: from localhost ([::1]:37640 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RP3xD-0006wd-Os for geh-help-gnu-emacs@m.gmane.org; Fri, 11 Nov 2011 22:08:27 -0500 Original-Received: from eggs.gnu.org ([140.186.70.92]:38491) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RP3x8-0006wX-RH for help-gnu-emacs@gnu.org; Fri, 11 Nov 2011 22:08:23 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RP3x7-0007uQ-Rz for help-gnu-emacs@gnu.org; Fri, 11 Nov 2011 22:08:22 -0500 Original-Received: from lo.gmane.org ([80.91.229.12]:35519) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RP3x7-0007u6-IZ for help-gnu-emacs@gnu.org; Fri, 11 Nov 2011 22:08:21 -0500 Original-Received: from list by lo.gmane.org with local (Exim 4.69) (envelope-from ) id 1RP3x5-0004AX-EL for help-gnu-emacs@gnu.org; Sat, 12 Nov 2011 04:08:19 +0100 Original-Received: from 59.78.37.25 ([59.78.37.25]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sat, 12 Nov 2011 04:08:19 +0100 Original-Received: from xecycle by 59.78.37.25 with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sat, 12 Nov 2011 04:08:19 +0100 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 40 Original-X-Complaints-To: usenet@dough.gmane.org X-Gmane-NNTP-Posting-Host: 59.78.37.25 User-Agent: Gnus/5.110018 (No Gnus v0.18) Emacs/24.0.91 (gnu/linux) Cancel-Lock: sha1:gdEi2V801WoRLfp1tBFycn+FxH4= X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-Received-From: 80.91.229.12 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:82873 Archived-At: --=-=-= Content-Type: text/plain Content-Transfer-Encoding: quoted-printable Oleksandr Gavenko writes: > I try implement functionality that spawn buffer, user type message and af= ter > C-c C-c must arise my function that get typed text and kill buffer (like = in > remember or message or log buffers). > > How can I archive my goal? > > Is it possible to bind key sequence limited to specific buffer without > implementing major mode? See local-set-key. =2D-=20 Carl Lei (XeCycle) Department of Physics, Shanghai Jiao Tong University OpenPGP public key: 7795E591 Fingerprint: 1FB6 7F1F D45D F681 C845 27F7 8D71 8EC4 7795 E591 --=-=-= Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.11 (GNU/Linux) iQEcBAEBAgAGBQJOveMUAAoJEI1xjsR3leWRdcUH/3j0j/hQ8/Ca2+7zG6H7gP4T wCS8PmYui4OVzmLJZw2Jk23CIUpk1dGemLrBfuRe+M18t6u5FkiS5NOdctqyg7Wd ivBwFXBu/f2Jvfg995H5+2NVKknY/UtS9Ery2k0DW1pIaa2p8JGeyB7XiJQmYOC2 49m3acvvTKKqkzr7ss4Pjt7tBPj9IG3Pkn64tN1ZXeIZcztoWpjAS/ocnXlYzsJb qI9ruL+uPb82IVXYCPNqGJMejVmyn0ncu5pk4mSC6y7AfRIk0I3JEaiOGw+WGLhb zlEc5Uldn28N86AX11/HEDQLIkp/NWsp6/zSRPa44wvSDxbn2eMyHTrujVfvb9k= =wwSk -----END PGP SIGNATURE----- --=-=-=--