unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
* Re: Subject: Explain a bit more on how to configure language server in Eglot's manual
@ 2023-03-06  8:58 Pedro Andres Aranda Gutierrez
  2023-03-07  7:19 ` Yuan Fu
  0 siblings, 1 reply; 3+ messages in thread
From: Pedro Andres Aranda Gutierrez @ 2023-03-06  8:58 UTC (permalink / raw)
  To: emacs-devel

That would be really helpful. The most confusing point for some
'non-experts' is to configure things in ".emacs.d/init.el" (Hyphens
because it is not the actual file but the notion of it) vs. I
configure in ".dir-locals.el"

As a result of "some years" using Emacs, I tend to have a config which
is 'valid in most situations' in init.el and only 'special configs for
special purposes' and that's what I show people how to do.

Thx, /PA

-- 
Fragen sind nicht da um beantwortet zu werden,
Fragen sind da um gestellt zu werden
Georg Kreisler

Headaches with a Juju log:
unit-basic-16: 09:17:36 WARNING juju.worker.uniter.operation we should
run a leader-deposed hook here, but we can't yet



^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Subject: Explain a bit more on how to configure language server in Eglot's manual
  2023-03-06  8:58 Subject: Explain a bit more on how to configure language server in Eglot's manual Pedro Andres Aranda Gutierrez
@ 2023-03-07  7:19 ` Yuan Fu
  2023-03-07  8:18   ` Pedro Andres Aranda Gutierrez
  0 siblings, 1 reply; 3+ messages in thread
From: Yuan Fu @ 2023-03-07  7:19 UTC (permalink / raw)
  To: Pedro Andres Aranda Gutierrez; +Cc: emacs-devel



> On Mar 6, 2023, at 12:58 AM, Pedro Andres Aranda Gutierrez <paaguti@gmail.com> wrote:
> 
> That would be really helpful. The most confusing point for some
> 'non-experts' is to configure things in ".emacs.d/init.el" (Hyphens
> because it is not the actual file but the notion of it) vs. I
> configure in ".dir-locals.el"
> 
> As a result of "some years" using Emacs, I tend to have a config which
> is 'valid in most situations' in init.el and only 'special configs for
> special purposes' and that's what I show people how to do.

Alas, I’m familiar with dir-local variables, so I can’t can tell which specific part is confusing and how to improve it.

Yuan


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Subject: Explain a bit more on how to configure language server in Eglot's manual
  2023-03-07  7:19 ` Yuan Fu
@ 2023-03-07  8:18   ` Pedro Andres Aranda Gutierrez
  0 siblings, 0 replies; 3+ messages in thread
From: Pedro Andres Aranda Gutierrez @ 2023-03-07  8:18 UTC (permalink / raw)
  To: Yuan Fu; +Cc: emacs-devel

I've been asked a couple of times how to convert the .dir-locals.el
example in the manual to a
(setq ...) to be loaded from ~/.emacs.d/init.el
So I guess it would be good to have the same example in both versions
in the manual.

Thanks, /PA

On Tue, 7 Mar 2023 at 08:19, Yuan Fu <casouri@gmail.com> wrote:
>
>
>
> > On Mar 6, 2023, at 12:58 AM, Pedro Andres Aranda Gutierrez <paaguti@gmail.com> wrote:
> >
> > That would be really helpful. The most confusing point for some
> > 'non-experts' is to configure things in ".emacs.d/init.el" (Hyphens
> > because it is not the actual file but the notion of it) vs. I
> > configure in ".dir-locals.el"
> >
> > As a result of "some years" using Emacs, I tend to have a config which
> > is 'valid in most situations' in init.el and only 'special configs for
> > special purposes' and that's what I show people how to do.
>
> Alas, I’m familiar with dir-local variables, so I can’t can tell which specific part is confusing and how to improve it.
>
> Yuan



-- 
Fragen sind nicht da um beantwortet zu werden,
Fragen sind da um gestellt zu werden
Georg Kreisler

Headaches with a Juju log:
unit-basic-16: 09:17:36 WARNING juju.worker.uniter.operation we should
run a leader-deposed hook here, but we can't yet



^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2023-03-07  8:18 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-03-06  8:58 Subject: Explain a bit more on how to configure language server in Eglot's manual Pedro Andres Aranda Gutierrez
2023-03-07  7:19 ` Yuan Fu
2023-03-07  8:18   ` Pedro Andres Aranda Gutierrez

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

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