From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Joost Kremers Newsgroups: gmane.emacs.devel Subject: Re: Character literals for Unicode (control) characters Date: Sun, 06 Mar 2016 16:49:01 +0100 Message-ID: <87h9gjmwsy.fsf@fastmail.fm> References: <87r3fsjenn.fsf@gnus.org> <56D8623F.6060806@cs.ucla.edu> <56DB0AB5.7000106@gmail.com> <56DB138D.6020605@cs.ucla.edu> <56DB1D06.7020401@gmail.com> <83ziucx02l.fsf@gnu.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1457279369 4501 80.91.229.3 (6 Mar 2016 15:49:29 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 6 Mar 2016 15:49:29 +0000 (UTC) Cc: eggert@cs.ucla.edu, =?utf-8?Q?Cl=C3=A9ment?= Pit--Claudel , emacs-devel@gnu.org To: Eli Zaretskii Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sun Mar 06 16:49:18 2016 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1acavm-0007fb-1w for ged-emacs-devel@m.gmane.org; Sun, 06 Mar 2016 16:49:18 +0100 Original-Received: from localhost ([::1]:50962 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1acavl-0005Qv-CU for ged-emacs-devel@m.gmane.org; Sun, 06 Mar 2016 10:49:17 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:49638) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1acavg-0005Qg-JP for emacs-devel@gnu.org; Sun, 06 Mar 2016 10:49:13 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1acavb-0002i3-Ix for emacs-devel@gnu.org; Sun, 06 Mar 2016 10:49:12 -0500 Original-Received: from out5-smtp.messagingengine.com ([66.111.4.29]:38125) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1acavb-0002hy-Cm for emacs-devel@gnu.org; Sun, 06 Mar 2016 10:49:07 -0500 Original-Received: from compute4.internal (compute4.nyi.internal [10.202.2.44]) by mailout.nyi.internal (Postfix) with ESMTP id 5634221212 for ; Sun, 6 Mar 2016 10:49:04 -0500 (EST) Original-Received: from frontend2 ([10.202.2.161]) by compute4.internal (MEProxy); Sun, 06 Mar 2016 10:49:04 -0500 DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d=fastmail.fm; h=cc :content-type:date:from:in-reply-to:message-id:mime-version :references:subject:to:x-sasl-enc:x-sasl-enc; s=mesmtp; bh=uU/uY 5M/wjGOVXZ2okUJ7xgauJA=; b=cW/gs65OKw4ADuzX8QPEMU5kjBSTDVBk1TYge 2716p31p0k+2HRF1Q3Z9QzQdbgE2IjdDona9BN/qwMUPDsZCuHtQdS5GVBkqWfGA kkBaxDRB/KHG4sQ5tfbZCCgV5bcEo13IXy9T70ltFsD3a8zDCc6baA8X3TPRlBXn qIjEDA= DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to:x-sasl-enc :x-sasl-enc; s=smtpout; bh=uU/uY5M/wjGOVXZ2okUJ7xgauJA=; b=nkoKo SppEYZpRHx5z0eP9raZPAG2aYil20k5OnAWC4Ehz+BsmiPib6r4q1pR7B/ujBrGh AId0RmsR9eoV5omUyaImUMthRaVdIdt4XKjjalf+ubP+31Q1hpGV4yYxc17mHUON zCReTg5GNe062f9bICx5fvG+EYj6awDmgKXfQI= X-Sasl-enc: PbwUlJCXaqdoVnrXxPU3Ofpbv9b8/u8LAxLPLnSZaW52 1457279343 Original-Received: from IdeaPad.messagingengine.com (x4d0add87.dyn.telefonica.de [77.10.221.135]) by mail.messagingengine.com (Postfix) with ESMTPA id 5B6936801A1; Sun, 6 Mar 2016 10:49:03 -0500 (EST) User-agent: mu4e 0.9.17; emacs 25.0.92.1 In-reply-to: <83ziucx02l.fsf@gnu.org> X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 66.111.4.29 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.14 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-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:200995 Archived-At: On Sat, Mar 05 2016, Eli Zaretskii wrote: > Doc strings should never be wrapped with the likes of M-q. For > starters, this can make the first line include more than one > sentence. IME, if you hit M-q in a doc string, the first line isn't changed. Perhaps that only works when point is not on the first line, though. > More generally, there are already constructs we recognize > in doc strings that produce longer or shorter strings when displayed, > so M-q is just not up to the job, and shouldn't be used. But there's no real alternative, is there? IOW, you might as well use M-q, because if you use something like \\[my-function], you never know if that'll display as a short key binding, a long key binding, or as `M-x my-function', which can actually be very long. (I guess the best way would be to custom-wrap doc strings before displaying them, after constructs such as \\[...] have been resolved.) -- Joost Kremers Life has its moments