* invoking rcs from emacs on vfat
@ 2005-08-24 22:55 Patrick Drechsler
2005-08-25 17:02 ` Kevin Rodgers
[not found] ` <mailman.5021.1124990366.20277.help-gnu-emacs@gnu.org>
0 siblings, 2 replies; 4+ messages in thread
From: Patrick Drechsler @ 2005-08-24 22:55 UTC (permalink / raw)
Hi,
for simple ascii files I use RCS invoked from Emacs
(vc-next-action: `C-x v v'). This works fine on linux file
systems (i.e. ext2/3). When the file is located on a vfat
partition it doesn't work as expected. To reproduce the error:
On a linux system open emacs with:
patrick@trurl:~$ emacs -q --no-site-file &
then open a file (`C-x C-f') junk.txt enter something and save it
(`C-x C-w /myvatmount/junk.txt') on a _vfat partition_. After
saving the file I would like to execute vc-next-action (`C-x v
v'; this works with a linux file system as expected). No matter
if I answer the following question (whether to create a RCS
subdirectory) with "yes" or "no" I end with the following error:
,----
| RCS/junk.txt,v <-- junk.txt
| initial revision: 1.1
| ci: RCS/junk.txt,v: Operation not permitted
| ci: saved in RCS/,junk.txt,
`----
The vfat partition is mounted with "umask=000".
Appears to be a case sensitive problem since the directory
created is named "rcs" and not "RCS". Is there a workaround for
this?
,----[ system info: ]
| Linux trurl 2.6.10-5-386
| RCS version 5.7
`----
,----[ emacs info: ]
| In GNU Emacs 22.0.50.1 (i686-pc-linux-gnu, GTK+ Version 2.6.4)
| of 2005-06-24 on trurl
| X server distributor `The X.Org Foundation', version 11.0.60802000
| configured using `configure '--with-gtk''
|
| Important settings:
| value of $LC_ALL: nil
| value of $LC_COLLATE: nil
| value of $LC_CTYPE: nil
| value of $LC_MESSAGES: nil
| value of $LC_MONETARY: nil
| value of $LC_NUMERIC: nil
| value of $LC_TIME: nil
| value of $LANG: de_DE.UTF-8
| locale-coding-system: utf-8
| default-enable-multibyte-characters: t
|
| Major mode: Lisp Interaction
`----
TIA
Patrick
--
Snoopy (on being house-trained with a rolled-up newspaper):
It does tend however to give one a rather distorted view of the press!
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: invoking rcs from emacs on vfat
2005-08-24 22:55 invoking rcs from emacs on vfat Patrick Drechsler
@ 2005-08-25 17:02 ` Kevin Rodgers
[not found] ` <mailman.5021.1124990366.20277.help-gnu-emacs@gnu.org>
1 sibling, 0 replies; 4+ messages in thread
From: Kevin Rodgers @ 2005-08-25 17:02 UTC (permalink / raw)
Patrick Drechsler wrote:
> Appears to be a case sensitive problem since the directory
> created is named "rcs" and not "RCS". Is there a workaround for
> this?
If that indeed is the problem, try frobbing this variable:
,----[ C-h v vc-rcs-master-templates RET ]
| vc-rcs-master-templates's value is
| ("%sRCS/%s,v" "%s%s,v" "%sRCS/%s")
|
|
| Documentation:
| *Where to look for RCS master files.
| For a description of possible values, see `vc-check-master-templates'.
|
| You can customize this variable.
|
| Defined in `vc-rcs'.
`----
E.g.
(setq vc-rcs-master-templates
(append vc-rcs-master-templates
(mapcar 'downcase vc-rcs-master-templates)))
--
Kevin Rodgers
^ permalink raw reply [flat|nested] 4+ messages in thread
[parent not found: <mailman.5021.1124990366.20277.help-gnu-emacs@gnu.org>]
* Re: invoking rcs from emacs on vfat
[not found] ` <mailman.5021.1124990366.20277.help-gnu-emacs@gnu.org>
@ 2005-08-25 19:06 ` Patrick Drechsler
2005-10-17 18:12 ` Patrick Drechsler
0 siblings, 1 reply; 4+ messages in thread
From: Patrick Drechsler @ 2005-08-25 19:06 UTC (permalink / raw)
Kevin Rodgers wrote on 25 Aug 2005 18:02:46 MET:
[...case sensitive solution...]
Thank you Kevin. It turned out that the error was somewhere else.
YFTR: I noticed that I had forgotten to set the correct UID in
/etc/fstab. So although I had write permission (umask=000) RCS
was apparently only looking at the user attribute.
Cheers
Patrick
--
Computers are good at following instructions,
but not at reading your mind. -- Donald Knuth
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: invoking rcs from emacs on vfat
2005-08-25 19:06 ` Patrick Drechsler
@ 2005-10-17 18:12 ` Patrick Drechsler
0 siblings, 0 replies; 4+ messages in thread
From: Patrick Drechsler @ 2005-10-17 18:12 UTC (permalink / raw)
Patrick Drechsler wrote on 25 Aug 2005 20:06:26 MET:
> YFTR: I noticed that I had forgotten to set the correct UID in
> /etc/fstab. So although I had write permission (umask=000) RCS
> was apparently only looking at the user attribute.
JFTR, the 2nd (from Tucker Sylvestro):
This workaround also fixes the "Cannot set file date" problem
when trying to save a file under CVS versioning to a vfat
filesystem in emacs.
Cheers
Patrick
--
Programming today is a race between software engineers striving to
build bigger and better idiot-proof programs, and the Universe trying
to produce bigger and better idiots. So far, the Universe is winning.
(Rich Cook)
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2005-10-17 18:12 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-08-24 22:55 invoking rcs from emacs on vfat Patrick Drechsler
2005-08-25 17:02 ` Kevin Rodgers
[not found] ` <mailman.5021.1124990366.20277.help-gnu-emacs@gnu.org>
2005-08-25 19:06 ` Patrick Drechsler
2005-10-17 18:12 ` Patrick Drechsler
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).