Re: [O] bug#11249: 24.1.50; Overlay with face property causes calendar buffer to scroll

2012-04-26 Thread Bastien
Hi Matt, Matt Lundin m...@imapmail.org writes: Note: It seems that adding the optional argument KEEPDATE is necessary for parsing to work. With the following line instead of the one above org-read-date works as expected: (org-eval-in-calendar '(setq cursor-type nil) t) that's right

Re: [O] bug#11249: 24.1.50; Overlay with face property causes calendar buffer to scroll

2012-04-26 Thread Toby Cubitt
On Thu, Apr 26, 2012 at 10:59:50AM +0200, Bastien wrote: Hi Matt, Matt Lundin m...@imapmail.org writes: Note: It seems that adding the optional argument KEEPDATE is necessary for parsing to work. With the following line instead of the one above org-read-date works as expected:

Re: [O] bug#11249: 24.1.50; Overlay with face property causes calendar buffer to scroll

2012-04-26 Thread Bastien
Toby Cubitt ts...@cantab.net writes: On Thu, Apr 26, 2012 at 10:59:50AM +0200, Bastien wrote: Hi Matt, Matt Lundin m...@imapmail.org writes: Note: It seems that adding the optional argument KEEPDATE is necessary for parsing to work. With the following line instead of the one above

Re: [O] bug#11249: 24.1.50; Overlay with face property causes calendar buffer to scroll

2012-04-25 Thread Matt Lundin
Bastien b...@gnu.org writes: Toby Cubitt ts...@cantab.net writes: In the patch I posted, I also took the opportunity to set `cursor-type' to nil when opening the calendar in `org-read-date'. The cursor obscures one digit of the selected date, making that bit harder to read (as well as

Re: [O] bug#11249: 24.1.50; Overlay with face property causes calendar buffer to scroll

2012-04-25 Thread Matt Lundin
Matt Lundin m...@imapmail.org writes: Bastien b...@gnu.org writes: Toby Cubitt ts...@cantab.net writes: In the patch I posted, I also took the opportunity to set `cursor-type' to nil when opening the calendar in `org-read-date'. The cursor obscures one digit of the selected date, making

Re: [O] bug#11249: 24.1.50; Overlay with face property causes calendar buffer to scroll

2012-04-22 Thread Bastien
Toby Cubitt ts...@cantab.net writes: Thanks for the fix. I notice that the new face's dosctring still says Face for deadlines and TODO keywords, which needs changing. Fixed, thanks. Was there some reason to reject Eli's suggested fix of enlarging the calendar window by 1 line? As it stands,

Re: [O] bug#11249: 24.1.50; Overlay with face property causes calendar buffer to scroll

2012-04-22 Thread Toby Cubitt
On Sun, Apr 22, 2012 at 08:46:03AM +0200, Bastien wrote: Toby Cubitt ts...@cantab.net writes: Was there some reason to reject Eli's suggested fix of enlarging the calendar window by 1 line? As it stands, if anyone customizes the new org-date-selected face to be bold (the highlighted date

Re: [O] bug#11249: 24.1.50; Overlay with face property causes calendar buffer to scroll

2012-04-21 Thread Toby Cubitt
On Fri, Apr 20, 2012 at 01:57:55PM +0200, Bastien wrote: Toby Cubitt ts...@cantab.net writes: On Mon, Apr 16, 2012 at 05:50:50AM +0300, Eli Zaretskii wrote: Date: Sun, 15 Apr 2012 23:04:16 +0200 Cc: 11...@debbugs.gnu.org, emacs-orgmode@gnu.org From: Toby Cubitt

Re: [O] bug#11249: 24.1.50; Overlay with face property causes calendar buffer to scroll

2012-04-20 Thread Bastien
Toby Cubitt ts...@cantab.net writes: On Mon, Apr 16, 2012 at 05:50:50AM +0300, Eli Zaretskii wrote: Date: Sun, 15 Apr 2012 23:04:16 +0200 Cc: 11...@debbugs.gnu.org, emacs-orgmode@gnu.org From: Toby Cubitt toby-dated-1335733484.f89...@dr-qubit.org The obvious solution is for org-mode

Re: [O] bug#11249: 24.1.50; Overlay with face property causes calendar buffer to scroll

2012-04-16 Thread Toby Cubitt
On Mon, Apr 16, 2012 at 05:50:50AM +0300, Eli Zaretskii wrote: Date: Sun, 15 Apr 2012 23:04:16 +0200 Cc: 11...@debbugs.gnu.org, emacs-orgmode@gnu.org From: Toby Cubitt toby-dated-1335733484.f89...@dr-qubit.org The obvious solution is for org-mode to use a face that doesn't enlarge the

Re: [O] bug#11249: 24.1.50; Overlay with face property causes calendar buffer to scroll

2012-04-15 Thread Toby Cubitt
On Sun, Apr 15, 2012 at 11:41:00PM +0300, Eli Zaretskii wrote: Date: Sun, 15 Apr 2012 21:24:39 +0200 From: Toby Cubitt ts...@cantab.net Steps to reproduce: 1. emacs -Q 2. M-x calendar 3. M-: (setq o (make-overlay 1 2)) 4. M-: (overlay-put o 'face 'font-lock-warning-face) 5.

Re: [O] bug#11249: 24.1.50; Overlay with face property causes calendar buffer to scroll

2012-04-15 Thread Eli Zaretskii
Date: Sun, 15 Apr 2012 23:04:16 +0200 Cc: 11...@debbugs.gnu.org, emacs-orgmode@gnu.org From: Toby Cubitt toby-dated-1335733484.f89...@dr-qubit.org The obvious solution is for org-mode to use a face that doesn't enlarge the characters. Another solution would be to enlarge the calendar