GNU bug report logs -
#3419
23.0.94; calc, calendar and temp-buffer-resize-mode
Previous Next
Reported by: Leo <sdl.web <at> gmail.com>
Date: Fri, 29 May 2009 19:10:04 UTC
Severity: normal
Done: martin rudalics <rudalics <at> gmx.at>
Bug is archived. No further changes may be made.
Full log
View this message in rfc822 format
Leo <sdl.web <at> gmail.com> writes:
> I have started looking for a workaround to save me doing (setq
> calc-window-height 7) all the time. I am thinking of using
> calc-end-hook, however it is located right in the middle of calc-quit.
> So I cannot use the following:
>
> (add-hook 'calc-end-hook
> (lambda ()
> (setq calc-window-height 7)))
>
> But it seems to me that moving the hook to the very end of calc-quit is
> better than putting it in the middle. Do you recall any reason why this
> is not the case? Thank you.
It is mentioned in the documentation that the hook is called early, so I
guess it was done on purpose. I don't know why, though.
A workaround for now might be to define `my-calc' or `my-calc-dispatch'
with
(defun my-calc ()
(interactive)
(setq calc-window-heigth)
(calc....))
This bug report was last modified 12 years and 229 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.