]> code.delx.au - gnu-emacs/blobdiff - lisp/xt-mouse.el
(calendar-print-french-date): Label French date in echo area.
[gnu-emacs] / lisp / xt-mouse.el
index 7711cbd4be97d5c997080c85f6492baad11cdd7d..1564034cc7fe68fb8a0e64964ffd91171ffed07c 100644 (file)
@@ -24,7 +24,7 @@
 
 ;;; Comments:
 
-;; Enable mouse support when running inside an xterm
+;; Enable mouse support when running inside an xterm or Linux console.
 
 ;; This is actually useful when you are running X11 locally, but is
 ;; working on remote machine over a modem line or through a gateway.
 ;; It works by translating xterm escape codes into generic emacs mouse
 ;; events so it should work with any package that uses the mouse.
 
+;; The xterm mouse escape codes are supposedly also supported by the
+;; Linux console, but I have not been able to verify this.
+
+;; You don't have to turn off xterm mode to use the normal xterm mouse
+;; functionality, it is still available by holding down the SHIFT key
+;; when you press the mouse button.
+
 ;;; Todo:
 
 ;; Support multi-click -- somehow.
                    (goto-char (window-start window))
                    (move-to-window-line  (cdr where))
                    (move-to-column (+ (car where) (current-column)
+                                      (if (string-match "\\` \\*Minibuf"
+                                                        (buffer-name))
+                                          (- (minibuffer-prompt-width))
+                                        0)
                                       (max 0 (1- (window-hscroll)))))
                    (point))
                where))