From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Sergei Organov Newsgroups: gmane.emacs.help Subject: Re: Need help writing file-visiting macro Date: 25 Jul 2005 20:50:35 +0400 Organization: Combellga Message-ID: References: NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1122310416 3031 80.91.229.2 (25 Jul 2005 16:53:36 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Mon, 25 Jul 2005 16:53:36 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Mon Jul 25 18:53:31 2005 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1Dx6CU-0007Wa-Tl for geh-help-gnu-emacs@m.gmane.org; Mon, 25 Jul 2005 18:53:11 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Dx6Em-0000W0-ME for geh-help-gnu-emacs@m.gmane.org; Mon, 25 Jul 2005 12:55:32 -0400 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!newsfeed.gamma.ru!Gamma.RU!news.co.ru!not-for-mail Original-Newsgroups: comp.emacs,gnu.emacs.help Original-Lines: 10 Original-NNTP-Posting-Host: ttc.topconrd.ru Original-X-Trace: n6.co.ru 1122310245 15319 62.105.138.5 (25 Jul 2005 16:50:45 GMT) Original-X-Complaints-To: newsmaster@co.ru Original-NNTP-Posting-Date: Mon, 25 Jul 2005 16:50:45 +0000 (UTC) X-attribution: osv User-Agent: Gnus/5.0808 (Gnus v5.8.8) XEmacs/21.4 (Common Lisp) Original-Xref: shelby.stanford.edu comp.emacs:89753 gnu.emacs.help:132641 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:28162 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:28162 roy@panix.com (Roy Smith) writes: > I'm working in a software development system which has classes defined > in foo.mdl files, with the corresponding implementation code in > foo_Impl.c files I want to write a macro or function which lets you > flip back and forth between the two. If I'm looking at a .mdl file, I > want it to construct the corresponding _Impl.c filename and visit that > file. Is that possible? Yes.