all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Lars Ingebrigtsen <larsi@gnus.org>
To: "Štěpán Němec" <stepnem@gmail.com>
Cc: 39980@debbugs.gnu.org
Subject: bug#39980: [PATCH] gnus-shorten-url: Improve and avoid args-out-of-range error
Date: Sat, 14 Mar 2020 19:03:24 +0100	[thread overview]
Message-ID: <87d09ezudv.fsf@gnus.org> (raw)
In-Reply-To: <87zhcinbdl.fsf@gmail.com> ("Štěpán Němec"'s message of "Sat, 14 Mar 2020 17:34:46 +0100")

Štěpán Němec <stepnem@gmail.com> writes:

> subr-x is supposed to be loaded at compile time (see the file's
> Commentary), so, with the single exception of `replace-region-contents'
> (I wonder how that happened...), everything in there is either a macro
> or a defsubst.

The commentary is:

;; Less commonly used functions that complement basic APIs, often implemented in
;; C code (like hash-tables and strings), and are not eligible for inclusion
;; in subr.el.

;; Do not document these functions in the lispref.
;; https://lists.gnu.org/r/emacs-devel/2014-01/msg01006.html

;; NB If you want to use this library, it's almost always correct to use:
;; (eval-when-compile (require 'subr-x))

So it's just stuff that's not supposed to be in subr.el but is otherwise
subr-ey?  I don't know why it's become almost all substs and macros, but
it seems odd to decide to make things that look like a perfectly good
defun into a defsubst just because we're sticking it in subr-x.

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no





  reply	other threads:[~2020-03-14 18:03 UTC|newest]

Thread overview: 19+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-03-08  9:06 bug#39980: [PATCH] gnus-shorten-url: Improve and avoid args-out-of-range error Štěpán Němec
2020-03-14 11:41 ` Lars Ingebrigtsen
2020-03-14 16:34   ` Štěpán Němec
2020-03-14 18:03     ` Lars Ingebrigtsen [this message]
2020-03-14 18:12       ` Štěpán Němec
2020-03-14 18:15       ` Eli Zaretskii
2020-03-28 14:17         ` Štěpán Němec
2020-04-02 11:01           ` Lars Ingebrigtsen
2020-04-12  9:53             ` Štěpán Němec
2020-04-12 10:33               ` Eli Zaretskii
2020-04-12 10:49                 ` Štěpán Němec
2020-04-12 11:05                   ` Eli Zaretskii
2020-04-12 11:47                     ` Štěpán Němec
2020-04-12 13:38                       ` Eli Zaretskii
2020-04-12 14:13                         ` Štěpán Němec
2020-04-12 14:35                           ` Eli Zaretskii
2020-04-12 20:02                             ` Štěpán Němec
2020-04-13  4:26                               ` Eli Zaretskii
2020-04-13 10:31                                 ` Štěpán Němec

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=87d09ezudv.fsf@gnus.org \
    --to=larsi@gnus.org \
    --cc=39980@debbugs.gnu.org \
    --cc=stepnem@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.