From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Thierry Volpiatto Newsgroups: gmane.emacs.help Subject: Re: Can you recommand some good fonts for emacs22 ? Date: Mon, 20 Jul 2009 18:13:31 +0200 Organization: ThierryVolpiatto Message-ID: <87ws635o44.fsf@tux.homenetwork> References: <87iqipa9l5.fsf@jehiel.elehack.net> <87eitdqyvg.fsf@tux.homenetwork> <87ab2zhc7x.fsf@newsguy.com> <871vobfv13.fsf@tux.homenetwork> <87skgrfjzw.fsf@newsguy.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1248106848 15732 80.91.229.12 (20 Jul 2009 16:20:48 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 20 Jul 2009 16:20:48 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Mon Jul 20 18:20:41 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 1MSvbT-0008GG-Kh for geh-help-gnu-emacs@m.gmane.org; Mon, 20 Jul 2009 18:20:39 +0200 Original-Received: from localhost ([127.0.0.1]:51267 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MSvbS-00056b-Ra for geh-help-gnu-emacs@m.gmane.org; Mon, 20 Jul 2009 12:20:38 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1MSvb6-00055v-R8 for help-gnu-emacs@gnu.org; Mon, 20 Jul 2009 12:20:16 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1MSvb2-00051z-23 for help-gnu-emacs@gnu.org; Mon, 20 Jul 2009 12:20:16 -0400 Original-Received: from [199.232.76.173] (port=55771 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MSvb1-00051w-UI for help-gnu-emacs@gnu.org; Mon, 20 Jul 2009 12:20:11 -0400 Original-Received: from main.gmane.org ([80.91.229.2]:56274 helo=ciao.gmane.org) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1MSvb1-0004np-8l for help-gnu-emacs@gnu.org; Mon, 20 Jul 2009 12:20:11 -0400 Original-Received: from list by ciao.gmane.org with local (Exim 4.43) id 1MSvat-0000iP-Al for help-gnu-emacs@gnu.org; Mon, 20 Jul 2009 16:20:03 +0000 Original-Received: from 194.77.197-77.rev.gaoland.net ([77.197.77.194]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 20 Jul 2009 16:20:03 +0000 Original-Received: from thierry.volpiatto by 194.77.197-77.rev.gaoland.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 20 Jul 2009 16:20:03 +0000 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 74 Original-X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: 194.77.197-77.rev.gaoland.net Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAwBAMAAAClLOS0AAAAElBMVEUHAwNfJRBVTESlTym0 RB/OwKFivhZqAAAACXBIWXMAAAsSAAALEgHS3X78AAAACXZwQWcAAAAwAAAAMADO7oxXAAABeElE QVQ4y3VTW47CMAyMwwUyTfYfUvG/wfC/ET4B0t7/KmsHurRgXFVVPRm/xglhsRj2+npW98G3+Amp tS5BXxl3SqzcXGRuEyf7n5lPA9jXetNPRhE7EJkzfz8YWnIgBSwW95TK4H79/t4GINKNADWj4PgA DiJX/ZxFDzDXeb4oYMw7kNUvyMzcaj3ioICG4hCKEShkPpwQ49Q05nnkGAQLDFDdExjm0qpowBYA Wi61bDlFU1GW0WbY2dSJYX5ZD2S0AiZL+rPyE19TpMzP2IvNWly+NkuWNgD4pO2oL73IQXoSyVX2 NHna7tgadWRXoCdvf2guqEcvGHqZwE520iRD0/QCYiiTE+U21w1Qxvg6iSp9fbIiDCnSAelDkCVF Vn+HekqXzRybwJ40xF4DMRG6SWGK9G1lYzHSxLYEm05GWbpJCB6A9tb9A3BGn2XdwJbS/WuInj74 4QNF8sVFdP3vl+5tgYp4Ev7fyrfFMkXgElDgV4uV/w8TWEeLCIGJ/AAAACV0RVh0Y3JlYXRlLWRh dGUAMjAwOC0wNS0zMVQyMjoxNDoyMiswMjowMM7uH/IAAAARdEVYdGpwZWc6Y29sb3JzcGFjZQAy LHVVnwAAACB0RVh0anBlZzpzYW1wbGluZy1mYWN0b3IAMngyLDF4MSwxeDFJ+qa0AAAAJXRFWHRt b2RpZnktZGF0ZQAyMDA3LTEwLTI4VDE3OjA4OjQ4KzAxOjAwhqNSRgAAAABJRU5ErkJggg== User-Agent: Gnus/5.110011 (No Gnus v0.11) Emacs/23.1.50 (gnu/linux) Cancel-Lock: sha1:GGVNCzbzUluQy0SJgH2vy+JoTIE= X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6, seldom 2.4 (older, 4) 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:66257 Archived-At: Harry Putnam writes: > Thierry Volpiatto writes: > >> Harry Putnam writes: >> >>>> You can see all the xfonts available in emacs with: >>>> >>>> (x-list-fonts "*") >>> >>> What I get is only a tiny fraction of fonts on the system. >>> 12 are listed. >> >> How did you count the number of fonts found? > > Captured the output of EVAL: (x-list-fonts "*") > ("-sony-fixed-medium-r-normal--24-*-75-75-c-120-jisx0201.1976-0" "-sony-fixed-medium-r-normal--24-*-75-75-c-120-iso8859-1" "-sony-fixed-medium-r-normal--24-*-100-100-c-120-jisx0201.1976-0" "-sony-fixed-medium-r-normal--24-*-100-100-c-120-iso8859-1" "-sony-fixed-medium-r-normal--16-*-75-75-c-80-jisx0201.1976-0" "-sony-fixed-medium-r-normal--16-*-75-75-c-80-iso8859-1" "-sony-fixed-medium-r-normal--16-*-100-100-c-80-jisx0201.1976-0" "-sony-fixed-medium-r-normal--16-*-100-100-c-80-iso8859-1" "-schumacher-clean-medium-r-normal--12-*-75-75-c-60-koi8-r" "-schumacher-clean-medium-r-normal--12-*-75-75-c-60-iso8859-15" "-schumacher-clean-medium-r-normal--12-*-75-75-c-60-iso8859-1" "-schumacher-clean-medium-r-normal--12-*-75-75-c-60-iso10646-1" ...) > > I guess the `...' means a whole herd was elided Put point on "..." and press RET >>> xlsfonts shows 5681 with names beginning `^-' >> >> What is the output of: >> >> (length (x-list-fonts "*")) > >> For me it is 4968. > > Here it's 1287 > > But when the item was introduced into the thread it was presented as a way > to see `all' fonts. All fonts usable in emacs. > Thierry V. wrote in Message-ID: <87eitdqyvg.fsf@tux.homenetwork> > > > You can see all the xfonts available in emacs with: > > > (x-list-fonts "*") > > Did you mean to be used some other way than eval? Anything (and icicle also AFAIK) use this function. If you want a nice display of this list, use one of them. If you don't want to use them, you can print the output of this function with your own function: loop in (x-list-fonts "*") print in current buffer or in a specialized buffer each elements generated by the loop. Don't forget to add a "\n" after each elements to print. > Using completion as Bernardo suggests: >> M-x set-default-font RET TAB TAB > > Does appear to list them all... and with nice newlines. As his name say, set-default-font ... set font, and is not intended to display font, even if you can do it with completion. If you press RET while browsing font like that, you will set a font. If it is a readable font you can come back to your default font, else, you will be good to restart emacs. > > > -- A + Thierry Volpiatto Location: Saint-Cyr-Sur-Mer - France