Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 67544 - emacs: revert-buffer doesn't retest used line endings and simply keeps using the originally loaded one
Summary: emacs: revert-buffer doesn't retest used line endings and simply keeps using ...
Status: RESOLVED UPSTREAM
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High minor (vote)
Assignee: Emacs project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-10-14 06:49 UTC by Dirk Dierckx
Modified: 2006-11-04 16:42 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Dirk Dierckx 2004-10-14 06:49:40 UTC
i have a text file with DOS (CR/LF) line endings, when opening it in emacs, emacs correctly detects the DOS line endings and saves of that buffer will contain DOS line endings, but ...
if i convert the file (using dos2unix for example) to unix line endings and afterwards do a revert-buffer in emacs it still assumes the file uses DOS line endings, if i save this buffer, it will be saved use DOS line endings (effectively undoing my dos2unix conversion)

Reproducible: Always
Steps to Reproduce:
see details

Actual Results:  
see details

Expected Results:  
revert-buffer should recheck the used line endings and don't assume the line
ending style didn't change
Comment 1 Mamoru KOMACHI (RETIRED) gentoo-dev 2004-11-07 05:36:01 UTC
Have you sent it to upstream? I don't think
this is Gentoo specific thing, and needs to be
sent to upstream.
Comment 2 Dirk Dierckx 2004-11-07 11:07:23 UTC
I didn't send it upstream (or was the question addressed to somebody else?)
Comment 3 Dirk Dierckx 2004-11-18 11:21:39 UTC
Shall i send it upstream, or has somebody already taken care of it?
Comment 4 Mamoru KOMACHI (RETIRED) gentoo-dev 2004-11-18 23:10:04 UTC
(Sorry for not responding immediately)
Dirk: No, we haven't taken it to upstream.
Could you send it to emacs upstream?
Comment 5 Dirk Dierckx 2004-11-20 04:36:45 UTC
I send the contents of this bugzilla to emacs-pretest-bug@gnu.org
Comment 6 Christian Faulhammer (RETIRED) gentoo-dev 2006-11-01 07:42:33 UTC
Dirk can you still reproduce this error?
Comment 7 Christian Faulhammer (RETIRED) gentoo-dev 2006-11-04 16:42:23 UTC
I think this has been fixed long ago.