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

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

Re: Suggestion: find-file-literally and "raw reading"


From: Eli Zaretskii
Subject: Re: Suggestion: find-file-literally and "raw reading"
Date: Sat, 06 Jan 2001 13:09:01 +0200

> From: jari.aalto@poboxes.com (Jari Aalto+mail)
> Newsgroups: gnu.emacs.bug
> Date: 06 Jan 2001 01:18:56 +0200
> 
> These functions are good for preventing buffer translation
> 
>     find-file-literally
>     insert-file-contents-literally
> 
> but it would be even beter if the functions took additional prefix
> argument to control other possible actions that may aoccur when the
> file is loaded.
> 
> Proposed prefix argument would completely disable any kind of
> treatment of the buffer, like:
> 
>     auto-mode-alist
>     interpreter-mode-alist
>     find-file-hooks
>     find-file-not-found-hooks
> 
>     ...coding systems..

Are you asking for this feature on the user level or on the Lisp
program level?

The latter is already available: you can bind the appropriate data
structures to nil programmatically before calling insert-file-contents
or similar functions, and get the effect you want.

If you are asking for this on the user level, please explain in what
kind of situation would a user want anything like that.  Note that
there are already user-level facilities to turn off coding conversions
and file handlers.  Why do we need more?



reply via email to

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