From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: =?UTF-8?Q?Gauthier_=C3=96stervall?= Newsgroups: gmane.emacs.help Subject: frame-cmds enlarge-font Date: Fri, 16 Dec 2016 11:04:53 +0100 Message-ID: NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 X-Trace: blaine.gmane.org 1481893563 26752 195.159.176.226 (16 Dec 2016 13:06:03 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Fri, 16 Dec 2016 13:06:03 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Fri Dec 16 14:05:52 2016 Return-path: Envelope-to: geh-help-gnu-emacs@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 1cHsCq-0004h9-Lw for geh-help-gnu-emacs@m.gmane.org; Fri, 16 Dec 2016 14:05:48 +0100 Original-Received: from localhost ([::1]:60389 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cHsCu-0007Xb-Sh for geh-help-gnu-emacs@m.gmane.org; Fri, 16 Dec 2016 08:05:52 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:55021) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cHpOC-0003Bz-Gn for help-gnu-emacs@gnu.org; Fri, 16 Dec 2016 05:05:22 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cHpO9-0000vh-BB for help-gnu-emacs@gnu.org; Fri, 16 Dec 2016 05:05:20 -0500 Original-Received: from mail-wm0-x235.google.com ([2a00:1450:400c:c09::235]:37232) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1cHpO9-0000vI-1r for help-gnu-emacs@gnu.org; Fri, 16 Dec 2016 05:05:17 -0500 Original-Received: by mail-wm0-x235.google.com with SMTP id t79so26571130wmt.0 for ; Fri, 16 Dec 2016 02:05:15 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ostervall-se.20150623.gappssmtp.com; s=20150623; h=mime-version:from:date:message-id:subject:to; bh=nTmRMiqMKqEEidx+IUgx679zRN66QcIrk9WbB8gnZf4=; b=sa+HIykeungD2ecceAorgC+iAacf0Al6bZ6Jxg0EeDE4b5azuP1Yd8w+zqpUChsxQS 9fYovDj28cVw/70bQ3r14kF6VX/EKfjGbCvJHcrM4RiPYHNbvEV0C75E/EQeY/x1HFTS z77eJa3gOJPxC8nqH7JEgacFsSp5InrJ3SO0KVBZs7fdLr5qGfB7E4shvUgEWXcm3cAm RNKjLPUyo6j13IjpeODdMQ+p1f9rmfhDJf2he/9ZzVrZimMODU4GfLCm9fRpHELhX+6v nEBARFRXd7Kyh5iKWOy19owKPQ7/Wg9bB52xyH1VD8DiRA7vPnPp1HBsD/9/ED4oX+PK bgdA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=nTmRMiqMKqEEidx+IUgx679zRN66QcIrk9WbB8gnZf4=; b=l3+GUrgLXPbJsYzgdHNBvxq1eiMACk1ueP7+DfgN7HHOVfEcFbJqsc0jHYJGwM4vkx 9OAjWtOV66Pt/WJ2WxIvX+6b+HlNBc70AQZkF0ddcN6NEBbg8SI5ASNCkOu0jR4gsEax Nn1hJOPVBKYHJjzI3ZSihiFZTakxQ1HQZCWT1C1+lqzNebSxcjR2jjilMwAHFLS74Riz mXHstFjI0cdo4UbCd/lZPFuM3xG9SW9nZsYTt3phwqKKfNkbZAJZyr3LxYnP/krlyuLw Lkj3T+cWbOnZhHZAd8MjRk2RNULxJWDzOP1daH5JGvNI/8Fs3kQkfPgehP8yBGNcIo0f CDVw== X-Gm-Message-State: AIkVDXJQdA78+uku5nNi7JNz+otjBFEH5I/ADGEiWGUrB2p5dnj+HGzaq/13JvmQADInowD488JcoWYL/vdsuA== X-Received: by 10.28.35.14 with SMTP id j14mr2356028wmj.24.1481882713966; Fri, 16 Dec 2016 02:05:13 -0800 (PST) Original-Received: by 10.28.128.86 with HTTP; Fri, 16 Dec 2016 02:04:53 -0800 (PST) X-Originating-IP: [194.218.229.132] X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2a00:1450:400c:c09::235 X-Mailman-Approved-At: Fri, 16 Dec 2016 08:04:51 -0500 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Original-Sender: "help-gnu-emacs" Xref: news.gmane.org gmane.emacs.help:111967 Archived-At: I want the functionality of zoom-frm or default-text-scale (zooming in on all windows of a frame). I installed both via elpa, but none worked. The first zoom worked, then nothing more. A little investigation hints that the problem is with frame-cmds.el, and its function enlarge-font. This seems to relate to an ancient but (#119 and #1562), Emacs 23. I am currently on Emacs 24.4.1 because Debian. There is a comment in frame-cmds.el, with a work-around for this bug. I tested it to no av, but I'm not sure I did it right: - replaced frame-cmds.el function enlarge-font with the work-around. Recompile with (byte-recompile-directory package-user-dir nil 'force), start a new emacs instance. This seems to work better when I call enlarge-font directly, although 1 and -1 as parameters don't always work. zoom-frm's command zoom-in still works only once. For now I will just define my-enlarge-font in my init.el as what is in the comment in frame-cmds.el, and call that directly. It would have been nice to have the extra functionality of zoom-frm, but I'm not sure what the correct way to do that: modify frame-cmds, recompile, make zoom-frm use that.