From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.ciao.gmane.io!not-for-mail From: Drew Adams Newsgroups: gmane.emacs.devel Subject: RE: [ELPA] New package: transient Date: Sat, 2 May 2020 11:57:02 -0700 (PDT) Message-ID: <631fee7b-3979-46b3-aa45-358ae81c9f4e@default> References: <87368npxw4.fsf@bernoul.li> <87v9ljo5d0.fsf@bernoul.li> <87ftcnxu5m.fsf@bernoul.li> <83y2qezlpd.fsf@gnu.org> <83tv12zjx1.fsf@gnu.org> <20200429101755.GF24737@tuxteam.de> <838sicw4do.fsf@gnu.org> <83zhaqu89z.fsf@gnu.org> <83sggiu2p9.fsf@gnu.org> <83r1w2s9wi.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="ciao.gmane.io:159.69.161.202"; logging-data="113550"; mail-complaints-to="usenet@ciao.gmane.io" Cc: tomas@tuxteam.de, rms@gnu.org, emacs-devel@gnu.org To: Stefan Monnier , Eli Zaretskii Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Sat May 02 20:57:51 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 1jUxKh-000TRs-BZ for ged-emacs-devel@m.gmane-mx.org; Sat, 02 May 2020 20:57:51 +0200 Original-Received: from localhost ([::1]:39292 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jUxKg-0004lL-Dh for ged-emacs-devel@m.gmane-mx.org; Sat, 02 May 2020 14:57:50 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:35810) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jUxK3-0004Kz-Si for emacs-devel@gnu.org; Sat, 02 May 2020 14:57:12 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.90_1) (envelope-from ) id 1jUxK3-0008Va-1K for emacs-devel@gnu.org; Sat, 02 May 2020 14:57:11 -0400 Original-Received: from userp2130.oracle.com ([156.151.31.86]:33850) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jUxK0-0008DA-M0; Sat, 02 May 2020 14:57:08 -0400 Original-Received: from pps.filterd (userp2130.oracle.com [127.0.0.1]) by userp2130.oracle.com (8.16.0.42/8.16.0.42) with SMTP id 042IncJQ170136; Sat, 2 May 2020 18:57:06 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oracle.com; h=mime-version : message-id : date : from : sender : to : cc : subject : references : in-reply-to : content-type : content-transfer-encoding; s=corp-2020-01-29; bh=a8jsDSQIB97xGv6e/kVO/lJxvATmPkKXJVirttR6BQA=; b=HY2Xiqcs4m+1pGZEynTEKrEfTgth2v3HETnpD6prZArrcbY5/+iKLJloRqxlxnURSMZB texBPJPlv6jHGUWbkLVFCLeBfy340lzjvxEXQPXJLRA2PWKH8TDSeAswG06WoOJH23B/ YD23H3zHMHohNftvhcgQth0SQe+slzeXn+DLrLtNUur9qDGpmyKTgmIEYX4sxOeP5mJj NOCoPVVua9+DwiKXq4kihyHnf+bTA7z2Vru/xf+zCxm+H3Xueo2GQ/gpT9L9NLxeQWUP kf0Yk4vEru6/k5dkH+u+l3nC/9mJCKn1fVF7fqzWk3abgyx2UD9+IlyJ5nol4qfiQIo8 8w== Original-Received: from aserp3030.oracle.com (aserp3030.oracle.com [141.146.126.71]) by userp2130.oracle.com with ESMTP id 30s09qsqq1-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Sat, 02 May 2020 18:57:06 +0000 Original-Received: from pps.filterd (aserp3030.oracle.com [127.0.0.1]) by aserp3030.oracle.com (8.16.0.42/8.16.0.42) with SMTP id 042IgYrW194469; Sat, 2 May 2020 18:57:05 GMT Original-Received: from aserv0121.oracle.com (aserv0121.oracle.com [141.146.126.235]) by aserp3030.oracle.com with ESMTP id 30rxw9sedf-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Sat, 02 May 2020 18:57:05 +0000 Original-Received: from abhmp0014.oracle.com (abhmp0014.oracle.com [141.146.116.20]) by aserv0121.oracle.com (8.14.4/8.13.8) with ESMTP id 042Iv3tp000830; Sat, 2 May 2020 18:57:04 GMT In-Reply-To: X-Priority: 3 X-Mailer: Oracle Beehive Extensions for Outlook 2.0.1.9.1 (1003210) [OL 16.0.4993.0 (x86)] X-Proofpoint-Virus-Version: vendor=nai engine=6000 definitions=9609 signatures=668687 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 mlxscore=0 suspectscore=0 adultscore=0 phishscore=0 mlxlogscore=999 bulkscore=0 spamscore=0 malwarescore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2003020000 definitions=main-2005020164 X-Proofpoint-Virus-Version: vendor=nai engine=6000 definitions=9609 signatures=668687 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 bulkscore=0 mlxscore=0 lowpriorityscore=0 spamscore=0 adultscore=0 clxscore=1015 suspectscore=0 priorityscore=1501 malwarescore=0 mlxlogscore=999 phishscore=0 impostorscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2003020000 definitions=main-2005020164 Received-SPF: pass client-ip=156.151.31.86; envelope-from=drew.adams@oracle.com; helo=userp2130.oracle.com X-detected-operating-system: by eggs.gnu.org: First seen = 2020/05/02 12:51:55 X-ACL-Warn: Detected OS = Linux 3.x [generic] [fuzzy] X-Received-From: 156.151.31.86 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:248543 Archived-At: > >> 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`. In Icicles I type `C-h f str S-SPC mul', and I get these candidates (all from vanilla Emacs): 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 And `C-h f file S-SPC abs' gives these (plus some Icicles and Dired+ functions): file-name-absolute-p files--name-absolute-system-p=20 tramp-use-absolute-autoload-file-names `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. (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.) > 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. 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? 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?