unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Tak Ota <Takaaki.Ota@am.sony.com>
Subject: Appt Msg Window problem
Date: Mon, 10 May 2004 14:07:16 -0700 (PDT)	[thread overview]
Message-ID: <20040510.140716.178518383.Takaaki.Ota@am.sony.com> (raw)

It seems appointment message window doesn't display correctly.  Try
evaluating (appt-disp-window "5" "3" "Test") and see the window
splits overly.  Following patch fixes this problem.

BTW, `split-window' doc string does not explain about its return
value.

-Tak

*** ../../../../pub/emacs/pure/emacs-21.3.50/lisp/calendar/appt.el	Wed Mar 24 10:36:20 2004
--- appt.el	Mon May 10 13:51:21 2004
***************
*** 449,456 ****
  		  (same-window-p (buffer-name appt-disp-buf)))
  	;; By default, split the bottom window and use the lower part.
  	(appt-select-lowest-window)
! 	(split-window))
!       (pop-to-buffer appt-disp-buf))
      (setq mode-line-format
  	  (concat "-------------------- Appointment in "
  		  min-to-app " minutes. " new-time " %-"))
--- 449,456 ----
  		  (same-window-p (buffer-name appt-disp-buf)))
  	;; By default, split the bottom window and use the lower part.
  	(appt-select-lowest-window)
! 	(select-window (split-window)))
!       (switch-to-buffer appt-disp-buf))
      (setq mode-line-format
  	  (concat "-------------------- Appointment in "
  		  min-to-app " minutes. " new-time " %-"))

             reply	other threads:[~2004-05-10 21:07 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-05-10 21:07 Tak Ota [this message]
2004-05-12  0:35 ` Appt Msg Window problem Glenn Morris
2004-05-12  1:12   ` Tak Ota
2004-05-13  0:36     ` Glenn Morris

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

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20040510.140716.178518383.Takaaki.Ota@am.sony.com \
    --to=takaaki.ota@am.sony.com \
    /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 public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

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).