From: Emanuel Berg <moasen@zoho.com>
To: help-gnu-emacs@gnu.org
Subject: Re: [Gnus] Summary buffer: simplicity itself
Date: Fri, 12 May 2017 12:26:22 +0200 [thread overview]
Message-ID: <yw.8660h6nzg1.fsf@zoho.com> (raw)
In-Reply-To: 87y3u266pq.fsf@002215fd0050.amnet.co.cr
ernobe wrote:
> For those who would like to try out the Gnus
> newsreader (http://www.gnus.org) here is part
> of my configuration file [ ... cut several
> pages of configs ]
I wonder if this really is a good speech to
groom people into Gnus...? :)
> On Linux it looks great in the console
You got a screenshot? Here is my Gnus
Group buffer [1] and more Gnus dumps and
source [2].
Here is some Elisp to take console dumps from
Emacs:
(defun dump (file)
(interactive "s Description: ")
(message nil)
(shell-command (format "sudo fbgrab ~/%s.png" file)))
(The third line is the most important.)
fbgrab(1) is probably in your repos, at least
if you use Debian or one of the derivatives...
> This will create separate buffers for the
> article and the summary. To navigate between
> them I use F1 and F2.
F1 and F2 work in the console according to
showkey(1) but they are nonresponsive in
a console Emacs without rewiring. Perhaps your
are in a terminal emulator in X with
'enacs --nw'? Actually it is much the same.
Anyhow the function kyes are not good.
Especially for routine tasks. Too far from
typing position which is asdf (left) and jkl;
(right). Minimal reach, no reset.
OK, so then, in X you can use gnome-screenshot
and many other tools. (You don't need Gnome to
use it.)
> (global-set-key (kbd "<f1>")
> 'switch-to-prev-buffer)
You can write that as:
(global-set-key [f1] #'switch-to-prev-buffer)
> (defun my-kill-emacs () "save some buffers,
> then exit unconditionally" (interactive)
> (save-some-buffers nil t) (kill-emacs))
I have something like that as well [3]:
(defun mute-kill-warnings ()
(dolist (p (process-list))
(set-process-query-on-exit-flag p nil) ))
(defun kill-everything ()
(gnus-kill-if-runs)
(mute-kill-warnings) )
(defun emacs-quit-no-confirm ()
(interactive)
(kill-everything)
(save-buffers-kill-terminal t) ) ; silently save ... kill
(defalias 'quit 'emacs-quit-no-confirm)
(defalias 'quit-emacs 'emacs-quit-no-confirm)
(defalias 'emacs-quit 'emacs-quit-no-confirm)
(define-key (current-global-map)
[remap save-buffers-kill-terminal] #'emacs-quit-no-confirm)
[1] http://user.it.uu.se/~embe8573/figures/gnus/gnus-group.png
[2] http://user.it.uu.se/~embe8573/gnus/index.html
[3] http://user.it.uu.se/~embe8573/conf/emacs-init/quit.el
--
underground experts united
http://user.it.uu.se/~embe8573
next prev parent reply other threads:[~2017-05-12 10:26 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-05-12 4:26 [Gnus] Summary buffer: simplicity itself ernobe
2017-05-12 10:26 ` Emanuel Berg [this message]
2017-05-15 15:53 ` ernobe
2017-05-22 1:37 ` ernobe
2017-06-06 18:02 ` ernobe
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=yw.8660h6nzg1.fsf@zoho.com \
--to=moasen@zoho.com \
--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.