From triska@gmx.at Sat Jul 19 04:40:13 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=-5.6 required=4.0 tests=AWL,BAYES_00,IMPRONONCABLE_2, MURPHY_DRUGS_REL8,RCVD_IN_DNSWL_MED autolearn=ham version=3.2.3-bugs.debian.org_2005_01_02 Received: (at submit) by emacsbugs.donarmstrong.com; 19 Jul 2008 11:40:14 +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 m6JBe7k6010044 for ; Sat, 19 Jul 2008 04:40:08 -0700 Received: from mail.gnu.org ([199.232.76.166]:43027 helo=mx10.gnu.org) by fencepost.gnu.org with esmtp (Exim 4.67) (envelope-from ) id 1KKAmd-0003oM-VR for emacs-pretest-bug@gnu.org; Sat, 19 Jul 2008 07:39:28 -0400 Received: from Debian-exim by monty-python.gnu.org with spam-scanned (Exim 4.60) (envelope-from ) id 1KKAnD-00035z-6b for emacs-pretest-bug@gnu.org; Sat, 19 Jul 2008 07:40:06 -0400 Received: from mail.gmx.net ([213.165.64.20]:33151) by monty-python.gnu.org with smtp (Exim 4.60) (envelope-from ) id 1KKAnC-00035N-Mv for emacs-pretest-bug@gnu.org; Sat, 19 Jul 2008 07:40:03 -0400 Received: (qmail invoked by alias); 19 Jul 2008 11:40:00 -0000 Received: from chello062178240212.3.14.tuwien.teleweb.at (EHLO mt-computer.local) [62.178.240.212] by mail.gmx.net (mp011) with SMTP; 19 Jul 2008 13:40:00 +0200 X-Authenticated: #4064391 X-Provags-ID: V01U2FsdGVkX1+/meMMr8e/EZ6SC/tLIrqIJwuJ1PKhnMdwzsJ3Wj oE7NczW9fz3iQZ Received: by mt-computer.local (Postfix, from userid 502) id E934599A0AF; Sat, 19 Jul 2008 13:39:38 +0200 (CEST) From: Markus Triska To: emacs-pretest-bug@gnu.org Subject: 23.0.60; editing image files in non-X frames Message-Id: <20080719113938.E934599A0AF@mt-computer.local> Date: Sat, 19 Jul 2008 13:39:38 +0200 (CEST) X-Y-GMX-Trusted: 0 X-FuHaFi: 0.57 X-detected-kernel: by monty-python.gnu.org: Linux 2.6 (newer, 3) When I do "emacs -Q -nw sample.png", I cannot use C-n etc. on the image data. The following patch fixes this. 2008-07-19 Markus Triska * image-mode.el (image-mode): Set image-mode-text-map when image cannot be displayed. diff --git a/lisp/image-mode.el b/lisp/image-mode.el index 5ffbfe1..fb2eaf1 100644 --- a/lisp/image-mode.el +++ b/lisp/image-mode.el @@ -333,13 +333,14 @@ to toggle between display as an image and display as text." (image-mode-setup-winprops) (add-hook 'change-major-mode-hook 'image-toggle-display-text nil t) - (if (and (display-images-p) - (not (image-get-display-property))) - (image-toggle-display) - ;; Set next vars when image is already displayed but local - ;; variables were cleared by kill-all-local-variables - (use-local-map image-mode-map) - (setq cursor-type nil truncate-lines t)) + (if (display-images-p) + (if (not (image-get-display-property)) + (image-toggle-display) + ;; Set next vars when image is already displayed but local + ;; variables were cleared by kill-all-local-variables + (use-local-map image-mode-map) + (setq cursor-type nil truncate-lines t)) + (use-local-map image-mode-text-map)) (run-mode-hooks 'image-mode-hook) (if (display-images-p) (message "%s" (concat From cyd@stupidchicken.com Wed Jul 30 06:35:27 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=-2.2 required=4.0 tests=AWL,BAYES_00, MURPHY_DRUGS_REL8,RCVD_IN_PBL,RCVD_IN_SORBS_DUL,RDNS_DYNAMIC autolearn=no version=3.2.3-bugs.debian.org_2005_01_02 Received: (at 577-done) by emacsbugs.donarmstrong.com; 30 Jul 2008 13:35:28 +0000 Received: from furry (c-24-63-201-57.hsd1.ma.comcast.net [24.63.201.57]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id m6UDZOT8014706 for <577-done@emacsbugs.donarmstrong.com>; Wed, 30 Jul 2008 06:35:26 -0700 Received: by furry (Postfix, from userid 1000) id A0413C054; Wed, 30 Jul 2008 09:35:19 -0400 (EDT) From: Chong Yidong To: Markus Triska Cc: 577-done@debbugs.gnu.org Subject: Re: 23.0.60; editing image files in non-X frames Date: Wed, 30 Jul 2008 09:35:19 -0400 Message-ID: <87iqun8pgo.fsf@stupidchicken.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii > When I do "emacs -Q -nw sample.png", I cannot use C-n etc. on the > image data. The following patch fixes this. Checked in. Thanks. From unknown Sat Jun 21 10:14:52 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: $requester Subject: Internal Control Message-Id: bug archived. Date: Wed, 27 Aug 2008 14:24:06 +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