all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Eli Zaretskii <eliz@gnu.org>
To: joao.moreira@free.fr
Cc: emacs-devel@gnu.org
Subject: Re: Building an emacs to use the mouse in the linux console
Date: Tue, 26 Jun 2012 05:52:52 +0300	[thread overview]
Message-ID: <83hatyainv.fsf@gnu.org> (raw)
In-Reply-To: <2012883564.325560868.1340655385571.JavaMail.root@zimbra73-e12.priv.proxad.net>

> Date: Mon, 25 Jun 2012 22:16:25 +0200 (CEST)
> From: joao.moreira@free.fr
> 
> I'm trying build an emacs binary that will let me use the mouse when running in the Linux console. I'm running Fedora 16 (LXDE spin), I installed gpm, and I compiled Emacs 24.1 from source, but copy-paste is not working. I can use the mouse to select text, but when trying to paste I get a message saying "Symbol's function definition is void: x-get-selection-internal".

This is expected: the GPM support on a TTY does not include copy/paste
feature.  No one wrote the code to do that.  Patches are welcome.

> When building emacs, it first complained that I was running X but had no X development libraries. So I configured it with the '--without-x' option, and at the end of the 'configure' run it said emacs would use '-lgpm'. So I'm puzzled by the 'x-' function, do I need X libraries to use the mouse ?

No, you don't need X.  It's just that, for historical reasons, many
functions related to GUI features have names that start with "x-".

> The emacs 23.3 that comes with Fedora is able to copy-paste in the console, but of course, I don't know how they built it. What's the right way to go about this ?

Sorry, I don't know.  Maybe someone else could help.  Also, the value
of the variable system-configuration-options might reveal something
about the way Emacs was configured, and running ldd on the executable
will show which shared libraries it uses.  Maybe that will give a
clue.



  reply	other threads:[~2012-06-26  2:52 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <297874776.325554404.1340655282573.JavaMail.root@zimbra73-e12.priv.proxad.net>
2012-06-25 20:16 ` Building an emacs to use the mouse in the linux console joao.moreira
2012-06-26  2:52   ` Eli Zaretskii [this message]
2012-06-26  7:23   ` Andreas Schwab

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=83hatyainv.fsf@gnu.org \
    --to=eliz@gnu.org \
    --cc=emacs-devel@gnu.org \
    --cc=joao.moreira@free.fr \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.