Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!swrinde!ucsd!mvb.saic.com!ncr-sd!sdd.hp.com!hp-pcd!hpcvca!abrown From: abrown@hpcvca.CV.HP.COM (Allen Brown) Newsgroups: comp.emacs Subject: Re: How do I force emacs to read from disc? (fwd) Message-ID: <640018@hpcvca.CV.HP.COM> Date: 24 Dec 90 23:46:09 GMT References: <9012220305.AA13444@wubios.wustl.edu> Organization: Hewlett-Packard Co., Corvallis, Oregon Lines: 24 >> Anyway, my question is: How do I tell emacs to reread from disc, >> rather than visiting the buffer that it already has open? > Type "C-X k" to kill the buffer. Then type "C-X C-F" to reopen the file. > -David- Or use C-x C-v. BTW I use an alternate find-alternate-file to make this more convenient. (defun find-alter-file (filename) "Like find-alternate-file, but presents current filename for editing." (interactive (list (read-file-name "Find alternate file: " (or (buffer-file-name) default-directory)))) (find-alternate-file filename)) (global-set-key "\C-x\C-v" 'find-alter-file) -- Allen Brown abrown@cv.hp.com or abrown%hpcvca@hplabs.hp.com or hplabs!hpcvca!abrown or "Hey you!" Not representing my employer. "No matter where you go... there you are." --- Buckaroo Bonzai