From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Hongyi Zhao Newsgroups: gmane.emacs.help Subject: Re: Adjust the image size displayed in Emacs comint buffer. Date: Sat, 9 Oct 2021 12:48:41 +0800 Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="1798"; mail-complaints-to="usenet@ciao.gmane.io" To: help-gnu-emacs Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Sat Oct 09 06:49:26 2021 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1mZ4IY-0000Hg-3S for geh-help-gnu-emacs@m.gmane-mx.org; Sat, 09 Oct 2021 06:49:26 +0200 Original-Received: from localhost ([::1]:56046 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mZ4IW-00059p-Le for geh-help-gnu-emacs@m.gmane-mx.org; Sat, 09 Oct 2021 00:49:24 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:57494) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mZ4I4-00059S-LR for help-gnu-emacs@gnu.org; Sat, 09 Oct 2021 00:48:56 -0400 Original-Received: from mail-ua1-x936.google.com ([2607:f8b0:4864:20::936]:43783) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mZ4I2-0007JG-Rc for help-gnu-emacs@gnu.org; Sat, 09 Oct 2021 00:48:56 -0400 Original-Received: by mail-ua1-x936.google.com with SMTP id a2so4034305uaq.10 for ; Fri, 08 Oct 2021 21:48:53 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=mime-version:references:in-reply-to:from:date:message-id:subject:to; bh=bhYoADguChMAayH1oJpQAJb1UFSSkGfV9rjH1wi7MD8=; b=okQdtgMRx5WVAXmUqkEMZ8Wach4bh/qnIQ1nin088hJV7otBxEac3h/+yBgbK3Rizp pYFMznxF084C2tU+HVgrykWzjMLcrDQtPnhflqtF/+CZT9P/yiSsMEPbYeOYTlnBGnu6 2xeS99JsBdZ69DbIunF4s7t3zUj1h9AbcrFCzH+I6Oac1373idxv7rGS1DdBFdyqaRgS b6i0U0680eIKInfuhyqF19wDUF7CAo9twpzEU0JcSjgly/Z0/rQn9+jl++3EILDfpLmu ZWVEACi2JQlGVKIM21MmroXQVDIS8Xx+ORHosJ90dgZfJt+1cMwDj5CzU2iWDXmKqm6q GXfA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to; bh=bhYoADguChMAayH1oJpQAJb1UFSSkGfV9rjH1wi7MD8=; b=5AlyZcw1ioG3tdvj2V4WYzJzvUOKhggw0d9ujk4eD9sdS8A6ItzEiXSXqF4w+yefpd 2AUZsVcSqmMjNCLg1YbGO9QRWMipPTa8R9OHn3J3ZhDVG+0Q+Pm52kVgSefZLvWQ/R/l sCKZKlP4PACVWNTSLu80/FEmD6kK98bVQxUSUu4P7MqfZI4acZ2ugSZTcJMUXwpTGcVI aMVH8wp3yGjjmSVfVaivvGDI1rGYTpbSOgkmZxjgLFEqBRbDm2rbkK8yoicEanhO+7pL SNRA0Ry05QC7iA9v48pgqtH9KoHl+A4jO2teNFlSdDEvEw2npfUb5UwNmxY/MP3tipLI K/6A== X-Gm-Message-State: AOAM532eBHFaCin4Zw2J5+qcXy8oZX8ghJJbLcBhUfZxUFQpVNMRd8jw MDA3mrjLomCPZZq+ez7gb/IY5qaqZG9Qrh3LQwCHVCktPRDLLKbg X-Google-Smtp-Source: ABdhPJzjLsgx4Wn814b89x3+Yt0QPRKg8KXAgNa6Ao6Ug/JgUJZ5gEGfykPEGV11R+E+S1IPY/v6jf7K/3bed5f/0hI= X-Received: by 2002:ab0:53c8:: with SMTP id l8mr7476619uaa.26.1633754932967; Fri, 08 Oct 2021 21:48:52 -0700 (PDT) In-Reply-To: Received-SPF: pass client-ip=2607:f8b0:4864:20::936; envelope-from=hongyi.zhao@gmail.com; helo=mail-ua1-x936.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.23 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-mx.org@gnu.org Original-Sender: "help-gnu-emacs" Xref: news.gmane.io gmane.emacs.help:133660 Archived-At: On Sat, Oct 9, 2021 at 10:23 AM Hongyi Zhao wrote: > > Currently, with the help of comint-mime package [1], I can display the > matplotlib plot and LaTeX formula in Emacs comint buffer, as shown in > the attached image. > > But I want to know how to adjust the image size displayed in Emacs > comint buffer. Any hints will be appreciated. > > [1] https://github.com/astoff/comint-mime Sorry for bothering here. Based on the comments here [1], I find the following commands in Emacs to do the trick: image-increase-size image-decrease-size image-mouse-increase-size image-mouse-decrease-size [1] https://emacs.stackexchange.com/questions/2433/shrink-zoom-scale-images-in-image-mode HZ