unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: pillule <pillule@riseup.net>
To: Julius Hamilton <julkhami@gmail.com>
Cc: help-gnu-emacs@gnu.org
Subject: Re: Using pdf-tools
Date: Thu, 10 Jun 2021 17:41:12 +0200	[thread overview]
Message-ID: <87wnr1ogza.fsf@riseup.net> (raw)
In-Reply-To: <CAGrXgp0VrGfGtpA0Mr4DsE+rkL6uTRavQTBH_CEfgWKTQvq=Lw@mail.gmail.com>



Hi Julius,

Julius Hamilton <julkhami@gmail.com> writes:

> 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.

There are effectively many options possibles, as described by the section 49.4 of the manual, The Emacs Initialization File.
https://www.gnu.org/software/emacs/manual/html_node/emacs/Init-File.html

> I was wondering, what are the reasons for having these different kinds of
> init files?

Because peoples may have asked a cleaner file system (less dotfiles in their home directory) but emacs keeps older solutions for backward compatibility.

> 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.

You surely also need to require this library before being able to use it.

(require 'pdf-tools)

> 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?

This is only an organization matter for your home directory, choose what you like.



--



  reply	other threads:[~2021-06-10 15:41 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 [this message]
2021-06-10 16:12   ` Óscar Fuentes
2021-06-10 15:51 ` Óscar Fuentes

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=87wnr1ogza.fsf@riseup.net \
    --to=pillule@riseup.net \
    --cc=help-gnu-emacs@gnu.org \
    --cc=julkhami@gmail.com \
    /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).