GNU bug report logs - #60279
[PATCH] Add `string-or-null-p', `char-or-string-p', `char-uppercase-p'

Previous Next

Package: emacs;

Reported by: Xi Lu <lx <at> shellcodes.org>

Date: Fri, 23 Dec 2022 15:52:01 UTC

Severity: normal

Tags: patch

Done: Eli Zaretskii <eliz <at> gnu.org>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: help-debbugs <at> gnu.org (GNU bug Tracking System)
To: Eli Zaretskii <eliz <at> gnu.org>
Cc: tracker <at> debbugs.gnu.org
Subject: bug#60279: closed ([PATCH] Add `string-or-null-p',
 `char-or-string-p', `char-uppercase-p')
Date: Sat, 24 Dec 2022 07:58:01 +0000
[Message part 1 (text/plain, inline)]
Your message dated Sat, 24 Dec 2022 09:57:27 +0200
with message-id <83k02h5j4o.fsf <at> gnu.org>
and subject line Re: bug#60279: [PATCH] Add `string-or-null-p', `char-or-string-p', `char-uppercase-p'
has caused the debbugs.gnu.org bug report #60279,
regarding [PATCH] Add `string-or-null-p', `char-or-string-p', `char-uppercase-p'
to be marked as done.

(If you believe you have received this mail in error, please contact
help-debbugs <at> gnu.org.)


-- 
60279: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=60279
GNU Bug Tracking System
Contact help-debbugs <at> gnu.org with problems
[Message part 2 (message/rfc822, inline)]
From: Xi Lu <lx <at> shellcodes.org>
To: bug-gnu-emacs <at> gnu.org
Cc: Xi Lu <lx <at> shellcodes.org>
Subject: [PATCH] Add `string-or-null-p', `char-or-string-p', `char-uppercase-p'
Date: Fri, 23 Dec 2022 23:50:39 +0800
---
 lisp/emacs-lisp/shortdoc.el | 9 +++++++++
 1 file changed, 9 insertions(+)

diff --git a/lisp/emacs-lisp/shortdoc.el b/lisp/emacs-lisp/shortdoc.el
index 6704db3cc5..90f81d740f 100644
--- a/lisp/emacs-lisp/shortdoc.el
+++ b/lisp/emacs-lisp/shortdoc.el
@@ -263,6 +263,12 @@ string
    :eval (stringp "a")
    :eval (stringp 'a)
    :eval "(stringp ?a)")
+  (string-or-null-p
+   :eval (string-or-null-p "a")
+   :eval (string-or-null-p nil))
+  (char-or-string-p
+   :eval "(char-or-string-p ?a)"
+   :eval (char-or-string-p "a"))
   (string-empty-p
    :no-manual t
    :eval (string-empty-p ""))
@@ -300,6 +306,9 @@ string
    :eval (string-to-number "2.5e+03"))
   (number-to-string
    :eval (number-to-string 42))
+  (char-uppercase-p
+   :eval "(char-uppercase-p ?A)"
+   :eval "(char-uppercase-p ?a)")
   "Data About Strings"
   (length
    :eval (length "foo")
-- 
2.38.1



[Message part 3 (message/rfc822, inline)]
From: Eli Zaretskii <eliz <at> gnu.org>
To: Xi Lu <lx <at> shellcodes.org>
Cc: 60279-done <at> debbugs.gnu.org
Subject: Re: bug#60279: [PATCH] Add `string-or-null-p', `char-or-string-p',
 `char-uppercase-p'
Date: Sat, 24 Dec 2022 09:57:27 +0200
> Cc: Xi Lu <lx <at> shellcodes.org>
> From: Xi Lu <lx <at> shellcodes.org>
> Date: Fri, 23 Dec 2022 23:50:39 +0800
> 
> ---
>  lisp/emacs-lisp/shortdoc.el | 9 +++++++++
>  1 file changed, 9 insertions(+)

Thanks, installed on the emacs-29 branch.


This bug report was last modified 2 years and 147 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.