From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Tim Johnson Newsgroups: gmane.emacs.help Subject: Saving window config using desktop globals Date: Sun, 13 Dec 2015 10:30:50 -0900 Organization: AkWebsoft Message-ID: <20151213193050.GA3346@mail.akwebsoft.com> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1450035087 16699 80.91.229.3 (13 Dec 2015 19:31:27 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 13 Dec 2015 19:31:27 +0000 (UTC) To: Emacs Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Sun Dec 13 20:31:15 2015 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 1a8CMU-0003M4-Nz for geh-help-gnu-emacs@m.gmane.org; Sun, 13 Dec 2015 20:31:14 +0100 Original-Received: from localhost ([::1]:56366 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1a8CMU-0002Bc-51 for geh-help-gnu-emacs@m.gmane.org; Sun, 13 Dec 2015 14:31:14 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:35597) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1a8CME-00028j-Dg for Help-gnu-emacs@gnu.org; Sun, 13 Dec 2015 14:30:59 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1a8CMB-0004Ku-6E for Help-gnu-emacs@gnu.org; Sun, 13 Dec 2015 14:30:58 -0500 Original-Received: from tjohnson.mtaonline.net ([64.4.232.191]:38375) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1a8CMA-0004Kd-Ut for Help-gnu-emacs@gnu.org; Sun, 13 Dec 2015 14:30:55 -0500 Original-Received: by linus.johnson.com (Postfix, from userid 1000) id 8F4622007AD; Sun, 13 Dec 2015 10:30:50 -0900 (AKST) Mail-Followup-To: Emacs Content-Disposition: inline User-Agent: Mutt/1.5.21 (2010-09-15) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 64.4.232.191 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:108387 Archived-At: Using GNU emacs 24.3 on ubuntu 14.04. I use the following method (add-to-list 'desktop-globals-to-save 'current-project-directory) (add-to-list 'desktop-globals-to-save 'kill-ring) to save certain variables. How may I extend this method to save and retrieve my window configuration? at this point, I'm not using more than the default frame. I'd like to do this without installing another package. I'm thinking about using a dedicated register to save one or more configs. I've tried using C-x r w to save it. But when I restart emacs and try C-x r j, I get the following: jump-to-register: Register doesn't contain a buffer position or configuration TIA -- Tim http://www.akwebsoft.com, http://www.tj49.com