Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | (Finsert_file_contents): If enable-multibyte-characters | Kenichi Handa | 1997-07-07 | 1 | -7/+11 |
| | | | | | | is nil, decode character code by emacs-mule. (Fwrite_region): Use buffer-file-coding-system for encoding if enable-multibyte-characters is nil. | ||||
* | Fix bugs with inappropriate mixing of Lisp_Object with int. | Richard M. Stallman | 1997-07-04 | 1 | -1/+2 |
| | |||||
* | (Finsert_file_contents): Doc-string fixed. Call | Kenichi Handa | 1997-07-02 | 1 | -4/+5 |
| | | | | | Ffind_operation_coding_system. (Fwrite_region): Call Ffind_operation_coding_system. | ||||
* | (Finsert_file_contents): Pass new arg to prepare_to_modify_buffer. | Richard M. Stallman | 1997-06-25 | 1 | -1/+1 |
| | |||||
* | (Ffile_directory_p): Doc fix. | Karl Heuer | 1997-06-24 | 1 | -3/+1 |
| | |||||
* | (Fdo_auto_save): Use stdio to write the save-list file. | Richard M. Stallman | 1997-06-16 | 1 | -25/+31 |
| | | | | | (Finsert_file_contents): Don't give up on the fast replace method if the coding remains undecided. | ||||
* | (Fwrite_region): Fix previous doc change. | Erik Naggum | 1997-06-10 | 1 | -0/+1 |
| | |||||
* | (Fwrite_region): Cancel the 7th argument CODING_SYSTEM | Kenichi Handa | 1997-06-09 | 1 | -16/+6 |
| | | | | | added by the previous change. (auto_save_1): Adjusted for the above change. | ||||
* | (Fwrite_region, build_annotations): | Richard M. Stallman | 1997-06-02 | 1 | -6/+6 |
| | | | | Set start and end using XFASTINT. | ||||
* | (Fdo_auto_save): Pass new arg to sit_for. | Richard M. Stallman | 1997-05-27 | 1 | -1/+1 |
| | |||||
* | Name change through the code: | Kenichi Handa | 1997-05-16 | 1 | -4/+4 |
| | | | | | | | | | | coding-category-internal => coding-category-emacs-mule, XXX_coding_internal => XXX_coding_emacs_mule, coding_type_internal => coding_type_emacs_mule, coding_type_automatic => coding_type_undecided, CODING_CATEGORY_MASK_INTERNAL => CODING_CATEGORY_MASK_EMACS_MULE, CODING_CATEGORY_IDX_INTERNAL => CODING_CATEGORY_IDX_EMACS_MULE, CODING_EOL_AUTOMATIC => CODING_EOL_UNDECIDED. | ||||
* | (Finsert_file_contents): Use xrealloc too. | Richard M. Stallman | 1997-05-15 | 1 | -1/+1 |
| | |||||
* | (Finsert_file_contents): Use xmalloc. not malloc. | Richard M. Stallman | 1997-05-15 | 1 | -3/+3 |
| | | | | Check correctly for whether no code translation is needed. | ||||
* | (Fwrite_region): Add 7th optional arg | Kenichi Handa | 1997-05-10 | 1 | -56/+60 |
| | | | | | | | | | | | | | CODING_SYSTEM. Move gap after a newline code if we are encoding in a coding system which requires designation sequences to be put at beginning of line. Set coding.last_block to 1 before calling a_write for an empty file. (build_annotations): Code tuned up for handling pre_write_conversion of a coding system. (e_write): Delete code for handling carryover of code conversion. It is now handled in encode_coding. (auto_save_1): Supply 7th new arg CODING_SYSTEM as Qnil to Fwrite_region. | ||||
* | (Fread_file_name): Finish previous change. | Richard M. Stallman | 1997-05-10 | 1 | -1/+1 |
| | |||||
* | (Fread_file_name): Pass default to Fcompleting_read. | Richard M. Stallman | 1997-05-07 | 1 | -1/+1 |
| | |||||
* | (Fexpand_file_name): Check length > 0 when necessary. | Richard M. Stallman | 1997-04-29 | 1 | -1/+1 |
| | |||||
* | (Fsubstitute_in_file_name): Use xnm uniformly, never nm, | Richard M. Stallman | 1997-04-27 | 1 | -1/+1 |
| | | | | when handling /~ and // at the end. | ||||
* | (Fwrite_region): GCPRO `start' near the beginning. | Richard M. Stallman | 1997-04-25 | 1 | -1/+1 |
| | |||||
* | (Fexpand_file_name): Fix expansion of "/foo/../". | Richard M. Stallman | 1997-04-18 | 1 | -1/+2 |
| | |||||
* | (Finsert_file_contents): Do call signal_after_change | Richard M. Stallman | 1997-04-11 | 1 | -2/+7 |
| | | | | | | when REPLACE is handled by reading directly from the file. Use insert_1 to insert replacement text, to avoid query about whether to modify the buffer. | ||||
* | (Fcopy_file): Fix error message. | Richard M. Stallman | 1997-04-02 | 1 | -1/+1 |
| | |||||
* | (Finsert_file_contents): Handle non-regular files. | Richard M. Stallman | 1997-04-02 | 1 | -19/+47 |
| | |||||
* | (Finsert_file_contents): When handling REPLACE, | Richard M. Stallman | 1997-04-02 | 1 | -55/+77 |
| | | | | | first try comparing block by block; if we discover a need for nontrivial code conversion, give up and try convert-whole-file method. | ||||
* | (Finsert_file_contents): Determine the character coding | Richard M. Stallman | 1997-04-01 | 1 | -35/+198 |
| | | | | | | | before we see if REPLACE can be handled. Do handle REPLACE even if code conversion is needed. (Fcopy_file): Fix previous change. | ||||
* | (Fcopy_file): Use Qfile_date_error if can't set file date. | Richard M. Stallman | 1997-04-01 | 1 | -2/+12 |
| | | | | | (Qfile_date_error): New variable. (syms_of_fileio): Set it up. | ||||
* | (Finsert_file_contents, Fwrite_region): Do not perform | Kenichi Handa | 1997-02-27 | 1 | -2/+4 |
| | | | | character code conversion if enable-multibyte-characters is nil. | ||||
* | Include charset.h and coding.h. | Karl Heuer | 1997-02-22 | 1 | -54/+234 |
| | | | | | | | | | | | | | | | | (READ_BUF_SIZE): New macro. (Finsert_file_contents): Refer to a coding system in the docstring. Perform character code conversion of a text read in. (Fwrite_region): Refer to a coding system in the docstring. Setup a coding system for character code conversion. Pass a new arg `pre_write_conversion' (Lisp function) to build_annotations. Pass a new arg `coding' to a_write. (build_annotations): Handle the new arg. (a_write): Handle the new arg `coding' by passing it to e_write. (WRITE_BUF_SIZE): New macro. (e_write): Perform character code conversion of a text to write out according to the new arg `coding'. | ||||
* | Fix previous change. | Richard M. Stallman | 1996-12-16 | 1 | -1/+4 |
| | |||||
* | (Finsert_file_contents): Handle BEG and END non-nil | Richard M. Stallman | 1996-12-16 | 1 | -6/+11 |
| | | | | when REPLACE is non-nil. | ||||
* | (Fwrite_region): Be careful not to destroy contents of | Richard M. Stallman | 1996-12-11 | 1 | -1/+1 |
| | | | | existing file when appending. | ||||
* | (Fread_file_name_internal): Verify STRING is a string. | Richard M. Stallman | 1996-12-09 | 1 | -2/+4 |
| | | | | (Fread_file_name): Don't insert DIR or INITIAL if it isn't a string. | ||||
* | (USG5 or BSD_SYSTEM or LINUX): Include fcntl.h. | Richard M. Stallman | 1996-11-07 | 1 | -1/+22 |
| | | | | | (Ffile_readable_p): Return immediately if stat fails. Call S_ISFIFO correctly. | ||||
* | (Fexpand_file_name): No longer discard .../ before another / or ~. | Richard M. Stallman | 1996-10-26 | 1 | -23/+0 |
| | | | | That is now only in Fsubstitute_in_file_name. | ||||
* | (Vuser_login_name): Declared extern. | Richard M. Stallman | 1996-09-25 | 1 | -2/+12 |
| | | | | | | (minibuf_level): extern decl moved to top level. (Fwrite_region): Query before writing to a file that is locked, even if it is locked by the same user. | ||||
* | (syms_of_fileio): staticpro Qset_visited_file_modtime. | Erik Naggum | 1996-09-17 | 1 | -0/+1 |
| | |||||
* | Change all references from point to PT. | Karl Heuer | 1996-09-11 | 1 | -7/+7 |
| | |||||
* | (Faccess_file): New function. | Richard M. Stallman | 1996-09-10 | 1 | -3/+33 |
| | | | | | (Qaccess_file): New variable. (syms_of_fileio): defsubr function; init and staticpro Qaccess_file. | ||||
* | (build_annotations): Remember original buffer that the | Richard M. Stallman | 1996-09-01 | 1 | -1/+5 |
| | | | | region came from; pass this to `format-annotate-function'. | ||||
* | (check_writable): Use euidaccess, not eaccess. | Karl Heuer | 1996-07-20 | 1 | -2/+2 |
| | |||||
* | (Fcopy_file): Use st_ino under DJGPP v2 and later to | Karl Heuer | 1996-07-07 | 1 | -4/+4 |
| | | | | | | | prevent copying file into itself. (check_executable): DJGPP v2 `stat' doesn't need to be augmented in case of executable files. (Ffile_modes): Use `stat' results as is in DJGPP v2 and later. | ||||
* | (DRIVE_LETTER) [WINDOWSNT]: Lower-case drive letters. | Miles Bader | 1996-07-07 | 1 | -6/+4 |
| | |||||
* | (DRIVE_LETTER) [MSDOS]: Lower-case drive letters. | Miles Bader | 1996-07-02 | 1 | -1/+4 |
| | |||||
* | (check_executable): Use euidaccess, not eaccess. | Richard M. Stallman | 1996-06-28 | 1 | -2/+2 |
| | |||||
* | (Fexpand_file_name): When simplifying /foo/.., keep the initial slash. | Richard M. Stallman | 1996-06-13 | 1 | -0/+2 |
| | |||||
* | (Ffile_name_directory) [WINDOWSNT]: Remove previous | Richard M. Stallman | 1996-06-06 | 1 | -6/+0 |
| | | | | change, which was incorrect and isn't strictly required. | ||||
* | (DRIVE_LETTER): [DOS_NT] New macro. | Richard M. Stallman | 1996-06-03 | 1 | -3/+6 |
| | | | | (expand_file_name): Apply DRIVE_LETTER macro to drive names. | ||||
* | (Fexpand_file_name) [WINDOWSNT]: Don't strip trailing / | Richard M. Stallman | 1996-06-01 | 1 | -2/+13 |
| | | | | | | when newdir is just "//". (Ffile_name_directory) [WINDOWSNT]: Return Qnil if filename is a partial UNC name such as "//foo". | ||||
* | (Fexpand_file_name) [DOS_NT]: Correct the `if' clause | Richard M. Stallman | 1996-05-01 | 1 | -3/+3 |
| | | | | to compile on all platforms. | ||||
* | (Fexpand_file_name) [DOS_NT]: Keep dir sep following ~ | Richard M. Stallman | 1996-04-29 | 1 | -7/+4 |
| | | | | or ~user, but don't collapse the newdir prefix in that case. |