help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: adding fonts to font menu?


From: Jesper Harder
Subject: Re: adding fonts to font menu?
Date: Fri, 27 Dec 2002 18:24:11 +0100
User-agent: Gnus/5.090008 (Oort Gnus v0.08) Emacs/21.3.50 (i686-pc-linux-gnu)

plampione@yahoo.com (Peter Lampione) writes:

> Once one finds nice fonts, how does one add them to the menu that 
> pops up when pressing shift-leftbutton?

I think something like this should work:

(add-to-list 'x-fixed-font-alist 
             '("My fonts" 
               ("Andale Mono" 
                "-monotype-andale 
mono-medium-r-normal-*-24-*-*-*-m-*-iso8859-1")
               ("Luxi Mono" 
                "-b&h-luxi mono-medium-r-normal-*-12-*-*-*-m-*-iso8859-1")) 
             t)
>From help-gnu-emacs-bounces@gnu.org  Fri Dec 27 12:30:09 2002
Path: 
shelby.stanford.edu!newsfeed.stanford.edu!syros.belnet.be!news.belnet.be!fr.usenet-edu.net!usenet-edu.net!news.tele.dk!not-for-mail
Newsgroups: gnu.emacs.help
References: <87isxf77bv.fsf@wassern.consult-meyers.com>
From: Jesper Harder <harder@myrealbox.com>
X-Face: ^RrvqCr7c,P$zTR:QED"@h9+BTm-"fjZJJ-3=OU7.)i/K]<.J88}s>'Z_$r;
        <N5ksn~%wJ@2pjF}="tV;FBsdpFarSWA<oYkZsViGf:F^SD-KXhvFxh;~]?)SWm~+u};
        0=x}<vOm&5J+?]yB2d]q4x8\0g7SX
Organization: http://purl.org/harder/
Mail-Copies-To: never
Date: Fri, 27 Dec 2002 18:27:17 +0100
Message-ID: <m3lm2b9xu2.fsf@defun.localdomain>
User-Agent: Gnus/5.090008 (Oort Gnus v0.08) Emacs/21.3.50
 (i686-pc-linux-gnu)
Cancel-Lock: sha1:e+fUGW5cx2cIzSixIHg3ridzfIw=
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Lines: 9
NNTP-Posting-Host: 195.215.96.167
X-Trace: 1041010122 dtext01.news.tele.dk 47424 195.215.96.167
X-Complaints-To: abuse@post.tele.dk
Xref: shelby.stanford.edu gnu.emacs.help:108516
To: help-gnu-emacs@gnu.org
Subject: Re: How to permanently set terminal coding system?
X-BeenThere: help-gnu-emacs@gnu.org
X-Mailman-Version: 2.1b5
Precedence: list
List-Id: Users list for the GNU Emacs text editor <help-gnu-emacs.gnu.org>
List-Help: <mailto:help-gnu-emacs-request@gnu.org?subject=help>
List-Post: <mailto:help-gnu-emacs@gnu.org>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/help-gnu-emacs>,
        <mailto:help-gnu-emacs-request@gnu.org?subject=subscribe>
List-Archive: <http://mail.gnu.org/pipermail/help-gnu-emacs>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/help-gnu-emacs>,
        <mailto:help-gnu-emacs-request@gnu.org?subject=unsubscribe>
X-List-Received-Date: Fri, 27 Dec 2002 17:30:09 -0000

A. L. Meyers <nospam.look@replyto.because.this.is.invalid> writes:

> Currently have to set terminal coding system manually each time I
> start emacs to latin-1.  Which variable must I customize to set this
> permanently, please?

I think:

  (set-terminal-coding-system 'iso-latin-1)
>From help-gnu-emacs-bounces@gnu.org  Fri Dec 27 12:40:11 2002
Path: 
shelby.stanford.edu!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!sn-xit-03!sn-xit-01!sn-post-01!supernews.com!corp.supernews.com!not-for-mail
From: David Masterson <dmaster@synopsys.com>
Newsgroups: gnu.emacs.help
Date: 27 Dec 2002 09:36:30 -0800
Organization: Posted via Supernews, http://www.supernews.com
Message-ID: <u4r8zbbz5.fsf@synopsys.com>
Sender: dmaster@DMASTER-LAP
References: <041220020952400758%ajanta@no.spam>
        <56cfb0e3.0212041458.5eab182a@posting.google.com>
        <x5k7ipl35x.fsf@lola.goethe.zz> <061220020416350201%ajanta@no.spam>
        <slrnav1ed1.ho.smullerin@esb.bbn.com> <m2hedrm4oc.fsf@owlbear.local>
        <071220021155280606%ajanta@no.spam> <5ld6obj8il.fsf@rum.cs.yale.edu>
        <091220021652087216%ajanta@no.spam> <vf3cp5ix2u.fsf@rpc71.cs.man.ac.uk>
        <111220021101520860%ajanta@no.spam> <111220021253524057%ajanta@no.spam>
        <5l65u0i8zj.fsf@rum.cs.yale.edu> <111220022053507599%ajanta@no.spam>
        <87u1hjdwta.fsf@hurd.crasseux.com> <121220021324043990%ajanta@no.spam>
        <m3el8iar9g.fsf@mika.informatik.uni-freiburg.de>
        <171220021132381961%ajanta@no.spam>
        <mailman.343.1040149880.19936.help-gnu-emacs@gnu.org>
        <ulm2ocm2f.fsf@synopsys.com> 
<m3of7gn1qb.fsf@mika.informatik.uni-freiburg.de>
        <u4r98y0ts.fsf@synopsys.com> <x0d6ns6ikf.fsf@ee.ryerson.ca>
        <ubs38hcbz.fsf@synopsys.com> <x0smwkqhkw.fsf@ee.ryerson.ca>
User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.1
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
X-Complaints-To: abuse@supernews.com
Lines: 19
Xref: shelby.stanford.edu gnu.emacs.help:108517
To: help-gnu-emacs@gnu.org
Subject: Re: Software/HD ecology
X-BeenThere: help-gnu-emacs@gnu.org
X-Mailman-Version: 2.1b5
Precedence: list
List-Id: Users list for the GNU Emacs text editor <help-gnu-emacs.gnu.org>
List-Help: <mailto:help-gnu-emacs-request@gnu.org?subject=help>
List-Post: <mailto:help-gnu-emacs@gnu.org>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/help-gnu-emacs>,
        <mailto:help-gnu-emacs-request@gnu.org?subject=subscribe>
List-Archive: <http://mail.gnu.org/pipermail/help-gnu-emacs>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/help-gnu-emacs>,
        <mailto:help-gnu-emacs-request@gnu.org?subject=unsubscribe>
X-List-Received-Date: Fri, 27 Dec 2002 17:40:11 -0000

>>>>> Luis Fernandes writes:

> What I am proposing is for all packages to be compartmentalized, by
> default ("configure; make; make install"), in their own directories
> with version numbers so multiple version of the same package can
> co-exist without conflicts and collisions.

The basic problem with this is that, unless you have a program like
Stow to create the symlink farm, it will require that you modify your
PATH(s) to include the packages that you install.  If you install
*many* packages this way, you could wind up with a *VERY* large PATH
that will break some shells (I know that csh has limitations on some
UNIXes).  Therefore, this shouldn't be the default -- it can be
handled by configure options (like setting "prefix").

-- 
David Masterson                David DOT Masterson AT synopsys DOT com
Sr. R&D Engineer               Synopsys, Inc.
Software Engineering           Sunnyvale, CA
>From help-gnu-emacs-bounces@gnu.org  Fri Dec 27 15:20:09 2002
Path: 
shelby.stanford.edu!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!newsfeed.icl.net!newsfeed.fjserv.net!newsfeed.freenet.de!feed.news.nacamar.de!fu-berlin.de!uni-berlin.de!p5087718a.dip.t-dialin.NET!not-for-mail
From: kai.grossjohann@uni-duisburg.de (Kai =?iso-8859-1?q?Gro=DFjohann?=)
Newsgroups: gnu.emacs.help
Date: Fri, 27 Dec 2002 21:19:03 +0100
Organization: University of Dortmund, Germany
Lines: 11
Message-ID: <847kdvkyfc.fsf@lucy.cs.uni-dortmund.de>
References: <7f477f72.0212261731.364e59fd@posting.google.com>
NNTP-Posting-Host: p5087718a.dip.t-dialin.net (80.135.113.138)
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
X-Trace: fu-berlin.de 1041020354 7984029 80.135.113.138 (16 [73968])
User-Agent: Gnus/5.090008 (Oort Gnus v0.08) Emacs/21.3.50
 (i686-pc-linux-gnu)
Cancel-Lock: sha1:Al3C3EauD+F3FIP3r/zOUFdXmeo=
Xref: shelby.stanford.edu gnu.emacs.help:108518
To: help-gnu-emacs@gnu.org
Subject: Re: Skeleton & Abbrev
X-BeenThere: help-gnu-emacs@gnu.org
X-Mailman-Version: 2.1b5
Precedence: list
List-Id: Users list for the GNU Emacs text editor <help-gnu-emacs.gnu.org>
List-Help: <mailto:help-gnu-emacs-request@gnu.org?subject=help>
List-Post: <mailto:help-gnu-emacs@gnu.org>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/help-gnu-emacs>,
        <mailto:help-gnu-emacs-request@gnu.org?subject=subscribe>
List-Archive: <http://mail.gnu.org/pipermail/help-gnu-emacs>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/help-gnu-emacs>,
        <mailto:help-gnu-emacs-request@gnu.org?subject=unsubscribe>
X-List-Received-Date: Fri, 27 Dec 2002 20:20:09 -0000

tennis_smith@yahoo.com (Tennis Smith) writes:

> So, when I type in _if in a tcl buffer, it should auto-expand to a new 
> "if" statement stub. But, it doesn't do anything. I've turned on abbrev
> mode and skeleton, but it doesn't make any difference.

Hm.  Underscore looks suspicious.  How about you try another abbrev,
such as ifif?  Remember to type whitespace before and after the abbrev.

-- 
Ambibibentists unite!
>From help-gnu-emacs-bounces@gnu.org  Fri Dec 27 15:25:09 2002
Path: 
shelby.stanford.edu!newsfeed.stanford.edu!bloom-beacon.mit.edu!news.telebyte.nl!newsfeed.stueberl.de!fu-berlin.de!uni-berlin.de!p5087718a.dip.t-dialin.NET!not-for-mail
From: kai.grossjohann@uni-duisburg.de (Kai =?iso-8859-1?q?Gro=DFjohann?=)
Newsgroups: gnu.emacs.help
Date: Fri, 27 Dec 2002 21:22:52 +0100
Organization: University of Dortmund, Germany
Lines: 19
Message-ID: <844r8zky8z.fsf@lucy.cs.uni-dortmund.de>
References: <tsl1-557673.10034226122002@newsstand.cit.cornell.edu>
        <tsl1-7FA5DE.10001127122002@newsstand.cit.cornell.edu>
NNTP-Posting-Host: p5087718a.dip.t-dialin.net (80.135.113.138)
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
X-Trace: fu-berlin.de 1041020584 7984029 80.135.113.138 (16 [73968])
User-Agent: Gnus/5.090008 (Oort Gnus v0.08) Emacs/21.3.50
 (i686-pc-linux-gnu)
Cancel-Lock: sha1:O1e0Gnexa3xTwS88+cJHYxP+cGQ=
Xref: shelby.stanford.edu gnu.emacs.help:108519
To: help-gnu-emacs@gnu.org
Subject: Re: Building on OS X
X-BeenThere: help-gnu-emacs@gnu.org
X-Mailman-Version: 2.1b5
Precedence: list
List-Id: Users list for the GNU Emacs text editor <help-gnu-emacs.gnu.org>
List-Help: <mailto:help-gnu-emacs-request@gnu.org?subject=help>
List-Post: <mailto:help-gnu-emacs@gnu.org>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/help-gnu-emacs>,
        <mailto:help-gnu-emacs-request@gnu.org?subject=subscribe>
List-Archive: <http://mail.gnu.org/pipermail/help-gnu-emacs>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/help-gnu-emacs>,
        <mailto:help-gnu-emacs-request@gnu.org?subject=unsubscribe>
X-List-Received-Date: Fri, 27 Dec 2002 20:25:09 -0000

Timothy Larkin <tsl1@cornell.edu> writes:

> The problem has turned out to be the presence in 3 files of the lines
>
> <<<<<<< darwin.h
> =======
>>>>>>>> 1.10
>
> either in sequence or in close proximity.  Any idea why these lines 
> should appear?  They appear, for instance, in <darwin.h>, and I know 
> they are not legal C code.

They are CVS conflict markers.  This happens if you have locally
modified a file and it was also modified in the same region on the
server.

Use "cvs update -C" on the file to discard local changes.
-- 
Ambibibentists unite!
>From help-gnu-emacs-bounces@gnu.org  Fri Dec 27 17:00:19 2002
Path: 
shelby.stanford.edu!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!newsfeed.icl.net!newsfeed.fjserv.net!opentransit.net!wanadoo.fr!proxad.net!proxad.net!feeder2-1.proxad.net!news3-2.free.fr!not-for-mail
Message-ID: <3E0CCD32.90602@free.fr>
Date: Fri, 27 Dec 2002 22:59:14 +0100
From: Oodini <svdbg@free.fr>
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; fr-FR;
        rv:1.0.1) Gecko/20020823 Netscape/7.0
X-Accept-Language: fr-fr, fr
MIME-Version: 1.0
Newsgroups: gnu.emacs.help
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit
Lines: 24
Organization: Guest of ProXad - France
NNTP-Posting-Date: 27 Dec 2002 22:58:16 MET
NNTP-Posting-Host: 212.11.41.211
X-Trace: 1041026296 news3-2.free.fr 22312 212.11.41.211:1871
X-Complaints-To: abuse@proxad.net
Xref: shelby.stanford.edu gnu.emacs.help:108520
To: help-gnu-emacs@gnu.org
Subject: .emacs
X-BeenThere: help-gnu-emacs@gnu.org
X-Mailman-Version: 2.1b5
Precedence: list
List-Id: Users list for the GNU Emacs text editor <help-gnu-emacs.gnu.org>
List-Help: <mailto:help-gnu-emacs-request@gnu.org?subject=help>
List-Post: <mailto:help-gnu-emacs@gnu.org>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/help-gnu-emacs>,
        <mailto:help-gnu-emacs-request@gnu.org?subject=subscribe>
List-Archive: <http://mail.gnu.org/pipermail/help-gnu-emacs>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/help-gnu-emacs>,
        <mailto:help-gnu-emacs-request@gnu.org?subject=unsubscribe>
X-List-Received-Date: Fri, 27 Dec 2002 22:00:19 -0000

Hello,

I am reading "Programmiong with GNU tools", and so I am discovering Unix.

They say in the book that I am supposed to find in my user directory the 
file .emacs. It wasn't there. So I created it and put these lines inside:

(setq c-indent-level 5)
(setq c-continued-statement-offset 5)
(setq c-argdecl-indent 0)
(setq c-brace-offset -5)
(setq c-label-offset -5)

I don't know yet EMacs, but I suppose that with this file, indents must 
be 5 characters when I am in C mode. But that doesn't work...

PLease confirm the supposed behaviour of EMacs with this setup.

-- 
  .      .
  .  .:::.          ###           \|/        `  ___  '
    :(o o):  .     (o o)         (o o)      -  (O o)  -
ooO--(_)--Ooo-ooO--(_)--Ooo-ooO--(_)--Ooo-ooO--(_)--Ooo-


reply via email to

[Prev in Thread] Current Thread [Next in Thread]