[Top][All Lists]

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

Re: Setting Group Ownership

From: Tim Haynes
Subject: Re: Setting Group Ownership
Date: Thu, 12 Dec 2002 14:15:06 +0000
User-agent: Gnus/5.090008 (Oort Gnus v0.08) Emacs/21.2 (i386-debian-linux-gnu)

"CarlC" <address@hidden> writes:

> "Tim Haynes" <address@hidden> wrote in message
> news:address@hidden
>> While I'm passing: is there some reason that asserting the setgid bit on
>> the directory would be a bad idea?
> Since you asked, Tim...Yes. This goes back to a design from my younger
> unix days. Actual users are running as client logins and the files are
> owned by these pseudo-users. I have an environment variable that contains
> the actual user. I want to set the group id of a file to reflect who
> actually changed this client's file. This is why just fixing it to the
> directory's group id is not what I want.

Ah, OK, I think I understand :)

> I have this process working, now. Thanks to all who helped me.

Goodie :8)

I never knew that the                       |address@hidden
light of ages breaks the way before us      |
>From address@hidden  Thu Dec 12 09:55:09 2002
From: Phillip Lord <address@hidden>
Newsgroups: comp.sys.mac.apps,comp.sys.mac.advocacy,comp.text.tex,
Date: 12 Dec 2002 14:50:19 +0000
Organization: BIOSCI/MRC Human Genome Mapping Project Resource Centre
Lines: 49
Sender: address@hidden
Message-ID: <address@hidden>
References: <address@hidden>
        <address@hidden> <address@hidden>
        <address@hidden> <address@hidden>
        <address@hidden> <address@hidden>
        <address@hidden> <address@hidden>
        <address@hidden> <address@hidden>
        <address@hidden> <address@hidden>
        <address@hidden> <address@hidden>
Mime-Version: 1.0
Content-Type: text/plain; charset=iso-8859-1
Content-Transfer-Encoding: 8bit
X-Trace: 1039704620 339 (12 Dec 2002
        14:50:20 GMT)
X-Complaints-To: address@hidden
NNTP-Posting-Date: Thu, 12 Dec 2002 14:50:20 +0000 (UTC)
User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.2.93
Xref: comp.sys.mac.apps:348709
        comp.sys.mac.advocacy:917497 comp.text.tex:237985
To: address@hidden
Subject: Re: Software/HD ecology
X-BeenThere: address@hidden
X-Mailman-Version: 2.1b5
Precedence: list
List-Id: Users list for the GNU Emacs text editor <>
List-Help: <mailto:address@hidden>
List-Post: <mailto:address@hidden>
List-Subscribe: <>,
List-Archive: <>
List-Unsubscribe: <>,
X-List-Received-Date: Thu, 12 Dec 2002 14:55:09 -0000

>>>>> "Anil" == Anil Trivedi <address@hidden> writes:

  Anil> Stefan Monnier wrote:

  >> As maintainers, it's in our own interest to keep things
  >> uncluttered, so we strive to find some logic to things such that
  >> we can organize our files and keep files in their logical
  >> place...I don't claim that the current arrangement is perfect,
  >> but it takes time and energy to think about how to make it better
  >> and to fix the various places where things aren't consistent and
  >> logical, so help is most welcome.

  Anil> Kai Gro_johann wrote:

  >> Writing these few extra lines is a LOT of work. Most important of
  >> all, it's not clear what to delete.  There would be *endless*
  >> arguments about which files to remove and which files to keep.
  >> Emacs consists of 2297 files (on my system), it's very difficult
  >> to untangle dependencies on them.

  Anil> 2. Once the program compiles, and works fine, the user should
  Anil>    be able
  Anil> to delete all files that were needed in compiling but will not
  Anil> be needed in running it, or in uninstalling it.

I think Kai's example showed the problem with this. 

Personally I find an emacs without the .el files half baked. The
reason for this is that I read the .el source as a form of
documentation. Clearly this makes me a specialist user, but none the
less a user. Similarly the hyper links in command documentation will
not work with source, as there is no source to jump to.

The M-x finder-commentary example shows that even non programming
users may need the source to get all the functionality that they
require. Of course it would be possible to ensure that the commentary
was copied into the .elc file, or alternatively, it could be cut out,
and kept, so that you could still view it even when the .el files were

The core problem is that the Emacs is a lisp interpreter. The
distinction between "files required for compiling" and "files required
for running" is not clear with lisp as it is with C, for instance. My
own feeling is that binary distributions of emacs should always
include .el files, but not the C source for the lisp
interpreter. Which is what Emacs's own makefile installs. 

>From address@hidden  Thu Dec 12 10:15:12 2002
From: Galen Boyer <address@hidden>
Date: 12 Dec 2002 09:12:15 -0600
Lines: 19
Sender: address@hidden
Message-ID: <address@hidden>
References: <address@hidden>
Original-Sender: address@hidden
User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.2
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
To: address@hidden
Subject: Re: GNU Emacs under Windows 2000: .emacs file
X-BeenThere: address@hidden
X-Mailman-Version: 2.1b5
Precedence: list
List-Id: Users list for the GNU Emacs text editor <>
List-Help: <mailto:address@hidden>
List-Post: <mailto:address@hidden>
List-Subscribe: <>,
List-Archive: <>
List-Unsubscribe: <>,
X-List-Received-Date: Thu, 12 Dec 2002 15:15:12 -0000

On 12 Dec 2002, address@hidden wrote:
> I installed the Win2K version of GNU Emacs and
> it runs fine.  However I cannot find the file
> .emacs or _emacs.  Where is this file supposed
> to be?  Do I have to create it?

Type C-x C-f ~/.emacs

You are now in that file.  (The point is that Emacs either finds
a file that exists or makes a buffer that, when saved, will be
that file)

> In Windows 2000, what is the equivalent of
> the UNIX "Home" directory?  

The HOME environmental variable.

Galen Boyer
>From address@hidden Thu Dec 12 10:35:54 2002
Received: from list by with tmda-scanned (Exim 4.10.13)
        id 18MVJz-0002WK-00
        for address@hidden; Thu, 12 Dec 2002 10:32:19 -0500
Received: from mail by with spam-scanned (Exim 4.10.13)
        id 18MVIr-0001uo-00
        for address@hidden; Thu, 12 Dec 2002 10:31:11 -0500
Received: from ([])
        by with esmtp (Exim 4.10.13)
        id 18MVHQ-0000gX-00
        for address@hidden; Thu, 12 Dec 2002 10:29:40 -0500
Received: from (
        by (Postfix) with ESMTP id 45BF41FEE
        for <address@hidden>; Thu, 12 Dec 2002 07:28:18 -0800 (PST)
Received: from ([]) by with Microsoft SMTPSVC(5.0.2195.2966);
        Thu, 12 Dec 2002 07:28:17 -0800
X-MimeOLE: Produced By Microsoft Exchange V6.0.6249.0
content-class: urn:content-classes:message
MIME-Version: 1.0
Content-Type: text/plain;
Content-Transfer-Encoding: quoted-printable
Date: Thu, 12 Dec 2002 09:28:17 -0600
Message-ID: <address@hidden>
Thread-Topic: backward-delete-word?
Thread-Index: AcKh6qwOtr2YirwLTFexXz0CXLdpeQAA9cUg
From: "Bingham, Jay" <address@hidden>
To: <address@hidden>
X-OriginalArrivalTime: 12 Dec 2002 15:28:17.0986 (UTC)
Subject: RE: backward-delete-word?
X-BeenThere: address@hidden
X-Mailman-Version: 2.1b5
Precedence: list
List-Id: Users list for the GNU Emacs text editor <>
List-Help: <mailto:address@hidden>
List-Post: <mailto:address@hidden>
List-Subscribe: <>,
List-Archive: <>
List-Unsubscribe: <>,
X-List-Received-Date: Thu, 12 Dec 2002 15:35:54 -0000


I feel your pain.
In similar circumstances I have stored text in a register and inserted
it into the buffer from the register.
Here are the register commands that I believe would interest you:
C-x r s <register-name> - copy region to register.
C-u C-x r s <register-name> - kill region to register.
C-x r a <register-name> - append copy of region to register.
C-u C-x r a <register-name> - kill region append to register.
C-x r i <register-name> - insert register contents into buffer.

Info describes registers as follows:
Each register has a name which is a single character.  A register can
store a piece of text, a rectangle, a position, a window configuration,
or a file name, but only one thing at any given time.  Whatever you
store in a register remains there until you store something else in that
register.  To see what a register R contains, use `M-x view-register'.

`M-x view-register <RET> R'

Single character means any character that you can enter from your
keyboard.  So A and a valid register names and specify two separate
registers, ~ is a valid register name, as is C-x.

Hope this helps,
.    HP - NonStop Austin Software & Services - Software Quality
.    Office:  2122                  Phone:  8945
. "Language is the apparel in which your thoughts parade in public.
.  Never clothe them in vulgar and shoddy attire."       -Dr. George W.

-----Original Message-----
From: Timur Aydin [mailto:address@hidden
Sent: Thursday, December 12, 2002 8:24 AM
To: address@hidden
Subject: Re: backward-delete-word?

Barry Margolin <address@hidden> writes:

> In article <address@hidden>,
> >C-Backspace invokes backward-kill-word. I guess the problem is the
> >"kill", which saves the data in the kill ring. I probably need a
> >"backward-delete-word". Does this thing exist or does it have to be
> >written?
> What I usually do is paste first, and then delete.  I position the
> at the beginning of the word and type C-y M-d.

Yes, that works for one paste, but when I position to another string
that I want to paste over, the C-y now pastes the word that was
previously killed. Because the killed data goes to the kill-ring,
whenever I operate on a new word, I have to hit C-y M-y and the number
of M-y's is going to be one more than before. So, if I want to operate
on 4 strings, I will have to hit C-y M-y M-y M-y on the fourth


Help-gnu-emacs mailing list

reply via email to

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