unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Matt Hodges <MPHodges@member.fsf.org>
Cc: Nick Roberts <nickrob@snap.net.nz>
Subject: Re: Forward button in help buffer
Date: Thu, 19 May 2005 09:40:51 +0100	[thread overview]
Message-ID: <87r7g3wquk.fsf@warwick.ac.uk> (raw)
In-Reply-To: 17034.43955.796719.313790@farnswood.snap.net.nz

[-- Attachment #1: Type: text/plain, Size: 425 bytes --]

>>>>> 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  <MPHodges@member.fsf.org>

	* faces.el (list-faces-display): Make back button respect optional
	regexp arg.


[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: faces.el patch. --]
[-- Type: text/x-patch, Size: 630 bytes --]

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)))

[-- Attachment #3: Type: text/plain, Size: 142 bytes --]

_______________________________________________
Emacs-devel mailing list
Emacs-devel@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-devel

      parent reply	other threads:[~2005-05-19  8:40 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <17033.32714.752829.223651@farnswood.snap.net.nz>
     [not found] ` <E1DY9ZF-0006sS-5u@fencepost.gnu.org>
2005-05-18  2:42   ` Forward button in help buffer Nick Roberts
2005-05-18 22:45     ` Richard Stallman
2005-05-19  8:40     ` Matt Hodges [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87r7g3wquk.fsf@warwick.ac.uk \
    --to=mphodges@member.fsf.org \
    --cc=nickrob@snap.net.nz \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).