all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* How to update current frame title?
@ 2004-10-22  8:04 Song Fang
  0 siblings, 0 replies; 3+ messages in thread
From: Song Fang @ 2004-10-22  8:04 UTC (permalink / raw)


[-- Attachment #1: Type: text/plain, Size: 365 bytes --]

Hi,

I want to display the date and time on the frame title, so I add a line
into the .emacs file:
    (setq frame-title-frame '("GNU Emacs "
                              (:eval (format-time-string "%Y-%m-%d %R"))))

But it only updates when the frame is redsplayed.
Can I update the title using something like `force-mode-line-update'?

Thanks

Song

[-- Attachment #2: Type: text/plain, Size: 152 bytes --]

_______________________________________________
Help-gnu-emacs mailing list
Help-gnu-emacs@gnu.org
http://lists.gnu.org/mailman/listinfo/help-gnu-emacs

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

* Re: How to update current frame title?
       [not found] <mailman.4590.1098432793.2017.help-gnu-emacs@gnu.org>
@ 2004-10-22  8:19 ` Alexandre Russel
  2004-10-22  9:07 ` Enila Nero
  1 sibling, 0 replies; 3+ messages in thread
From: Alexandre Russel @ 2004-10-22  8:19 UTC (permalink / raw)



> I want to display the date and time on the frame title, so I add a line
> into the .emacs file:
>     (setq frame-title-frame '("GNU Emacs "
>                               (:eval (format-time-string "%Y-%m-%d %R"))))
What about showhide-date-time.
Alex

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

* Re: How to update current frame title?
       [not found] <mailman.4590.1098432793.2017.help-gnu-emacs@gnu.org>
  2004-10-22  8:19 ` How to update current frame title? Alexandre Russel
@ 2004-10-22  9:07 ` Enila Nero
  1 sibling, 0 replies; 3+ messages in thread
From: Enila Nero @ 2004-10-22  9:07 UTC (permalink / raw)


"Song Fang" <songfang@datangmobile.cn> writes:

> Hi,
>
> I want to display the date and time on the frame title, so I add a line
> into the .emacs file:
>     (setq frame-title-frame '("GNU Emacs "
>                               (:eval (format-time-string "%Y-%m-%d %R"))))
>
> But it only updates when the frame is redsplayed.
> Can I update the title using something like `force-mode-line-update'?

Google for the lesser known package title-time.el .

>
> Thanks
>
> Song

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

end of thread, other threads:[~2004-10-22  9:07 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <mailman.4590.1098432793.2017.help-gnu-emacs@gnu.org>
2004-10-22  8:19 ` How to update current frame title? Alexandre Russel
2004-10-22  9:07 ` Enila Nero
2004-10-22  8:04 Song Fang

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.