Summary: | app-editors/emacs-26.1-r3 - emacsclient: bar menu not accessible by mouse | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | CaptainBlood <luc_pierard_de_maujouy> |
Component: | Current packages | Assignee: | GNU Emacs project <gnu-emacs> |
Status: | RESOLVED UPSTREAM | ||
Severity: | normal | CC: | luc_pierard_de_maujouy |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
See Also: | https://debbugs.gnu.org/34648 | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- |
Description
CaptainBlood
2019-02-12 20:04:07 UTC
The error message is output in function gpm-mouse-start in term.c: DEFUN ("gpm-mouse-start", Fgpm_mouse_start, Sgpm_mouse_start, 0, 0, 0, doc: /* Open a connection to Gpm. Gpm-mouse can only be activated for one tty at a time. */) (void) { struct frame *f = SELECTED_FRAME (); struct tty_display_info *tty = ((f)->output_method == output_termcap ? (f)->terminal->display_info.tty : NULL); Gpm_Connect connection; if (!tty) error ("Gpm-mouse only works in the GNU/Linux console"); Debugging with gdb shows that when connected with emacsclient, (f)->output_method is output_initial, while with a standalone Emacs it is output_termcap. Not sure if the conditional should be changed (to test for output_termcap or output_initial), or if the value of (f)->output_method is wrong. So it might be best if you report the issue upstream. I send a bug upstream, mentionning this bug thread url. I'm not sure they read it. Their current proposal is to use: (add-hook 'after-make-frame-functions which I did the best I could, but it gave identical result. In the mean time I wondered one thing as here rc-update resturns: emacs.user | default emacs.root | default II can't retrieve where I got this setting from, but could changing default to boot make any difference? moreover, emacsclient from a xorg terminal .emacs requires: ;; the two lines seems required from a xterminal. (custom-set-variables '(gpm-mouse-mode t) '(xterm-mouse-mode t)) Please note behavior isn't the same as standalone emacs, as it open a help buffer, but at least mouse intercation is there! Is this still a problem in Emacs 29.2? Just checked bug remains in 30.0.9999 :( This has been reported upstream and should be resolved there. |