GNU bug report logs - #65307
29.1; Add variable-pitch-text-mode minor mode (or customization for variable-pitch-mode)

Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.

Package: emacs; Severity: wishlist; Reported by: Rudi Schlatte <rudi@HIDDEN>; dated Tue, 15 Aug 2023 08:45:01 UTC; Maintainer for emacs is bug-gnu-emacs@HIDDEN.
Severity set to 'wishlist' from 'normal' Request was from Stefan Kangas <stefankangas@HIDDEN> to control <at> debbugs.gnu.org. Full text available.

Message received at submit <at> debbugs.gnu.org:


Received: (at submit) by debbugs.gnu.org; 15 Aug 2023 08:44:33 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Tue Aug 15 04:44:33 2023
Received: from localhost ([127.0.0.1]:35001 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1qVpfF-0004T0-Ff
	for submit <at> debbugs.gnu.org; Tue, 15 Aug 2023 04:44:33 -0400
Received: from lists.gnu.org ([2001:470:142::17]:57896)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <rudi@HIDDEN>) id 1qVpfD-0004Sm-6d
 for submit <at> debbugs.gnu.org; Tue, 15 Aug 2023 04:44:32 -0400
Received: from eggs.gnu.org ([2001:470:142:3::10])
 by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <rudi@HIDDEN>)
 id 1qVpf4-0005yN-Tr
 for bug-gnu-emacs@HIDDEN; Tue, 15 Aug 2023 04:44:25 -0400
Received: from out5-smtp.messagingengine.com ([66.111.4.29])
 by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <rudi@HIDDEN>)
 id 1qVpey-00088x-HW
 for bug-gnu-emacs@HIDDEN; Tue, 15 Aug 2023 04:44:22 -0400
Received: from compute1.internal (compute1.nyi.internal [10.202.2.41])
 by mailout.nyi.internal (Postfix) with ESMTP id E466E5C00A8;
 Tue, 15 Aug 2023 04:44:12 -0400 (EDT)
Received: from mailfrontend1 ([10.202.2.162])
 by compute1.internal (MEProxy); Tue, 15 Aug 2023 04:44:12 -0400
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=
 messagingengine.com; h=cc:content-transfer-encoding:content-type
 :content-type:date:date:feedback-id:feedback-id:from:from
 :in-reply-to:message-id:mime-version:reply-to:sender:subject
 :subject:to:to:x-me-proxy:x-me-proxy:x-me-sender:x-me-sender
 :x-sasl-enc; s=fm1; t=1692089052; x=1692175452; bh=7EE3+ygJkNM87
 rY145lXsr/T7GbDeeQX4y1Y8mBukcg=; b=JELBTLoylzLersntXVUlxD1MvkMKo
 SpKJ9xF0IXEwKThdzYdOnlx1CLHZfRHrNoxbbIsPiI6GhEkirkfUvbEcNsNs6w6X
 ngqwfKMU4t9xc2Va+VB/3x/HLHZ+ctRXrXFOX8XyqDkkuz/8eKxxtZnHgdKFrTwO
 gvUPeHjPRmQox+Ox3iBLVvdDIclW++mK6Oi3ldI0w1FFWm8J73kpTdknyEYtGa6G
 M/5Yh4Ayp4v5pjVhLN596lUAu8PR31gbwlO9NQX3kGgNwp+8mlCd6ea/KuaYIf5k
 LGDvwk7DqTJYy61NERsv1wggn2mwKBn4s1zkWgWAr+2zNvEdnXL07OQag==
X-ME-Sender: <xms:3DrbZKD7NiX_gwTqlDPGO_rY4uck3vYzlhWAgBRiTrVyZTAfbdF6ow>
 <xme:3DrbZEj_8D259r0GyHLJCbitsxqv0HvoYo4w0Zc6KXLNHIACYggOPWTaaZQBbwr8C
 rjXINpUQsLOUeb7wQ>
X-ME-Received: <xmr:3DrbZNm5t6ILDm4NtukBqkSGp1ha4HdEb0gMbAnr2OVuTabqjuac7Zjuv4VHV8AMqs0At20PeoegMYe8WMa0Xpa1hFSwhNUHUcC7jDKQZjLK>
X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedviedruddtjedgtdekucetufdoteggodetrfdotf
 fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen
 uceurghilhhouhhtmecufedttdenucenucfjughrpefhtgfgggffuffkvffosehtjehmtd
 hhtddvnecuhfhrohhmpeftuhguihcuufgthhhlrghtthgvuceorhhuughisegtohhnshht
 rghnthhlhidrrghtqeenucggtffrrghtthgvrhhnpeetueevgfekkeegudevveehhfelff
 ethfeiueduhfejieetvdehueehffeggeelfeenucevlhhushhtvghrufhiiigvpedtnecu
 rfgrrhgrmhepmhgrihhlfhhrohhmpehruhguihestghonhhsthgrnhhtlhihrdgrth
X-ME-Proxy: <xmx:3DrbZIyDIiAKq7X3OMM6TObQxiAoOBtWVSXaIEx_x6pQtErRK8_33A>
 <xmx:3DrbZPSONZpJS_mU-F7VtKp8a9qJ8h8XlPcXaywTTS2oe4k6RowGxQ>
 <xmx:3DrbZDayE6kZRrQfP9GsacqY7Lht9WAJM0HAlpki3eCop0cV2cML8A>
 <xmx:3DrbZCPTyrfB6B7BU31pdryAW91fxp1Cim1PQinwCfnuDXOG8UKnKQ>
Feedback-ID: i5b4840b3:Fastmail
Received: by mail.messagingengine.com (Postfix) with ESMTPA; Tue,
 15 Aug 2023 04:44:11 -0400 (EDT)
From: Rudi Schlatte <rudi@HIDDEN>
Content-Type: text/plain;
	charset=us-ascii
Content-Transfer-Encoding: 7bit
Mime-Version: 1.0 (Mac OS X Mail 16.0 \(3731.700.6\))
Date: Tue, 15 Aug 2023 10:43:59 +0200
Subject: 29.1; Add variable-pitch-text-mode minor mode (or customization for 
 variable-pitch-mode)
Message-Id: <3D95C5FB-E06E-438E-8E02-D7AE5B39EC20@HIDDEN>
To: bug-gnu-emacs@HIDDEN
X-Mailer: Apple Mail (2.3731.700.6)
Received-SPF: none client-ip=66.111.4.29; envelope-from=rudi@HIDDEN;
 helo=out5-smtp.messagingengine.com
X-Spam_score_int: -25
X-Spam_score: -2.6
X-Spam_bar: --
X-Spam_report: (-2.6 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1,
 DKIM_VALID=-0.1, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H5=0.001,
 RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_PASS=-0.001,
 SPF_NONE=0.001 autolearn=ham autolearn_force=no
X-Spam_action: no action
X-Spam-Score: 0.0 (/)
X-Debbugs-Envelope-To: submit
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.0 (-)

Hello,

Emacs 29.1 added the face `variable-pitch-text`, which looks nicer when
combined with fixed-width text in a buffer.  This happens for example in
org-mode buffers that contain both text and code snippets.

The existing minor mode `variable-pitch-mode` uses the face
`variable-pitch`.  It would be nice to either have a
`variable-pitch-text-mode` minor mode, or a customization that lets the
user choose between the `variable-pitch` and `variable-pitch-text` faces
for `variable-pitch-mode`.

`variable-pitch-text-mode` can be trivially defined by copy-and-pasting
`variable-pitch-mode` in face-remap.el:

(defun variable-pitch-text-mode (&optional arg)
  "Variable-pitch-text default-face mode.
An interface to `buffer-face-mode' which uses the `variable-pitch-text' face.
Besides the choice of face, it is the same as `variable-pitch-mode'."
  (interactive (list (or current-prefix-arg 'toggle)))
  (buffer-face-mode-invoke 'variable-pitch-text (or arg t)
			   (called-interactively-p 'interactive)))





Acknowledgement sent to Rudi Schlatte <rudi@HIDDEN>:
New bug report received and forwarded. Copy sent to bug-gnu-emacs@HIDDEN. Full text available.
Report forwarded to bug-gnu-emacs@HIDDEN:
bug#65307; Package emacs. Full text available.
Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.
Last modified: Sat, 2 Sep 2023 16:45:01 UTC

GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997 nCipher Corporation Ltd, 1994-97 Ian Jackson.