aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorStefan Monnier2007-09-28 20:13:31 +0000
committerStefan Monnier2007-09-28 20:13:31 +0000
commit0e2806fa7e416ccf7abcee708d5919eb52379a5e (patch)
tree038aadc7c6bef0db763d0a1cba0a15af8059b362
parent4ce5ab773b96bcef00e412e08b84c8b374a949fe (diff)
downloademacs-0e2806fa7e416ccf7abcee708d5919eb52379a5e.tar.gz
emacs-0e2806fa7e416ccf7abcee708d5919eb52379a5e.zip
(gpm-mouse-mode): Rename from t-mouse-mode. Rewrite.
(t-mouse-mode): New compatibility alias.
-rw-r--r--doc/misc/ChangeLog9
-rw-r--r--lisp/ChangeLog35
-rw-r--r--lisp/t-mouse.el44
3 files changed, 47 insertions, 41 deletions
diff --git a/doc/misc/ChangeLog b/doc/misc/ChangeLog
index a703097fd43..74820aa539d 100644
--- a/doc/misc/ChangeLog
+++ b/doc/misc/ChangeLog
@@ -1,3 +1,12 @@
12007-09-26 Carsten Dominik <dominik@science.uva.nl>
2
3 * org.texi: Change links to webpage and maintained email.
4 (Remember): Promote to Chapter, significant changes.
5 (Fast access to TODO states): New section.
6 (Faces for TODO keywords): New section.
7 (Export options): Example for #+DATE.
8 (Progress logging): Section moved.
9
12007-09-26 Bill Wohler <wohler@newt.com> 102007-09-26 Bill Wohler <wohler@newt.com>
2 11
3 * mh-e.texi (HTML): Mention binding of S-mouse-2 to 12 * mh-e.texi (HTML): Mention binding of S-mouse-2 to
diff --git a/lisp/ChangeLog b/lisp/ChangeLog
index 0befa154ee1..9695526fbc1 100644
--- a/lisp/ChangeLog
+++ b/lisp/ChangeLog
@@ -1,3 +1,8 @@
12007-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
2
3 * t-mouse.el (gpm-mouse-mode): Rename from t-mouse-mode. Rewrite.
4 (t-mouse-mode): New compatibility alias.
5
12007-09-28 Dan Nicolaescu <dann@ics.uci.edu> 62007-09-28 Dan Nicolaescu <dann@ics.uci.edu>
2 7
3 * server.el (server-delete-client): Only delete the terminal if it 8 * server.el (server-delete-client): Only delete the terminal if it
@@ -21,15 +26,15 @@
21 26
22 * net/tramp-cache.el (tramp-cache-print): Pacify byte-compiler. 27 * net/tramp-cache.el (tramp-cache-print): Pacify byte-compiler.
23 28
24 * net/tramp-fish.el (tramp-fish-handle-expand-file-name): Apply 29 * net/tramp-fish.el (tramp-fish-handle-expand-file-name):
25 `tramp-completion-mode-p'. 30 Apply `tramp-completion-mode-p'.
26 (tramp-fish-handle-set-file-times) 31 (tramp-fish-handle-set-file-times)
27 (tramp-fish-handle-executable-find) 32 (tramp-fish-handle-executable-find)
28 (tramp-fish-handle-process-file, tramp-fish-get-file-entries) 33 (tramp-fish-handle-process-file, tramp-fish-get-file-entries)
29 (tramp-fish-retrieve-data): Pacify byte-compiler. 34 (tramp-fish-retrieve-data): Pacify byte-compiler.
30 35
31 * net/tramp-gw.el (tramp-gw-basic-authentication): Call 36 * net/tramp-gw.el (tramp-gw-basic-authentication):
32 `tramp-read-passwd' with first parameter `nil'. 37 Call `tramp-read-passwd' with first parameter `nil'.
33 38
342007-09-28 Glenn Morris <rgm@gnu.org> 392007-09-28 Glenn Morris <rgm@gnu.org>
35 40
@@ -78,10 +83,8 @@
78 83
792007-09-26 Bastien Guerry <bzg@altern.org> 842007-09-26 Bastien Guerry <bzg@altern.org>
80 85
81 * org-export-latex.el (org-export-latex-tables-verbatim): New 86 * org-export-latex.el (org-export-latex-tables-verbatim): New function.
82 function. 87 (org-export-latex-remove-from-headlines): Name changed because of typo.
83 (org-export-latex-remove-from-headlines): Name changed because of
84 typo.
85 (org-export-latex-quotation-marks-convention): Option removed. 88 (org-export-latex-quotation-marks-convention): Option removed.
86 (org-export-latex-make-preamble): Handle the DATE option. 89 (org-export-latex-make-preamble): Handle the DATE option.
87 (org-export-latex-cleaned-string): Now the only cleaning function, 90 (org-export-latex-cleaned-string): Now the only cleaning function,
@@ -102,9 +105,8 @@
102 (org-archive-subtree): No need to split return of `org-get-tags'. 105 (org-archive-subtree): No need to split return of `org-get-tags'.
103 (org-set-tags, org-entry-properties): Call `org-get-tags-string' 106 (org-set-tags, org-entry-properties): Call `org-get-tags-string'
104 instead of `org-get-tags'. 107 instead of `org-get-tags'.
105 (org-agenda-format-date): Renamed from `org-agenda-date-format'. 108 (org-agenda-format-date): Rename from `org-agenda-date-format'.
106 (org-time-from-absolute, org-agenda-format-date-aligned): New 109 (org-time-from-absolute, org-agenda-format-date-aligned): New funs.
107 functions.
108 (org-compatible-face): New argument INHERITS. Inherit from this 110 (org-compatible-face): New argument INHERITS. Inherit from this
109 face if possible. 111 face if possible.
110 (org-level-1, org-level-2, org-level-3, org-level-4) 112 (org-level-1, org-level-2, org-level-3, org-level-4)
@@ -128,8 +130,8 @@
128 (org-get-location): Complete rewrite. 130 (org-get-location): Complete rewrite.
129 (org-goto-exit-command): New variable. 131 (org-goto-exit-command): New variable.
130 (org-goto-selected-point): New variable. 132 (org-goto-selected-point): New variable.
131 (org-goto-ret, org-goto-left, org-goto-right, org-goto-quit): Set 133 (org-goto-ret, org-goto-left, org-goto-right, org-goto-quit):
132 the new variables. 134 Set the new variables.
133 (org-paste-subtree): Whitespace insertion strategy revised. 135 (org-paste-subtree): Whitespace insertion strategy revised.
134 (org-remember-apply-template): Protect v-A from the possibility 136 (org-remember-apply-template): Protect v-A from the possibility
135 that v-a might be nil. 137 that v-a might be nil.
@@ -138,13 +140,6 @@
138 (org-up-heading-safe): New function. 140 (org-up-heading-safe): New function.
139 (org-entry-get-with-inheritance): Use `org-up-heading-safe'. 141 (org-entry-get-with-inheritance): Use `org-up-heading-safe'.
140 142
141 * org.texi: Change links to webpage and maintained email.
142 (Remember): Promoted to Chapter, significant changes.
143 (Fast access to TODO states): New section.
144 (Faces for TODO keywords): New section.
145 (Export options): Example for #+DATE.
146 (Progress logging): Section moved.
147
1482007-09-26 Dan Nicolaescu <dann@ics.uci.edu> 1432007-09-26 Dan Nicolaescu <dann@ics.uci.edu>
149 144
150 * progmodes/cc-cmds.el (c-indent-line-or-region): Only indent the 145 * progmodes/cc-cmds.el (c-indent-line-or-region): Only indent the
diff --git a/lisp/t-mouse.el b/lisp/t-mouse.el
index 821bad4e819..e88067b7fe5 100644
--- a/lisp/t-mouse.el
+++ b/lisp/t-mouse.el
@@ -40,29 +40,31 @@
40;;; Code: 40;;; Code:
41 41
42;;;###autoload 42;;;###autoload
43(define-minor-mode t-mouse-mode 43(define-obsolete-function-alias 't-mouse-mode 'gpm-mouse-mode "23.1")
44 "Toggle t-mouse mode to use the mouse in Linux consoles. 44;;;###autoload
45With prefix arg, turn t-mouse mode on if arg is positive, otherwise turn it 45(define-minor-mode gpm-mouse-mode
46off. 46 "Toggle gpm-mouse mode to use the mouse in GNU/Linux consoles.
47With prefix arg, turn gpm-mouse mode on if arg is positive,
48otherwise turn it off.
47 49
48This allows the use of the mouse when operating on a Linux console, in the 50This allows the use of the mouse when operating on a GNU/Linux console,
49same way as you can use the mouse under X11. 51in the same way as you can use the mouse under X11.
50It requires the `mev' program, part of the `gpm' utilities." 52It relies on the `gpm' daemon being activated."
51 :global t :group 'mouse 53 :global t :group 'mouse
52 (if window-system 54 (let ((activated nil))
53 (error "t-mouse only works in the console on GNU/Linux") 55 (unwind-protect
54 (if t-mouse-mode 56 (progn
55 (progn 57 (unless (fboundp 'gpm-mouse-start)
56 (unless (fboundp 'term-open-connection) 58 (error "Emacs must be built with Gpm to use this mode"))
57 (progn 59 (when gpm-mouse-mode
58 (setq t-mouse-mode nil) 60 (gpm-mouse-start)
59 (error "Emacs must be built with Gpm to use this mode"))) 61 (setq activated t)))
60 (unless (term-open-connection) 62 ;; If the user asked to turn it off do that.
61 (progn 63 ;; If something failed to turn it on, try to turn it off as well,
62 (setq t-mouse-mode nil) 64 ;; just in case.
63 (error "Can't open mouse connection")))) 65 (when (and (fboundp 'gpm-mouse-stop) (not activated))
64 ;; Turn it off 66 (setq gpm-mouse-mode nil)
65 (term-close-connection)))) 67 (gpm-mouse-stop)))))
66 68
67(provide 't-mouse) 69(provide 't-mouse)
68 70