From: torys.anderson@gmail.com (Tory S. Anderson)
To: Haines Brown <haines@histomat.net>
Cc: help-gnu-emacs@gnu.org
Subject: Re: have emcacs call gnus automatically
Date: Fri, 09 Jan 2015 07:17:42 -0500 [thread overview]
Message-ID: <871tn4gnbt.fsf@gmail.com> (raw)
In-Reply-To: <8761cgtb6s.fsf@bach.histomat.net> (Haines Brown's message of "Fri, 09 Jan 2015 07:01:31 -0500")
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
>
next prev parent reply other threads:[~2015-01-09 12:17 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-01-09 12:01 have emcacs call gnus automatically Haines Brown
2015-01-09 12:17 ` Tory S. Anderson [this message]
2015-01-09 16:38 ` Damien Wyart
2015-01-11 12:13 ` Haines Brown
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=871tn4gnbt.fsf@gmail.com \
--to=torys.anderson@gmail.com \
--cc=haines@histomat.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.