all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Drew Adams <drew.adams@oracle.com>
To: Thien-Thi Nguyen <ttn@gnu.org>, Bastien <bzg@altern.org>
Cc: help-gnu-emacs@gnu.org
Subject: RE: Emacs as a distraction free environment
Date: Thu, 23 Jan 2014 09:14:21 -0800 (PST)	[thread overview]
Message-ID: <48a5690c-f559-4d44-a11d-cbed72d88754@default> (raw)
In-Reply-To: <87vbxbdqoa.fsf@zigzag.favinet>

> You can use ‘rotatef’ to swap the values of two variables.
> 
>  (rotatef mode-line-format stashed-mode-line-format))

Or as we say in Lisp...

(setq A  (prog1 B (setq B  A))) ; Swap A and B



  parent reply	other threads:[~2014-01-23 17:14 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-01-23  7:22 Emacs as a distraction free environment Bastien
2014-01-23  8:54 ` Thien-Thi Nguyen
2014-01-23  9:08   ` Bastien
2014-01-23  9:36     ` Glyn Millington
2014-01-23 11:59       ` Bastien
2014-01-23 17:14   ` Drew Adams [this message]
2014-01-23 10:00 ` Rasmus
     [not found] ` <mailman.12615.1390471200.10748.help-gnu-emacs@gnu.org>
2014-01-24 12:15   ` Joost Kremers
2014-01-24 12:31     ` Bastien
     [not found] <mailman.12607.1390461766.10748.help-gnu-emacs@gnu.org>
2014-01-23 13:13 ` henry atting
2014-01-23 21:38 ` Emanuel Berg
2014-01-24  6:29   ` Bastien

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=48a5690c-f559-4d44-a11d-cbed72d88754@default \
    --to=drew.adams@oracle.com \
    --cc=bzg@altern.org \
    --cc=help-gnu-emacs@gnu.org \
    --cc=ttn@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.