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

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

Re: Software/HD ecology


From: Luis Fernandes
Subject: Re: Software/HD ecology
Date: 27 Dec 2002 20:02:08 -0500
User-agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.0.106

>>>>> "dmaster" == David Masterson <dmaster@synopsys.com> writes:

    dmaster> The basic problem with this is that, unless you have a
    dmaster> program like Stow to create the symlink farm, it will
    dmaster> require that you modify your PATH(s) to include the
    dmaster> packages that you install.

Only /usr/local/bin needs to be in the user's path. After installing
emacs, I manually make the links from /usr/local/bin to
/usr/local/emacs-21.1/bin.  "make install" can easily make the links
from /usr/local/bin to the actual package directory.

We use this installation policy successfully here. 

Another (unintentional) benefit of this policy is that packages can
be easily migrated to another system (of similar architecture) by
simplying tarring up a single directory and untarring it on the new
system. A colleague wanted my emacs "installation/customizations" on
his GNU/Linux system at home so he just tarred-up
/usr/local/emacs-21.1 ftp'd it home and untarred it, made the symlinks
in /usr/local/bin and was up and running.
>From help-gnu-emacs-bounces@gnu.org  Fri Dec 27 21:50:15 2002
Path: 
shelby.stanford.edu!newsfeed.stanford.edu!cyclone.bc.net!newsfeed.media.kyoto-u.ac.jp!newsfeed.gol.com!203.216.70.8.MISMATCH!not-for-mail
From: Miles Bader <miles@gnu.org>
Newsgroups: gnu.emacs.help
Date: 28 Dec 2002 11:49:48 +0900
Organization: Global Online Japan
Lines: 14
Sender: miles@tc-1-100.kawasaki.gol.ne.jp
Message-ID: <87of76luwj.fsf@tc-1-100.kawasaki.gol.ne.jp>
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> 
<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>
        <mailman.637.1040963855.19936.help-gnu-emacs@gnu.org>
        <x0adirfx0w.fsf@ee.ryerson.ca>
NNTP-Posting-Host: tc-2-189.kawasaki.gol.ne.jp
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
X-Trace: nnrp.gol.com 1041043789 5810 203.216.25.189 (28 Dec 2002 02:49:49
        GMT)
X-Complaints-To: abuse@gol.com
NNTP-Posting-Date: Sat, 28 Dec 2002 02:49:49 +0000 (UTC)
System-Type: i686-pc-linux-gnu
Xref: shelby.stanford.edu gnu.emacs.help:108526
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: Sat, 28 Dec 2002 02:50:15 -0000

Luis Fernandes <elf@ee.ryerson.ca> writes:
> The support is there, but it is not enabled *by default*. I would
> like to see *all* of emacs installed into a *single* directory.

Yes I know you would; but in order for GNU standards to change
(thus confusing and annoying everybody out there used to the current
standard), there has to be a better reason than `I think it's more tidy.'

One _possible_ reason is to make multi-version support easier, but as I
said, packages already do this within the confines of the current standard.

-Miles
-- 
Would you like fries with that?
>From help-gnu-emacs-bounces@gnu.org  Fri Dec 27 22:05:09 2002
Path: 
shelby.stanford.edu!newsfeed.stanford.edu!cyclone.bc.net!newsfeed.media.kyoto-u.ac.jp!newsfeed.gol.com!203.216.70.8.MISMATCH!not-for-mail
From: Miles Bader <miles@gnu.org>
Newsgroups: gnu.emacs.help
Date: 28 Dec 2002 12:02:25 +0900
Organization: Global Online Japan
Lines: 23
Sender: miles@tc-1-100.kawasaki.gol.ne.jp
Message-ID: <87el82lubi.fsf@tc-1-100.kawasaki.gol.ne.jp>
References: <abd2c3b8.0212231054.4eac65ae@posting.google.com>
        <m37kdwfyyj.fsf@latakia.dyndns.org>
NNTP-Posting-Host: tc-2-178.kawasaki.gol.ne.jp
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
X-Trace: nnrp.gol.com 1041044546 6271 203.216.25.178 (28 Dec 2002 03:02:26
        GMT)
X-Complaints-To: abuse@gol.com
NNTP-Posting-Date: Sat, 28 Dec 2002 03:02:26 +0000 (UTC)
System-Type: i686-pc-linux-gnu
Xref: shelby.stanford.edu gnu.emacs.help:108527
To: help-gnu-emacs@gnu.org
Subject: Re: Dumbing down Emacs 21 graphics?
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: Sat, 28 Dec 2002 03:05:09 -0000

ruhl@4dv.net (Robert Uhl <ruhl@4dv.net>) writes:
> Why not simply run it in console mode?  Unlike previous versions, 21
> offers text colours, hilighting &c. in console mode--and it's very
> fast.  The only oddities are things like C <down-arrow> not skipping
> paragraphs in text mode on the console.

There _are_ other advantages to X -- true multiple frames, many more
colors (in most terminals, you can only get 8 or 16 colors) better
integration with X cut/paste, much better font support (multiple
character sets, different sizes), 3D modelines :-), etc.

[I guess there are terminal programs that can display multiple character
sets using e.g. utf-8, but in my experience, they are very `brittle' --
unless you have the fonts on your system set up perfectly, you get
chopped-off CJK characters, etc.  Emacs is much more forgiving.]

It would be nice if there was a single easy-to-use command that turned
off all the X-bandwidth-hog parts of Emacs 21 (can the XIM stuff not be
turned off at runtime?)...

-Miles
-- 
`Life is a boundless sea of bitterness'
>From help-gnu-emacs-bounces@gnu.org  Sat Dec 28 06:05:08 2002
Path: 
shelby.stanford.edu!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!newsfeed.icl.net!newsfeed.fjserv.net!news.tele.dk!news.tele.dk!small.news.tele.dk!fu-berlin.de!uni-berlin.de!p50876b5f.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: Sat, 28 Dec 2002 12:02:20 +0100
Organization: University of Dortmund, Germany
Lines: 39
Message-ID: <847kdu2ypv.fsf@lucy.cs.uni-dortmund.de>
References: <3E0CCD32.90602@free.fr>
NNTP-Posting-Host: p50876b5f.dip.t-dialin.net (80.135.107.95)
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
X-Trace: fu-berlin.de 1041073351 8341845 80.135.107.95 (16 [73968])
User-Agent: Gnus/5.090008 (Oort Gnus v0.08) Emacs/21.3.50
 (i686-pc-linux-gnu)
Cancel-Lock: sha1:DBl/OebuXoKu5A6vAJZzURw9Ai4=
Xref: shelby.stanford.edu gnu.emacs.help:108528
To: help-gnu-emacs@gnu.org
Subject: Re: .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: Sat, 28 Dec 2002 11:05:08 -0000

Oodini <svdbg@free.fr> writes:

> 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

Good!

> and put these lines inside:
>
> (setq c-indent-level 5)

The above variable is for antique Emacsen only.  I don't remember when
this variable was obsoleted, but it must have been in the
mid-nineties.

> (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.

I prefer not to try this antique code...

I suggest that you read the documentation that comes with Emacs.
It's always up to date.  In this case, C-h i access the documentation
browser, then you can TAB your way to the CC mode manual (or use the
cursor keys or the mouse) and hit RET (or middle mouse button) on the
link.  This will take you to the CC mode manual.  It contains a
description of customizing indentation.

Does this help?
-- 
Ambibibentists unite!
>From help-gnu-emacs-bounces@gnu.org  Sat Dec 28 06:10:10 2002
Path: 
shelby.stanford.edu!newsfeed.stanford.edu!logbridge.uoregon.edu!fu-berlin.de!uni-berlin.de!p50876b5f.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: Sat, 28 Dec 2002 12:05:56 +0100
Organization: University of Dortmund, Germany
Lines: 38
Message-ID: <844r8y2yjv.fsf@lucy.cs.uni-dortmund.de>
References: <3E0CED7C.7020002@free.fr>
NNTP-Posting-Host: p50876b5f.dip.t-dialin.net (80.135.107.95)
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
X-Trace: fu-berlin.de 1041073567 8341845 80.135.107.95 (16 [73968])
User-Agent: Gnus/5.090008 (Oort Gnus v0.08) Emacs/21.3.50
 (i686-pc-linux-gnu)
Cancel-Lock: sha1:Q3VlT/3rtKbZVXZk58QHC4PUT3E=
Xref: shelby.stanford.edu gnu.emacs.help:108529
To: help-gnu-emacs@gnu.org
Subject: Re: C formatting
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: Sat, 28 Dec 2002 11:10:10 -0000

Oodini <svdbg@free.fr> writes:

> I ma desesperatly playing in my .emacs with the following statements,
> but no luck:

I suggest to try C-c C-o on the first line that has wrong indentation
and to follow the prompts.  Then hit TAB to reindent the line.  When
you like the indentation, you can use C-x ESC ESC and then M-p/M-n to
retrieve the right c-set-offset statement.  That's what you can put
in the hook, below:

> (setq c-mode-hook
>      (function
>        (lambda ()
>         (setq c-basic-offset 0)
>         (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)
>        )
>      )
> )

This is not a good idea to do, either, as you are overriding old
values for the hook.  Never use setq on a hook.  Always use add-hook
instead.  Here's my suggestion, fill in the missing c-set-offset
statements here:

(defun oodini-c-indent-setup ()
  (setq c-basic-offset 5)
  (c-set-offset ...))
(add-hook 'c-mode-hook 'oodini-c-indent-setup)

You didn't say which version of Emacs you are using.  I'm assuming
Emacs 21.  Probably the above works for Emacs 20, too.
-- 
Ambibibentists unite!
>From help-gnu-emacs-bounces@gnu.org  Sat Dec 28 06:10:10 2002
Path: 
shelby.stanford.edu!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!fu-berlin.de!uni-berlin.de!p50876b5f.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: Sat, 28 Dec 2002 12:07:29 +0100
Organization: University of Dortmund, Germany
Lines: 13
Message-ID: <841y422yha.fsf@lucy.cs.uni-dortmund.de>
References: <041220020952400758%ajanta@no.spam>
        <5ld6obj8il.fsf@rum.cs.yale.edu><vf3cp5ix2u.fsf@rpc71.cs.man.ac.uk>
        <111220021253524057%ajanta@no.spam>
        <5l65u0i8zj.fsf@rum.cs.yale.edu> <111220022053507599%ajanta@no.spam>
        <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>
        <u4r8zbbz5.fsf@synopsys.com> <x0isxfufan.fsf@ee.ryerson.ca>
NNTP-Posting-Host: p50876b5f.dip.t-dialin.net (80.135.107.95)
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
X-Trace: fu-berlin.de 1041073659 8341845 80.135.107.95 (16 [73968])
User-Agent: Gnus/5.090008 (Oort Gnus v0.08) Emacs/21.3.50
 (i686-pc-linux-gnu)
Cancel-Lock: sha1:NhSfqOCuSGEVPQrNAjX30X4fmsA=
Xref: shelby.stanford.edu gnu.emacs.help:108530
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: Sat, 28 Dec 2002 11:10:10 -0000

Luis Fernandes <elf@ee.ryerson.ca> writes:

> Only /usr/local/bin needs to be in the user's path. After installing
> emacs, I manually make the links from /usr/local/bin to
> /usr/local/emacs-21.1/bin.

You will need similar links for the man pages and for the info
files.  (And for info, there is the `dir' file to take care of.)

IMHO, a software isn't fully installed unless its documentation is
also easily accessible.
-- 
Ambibibentists unite!
>From fluca1978@libero.it Sat Dec 28 06:18:36 2002
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.10.13)
        id 18SEzE-000400-00
        for help-gnu-emacs@gnu.org; Sat, 28 Dec 2002 06:18:36 -0500
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.10.13)
        id 18SEzA-0003mg-00
        for help-gnu-emacs@gnu.org; Sat, 28 Dec 2002 06:18:34 -0500
Received: from smtp1.libero.it ([193.70.192.51])
        by monty-python.gnu.org with esmtp (Exim 4.10.13)
        id 18SEz9-0003gt-00
        for help-gnu-emacs@gnu.org; Sat, 28 Dec 2002 06:18:31 -0500
Received: from localhost.localdomain (151.30.137.229) by smtp1.libero.it
        (6.7.015) (authenticated as fluca1978@libero.it)
        id 3E0C71710003F0DD for help-gnu-emacs@gnu.org;
        Sat, 28 Dec 2002 12:18:29 +0100
Content-Type: text/plain;
  charset="iso-8859-15"
From: Luca Ferrari <fluca1978@libero.it>
To: help-gnu-emacs@gnu.org
Date: Sat, 28 Dec 2002 12:18:25 +0000
User-Agent: KMail/1.4.1
MIME-Version: 1.0
Content-Transfer-Encoding: quoted-printable
Message-Id: <200212281218.26283.fluca1978@libero.it>
Subject: semigraphic characters: how to display?
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: Sat, 28 Dec 2002 11:18:37 -0000

Hi,
I've already posted few messages about my problem, but I've not found yet=
 the=20
solution, so I do it again. I've got a problem with semigraphics chars on=
=20
emacs. I want to use the chars of the chars set mule-unicode-2500-33ff, s=
o
I've rewrited my .emacs file to rebind some chars with the special keys=20
f1-f12. When I edit a new file, using those characters, all is displaied=20
right. When I save the file emacs asks me the coding system, I use utf-8 =
and=20
all is ok (i.e. when I reopen the file all the chars are displaied rightl=
y).
Instead if I try to open a file, with semigraphics chars, edited with 'dw=
p'=20
(an editor wordstar compatible) I can't display rightly the semigraphics=20
chars. I've tried some coding system, but I can't never display rightly t=
he=20
characters. Here there's a partial hexdump of the file that I want to ope=
n=20
and display:

0000000   /   M   A   S   C   H   E   R   A  \r  \n  \r  \n   =B1   =B1  =
 =B1
0000000  046457  051501  044103  051105  006501  006412  130412  130661
0000010   =B1   =B1   =B1   =B1   =B1   =B1   =B1   =B1   =B1   =B1   =B1=
   =B1   =B1   =B1   =B1   =B1
0000010  130661  130661  130661  130661  130661  130661  130661  130661
*
0000050   =B1   =B1   =B1   =B1   =B1   =B1   =B1   =B1   =B1   =B1   =B1=
   =B1   =B1  \r  \n   =B1
0000050  130661  130661  130661  130661  130661  130661  006661  130412
0000060   =DA   =C4   =C4   =C4   =C4   =C4   =C4   =C4   =C4   =C4   =C4=
   =C4   =C4   =C4   =C4   =C4
0000060  142332  142304  142304  142304  142304  142304  142304  142304

The files are reletad to dataflex database. Any idea?
Thanks.


--=20
Luca Ferrari,
fluca1978@libero.it





reply via email to

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