unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: "Óscar Fuentes" <ofv@wanadoo.es>
To: help-gnu-emacs@gnu.org
Subject: Re: Using pdf-tools
Date: Thu, 10 Jun 2021 17:51:00 +0200	[thread overview]
Message-ID: <87k0n190rf.fsf@telefonica.net> (raw)
In-Reply-To: CAGrXgp0VrGfGtpA0Mr4DsE+rkL6uTRavQTBH_CEfgWKTQvq=Lw@mail.gmail.com

Julius Hamilton <julkhami@gmail.com> writes:

> Hey,
>
> I'm a beginner to emacs and I'm trying to get going with the library
> pdf-tools.

Which method did you use for installing pdf-tools?

> The documentation says I should add the line "(pdf-tools-install)"
> "somewhere in my .emacs.el file".
>
> I noticed that in my home directory I have a .emacs.d file. Some
> documentation said people usually have a .emacs file but sometimes also a .
> emacs.el file or a .emacs.d/init.el file, as an init file.
>
> I was wondering, what are the reasons for having these different kinds of
> init files?

That's probably just an historical artifact, resulting from the shifting
preferences and traditions within the Emacs community.

Please note that if you have an ~/.emacs or ~/.emacs.el file it wont load
~/.emacs.d/init.el

> I added "(pdf-tools-install)" at the end of my init.el file, and restarted
> emacs. I tried a command from the pdf-tools docs, "M-x pdf-tools-help RET",
> which the system did not recognize.
>
> I was wondering if anyone could give me a hand and explain to me why this
> is and what a good next step would be. Should I set up my emacs with a
> emacs.el init file instead?

If you have .emacs.d/init.el and none of the other optios (.emacs,
.emacs.el) it should work, provided that pdf-tools is properly
installed.




      parent reply	other threads:[~2021-06-10 15:51 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-06-10 15:38 Using pdf-tools Julius Hamilton
2021-06-10 15:41 ` pillule
2021-06-10 16:12   ` Óscar Fuentes
2021-06-10 15:51 ` Óscar Fuentes [this message]

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=87k0n190rf.fsf@telefonica.net \
    --to=ofv@wanadoo.es \
    --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).