From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Hadron Newsgroups: gmane.emacs.help Subject: man pages in c-mode Date: Wed, 30 May 2007 23:02:38 +0200 Message-ID: <87y7j63tzl.fsf@gmail.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1180561235 21972 80.91.229.12 (30 May 2007 21:40:35 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Wed, 30 May 2007 21:40:35 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Wed May 30 23:40:29 2007 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 1HtVu7-0004rW-Gn for geh-help-gnu-emacs@m.gmane.org; Wed, 30 May 2007 23:40:27 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1HtVu7-0005La-2y for geh-help-gnu-emacs@m.gmane.org; Wed, 30 May 2007 17:40:27 -0400 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!news.tele.dk!news.tele.dk!small.news.tele.dk!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 17 Original-X-Trace: individual.net 6tcE5CAXMVDxOIhQAgmOxQAVHYlH7yDRghgnUUchDx7cetZ0Nv X-Orig-Path: news.individual.net!news X-Face: 2h#||Cd#d%F*NCm59[_6/{1a@jy%; |j>{D~4^gKg(^i%7j0IK?+,/GmW&:CD5fEKb_! User-Agent: Gnus/5.110006 (No Gnus v0.6) Emacs/23.0.0 (gnu/linux) Cancel-Lock: sha1:+FVfwlRHM4fSba8cBd95pmHULlA= Original-Xref: shelby.stanford.edu gnu.emacs.help:148963 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:44552 Archived-At: I thought this might turn my man page display into c-mode. It doesnt. What must I do? (defun jump-man-page () (interactive) (manual-entry (current-word)) (c-mode) ) Note that I call manual-entry in "aggressive" mode meaning that manual-entry puts the man page into another buffer and sets focus there. I can then manually set c-mode with no problem using M-x c-mode But how to do it from my function which is bound to a function key?