all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Daniel Lidstrom <someone@microsoft.com>
Subject: .cpp, switch to .h
Date: Sat, 14 Feb 2004 00:20:42 +0100	[thread overview]
Message-ID: <pan.2004.02.13.23.20.42.132946@microsoft.com> (raw)

Hello,

I would like a script that I can bind to Ctrl-Shift-h that will switch
from a .cpp file to the associated .h file, if there is one. For example,
if I have Hash.cpp opened and press the selected keys, emacs switches to
Hash.h. If there is no Hash.h nothing is done. Any help appreciated.
Thanks!

-- 
Daniel

             reply	other threads:[~2004-02-13 23:20 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-02-13 23:20 Daniel Lidstrom [this message]
2004-02-14  4:42 ` .cpp, switch to .h Benjamin Rutt
2004-02-14  9:53   ` Daniel Lidstrom
2004-02-14 14:38     ` Alan Mackenzie
2004-02-14 10:02 ` Felix
2004-02-14 10:27   ` Daniel Lidstrom
2004-02-14 12:09     ` Eli Zaretskii
     [not found]     ` <mailman.2385.1076760554.928.help-gnu-emacs@gnu.org>
2004-02-14 13:09       ` Daniel Lidstrom
2004-02-14 16:59         ` Eli Zaretskii

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=pan.2004.02.13.23.20.42.132946@microsoft.com \
    --to=someone@microsoft.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.