From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Jean-Christophe Helary Newsgroups: gmane.emacs.devel Subject: Re: package.el strings Date: Sun, 29 Apr 2018 08:46:06 +0900 Message-ID: References: <83y3rpeubc.fsf@gnu.org> <07C02D08-66BB-4454-AA25-B512BFC39A2A@gmail.com> <83vamk965y.fsf@gnu.org> <84FCCBF3-F20F-48E2-B05E-F6DB218D8896@gmail.com> <87lgdarcwi.fsf@gmail.com> <87in8eqk93.fsf@gmail.com> <87wowroub1.fsf@gmail.com> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 (Mac OS X Mail 11.3 \(3445.6.18\)) Content-Type: multipart/alternative; boundary="Apple-Mail=_1A0EFD98-204F-42D5-9B23-5EE7B2BEABFB" X-Trace: blaine.gmane.org 1524959089 12027 195.159.176.226 (28 Apr 2018 23:44:49 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Sat, 28 Apr 2018 23:44:49 +0000 (UTC) To: Emacs developers Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sun Apr 29 01:44:45 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 1fCZWH-000335-6W for ged-emacs-devel@m.gmane.org; Sun, 29 Apr 2018 01:44:45 +0200 Original-Received: from localhost ([::1]:53891 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fCZYN-0005oO-W9 for ged-emacs-devel@m.gmane.org; Sat, 28 Apr 2018 19:46:56 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:38731) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fCZXk-0005o2-EG for emacs-devel@gnu.org; Sat, 28 Apr 2018 19:46:17 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fCZXh-0002jn-7w for emacs-devel@gnu.org; Sat, 28 Apr 2018 19:46:16 -0400 Original-Received: from mail-pf0-x22a.google.com ([2607:f8b0:400e:c00::22a]:33524) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1fCZXg-0002j8-V2 for emacs-devel@gnu.org; Sat, 28 Apr 2018 19:46:13 -0400 Original-Received: by mail-pf0-x22a.google.com with SMTP id f15so4095867pfn.0 for ; Sat, 28 Apr 2018 16:46:12 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:mime-version:subject:date:references:to:in-reply-to:message-id; bh=rzID23lkfGdap0N+nzpACX7pKlgpGt40FW73n3kgaOI=; b=HeLI7dICAZi0IUG7Qo7rGyl6ZvCN10wrG02qEXGjirdIx6pk2Otow0m6US2vwvF1ch aVOpiJTeIkXf5P+AQaMO1Sc2j5lWd3tV79G4dgOSAh3+GkTPaqCguONXztZDt+z4wprE O3xEX0pxedWoHp/SdbKd6NVgZ+I2VuvlTKv4DPXLEH0+yDzSw3iClgAV7zNH5S9cd35v u6wYZUp5hACttRZ+CZ+NCwnfx3CeZOXT9exTduQfG28t34TQseZDKk/1fwZMOfeSMLTQ la4b/ZAZpcw80xNMhseuN4Ng6jAToLKuccQkOrGpVdH0k5EfW7p3POCfExH3j67QkjJg dFMg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:mime-version:subject:date:references:to :in-reply-to:message-id; bh=rzID23lkfGdap0N+nzpACX7pKlgpGt40FW73n3kgaOI=; b=PI6LKjS9UQ6jvmPpJC3PyFk6GgmW5hQiQwNLodbGCjj1V2551P5aCYR+T9DVBd/Jo2 URsFRl7UcW7/gDlTXRVBicknYNMYbTqtovpbDcPA16Lqha7lLiORgvm3ECOSbYMVlz9+ eWSxJUfQtEneKjs0lYEI495Ly9u7KQVrNynHsMIIfBHocH3YhAAqtZAGMaRq3z0eknzg hYfoyHEY0mz8tDWC27CRohPp2SsvFBRrq/3LRCDQd9wRkY4Y2Cc2EH/lUMI84Sp92GcQ K1GUB5yTwzBtJD89VDsESTcWtxf6/cJIbJ2aU+mRwOahCXucIbO3JlYy63HFZTvgLZoo jD7g== X-Gm-Message-State: ALQs6tC8m56xW1IVnX0oKgZ2nBE5IRMdLy/doc8riqu8OCgq8S6EJLu1 KILFi1Djbc7pXz4BYkRf9uKdcw== X-Google-Smtp-Source: AB8JxZqPKTGu6pRMCiTK0Pd9RlM1smY5WTmqJClrzvQnvzuNX0aa/PN8xbP4+C1tViPkm90QF5K1kg== X-Received: by 2002:a17:902:b702:: with SMTP id d2-v6mr2737963pls.228.1524959171384; Sat, 28 Apr 2018 16:46:11 -0700 (PDT) Original-Received: from [192.168.1.7] (pl31219.ag0304.nttpc.ne.jp. [111.89.224.243]) by smtp.gmail.com with ESMTPSA id f29sm4281092pff.169.2018.04.28.16.46.10 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sat, 28 Apr 2018 16:46:10 -0700 (PDT) In-Reply-To: <87wowroub1.fsf@gmail.com> X-Mailer: Apple Mail (2.3445.6.18) X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2607:f8b0:400e:c00::22a 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:224938 Archived-At: --Apple-Mail=_1A0EFD98-204F-42D5-9B23-5EE7B2BEABFB Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=us-ascii > On Apr 29, 2018, at 7:11, Noam Postavsky wrote: >=20 >>> I meant just the outer (format "%s%s%s%s" ...) vs (concat ...). Is = that >>> also needed to make strings localizable? If yes, I think adding a >>> comment would be helpful, because it looks a bit unnatural to me. >>=20 >> Oh, you mean (format "%s%s%s%s" ...) vs an eventual (concat = "%s%s%s%s" ...) ? >=20 > Sorry, I was trying to elide the the less relevant parts, but I see = it's > making things less understandable. Let me just spell it out in full: Thank you. I see what you mean and that makes perfect sense. Give me a = few days. >> It there a length limit in emacs code ? >=20 > Um, I thought there was a convention of generally trying to keep = things > within 80 columns, but now I can't find anything saying that. I may > have just been thinking of other non-Emacs projects. But I seem to remember something similar too. Wasn't it in the = documentation strings ? Or the commit messages ? Jean-Christophe Helary ----------------------------------------------- http://mac4translators.blogspot.com @brandelune --Apple-Mail=_1A0EFD98-204F-42D5-9B23-5EE7B2BEABFB Content-Transfer-Encoding: quoted-printable Content-Type: text/html; charset=us-ascii

On Apr 29, 2018, at 7:11, Noam Postavsky <npostavs@gmail.com> = wrote:

I meant just the outer (format "%s%s%s%s" ...) vs (concat = ...).  Is that
also needed to make strings = localizable?  If yes, I think adding a
comment would = be helpful, because it looks a bit unnatural to me.

Oh, you mean (format "%s%s%s%s" = ...) vs an eventual (concat "%s%s%s%s" ...) ?

Sorry, I was trying to elide the = the less relevant parts, but I see it's
making things less = understandable.  Let me just spell it out in full:

Thank = you. I see what you mean and that makes perfect sense. Give me a few = days.

It there a length limit in emacs code ?

Um, I thought there was a = convention of generally trying to keep things
within 80 = columns, but now I can't find anything saying that.  I may
have just been thinking of other non-Emacs projects.

But I = seem to remember something similar too. Wasn't it in the documentation = strings ? Or the commit messages ?


Jean-Christophe Helary
-----------------------------------------------
http://mac4translators.blogspot.com @brandelune


= --Apple-Mail=_1A0EFD98-204F-42D5-9B23-5EE7B2BEABFB--