From: Nick Roberts <nickrob@snap.net.nz>
Cc: emacs-devel@gnu.org
Subject: Re: Forward button in help buffer
Date: Wed, 18 May 2005 14:42:59 +1200 [thread overview]
Message-ID: <17034.43955.796719.313790@farnswood.snap.net.nz> (raw)
In-Reply-To: <E1DY9ZF-0006sS-5u@fencepost.gnu.org>
> I think this is simply a new feature, not fixing a problem.
Sure, just like Unicode is a new feature.
> Emacs is not incomplete or broken without it.
Navigating the help buffer without a forward button is tedious. This
is a small patch.
> So please save it for after the next release.
You've just said that we're not close to being ready. Then presumably
there will be an extensive pretest period. I can't begin to imagine how
far away the "next release" is.
> But thanks for implementing it. Please do install it once
> the release is out.
Its your choice. I know from experience you won't change your mind, so
how about these two changes:
1) A back button when describe-face is called from list-faces-display
to take it back to the list of faces.
2) Removing hyperlinking in a variable's value. These are
quite frequently inappropriate e.g C-h v <RET> features <RET>,
C-h v <RET> gud-minor-mode <RET>
Nick
*** /home/nick/emacs/lisp/faces.el.~1.306.~ 2005-05-16 23:57:10.000000000 +1200
--- /home/nick/emacs/lisp/faces.el 2005-05-18 11:11:16.000000000 +1200
***************
*** 1184,1189 ****
--- 1184,1190 ----
(save-excursion
(save-match-data
(search-backward face-name)
+ (setq help-xref-stack-item '(list-faces-display))
(help-xref-button 0 'help-customize-face face)))
(let ((beg (point))
(line-beg (line-beginning-position)))
diff -c /home/nick/emacs/lisp/help-fns.el.\~1.66.\~ /home/nick/emacs/lisp/help-fns.el
*** /home/nick/emacs/lisp/help-fns.el.~1.66.~ 2005-03-31 17:28:17.000000000 +1200
--- /home/nick/emacs/lisp/help-fns.el 2005-05-17 23:15:24.000000000 +1200
***************
*** 535,541 ****
(terpri)
(let ((from (point)))
(pp val)
! (help-xref-on-pp from (point))
(if (< (point) (+ from 20))
(delete-region (1- from) from)))))
(terpri)
--- 535,541 ----
(terpri)
(let ((from (point)))
(pp val)
! ; (help-xref-on-pp from (point))
(if (< (point) (+ from 20))
(delete-region (1- from) from)))))
(terpri)
***************
*** 556,562 ****
;; sensible size before prettyprinting. -- fx
(let ((from (point)))
(pp val)
! (help-xref-on-pp from (point))
(if (< (point) (+ from 20))
(delete-region (1- from) from))))))
(terpri))
--- 556,562 ----
;; sensible size before prettyprinting. -- fx
(let ((from (point)))
(pp val)
! ; (help-xref-on-pp from (point))
(if (< (point) (+ from 20))
(delete-region (1- from) from))))))
(terpri))
next parent reply other threads:[~2005-05-18 2:42 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 ` Nick Roberts [this message]
2005-05-18 22:45 ` Forward button in help buffer Richard Stallman
2005-05-19 8:40 ` Matt Hodges
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=17034.43955.796719.313790@farnswood.snap.net.nz \
--to=nickrob@snap.net.nz \
--cc=emacs-devel@gnu.org \
/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).