• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /macosx-10.10/emacs-93/emacs/lisp/

Lines Matching +defs:get +defs:buffer +defs:process

29 ;; gpm-Linux package.  It uses the program "mev" to get mouse events.
37 (defvar t-mouse-process nil
38 "Embeds the process which passes mouse events to Emacs.
42 "Accumulates input from the mouse reporting process.")
44 (defvar t-mouse-debug-buffer nil
55 get re-translated when the button goes up, at which time window
59 (defvar t-mouse-prev-get-selection-function 'x-get-selection)
73 ;; get the number of the current virtual console
78 (with-temp-buffer
79 (call-process "ps" nil t nil "h" (format "%s" (emacs-pid)))
90 (buffer-substring (match-beginning 1) (match-end 1)))))
100 ;; now get this: the Emacs C code that generates these fake events
105 ;; through the low level handlers, they don't get this property unless
133 (if (not (get event-sym 'event-kind))
235 (defun t-mouse-process-filter (proc string)
244 (if t-mouse-debug-buffer
245 (print unread-command-events t-mouse-debug-buffer))
255 ;; stop-process. That doesn't work; mev receives the signal fine but
262 (and t-mouse-process
263 ;(stop-process t-mouse-process)
264 (process-send-string
265 t-mouse-process "push -enone -dall -Mnone\n")))))
269 (and t-mouse-process
270 ;(continue-process t-mouse-process)
271 (process-send-string t-mouse-process "pop\n")))))
285 ;; Starts getting a stream of mouse events from an asynchronous process.
290 (process-connection-type t))
293 (setq t-mouse-process
294 (start-process "t-mouse" nil
302 (set-process-filter t-mouse-process 't-mouse-process-filter)
303 (set-process-query-on-exit-flag t-mouse-process nil)))
306 (delete-process t-mouse-process)
307 (setq t-mouse-process nil)))