From unknown Mon Jun 16 23:28:11 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#1161 <1161@debbugs.gnu.org> To: bug#1161 <1161@debbugs.gnu.org> Subject: Status: 23.0.60; Text being added to wrong buffer Reply-To: bug#1161 <1161@debbugs.gnu.org> Date: Tue, 17 Jun 2025 06:28:11 +0000 retitle 1161 23.0.60; Text being added to wrong buffer reassign 1161 emacs submitter 1161 jpff severity 1161 normal thanks From jpff@codemist.co.uk Mon Oct 13 23:33:56 2008 X-Spam-Checker-Version: SpamAssassin 3.2.3-bugs.debian.org_2005_01_02 (2007-08-08) on rzlab.ucr.edu X-Spam-Level: X-Spam-Status: No, score=-4.8 required=4.0 tests=AWL,BAYES_00,FOURLA, FVGT_m_MULTI_ODD,RCVD_IN_DNSWL_MED autolearn=ham version=3.2.3-bugs.debian.org_2005_01_02 Received: (at submit) by emacsbugs.donarmstrong.com; 14 Oct 2008 06:33:56 +0000 Received: from fencepost.gnu.org (fencepost.gnu.org [140.186.70.10]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id m9E6Xq7S026228 for ; Mon, 13 Oct 2008 23:33:53 -0700 Received: from mx10.gnu.org ([199.232.76.166]:37620) by fencepost.gnu.org with esmtp (Exim 4.67) (envelope-from ) id 1KpdRB-0007KZ-DX for emacs-pretest-bug@gnu.org; Tue, 14 Oct 2008 02:31:21 -0400 Received: from Debian-exim by monty-python.gnu.org with spam-scanned (Exim 4.60) (envelope-from ) id 1KpdTY-0001yO-1n for emacs-pretest-bug@gnu.org; Tue, 14 Oct 2008 02:33:51 -0400 Received: from mx20.gnu.org ([199.232.41.8]:39852) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1KpdTX-0001xt-Gd for emacs-pretest-bug@gnu.org; Tue, 14 Oct 2008 02:33:47 -0400 Received: from smarthost03.mail.zen.net.uk ([212.23.3.142]) by mx20.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1KpdTO-0007Yq-5S for emacs-pretest-bug@gnu.org; Tue, 14 Oct 2008 02:33:38 -0400 Received: from [217.155.197.248] (helo=codemist.co.uk) by smarthost03.mail.zen.net.uk with esmtp (Exim 4.63) (envelope-from ) id 1KpdSj-0000cU-S0 for emacs-pretest-bug@gnu.org; Tue, 14 Oct 2008 06:32:58 +0000 Received: from cardew.codemist.co.uk ([172.16.4.17]) by codemist.co.uk with esmtp (Exim 4.69) (envelope-from ) id 1KpdSj-00026R-LY; Tue, 14 Oct 2008 07:32:57 +0100 Received: from jpff by cardew.codemist.co.uk with local (Exim 4.69) (envelope-from ) id 1KpdSc-0001Mj-6o; Tue, 14 Oct 2008 07:32:50 +0100 Date: Tue, 14 Oct 2008 07:32:49 +0100 Message-Id: <4300-Tue14Oct2008073249+0100-jpff@codemist.co.uk> X-Mailer: emacs 23.0.60.2 (via feedmail 8 I) From: jpff To: emacs-pretest-bug@gnu.org Subject: 23.0.60; Text being added to wrong buffer X-Originating-Smarthost03-IP: [217.155.197.248] X-detected-kernel: by mx20.gnu.org: Linux 2.6 (newer, 3) X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6, seldom 2.4 (older, 4) For a long time now I have been using a popup frame for diary reminders (defvar appt-used-frame nil "Frame used for displaying last appointment.") (defun appt-disp-frame (min-to-app new-time appt-msg) "Display appointments in a frame" (if (get-buffer "*Appointments*") (kill-buffer "*Appointments*")) (get-buffer-create "*Appointments*") (set-buffer "*Appointments*") (save-excursion (let ((pos (mouse-pixel-position))) (if (not (frame-live-p appt-used-frame)) (setq appt-used-frame (make-frame '((name . "Appointments") (menu-bar-lines . 1) (minibuffer . nil) (modeline . nil) (height . 5) (width . 80) (top . -2) (left . 1) (scroll-bar-width . 15) (unsplittable . t) (visibility . nil) (border-width . 2))))) ;; (menu-bar-mode -1) (and (eq 'icon (frame-visible-p appt-used-frame)) (make-frame-visible appt-used-frame)) (set-frame-position appt-used-frame 1 -2) (select-frame appt-used-frame) (set-window-buffer (frame-first-window appt-used-frame) (get-buffer-create "*Appointments*")) (goto-char (point-max)) (make-frame-visible) (if (string-lessp emacs-version "22") (progn (insert "--- Appointment in " min-to-app " minutes ---\n\n") (insert appt-msg "\n")) (insert "--- Appointment in " min-to-app " minutes ---\n\n") (insert appt-msg "\n")) (toggle-read-only 1) (set-buffer-modified-p nil) (if appt-audible (beep 1)) (select-frame (car pos)) (set-mouse-pixel-position (car pos) (car (cdr pos)) (cdr (cdr pos)))))) For the last few days sometimes i get a blank popup frame and the text of the appointment appears in another buffer I have open -- and that buffer is changed to read-only. It has actually just happened again as I typed this message. (defun appt-delete-frame () "Remove the appointment frame and buffer" (if (frame-live-p appt-used-frame) (progn (make-frame-invisible appt-used-frame t) (delete-frame appt-used-frame) (setq appt-used-frame nil))) (delete-buffer "*Appointments*") (if appt-audible (beep 1)) ) (setq appt-disp-window-function 'appt-disp-frame) (setq appt-delete-window-function 'appt-delete-frame) This could be a compatability change but I am worried about text appearing in other buffers. In GNU Emacs 23.0.60.2 (i686-pc-linux-gnu, GTK+ Version 2.12.0) of 2008-10-14 on cardew Windowing system distributor `The X.Org Foundation', version 11.0.70200000 Important settings: value of $LC_ALL: nil value of $LC_COLLATE: nil value of $LC_CTYPE: nil value of $LC_MESSAGES: nil value of $LC_MONETARY: nil value of $LC_NUMERIC: nil value of $LC_TIME: nil value of $LANG: en_GB.UTF-8 value of $XMODIFIERS: @im=local locale-coding-system: utf-8-unix default-enable-multibyte-characters: t Major mode: Mail Minor modes in effect: auto-image-file-mode: t show-paren-mode: t display-time-mode: t tooltip-mode: t mouse-wheel-mode: t menu-bar-mode: t file-name-shadow-mode: t global-font-lock-mode: t font-lock-mode: t global-auto-composition-mode: t auto-composition-mode: t auto-encryption-mode: t auto-compression-mode: t line-number-mode: t transient-mark-mode: t abbrev-mode: t Recent input: d d d d SPC d d d d d d d d SPC d d d d d d d d d d d SPC d SPC d d SPC d d d d d d d d d d d d d d d d d d d d SPC d SPC d SPC d d SPC SPC d SPC SPC SPC d d d d t f C-l C-k C-k C-e C-x i . d i r C-v < , C-d C-d C-d C-v C-v C-v C-v > C-c C-c x o C-o C-x C-f S P A 6 C-x C-s C-x o t d SPC SPC SPC SPC SPC SPC d SPC d d d SPC d d s y d s y C-x o C-x k C-_ M-x t o g g r e C-_ C-x C-s C-x C-f m y e C-s f r a n e m e C-x b * m M e M-v C-v C-x o M-m e m C-g M-x r e p o r Recent messages: Saving file /home/jpff/RMAIL... Wrote /home/jpff/RMAIL Buffer is read-only: # Undo! Saving file /home/jpff/SPAM_record... Wrote /home/jpff/SPAM_record Mark saved where search started Auto save file for draft message exists; consider M-x mail-recover Quit Making completion list... [2 times] ==John ffitch From rudalics@gmx.at Tue Oct 14 02:03:51 2008 X-Spam-Checker-Version: SpamAssassin 3.2.3-bugs.debian.org_2005_01_02 (2007-08-08) on rzlab.ucr.edu X-Spam-Level: X-Spam-Status: No, score=-6.7 required=4.0 tests=AWL,BAYES_00,HAS_BUG_NUMBER autolearn=ham version=3.2.3-bugs.debian.org_2005_01_02 Received: (at 1161) by emacsbugs.donarmstrong.com; 14 Oct 2008 09:03:51 +0000 Received: from mail.gmx.net (mail.gmx.net [213.165.64.20]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with SMTP id m9E93lBa031004 for <1161@emacsbugs.donarmstrong.com>; Tue, 14 Oct 2008 02:03:49 -0700 Received: (qmail invoked by alias); 14 Oct 2008 09:03:40 -0000 Received: from 62-47-59-117.adsl.highway.telekom.at (EHLO [62.47.59.117]) [62.47.59.117] by mail.gmx.net (mp059) with SMTP; 14 Oct 2008 11:03:40 +0200 X-Authenticated: #14592706 X-Provags-ID: V01U2FsdGVkX19Xw2lPO6RXx5hI061SaCuPU54cn8ugQZ+Rg+NNyl 3PReLsmU3x8oo1 Message-ID: <48F46023.20005@gmx.at> Date: Tue, 14 Oct 2008 11:02:27 +0200 From: martin rudalics User-Agent: Thunderbird 2.0.0.16 (Windows/20080708) MIME-Version: 1.0 To: jpff CC: 1161@debbugs.gnu.org Subject: Re: bug#1161: 23.0.60; Text being added to wrong buffer References: <4300-Tue14Oct2008073249+0100-jpff@codemist.co.uk> In-Reply-To: <4300-Tue14Oct2008073249+0100-jpff@codemist.co.uk> Content-Type: text/plain; charset=ISO-8859-15; format=flowed Content-Transfer-Encoding: 7bit X-Y-GMX-Trusted: 0 X-FuHaFi: 0.79 > For the last few days sometimes i get a blank popup frame and the text > of the appointment appears in another buffer I have open -- and that > buffer is changed to read-only. It has actually just happened again > as I typed this message. [...] > This could be a compatability change but I am worried about text > appearing in other buffers. When appt-used-frame is a live frame (select-frame appt-used-frame) ends up with the buffer displayed in appt-used-frame's selected window current. That buffer is hardly your Appointments buffer since you killed that a couple of lines above. martin From cyd@stupidchicken.com Thu Oct 16 11:04:37 2008 X-Spam-Checker-Version: SpamAssassin 3.2.3-bugs.debian.org_2005_01_02 (2007-08-08) on rzlab.ucr.edu X-Spam-Level: X-Spam-Status: No, score=-3.9 required=4.0 tests=AWL,BAYES_00 autolearn=ham version=3.2.3-bugs.debian.org_2005_01_02 Received: (at control) by emacsbugs.donarmstrong.com; 16 Oct 2008 18:04:37 +0000 Received: from cyd.mit.edu (CYD.MIT.EDU [18.115.2.24]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id m9GI4Zea010409 for ; Thu, 16 Oct 2008 11:04:36 -0700 Received: by cyd.mit.edu (Postfix, from userid 1000) id 749C357E099; Thu, 16 Oct 2008 14:04:45 -0400 (EDT) From: Chong Yidong To: control@debbugs.gnu.org Subject: close bug Date: Thu, 16 Oct 2008 14:04:44 -0400 Message-ID: <87iqrs1kn7.fsf@cyd.mit.edu> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii close 1182 severity 1163 wishlist close 1161 thanks From geb-bug-gnu-emacs@m.gmane.org Fri Oct 17 22:25:31 2008 X-Spam-Checker-Version: SpamAssassin 3.2.3-bugs.debian.org_2005_01_02 (2007-08-08) on rzlab.ucr.edu X-Spam-Level: X-Spam-Status: No, score=-9.3 required=4.0 tests=AWL,BAYES_00,HAS_BUG_NUMBER, RCVD_IN_DNSWL_MED autolearn=ham version=3.2.3-bugs.debian.org_2005_01_02 Received: (at submit) by emacsbugs.donarmstrong.com; 18 Oct 2008 05:25:32 +0000 Received: from lists.gnu.org (lists.gnu.org [199.232.76.165]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id m9I5PQZc021652 for ; Fri, 17 Oct 2008 22:25:29 -0700 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Kr4Ja-0008Q8-DE for bug-gnu-emacs@gnu.org; Sat, 18 Oct 2008 01:25:26 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Kr4JY-0008Ot-Ef for bug-gnu-emacs@gnu.org; Sat, 18 Oct 2008 01:25:25 -0400 Received: from [199.232.76.173] (port=42852 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Kr4JY-0008Oi-7A for bug-gnu-emacs@gnu.org; Sat, 18 Oct 2008 01:25:24 -0400 Received: from main.gmane.org ([80.91.229.2]:57635 helo=ciao.gmane.org) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1Kr4JY-0001Vh-Ek for bug-gnu-emacs@gnu.org; Sat, 18 Oct 2008 01:25:24 -0400 Received: from list by ciao.gmane.org with local (Exim 4.43) id 1Kr4JO-00034Y-Ls for bug-gnu-emacs@gnu.org; Sat, 18 Oct 2008 05:25:14 +0000 Received: from c-67-161-145-183.hsd1.co.comcast.net ([67.161.145.183]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sat, 18 Oct 2008 05:25:14 +0000 Received: from kevin.d.rodgers by c-67-161-145-183.hsd1.co.comcast.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sat, 18 Oct 2008 05:25:14 +0000 X-Injected-Via-Gmane: http://gmane.org/ To: bug-gnu-emacs@gnu.org From: Kevin Rodgers Subject: Re: bug#1161: 23.0.60; Text being added to wrong buffer Date: Fri, 17 Oct 2008 23:25:10 -0600 Lines: 22 Message-ID: References: <4300-Tue14Oct2008073249+0100-jpff@codemist.co.uk> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: c-67-161-145-183.hsd1.co.comcast.net User-Agent: Thunderbird 2.0.0.17 (Macintosh/20080914) In-Reply-To: <4300-Tue14Oct2008073249+0100-jpff@codemist.co.uk> Sender: news Cc: emacs-pretest-bug@gnu.org X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6, seldom 2.4 (older, 4) jpff wrote: > For a long time now I have been using a popup frame for diary > reminders ... > For the last few days sometimes i get a blank popup frame and the text > of the appointment appears in another buffer I have open -- and that > buffer is changed to read-only. It has actually just happened again > as I typed this message. ... > This could be a compatability change but I am worried about text > appearing in other buffers. I can't comment on the correctness of your code or whether it's exposed a bug, but I'd like to ask: What functionality do you want that is missing from something simple like this: (setq special-display-buffer-names (cons "*Appointments*" special-display-buffer-names)) -- Kevin Rodgers Denver, Colorado, USA From unknown Mon Jun 16 23:28:11 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: $requester Subject: Internal Control Message-Id: bug archived. Date: Sat, 15 Nov 2008 15:24:04 +0000 User-Agent: Fakemail v42.6.9 # A New Hope # A log time ago, in a galaxy far, far away # something happened. # # Magically this resulted in the following # action being taken, but this fake control # message doesn't tell you why it happened # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator