From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Ted Zlatanov Newsgroups: gmane.emacs.devel Subject: Re: unsolicited patch to image-mode.el -- "fit to window" Date: Wed, 19 Aug 2015 10:17:23 -0400 Organization: =?utf-8?B?0KLQtdC+0LTQvtGAINCX0LvQsNGC0LDQvdC+0LI=?= @ Cienfuegos Message-ID: <87h9nvnz0s.fsf@lifelogs.com> References: <37018.1437673953@greg-minshalls-mbp.local> Reply-To: emacs-devel@gnu.org NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1439995785 1286 80.91.229.3 (19 Aug 2015 14:49:45 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 19 Aug 2015 14:49:45 +0000 (UTC) To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed Aug 19 16:49:37 2015 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1ZS4g9-0007au-6M for ged-emacs-devel@m.gmane.org; Wed, 19 Aug 2015 16:49:25 +0200 Original-Received: from localhost ([::1]:57662 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZS4g8-0003nS-I8 for ged-emacs-devel@m.gmane.org; Wed, 19 Aug 2015 10:49:24 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:44826) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZS4Dy-0007YQ-Fu for emacs-devel@gnu.org; Wed, 19 Aug 2015 10:20:23 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZS4Dv-0007JP-8k for emacs-devel@gnu.org; Wed, 19 Aug 2015 10:20:18 -0400 Original-Received: from plane.gmane.org ([80.91.229.3]:57580) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZS4Dv-0007J8-2n for emacs-devel@gnu.org; Wed, 19 Aug 2015 10:20:15 -0400 Original-Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1ZS4Dk-000054-DO for emacs-devel@gnu.org; Wed, 19 Aug 2015 16:20:04 +0200 Original-Received: from c-98-229-61-72.hsd1.ma.comcast.net ([98.229.61.72]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 19 Aug 2015 16:20:04 +0200 Original-Received: from tzz by c-98-229-61-72.hsd1.ma.comcast.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 19 Aug 2015 16:20:04 +0200 X-Injected-Via-Gmane: http://gmane.org/ Mail-Followup-To: emacs-devel@gnu.org Original-Lines: 12 Original-X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: c-98-229-61-72.hsd1.ma.comcast.net X-Face: bd.DQ~'29fIs`T_%O%C\g%6jW)yi[zuz6; d4V0`@y-~$#3P_Ng{@m+e4o<4P'#(_GJQ%TT= D}[Ep*b!\e,fBZ'j_+#"Ps?s2!4H2-Y"sx" Mail-Copies-To: never User-Agent: Gnus/5.130012 (Ma Gnus v0.12) Emacs/25.0.50 (gnu/linux) Cancel-Lock: sha1:rJZiuLwG12UvMcljGYSeafw6Fl0= X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 80.91.229.3 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.14 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-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:188954 Archived-At: On Thu, 23 Jul 2015 20:52:33 +0300 Greg Minshall wrote: GM> this patch adds a 'fit-window option to the Image menu when viewing GM> images, which resizes the image (maintaining its aspect ratio) to GM> fit within both the height and width of the containing window. This is useful, thank you for writing it. Do you think a default keyboard shortcut might be a good idea for this command? I'd find it useful; the shorter the better (but I don't know if it's possible to make it a single character without breaking other tools). Ted