From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Emanuel Berg Newsgroups: gmane.emacs.help Subject: have new Gnus message not always fullscreened (was: [gnu.emacs.help] Re: Feeling lost without tabs) Date: Mon, 21 Jul 2014 23:40:46 +0200 Organization: Aioe.org NNTP Server Message-ID: <87silucrvl.fsf_-___17655.6815895767$1405979151$gmane$org@debian.uxu> References: <834myc64eh.fsf@gnu.org> <877g37ubbi.fsf@debian.uxu> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1405979151 3494 80.91.229.3 (21 Jul 2014 21:45:51 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 21 Jul 2014 21:45:51 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Mon Jul 21 23:45:44 2014 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1X9LOy-0002TK-Hc for geh-help-gnu-emacs@m.gmane.org; Mon, 21 Jul 2014 23:45:44 +0200 Original-Received: from localhost ([::1]:36474 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1X9LOy-0000WR-7A for geh-help-gnu-emacs@m.gmane.org; Mon, 21 Jul 2014 17:45:44 -0400 Original-Path: usenet.stanford.edu!news.tele.dk!news.tele.dk!small.news.tele.dk!newsfeed.xs4all.nl!newsfeed1a.news.xs4all.nl!xs4all!news.stack.nl!aioe.org!.POSTED!not-for-mail Original-Newsgroups: gnu.emacs.help,gnu.emacs.gnus Original-Followup-To: gnu.emacs.gnus Original-Lines: 58 Original-NNTP-Posting-Host: SIvZRMPqRkkTHAHL6NkRuw.user.speranza.aioe.org Original-X-Complaints-To: abuse@aioe.org User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3 (gnu/linux) X-Notice: Filtered by postfilter v. 0.8.2 Cancel-Lock: sha1:MxB7h8oh3H3EnXPDADZ5t1ylsZE= Mail-Copies-To: never Original-Xref: usenet.stanford.edu gnu.emacs.help:206602 gnu.emacs.gnus:88094 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:98874 Archived-At: Bob Proulx writes: > I hadn't been aware of buffer-menu. Playing with it > now shows that it works very similarly to > electric-buffer-list. I think anyone using either > buffer-menu or electric-buffer-list are in the same > group and want the same thing and could use either of > those almost interchangeably. I assume > electric-buffer-list came first and buffer-menu > duplicated the behavior since I have been using > electric-buffer-list for a very many years and had > not ever heard of buffer-menu before? That is my > assumption until I learn otherwise. Well, I don't know (what was first). Yeah, it is interesting, I didn't know of either electric or buffer-list. I knew of the command `C-x C-b' but I thought that was a buffer-menu command, as another of the do-something and then do-something-other-window (or perhaps do-something-split-window). So it was interesting to learn there were so many ways to do (superficially at least) the same thing. I didn't manage to follow the description of keys, but that much I understood that you don't like changes to the window configuration. Here I agree 100%... I have managed to rid my Emacs of some of those cases which are, as you say, disruptive, but one in particular remains... To create a new message from anywhere in Emacs, I have `C-o m' bound to a function that looks for the Gnus group buffer - the assumption is that it exists if and only if Gnus runs... (Otherwise it starts Gnus and tries again.) If Gnus runs, it uses (gnus-post-news 'post "") to open an empty buffer, with the headers and so on as configured, in message-mode. However, it doesn't respect what is currently displayed - it is always fullscreened. Anyone knows how to not make that happen? The entire defun: (defun new-message () (interactive) (if (get-buffer "*Group*") (gnus-post-news 'post "") (progn (gnus) (new-message) ))) -- underground experts united