all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Philip Kaludercic <philipk@posteo.net>
To: Paul Nelson <ultrono@gmail.com>
Cc: Arash Esbati <arash@gnu.org>,  emacs-devel@gnu.org
Subject: Re: [ELPA] some tex-related packages
Date: Sat, 19 Oct 2024 14:54:59 +0000	[thread overview]
Message-ID: <87plnwjg70.fsf@posteo.net> (raw)
In-Reply-To: <CAOA-32NfQGd83TySL78Ty0AkHhFzQ8LcC5vSL9biDE8445siEg@mail.gmail.com> (Paul Nelson's message of "Fri, 18 Oct 2024 21:04:59 +0200")

Paul Nelson <ultrono@gmail.com> writes:

> Hi Philip,
>
>> > (and (fboundp 'avy-jump)
>> >     (require 'avy nil t)
>> >     (fboundp 'avy-jump))
>>
>> I should have explained that, my idea was to check if avy-jump was
>> actually made available by the `require' or not.  But I wouldn't
>> describe it as an idiom, or an elegant solution.  All I wanted to avoid
>> was that loading avy by hand is required after installing it as well.
>
> I agree that we should not assume avy has been loaded by hand or
> otherwise, but would have thought that the following would achieve the
> same:
>
> (and (require 'avy nil t)
>      (fboundp 'avy-jump))

Yeah, that should be good enough.

>> You were using both cl- and seq- functions.  I was suggesting to make
>> that explicit by `require'ing them as well.  IIRC the code using seq-
>> and the code cl- functions could have also respectively been written in
>> the other style, so I thought it wouldn't be bad to stick to one of the
>> two inside a single package.
>
> OK, gotcha (and indeed, I tweaked my code to just use seq).
>
>> Other than that, we can add the packages to ELPA, right?
>
> They're already on ELPA, which achieves my main goal of enabling
> colleagues to set them up and use them with a simple config.

Ah yes, I remember.  They were accidentally added in 8e73eaf44e0, which
is why I probably didn't recall adding them explicitly.

> There was the question raised in
> https://lists.gnu.org/archive/html/emacs-devel/2024-06/msg00959.html
> of whether tex-parens could be included in Emacs alongside tex-mode,
> so as to be more available and simpler to document.  The answer is
> certainly "yes", although I don't know who decides whether that should
> be done.

Just like with any change proposed to core Emacs, it is mostly a matter
of preparing a patch for emacs.git.  Unless you insist on preserving the
revision history, it doesn't really matter that the new feature was
developed as a package.

> There's also the question, discussed earlier in this thread, of
> whether some would fit better in AUCTeX, but I imagine I'll sort that
> out with Arash and co. on the AUCTeX list at some point.

My feel is that it would be a better fit for AUCTeX, but this doesn't
have to be a permanent decision either.  We can move it from AUCTeX to
the core, if it seems like the right thing to do.

> Thanks again and best,
>
> Paul

-- 
	Philip Kaludercic on siskin



      reply	other threads:[~2024-10-19 14:54 UTC|newest]

Thread overview: 25+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-05-19 17:06 [ELPA] some tex-related packages Paul Nelson
2024-05-20  6:33 ` Philip Kaludercic
2024-05-20  9:01   ` Paul Nelson
2024-05-20  9:18     ` Philip Kaludercic
2024-05-20 17:37       ` Arash Esbati
2024-05-22 16:10         ` Paul Nelson
2024-05-27 16:13           ` Arash Esbati
2024-05-27 19:07             ` Paul Nelson
2024-06-02 12:51               ` Arash Esbati
2024-06-02 18:44                 ` Philip Kaludercic
2024-06-02 19:11                   ` Paul Nelson
2024-06-02 19:53                     ` Philip Kaludercic
2024-06-02 20:03                       ` Paul Nelson
2024-06-16 16:20                         ` Paul Nelson
2024-06-17 10:45                           ` Philip Kaludercic
2024-06-17 10:52                             ` Philip Kaludercic
2024-06-18  0:53                               ` Paul Nelson
2024-06-18  6:38                                 ` Philip Kaludercic
2024-06-26  5:59                                   ` Paul Nelson
2024-10-12 15:30                                   ` Paul Nelson
2024-10-18 11:00                                     ` Philip Kaludercic
2024-10-18 17:23                                       ` Paul Nelson
2024-10-18 17:46                                         ` Philip Kaludercic
2024-10-18 19:04                                           ` Paul Nelson
2024-10-19 14:54                                             ` Philip Kaludercic [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

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

  git send-email \
    --in-reply-to=87plnwjg70.fsf@posteo.net \
    --to=philipk@posteo.net \
    --cc=arash@gnu.org \
    --cc=emacs-devel@gnu.org \
    --cc=ultrono@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.
Code repositories for project(s) associated with this external index

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

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.