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: Can you recommand some good fonts for emacs22 ? Date: Mon, 20 Jul 2009 06:50:44 -0700 Message-ID: References: <87iqipa9l5.fsf@jehiel.elehack.net> <87eitdqyvg.fsf@tux.homenetwork><87iqhnhcq5.fsf@newsguy.com> <8763dnhbbc.fsf@newsguy.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 1248097879 16318 80.91.229.12 (20 Jul 2009 13:51:19 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 20 Jul 2009 13:51:19 +0000 (UTC) To: "'Harry Putnam'" , Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Mon Jul 20 15:51:12 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 1MStGo-0004QP-4e for geh-help-gnu-emacs@m.gmane.org; Mon, 20 Jul 2009 15:51:10 +0200 Original-Received: from localhost ([127.0.0.1]:44506 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MStGn-0001jf-G6 for geh-help-gnu-emacs@m.gmane.org; Mon, 20 Jul 2009 09:51:09 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1MStGR-0001iq-49 for help-gnu-emacs@gnu.org; Mon, 20 Jul 2009 09:50:47 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1MStGM-0001iG-Iu for help-gnu-emacs@gnu.org; Mon, 20 Jul 2009 09:50:46 -0400 Original-Received: from [199.232.76.173] (port=38740 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MStGM-0001iC-7g for help-gnu-emacs@gnu.org; Mon, 20 Jul 2009 09:50:42 -0400 Original-Received: from rcsinet12.oracle.com ([148.87.113.124]:36013 helo=rgminet12.oracle.com) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1MStGL-0002Lt-L6 for help-gnu-emacs@gnu.org; Mon, 20 Jul 2009 09:50:41 -0400 Original-Received: from rgminet15.oracle.com (rcsinet15.oracle.com [148.87.113.117]) by rgminet12.oracle.com (Switch-3.3.1/Switch-3.3.1) with ESMTP id n6KDoELW011647 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Mon, 20 Jul 2009 13:50:15 GMT Original-Received: from abhmt006.oracle.com (abhmt006.oracle.com [141.146.116.15]) by rgminet15.oracle.com (Switch-3.3.1/Switch-3.3.1) with ESMTP id n6KDoaap025032; Mon, 20 Jul 2009 13:50:36 GMT Original-Received: from dradamslap1 (/141.144.232.45) by default (Oracle Beehive Gateway v4.0) with ESMTP ; Mon, 20 Jul 2009 06:50:36 -0700 X-Mailer: Microsoft Office Outlook 11 In-Reply-To: <8763dnhbbc.fsf@newsguy.com> Thread-Index: AcoJKSOnA6nEEkcMRlqy+zzJF492YgAEYlTw X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.5579 X-Source-IP: abhmt006.oracle.com [141.146.116.15] X-Auth-Type: Internal IP X-CT-RefId: str=0001.0A010208.4A64762D.002F:SCFSTAT5015188,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:66246 Archived-At: > Drew, I may have opened my big mouth a bit early above... on a second > try I'm politely prompted to insert a font name/string/regex. > > Not sure what I may have done... to cause the first situation... when > emacs sort of froze I may have pressed or click something to cause the > full screen buffer to expand. Dunno what happened. Sorry for your trouble. > But this time, having loaded icicles, and set icy-mode, it appears to > have destroyed completion at the M-x cmdline. Are you using a window manager or using Emacs just with a terminal? Icicles should work in both cases, but I have no experience with the latter, and the user experience will be different in some ways. In particular, some of the default Icicles key bindings will not work (because those keys are typically not available in a terminal). > For example... there is no completion for M-x icicles- or > Also it apparently expects some specialized name to be inserted. > Things like `*' or `adobe' get the error message: > [no-prefix-completion]. That sounds correct, actually. The prefix for Icicles commands and variables is `icicle-', not `icicles-'. And SPC is self-inserting, by default - it does not perform completion. TAB should perform completion, however. It is font specs (full names, if you like) that are the completion candidates. On my system (Windows), all of the candidates start with `-outline' or `-raster'. When you use TAB, `*' is matched literally, not as a wildcard. If you use S-TAB instead, then `*' is a regexp wildcard, so to match a `*' you need to use, for example, `[*]' or `\*'. However, you can turn off regexp wildcards using `C-`' (during completion) - then, S-TAB does substring completion. In that case, you can type, e.g., `c-*-' to match all font specs that contain that string literally. Example. M-x icicle-font RET Lucida S-TAB That shows all font specs that contain `Lucida'. M-k That erases the minibuffer input. Courier.*normal-14 S-TAB That matches all font specs that have `Courier' followed perhaps by something, followed by `normal-14'. You can type more input to narrow things down. And/or you can cycle among candidates using the Page Up/Down keys (`prior', `next'), with S-TAB, or the up/down arrow keys, with TAB - then RET to choose one. > Your comment: "filter on font description parts" would seem > to indicate some part of font name but I find only something > beginning with '-' works. So a very special part of font name. Me too. All font specs returned by `x-list-fonts', at least on my machine (Windows), begin with `-'. Icicles just uses `x-list-fonts' to get the list of available fonts. Then it makes these available as completion candidates. Your minibuffer input then filters those. If you use TAB to complete, then your input must start with `-', since it must be a completion prefix. If you use S-TAB instead, your input can be just a substring or a regexp to match against the candidates. If you hit TAB or S-TAB with the minibuffer empty, you will see all available fonts. > For example `-' causes all fonts to be listed, while > `adobe' fails to list any and gives the message: > [no-prefix-completion] > > And `-adobe' appears to list all adobe fonts. Yes, that all makes sense. See if my explanation above helps. > But something like `-.*bold' fails. With TAB it should fail, since you don't have a font that has those seven chars as a prefix. But with S-TAB it should succeed, as should just `.*bold'. HTH. If my description doesn't seem to correspond to what you experience, and you think there might be a bug, please use `M-x icicle-report-bug'. Be sure to specify your Emacs version.