From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Philipp Stephani Newsgroups: gmane.emacs.devel Subject: Re: Small docstring improvements Date: Sat, 20 Aug 2016 18:00:49 +0000 Message-ID: References: <83shtzdijr.fsf@gnu.org> <83eg5jcv3q.fsf@gnu.org> <83a8g7cten.fsf@gnu.org> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: multipart/alternative; boundary=047d7b5d43f8fefdcc053a8498e1 X-Trace: blaine.gmane.org 1471716108 31664 195.159.176.226 (20 Aug 2016 18:01:48 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Sat, 20 Aug 2016 18:01:48 +0000 (UTC) Cc: emacs-devel@gnu.org To: Eli Zaretskii Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sat Aug 20 20:01:44 2016 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 1bbAaU-0007sL-CD for ged-emacs-devel@m.gmane.org; Sat, 20 Aug 2016 20:01:42 +0200 Original-Received: from localhost ([::1]:33978 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bbAaR-0006Nh-L7 for ged-emacs-devel@m.gmane.org; Sat, 20 Aug 2016 14:01:39 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:33805) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bbAZt-0006M0-UP for emacs-devel@gnu.org; Sat, 20 Aug 2016 14:01:07 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bbAZs-0005wq-5x for emacs-devel@gnu.org; Sat, 20 Aug 2016 14:01:04 -0400 Original-Received: from mail-wm0-x229.google.com ([2a00:1450:400c:c09::229]:38742) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bbAZp-0005wO-Ij; Sat, 20 Aug 2016 14:01:01 -0400 Original-Received: by mail-wm0-x229.google.com with SMTP id o80so84402051wme.1; Sat, 20 Aug 2016 11:01:01 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=xjCp3ZdYi3U/mu91kLGNMQTiEPHldRqz+vtNcEv5T9s=; b=FH/0oZB1EyozUdJhi/Q/Uwbk9tkwhC710RpyuQBen2y6maru4CUl54YFUct9qblf+3 Egh9zmmOc7VpegZXk5MX+U9R1tvBfHV6vezEPc+TglHHzEDOSrZlU8CMzZvESXoc0sEM iP2OGJ/a3lXFz1bsmnPAnHgdUZ/6BSdQjYIgT99ZoRCvnl+n3yNNpLmMJ628NqI+2PIQ 1oPm22uFUJx6uv61H1MY9VPQwXkLMbsdMng3hcNJa7Pav8mKTrsXoho6FtfOUQcr5Jus YAROZ5IIC//C81XjrfqiSTVbZOKILFnjStRfnM2zP2zpJPO2V1AhDOSFHxf1x3g9JNtF qHKg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=xjCp3ZdYi3U/mu91kLGNMQTiEPHldRqz+vtNcEv5T9s=; b=DFX9NVS6WAaEuVD29Z57+0lEjQekh4Jg+iAERp4XSrCYPpvnWscoz8ibge29CklIXS I2RoItXizVywgklJhYEUCp3xsMFp6uTVXqGpfory88dnnb1qW/UVKfB5uTjQdNyUvqDf kWSmlMVIpvgu1fJaPP2K4P5XfS3de2DEiKmOrg5rgJ9M3Rggfl5GlUHgN70wmb0aKAA6 TNUfauaXC+s67ah6xCMHFkOWJNysip3KM3Vd23g/L9o84j8tiCr2W18VBF9WFGyx/kLQ bvZhmzGL13hyQyrq+Bri2s3M8J5Ff8k7xZR2YoF10l9GB7wAsDAM9n0JTq+SsSSNCy9u up4g== X-Gm-Message-State: AEkoouuKIq88a7TqK3eK3X1n7Vws/HQfIfiFo6uOphZ9QWSjrFv3XXHOMPzjWBEfUGXM37H0NJqIIOax5mrPUQ== X-Received: by 10.194.6.229 with SMTP id e5mr10525429wja.85.1471716060488; Sat, 20 Aug 2016 11:01:00 -0700 (PDT) In-Reply-To: <83a8g7cten.fsf@gnu.org> X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2a00:1450:400c:c09::229 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:206708 Archived-At: --047d7b5d43f8fefdcc053a8498e1 Content-Type: text/plain; charset=UTF-8 Eli Zaretskii schrieb am Sa., 20. Aug. 2016 um 18:11 Uhr: > > From: Philipp Stephani > > Date: Sat, 20 Aug 2016 15:59:54 +0000 > > Cc: emacs-devel@gnu.org > > > > If we want to give advice like that, IMO we should also give such an > > advice for when BUFFER is non-nil. > > > > OK, then I'd append ", and to count the number of characters > > in some other BUFFER, use > > `(with-current-buffer BUFFER (- (point-max) (point-min)))'.". > > Fine with me, thanks. > Thanks, pushed. --047d7b5d43f8fefdcc053a8498e1 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable


Eli Za= retskii <eliz@gnu.org> schrieb am= Sa., 20. Aug. 2016 um 18:11=C2=A0Uhr:
> From: Philipp Stephani <p.stephani2@gmail.com>
> Date: Sat, 20 Aug 2016 15:59:54 +0000
> Cc: emacs-dev= el@gnu.org
>
>=C2=A0 If we want to give advice like that, IMO we should also give suc= h an
>=C2=A0 advice for when BUFFER is non-nil.
>
> OK, then I'd append ", and to count the number of characters<= br> > in some other BUFFER, use
> `(with-current-buffer BUFFER (- (point-max) (point-min)))'.".=

Fine with me, thanks.

Thanks, pushed.= =C2=A0
--047d7b5d43f8fefdcc053a8498e1--