From unknown Sat Aug 09 15:55:45 2025 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Mailer: MIME-tools 5.509 (Entity 5.509) Content-Type: text/plain; charset=utf-8 From: bug#19859 <19859@debbugs.gnu.org> To: bug#19859 <19859@debbugs.gnu.org> Subject: Status: 25.0.50; [PATCH] calendar/solar.el (sunrise-sunset): Remove temp-buffer output. Reply-To: bug#19859 <19859@debbugs.gnu.org> Date: Sat, 09 Aug 2025 22:55:45 +0000 retitle 19859 25.0.50; [PATCH] calendar/solar.el (sunrise-sunset): Remove t= emp-buffer output. reassign 19859 emacs submitter 19859 Mark Oteiza severity 19859 wishlist tag 19859 patch thanks From debbugs-submit-bounces@debbugs.gnu.org Fri Feb 13 17:05:38 2015 Received: (at submit) by debbugs.gnu.org; 13 Feb 2015 22:05:38 +0000 Received: from localhost ([127.0.0.1]:42322 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1YMOMj-0006uT-Qr for submit@debbugs.gnu.org; Fri, 13 Feb 2015 17:05:38 -0500 Received: from eggs.gnu.org ([208.118.235.92]:54816) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1YMOMh-0006uF-OT for submit@debbugs.gnu.org; Fri, 13 Feb 2015 17:05:36 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YMOMb-0002xM-Is for submit@debbugs.gnu.org; Fri, 13 Feb 2015 17:05:30 -0500 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-0.0 required=5.0 tests=BAYES_40 autolearn=disabled version=3.3.2 Received: from lists.gnu.org ([2001:4830:134:3::11]:33264) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YMOMb-0002xI-FN for submit@debbugs.gnu.org; Fri, 13 Feb 2015 17:05:29 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:56532) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YMOMa-0002Pc-Al for bug-gnu-emacs@gnu.org; Fri, 13 Feb 2015 17:05:29 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YMOMX-0002w4-5O for bug-gnu-emacs@gnu.org; Fri, 13 Feb 2015 17:05:28 -0500 Received: from mail-qa0-f47.google.com ([209.85.216.47]:43268) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YMOMX-0002w0-19 for bug-gnu-emacs@gnu.org; Fri, 13 Feb 2015 17:05:25 -0500 Received: by mail-qa0-f47.google.com with SMTP id v10so14580729qac.6 for ; Fri, 13 Feb 2015 14:05:24 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:subject:date:message-id:mime-version :content-type; bh=V6TBQMiXoPrtfrAxnt3/5xSoBY6WfQYwKKY1MchKTeM=; b=ErKnBSFokcxLuBhhc7F922Te4HgzQG3h+4SHM7GLO0lUgPUpDi053a9jmguROIOxWW ycYmzhe5JPiIh7VxJ4S4gUHUXTsRBC2m+U8U78+avm2+XoeOjZ7M8DE47kgZrYRnmp5g ZJu+uzLnoTjYeEjqeqo3Z2mwcuM9jImvmmA/tyQvCpxlntouvb752Trb3z7E4SrFkmgP RLRVeS7LWNMP96zyZxr01noRkqd7yaBf85YdmWENxZhaP3rWv+Jz6XnBLc6ns+8QCDEx 6lfGwRAHiBettfXuitQrGnxiNMcYQCcaKTYhTyabbZS3jzyUkk41JOYlipst19OYopoQ HXpQ== X-Gm-Message-State: ALoCoQkeGqkeKNWPdZMZkQu0U+kr6zv6KRJwk2Zy4X2TSO26wNy+4YjZnXRMPBf/vrZ2vDfWsasX X-Received: by 10.140.102.82 with SMTP id v76mr28131093qge.32.1423865122388; Fri, 13 Feb 2015 14:05:22 -0800 (PST) Received: from holos (c-73-163-124-41.hsd1.md.comcast.net. [73.163.124.41]) by mx.google.com with ESMTPSA id 103sm8106150qgg.11.2015.02.13.14.05.21 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 13 Feb 2015 14:05:22 -0800 (PST) From: Mark Oteiza To: bug-gnu-emacs@gnu.org Subject: 25.0.50; [PATCH] calendar/solar.el (sunrise-sunset): Remove temp-buffer output. Date: Fri, 13 Feb 2015 17:05:20 -0500 Message-ID: <87h9upcvrz.fsf@udel.edu> MIME-Version: 1.0 Content-Type: text/plain X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] [fuzzy] X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2001:4830:134:3::11 X-Spam-Score: -5.0 (-----) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -5.0 (-----) --- lisp/ChangeLog | 4 ++++ lisp/calendar/solar.el | 16 ++-------------- 2 files changed, 6 insertions(+), 14 deletions(-) Having a temp buffer pop up for something that isn't going to be more than two lines (wrapped) in the echo area is pretty annoying. It doesn't make much sense either that the output in the temp buffer is split over two lines, so now one has two lines of output in a new buffer instead of just the minibuffer, and now one has to hit keys (do work) to make the buffer go away. diff --git a/lisp/ChangeLog b/lisp/ChangeLog index 030d572..3a7f27d 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog @@ -1,3 +1,7 @@ +2015-02-13 Mark Oteiza + + * calendar/solar.el (sunrise-sunset): Remove temp-buffer output. + 2015-02-13 Artur Malabarba * emacs-lisp/package.el (package--compatibility-table): New var. diff --git a/lisp/calendar/solar.el b/lisp/calendar/solar.el index 46cd8d3..9e6bc5e 100644 --- a/lisp/calendar/solar.el +++ b/lisp/calendar/solar.el @@ -847,20 +847,8 @@ This function is suitable for execution in an init file." (date (if (< arg 4) (calendar-current-date) (calendar-read-date))) (date-string (calendar-date-string date t)) (time-string (solar-sunrise-sunset-string date)) - (msg (format "%s: %s" date-string time-string)) - (one-window (one-window-p t))) - (if (<= (length msg) (frame-width)) - (message "%s" msg) - (with-output-to-temp-buffer "*temp*" - (princ (concat date-string "\n" time-string))) - (message "%s" - (substitute-command-keys - (if one-window - (if pop-up-windows - "Type \\[delete-other-windows] to remove temp window." - "Type \\[switch-to-buffer] RET to remove temp window.") - "Type \\[switch-to-buffer-other-window] RET to restore old \ -contents of temp window.")))))) + (msg (format "%s: %s" date-string time-string))) + (message "%s" msg))) ;;;###cal-autoload (defun calendar-sunrise-sunset (&optional event) -- 2.3.0 From debbugs-submit-bounces@debbugs.gnu.org Fri Feb 20 01:25:16 2015 Received: (at 19859-done) by debbugs.gnu.org; 20 Feb 2015 06:25:16 +0000 Received: from localhost ([127.0.0.1]:49064 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1YOh1W-0007Hd-BZ for submit@debbugs.gnu.org; Fri, 20 Feb 2015 01:25:15 -0500 Received: from fencepost.gnu.org ([208.118.235.10]:56342) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1YOh1P-0007HQ-Bg for 19859-done@debbugs.gnu.org; Fri, 20 Feb 2015 01:25:08 -0500 Received: from rgm by fencepost.gnu.org with local (Exim 4.71) (envelope-from ) id 1YOh1O-0003yT-Km; Fri, 20 Feb 2015 01:25:06 -0500 From: Glenn Morris To: 19859-done@debbugs.gnu.org Subject: Re: bug#19859: 25.0.50; [PATCH] calendar/solar.el (sunrise-sunset): Remove temp-buffer output. References: <87h9upcvrz.fsf@udel.edu> X-Spook: IMF MD5 Semtex emc Taiwan Blowfish fundamentalist Majic X-Ran: ?_B>}_dD63 (Mark Oteiza's message of "Fri, 13 Feb 2015 17:05:20 -0500") Message-ID: User-Agent: Gnus (www.gnus.org), GNU Emacs (www.gnu.org/software/emacs/) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Spam-Score: -5.0 (-----) X-Debbugs-Envelope-To: 19859-done X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -5.0 (-----) Version: 25.1 Fair enough; I applied something along those lines, thanks. From unknown Sat Aug 09 15:55:45 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Fri, 20 Mar 2015 11:24:03 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator