From: David Hansen <david.hansen@gmx.net>
To: help-gnu-emacs@gnu.org
Subject: Re: man pages in c-mode
Date: Thu, 31 May 2007 00:47:44 +0200 [thread overview]
Message-ID: <87veea3p4f.fsf@localhorst.mine.nu> (raw)
In-Reply-To: 87y7j63tzl.fsf@gmail.com
On Wed, 30 May 2007 23:02:38 +0200 Hadron wrote:
> 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)
> )
(let ((Man-mode-hook (push #'c-mode Man-mode-hook)))
(manual-entry "fprintf"))
may work but i doubt it's a good idea. Note that at least on my system
every man page starts with "Linux Programmer's Manual" and font-lock
isn't happy about the `''.
David
prev parent reply other threads:[~2007-05-30 22:47 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-05-30 21:02 man pages in c-mode Hadron
2007-05-30 22:47 ` David Hansen [this message]
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=87veea3p4f.fsf@localhorst.mine.nu \
--to=david.hansen@gmx.net \
--cc=help-gnu-emacs@gnu.org \
/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.