From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.devel Subject: Re: string-to-unibyte in image-jpeg-p Date: Sat, 26 May 2018 11:27:52 +0300 Message-ID: <83wovq95yv.fsf@gnu.org> References: <87zi0q3c5b.fsf@gnuvola.org> <87h8my5dq5.fsf@igel.home> <37c86fb0-8644-9a67-8762-7d716fc92242@cs.ucla.edu> <87lgc9tp1m.fsf@gmail.com> <83tvqxaxof.fsf@gnu.org> <87zi0prrxf.fsf@gmail.com> <83vabc9sfo.fsf@gnu.org> <83603ba6rb.fsf@gnu.org> Reply-To: Eli Zaretskii NNTP-Posting-Host: blaine.gmane.org X-Trace: blaine.gmane.org 1527323204 7607 195.159.176.226 (26 May 2018 08:26:44 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Sat, 26 May 2018 08:26:44 +0000 (UTC) Cc: emacs-devel@gnu.org To: Stefan Monnier Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sat May 26 10:26:40 2018 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1fMUX8-0001r0-3p for ged-emacs-devel@m.gmane.org; Sat, 26 May 2018 10:26:38 +0200 Original-Received: from localhost ([::1]:48167 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fMUZF-0005Wd-6e for ged-emacs-devel@m.gmane.org; Sat, 26 May 2018 04:28:49 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:33836) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fMUYc-0005WY-6x for emacs-devel@gnu.org; Sat, 26 May 2018 04:28:11 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fMUYZ-0007Sp-17 for emacs-devel@gnu.org; Sat, 26 May 2018 04:28:10 -0400 Original-Received: from fencepost.gnu.org ([2001:4830:134:3::e]:59654) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fMUYY-0007Sh-U9; Sat, 26 May 2018 04:28:06 -0400 Original-Received: from [176.228.60.248] (port=3594 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1fMUYY-00033A-A3; Sat, 26 May 2018 04:28:06 -0400 In-reply-to: (message from Stefan Monnier on Fri, 25 May 2018 16:39:06 -0400) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2001:4830:134:3::e X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.21 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.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.org gmane.emacs.devel:225748 Archived-At: > From: Stefan Monnier > Cc: emacs-devel@gnu.org > Date: Fri, 25 May 2018 16:39:06 -0400 > > - I like the fact that it avoids duplicating the function name. > - It makes it possible for C-M-x to work correctly (e.g. remove the > obsolescence if you remove the `obsolete` from the `declare` > (or if you C-M-x on a completely different definition which happens to > have the same name) tho admittedly the current implementation doesn't > actually do it). > - More generally, it attaches the declaration to the function's > *definition* rather than to its *name*, which I think is TRT (even > tho, again, the underlying implementation still ends up associating > the two via the name). > - I guess it's more declarative (tho this word tends to be used in > programming languages a bit like "goodness" in cereal packages or > the way "GT" was used in cars (back when I was interested in them)). Thanks, I will think what should be said in the manual based on this.