unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
* display-time-string-forms
@ 2007-10-09 23:11 Sean Sieger
  2007-10-10  6:53 ` display-time-string-forms Dieter Wilhelm
                   ` (2 more replies)
  0 siblings, 3 replies; 9+ messages in thread
From: Sean Sieger @ 2007-10-09 23:11 UTC (permalink / raw)
  To: help-gnu-emacs

With M-x apropos display-time, I found the variable and its
documentation, but I don't know elisp.  I was hoping there was some
information in the manual, but no.

Is there a little something I can put in my ~/.emacs to get the form:

yyyymmdd hh:mm

when I toggle fullscreen?  This is what I have there so far:

(defun switch-full-screen ()
  (interactive)
  (shell-command "wmctrl -r :ACTIVE: -btoggle,fullscreen"))
(global-set-key [f11] 'switch-full-screen).

By doing f11, I would now have in my mode line:

20071009 7:10PM

Oh, shoot, in a closely related subject, once I go to fullscreen and
evaluate, in my document, (setq left-margin-width 30) I then do C-x C-b
and f to get back to the document and its updated margin.  Is that nuts
and is there a `real' way to do it?

^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2007-10-11  0:25 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-10-09 23:11 display-time-string-forms Sean Sieger
2007-10-10  6:53 ` display-time-string-forms Dieter Wilhelm
2007-10-10  8:28 ` display-time-string-forms Peter Dyballa
     [not found] ` <mailman.1909.1191999022.18990.help-gnu-emacs@gnu.org>
2007-10-10 12:05   ` display-time-string-forms Warren Oates
2007-10-10 16:04     ` display-time-string-forms B. T. Raven
2007-10-10 18:56       ` display-time-string-forms Drew Adams
2007-10-10 19:50       ` display-time-string-forms Peter Dyballa
2007-10-11  0:25         ` display-time-string-forms Dieter Wilhelm
2007-10-10 18:00     ` display-time-string-forms Sean Sieger

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).