From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/73634 Path: news.gmane.org!not-for-mail From: Ted Zlatanov Newsgroups: gmane.emacs.gnus.general Subject: special settings for Gnus vs. regular Emacs (was: tarball for 5.13?) Date: Wed, 27 Oct 2010 10:33:23 -0500 Organization: =?utf-8?B?0KLQtdC+0LTQvtGAINCX0LvQsNGC0LDQvdC+0LI=?= @ Cienfuegos Message-ID: <87bp6fzm4c.fsf_-_@lifelogs.com> References: <87d3r3gzu2.fsf@wolfram.com> <874ocez2fr.fsf@wolfram.com> <87r5fe3yx4.fsf@lifelogs.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: dough.gmane.org 1288193648 30809 80.91.229.12 (27 Oct 2010 15:34:08 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Wed, 27 Oct 2010 15:34:08 +0000 (UTC) To: ding@gnus.org Original-X-From: ding-owner+M22003@lists.math.uh.edu Wed Oct 27 17:34:07 2010 Return-path: Envelope-to: ding-account@gmane.org Original-Received: from util0.math.uh.edu ([129.7.128.18]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1PB80q-0005zk-5l for ding-account@gmane.org; Wed, 27 Oct 2010 17:34:04 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.math.uh.edu) by util0.math.uh.edu with smtp (Exim 4.63) (envelope-from ) id 1PB80T-0003Xb-7T; Wed, 27 Oct 2010 10:33:41 -0500 Original-Received: from mx1.math.uh.edu ([129.7.128.32]) by util0.math.uh.edu with esmtps (TLSv1:AES256-SHA:256) (Exim 4.63) (envelope-from ) id 1PB80R-0003XK-6U for ding@lists.math.uh.edu; Wed, 27 Oct 2010 10:33:39 -0500 Original-Received: from quimby.gnus.org ([80.91.231.51]) by mx1.math.uh.edu with esmtp (Exim 4.72) (envelope-from ) id 1PB80M-0004nx-Lk for ding@lists.math.uh.edu; Wed, 27 Oct 2010 10:33:39 -0500 Original-Received: from lo.gmane.org ([80.91.229.12]) by quimby.gnus.org with esmtp (Exim 3.36 #1 (Debian)) id 1PB80K-0003uF-00 for ; Wed, 27 Oct 2010 17:33:32 +0200 Original-Received: from list by lo.gmane.org with local (Exim 4.69) (envelope-from ) id 1PB80K-0005le-CD for ding@gnus.org; Wed, 27 Oct 2010 17:33:32 +0200 Original-Received: from 38.98.147.130 ([38.98.147.130]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 27 Oct 2010 17:33:32 +0200 Original-Received: from tzz by 38.98.147.130 with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 27 Oct 2010 17:33:32 +0200 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 17 Original-X-Complaints-To: usenet@dough.gmane.org X-Gmane-NNTP-Posting-Host: 38.98.147.130 X-Face: bd.DQ~'29fIs`T_%O%C\g%6jW)yi[zuz6;d4V0`@y-~$#3P_Ng{@m+e4o<4P'#(_GJQ%TT= D}[Ep*b!\e,fBZ'j_+#"Ps?s2!4H2-Y"sx" User-Agent: Gnus/5.110011 (No Gnus v0.11) Emacs/24.0.50 (gnu/linux) Cancel-Lock: sha1:ZQWQKWBZmgmN/ZJpA+ou5UF6/0c= X-Spam-Score: -0.7 (/) List-ID: Precedence: bulk Xref: news.gmane.org gmane.emacs.gnus.general:73634 Archived-At: On Mon, 25 Oct 2010 13:33:27 -0500 Ted Zlatanov wrote: TZ> Which reminds me: I want to set up a separate recentf save file for Gnus TZ> vs. regular Emacs, along with some other variables. Is there a way to TZ> do that on startup if Emacs is started with "-f gnus ..." without TZ> resorting to environment variables? Assuming Emacs is started with "-f gnus" and you don't expect "gnus" to show up on the command line otherwise: (setq tzz-gnus-running-p (member "gnus" command-line-args) tzz-general-suffix (if tzz-gnus-running-p "gnus" "emacs")) (setq session-save-file (format "~/.session.%s" tzz-general-suffix) recentf-save-file (format "~/.recentf.%s" tzz-general-suffix)) Ted