From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Uwe Mayer Newsgroups: gmane.emacs.help Subject: change function assignment Date: Sun, 24 Oct 2004 11:31:04 +0200 Organization: University of Karlsruhe, Germany Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Message-ID: Reply-To: merkosh@hadiko.de NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7Bit X-Trace: sea.gmane.org 1098610404 22652 80.91.229.6 (24 Oct 2004 09:33:24 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sun, 24 Oct 2004 09:33:24 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Sun Oct 24 11:33:13 2004 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1CLekT-000892-00 for ; Sun, 24 Oct 2004 11:33:13 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1CLes3-0008C6-DC for geh-help-gnu-emacs@m.gmane.org; Sun, 24 Oct 2004 05:41:03 -0400 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!newsfeed.icl.net!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!news.belwue.de!rz.uni-karlsruhe.de!news.rz.uni-karlsruhe.de!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 23 Original-NNTP-Posting-Host: hadim111.hadiko.uni-karlsruhe.de Original-X-Trace: news2.rz.uni-karlsruhe.de 1098610264 17672 172.20.45.11 (24 Oct 2004 09:31:04 GMT) Original-X-Complaints-To: usenet@rz.uni-karlsruhe.de Original-NNTP-Posting-Date: Sun, 24 Oct 2004 09:31:04 +0000 (UTC) User-Agent: KNode/0.8.0 Original-Xref: shelby.stanford.edu gnu.emacs.help:126032 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: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: main.gmane.org gmane.emacs.help:21409 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:21409 Hi, I use emacs for C++ programming. The c-mode provides a nice 'comment-box' function like this: /***********/ /* text */ /***********/ but in c++-mode this changes to: /////////////// // text // /////////////// I know (a little) about the c++-mode-hook customisation, but could someone please tell me how to bind the comment-box function from c-mode to the c++-mode identifier comment-box? Thanks, Ciao Uwe