From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "Drew Adams" Newsgroups: gmane.emacs.help Subject: RE: usability problem of emacs describe-mode Date: Mon, 2 Mar 2009 07:50:50 -0800 Message-ID: <008101c99b4e$a9d8ec90$0200a8c0@us.oracle.com> References: <76fcf833-ad89-44f2-b227-e18295317ca2@p13g2000yqc.googlegroups.com><3c82f009-0676-4e26-bd58-d6b8c1921935@n33g2000pri.googlegroups.com> <8b86b73e-7084-4ca9-b075-a664468b0510@a5g2000pre.googlegroups.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1236009082 14046 80.91.229.12 (2 Mar 2009 15:51:22 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 2 Mar 2009 15:51:22 +0000 (UTC) To: "'Xah Lee'" , Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Mon Mar 02 16:52:38 2009 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1LeARJ-0007WQ-7F for geh-help-gnu-emacs@m.gmane.org; Mon, 02 Mar 2009 16:52:21 +0100 Original-Received: from localhost ([127.0.0.1]:60610 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LeAPy-0000IB-7m for geh-help-gnu-emacs@m.gmane.org; Mon, 02 Mar 2009 10:50:58 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1LeAPa-0000Gi-32 for help-gnu-emacs@gnu.org; Mon, 02 Mar 2009 10:50:34 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1LeAPZ-0000G2-8m for help-gnu-emacs@gnu.org; Mon, 02 Mar 2009 10:50:33 -0500 Original-Received: from [199.232.76.173] (port=50780 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LeAPZ-0000Fz-2S for help-gnu-emacs@gnu.org; Mon, 02 Mar 2009 10:50:33 -0500 Original-Received: from acsinet11.oracle.com ([141.146.126.233]:49062) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1LeAPY-0006V8-GA for help-gnu-emacs@gnu.org; Mon, 02 Mar 2009 10:50:32 -0500 Original-Received: from acsinet13.oracle.com (acsinet13.oracle.com [141.146.126.235]) by acsinet11.oracle.com (Switch-3.3.1/Switch-3.3.1) with ESMTP id n22FoxDb019402 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Mon, 2 Mar 2009 15:51:00 GMT Original-Received: from acsmt702.oracle.com (acsmt702.oracle.com [141.146.40.80]) by acsinet13.oracle.com (Switch-3.3.1/Switch-3.3.1) with ESMTP id n22FoaIE002745; Mon, 2 Mar 2009 15:50:37 GMT Original-Received: from dradamslap1 (/24.5.128.33) by default (Oracle Beehive Gateway v4.0) with ESMTP ; Mon, 02 Mar 2009 15:50:23 +0000 X-Mailer: Microsoft Office Outlook 11 In-reply-to: <8b86b73e-7084-4ca9-b075-a664468b0510@a5g2000pre.googlegroups.com> X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.3350 Thread-Index: AcmbHXJBuTh7enfRQjKi9Aq/e0i2oQALWctQ X-Source-IP: acsmt702.oracle.com [141.146.40.80] X-Auth-Type: Internal IP X-CT-RefId: str=0001.0A010201.49AC0041.0186:SCFSTAT928724,ss=1,fgs=0 X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 1) X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:62526 Archived-At: > > 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.