Hi there,
According to section `39.5 Writing Calendar Files' of the emacs info file:
If the variable `cal-tex-diary' is non-`nil' (the default is
`nil'), diary entries are included also (in weekly and monthly
calendars only).
However, the effect is observed only for monthly calendars, not weekly
ones as documented.
Steps to reproduce:
1) Launch emacs-snapshot-gtk with a .emacs that reads, in its
entirety:
(setq cal-tex-diary t)
2) Invoke calendar by the command string `M-x calendar'
3) Ensure that the calendar buffer cursor is on a date in a week with
diary entries.
4) Run the command string `M-x cal-tex-cursor-week'
5) Observe that the generated LaTeX code does not contain
representations of the diary entries, whereas by the documentation,
it ought to do so.
6) Run the command string `M-x cal-tex-cursor-month'
7) Observe that the generated LaTeX code does include representations
of the diary entries, as documented.
My dribble file for steps 2--5 reads:
0x878calentabreturnhelp-echo
0x878help-echocal-tex-curtabwetabreturnhelp-echomouse-1
I installed emacs on my ubuntu 7.04 installation by installing the
package emacs-snapshot-gtk via synaptic package manager, and have done
nothing to modify my installation.
I also have emacs 21.4.1 installed, and the observed behaviour is the
same for 21.4.1, too.
I am in my first day of using emacs, so it isn't impossible that I've
misunderstood something. I did, however, check on the freenode #emacs
channel before reporting, and was there advised to file a bug report.
Please note that some of the auto-generated information below doesn't
match the steps above. When I used Help/Send Bug Report, emacs
reported that my bug was sent, but as I've not configured emacs to
work with an MTA, it did not make it. So, I've regenerated the data
below so as to send this report in my email client. (I've since added
things to my .emacs which accounts for more things loaded in the data
below than step (1) above would have it.)
Should you need any further information, please feel free to contact
me at broek at cc dot umanitoba dot ca.
Thanks and best,
Brian vdB
In GNU Emacs 22.0.91.1 (i486-pc-linux-gnu, GTK+ Version 2.10.6)
of 2006-12-20 on rothera, modified by Debian
(Debian emacs-snapshot package, version 1:20061218-1)
X server distributor `The X.Org Foundation', version 11.0.7020
configured using `configure '--build' 'i486-linux-gnu' '--host'
'i486-linux-gnu' '--prefix=/usr' '--sharedstatedir=/var/lib'
'--libexecdir=/usr/lib' '--localstatedir=/var'
'--infodir=/usr/share/info' '--mandir=/usr/share/man' '--with-pop=yes'
'--enable-locallisppath=/etc/emacs-snapshot:/etc/emacs:/usr/local/share/emacs/22.0.91/site-lisp:/usr/local/share/emacs/site-lisp:/usr/share/emacs/22.0.91/site-lisp:/usr/share/emacs/site-lisp:/usr/share/emacs/22.0.91/leim'
'--with-x=yes' '--with-x-toolkit=gtk' 'CFLAGS=-DDEBIAN
-DSITELOAD_PURESIZE_EXTRA=5000 -g -O2' 'build_alias=i486-linux-gnu'
'host_alias=i486-linux-gnu''
Important settings:
value of $LC_ALL: nil
value of $LC_COLLATE: nil
value of $LC_CTYPE: nil
value of $LC_MESSAGES: nil
value of $LC_MONETARY: nil
value of $LC_NUMERIC: nil
value of $LC_TIME: nil
value of $LANG: en_US.UTF-8
locale-coding-system: utf-8
default-enable-multibyte-characters: t
Major mode: Lisp Interaction
Minor modes in effect:
display-battery-mode: t
tooltip-mode: t
tool-bar-mode: t
mouse-wheel-mode: t
menu-bar-mode: t
file-name-shadow-mode: t
global-font-lock-mode: t
font-lock-mode: t
blink-cursor-mode: t
unify-8859-on-encoding-mode: t
utf-translate-cjk-mode: t
auto-compression-mode: t
column-number-mode: on
line-number-mode: on
Recent input:
help-echo switch-frame switch-frame help-echo
help-echo help-echo help-echo help-echo help-echo
help-echo help-echo menu-bar help-menu re
port-emacs-bug
Recent messages:
Loading /etc/emacs/site-start.d/51planner-el.el (source)...
Loading
/usr/share/emacs-snapshot/site-lisp/planner-el/planner-autoloads.el
(source)...done
Loading /etc/emacs/site-start.d/51planner-el.el (source)...done
Loading battery...done
Loading speedbar...done
Loading recent
Loading recent...done
Loading emacsbug...
Loading regexp-opt...done
Loading emacsbug...done
___
emacs-pretest-bug mailing list
emacs-pretest-bug@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-pretest-bug