From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: npostavs@users.sourceforge.net Newsgroups: gmane.emacs.bugs Subject: bug#27890: 26.0.50; describe-font does not use Help buffer history Date: Sat, 05 Aug 2017 20:21:37 -0400 Message-ID: <8760e15ywe.fsf@users.sourceforge.net> References: <87ini8b8oz.fsf@lylat> <877eyhwr7q.fsf@lylat> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: blaine.gmane.org 1501978871 9235 195.159.176.226 (6 Aug 2017 00:21:11 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Sun, 6 Aug 2017 00:21:11 +0000 (UTC) User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.2.50 (gnu/linux) Cc: 27890@debbugs.gnu.org To: Alex Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sun Aug 06 02:21:08 2017 Return-path: Envelope-to: geb-bug-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 1de9Jb-0002Aj-RC for geb-bug-gnu-emacs@m.gmane.org; Sun, 06 Aug 2017 02:21:08 +0200 Original-Received: from localhost ([::1]:59242 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1de9Jh-0006gc-Ix for geb-bug-gnu-emacs@m.gmane.org; Sat, 05 Aug 2017 20:21:13 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:42140) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1de9Jb-0006fD-NV for bug-gnu-emacs@gnu.org; Sat, 05 Aug 2017 20:21:08 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1de9JW-0004rG-OY for bug-gnu-emacs@gnu.org; Sat, 05 Aug 2017 20:21:07 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:41225) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1de9JW-0004rA-KU for bug-gnu-emacs@gnu.org; Sat, 05 Aug 2017 20:21:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1de9JW-0000qq-AF for bug-gnu-emacs@gnu.org; Sat, 05 Aug 2017 20:21:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: npostavs@users.sourceforge.net Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 06 Aug 2017 00:21:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 27890 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 27890-submit@debbugs.gnu.org id=B27890.15019788053188 (code B ref 27890); Sun, 06 Aug 2017 00:21:02 +0000 Original-Received: (at 27890) by debbugs.gnu.org; 6 Aug 2017 00:20:05 +0000 Original-Received: from localhost ([127.0.0.1]:43902 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1de9Ib-0000pG-Ap for submit@debbugs.gnu.org; Sat, 05 Aug 2017 20:20:05 -0400 Original-Received: from mail-it0-f66.google.com ([209.85.214.66]:35568) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1de9IZ-0000o2-MS; Sat, 05 Aug 2017 20:20:04 -0400 Original-Received: by mail-it0-f66.google.com with SMTP id v127so3445910itd.2; Sat, 05 Aug 2017 17:20:03 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=sender:from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version; bh=EW8PQx2rBbxHaql6x8hmV9M9kzrSjRpAHYAllJ8TDOk=; b=iPV4OacufPNJNr8z+xwia5SG0CBu2XiCk3ToV5UDhwywJlP0xRGogE/fjd/p6efKWz xOZ7mBrUck4RrCffnqnSO4c/xx81NECG5Fw86MsZeEyZ2N8MXlERyZWzqSWkkfaCTyur zy3oc4dZNQIwljj1X3WgYiI0ozSN6Jra7DRhAfdVmwjiREtdBO9ZLtJ5jYrGmgYQMSU7 /hD6PgMzV6zT1XW446adxB0uqyPFascGOVWDPdD148amYh2/nFFxqK+v1K3G+dU6TnUw Xki5nOOHLCL17Pm2lcS0GGbMOHmePC1WyYGp4sZEEU9C1RhaarX/TuX5Emjq4oRtpbID urgg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:from:to:cc:subject:references:date :in-reply-to:message-id:user-agent:mime-version; bh=EW8PQx2rBbxHaql6x8hmV9M9kzrSjRpAHYAllJ8TDOk=; b=GS6OjKJ9i8WJdno+FkwdIKZvaG3f4uIPxFV1TO9uyNDC6xKXCb4ejktYNlJzQXhumk LtZzUowWXYdPxGII7gcqVTNBDFpFpRkjK8QWf7tBJS9KJxXXWA8XqcIN3XNyC4rr5FGT hbSb6UXc/GiibrNevEL+Hymdgv0m4pzQpOdhMCfVOWdFI9rQJDGcB5HOB4R/MeQmlmzy 7uzsCXNEZVHWn3epCE/kmXogCqjMfjMlicTe3viBexNndPc4ti3vN9YUZetE9w45zYlW QXFZyDitYXP5uiuGACJrAD8ocsEnaUPqh+yCdlSA3lvAlEGOgT/ncDuWT3cULkdT0WBw Ksyw== X-Gm-Message-State: AIVw113n3VEVNuqexsj4NW6N42vC1j5E00Do08mzQ+plKdbTWNaM4Zzw yA8UvhdpWedWMsQW X-Received: by 10.36.152.2 with SMTP id n2mr4202737itd.150.1501978797993; Sat, 05 Aug 2017 17:19:57 -0700 (PDT) Original-Received: from zony ([45.2.119.48]) by smtp.googlemail.com with ESMTPSA id q193sm2320394ioe.58.2017.08.05.17.19.57 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Sat, 05 Aug 2017 17:19:57 -0700 (PDT) In-Reply-To: <877eyhwr7q.fsf@lylat> (Alex's message of "Sat, 05 Aug 2017 17:05:29 -0600") X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 208.118.235.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.org gmane.emacs.bugs:135461 Archived-At: tags 27890 + patch quit Alex writes: > Alex writes: > >> describe-font does not add to the *Help* buffer's history. The [Back] >> button does appear when there is a non-empty history, but going back and >> then forward does not restore the font description. > > Here's a patch for it. > > + (let ((xref-item (list #'describe-font fontname)) [...] > + (help-setup-xref xref-item (called-interactively-p 'interactive)) Looks fine, personally I wouldn't bother introducing that local variable.