[9210] in Athena Bugs

home help back first fref pref prev next nref lref last post

[daemon@ATHENA.MIT.EDU : edsc goto-meeting]

daemon@ATHENA.MIT.EDU (Calvin Clark)
Thu Apr 16 02:54:44 1992

Date: Thu, 16 Apr 92 02:53:51 -0400
From: Calvin Clark <ckclark@mit.edu>
To: bugs@Athena.MIT.EDU
Cc: jfc@Athena.MIT.EDU, bug-discuss@Athena.MIT.EDU
Reply-To: ckclark@mit.edu

> If I add a meeting and try to go to it by typing 'g' then its name,
> emacs discuss does not accept the name.  I suspect it caches the list
> of meetings when the list appears and does not update it when a new
> meeting is added.

Actually, it does, but it only caches long name, and not the short name.
This should fix that problem:

(Patch will apply both to Athena sources and to sources in the discuss
locker.)

-Calvin

*** /mit/discuss/source/edsc/discuss-misc.el	Thu Aug  8 16:06:12 1991
--- discuss-misc.el	Thu Apr 16 02:34:28 1992
***************
*** 89,96 ****
         (backward-delete-char 1)))
    ;; A hack so added meetings show up on the completion list.
    (setq discuss-meeting-completion-list
! 	(cons (cons (cadr discuss-form) 0)
! 	      discuss-meeting-completion-list))
    (message "%s meeting added." (cadr discuss-form)))
  
  (defun discuss-del-mtg (&optional meeting)
--- 89,97 ----
         (backward-delete-char 1)))
    ;; A hack so added meetings show up on the completion list.
    (setq discuss-meeting-completion-list
! 	(append (list (cons (cadr discuss-form) 0)
! 		      (cons (caddr discuss-form) 0))
! 		discuss-meeting-completion-list))
    (message "%s meeting added." (cadr discuss-form)))
  
  (defun discuss-del-mtg (&optional meeting)


home help back first fref pref prev next nref lref last post