* Re: Help with mapping mouse click to macro [not found] <876434r1oa.fsf@blue.crossleys.home> @ 2007-08-25 14:42 ` Daniel Jensen 0 siblings, 0 replies; only message in thread From: Daniel Jensen @ 2007-08-25 14:42 UTC (permalink / raw) To: help-gnu-emacs Jim Crossley <jim@crossleys.org> writes: > Hi, I'm trying to do something I thought would be simple: click on a > line in a file to delete it. Keyboard macros save the mouse position for mouse events. Try this command instead: (defun kill-line-at-click (event) (interactive "e") (mouse-set-point event) (kill-whole-line 1)) ^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2007-08-25 14:42 UTC | newest] Thread overview: (only message) (download: mbox.gz follow: Atom feed -- links below jump to the message on this page -- [not found] <876434r1oa.fsf@blue.crossleys.home> 2007-08-25 14:42 ` Help with mapping mouse click to macro Daniel Jensen
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.