all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* [PATCH] Console based mouse face highlighting.
@ 2007-05-12 10:02 Nick Roberts
  2007-05-12 10:11 ` Nick Roberts
  2007-05-12 13:25 ` Eli Zaretskii
  0 siblings, 2 replies; 56+ messages in thread
From: Nick Roberts @ 2007-05-12 10:02 UTC (permalink / raw)
  To: emacs-devel

[-- Attachment #1: message body and .signature --]
[-- Type: text/plain, Size: 1190 bytes --]


Here's a patch that gives Emacs mouse functionality on a console on GNU/Linux
It does single, multiple, modified clicks and drags. Of course, t-mouse does
thisalready but with this patch Emacs uses a Unix socket to talk to Gpm, rather
than faking events using the client program mev.

I think it is worth installing for this alone but the icing on the cake would
be to add mouse highlighting and mouse tracking.  Of course, I can't quite get
that to work, and I've spent far too much time on it now, trying to get my head
around frame based glyph matrices.

If there is a display expert who could give me a few hints, or even finish it,
I'd be eternally grateful (well I'd say thank-you anyway!).  I've been abusing
x_y_to_hpos_vpos from xdisp.c for use on a text terminal, so that would be a
good place to look.

-- 
Nick                                           http://www.inet.net.nz/~nickrob


Notes

1) CVS diff against repository at Sat May 12 21:30 (+12:00)

2) To build you need libgpm and gpm.h.  On Ubuntu these are in
   the packages gpm and gpm-dev respectively.

3) To try mouse highlighting, uncomment the call to term_mouse_highlight
   in term_mouse_movement in term.c.



[-- Attachment #2: term mouse functionality --]
[-- Type: application/octet-stream, Size: 16865 bytes --]

[-- Attachment #3: Type: text/plain, Size: 142 bytes --]

_______________________________________________
Emacs-devel mailing list
Emacs-devel@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-devel

^ permalink raw reply	[flat|nested] 56+ messages in thread

end of thread, other threads:[~2007-06-04  3:24 UTC | newest]

Thread overview: 56+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-05-12 10:02 [PATCH] Console based mouse face highlighting Nick Roberts
2007-05-12 10:11 ` Nick Roberts
2007-05-12 13:25 ` Eli Zaretskii
2007-05-12 23:54   ` Nick Roberts
2007-05-13  3:42     ` Eli Zaretskii
2007-05-13  4:19       ` Nick Roberts
2007-05-13  4:41         ` Eli Zaretskii
2007-05-14 21:11           ` Nick Roberts
2007-05-15  3:26             ` Eli Zaretskii
2007-05-15  3:53               ` Nick Roberts
2007-05-15 21:15                 ` Eli Zaretskii
2007-05-15 21:33                   ` David Kastrup
2007-05-16  3:16                     ` Eli Zaretskii
2007-05-15 22:39                   ` [PATCH/Now RFA] " Nick Roberts
2007-05-16  3:24                     ` Eli Zaretskii
2007-05-16  3:54                       ` Nick Roberts
2007-05-16 10:00                         ` [RFA] " Nick Roberts
2007-05-16 18:19                           ` Eli Zaretskii
2007-05-16 21:46                             ` Nick Roberts
2007-05-17  3:24                               ` Eli Zaretskii
2007-05-17  3:54                                 ` Nick Roberts
2007-05-17 14:59                                   ` Stefan Monnier
2007-05-17 20:29                                     ` Eli Zaretskii
2007-05-17 22:29                                     ` Nick Roberts
2007-05-17 20:14                                   ` Eli Zaretskii
2007-05-17 22:34                                     ` Nick Roberts
2007-05-18 14:33                                       ` Eli Zaretskii
2007-05-18 21:09                                         ` Nick Roberts
2007-05-19  7:25                                           ` Eli Zaretskii
2007-05-19  8:15                                             ` Nick Roberts
2007-05-19  8:46                                               ` Eli Zaretskii
2007-05-20  6:00                                                 ` Nick Roberts
2007-05-20  9:37                                                   ` Johan Bockgård
2007-05-20  9:51                                                     ` Nick Roberts
2007-05-22 15:54                                                       ` Johan Bockgård
2007-05-22 21:36                                                         ` Nick Roberts
2007-05-30  5:41                                                           ` Nick Roberts
2007-06-03  1:12                                                         ` Nick Roberts
2007-06-03 21:27                                                           ` Richard Stallman
2007-06-03 22:15                                                             ` Drew Adams
2007-06-03 23:31                                                             ` Nick Roberts
2007-06-04  3:24                                                               ` Eli Zaretskii
2007-05-20 18:54                                                   ` Eli Zaretskii
2007-05-20 20:12                                                     ` Renaming NEWS [was: [RFA] Console based mouse face highlighting.] Glenn Morris
2007-05-20 20:42                                                       ` Nick Roberts
2007-05-20 21:31                                                       ` Renaming NEWS Miles Bader
2007-05-21  8:09                                                         ` Glenn Morris
2007-05-21  8:42                                                           ` David Kastrup
2007-05-22  6:46                                                             ` Glenn Morris
2007-05-22  7:12                                                               ` Miles Bader
2007-05-22 17:08                                                                 ` Glenn Morris
2007-05-22  8:30                                                           ` Richard Stallman
2007-05-22 17:09                                                             ` Glenn Morris
2007-05-21 10:33                                                       ` Renaming NEWS [was: [RFA] Console based mouse face highlighting.] Richard Stallman
2007-05-19 22:31                                               ` [RFA] Console based mouse face highlighting Richard Stallman
2007-05-14 16:57     ` [PATCH] " Stefan Monnier

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.