unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: Marco Antoniotti <marcoxa@gmail.com>
To: Marco Antoniotti <marcoxa@gmail.com>, help-gnu-emacs@gnu.org
Subject: Re: Re: Retrieving the "include" directory for Emacs Modules
Date: Sun, 8 Dec 2024 16:36:09 +0100	[thread overview]
Message-ID: <CAKmY7cW5h8JzK1iRerx7VZEH_op6bP3HBW5Yi=wM8z-L0KmToA@mail.gmail.com> (raw)
In-Reply-To: <Z1W7XOVeceEeWNeb@lco2>

Hi

I have no qualms about being able to "fix" 'pq' to make it work.

But I am writing an Emacs Module and I do not want to force anybody to
"fix" my setup ("It works on my machine" (tm))

In other words, I would like to be able to write

EMACS_INCLUDE_DIR := $(shell $(EMACS) -q --batch --eval "(princ
*em-include-directory*)")
EMACS_SRC_DIR := $(shell $(EMACS) -q --batch --eval "(princ
*em-scr-directory*)")

All the best

MA


On Sun, Dec 8, 2024 at 4:29 PM Jean Louis <bugs@gnu.support> wrote:

> * Marco Antoniotti <marcoxa@gmail.com> [2024-12-08 18:20]:
> > Hi Eli
> >
> > sorry again: the behavior on Mac and Windows is different w.r.t.
> > data-directory (see previous message).  I can try on a Linux machine
> > tomorrow.  Note that I installed Emacs with brew on my Mac
> >
> > Case in point: if I try to install 'pq' from the package manager I get
> the
> > following error.
>
> I am using emacs-libpq and I have changed:
>
> EMACS_INCLUDE_DIR := /home/data1/protected/Programming/Software/emacs/src
> EMACS_SRC_DIR := /home/data1/protected/Programming/Software/emacs/src
>
> in Makefile to get it compiled
>
> EMACS = emacs
> EMACS_VERSION := $(shell $(EMACS) -q --batch --eval "(princ
> emacs-version)")
> EMACS_MAJOR_VERSION := $(shell $(EMACS) -q --batch --eval "(princ
> emacs-major-version)")
> EMACS_INCLUDE_DIR := /home/data1/protected/Programming/Software/emacs/src
> EMACS_SRC_DIR := /home/data1/protected/Programming/Software/emacs/src
>
> Module works great, no complains.
>
> --
> Jean Louis
>


-- 
Marco Antoniotti
Somewhere over the Rainbow


  reply	other threads:[~2024-12-08 15:36 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <mailman.606.1733669386.12711.help-gnu-emacs@gnu.org>
2024-12-08 15:18 ` Re: Retrieving the "include" directory for Emacs Modules Marco Antoniotti
2024-12-08 15:29   ` Jean Louis
2024-12-08 15:36     ` Marco Antoniotti [this message]
2024-12-08 15:50       ` Stefan Monnier via Users list for the GNU Emacs text editor
2024-12-08 16:36       ` Eli Zaretskii
2024-12-08 16:30   ` Eli Zaretskii
     [not found] <mailman.77.1733590872.28947.help-gnu-emacs@gnu.org>
2024-12-08  9:59 ` Marco Antoniotti

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='CAKmY7cW5h8JzK1iRerx7VZEH_op6bP3HBW5Yi=wM8z-L0KmToA@mail.gmail.com' \
    --to=marcoxa@gmail.com \
    --cc=help-gnu-emacs@gnu.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).