[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: have emcacs call gnus automatically
From: |
Tory S. Anderson |
Subject: |
Re: have emcacs call gnus automatically |
Date: |
Fri, 09 Jan 2015 07:17:42 -0500 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/24.3 (gnu/linux) |
For what it's worth, I have gnus bound to the f9 key as so:
(defun quick-gnus (&optional new-frame)
(interactive "P")
(if new-frame (gnus-other-frame)
(gnus))
(display-time-update))
(global-set-key (kbd "<f9>") 'quick-gnus) ;; Check mail
If I wanted it to start when I start emacs, I'd just have (gnus) in my .emacs
file, probably before my switch-to-buffer commands. Does that help?
Haines Brown <haines@histomat.net> writes:
> I want to start an emacs session that calls gnus automatically. I'm not
> sure it can be done. I run emacs24 with embedded gnus under Debian
> Wheezy.
>
> In my window manager, I have bound the Ctl-Alt-g keys to an executable
> script that calls an emacs session that has a simple init file. In this
> session I can do M-x gnus to read news. What I want to do is to have
> that session instead have code that runs gnus immediately without my
> having to call it with the M-x gnus command. That is, I want the keys
> Ctl-Alt-g to start a gnus session.
>
> Haines Brown
>