all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Xah Lee <xahlee@gmail.com>
To: help-gnu-emacs@gnu.org
Subject: Re: usability problem of emacs describe-mode
Date: Mon, 2 Mar 2009 13:09:12 -0800 (PST)	[thread overview]
Message-ID: <c2d59120-51be-4010-bce9-111168944868@a5g2000pre.googlegroups.com> (raw)
In-Reply-To: mailman.2216.1236009036.31690.help-gnu-emacs@gnu.org

On Mar 2, 7:50 am, "Drew Adams" <drew.ad...@oracle.com> wrote:
> > > Description: http://www.emacswiki.org/emacs/PrettyControlL
>
> > i'm having some problem customize this.
> > Basically, all i want is a single horizontal bar, in complete black,
> > that's about 60 chars long. (which is a bit longer than the default)
>
> > I tried to customize the string, or the font... basically now and then
> > spend some 30 min but can't achieve this.
>
> I'm guessing it would help to get more familiar with the Customize UI, in
> particular for faces. It's not ideal, but it is usable once you are familiar
> with it.
>
> > i use customize-group. Each time, i have to reload pretty-control-l-
> > mode, then call describe-mode again to see.
>
> To see what? You should never need to do that. Have you tried `M-x
> refresh-pretty-control-l'?
>
> > The pp^l string i tried 60 spaces, to make it longer.
> > The pp^l highlight i tried adjust the box, but then i got 2 bars. Then
> > i tried turn off the box and use strick-through... but it became too
> > thin.
>
> Emacs offers no way to change the strike-through thickness, AFAIK. I'm guessing
> (only guessing) that things like strike-through are dependent on the font you
> choose. And perhaps on your platform (?).
>
> > Also, i think when box is off and strike thru is on and string is
> > spaces, it doesn't show the strike thru.
>
> It does for me. Perhaps report an Emacs bug for your version and platform.
>
> > Can you tell me what's the setting to use to get what i want? And,
> > would you consider this as default? i.e. just a simple black
> > horizontal line that's about 60 char long.
>
> 1. Customize face `pp^l-highlight': Remove the boxing.
>
> 2. Customize option `pp^L-^L-string': Use a 60-char string of underline
> characters, e.g. (make-string 60 ?_).
>
> 3. `M-x refresh-pretty-control-l'.
>
> In what way doesn't that give you what you described?
>
> Turn Strike-through or Overline on (also) if you want a double line:
> ==================. Or use a string of spaces, and turn on Underline and/or
> Overline and/or Strike-through. Each of those lines can be colored, etc. Don't
> forget to use the Value Menu to turn these attributes on - it's not enough to
> check the box. This is no different from customizing any face.
>
> I want the default string value to be what it is. It lets users, especially new
> users, clearly recognize a page separator (and not mistake it for something
> else). It's easy to customize it to get something different (once you are
> familiar with Customize ;-)).
>
> The default value practically shouts, "(1) I'm a page separator; (2) I cause
> page separation when you print too; (3) Customize me, if you think I'm ugly".
> About the only thing it doesn't advertize is that you can move among pages (`C-x
> ]' etc.) and otherwise operate on pages.
>
> HTH.

Hi Drew,

Thanks for the help.

It did help. It did help. However, for some reason i'm still getting
problems.

Reproduction steps:

1. M-x customize-group , Pretty-Control-L
2. scroll to “Pp^L ^L String Pre” section. Change the value there to
60 spaces.
3. Uncheck the box. Check the underline. Color maroon.
4. Click Save for future session above.
5. Now, the .emacs shows the following:

(custom-set-faces
  ;; custom-set-faces was added by Custom.
  ;; If you edit it by hand, you could mess it up, so be careful.
  ;; Your init file should contain only one such instance.
  ;; If there is more than one, they won't work right.
 '(completions-first-difference ((t (:inherit bold :foreground
"red"))))
 '(pp^L-highlight ((((type x w32 mac graphic) (class color))
(:underline "maroon"))))
 '(show-paren-match ((((class color) (background light)) (:background
"azure2")))))

(custom-set-variables
;...
 '(pp^L-^L-string
"                                                            •")
 '(pretty-control-l-mode t)
)

However, refresh or restarting emacs it still displays “Section
(Printable Page)”.

This is tested on Carbon emacs and X11 emacs with gtk. Both version
22.x, on the mac.

  Xah
∑ http://xahlee.org/

  parent reply	other threads:[~2009-03-02 21:09 UTC|newest]

Thread overview: 41+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <76fcf833-ad89-44f2-b227-e18295317ca2@p13g2000yqc.googlegroups.com>
2009-02-23 19:14 ` usability problem of emacs describe-mode Zachary Kline
2009-02-23 21:48   ` Xah Lee
2009-02-23 19:27 ` Andreas Politz
2009-02-24 20:36   ` Xah Lee
2009-02-24 23:22     ` Andreas Politz
2009-02-25 19:11       ` Xah Lee
2009-02-23 19:49 ` Tassilo Horn
2009-02-23 21:35 ` Xah Lee
2009-02-24 17:41   ` B. T. Raven
2009-02-24 20:32     ` Xah Lee
2009-02-24 22:48       ` B. T. Raven
2009-02-24 23:31         ` Xah Lee
2009-02-25  8:11   ` Kevin Rodgers
2009-02-25  9:17   ` cmr.Pent
2009-02-25 12:11     ` Sébastien Vauban
2009-02-25 12:58       ` Tassilo Horn
2009-02-25 12:46     ` Tassilo Horn
2009-02-25 15:04     ` Drew Adams
     [not found]     ` <mailman.1767.1235574258.31690.help-gnu-emacs@gnu.org>
2009-02-25 19:30       ` Xah Lee
2009-02-25 19:50         ` Teemu Likonen
     [not found]           ` <e14cdb27-5dcc-4ad4-93ba-81ed6d938b0b@q9g2000yqc.googlegroups.com>
2009-02-26 19:33             ` Improving Emacs (was: usability problem of emacs describe-mode) Teemu Likonen
2009-03-01 23:34               ` Xah Lee
2009-03-02  5:57                 ` Improving Emacs Teemu Likonen
2009-02-26 18:24         ` usability problem of emacs describe-mode Drew Adams
     [not found]         ` <mailman.1878.1235672676.31690.help-gnu-emacs@gnu.org>
2009-02-27  2:21           ` Giorgos Keramidas
     [not found]           ` <fbf7d92c-ae58-4d1b-83b6-d292df8e95a4@u18g2000pro.googlegroups.com>
2009-02-27  8:44             ` cmr.Pent
2009-02-27  9:56               ` Lennart Borgman
2009-02-27  9:46             ` David Kastrup
2009-02-27 15:56             ` Alan Mackenzie
2009-02-27 20:34               ` Xah Lee
2009-02-27 21:32                 ` David Kastrup
2009-02-27 22:24                 ` Xah Lee
2009-02-27 23:55                 ` Lennart Borgman
2009-02-28  0:58                   ` Lennart Borgman
2009-02-28  8:57       ` Xah Lee
2009-02-28 15:47         ` Drew Adams
     [not found]         ` <mailman.2089.1235836078.31690.help-gnu-emacs@gnu.org>
2009-03-02  1:46           ` Xah Lee
2009-03-02 15:50             ` Drew Adams
     [not found]             ` <mailman.2216.1236009036.31690.help-gnu-emacs@gnu.org>
2009-03-02 21:09               ` Xah Lee [this message]
2009-03-02 21:15                 ` Xah Lee
     [not found]   ` <mailman.1728.1235549474.31690.help-gnu-emacs@gnu.org>
2009-02-25 19:13     ` Xah Lee

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

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

  git send-email \
    --in-reply-to=c2d59120-51be-4010-bce9-111168944868@a5g2000pre.googlegroups.com \
    --to=xahlee@gmail.com \
    --cc=help-gnu-emacs@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 external index

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

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.