[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Gnus and RefTeX
From: |
Oliver Heins |
Subject: |
Re: Gnus and RefTeX |
Date: |
Wed, 13 Sep 2006 00:04:13 +0200 |
User-agent: |
Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (gnu/linux) |
Reiner Steib <reinersteib+gmane@imap.cc> writes:
> On Tue, Sep 12 2006, Oliver Heins wrote:
>
>> (setq reftex-default-bibliography
>> '("/path/to/your/default/bibliography"))
>
> [ See (info "(reftex)Citations Outside LaTeX"). ]
>
>> (add-hook 'message-mode-hook (lambda ()
>> (define-key message-mode-map (kbd "C-c [")
>> (lambda () (interactive)
>> (require 'reftex)
>
> This line isn't required. I've fixed it in Emacs CVS.
Does »This line« mean the line before? The »(require 'reftex)«?
>> (let ((reftex-cite-format 'locally))
>> (reftex-citation))))))
The modifications seem to be more or less minimal and obvious. Only
change »mail-mode« to »message-mode« in two places... but: I didn't find
any hint to the message-mode-map neither in Gnus manual nor in the
message manual. So at least it was trial-and-error to get there. So it
would be nice if you could add a hint to the specific keymap and the
possibility on how to bind keys in message mode in the Gnus and/or
message manual.
Regards,
olli
--
GnuPG-Key: http://www.sopos.org/pgp/olli.asc
GnuPG-Fingerprint: F27A BA8C 1CFB B905 65A8 2544 0F07 B675 9A00 D827
NP: Nothing
pgplptJB9CiQA.pgp
Description: PGP signature