From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Matt Hodges Newsgroups: gmane.emacs.devel Subject: Re: Forward button in help buffer Date: Thu, 19 May 2005 09:40:51 +0100 Message-ID: <87r7g3wquk.fsf@warwick.ac.uk> References: <17033.32714.752829.223651@farnswood.snap.net.nz> <17034.43955.796719.313790@farnswood.snap.net.nz> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" X-Trace: sea.gmane.org 1116496509 28207 80.91.229.2 (19 May 2005 09:55:09 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Thu, 19 May 2005 09:55:09 +0000 (UTC) Cc: Nick Roberts Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu May 19 11:55:00 2005 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1DYhik-0006C1-Is for ged-emacs-devel@m.gmane.org; Thu, 19 May 2005 11:53:39 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1DYhl6-0000KD-4D for ged-emacs-devel@m.gmane.org; Thu, 19 May 2005 05:56:04 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1DYgkJ-00039L-HL for emacs-devel@gnu.org; Thu, 19 May 2005 04:51:12 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1DYgk8-00038h-OF for emacs-devel@gnu.org; Thu, 19 May 2005 04:51:03 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1DYggS-0002MF-MV for emacs-devel@gnu.org; Thu, 19 May 2005 04:47:13 -0400 Original-Received: from [80.91.229.2] (helo=ciao.gmane.org) by monty-python.gnu.org with esmtp (TLS-1.0:RSA_AES_128_CBC_SHA:16) (Exim 4.34) id 1DYgmR-0000WB-LY for emacs-devel@gnu.org; Thu, 19 May 2005 04:53:23 -0400 Original-Received: from list by ciao.gmane.org with local (Exim 4.43) id 1DYgdB-00084I-Js for emacs-devel@gnu.org; Thu, 19 May 2005 10:43:51 +0200 Original-Received: from 137.205.109.5 ([137.205.109.5]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 19 May 2005 10:43:49 +0200 Original-Received: from MPHodges by 137.205.109.5 with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 19 May 2005 10:43:49 +0200 X-Injected-Via-Gmane: http://gmane.org/ Original-To: emacs-devel@gnu.org Original-Lines: 41 Original-X-Complaints-To: usenet@sea.gmane.org X-Gmane-NNTP-Posting-Host: 137.205.109.5 User-Agent: Gnus/5.1007 (Gnus v5.10.7) Emacs/22.0.50 (gnu/linux) Cancel-Lock: sha1:IJAlqSRkgRKmjxVezf8GYdwxb3k= X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:37345 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:37345 --=-=-= >>>>> Nick Roberts writes: > 1) A back button when describe-face is called from > list-faces-display to take it back to the list of faces. As implemented, this doesn't work correctly when list-faces-display is called with a prefix arg, and a regexp specified. Patch attached. Thanks. 2005-05-19 Matt Hodges * faces.el (list-faces-display): Make back button respect optional regexp arg. --=-=-= Content-Type: text/x-patch Content-Disposition: attachment Content-Description: faces.el patch. Index: lisp/faces.el =================================================================== RCS file: /cvsroot/emacs/emacs/lisp/faces.el,v retrieving revision 1.307 diff -u -r1.307 faces.el --- lisp/faces.el 19 May 2005 00:12:37 -0000 1.307 +++ lisp/faces.el 19 May 2005 08:27:29 -0000 @@ -1184,7 +1184,7 @@ (save-excursion (save-match-data (search-backward face-name) - (setq help-xref-stack-item '(list-faces-display)) + (setq help-xref-stack-item `(list-faces-display ,regexp)) (help-xref-button 0 'help-customize-face face))) (let ((beg (point)) (line-beg (line-beginning-position))) --=-=-= Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Emacs-devel mailing list Emacs-devel@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-devel --=-=-=--