From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "B. T. Raven" Newsgroups: gmane.emacs.help Subject: how to implement function copy-subword-to-irc-buffer Date: Mon, 30 Nov 2009 11:39:16 -0600 Message-ID: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1259606737 26483 80.91.229.12 (30 Nov 2009 18:45:37 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 30 Nov 2009 18:45:37 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Mon Nov 30 19:45:30 2009 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1NFBFa-0003Nw-0r for geh-help-gnu-emacs@m.gmane.org; Mon, 30 Nov 2009 19:45:30 +0100 Original-Received: from localhost ([127.0.0.1]:42090 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NFBFZ-0006ng-FE for geh-help-gnu-emacs@m.gmane.org; Mon, 30 Nov 2009 13:45:29 -0500 Original-Path: news.stanford.edu!usenet.stanford.edu!news.glorb.com!news2.glorb.com!news.glorb.com!Xl.tags.giganews.com!border1.nntp.dca.giganews.com!nntp.giganews.com!local2.nntp.dca.giganews.com!nntp.sysmatrix.net!news.sysmatrix.net.POSTED!not-for-mail Original-NNTP-Posting-Date: Mon, 30 Nov 2009 11:38:58 -0600 User-Agent: Thunderbird 2.0.0.23 (Windows/20090812) Original-Newsgroups: gnu.emacs.help X-No-Archive: yes Original-Lines: 17 X-Usenet-Provider: http://www.giganews.com Original-NNTP-Posting-Host: 12.73.130.56 Original-X-Trace: sv3-jGZaE5h1L0kEBEFvSuN137OBm2XqK7BxG2coRWRwinxL3LMTkjGCiImWf2gBtr0VSt8vMT9xYoR7ib2!MdiAYLdoQjPOK0GnxsSB5OKxXln72RTeqyrQH18Mq8TwJrGMTI0yZL5S96Zhg/T4vQt1OyVB7k5G!5+8NdH97xj+rMnLXIdFpBwWEA2oMVQ== Original-X-Complaints-To: abuse@sysmatrix.net X-Abuse-and-DMCA-Info: Please be sure to forward a copy of ALL headers X-Abuse-and-DMCA-Info: Otherwise we will be unable to process your complaint properly X-Postfilter: 1.3.40 Original-Xref: news.stanford.edu gnu.emacs.help:175193 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org X-Gmane-Expiry: 2009-12-14 Xref: news.gmane.org gmane.emacs.help:70268 Archived-At: I think I need (thing-at-point 'word), (buffer-list), set point and mark, copy-region-as-kill-no-mark, and other usual suspects to implement this but really want to automatically copy the substring of the word before point or the whole word if point is in whitespace after the word. This (sub)string should go to the point in the irc buffer (one whose buffer-name starts with #) and then make that irc buffer current. Is this doable? I want to assign this function to some keychord but am not sure what would be suitable (in keeping with traditional key assignment philosophy). I have standard binding for almost every thing but single character cursor movement. Is there a way of getting a list of all key combos (and/or ranges of key combos) that are not currently bound? Thanks, Ed