aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--lisp/ChangeLog6
-rw-r--r--lisp/international/quail.el13
2 files changed, 15 insertions, 4 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog
index 7220ac1b08b..8adb55338ed 100644
--- a/lisp/ChangeLog
+++ b/lisp/ChangeLog
@@ -1,3 +1,9 @@
12009-02-12 Stefan Monnier <monnier@iro.umontreal.ca>
2
3 * international/quail.el (quail-make-guidance-frame): Remove the
4 `parent-id' parameter.
5 (quail-show-guidance): Make the new window dedicated.
6
12009-02-12 Juanma Barranquero <lekktu@gmail.com> 72009-02-12 Juanma Barranquero <lekktu@gmail.com>
2 8
3 * international/characters.el (?1, ?2, ?3, ?4, ?7, ?^): 9 * international/characters.el (?1, ?2, ?3, ?4, ?7, ?^):
diff --git a/lisp/international/quail.el b/lisp/international/quail.el
index 494c3301ed0..67c3cfb4815 100644
--- a/lisp/international/quail.el
+++ b/lisp/international/quail.el
@@ -1927,6 +1927,10 @@ Remaining args are for FUNC."
1927 (frame-char-height) (* internal-border 2) (* border 2)))) 1927 (frame-char-height) (* internal-border 2) (* border 2))))
1928 (if (< newtop 0) 1928 (if (< newtop 0)
1929 (setq newtop (+ top (frame-pixel-height) internal-border border))) 1929 (setq newtop (+ top (frame-pixel-height) internal-border border)))
1930 ;; If I leave the `parent-id' parameter, my frame ends up with 13 lines
1931 ;; rather than just 1. Not sure what is really going on, but
1932 ;; clearly this parameter is not needed. --Stef
1933 (setq fparam (delq (assoc 'parent-id fparam) fparam))
1930 (make-frame (append '((user-position . t) (height . 1) 1934 (make-frame (append '((user-position . t) (height . 1)
1931 (minibuffer) 1935 (minibuffer)
1932 (menu-bar-lines . 0) (tool-bar-lines . 0)) 1936 (menu-bar-lines . 0) (tool-bar-lines . 0))
@@ -1990,7 +1994,7 @@ minibuffer and the selected frame has no other windows)."
1990 ;; window system. 1994 ;; window system.
1991 (let ((guidance quail-guidance-str)) 1995 (let ((guidance quail-guidance-str))
1992 (or (frame-live-p quail-guidance-frame) 1996 (or (frame-live-p quail-guidance-frame)
1993 (setq quail-guidance-frame 1997 (setq quail-guidance-frame
1994 (quail-make-guidance-frame))) 1998 (quail-make-guidance-frame)))
1995 (or (buffer-live-p quail-guidance-buf) 1999 (or (buffer-live-p quail-guidance-buf)
1996 (setq quail-guidance-buf 2000 (setq quail-guidance-buf
@@ -1999,14 +2003,15 @@ minibuffer and the selected frame has no other windows)."
1999 (erase-buffer) 2003 (erase-buffer)
2000 (setq cursor-type nil) 2004 (setq cursor-type nil)
2001 (insert guidance)) 2005 (insert guidance))
2002 (set-window-buffer (frame-root-window quail-guidance-frame) 2006 (let ((win (frame-root-window quail-guidance-frame)))
2003 quail-guidance-buf) 2007 (set-window-buffer win quail-guidance-buf)
2008 (set-window-dedicated-p win t))
2004 (quail-minibuffer-message 2009 (quail-minibuffer-message
2005 (format " [%s]" current-input-method-title))) 2010 (format " [%s]" current-input-method-title)))
2006 ;; Show the guidance in the next line of the currrent 2011 ;; Show the guidance in the next line of the currrent
2007 ;; minibuffer. 2012 ;; minibuffer.
2008 (quail-minibuffer-message 2013 (quail-minibuffer-message
2009 (format " [%s]\n%s" 2014 (format " [%s]\n%s"
2010 current-input-method-title quail-guidance-str))) 2015 current-input-method-title quail-guidance-str)))
2011 ;; Show the guidance in echo area without logging. 2016 ;; Show the guidance in echo area without logging.
2012 (let ((message-log-max nil)) 2017 (let ((message-log-max nil))