From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.ciao.gmane.io!not-for-mail From: =?utf-8?B?7KGw7ISx67mI?= Newsgroups: gmane.emacs.devel Subject: Re: [ELPA] New package: transient Date: Sun, 3 May 2020 04:15:43 +0900 Message-ID: References: <631fee7b-3979-46b3-aa45-358ae81c9f4e@default> Mime-Version: 1.0 (1.0) Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="ciao.gmane.io:159.69.161.202"; logging-data="58203"; mail-complaints-to="usenet@ciao.gmane.io" Cc: Stefan Monnier , Eli Zaretskii , tomas@tuxteam.de, rms@gnu.org, Emacs-devel@gnu.org To: Drew Adams Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Sat May 02 21:16:32 2020 Return-path: Envelope-to: ged-emacs-devel@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1jUxcm-000F2h-Mz for ged-emacs-devel@m.gmane-mx.org; Sat, 02 May 2020 21:16:32 +0200 Original-Received: from localhost ([::1]:56024 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jUxcl-0004Nu-LX for ged-emacs-devel@m.gmane-mx.org; Sat, 02 May 2020 15:16:31 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:39756) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jUxc6-0003AJ-SE for emacs-devel@gnu.org; Sat, 02 May 2020 15:15:51 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.90_1) (envelope-from ) id 1jUxc6-0004bb-5b for emacs-devel@gnu.org; Sat, 02 May 2020 15:15:50 -0400 Original-Received: from pv50p00im-ztdg10021901.me.com ([17.58.6.55]:33392) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jUxc5-0004XO-MG for emacs-devel@gnu.org; Sat, 02 May 2020 15:15:49 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=icloud.com; s=1a1hai; t=1588446948; bh=oGlkuoRowwY0ZiJI0F4TI1ZyWn+x4NemPYNXQUfME2k=; h=Content-Type:From:Subject:Date:Message-Id:To; b=OGOv3ywA+KmER56vHlsXUwqBSf1zv7z/rASyL3X1HTSePBHZA8CvUGsl7QWKWWzci 3sKHOK+HqmlVmj4moxTUo9/pvLJ/CCD/N4dBPpmZiq8sKOc9ZzErkB3jKo7TewBh69 4wN48IVCv9d+J6OXn5t1oiz3cuCZZcVaRWY44l4T3zRwRpiORY0iak6yHhsaGya+lv XsltMNoWlDJs4gvOhS/u/xzB7/STY06SpGVHDDqawMqp/74SkFivJ3rHKGq+8JZgRx My/tKyzXVatSPDd4fSTPNQAD6F6qOZ1Pb8Rn/kIjJz9TgEvVfaZvtbc/pifX7xGsMm cYG0xUKQ5wgew== Original-Received: from [192.168.0.3] (unknown [1.230.108.64]) by pv50p00im-ztdg10021901.me.com (Postfix) with ESMTPSA id 4E5A5880476; Sat, 2 May 2020 19:15:47 +0000 (UTC) In-Reply-To: <631fee7b-3979-46b3-aa45-358ae81c9f4e@default> X-Mailer: iPhone Mail (17E262) X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:6.0.138, 18.0.676 definitions=2020-05-02_10:2020-05-01, 2020-05-02 signatures=0 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 suspectscore=0 malwarescore=0 phishscore=0 bulkscore=0 spamscore=0 clxscore=1015 mlxscore=0 mlxlogscore=969 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.0.1-2002250000 definitions=main-2005020168 Received-SPF: pass client-ip=17.58.6.55; envelope-from=pcr910303@icloud.com; helo=pv50p00im-ztdg10021901.me.com X-detected-operating-system: by eggs.gnu.org: First seen = 2020/05/02 15:15:48 X-ACL-Warn: Detected OS = Linux 3.11 and newer X-Received-From: 17.58.6.55 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.io gmane.emacs.devel:248548 Archived-At: > 2020. 5. 3. =EC=98=A4=EC=A0=84 3:58, Drew Adams =EC= =9E=91=EC=84=B1: >=20 > =EF=BB=BF >>=20 >>>> is it `multibyte-string-p` or `string-multibyte-p`, >>>> `file-name-absolute-p` or `absolute-file-name-p`, ... ? >>> Then "C-u C-h a WORDS..." is your friend. >>=20 >> Nope, way too slow. I shouldn't have to do anything >> more than `str-mul TAB`. >=20 > In Icicles I type `C-h f str S-SPC mul', > and I get these candidates (all from vanilla Emacs): >=20 > article-strip-multiple-blank-lines (command) > gnus-article-strip-multiple-blank-lines (command)=20 > gnus-multi-decode-encoded-word-string > multibyte-string-p=20 > read-multilingual-string > string-as-multibyte=20 > string-make-multibyte > string-to-multibyte Yes, and the fact that there are functions from gnus is a problem =E2=80=94 t= he user only wanted a function that handles strings, but there is no such wa= y to encode that in search with the current naming scheme. > And `C-h f file S-SPC abs' gives these (plus some > Icicles and Dired+ functions): >=20 > file-name-absolute-p > files--name-absolute-system-p=20 > tramp-use-absolute-autoload-file-names >=20 > `S-SPC' lets you combine multiple patterns, with > no regard to the order of their matches in a > candidate. Matching patterns `file' and `abs' > doesn't care which match comes first in the > function name. >=20 > (If you don't like to use `S-SPC' (and so be able > to match candidates that have SPC chars in them) > then just change that key to `SPC', comma, or > whatever.) >=20 >> BTW: I started doing that back in Emacs-21 with >> the newcomment.el package which tried to stick >> to the "comment-" prefix even for things which >> previously used a different name. >=20 > Oh, like `comment-make-bol-ws', `comment-quote-re', > `comment-string-strip', `comment-string-reverse', > and `comment-with-narrowing', which seem to have > nothing particular to do with comments, except that > they happen to be used to implement some code that > handles comments? >=20 > A package prefix is one thing. A prefix that > advertises the type of thing that a function works > with is another thing. Just what is the prefix > `comment-', here? >=20