From: Juri Linkov <juri@jurta.org>
Cc: emacs-devel@gnu.org
Subject: Re: describe-bindings: ^L, bad order, naming
Date: Sat, 12 Nov 2005 23:19:44 +0200 [thread overview]
Message-ID: <87ek5lehq3.fsf@jurta.org> (raw)
In-Reply-To: <0985E44C-0765-4503-A1BC-964B15DF8003@gmail.com> (David Reitter's message of "Fri, 11 Nov 2005 21:01:09 +0000")
>> I use (aset standard-display-table ?\f (vconcat (make-vector 64 ?-) "^L"))
>> to display the page delimiter as a horizontal line, and this is
>> very helpful not only in the *Help* buffer, but in other places
>> too, including source code buffers.
>
> This would have global implications, right?
> The idea with an overlay could easily work locally, and it's prettier
> as well.
Yes, this affect everything. Instead of that, in the Help buffer
overlays or text properties could be used locally.
>>> Couldn't there be a list of all groups in the beginning, with links
>>> going to the bindings belonging to the group?
>>
>> Like in the *Help* buffer created by `C-h m'?
>
> Yup. That would be fine.
> Outline mode, as suggested by Eli, is OK only if it doesn't require
> people to know some keys in order to even look up the keys.
By default, Outline mode is harmless and doesn't require to know its
keys to read the Help buffer. Advanced users should know Outline keys
to use it and to hide/show uninteresting parts. So it doesn't harm to set
outline-regexp and enable outline-minor-mode on the Help buffer.
I imagine that code like below could be used to enable Outline minor mode
and to add a horizontal line to page breaks:
(defadvice describe-bindings (after my-describe-bindings activate)
(with-current-buffer "*Help*"
(save-excursion
(let ((inhibit-read-only t))
(goto-char (point-min))
(while (re-search-forward "^\^L$" nil t)
(put-text-property (match-beginning 0) (match-end 0)
'display (concat (make-string 64 ?-) "^L")))))
(set (make-local-variable 'outline-regexp) "^.*:$")
(outline-minor-mode 1)))
--
Juri Linkov
http://www.jurta.org/emacs/
next prev parent reply other threads:[~2005-11-12 21:19 UTC|newest]
Thread overview: 93+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-11-10 20:29 describe-bindings: ^L, bad order, naming David Reitter
2005-11-10 21:27 ` Drew Adams
2005-11-10 21:38 ` Lennart Borgman
2005-11-11 1:03 ` Robert J. Chassell
2005-11-11 2:55 ` Miles Bader
2005-11-11 9:18 ` Kim F. Storm
2005-11-11 7:43 ` David Reitter
2005-11-11 9:05 ` Eli Zaretskii
2005-11-11 10:20 ` Henrik Enberg
2005-11-13 20:54 ` Richard M. Stallman
2005-11-13 22:08 ` Eli Zaretskii
2005-11-13 23:13 ` David Reitter
2005-11-14 0:10 ` Miles Bader
2005-11-14 0:19 ` Lennart Borgman
2005-11-14 4:28 ` Stefan Monnier
2005-11-14 15:35 ` Lennart Borgman
2005-11-15 5:43 ` Richard M. Stallman
2005-11-19 11:25 ` Eli Zaretskii
2005-11-15 3:58 ` Eli Zaretskii
2005-11-14 4:40 ` Eli Zaretskii
2005-11-14 17:48 ` Richard M. Stallman
2005-11-14 18:18 ` Help menu (was: Re: describe-bindings: ^L, bad order, naming) David Reitter
2005-11-15 4:07 ` Eli Zaretskii
2005-11-15 4:11 ` Help menu Juri Linkov
2005-11-15 17:45 ` Eli Zaretskii
2005-11-15 18:07 ` Help menu (was: Re: describe-bindings: ^L, bad order, naming) Richard M. Stallman
2005-11-15 18:19 ` Drew Adams
2005-11-15 18:15 ` Drew Adams
2005-11-16 22:04 ` Richard M. Stallman
2005-11-16 23:29 ` Drew Adams
2005-11-18 17:00 ` Richard M. Stallman
2005-11-18 17:58 ` Drew Adams
2005-11-18 18:21 ` Eli Zaretskii
2005-11-19 23:26 ` Richard M. Stallman
2005-11-19 23:44 ` Drew Adams
2005-11-19 23:26 ` Richard M. Stallman
2005-11-19 23:44 ` Drew Adams
2005-11-16 22:04 ` Richard M. Stallman
2005-11-14 10:45 ` describe-bindings: ^L, bad order, naming Jason Rumney
2005-11-11 8:54 ` Eli Zaretskii
2005-11-11 9:25 ` Eli Zaretskii
2005-11-11 8:51 ` Eli Zaretskii
2005-11-11 18:02 ` Drew Adams
2005-11-11 18:26 ` Eli Zaretskii
2005-11-11 20:47 ` Robert J. Chassell
2005-11-11 8:47 ` Eli Zaretskii
2005-11-11 9:33 ` David Reitter
2005-11-11 10:02 ` Eli Zaretskii
2005-11-11 10:17 ` David Reitter
2005-11-11 18:02 ` Drew Adams
2005-11-11 19:01 ` Eli Zaretskii
2005-11-11 19:10 ` Drew Adams
2005-11-11 20:49 ` Luc Teirlinck
2005-11-11 21:16 ` David Reitter
2005-11-11 21:26 ` Luc Teirlinck
2005-11-11 22:32 ` David Reitter
2005-11-11 22:42 ` Miles Bader
2005-11-11 23:40 ` David Reitter
2005-11-11 21:25 ` Drew Adams
2005-11-12 6:32 ` Eli Zaretskii
2005-11-12 12:28 ` Robert J. Chassell
2005-11-12 12:58 ` David Reitter
2005-11-12 14:28 ` Luc Teirlinck
2005-11-12 19:48 ` Eli Zaretskii
2005-11-12 20:20 ` Miles Bader
2005-11-12 6:25 ` Eli Zaretskii
2005-11-12 13:56 ` Drew Adams
2005-11-11 19:13 ` Lennart Borgman
2005-11-13 20:54 ` Richard M. Stallman
2005-11-11 19:35 ` Juri Linkov
2005-11-11 21:01 ` David Reitter
2005-11-12 21:19 ` Juri Linkov [this message]
2005-11-12 21:41 ` Drew Adams
2005-11-12 21:53 ` Miles Bader
2005-11-12 23:09 ` Drew Adams
2005-11-12 23:23 ` Chong Yidong
2005-11-12 23:35 ` Drew Adams
2005-11-14 4:54 ` Richard M. Stallman
2005-11-14 0:55 ` Juri Linkov
2005-11-13 20:54 ` Richard M. Stallman
2005-11-13 21:16 ` Drew Adams
2005-11-13 21:23 ` Lennart Borgman
2005-11-13 23:06 ` David Reitter
2005-11-15 5:43 ` Richard M. Stallman
2005-12-29 17:11 ` Richard M. Stallman
2005-12-29 18:54 ` Stefan Monnier
2005-12-30 4:56 ` Richard M. Stallman
2005-12-30 5:09 ` Stefan Monnier
2005-12-30 10:39 ` Andreas Schwab
2005-12-30 22:11 ` Richard M. Stallman
2005-11-14 11:59 ` David Reitter
2005-11-14 14:27 ` Drew Adams
2005-11-15 5:43 ` Richard M. Stallman
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=87ek5lehq3.fsf@jurta.org \
--to=juri@jurta.org \
--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).