From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Paul Eggert Newsgroups: gmane.emacs.devel Subject: Re: [Emacs-diffs] master 1a6f595: * src/minibuf.c (read_minibuf): Add a FIXME comment. Date: Tue, 24 Apr 2018 21:09:50 -0700 Organization: UCLA Computer Science Department Message-ID: References: <20180424225022.24335.78516@vcs0.savannah.gnu.org> <20180424225023.4A3C620836@vcs0.savannah.gnu.org> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: quoted-printable X-Trace: blaine.gmane.org 1524629316 14556 195.159.176.226 (25 Apr 2018 04:08:36 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Wed, 25 Apr 2018 04:08:36 +0000 (UTC) User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.7.0 Cc: emacs-devel@gnu.org To: Stefan Monnier Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed Apr 25 06:08:32 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 1fBBjL-0003gc-Of for ged-emacs-devel@m.gmane.org; Wed, 25 Apr 2018 06:08:31 +0200 Original-Received: from localhost ([::1]:33747 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fBBlR-0005L8-2b for ged-emacs-devel@m.gmane.org; Wed, 25 Apr 2018 00:10:41 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:52662) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fBBkk-0005Ji-4v for emacs-devel@gnu.org; Wed, 25 Apr 2018 00:09:59 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fBBkf-0004bE-4j for emacs-devel@gnu.org; Wed, 25 Apr 2018 00:09:58 -0400 Original-Received: from zimbra.cs.ucla.edu ([131.179.128.68]:46620) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1fBBke-0004aN-UC for emacs-devel@gnu.org; Wed, 25 Apr 2018 00:09:53 -0400 Original-Received: from localhost (localhost [127.0.0.1]) by zimbra.cs.ucla.edu (Postfix) with ESMTP id 557ED16009B; Tue, 24 Apr 2018 21:09:51 -0700 (PDT) Original-Received: from zimbra.cs.ucla.edu ([127.0.0.1]) by localhost (zimbra.cs.ucla.edu [127.0.0.1]) (amavisd-new, port 10032) with ESMTP id EuSQl4gQjG6e; Tue, 24 Apr 2018 21:09:50 -0700 (PDT) Original-Received: from localhost (localhost [127.0.0.1]) by zimbra.cs.ucla.edu (Postfix) with ESMTP id 9E13F16009C; Tue, 24 Apr 2018 21:09:50 -0700 (PDT) X-Virus-Scanned: amavisd-new at zimbra.cs.ucla.edu Original-Received: from zimbra.cs.ucla.edu ([127.0.0.1]) by localhost (zimbra.cs.ucla.edu [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id s2df4UIxbC9B; Tue, 24 Apr 2018 21:09:50 -0700 (PDT) Original-Received: from [192.168.1.9] (unknown [47.154.30.119]) by zimbra.cs.ucla.edu (Postfix) with ESMTPSA id 7345C16009B; Tue, 24 Apr 2018 21:09:50 -0700 (PDT) In-Reply-To: Content-Language: en-US X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x [fuzzy] X-Received-From: 131.179.128.68 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:224859 Archived-At: Stefan Monnier wrote: > My guess is that it's because the miniwindow is mostly single-line, so > "prints" usually work better with \n than with LF. I expect that while > there might not be any prin1/print in sight nowadays that probably > hasn't always been the case. I went back to the earliest (circa 1991) minibuf.c in our repository and=20 couldn't see a print1/print there either. Perhaps this dates back to an earlier time when the minibuffer (or at lea= st the=20 minibuffer prompt) couldn't be multiline, so Emacs wanted to output "\n" = rather=20 than an actual newline when prompting or when echoing data. Anyway, I doubt whether the code is needed now, as multiline prompts and = data=20 work just fine now in the minibuffer. I filed a bug report for this (Bug#31251) to give others a chance to comm= ent.