unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: Philip Kaludercic <philipk@posteo.net>
To: PierGianLuca <luca@magnaspesmeretrix.org>
Cc: help-gnu-emacs@gnu.org
Subject: Re: Question on updating to 29.1
Date: Fri, 18 Aug 2023 19:24:58 +0000	[thread overview]
Message-ID: <87jztsxiet.fsf@posteo.net> (raw)
In-Reply-To: <b3c9839f-4324-0f78-7825-a6e8f72cb3e8@magnaspesmeretrix.org> (PierGianLuca's message of "Thu, 17 Aug 2023 18:17:22 +0200")

PierGianLuca <luca@magnaspesmeretrix.org> writes:

> Hi everyone,
>
> I'm finally getting around to installing Emacs 29.1 (from the tarball,
> on Ubuntu 20.04), and was looking at the options listed by Basile. I
> have some questions or curiosities:

You can always invoke ./configure --help to get a list of all the
possible options along with short descriptions to understand the point.

>> Basile Starynkevitch wrote:
>> 
>>> './configure'  'CFLAGS=-O2 -g' 'CC=/usr/bin/gcc-13'
>>> '--with-native-compilation' '--with-json'
>>> '--enable-link-time-optimization' '--with-x-toolkit=gtk3'
>>> '--program-suffix=-trunk'
>
> – I don't have gcc-13, so I'll skip that.

FWIW usually you don't need to pass configure any flags.  Often enough
it will figure out what it can enabled, depending on what dependencies
are available on your system.  I believe --with-native-compilation is an
exception, though I am not certain...

> – "--with-native-compilation" what does this do? I imagine it's something not specifically related to Emacs.
>
> – "--with-json" ditto?

Others have gone into what this is, but the background might be
interesting: While Emacs has had JSON parsing for a while, it was
written in Emacs Lisp and that turns out to have been too low if you are
interested in using packages like Eglot, the built-in LSP client, that
send around a lot of JSON-formatted data.

> – "with-x-toolkit=gtk3" is this option already chosen by default? I see that the Emacs install instructions say
>
> "If you use exclusively X, do not use the PGTK port.  There are a number of respects in which the regular --with-x-toolkit=gtk build works better"

Whenever I am on an X system, I even prefer using
--with-x-toolkit=lucid, especially if you are the kind of Emacs user
that hides the GUI toolkit (things like the menu, tool or scroll-bar).

> which sounds like "=gtk" is the default
>
>
> Thank you for any info you can share, and for your patience with someone inexperienced with these kinds of installations!
>
> Luca



  parent reply	other threads:[~2023-08-18 19:24 UTC|newest]

Thread overview: 36+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-08-11  8:11 Question on updating to 29.1 PierGianLuca
2023-08-11  8:21 ` Philip Kaludercic
2023-08-11  8:45   ` PierGianLuca
2023-08-11  8:54     ` Basile Starynkevitch
2023-08-11 10:16       ` Emanuel Berg
2023-08-11 11:20         ` Basile Starynkevitch
2023-08-11 12:20           ` Emanuel Berg
2023-08-17 16:17         ` PierGianLuca
2023-08-17 17:01           ` Corwin Brust
2023-08-17 17:55             ` PierGianLuca
2023-08-17 18:58           ` Basile Starynkevitch
2023-10-05 18:21             ` hw
2023-10-05 18:54               ` Eli Zaretskii
2023-08-18 19:24           ` Philip Kaludercic [this message]
2023-08-19 11:05             ` Pop-up font size with lucid toolkit (was: Question on updating to 29.1) PierGianLuca
2023-08-19 11:10               ` Solved: " PierGianLuca
2023-08-19 11:13               ` Gregory Heytings
2023-08-19 11:15                 ` PierGianLuca
2023-08-20 12:36               ` Pop-up font size with lucid toolkit Philip Kaludercic
2023-08-20 13:13                 ` PierGianLuca
2023-08-21 15:14                   ` Philip Kaludercic
2023-08-11 11:16     ` Question on updating to 29.1 Eli Zaretskii
2023-08-11 22:04       ` Jens Schmidt via Users list for the GNU Emacs text editor
2023-08-12  5:48         ` Eli Zaretskii
2023-08-12  6:08           ` PierGianLuca
2023-08-12  6:23             ` Eli Zaretskii
2023-08-13 12:46           ` Petteri Hintsanen
2023-10-05 11:44 ` Byung-Hee HWANG
2023-10-05 17:17   ` Emanuel Berg
2023-10-06 23:51     ` Byung-Hee HWANG
2023-10-07  7:43       ` Yuri Khan
2023-10-07 12:13         ` Byung-Hee HWANG
2023-10-07 12:28           ` Question on updating to 29.1 (on Ubuntu) PierGianLuca
2023-10-23 16:41       ` Question on updating to 29.1 Basile Starynkevitch
2023-10-06  1:30   ` Emanuel Berg
2023-10-07  6:06     ` జిందం వాఐి

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

  List information: https://www.gnu.org/software/emacs/

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

  git send-email \
    --in-reply-to=87jztsxiet.fsf@posteo.net \
    --to=philipk@posteo.net \
    --cc=help-gnu-emacs@gnu.org \
    --cc=luca@magnaspesmeretrix.org \
    /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.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).