all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Tim Landscheidt <tim@tim-landscheidt.de>
To: 45454@debbugs.gnu.org
Cc: david engster <dengste@eml.cc>
Subject: bug#45454: 27.1; Help for EIEIO constructors has two consecutive spaces
Date: Sun, 27 Dec 2020 11:50:23 +0000	[thread overview]
Message-ID: <87im8npiww.fsf@passepartout.tim-landscheidt.de> (raw)

[-- Attachment #1: Type: text/plain, Size: 181 bytes --]

X-Debbugs-CC: David Engster <dengste@eml.cc>
Severity: minor
Tags: patch

For non-autoloaded EIEIO constructor functions,
eieio-help-constructor will output two consecutive spaces.

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: 0001-Do-not-output-two-spaces-for-non-autoloaded-object-c.patch --]
[-- Type: text/x-patch, Size: 1090 bytes --]

From 8f1b42ed9fb6a7f935c12a8caac6958d90c79eb6 Mon Sep 17 00:00:00 2001
From: Tim Landscheidt <tim@tim-landscheidt.de>
Date: Thu, 25 Jan 2018 02:55:44 +0000
Subject: [PATCH] ; Do not output two spaces for non-autoloaded object
 constructor functions

* lisp/emacs-lisp/eieio-opt.el (eieio-help-constructor): Amend format
to avoid two spaces for non-autoloaded object constructor functions.

Copyright-paperwork-exempt: yes
---
 lisp/emacs-lisp/eieio-opt.el | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/lisp/emacs-lisp/eieio-opt.el b/lisp/emacs-lisp/eieio-opt.el
index 59af7e12d2..3b222b9312 100644
--- a/lisp/emacs-lisp/eieio-opt.el
+++ b/lisp/emacs-lisp/eieio-opt.el
@@ -136,9 +136,9 @@ eieio-help-constructor
 	  (def (symbol-function ctr)))
       (goto-char (point-min))
       (prin1 ctr)
-      (insert (format " is an %s object constructor function"
+      (insert (format " is an %sobject constructor function"
 		      (if (autoloadp def)
-			  "autoloaded"
+			  "autoloaded "
 			"")))
       (when (and (autoloadp def)
 		 (null location))
-- 
2.26.2


             reply	other threads:[~2020-12-27 11:50 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-12-27 11:50 Tim Landscheidt [this message]
2020-12-27 23:39 ` bug#45454: 27.1; Help for EIEIO constructors has two consecutive spaces Lars Ingebrigtsen
2020-12-29 16:11   ` Tim Landscheidt
2020-12-30  2:53     ` Lars Ingebrigtsen
2020-12-30  5:59       ` Tim Landscheidt
2020-12-31  3:35         ` Lars Ingebrigtsen

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=87im8npiww.fsf@passepartout.tim-landscheidt.de \
    --to=tim@tim-landscheidt.de \
    --cc=45454@debbugs.gnu.org \
    --cc=dengste@eml.cc \
    /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.