From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Dan Jacobson Newsgroups: gmane.emacs.bugs Subject: hexl-find-file doesn't know read-only Date: Wed, 05 Mar 2003 11:13:43 +0800 Sender: bug-gnu-emacs-bounces+gnu-bug-gnu-emacs=m.gmane.org@gnu.org Message-ID: <877kbeh5eg.fsf@jidanni.org> Reply-To: Dan Jacobson NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: main.gmane.org 1046837030 20427 80.91.224.249 (5 Mar 2003 04:03:50 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Wed, 5 Mar 2003 04:03:50 +0000 (UTC) Original-X-From: bug-gnu-emacs-bounces+gnu-bug-gnu-emacs=m.gmane.org@gnu.org Wed Mar 05 05:03:49 2003 Return-path: Original-Received: from monty-python.gnu.org ([199.232.76.173]) by main.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 18qQ8C-0005JK-00 for ; Wed, 05 Mar 2003 05:03:48 +0100 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.10.13) id 18qQ81-0006Lf-00 for gnu-bug-gnu-emacs@m.gmane.org; Tue, 04 Mar 2003 23:03:37 -0500 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.10.13) id 18qQ7j-0005zH-00 for bug-gnu-emacs@gnu.org; Tue, 04 Mar 2003 23:03:19 -0500 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.10.13) id 18qQ7S-0005Gy-00 for bug-gnu-emacs@gnu.org; Tue, 04 Mar 2003 23:03:03 -0500 Original-Received: from main.gmane.org ([80.91.224.249]) by monty-python.gnu.org with esmtp (Exim 4.10.13) id 18qQ7M-0004uA-00 for bug-gnu-emacs@gnu.org; Tue, 04 Mar 2003 23:02:56 -0500 Original-Received: from list by main.gmane.org with local (Exim 3.35 #1 (Debian)) id 18qQ6r-0005DH-00 for ; Wed, 05 Mar 2003 05:02:25 +0100 X-Injected-Via-Gmane: http://gmane.org/ Original-To: bug-gnu-emacs@gnu.org Original-Received: from news by main.gmane.org with local (Exim 3.35 #1 (Debian)) id 18qQ6p-0005Cb-00 for ; Wed, 05 Mar 2003 05:02:23 +0100 Original-Lines: 16 Original-X-Complaints-To: usenet@main.gmane.org User-Agent: Gnus/5.090008 (Oort Gnus v0.08) Emacs/21.2 (i386-pc-linux-gnu) X-BeenThere: bug-gnu-emacs@gnu.org X-Mailman-Version: 2.1b5 Precedence: list List-Id: Bug reports for GNU Emacs, the Swiss army knife of text editors List-Help: List-Post: List-Subscribe: , List-Archive: List-Unsubscribe: , Errors-To: bug-gnu-emacs-bounces+gnu-bug-gnu-emacs=m.gmane.org@gnu.org Xref: main.gmane.org gmane.emacs.bugs:4563 X-Report-Spam: http://spam.gmane.org/gmane.emacs.bugs:4563 hexl-find-file does not notice that a file is read-only on the disk making the new buffer read-write. Plus I see it uses find-file-literally, who's docs say not to use it in lisp programs. By the way, why must Flyspell and Fill get turned on for me when I'm hexl-find-file'ing? All I do in .emacs is (setq default-major-mode 'text-mode) (add-hook 'text-mode-hook (lambda () (flyspell-mode 1) (turn-on-auto-fill))) By the way, it bugs me that hexl's C-e, hexl-end-of-line, gets the cursor to two columns earlier than the end of line. If I want to copy and paste that line, C-@ C-e ESC w, I must use the mouse instead. -- http://jidanni.org/ Taiwan(04)25854780