From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: yeogirl@gmail.com Newsgroups: gmane.emacs.help Subject: Emacs lisp programming help Date: 15 Mar 2006 23:15:03 -0800 Organization: http://groups.google.com Message-ID: <1142493303.498132.243470@z34g2000cwc.googlegroups.com> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" X-Trace: sea.gmane.org 1142493638 10896 80.91.229.2 (16 Mar 2006 07:20:38 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Thu, 16 Mar 2006 07:20:38 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Thu Mar 16 08:20:36 2006 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1FJmmf-0002Gq-RN for geh-help-gnu-emacs@m.gmane.org; Thu, 16 Mar 2006 08:20:33 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1FJmmf-0007Lq-60 for geh-help-gnu-emacs@m.gmane.org; Thu, 16 Mar 2006 02:20:33 -0500 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!postnews.google.com!z34g2000cwc.googlegroups.com!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 14 Original-NNTP-Posting-Host: 221.116.201.26 Original-X-Trace: posting.google.com 1142493311 14783 127.0.0.1 (16 Mar 2006 07:15:11 GMT) Original-X-Complaints-To: groups-abuse@google.com Original-NNTP-Posting-Date: Thu, 16 Mar 2006 07:15:11 +0000 (UTC) User-Agent: G2/0.2 X-HTTP-UserAgent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; .NET CLR 1.1.4322),gzip(gfe),gzip(gfe) Complaints-To: groups-abuse@google.com Injection-Info: z34g2000cwc.googlegroups.com; posting-host=221.116.201.26; posting-account=7Y7pvw0AAAC2pBgmXRKODeYCbGLkVCsF Original-Xref: shelby.stanford.edu gnu.emacs.help:138208 Original-To: help-gnu-emacs@gnu.org 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 Xref: news.gmane.org gmane.emacs.help:33819 Archived-At: Can anyone write me a short emacs list programming which changes its buffer to corresponding .h or .cc files? For example, if I work on a buffer, foo.cc and I want to switch to buffer foo.h, I like to use a hot key such as meta-h to change to foo.h. I can also do the same hot key change back to foo.cc. I used to have the feature in my old machine...but I misplaced the code! Anyhelp would be greatly appreciated!! Thank you!! Yeogirl. PS. PLEASE email me your message when you post a reply!! THANKS!!